diff options
Diffstat (limited to 'www')
483 files changed, 14664 insertions, 17478 deletions
diff --git a/www/Makefile b/www/Makefile index 227f43dfc8a9..4aa83a615b71 100644 --- a/www/Makefile +++ b/www/Makefile @@ -190,6 +190,7 @@ SUBDIR += ffproxy SUBDIR += fgallery SUBDIR += filebrowser + SUBDIR += filebrowser-quantum SUBDIR += filepizza SUBDIR += filtron SUBDIR += firedm @@ -487,6 +488,7 @@ SUBDIR += nextcloud-tasks SUBDIR += nghttp2 SUBDIR += nginx + SUBDIR += nginx-acme SUBDIR += nginx-devel SUBDIR += nginx-full SUBDIR += nginx-lite @@ -496,7 +498,6 @@ SUBDIR += nginx-vts-exporter SUBDIR += nift SUBDIR += node - SUBDIR += node18 SUBDIR += node20 SUBDIR += node22 SUBDIR += node24 @@ -504,7 +505,6 @@ SUBDIR += novnc SUBDIR += npc SUBDIR += npm - SUBDIR += npm-node18 SUBDIR += npm-node20 SUBDIR += npm-node22 SUBDIR += npm-node24 @@ -801,7 +801,6 @@ SUBDIR += p5-Dancer2-Plugin-Ajax SUBDIR += p5-Dancer2-Plugin-Deferred SUBDIR += p5-Dancer2-Plugin-FormValidator - SUBDIR += p5-Dancer2-Plugin-Interchange6 SUBDIR += p5-Dancer2-Plugin-Path-Class SUBDIR += p5-Data-TreeDumper-Renderer-DHTML SUBDIR += p5-Data-Validate-URI @@ -1010,7 +1009,6 @@ SUBDIR += p5-I18N-AcceptLanguage SUBDIR += p5-IMDB-Film SUBDIR += p5-Image-Delivery - SUBDIR += p5-Interchange6 SUBDIR += p5-JE SUBDIR += p5-JSON-API SUBDIR += p5-JSON-WebToken @@ -1455,6 +1453,7 @@ SUBDIR += phpvirtualbox SUBDIR += phpvirtualbox-70 SUBDIR += phpvirtualbox-71 + SUBDIR += phpvirtualbox-72 SUBDIR += phpvirtualbox-legacy SUBDIR += piwigo SUBDIR += plasma6-plasma-browser-integration @@ -1544,6 +1543,7 @@ SUBDIR += py-dj51-django-js-asset SUBDIR += py-dj51-django-mptt SUBDIR += py-dj51-django-multiselectfield + SUBDIR += py-dj51-django-netfields SUBDIR += py-dj51-django-prometheus SUBDIR += py-dj51-django-redis SUBDIR += py-dj51-django-rich @@ -1860,6 +1860,7 @@ SUBDIR += py-pecan SUBDIR += py-pelican SUBDIR += py-planet + SUBDIR += py-playwright SUBDIR += py-postorius SUBDIR += py-praw SUBDIR += py-prawcore @@ -2684,7 +2685,6 @@ SUBDIR += xurls SUBDIR += yabb SUBDIR += yarn - SUBDIR += yarn-node18 SUBDIR += yarn-node20 SUBDIR += yarn-node22 SUBDIR += yarn-node24 diff --git a/www/R-cran-RgoogleMaps/Makefile b/www/R-cran-RgoogleMaps/Makefile index 7469062d6b67..38fcc3259de9 100644 --- a/www/R-cran-RgoogleMaps/Makefile +++ b/www/R-cran-RgoogleMaps/Makefile @@ -1,5 +1,5 @@ PORTNAME= RgoogleMaps -PORTVERSION= 1.5.1 +PORTVERSION= 1.5.3 CATEGORIES= www DISTNAME= ${PORTNAME}_${PORTVERSION} diff --git a/www/R-cran-RgoogleMaps/distinfo b/www/R-cran-RgoogleMaps/distinfo index f3067dcd7985..ed8774427e26 100644 --- a/www/R-cran-RgoogleMaps/distinfo +++ b/www/R-cran-RgoogleMaps/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1699460535 -SHA256 (RgoogleMaps_1.5.1.tar.gz) = 14fe6c37d935a1c5a9ac063c9c9c59a1e93c6f86907480792302f9a9452cf8a4 -SIZE (RgoogleMaps_1.5.1.tar.gz) = 377433 +TIMESTAMP = 1755783592 +SHA256 (RgoogleMaps_1.5.3.tar.gz) = d03408914a1ed1a999ddda8d84c74fc815513d881c0336a85359bb6bd08bdc64 +SIZE (RgoogleMaps_1.5.3.tar.gz) = 379056 diff --git a/www/R-cran-crosstalk/Makefile b/www/R-cran-crosstalk/Makefile index 11853ba6f281..fa35d4f96521 100644 --- a/www/R-cran-crosstalk/Makefile +++ b/www/R-cran-crosstalk/Makefile @@ -1,5 +1,5 @@ PORTNAME= crosstalk -PORTVERSION= 1.2.1 +PORTVERSION= 1.2.2 CATEGORIES= www DISTNAME= ${PORTNAME}_${PORTVERSION} diff --git a/www/R-cran-crosstalk/distinfo b/www/R-cran-crosstalk/distinfo index 1ac19cb88509..11f7a093a032 100644 --- a/www/R-cran-crosstalk/distinfo +++ b/www/R-cran-crosstalk/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1702505388 -SHA256 (crosstalk_1.2.1.tar.gz) = 680cf08416d6d5a1194dd85ee5695c268af9d4d01b201448e1d486c6e06014f1 -SIZE (crosstalk_1.2.1.tar.gz) = 297970 +TIMESTAMP = 1756615073 +SHA256 (crosstalk_1.2.2.tar.gz) = 804def71ea7508cada0eec7aa6d35b487db17a8f9e38dca34fffc236691e36fc +SIZE (crosstalk_1.2.2.tar.gz) = 297847 diff --git a/www/R-cran-rvest/Makefile b/www/R-cran-rvest/Makefile index 8d4e6b139457..5d0cb7e5ed23 100644 --- a/www/R-cran-rvest/Makefile +++ b/www/R-cran-rvest/Makefile @@ -1,5 +1,5 @@ PORTNAME= rvest -PORTVERSION= 1.0.4 +PORTVERSION= 1.0.5 CATEGORIES= www DISTNAME= ${PORTNAME}_${PORTVERSION} @@ -17,7 +17,7 @@ RUN_DEPENDS= R-cran-cli>0:devel/R-cran-cli \ R-cran-rlang>=1.1.0:devel/R-cran-rlang \ R-cran-selectr>0:www/R-cran-selectr \ R-cran-tibble>0:devel/R-cran-tibble \ - R-cran-xml2>=1.3:textproc/R-cran-xml2 + R-cran-xml2>=1.4.0:textproc/R-cran-xml2 USES= cran:auto-plist diff --git a/www/R-cran-rvest/distinfo b/www/R-cran-rvest/distinfo index 7ce08ff710c0..2fb66dbbb13f 100644 --- a/www/R-cran-rvest/distinfo +++ b/www/R-cran-rvest/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1707831086 -SHA256 (rvest_1.0.4.tar.gz) = 7d707c6b2994cf7b6c1d665bec872d2ef5c55f30e7c343c447a8a386a6049ca6 -SIZE (rvest_1.0.4.tar.gz) = 115876 +TIMESTAMP = 1756853834 +SHA256 (rvest_1.0.5.tar.gz) = 1e7c34a0b4467887195b1cd66388919989e82ca096d08df283c675d87e53bc00 +SIZE (rvest_1.0.5.tar.gz) = 121721 diff --git a/www/adguardhome/Makefile b/www/adguardhome/Makefile index c9a6cde12595..7dc745ac427c 100644 --- a/www/adguardhome/Makefile +++ b/www/adguardhome/Makefile @@ -1,7 +1,7 @@ PORTNAME= adguardhome DISTVERSIONPREFIX= v DISTVERSION= 0.107.64 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${DISTVERSIONFULL}/ DISTFILES= ${GH_PROJECT}_frontend${EXTRACT_SUFX} diff --git a/www/adjuster/Makefile b/www/adjuster/Makefile index 17b19bd454d4..48bdbf89239e 100644 --- a/www/adjuster/Makefile +++ b/www/adjuster/Makefile @@ -1,6 +1,6 @@ PORTNAME= adjuster DISTVERSIONPREFIX= v -DISTVERSION= 3.243 +DISTVERSION= 3.246 CATEGORIES= www MAINTAINER= ssb22@cam.ac.uk diff --git a/www/adjuster/distinfo b/www/adjuster/distinfo index 44db5e7b56b1..062ed03456b2 100644 --- a/www/adjuster/distinfo +++ b/www/adjuster/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1742927537 -SHA256 (ssb22-adjuster-v3.243_GH0.tar.gz) = 2f7d9a311f4fd4ab1ecdb8912ceb12658ff7624818383d5e9771b08d4a722c43 -SIZE (ssb22-adjuster-v3.243_GH0.tar.gz) = 364219 +TIMESTAMP = 1756622635 +SHA256 (ssb22-adjuster-v3.246_GH0.tar.gz) = 2b393818f2f38c9f47ad2c15d7d07a30786fb43c465c99d0b9312a9307712383 +SIZE (ssb22-adjuster-v3.246_GH0.tar.gz) = 368227 diff --git a/www/agate/Makefile b/www/agate/Makefile index 9b4322e34379..4c4c4be76964 100644 --- a/www/agate/Makefile +++ b/www/agate/Makefile @@ -1,6 +1,7 @@ PORTNAME= agate DISTVERSIONPREFIX= v DISTVERSION= 3.3.18 +PORTREVISION= 1 CATEGORIES= www MAINTAINER= alven@FreeBSD.org diff --git a/www/amfora/Makefile b/www/amfora/Makefile index 410e7f9ae9ea..977d1f8cbd91 100644 --- a/www/amfora/Makefile +++ b/www/amfora/Makefile @@ -1,7 +1,7 @@ PORTNAME= amfora DISTVERSIONPREFIX= v DISTVERSION= 1.10.0 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= www MAINTAINER= lcook@FreeBSD.org diff --git a/www/angie/Makefile b/www/angie/Makefile index b46e11a7cd54..ea14558b38e0 100644 --- a/www/angie/Makefile +++ b/www/angie/Makefile @@ -1,5 +1,5 @@ PORTNAME?= angie -DISTVERSION= 1.10.1 +DISTVERSION= 1.10.2 CATEGORIES+= www MASTER_SITES+= https://download.angie.software/files/:angie DISTNAME= angie-${DISTVERSIONFULL} diff --git a/www/angie/distinfo b/www/angie/distinfo index fed4553a1934..133f991fb6ff 100644 --- a/www/angie/distinfo +++ b/www/angie/distinfo @@ -1,6 +1,6 @@ -TIMESTAMP = 1753960752 -SHA256 (angie-1.10.1.tar.gz) = 571866c61379eb0079ef1e7fbc911e2dd76fe544ac5eff2834b49587e5cee3ef -SIZE (angie-1.10.1.tar.gz) = 1757218 +TIMESTAMP = 1755846998 +SHA256 (angie-1.10.2.tar.gz) = a5c2ab937df24a80e786af5638922f46ea8a73d1614183c8c90298ae873094b8 +SIZE (angie-1.10.2.tar.gz) = 1757721 SHA256 (kjdev-nginx-auth-jwt-0.9.0_GH0.tar.gz) = d7c72634261a053afaacc2cb762eccf9ce4c462ca738ad0c4809eb964ddf3c0c SIZE (kjdev-nginx-auth-jwt-0.9.0_GH0.tar.gz) = 75474 SHA256 (stnoonan-spnego-http-auth-nginx-module-v1.1.3_GH0.tar.gz) = 0e1e54f8ab7d76f922881f13d870edf8b820ef645b19013774c825110d011640 diff --git a/www/apache24/Makefile b/www/apache24/Makefile index d356e4acadd4..ab878e5db287 100644 --- a/www/apache24/Makefile +++ b/www/apache24/Makefile @@ -1,5 +1,6 @@ PORTNAME= apache24 PORTVERSION= 2.4.65 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= APACHE_HTTPD DISTNAME= httpd-${PORTVERSION} diff --git a/www/apache24/files/apache24.in b/www/apache24/files/apache24.in index 0b9c4bd55ba6..d9ced6f55d73 100644 --- a/www/apache24/files/apache24.in +++ b/www/apache24/files/apache24.in @@ -43,6 +43,8 @@ pidfile="${_pidprefix}.pid" required_files=%%PREFIX%%/etc/apache24/httpd.conf envvars="%%PREFIX%%/sbin/envvars" +: ${apache24_svcj_options:="net_basic"} + [ -z "$apache24_enable" ] && apache24_enable="NO" [ -z "$apache24limits_enable" ] && apache24limits_enable="NO" [ -z "$apache24limits_args" ] && apache24limits_args="-e -C daemon" @@ -83,6 +85,7 @@ if [ -n "$2" ]; then eval command="\${apache24_${profile}_command:-${command}}" eval pidfile="\${apache24_${profile}_pidfile:-${pidfile}}" eval apache24_envvars="\${apache24_${profile}_envvars:-${envvars}}" + eval apache24_svcj_options="\${apache24_${profile}_svcj_options:-${apache24_svcj_options}}" apache24_flags="-f ${apache24_configfile} -c \"PidFile ${pidfile}\" ${apache24_flags}" else echo "$0: extra argument ignored" diff --git a/www/aquatone/Makefile b/www/aquatone/Makefile index e8e214eed26e..85b953bc5212 100644 --- a/www/aquatone/Makefile +++ b/www/aquatone/Makefile @@ -1,7 +1,7 @@ PORTNAME= aquatone DISTVERSIONPREFIX= v DISTVERSION= 1.7.0 -PORTREVISION= 29 +PORTREVISION= 30 CATEGORIES= www security MAINTAINER= yuri@FreeBSD.org diff --git a/www/authelia/Makefile b/www/authelia/Makefile index f9993383cd93..46519b532ee4 100644 --- a/www/authelia/Makefile +++ b/www/authelia/Makefile @@ -1,7 +1,7 @@ PORTNAME= authelia DISTVERSIONPREFIX= v DISTVERSION= 4.39.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MASTER_SITES= https://github.com/authelia/authelia/releases/download/v${DISTVERSION}/:public_html DISTFILES= authelia-${DISTVERSIONFULL}-public_html${EXTRACT_SUFX}:public_html # html root directory needs to be built in a special way diff --git a/www/bacula-web/Makefile b/www/bacula-web/Makefile index bc4c0ebe704c..645734d7b311 100644 --- a/www/bacula-web/Makefile +++ b/www/bacula-web/Makefile @@ -1,6 +1,6 @@ PORTNAME= bacula-web DISTVERSIONPREFIX= v -DISTVERSION= 9.7.0 +DISTVERSION= 9.8.0 CATEGORIES= www sysutils PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} @@ -13,11 +13,12 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${LOCALBASE}/bin/composer:devel/php-composer@${PHP_FLAVOR} -USES= php:web,flavors -USE_PHP= dom gd gettext posix session simplexml tokenizer xml xmlwriter +USES= php:flavors,web USE_GITHUB= yes -NO_BUILD= yes +USE_PHP= dom gd gettext posix session simplexml tokenizer xml xmlwriter + NO_ARCH= yes +NO_BUILD= yes SUB_FILES= pkg-message OPTIONS_DEFINE= MYSQL PGSQL SQLITE @@ -35,7 +36,7 @@ USE_PHP+= pdo_mysql .endif .if ${PORT_OPTIONS:MPGSQL} -USES+= pgsql +USES+= pgsql CONFIGURE_ARGS+= --with-postgresql=yes SUB_LIST+= REQ_PGSQL=postgresql USE_PHP+= pdo_pgsql @@ -51,6 +52,7 @@ do-install: # Maybe we should delete some files ${FIND} ${WRKSRC} -name '*.orig' -delete @${ECHO} "Installing in ${WWWDIR}" - (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/www/${PORTNAME}) + (cd ${WRKSRC} && \ + ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/www/${PORTNAME}) .include <bsd.port.mk> diff --git a/www/bacula-web/distinfo b/www/bacula-web/distinfo index bc0ba5deaeb5..0fd695193319 100644 --- a/www/bacula-web/distinfo +++ b/www/bacula-web/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1735752854 -SHA256 (bacula-web-bacula-web-v9.7.0_GH0.tar.gz) = 4e9adf08139b1ce0efbd0f6bdd572816f5311fd173f1b19b8f1c54f7398f46c7 -SIZE (bacula-web-bacula-web-v9.7.0_GH0.tar.gz) = 186939 +TIMESTAMP = 1753805634 +SHA256 (bacula-web-bacula-web-v9.8.0_GH0.tar.gz) = f2e2dc71ce00026c65ab468eb96966221dda12cd133c3094bc08bdf021a6a119 +SIZE (bacula-web-bacula-web-v9.8.0_GH0.tar.gz) = 187402 diff --git a/www/bacula-web/pkg-plist b/www/bacula-web/pkg-plist index 67113dcd962f..3e66b4eda827 100644 --- a/www/bacula-web/pkg-plist +++ b/www/bacula-web/pkg-plist @@ -6,6 +6,7 @@ %%WWWDIR%%/.dockerignore %%WWWDIR%%/.github/FUNDING.yml %%WWWDIR%%/.github/ISSUE_TEMPLATE/bug_report.md +%%WWWDIR%%/.github/workflows/build-release-archive.yml %%WWWDIR%%/.github/workflows/check-pr.yml %%WWWDIR%%/.github/workflows/code-analysis.yml %%WWWDIR%%/.github/workflows/commits.yml @@ -14,9 +15,9 @@ %%WWWDIR%%/.github/workflows/docker-release.yml %%WWWDIR%%/.github/workflows/release.yml %%WWWDIR%%/.github/workflows/sonarcloud-scan.yml +%%WWWDIR%%/.gitignore %%WWWDIR%%/.htaccess %%WWWDIR%%/.phpcs.xml -%%WWWDIR%%/.readthedocs.yaml %%WWWDIR%%/.release-please-manifest.json %%WWWDIR%%/.travis.yml %%WWWDIR%%/.tx/config diff --git a/www/badwolf/Makefile b/www/badwolf/Makefile index 0d31df9cc8c8..c1f620753093 100644 --- a/www/badwolf/Makefile +++ b/www/badwolf/Makefile @@ -1,6 +1,6 @@ PORTNAME= badwolf DISTVERSION= 1.3.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= www MASTER_SITES= https://hacktivis.me/releases/ diff --git a/www/beehive/Makefile b/www/beehive/Makefile index 97d669e3eaec..7940acc8ff52 100644 --- a/www/beehive/Makefile +++ b/www/beehive/Makefile @@ -1,7 +1,7 @@ PORTNAME= beehive DISTVERSIONPREFIX= v DISTVERSION= 0.4.0 -PORTREVISION= 30 +PORTREVISION= 31 CATEGORIES= www MAINTAINER= lcook@FreeBSD.org diff --git a/www/bombadillo/Makefile b/www/bombadillo/Makefile index f6975b2f44ab..277ec35a3ea2 100644 --- a/www/bombadillo/Makefile +++ b/www/bombadillo/Makefile @@ -1,6 +1,6 @@ PORTNAME= bombadillo DISTVERSION= 2.4.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= www MASTER_SITES= https://tildegit.org/sloum/bombadillo/archive/ DISTNAME= ${DISTVERSION} diff --git a/www/bugzilla2atom/Makefile b/www/bugzilla2atom/Makefile index 9ae31bde35ed..e575f70da1ca 100644 --- a/www/bugzilla2atom/Makefile +++ b/www/bugzilla2atom/Makefile @@ -1,7 +1,7 @@ PORTNAME= bugzilla2atom DISTVERSIONPREFIX= v DISTVERSION= ${MODVERSION:S/-/./g:R} -PORTREVISION= 17 +PORTREVISION= 18 CATEGORIES= www MAINTAINER= fuz@FreeBSD.org diff --git a/www/caddy-custom/Makefile b/www/caddy-custom/Makefile index 60f93fd2c305..7bed58b4858f 100644 --- a/www/caddy-custom/Makefile +++ b/www/caddy-custom/Makefile @@ -4,7 +4,7 @@ PORTNAME= caddy-custom PORTVERSION= ${CADDY_VERSION}.${XCADDY_VERSION} -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= www DISTFILES= # none diff --git a/www/caddy/Makefile b/www/caddy/Makefile index 5dbc6b8a9fa7..366b814d2601 100644 --- a/www/caddy/Makefile +++ b/www/caddy/Makefile @@ -1,7 +1,7 @@ PORTNAME= caddy DISTVERSIONPREFIX= v -DISTVERSION= 2.10.0 -PORTREVISION= 4 +DISTVERSION= 2.10.2 +PORTREVISION= 1 CATEGORIES= www DIST_SUBDIR= caddy diff --git a/www/caddy/distinfo b/www/caddy/distinfo index 368d56fbc727..818f8f09dd51 100644 --- a/www/caddy/distinfo +++ b/www/caddy/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1745036115 -SHA256 (go/www_caddy/caddy-v2.10.0/v2.10.0.mod) = 9b22029abd952a892381803b345bbd2f719b7a915e7e39495e976ea198e11a1f -SIZE (go/www_caddy/caddy-v2.10.0/v2.10.0.mod) = 7158 -SHA256 (go/www_caddy/caddy-v2.10.0/v2.10.0.zip) = 0e5debb2a56f8d15682da7602b5dcdc5fd8f4f62dbd143dc117c21ae3fc09a88 -SIZE (go/www_caddy/caddy-v2.10.0/v2.10.0.zip) = 1049202 +TIMESTAMP = 1755930188 +SHA256 (go/www_caddy/caddy-v2.10.2/v2.10.2.mod) = 7e87755804bbf9ab9925dde2fe8c61d53e949d38af686da14baa04f14ce5a9ee +SIZE (go/www_caddy/caddy-v2.10.2/v2.10.2.mod) = 7407 +SHA256 (go/www_caddy/caddy-v2.10.2/v2.10.2.zip) = 8024a9d8afed63353ad502616f34ceae89980c40a5a36913885b55d2709483c6 +SIZE (go/www_caddy/caddy-v2.10.2/v2.10.2.zip) = 1083365 diff --git a/www/caddy/modules.mk b/www/caddy/modules.mk index fe661628561f..074077f5c5f0 100644 --- a/www/caddy/modules.mk +++ b/www/caddy/modules.mk @@ -1,113 +1,4 @@ -USE_GITHUB= yes -GH_ACCOUNT= caddyserver -GH_TUPLE= AndreasBriese:bbloom:46b345b51c96:andreasbriese_bbloom/vendor/github.com/AndreasBriese/bbloom \ - BurntSushi:toml:v1.2.0:BurntSushi_toml/vendor/github.com/BurntSushi/toml \ - FiloSottile:edwards25519:v1.0.0-rc.1:FiloSottile_edwards25519/vendor/filippo.io/edwards25519 \ - Masterminds:goutils:v1.1.1:masterminds_goutils/vendor/github.com/Masterminds/goutils \ - Masterminds:semver:v3.1.1:masterminds_semver_v3/vendor/github.com/Masterminds/semver/v3 \ - Masterminds:sprig:v3.2.2:masterminds_sprig_v3/vendor/github.com/Masterminds/sprig/v3 \ - alecthomas:chroma:v0.10.0:alecthomas_chroma/vendor/github.com/alecthomas/chroma \ - antlr:antlr4:f25a4f6275ed:antlr_antlr4/vendor/github.com/antlr/antlr4 \ - aryann:difflib:ff5ff6dc229b:aryann_difflib/vendor/github.com/aryann/difflib \ - beorn7:perks:v1.0.1:beorn7_perks/vendor/github.com/beorn7/perks \ - caddyserver:certmagic:v0.16.2:caddyserver_certmagic/vendor/github.com/caddyserver/certmagic \ - cenkalti:backoff:v4.1.2:cenkalti_backoff/vendor/github.com/cenkalti/backoff/v4 \ - cespare:xxhash:v1.1.0:cespare_xxhash/vendor/github.com/cespare/xxhash \ - cespare:xxhash:v2.1.2:cespare_xxhash_v2/vendor/github.com/cespare/xxhash/v2 \ - cheekybits:genny:v1.0.0:cheekybits_genny/vendor/github.com/cheekybits/genny \ - chzyer:readline:2972be24d48e:chzyer_readline/vendor/github.com/chzyer/readline \ - cpuguy83:go-md2man:v2.0.0:cpuguy83_go_md2man_v2/vendor/github.com/cpuguy83/go-md2man/v2 \ - dgraph-io:badger:v1.6.2:dgraph_io_badger/vendor/github.com/dgraph-io/badger \ - dgraph-io:badger:v2.2007.4:dgraph_io_badger_v2/vendor/github.com/dgraph-io/badger/v2 \ - dgraph-io:ristretto:41ebdbffecfd:dgraph_io_ristretto/vendor/github.com/dgraph-io/ristretto \ - dgryski:go-farm:a6ae2369ad13:dgryski_go_farm/vendor/github.com/dgryski/go-farm \ - dlclark:regexp2:v1.4.0:dlclark_regexp2/vendor/github.com/dlclark/regexp2 \ - dustin:go-humanize:afde56e7acac:dustin_go_humanize/vendor/github.com/dustin/go-humanize \ - etcd-io:bbolt:v1.3.6:etcd_io_bbolt/vendor/go.etcd.io/bbolt \ - felixge:httpsnoop:v1.0.2:felixge_httpsnoop/vendor/github.com/felixge/httpsnoop \ - go-chi:chi:v4.1.2:go_chi_chi/vendor/github.com/go-chi/chi \ - go-kit:kit:v0.10.0:go_kit_kit/vendor/github.com/go-kit/kit \ - go-logfmt:logfmt:v0.5.0:go_logfmt_logfmt/vendor/github.com/go-logfmt/logfmt \ - go-logr:logr:v1.2.2:go_logr_logr/vendor/github.com/go-logr/logr \ - go-logr:stdr:v1.2.2:go_logr_stdr/vendor/github.com/go-logr/stdr \ - go-sql-driver:mysql:v1.6.0:go_sql_driver_mysql/vendor/github.com/go-sql-driver/mysql \ - go-yaml:yaml:v3.0.1:go_yaml_yaml/vendor/gopkg.in/yaml.v3 \ - golang:crypto:ae2d96664a29:golang_crypto/vendor/golang.org/x/crypto \ - golang:net:69896b714898:golang_net/vendor/golang.org/x/net \ - golang:protobuf:v1.5.2:golang_protobuf/vendor/github.com/golang/protobuf \ - golang:snappy:v0.0.4:golang_snappy/vendor/github.com/golang/snappy \ - golang:sys:05e143d24a9e:golang_sys/vendor/golang.org/x/sys \ - golang:term:03fcf44c2211:golang_term/vendor/golang.org/x/term \ - golang:text:5bd84dd9b33b:golang_text/vendor/golang.org/x/text \ - google:cel-go:v0.12.4:google_cel_go/vendor/github.com/google/cel-go \ - google:go-genproto:f16073e35f0c:goole_go_genproto/vendor/google.golang.org/genproto \ - google:uuid:v1.3.0:google_uuid/vendor/github.com/google/uuid \ - grpc:grpc-go:v1.38.0:grpc_grpc_go/vendor/google.golang.org/grpc \ - grpc-ecosystem:grpc-gateway:v1.16.0:grpc_ecosystem_grpc_gateway/vendor/github.com/grpc-ecosystem/grpc-gateway \ - huandu:xstrings:v1.3.2:huandu_xstrings/vendor/github.com/huandu/xstrings \ - imdario:mergo:v0.3.12:imdario_mergo/vendor/github.com/imdario/mergo \ - jackc:chunkreader:v2.0.1:jackc_chunkreader/vendor/github.com/jackc/chunkreader/v2 \ - jackc:pgconn:v1.10.1:jackc_pgconn/vendor/github.com/jackc/pgconn \ - jackc:pgio:v1.0.0:jackc_pgio/vendor/github.com/jackc/pgio \ - jackc:pgpassfile:v1.0.0:jackc_pgpassfile/vendor/github.com/jackc/pgpassfile \ - jackc:pgproto3:v2.2.0:jackc_pgproto3/vendor/github.com/jackc/pgproto3/v2 \ - jackc:pgservicefile:2b9c44734f2b:jackc_pgservicefile/vendor/github.com/jackc/pgservicefile \ - jackc:pgtype:v1.9.0:jackc_pgtype/vendor/github.com/jackc/pgtype \ - jackc:pgx:v4.14.0:jackc_pgx/vendor/github.com/jackc/pgx/v4 \ - klauspost:compress:v1.15.9:klauspost_compress/vendor/github.com/klauspost/compress \ - klauspost:cpuid:v1.2.5:klauspost_cpuid/vendor/github.com/klauspost/cpuid \ - klauspost:cpuid:v2.1.0:klauspost_cpuid_v2/vendor/github.com/klauspost/cpuid/v2 \ - konsorten:go-windows-terminal-sequences:v1.0.3:konsorten_go_windows_terminal_sequences/vendor/github.com/konsorten/go-windows-terminal-sequences \ - libdns:libdns:v0.2.1:libdns_libdns/vendor/github.com/libdns/libdns \ - lucas-clemente:quic-go:v0.28.1:lucas_clemente_quic_go/vendor/github.com/lucas-clemente/quic-go \ - lunixbochs:vtclean:v1.0.0:lunixbochs_vtclean/vendor/github.com/lunixbochs/vtclean \ - manifoldco:promptui:v0.9.0:manifoldco_promptui/vendor/github.com/manifoldco/promptui \ - marten-seemann:qpack:v0.2.1:marten_seemann_qpack/vendor/github.com/marten-seemann/qpack \ - marten-seemann:qtls-go1-17:v0.1.2:marten_seemann_qtls_go1_17/vendor/github.com/marten-seemann/qtls-go1-17 \ - marten-seemann:qtls-go1-18:v0.1.2:marten_seemann_qtls_go1_18/vendor/github.com/marten-seemann/qtls-go1-18 \ - marten-seemann:qtls-go1-19:v0.1.0-beta.1:marten_seemann_qtls_go1_19/vendor/github.com/marten-seemann/qtls-go1-19 \ - mattn:go-colorable:v0.1.8:mattn_go_colorable/vendor/github.com/mattn/go-colorable \ - mattn:go-isatty:v0.0.13:mattn_go_isatty/vendor/github.com/mattn/go-isatty \ - matttproud:golang_protobuf_extensions:v1.0.1:matttproud_golang_protobuf_extensions/vendor/github.com/matttproud/golang_protobuf_extensions \ - mgutz:ansi:d51e80ef957d:mgutz_ansi/vendor/github.com/mgutz/ansi \ - mholt:acmez:v1.0.4:mholt_acmez/vendor/github.com/mholt/acmez \ - micromdm:scep:v2.1.0:micromdm_scep/vendor/github.com/micromdm/scep/v2 \ - miekg:dns:v1.1.46:miekg_dns/vendor/github.com/miekg/dns \ - mitchellh:copystructure:v1.2.0:mitchellh_copystructure/vendor/github.com/mitchellh/copystructure \ - mitchellh:go-ps:v1.0.0:mitchellh_go_ps/vendor/github.com/mitchellh/go-ps \ - mitchellh:reflectwalk:v1.0.2:mitchellh_reflectwalk/vendor/github.com/mitchellh/reflectwalk \ - mozilla-services:pkcs7:33d05740a352:mozilla_services_pkcs7/vendor/go.mozilla.org/pkcs7 \ - natefinch:lumberjack:v2.0.0:natefinch_lumberjack/vendor/gopkg.in/natefinch/lumberjack.v2 \ - open-telemetry:opentelemetry-go:v1.4.0:open_telemetry_otel/vendor/go.opentelemetry.io/otel \ - open-telemetry:opentelemetry-go-contrib:v1.4.0:open_telemetry_contrib/vendor/go.opentelemetry.io/contrib \ - open-telemetry:opentelemetry-proto-go:v0.12.0:open_telemetry_proto/vendor/go.opentelemetry.io/proto \ - pkg:errors:v0.9.1:pkg_errors/vendor/github.com/pkg/errors \ - prometheus:client_golang:v1.12.2:prometheus_client_golang/vendor/github.com/prometheus/client_golang \ - prometheus:client_model:v0.2.0:prometheus_client_model/vendor/github.com/prometheus/client_model \ - prometheus:common:v0.32.1:prometheus_common/vendor/github.com/prometheus/common \ - prometheus:procfs:v0.7.3:prometheus_procfs/vendor/github.com/prometheus/procfs \ - protocolbuffers:protobuf-go:v1.26.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \ - rs:xid:v1.2.1:rs_xid/vendor/github.com/rs/xid \ - russross:blackfriday:v2.0.1:russross_blackfriday_v2/vendor/github.com/russross/blackfriday/v2 \ - samfoo:ansi:b6bd2ded7189:samfoo_ansi/vendor/github.com/samfoo/ansi \ - shopspring:decimal:v1.2.0:shopspring_decimal/vendor/github.com/shopspring/decimal \ - shurcooL:sanitized_anchor_name:v1.0.0:shurcool_sanitized_anchor_name/vendor/github.com/shurcooL/sanitized_anchor_name \ - sirupsen:logrus:v1.8.1:sirupsen_logrus/vendor/github.com/sirupsen/logrus \ - slackhq:nebula:v1.5.2:slackhq_nebula/vendor/github.com/slackhq/nebula \ - smallstep:certificates:v0.21.0:smallstep_certificates/vendor/github.com/smallstep/certificates \ - smallstep:cli:v0.21.0:smallstep_cli/vendor/github.com/smallstep/cli \ - smallstep:cli-utils:v0.7.3:smallstep_cli_utils/vendor/go.step.sm/cli-utils \ - smallstep:crypto:v0.16.2:smallstep_crypto/vendor/go.step.sm/crypto \ - smallstep:linkedca:v0.16.1:smallstep_linkedca/vendor/go.step.sm/linkedca \ - smallstep:nosql:v0.4.0:smallstep_nosql/vendor/github.com/smallstep/nosql \ - smallstep:truststore:v0.11.0:smallstep_truststore/vendor/github.com/smallstep/truststore \ - spf13:cast:v1.4.1:spf13_cast/vendor/github.com/spf13/cast \ - square:go-jose:v2.6.0:square_go_jose/vendor/gopkg.in/square/go-jose.v2 \ - stoewer:go-strcase:v1.2.0:stoewer_go_strcase/vendor/github.com/stoewer/go-strcase \ - tailscale:tscert:54bbcb9f74e2:tailscale_tscert/vendor/github.com/tailscale/tscert \ - uber-go:atomic:v1.9.0:uber_go_atomic/vendor/go.uber.org/atomic \ - uber-go:multierr:v1.6.0:uber_go_multierr/vendor/go.uber.org/multierr \ - uber-go:zap:v1.21.0:uber_go_zap/vendor/go.uber.org/zap \ - urfave:cli:v1.22.5:urfave_cli/vendor/github.com/urfave/cli \ - yuin:goldmark-highlighting:594be1970594:yuin_goldmark_highlighting/vendor/github.com/yuin/goldmark-highlighting \ - yuin:goldmark:v1.4.13:yuin_goldmark/vendor/github.com/yuin/goldmark +# Use this file if we need to manually specify or override module dependencies. +# USE_GITHUB= yes +# GH_ACCOUNT= caddyserver +# GH_TUPLE= <...> diff --git a/www/carbonapi/Makefile b/www/carbonapi/Makefile index d79dac8730f6..84e832df2e34 100644 --- a/www/carbonapi/Makefile +++ b/www/carbonapi/Makefile @@ -1,6 +1,6 @@ PORTNAME= carbonapi DISTVERSION= 0.14.1 -PORTREVISION= 29 +PORTREVISION= 30 CATEGORIES= www MAINTAINER= a.andersson.thn@gmail.com diff --git a/www/castor/Makefile b/www/castor/Makefile index de3c7c06fbec..7669641b0dc9 100644 --- a/www/castor/Makefile +++ b/www/castor/Makefile @@ -1,6 +1,6 @@ PORTNAME= castor DISTVERSION= 0.8.16 -PORTREVISION= 45 +PORTREVISION= 46 CATEGORIES= www MASTER_SITES= https://git.sr.ht/~julienxx/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} diff --git a/www/chisel/Makefile b/www/chisel/Makefile index ff16348713c0..9863702719df 100644 --- a/www/chisel/Makefile +++ b/www/chisel/Makefile @@ -1,7 +1,7 @@ PORTNAME= chisel DISTVERSIONPREFIX= v DISTVERSION= 1.9.1 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= www MAINTAINER= lcook@FreeBSD.org diff --git a/www/chrome-gnome-shell/Makefile b/www/chrome-gnome-shell/Makefile index f1959ddbc54e..3008508ced9f 100644 --- a/www/chrome-gnome-shell/Makefile +++ b/www/chrome-gnome-shell/Makefile @@ -1,6 +1,6 @@ PORTNAME= chrome-gnome-shell DISTVERSION= 10.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= www gnome MASTER_SITES= https://download.gnome.org/sources/${PORTNAME}/${DISTVERSION}/ diff --git a/www/chromium/Makefile b/www/chromium/Makefile index 448fdb89bbc8..49811a24864d 100644 --- a/www/chromium/Makefile +++ b/www/chromium/Makefile @@ -1,5 +1,5 @@ PORTNAME= chromium -PORTVERSION= 139.0.7258.127 +PORTVERSION= 139.0.7258.154 PULSEMV= 16 PULSEV= ${PULSEMV}.1 CATEGORIES= www wayland diff --git a/www/chromium/distinfo b/www/chromium/distinfo index 75da28f0075f..90d3216e01bf 100644 --- a/www/chromium/distinfo +++ b/www/chromium/distinfo @@ -1,7 +1,7 @@ -TIMESTAMP = 1755199401 -SHA256 (chromium-139.0.7258.127.tar.xz) = c9a3cf7edb8030245cc378f9949130600610e3a41578c9d02a3b45747790f181 -SIZE (chromium-139.0.7258.127.tar.xz) = 7290320580 +TIMESTAMP = 1756814554 +SHA256 (chromium-139.0.7258.154.tar.xz) = bb83f7425e33f2a94179c4704335fbad14d4707dce9f58abe90d862b746f3d9f +SIZE (chromium-139.0.7258.154.tar.xz) = 7312393832 SHA256 (pulseaudio-16.1.tar.gz) = 027266c62f2a84422ac45fa721a649508f0f1628fb1fd9242315ac54ce2d7c92 SIZE (pulseaudio-16.1.tar.gz) = 2763111 -SHA256 (chromium-139.0.7258.127-testdata.tar.xz) = 690bacd10ad87c3a8255bb97f23b10c41369b830c1cf70c9e52e7c9593cd8c9f -SIZE (chromium-139.0.7258.127-testdata.tar.xz) = 924837828 +SHA256 (chromium-139.0.7258.154-testdata.tar.xz) = e4d1b30d16ddea7d0931b0f9168b7bde1a0450ae9f32d7be4278e925a7efbca9 +SIZE (chromium-139.0.7258.154-testdata.tar.xz) = 924873688 diff --git a/www/chromium/files/patch-media_audio_sndio_audio__manager__sndio.cc b/www/chromium/files/patch-media_audio_sndio_audio__manager__sndio.cc index 77ef6c87435e..cc8c304caf23 100644 --- a/www/chromium/files/patch-media_audio_sndio_audio__manager__sndio.cc +++ b/www/chromium/files/patch-media_audio_sndio_audio__manager__sndio.cc @@ -1,6 +1,6 @@ ---- media/audio/sndio/audio_manager_sndio.cc.orig 2025-07-02 06:08:04 UTC +--- media/audio/sndio/audio_manager_sndio.cc.orig 2025-09-03 06:34:22 UTC +++ media/audio/sndio/audio_manager_sndio.cc -@@ -0,0 +1,213 @@ +@@ -0,0 +1,215 @@ +// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. @@ -9,6 +9,8 @@ +#include "base/metrics/histogram_macros.h" +#include "base/memory/ptr_util.h" + ++#include "base/logging.h" ++ +#include "media/audio/sndio/audio_manager_sndio.h" + +#include "media/audio/audio_device_description.h" diff --git a/www/chromium/files/patch-net_dns_BUILD.gn b/www/chromium/files/patch-net_dns_BUILD.gn index 2a4999bdc858..5fc058539d26 100644 --- a/www/chromium/files/patch-net_dns_BUILD.gn +++ b/www/chromium/files/patch-net_dns_BUILD.gn @@ -1,4 +1,4 @@ ---- net/dns/BUILD.gn.orig 2025-08-07 06:57:29 UTC +--- net/dns/BUILD.gn.orig 2025-09-03 06:34:22 UTC +++ net/dns/BUILD.gn @@ -140,7 +140,7 @@ source_set("dns") { "dns_config_service_android.cc", @@ -9,7 +9,15 @@ sources += [ "dns_config_service_linux.cc", "dns_config_service_linux.h", -@@ -181,6 +181,7 @@ source_set("dns") { +@@ -174,6 +174,7 @@ source_set("dns") { + } + + deps = [ "//net:net_deps" ] ++ deps += [ "//services/screen_ai/buildflags" ] + + public_deps = [ + ":dns_client", +@@ -181,6 +182,7 @@ source_set("dns") { ":host_resolver_manager", ":mdns_client", "//net:net_public_deps", @@ -17,7 +25,7 @@ ] if (enable_mdns) { -@@ -454,9 +455,9 @@ source_set("tests") { +@@ -454,9 +456,9 @@ source_set("tests") { if (is_android) { sources += [ "dns_config_service_android_unittest.cc" ] diff --git a/www/chromium/files/patch-third__party_webrtc_rtc__base_cpu__info.cc b/www/chromium/files/patch-third__party_webrtc_rtc__base_cpu__info.cc index b19caa8cedd1..682ebb2db824 100644 --- a/www/chromium/files/patch-third__party_webrtc_rtc__base_cpu__info.cc +++ b/www/chromium/files/patch-third__party_webrtc_rtc__base_cpu__info.cc @@ -1,4 +1,4 @@ ---- third_party/webrtc/rtc_base/cpu_info.cc.orig 2025-08-07 06:57:29 UTC +--- third_party/webrtc/rtc_base/cpu_info.cc.orig 2025-09-03 06:34:22 UTC +++ third_party/webrtc/rtc_base/cpu_info.cc @@ -22,7 +22,9 @@ #elif defined(WEBRTC_FUCHSIA) @@ -10,3 +10,39 @@ #include <stdlib.h> #include <string.h> // IWYU pragma: keep #include <unistd.h> +@@ -33,7 +35,7 @@ + #define WEBRTC_GLIBC_PREREQ(a, b) 0 + #endif + +-#if WEBRTC_GLIBC_PREREQ(2, 16) ++#if WEBRTC_GLIBC_PREREQ(2, 16) || defined(WEBRTC_BSD) + #include <sys/auxv.h> // IWYU pragma: keep + #else + #include <errno.h> +@@ -50,7 +52,7 @@ + #if defined(WEBRTC_ARCH_X86_FAMILY) && defined(_MSC_VER) + #include <intrin.h> + #endif +-#if defined(WEBRTC_ARCH_ARM_FAMILY) && defined(WEBRTC_LINUX) ++#if defined(WEBRTC_ARCH_ARM_FAMILY) && defined(WEBRTC_LINUX) && !defined(WEBRTC_BSD) + #include <asm/hwcap.h> + #endif + +@@ -191,6 +193,9 @@ bool Supports(ISA instruction_set_architecture) { + return 0 != (android_getCpuFeatures() & ANDROID_CPU_ARM_FEATURE_NEON); + #elif defined(WEBRTC_LINUX) + uint64_t hwcap = 0; ++#if defined(WEBRTC_BSD) ++ elf_aux_info(AT_HWCAP, &hwcap, sizeof(hwcap)); ++#else + #if WEBRTC_GLIBC_PREREQ(2, 16) + hwcap = getauxval(AT_HWCAP); + #else +@@ -211,6 +216,7 @@ bool Supports(ISA instruction_set_architecture) { + close(fd); + } + #endif // WEBRTC_GLIBC_PREREQ(2, 16) ++#endif + #if defined(__aarch64__) + if ((hwcap & HWCAP_ASIMD) != 0) { + return true; diff --git a/www/cinny/Makefile b/www/cinny/Makefile index bfa5398ce57f..8a56df280f37 100644 --- a/www/cinny/Makefile +++ b/www/cinny/Makefile @@ -1,6 +1,6 @@ PORTNAME= cinny DISTVERSIONPREFIX= v -DISTVERSION= 4.9.0 +DISTVERSION= 4.10.0 CATEGORIES= www MASTER_SITES= https://github.com/cinnyapp/${PORTNAME}/releases/download/v${PORTVERSION}/ diff --git a/www/cinny/distinfo b/www/cinny/distinfo index bc8fd16f5847..e65c1a1302c8 100644 --- a/www/cinny/distinfo +++ b/www/cinny/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1755069564 -SHA256 (cinny-v4.9.0.tar.gz) = 86f6933cea198ac81de8c4cfe060585a6e59a8b2ffc2af01d8896f9899cce327 -SIZE (cinny-v4.9.0.tar.gz) = 6267485 +TIMESTAMP = 1756754373 +SHA256 (cinny-v4.10.0.tar.gz) = 5626625e890e4a802aaf115296e6bad36fedf0b9f090034de1866e5cb0d72e78 +SIZE (cinny-v4.10.0.tar.gz) = 6141029 diff --git a/www/cinny/pkg-plist b/www/cinny/pkg-plist index 9a7c322bfef9..1a23fe510b1f 100644 --- a/www/cinny/pkg-plist +++ b/www/cinny/pkg-plist @@ -1,5 +1,5 @@ -%%WWWDIR%%/assets/ReactPrism-EsqSNfRk.js -%%WWWDIR%%/assets/ReactPrism-EsqSNfRk.js.map +%%WWWDIR%%/assets/ReactPrism-DdRZcEBu.js +%%WWWDIR%%/assets/ReactPrism-DdRZcEBu.js.map %%WWWDIR%%/assets/ReactPrism-GaPGjdOJ.css %%WWWDIR%%/assets/Twemoji.Mozilla.v15.1.0-CM1RS90w.woff2 %%WWWDIR%%/assets/Twemoji.Mozilla.v15.1.0-DHQZm25T.ttf @@ -16,11 +16,11 @@ %%WWWDIR%%/assets/favicon-5KspoOBy.ico %%WWWDIR%%/assets/index-B9fWrEk-.js %%WWWDIR%%/assets/index-B9fWrEk-.js.map -%%WWWDIR%%/assets/index-CdUKUsAp.js -%%WWWDIR%%/assets/index-CdUKUsAp.js.map -%%WWWDIR%%/assets/index-Ci9slOWr.css -%%WWWDIR%%/assets/index-DZ-WE0me.js -%%WWWDIR%%/assets/index-DZ-WE0me.js.map +%%WWWDIR%%/assets/index-BAxhadIt.js +%%WWWDIR%%/assets/index-BAxhadIt.js.map +%%WWWDIR%%/assets/index-K1dbIcsT.css +%%WWWDIR%%/assets/index-S9odGIT2.js +%%WWWDIR%%/assets/index-S9odGIT2.js.map %%WWWDIR%%/assets/inter-cyrillic-ext-variable-wghtOnly-normal-CBYe6022.woff2 %%WWWDIR%%/assets/inter-cyrillic-variable-wghtOnly-normal-DHeaknKs.woff2 %%WWWDIR%%/assets/inter-greek-ext-variable-wghtOnly-normal-vpOIeGzY.woff2 @@ -31,8 +31,8 @@ %%WWWDIR%%/assets/invite-DROg5x7-.ogg %%WWWDIR%%/assets/matrix_sdk_crypto_wasm_bg-BKhMui86.wasm %%WWWDIR%%/assets/notification-EtLMRd0T.ogg -%%WWWDIR%%/assets/pdf-DTMG3Rzm.js -%%WWWDIR%%/assets/pdf-DTMG3Rzm.js.map +%%WWWDIR%%/assets/pdf-BRX4sfJ1.js +%%WWWDIR%%/assets/pdf-BRX4sfJ1.js.map %%WWWDIR%%/config.json.example %%WWWDIR%%/index.html %%WWWDIR%%/manifest.json diff --git a/www/codeberg-pages-server/Makefile b/www/codeberg-pages-server/Makefile index 97182db8c9dc..78b3c6b861bc 100644 --- a/www/codeberg-pages-server/Makefile +++ b/www/codeberg-pages-server/Makefile @@ -1,7 +1,7 @@ PORTNAME= codeberg-pages-server DISTVERSIONPREFIX= v DISTVERSION= 6.2.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= www MASTER_SITES= https://codeberg.org/Codeberg/pages-server/archive/ DISTFILES= ${DISTVERSIONFULL}.zip diff --git a/www/colly/Makefile b/www/colly/Makefile index a081818b1892..29d21fd61f94 100644 --- a/www/colly/Makefile +++ b/www/colly/Makefile @@ -1,7 +1,7 @@ PORTNAME= colly DISTVERSIONPREFIX= v DISTVERSION= 2.1.0 -PORTREVISION= 28 +PORTREVISION= 29 CATEGORIES= www MAINTAINER= yuri@FreeBSD.org diff --git a/www/davical/Makefile b/www/davical/Makefile index 148a9b6d5b41..43d48acda575 100644 --- a/www/davical/Makefile +++ b/www/davical/Makefile @@ -1,10 +1,11 @@ PORTNAME= davical DISTVERSIONPREFIX= r DISTVERSION= 1.1.12 +PORTREVISION= 1 CATEGORIES?= www PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= dinoex@FreeBSD.org COMMENT= Simple CalDAV server using a postgres backend WWW= https://www.davical.org/ diff --git a/www/davical/files/patch-caldav-ACL.php b/www/davical/files/patch-caldav-ACL.php new file mode 100644 index 000000000000..1f4ae0bf13e4 --- /dev/null +++ b/www/davical/files/patch-caldav-ACL.php @@ -0,0 +1,85 @@ +commit effc00474111bf5dff1297dd3c6811c1fdf6b6ca +Author: Florian Schlichting <fsfs@debian.org> +Date: Thu Mar 23 22:14:41 2023 +0100 + + use "." to concatenate strings, not "+" (fixes #288) + + Unsupported operand types: string + string at /usr/share/davical/inc/caldav-ACL.php:146 + +diff --git a/inc/caldav-ACL.php b/inc/caldav-ACL.php +index 861d4389..cb0fa213 100644 +--- inc/caldav-ACL.php.orig ++++ inc/caldav-ACL.php +@@ -143,7 +143,7 @@ function process_ace( $grantor, $by_principal, $by_collection, $ace ) { + $grantee = new DAVResource( DeconstructURL($principal_content->GetContent()) ); + $grantee_id = $grantee->getProperty('principal_id'); + if ( !$grantee->Exists() || !$grantee->IsPrincipal() ) +- $request->PreconditionFailed(403,'recognized-principal', 'Principal "' + $principal_content->GetContent() + '" not found.'); ++ $request->PreconditionFailed(403,'recognized-principal', 'Principal "' . $principal_content->GetContent() . '" not found.'); + $sqlparms = array( ':to_principal' => $grantee_id); + $where = 'WHERE to_principal=:to_principal AND '; + if ( isset($by_principal) ) { +diff --git a/testing/tests/regression-suite/0946-ACL-err.result b/testing/tests/regression-suite/0946-ACL-err.result +new file mode 100644 +index 00000000..c0ad5ef7 +--- /dev/null ++++ testing/tests/regression-suite/0946-ACL-err.result +@@ -0,0 +1,11 @@ ++HTTP/1.1 403 Forbidden
++Date: Dow, 01 Jan 2000 00:00:00 GMT
++DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
++DAV: extended-mkcol, bind, addressbook, calendar-auto-schedule, calendar-proxy
++Content-Length: 137
++Content-Type: text/xml; charset="utf-8"
++
++<?xml version="1.0" encoding="utf-8" ?> ++<error xmlns="DAV:"> ++ <recognized-principal/>Principal "/caldav.php/user40/" not found. ++</error> +diff --git a/testing/tests/regression-suite/0946-ACL-err.test b/testing/tests/regression-suite/0946-ACL-err.test +new file mode 100644 +index 00000000..945f3a13 +--- /dev/null ++++ testing/tests/regression-suite/0946-ACL-err.test +@@ -0,0 +1,41 @@ ++# ++# ACL setting default privileges on a collection to nothing, and ++# specific privileges to include read-acl. ++# ++TYPE=ACL ++URL=http://regression.host/caldav.php/user1/home/ ++HEADER=User-Agent: RFC3744 Spec Tests ++HEADER=Content-Type: text/xml; charset="UTF-8" ++HEAD ++ ++ ++BEGINDATA ++<?xml version="1.0" encoding="utf-8" ?> ++<acl xmlns="DAV:" xmlns:CalDAV="urn:ietf:params:xml:ns:caldav"> ++ <ace> ++ <principal> ++ <href>/caldav.php/user40/</href> ++ </principal> ++ <grant> ++ <privilege><read/></privilege> ++ <privilege><read-acl/></privilege> ++ <privilege><read-current-user-privilege-set/></privilege> ++ <privilege><CalDAV:read-free-busy/></privilege> ++ </grant> ++ </ace> ++ <ace> ++ <principal><authenticated/></principal> ++ <grant> ++ <privilege/> ++ </grant> ++ </ace> ++</acl> ++ENDDATA ++ ++QUERY ++SELECT by_principal, by_collection, privileges, p_to.displayname, to_principal ++ FROM grants JOIN dav_principal p_to ON (to_principal=principal_id) ++ LEFT JOIN collection ON (by_collection=collection.collection_id) ++ WHERE collection.dav_name = '/user1/home/' ++ENDQUERY ++ diff --git a/www/davical/files/patch-principal-edit.php b/www/davical/files/patch-principal-edit.php new file mode 100644 index 000000000000..361be905cb0e --- /dev/null +++ b/www/davical/files/patch-principal-edit.php @@ -0,0 +1,27 @@ +commit e8f3a3e6f2c27e78c2778e0040b385b430dfc9fc +Author: Andrew Ruthven <puck@catalystcloud.nz> +Date: Sun Apr 30 12:13:37 2023 +1200 + + Add a missing space to a SQL statement to fix adding groups. + + It looks to me like this bug has been present since 2011. + + Closes: #294 + +diff --git a/inc/ui/principal-edit.php b/inc/ui/principal-edit.php +index 603fd1e1..df975e22 100644 +--- inc/ui/principal-edit.php.orig ++++ inc/ui/principal-edit.php +@@ -495,9 +495,9 @@ function group_memberships_browser() { + function group_row_editor() { + global $c, $id, $editor, $can_write_principal; + $grouprow = new Editor("Group Members", "group_member"); +- $sql = 'SELECT principal_id, coalesce(displayname,fullname,username) FROM dav_principal '; +- $sql .= 'WHERE principal_id NOT IN (SELECT member_id FROM group_member WHERE group_id = '.$id.') '; +- $sql .= 'AND principal_id != '.$id; ++ $sql = 'SELECT principal_id, coalesce(displayname, fullname, username) FROM dav_principal '; ++ $sql .= 'WHERE principal_id NOT IN (SELECT member_id FROM group_member WHERE group_id = ' . $id . ') '; ++ $sql .= 'AND principal_id != ' . $id . ' '; + $sql .= 'ORDER BY 2'; + $grouprow->SetLookup( 'member_id', $sql); + $grouprow->SetSubmitName( 'savegrouprow' ); diff --git a/www/deforaos-surfer/Makefile b/www/deforaos-surfer/Makefile index 480b9397ab64..9304fad27516 100644 --- a/www/deforaos-surfer/Makefile +++ b/www/deforaos-surfer/Makefile @@ -1,6 +1,6 @@ PORTNAME= surfer PORTVERSION= 0.3.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= www MASTER_SITES= https://ftp.defora.org/pub/DeforaOS/Apps/Desktop/src/Surfer/ PKGNAMEPREFIX= deforaos- diff --git a/www/deno-dom/Makefile b/www/deno-dom/Makefile index 75978617efdf..c1fbcc6b790f 100644 --- a/www/deno-dom/Makefile +++ b/www/deno-dom/Makefile @@ -1,7 +1,7 @@ PORTNAME= deno-dom DISTVERSIONPREFIX= v DISTVERSION= 0.1.48 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= www MAINTAINER= yuri@FreeBSD.org diff --git a/www/deno/Makefile b/www/deno/Makefile index b8b7f7c13666..14f9d915188a 100644 --- a/www/deno/Makefile +++ b/www/deno/Makefile @@ -1,7 +1,7 @@ PORTNAME= deno DISTVERSIONPREFIX= v DISTVERSION= 2.2.9 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MAINTAINER= ports@FreeBSD.org diff --git a/www/deno/files/patch-build_config_compiler_BUILD.gn b/www/deno/files/patch-build_config_compiler_BUILD.gn index e13c3a8e32be..446cabbe618a 100644 --- a/www/deno/files/patch-build_config_compiler_BUILD.gn +++ b/www/deno/files/patch-build_config_compiler_BUILD.gn @@ -1,4 +1,4 @@ ---- cargo-crates/v8-135.1.0/build/config/compiler/BUILD.gn.orig 1973-11-29 22:33:09 UTC +--- cargo-crates/v8-135.1.0/build/config/compiler/BUILD.gn.orig 2006-07-24 01:21:28 UTC +++ cargo-crates/v8-135.1.0/build/config/compiler/BUILD.gn @@ -198,7 +198,7 @@ declare_args() { # This greatly reduces the size of debug builds, at the cost of @@ -56,6 +56,21 @@ cflags += [ "-fcrash-diagnostics-dir=" + clang_diagnostic_dir ] if (save_reproducers_on_lld_crash && use_lld) { ldflags += [ +@@ -1235,10 +1242,10 @@ config("compiler_cpu_abi") { + ] + } + } else if (current_cpu == "arm") { +- if (is_clang && !is_android && !is_nacl && !is_chromeos_device) { +- cflags += [ "--target=arm-linux-gnueabihf" ] +- ldflags += [ "--target=arm-linux-gnueabihf" ] +- } ++# if (is_clang && !is_android && !is_nacl && !is_chromeos_device) { ++# cflags += [ "--target=arm-linux-gnueabihf" ] ++# ldflags += [ "--target=arm-linux-gnueabihf" ] ++# } + if (!is_nacl) { + cflags += [ + "-march=$arm_arch", @@ -1249,7 +1256,7 @@ config("compiler_cpu_abi") { cflags += [ "-mtune=$arm_tune" ] } diff --git a/www/deno/files/patch-v8_src_base_platform_platform-freebsd.cc b/www/deno/files/patch-v8_src_base_platform_platform-freebsd.cc index c2f65ad6363f..d3cc6f81b281 100644 --- a/www/deno/files/patch-v8_src_base_platform_platform-freebsd.cc +++ b/www/deno/files/patch-v8_src_base_platform_platform-freebsd.cc @@ -20,7 +20,7 @@ lib_name = std::string(path); } result.push_back(SharedLibraryAddress( -+#if defined(__i386__) || defined(OS_FREEBSD) ++#if defined(__arm__) || defined(__i386__) || defined(OS_FREEBSD) + lib_name, static_cast<uintptr_t>(map->kve_start), + static_cast<uintptr_t>(map->kve_end))); +#else diff --git a/www/devd/Makefile b/www/devd/Makefile index 751c887e479a..2b198b321086 100644 --- a/www/devd/Makefile +++ b/www/devd/Makefile @@ -1,7 +1,7 @@ PORTNAME= devd DISTVERSIONPREFIX= v DISTVERSION= 0.9 -PORTREVISION= 32 +PORTREVISION= 33 CATEGORIES= www devel MAINTAINER= yuri@FreeBSD.org diff --git a/www/dezoomify-rs/Makefile b/www/dezoomify-rs/Makefile index a083f1fad813..c41471ae3e12 100644 --- a/www/dezoomify-rs/Makefile +++ b/www/dezoomify-rs/Makefile @@ -1,7 +1,7 @@ PORTNAME= dezoomify-rs DISTVERSIONPREFIX= v DISTVERSION= 2.15.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MAINTAINER= nivit@FreeBSD.org diff --git a/www/dothttp/Makefile b/www/dothttp/Makefile index 39f809b1312a..ac03a9e4596b 100644 --- a/www/dothttp/Makefile +++ b/www/dothttp/Makefile @@ -1,7 +1,7 @@ PORTNAME= dothttp DISTVERSIONPREFIX= v DISTVERSION= 0.10.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= www MAINTAINER= yuri@FreeBSD.org diff --git a/www/drill/Makefile b/www/drill/Makefile index 13c64f803175..0995a23d08c0 100644 --- a/www/drill/Makefile +++ b/www/drill/Makefile @@ -1,6 +1,6 @@ PORTNAME= drill DISTVERSION= 0.8.3 -PORTREVISION= 18 +PORTREVISION= 19 CATEGORIES= www MAINTAINER= yuri@FreeBSD.org diff --git a/www/dufs/Makefile b/www/dufs/Makefile index 0ae62585141a..273bd724c798 100644 --- a/www/dufs/Makefile +++ b/www/dufs/Makefile @@ -1,6 +1,7 @@ PORTNAME= dufs DISTVERSIONPREFIX= v DISTVERSION= 0.44.0 +PORTREVISION= 1 CATEGORIES= www MAINTAINER= ashish@FreeBSD.org diff --git a/www/eden/Makefile b/www/eden/Makefile index 5bfedebab6d5..49ecaefeaaed 100644 --- a/www/eden/Makefile +++ b/www/eden/Makefile @@ -1,7 +1,7 @@ PORTNAME= eden PORTVERSION= 0.7.4 DISTVERSIONPREFIX= v -PORTREVISION= 31 +PORTREVISION= 32 CATEGORIES= www PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ diff --git a/www/element-web/Makefile b/www/element-web/Makefile index 17a156b551bd..ac02825dd523 100644 --- a/www/element-web/Makefile +++ b/www/element-web/Makefile @@ -1,6 +1,6 @@ PORTNAME= element DISTVERSIONPREFIX= v -DISTVERSION= 1.11.109 +DISTVERSION= 1.11.110 CATEGORIES= www MASTER_SITES= https://github.com/element-hq/element-web/releases/download/${DISTVERSIONFULL}/ PKGNAMESUFFIX= -web @@ -18,7 +18,7 @@ CPE_VENDOR= matrix NO_ARCH= yes NO_BUILD= yes SUB_FILES= pkg-message -PLIST_SUB= COMMITID=f09d259c98597dd2f031 +PLIST_SUB= COMMITID=4cb917bfa6c2afdfec1e do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} diff --git a/www/element-web/distinfo b/www/element-web/distinfo index be219c4dd146..55b2d2f9785f 100644 --- a/www/element-web/distinfo +++ b/www/element-web/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1754918026 -SHA256 (element-v1.11.109.tar.gz) = d48e967ac9ff598ab394a7cd06a9a7b33af9815036d9c4dbbec0a5f4fb8ca69d -SIZE (element-v1.11.109.tar.gz) = 38058720 +TIMESTAMP = 1756754107 +SHA256 (element-v1.11.110.tar.gz) = d7cb1d0eacf1f1f2ff0d89308933db626aff4874aea22b3e17e6f9486c4f2e5b +SIZE (element-v1.11.110.tar.gz) = 38145772 diff --git a/www/element-web/pkg-plist b/www/element-web/pkg-plist index 2f945d5aab3d..4a926abc765b 100644 --- a/www/element-web/pkg-plist +++ b/www/element-web/pkg-plist @@ -26,10 +26,11 @@ %%WWWDIR%%/bundles/%%COMMITID%%/3260.js %%WWWDIR%%/bundles/%%COMMITID%%/3260.js.LICENSE.txt %%WWWDIR%%/bundles/%%COMMITID%%/3260.js.map -%%WWWDIR%%/bundles/%%COMMITID%%/3323.js -%%WWWDIR%%/bundles/%%COMMITID%%/3323.js.map %%WWWDIR%%/bundles/%%COMMITID%%/3380.js %%WWWDIR%%/bundles/%%COMMITID%%/3380.js.map +%%WWWDIR%%/bundles/%%COMMITID%%/3486.js +%%WWWDIR%%/bundles/%%COMMITID%%/3486.js.LICENSE.txt +%%WWWDIR%%/bundles/%%COMMITID%%/3486.js.map %%WWWDIR%%/bundles/%%COMMITID%%/3508.js %%WWWDIR%%/bundles/%%COMMITID%%/3636.js %%WWWDIR%%/bundles/%%COMMITID%%/3636.js.map @@ -72,9 +73,6 @@ %%WWWDIR%%/bundles/%%COMMITID%%/797.js.map %%WWWDIR%%/bundles/%%COMMITID%%/8227.js %%WWWDIR%%/bundles/%%COMMITID%%/8227.js.map -%%WWWDIR%%/bundles/%%COMMITID%%/854.js -%%WWWDIR%%/bundles/%%COMMITID%%/854.js.LICENSE.txt -%%WWWDIR%%/bundles/%%COMMITID%%/854.js.map %%WWWDIR%%/bundles/%%COMMITID%%/8901.js %%WWWDIR%%/bundles/%%COMMITID%%/8901.js.map %%WWWDIR%%/bundles/%%COMMITID%%/927.js @@ -345,45 +343,45 @@ %%WWWDIR%%/fonts/inter-vietnamese-700-italic.feddee8.woff2 %%WWWDIR%%/fonts/inter-vietnamese-700-normal.5d9bfca.woff2 %%WWWDIR%%/fonts/inter-vietnamese-700-normal.cceb6e3.woff -%%WWWDIR%%/i18n/cs.3374245.json -%%WWWDIR%%/i18n/cy.8b4ee5c.json -%%WWWDIR%%/i18n/de_DE.a98dd15.json -%%WWWDIR%%/i18n/el.1fc90d5.json -%%WWWDIR%%/i18n/en_EN.43ad558.json -%%WWWDIR%%/i18n/eo.b09c6a7.json -%%WWWDIR%%/i18n/es.bb7d2c6.json -%%WWWDIR%%/i18n/et.696898c.json -%%WWWDIR%%/i18n/fa.85aa161.json -%%WWWDIR%%/i18n/fi.bd90f6b.json -%%WWWDIR%%/i18n/fr.0cf6723.json -%%WWWDIR%%/i18n/gl.e949315.json -%%WWWDIR%%/i18n/he.2cc0c2f.json -%%WWWDIR%%/i18n/hu.8309e90.json -%%WWWDIR%%/i18n/id.89c83cd.json -%%WWWDIR%%/i18n/is.ec44cbc.json -%%WWWDIR%%/i18n/it.bf489ca.json -%%WWWDIR%%/i18n/ja.c30975c.json -%%WWWDIR%%/i18n/ka.13d0932.json -%%WWWDIR%%/i18n/languages.3ce9849.json +%%WWWDIR%%/i18n/cs.46fdf9f.json +%%WWWDIR%%/i18n/cy.6299f43.json +%%WWWDIR%%/i18n/de_DE.ecfbe41.json +%%WWWDIR%%/i18n/el.d9243f0.json +%%WWWDIR%%/i18n/en_EN.02e2a9d.json +%%WWWDIR%%/i18n/eo.38fe19a.json +%%WWWDIR%%/i18n/es.cf16fec.json +%%WWWDIR%%/i18n/et.e0dac39.json +%%WWWDIR%%/i18n/fa.d3082cf.json +%%WWWDIR%%/i18n/fi.5d8be7e.json +%%WWWDIR%%/i18n/fr.3d5fd39.json +%%WWWDIR%%/i18n/gl.537c630.json +%%WWWDIR%%/i18n/he.83b6e90.json +%%WWWDIR%%/i18n/hu.81faab0.json +%%WWWDIR%%/i18n/id.ec7a7a6.json +%%WWWDIR%%/i18n/is.961b8aa.json +%%WWWDIR%%/i18n/it.43bfddf.json +%%WWWDIR%%/i18n/ja.cc1906f.json +%%WWWDIR%%/i18n/ka.047bb51.json +%%WWWDIR%%/i18n/languages.489b066.json %%WWWDIR%%/i18n/languages.json -%%WWWDIR%%/i18n/lo.55aca85.json -%%WWWDIR%%/i18n/lt.03b1277.json -%%WWWDIR%%/i18n/lv.e86ef9b.json -%%WWWDIR%%/i18n/mg_MG.296e761.json -%%WWWDIR%%/i18n/nb_NO.cdb8a93.json -%%WWWDIR%%/i18n/nl.c65ebef.json -%%WWWDIR%%/i18n/pl.c1fb802.json -%%WWWDIR%%/i18n/pt.d458e48.json -%%WWWDIR%%/i18n/pt_BR.7d38ff4.json -%%WWWDIR%%/i18n/ru.842732b.json -%%WWWDIR%%/i18n/sk.d913fa3.json -%%WWWDIR%%/i18n/sq.e8f2cf8.json -%%WWWDIR%%/i18n/sv.a7d86e8.json -%%WWWDIR%%/i18n/tr.34bde3f.json -%%WWWDIR%%/i18n/uk.d833ad6.json -%%WWWDIR%%/i18n/vi.6b996cd.json -%%WWWDIR%%/i18n/zh_Hans.3b9a729.json -%%WWWDIR%%/i18n/zh_Hant.86e79e7.json +%%WWWDIR%%/i18n/lo.1a01478.json +%%WWWDIR%%/i18n/lt.758c193.json +%%WWWDIR%%/i18n/lv.4878bf2.json +%%WWWDIR%%/i18n/mg_MG.b1e631d.json +%%WWWDIR%%/i18n/nb_NO.a65731e.json +%%WWWDIR%%/i18n/nl.0fe0ef7.json +%%WWWDIR%%/i18n/pl.5349fe2.json +%%WWWDIR%%/i18n/pt.4f6bc7e.json +%%WWWDIR%%/i18n/pt_BR.a9c5a04.json +%%WWWDIR%%/i18n/ru.52cf8d5.json +%%WWWDIR%%/i18n/sk.8d19a36.json +%%WWWDIR%%/i18n/sq.a4814b4.json +%%WWWDIR%%/i18n/sv.69ad838.json +%%WWWDIR%%/i18n/tr.5ec7421.json +%%WWWDIR%%/i18n/uk.47ad151.json +%%WWWDIR%%/i18n/vi.537aa28.json +%%WWWDIR%%/i18n/zh_Hans.0999651.json +%%WWWDIR%%/i18n/zh_Hant.9f0fbac.json %%WWWDIR%%/icons/bold.b7f0698.svg %%WWWDIR%%/icons/check-circle.99c21d7.svg %%WWWDIR%%/icons/check.aaad650.svg @@ -698,107 +696,107 @@ %%WWWDIR%%/welcome/images/icon-help.svg %%WWWDIR%%/welcome/images/icon-room-directory.svg %%WWWDIR%%/welcome/images/icon-sign-in.svg -%%WWWDIR%%/widgets/element-call/assets/IndexedDBWorker-whz4J8_U.js -%%WWWDIR%%/widgets/element-call/assets/IndexedDBWorker-whz4J8_U.js.map +%%WWWDIR%%/widgets/element-call/assets/IndexedDBWorker-k_3vZa8J.js +%%WWWDIR%%/widgets/element-call/assets/IndexedDBWorker-k_3vZa8J.js.map %%WWWDIR%%/widgets/element-call/assets/cat-4r_NkDcK.ogg %%WWWDIR%%/widgets/element-call/assets/cat-Dd8bv_2W.mp3 %%WWWDIR%%/widgets/element-call/assets/clap-AxCMZLTd.ogg %%WWWDIR%%/widgets/element-call/assets/clap-Dxm5qGyl.mp3 %%WWWDIR%%/widgets/element-call/assets/crickets-CcwrRdbq.mp3 %%WWWDIR%%/widgets/element-call/assets/crickets-DUJdcuUa.ogg -%%WWWDIR%%/widgets/element-call/assets/cs-app-UZ1pMWyL.json -%%WWWDIR%%/widgets/element-call/assets/da-app-DSbSkTzs.json -%%WWWDIR%%/widgets/element-call/assets/de-app-B6MLDOze.json +%%WWWDIR%%/widgets/element-call/assets/cs-app-v58LOBvt.json +%%WWWDIR%%/widgets/element-call/assets/da-app-9paXotmH.json +%%WWWDIR%%/widgets/element-call/assets/de-app-DLuEgSI3.json %%WWWDIR%%/widgets/element-call/assets/deer-91r1Gyrx.mp3 %%WWWDIR%%/widgets/element-call/assets/deer-DPSlVch4.ogg %%WWWDIR%%/widgets/element-call/assets/dog-BoQdnF-w.mp3 %%WWWDIR%%/widgets/element-call/assets/dog-CxIWtkNX.ogg %%WWWDIR%%/widgets/element-call/assets/el-app-BBr3LLTK.json -%%WWWDIR%%/widgets/element-call/assets/en-app-DaCwFDsK.json +%%WWWDIR%%/widgets/element-call/assets/en-app-C5T4BCNa.json %%WWWDIR%%/widgets/element-call/assets/es-app-Q3c7lmEj.json -%%WWWDIR%%/widgets/element-call/assets/et-app-Cj5_u8vn.json +%%WWWDIR%%/widgets/element-call/assets/et-app-DBPtMBtN.json %%WWWDIR%%/widgets/element-call/assets/fi-app-tnO3DMdi.json %%WWWDIR%%/widgets/element-call/assets/fr-app-BxTYbDfK.json %%WWWDIR%%/widgets/element-call/assets/generic-BBbS3Wph.ogg %%WWWDIR%%/widgets/element-call/assets/generic-BFeSb6fL.mp3 %%WWWDIR%%/widgets/element-call/assets/id-app-BEz8ptLJ.json -%%WWWDIR%%/widgets/element-call/assets/inconsolata-latin-400-normal-Befkm-iY.woff -%%WWWDIR%%/widgets/element-call/assets/inconsolata-latin-400-normal-CjvQBeBR.woff2 -%%WWWDIR%%/widgets/element-call/assets/inconsolata-latin-700-normal-BUbZx5Dd.woff2 -%%WWWDIR%%/widgets/element-call/assets/inconsolata-latin-700-normal-OU_zouat.woff -%%WWWDIR%%/widgets/element-call/assets/inconsolata-latin-ext-400-normal-DeeBOK-I.woff -%%WWWDIR%%/widgets/element-call/assets/inconsolata-latin-ext-400-normal-e5nDaEKZ.woff2 -%%WWWDIR%%/widgets/element-call/assets/inconsolata-latin-ext-700-normal-BSLPqmaC.woff -%%WWWDIR%%/widgets/element-call/assets/inconsolata-latin-ext-700-normal-BhssidQ1.woff2 -%%WWWDIR%%/widgets/element-call/assets/inconsolata-vietnamese-400-normal-DfMo8OX4.woff2 -%%WWWDIR%%/widgets/element-call/assets/inconsolata-vietnamese-400-normal-hFXvniIJ.woff -%%WWWDIR%%/widgets/element-call/assets/inconsolata-vietnamese-700-normal-D1IfJGt6.woff -%%WWWDIR%%/widgets/element-call/assets/inconsolata-vietnamese-700-normal-DlaT3sch.woff2 -%%WWWDIR%%/widgets/element-call/assets/index-C5b7hIif.js -%%WWWDIR%%/widgets/element-call/assets/index-C5b7hIif.js.map -%%WWWDIR%%/widgets/element-call/assets/index-DFx3IDNt.css -%%WWWDIR%%/widgets/element-call/assets/index-D_j-EP5P.js -%%WWWDIR%%/widgets/element-call/assets/index-D_j-EP5P.js.LICENSE.txt -%%WWWDIR%%/widgets/element-call/assets/index-D_j-EP5P.js.map -%%WWWDIR%%/widgets/element-call/assets/index-nK4e_yqR.js -%%WWWDIR%%/widgets/element-call/assets/index-nK4e_yqR.js.LICENSE.txt -%%WWWDIR%%/widgets/element-call/assets/index-nK4e_yqR.js.map +%%WWWDIR%%/widgets/element-call/assets/inconsolata-latin-400-normal-DTZQ6lD6.woff2 +%%WWWDIR%%/widgets/element-call/assets/inconsolata-latin-400-normal-HYADljCo.woff +%%WWWDIR%%/widgets/element-call/assets/inconsolata-latin-700-normal-ByjKuJjN.woff2 +%%WWWDIR%%/widgets/element-call/assets/inconsolata-latin-700-normal-DzgUY3Rl.woff +%%WWWDIR%%/widgets/element-call/assets/inconsolata-latin-ext-400-normal-BaHVOdFB.woff2 +%%WWWDIR%%/widgets/element-call/assets/inconsolata-latin-ext-400-normal-yvPjCxxx.woff +%%WWWDIR%%/widgets/element-call/assets/inconsolata-latin-ext-700-normal-D0Kpgs_9.woff2 +%%WWWDIR%%/widgets/element-call/assets/inconsolata-latin-ext-700-normal-Dlt-daqV.woff +%%WWWDIR%%/widgets/element-call/assets/inconsolata-vietnamese-400-normal-ByiM2lek.woff +%%WWWDIR%%/widgets/element-call/assets/inconsolata-vietnamese-400-normal-DfC_iMic.woff2 +%%WWWDIR%%/widgets/element-call/assets/inconsolata-vietnamese-700-normal-DLCFFAUf.woff +%%WWWDIR%%/widgets/element-call/assets/inconsolata-vietnamese-700-normal-DuasYmn8.woff2 +%%WWWDIR%%/widgets/element-call/assets/index-BuLS5UUE.js +%%WWWDIR%%/widgets/element-call/assets/index-BuLS5UUE.js.map +%%WWWDIR%%/widgets/element-call/assets/index-DMnN9EKG.css +%%WWWDIR%%/widgets/element-call/assets/index-D_k2U_CI.js +%%WWWDIR%%/widgets/element-call/assets/index-D_k2U_CI.js.LICENSE.txt +%%WWWDIR%%/widgets/element-call/assets/index-D_k2U_CI.js.map +%%WWWDIR%%/widgets/element-call/assets/index-VC5-R1Nr.js +%%WWWDIR%%/widgets/element-call/assets/index-VC5-R1Nr.js.LICENSE.txt +%%WWWDIR%%/widgets/element-call/assets/index-VC5-R1Nr.js.map %%WWWDIR%%/widgets/element-call/assets/inter-cyrillic-400-normal-BLGc9T1a.woff2 -%%WWWDIR%%/widgets/element-call/assets/inter-cyrillic-400-normal-ZzOtrSSW.woff +%%WWWDIR%%/widgets/element-call/assets/inter-cyrillic-400-normal-alAqRL36.woff +%%WWWDIR%%/widgets/element-call/assets/inter-cyrillic-500-normal-BoeW9iIj.woff %%WWWDIR%%/widgets/element-call/assets/inter-cyrillic-500-normal-D4Vwzodn.woff2 -%%WWWDIR%%/widgets/element-call/assets/inter-cyrillic-500-normal-DH2hs3aW.woff %%WWWDIR%%/widgets/element-call/assets/inter-cyrillic-600-normal-BGBWG807.woff2 -%%WWWDIR%%/widgets/element-call/assets/inter-cyrillic-600-normal-BuzJQFbW.woff -%%WWWDIR%%/widgets/element-call/assets/inter-cyrillic-700-normal-Bc8_fv8J.woff +%%WWWDIR%%/widgets/element-call/assets/inter-cyrillic-600-normal-vZ-N8GHY.woff %%WWWDIR%%/widgets/element-call/assets/inter-cyrillic-700-normal-bGtGjVdZ.woff2 -%%WWWDIR%%/widgets/element-call/assets/inter-cyrillic-ext-400-normal-BPnxn4xp.woff +%%WWWDIR%%/widgets/element-call/assets/inter-cyrillic-700-normal-oWiwobpV.woff +%%WWWDIR%%/widgets/element-call/assets/inter-cyrillic-ext-400-normal-BE2fNs0E.woff %%WWWDIR%%/widgets/element-call/assets/inter-cyrillic-ext-400-normal-Dc4VJyIJ.woff2 %%WWWDIR%%/widgets/element-call/assets/inter-cyrillic-ext-500-normal-BShVwWPj.woff2 -%%WWWDIR%%/widgets/element-call/assets/inter-cyrillic-ext-500-normal-CUiC4oBV.woff -%%WWWDIR%%/widgets/element-call/assets/inter-cyrillic-ext-600-normal-Bt9VVOA-.woff +%%WWWDIR%%/widgets/element-call/assets/inter-cyrillic-ext-500-normal-NrhEyngK.woff %%WWWDIR%%/widgets/element-call/assets/inter-cyrillic-ext-600-normal-CaqZN2hq.woff2 -%%WWWDIR%%/widgets/element-call/assets/inter-cyrillic-ext-700-normal-Ced3hgUT.woff +%%WWWDIR%%/widgets/element-call/assets/inter-cyrillic-ext-600-normal-t7rHAwBu.woff +%%WWWDIR%%/widgets/element-call/assets/inter-cyrillic-ext-700-normal-Cg0zx2i8.woff %%WWWDIR%%/widgets/element-call/assets/inter-cyrillic-ext-700-normal-ClVoMEGq.woff2 -%%WWWDIR%%/widgets/element-call/assets/inter-greek-400-normal-BZzXV7-1.woff +%%WWWDIR%%/widgets/element-call/assets/inter-greek-400-normal-C3I71FoW.woff %%WWWDIR%%/widgets/element-call/assets/inter-greek-400-normal-DxZsaF_h.woff2 +%%WWWDIR%%/widgets/element-call/assets/inter-greek-500-normal-CSBZZ4CI.woff %%WWWDIR%%/widgets/element-call/assets/inter-greek-500-normal-CeQXL5ds.woff2 -%%WWWDIR%%/widgets/element-call/assets/inter-greek-500-normal-d_eO-yCQ.woff -%%WWWDIR%%/widgets/element-call/assets/inter-greek-600-normal-CwicyhtI.woff +%%WWWDIR%%/widgets/element-call/assets/inter-greek-600-normal-BVGIV3oK.woff %%WWWDIR%%/widgets/element-call/assets/inter-greek-600-normal-Dhlb-90d.woff2 -%%WWWDIR%%/widgets/element-call/assets/inter-greek-700-normal-BRYTaFLL.woff %%WWWDIR%%/widgets/element-call/assets/inter-greek-700-normal-Cxpycf-U.woff2 +%%WWWDIR%%/widgets/element-call/assets/inter-greek-700-normal-DtGkhywV.woff %%WWWDIR%%/widgets/element-call/assets/inter-greek-ext-400-normal-Bput3-QP.woff2 -%%WWWDIR%%/widgets/element-call/assets/inter-greek-ext-400-normal-DCpCPQOf.woff +%%WWWDIR%%/widgets/element-call/assets/inter-greek-ext-400-normal-XIH6-K3k.woff +%%WWWDIR%%/widgets/element-call/assets/inter-greek-ext-500-normal-1SJLBQ3N.woff %%WWWDIR%%/widgets/element-call/assets/inter-greek-ext-500-normal-B6guLgqG.woff2 -%%WWWDIR%%/widgets/element-call/assets/inter-greek-ext-500-normal-M2hEX8vc.woff -%%WWWDIR%%/widgets/element-call/assets/inter-greek-ext-600-normal-C9WLioJ8.woff +%%WWWDIR%%/widgets/element-call/assets/inter-greek-ext-600-normal-CCFnzSpK.woff %%WWWDIR%%/widgets/element-call/assets/inter-greek-ext-600-normal-Cnui8OiR.woff2 -%%WWWDIR%%/widgets/element-call/assets/inter-greek-ext-700-normal-DXvzx4Na.woff +%%WWWDIR%%/widgets/element-call/assets/inter-greek-ext-700-normal-D0KHSs-V.woff %%WWWDIR%%/widgets/element-call/assets/inter-greek-ext-700-normal-SzCdnevJ.woff2 -%%WWWDIR%%/widgets/element-call/assets/inter-latin-400-normal-BOOGhInR.woff2 -%%WWWDIR%%/widgets/element-call/assets/inter-latin-400-normal-gitzw0hO.woff -%%WWWDIR%%/widgets/element-call/assets/inter-latin-500-normal-D2bGa7uu.woff2 -%%WWWDIR%%/widgets/element-call/assets/inter-latin-500-normal-deR1Tlfd.woff -%%WWWDIR%%/widgets/element-call/assets/inter-latin-600-normal-B5cFAncS.woff -%%WWWDIR%%/widgets/element-call/assets/inter-latin-600-normal-D273HNI0.woff2 -%%WWWDIR%%/widgets/element-call/assets/inter-latin-700-normal-B8MtJ_2k.woff -%%WWWDIR%%/widgets/element-call/assets/inter-latin-700-normal-Sckx8rpT.woff2 -%%WWWDIR%%/widgets/element-call/assets/inter-latin-ext-400-normal-C1t-h-pH.woff -%%WWWDIR%%/widgets/element-call/assets/inter-latin-ext-400-normal-hnt3BR84.woff2 -%%WWWDIR%%/widgets/element-call/assets/inter-latin-ext-500-normal-CIS2RHJS.woff2 -%%WWWDIR%%/widgets/element-call/assets/inter-latin-ext-500-normal-UMdmhHu2.woff -%%WWWDIR%%/widgets/element-call/assets/inter-latin-ext-600-normal-BnYJhD27.woff2 -%%WWWDIR%%/widgets/element-call/assets/inter-latin-ext-600-normal-CAF0vJDd.woff -%%WWWDIR%%/widgets/element-call/assets/inter-latin-ext-700-normal-6V9MnIL5.woff -%%WWWDIR%%/widgets/element-call/assets/inter-latin-ext-700-normal-CzikT_rs.woff2 -%%WWWDIR%%/widgets/element-call/assets/inter-vietnamese-400-normal-BUNmGMP1.woff +%%WWWDIR%%/widgets/element-call/assets/inter-latin-400-normal-C38fXH4l.woff2 +%%WWWDIR%%/widgets/element-call/assets/inter-latin-400-normal-CyCys3Eg.woff +%%WWWDIR%%/widgets/element-call/assets/inter-latin-500-normal-BL9OpVg8.woff +%%WWWDIR%%/widgets/element-call/assets/inter-latin-500-normal-Cerq10X2.woff2 +%%WWWDIR%%/widgets/element-call/assets/inter-latin-600-normal-CiBQ2DWP.woff +%%WWWDIR%%/widgets/element-call/assets/inter-latin-600-normal-LgqL8muc.woff2 +%%WWWDIR%%/widgets/element-call/assets/inter-latin-700-normal-Drs_5D37.woff2 +%%WWWDIR%%/widgets/element-call/assets/inter-latin-700-normal-KTwiWvO9.woff +%%WWWDIR%%/widgets/element-call/assets/inter-latin-ext-400-normal-77YHD8bZ.woff +%%WWWDIR%%/widgets/element-call/assets/inter-latin-ext-400-normal-C1nco2VV.woff2 +%%WWWDIR%%/widgets/element-call/assets/inter-latin-ext-500-normal-BxGbmqWO.woff +%%WWWDIR%%/widgets/element-call/assets/inter-latin-ext-500-normal-CV4jyFjo.woff2 +%%WWWDIR%%/widgets/element-call/assets/inter-latin-ext-600-normal-CIVaiw4L.woff +%%WWWDIR%%/widgets/element-call/assets/inter-latin-ext-600-normal-D2bJ5OIk.woff2 +%%WWWDIR%%/widgets/element-call/assets/inter-latin-ext-700-normal-CfWAu3Qq.woff2 +%%WWWDIR%%/widgets/element-call/assets/inter-latin-ext-700-normal-Z3s-4e5M.woff +%%WWWDIR%%/widgets/element-call/assets/inter-vietnamese-400-normal-Bbgyi5SW.woff %%WWWDIR%%/widgets/element-call/assets/inter-vietnamese-400-normal-DMkecbls.woff2 %%WWWDIR%%/widgets/element-call/assets/inter-vietnamese-500-normal-DOriooB6.woff2 -%%WWWDIR%%/widgets/element-call/assets/inter-vietnamese-500-normal-DQPw2Hwd.woff +%%WWWDIR%%/widgets/element-call/assets/inter-vietnamese-500-normal-mJboJaSs.woff +%%WWWDIR%%/widgets/element-call/assets/inter-vietnamese-600-normal-BuLX-rYi.woff %%WWWDIR%%/widgets/element-call/assets/inter-vietnamese-600-normal-Cc8MFFhd.woff2 -%%WWWDIR%%/widgets/element-call/assets/inter-vietnamese-600-normal-Cm6aH8_k.woff %%WWWDIR%%/widgets/element-call/assets/inter-vietnamese-700-normal-CGpBpxLq.woff2 -%%WWWDIR%%/widgets/element-call/assets/inter-vietnamese-700-normal-dAnkLlTo.woff +%%WWWDIR%%/widgets/element-call/assets/inter-vietnamese-700-normal-DL6eWghQ.woff %%WWWDIR%%/widgets/element-call/assets/it-app-Cik25Qgd.json %%WWWDIR%%/widgets/element-call/assets/ja-app-Cp_00ujI.json %%WWWDIR%%/widgets/element-call/assets/join_call-DlMV9nHk.ogg @@ -810,32 +808,32 @@ %%WWWDIR%%/widgets/element-call/assets/livekit-client.e2ee.worker-B0tndz1T.js %%WWWDIR%%/widgets/element-call/assets/livekit-client.e2ee.worker-B0tndz1T.js.map %%WWWDIR%%/widgets/element-call/assets/lv-app-D-ZV3Ytk.json -%%WWWDIR%%/widgets/element-call/assets/matrix-sdk-crypto-wasm-B6u19z8p.js -%%WWWDIR%%/widgets/element-call/assets/matrix-sdk-crypto-wasm-B6u19z8p.js.map -%%WWWDIR%%/widgets/element-call/assets/matrix_sdk_crypto_wasm_bg-C-82qh5P.wasm +%%WWWDIR%%/widgets/element-call/assets/matrix-sdk-crypto-wasm-DlvlUyhf.js +%%WWWDIR%%/widgets/element-call/assets/matrix-sdk-crypto-wasm-DlvlUyhf.js.map +%%WWWDIR%%/widgets/element-call/assets/matrix_sdk_crypto_wasm_bg-X-iWfZQJ.wasm %%WWWDIR%%/widgets/element-call/assets/pako.esm-Bt8vjcgE.js %%WWWDIR%%/widgets/element-call/assets/pako.esm-Bt8vjcgE.js.LICENSE.txt %%WWWDIR%%/widgets/element-call/assets/pako.esm-Bt8vjcgE.js.map %%WWWDIR%%/widgets/element-call/assets/party-BZPeTgC3.mp3 %%WWWDIR%%/widgets/element-call/assets/party-D7rIOhAQ.ogg %%WWWDIR%%/widgets/element-call/assets/pl-app-CUkXVSZk.json -%%WWWDIR%%/widgets/element-call/assets/polyfill-force-CNwBEEru.js -%%WWWDIR%%/widgets/element-call/assets/polyfill-force-CNwBEEru.js.map -%%WWWDIR%%/widgets/element-call/assets/polyfill-force-ZvFt7LR_.js -%%WWWDIR%%/widgets/element-call/assets/polyfill-force-ZvFt7LR_.js.map +%%WWWDIR%%/widgets/element-call/assets/polyfill-force-CI9FEuxb.js +%%WWWDIR%%/widgets/element-call/assets/polyfill-force-CI9FEuxb.js.map +%%WWWDIR%%/widgets/element-call/assets/polyfill-force-SL5hjkFK.js +%%WWWDIR%%/widgets/element-call/assets/polyfill-force-SL5hjkFK.js.map %%WWWDIR%%/widgets/element-call/assets/raise_hand-Bzqn65WB.mp3 %%WWWDIR%%/widgets/element-call/assets/raise_hand-CUbxEnt9.ogg %%WWWDIR%%/widgets/element-call/assets/ro-app-CdYgKCOW.json %%WWWDIR%%/widgets/element-call/assets/rock-BVCJXNC-.ogg %%WWWDIR%%/widgets/element-call/assets/rock-CHdnB31m.mp3 -%%WWWDIR%%/widgets/element-call/assets/ru-app-C1ONMB5H.json +%%WWWDIR%%/widgets/element-call/assets/ru-app-Bz0WyIJI.json %%WWWDIR%%/widgets/element-call/assets/screen_share_started-DH3qxml5.mp3 %%WWWDIR%%/widgets/element-call/assets/screen_share_started-IZDL-kAw.ogg %%WWWDIR%%/widgets/element-call/assets/selfie_segmenter-DF05sdL4.tflite -%%WWWDIR%%/widgets/element-call/assets/sk-app-qoyo64LS.json -%%WWWDIR%%/widgets/element-call/assets/spa-oZyA3Sle.js -%%WWWDIR%%/widgets/element-call/assets/spa-oZyA3Sle.js.map -%%WWWDIR%%/widgets/element-call/assets/sv-app-DvykXtJ4.json +%%WWWDIR%%/widgets/element-call/assets/sk-app-Bv2npyK0.json +%%WWWDIR%%/widgets/element-call/assets/spa-CsF467Zb.js +%%WWWDIR%%/widgets/element-call/assets/spa-CsF467Zb.js.map +%%WWWDIR%%/widgets/element-call/assets/sv-app-BvdrRKW-.json %%WWWDIR%%/widgets/element-call/assets/tr-app-Dk--6BpP.json %%WWWDIR%%/widgets/element-call/assets/uk-app-DZD01h76.json %%WWWDIR%%/widgets/element-call/assets/vision_wasm_internal-CEyeacG0.js diff --git a/www/eolie/Makefile b/www/eolie/Makefile index 6137632664fa..8dd23ab7a618 100644 --- a/www/eolie/Makefile +++ b/www/eolie/Makefile @@ -1,6 +1,6 @@ PORTNAME= eolie PORTVERSION= 0.9.101 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= www gnome MASTER_SITES= https://adishatz.org/eolie/ diff --git a/www/epiphany/Makefile b/www/epiphany/Makefile index 4f2ee24b4b13..85535f17cb63 100644 --- a/www/epiphany/Makefile +++ b/www/epiphany/Makefile @@ -1,6 +1,6 @@ PORTNAME= epiphany PORTVERSION= 47.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome diff --git a/www/feroxbuster/Makefile b/www/feroxbuster/Makefile index 073486050e93..96ccf2956739 100644 --- a/www/feroxbuster/Makefile +++ b/www/feroxbuster/Makefile @@ -1,7 +1,7 @@ PORTNAME= feroxbuster DISTVERSIONPREFIX= v DISTVERSION= 2.11.0 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= www security MAINTAINER= yuri@FreeBSD.org diff --git a/www/filebrowser-quantum/Makefile b/www/filebrowser-quantum/Makefile new file mode 100644 index 000000000000..f2aa6df8fe4a --- /dev/null +++ b/www/filebrowser-quantum/Makefile @@ -0,0 +1,61 @@ +PORTNAME= filebrowser-quantum +DISTVERSIONPREFIX= v +DISTVERSION= 0.8.3-beta +PORTREVISION= 1 +CATEGORIES= www +MASTER_SITES= LOCAL/dtxdf/${PORTNAME}/ +DISTFILES= ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}.frontend${EXTRACT_SUFX} \ + ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}.vendor${EXTRACT_SUFX} + +MAINTAINER= dtxdf@FreeBSD.org +COMMENT= Web File Browser +WWW= https://github.com/gtsteffaniak/filebrowser + +LICENSE= APACHE20 + +USES= go:1.25,modules +USE_GITHUB= yes +GH_ACCOUNT= gtsteffaniak +GH_PROJECT= filebrowser + +USE_RC_SUBR= ${PORTNAME} + +GO_TARGET= ./main.go:${PORTNAME} +GO_BUILDFLAGS= -ldflags "\ + -X 'github.com/gtsteffaniak/filebrowser/backend/common/version.Version=${DISTVERSIONPREFIX}${DISTVERSION}' \ + -X 'github.com/gtsteffaniak/filebrowser/backend/common/version.CommitSHA=${GITID}'" + +SUB_FILES= ${PORTNAME}.yaml +SUB_LIST= USER=${FILEBROWSER_QUANTUM_USER} + +WRKSRC_SUBDIR= backend + +PLIST_SUB= GROUP=${FILEBROWSER_QUANTUM_USER} \ + USER=${FILEBROWSER_QUANTUM_GROUP} + +OPTIONS_DEFINE= FFMPEG +OPTIONS_DEFAULT= FFMPEG + +FFMPEG_DESC= Enable video thumbnail generation support + +FFMPEG_RUN_DEPENDS= ffmpeg>=0:multimedia/ffmpeg + +# Run 'git checkout ${DISTVERSIONPREFIX}${DISTVERSION} && git rev-parse HEAD' +# in the FileBrowser Quantum repository to get the value of GITID. +GITID= 605ac44 + +FILEBROWSER_QUANTUM_USER= www +FILEBROWSER_QUANTUM_GROUP= ${FILEBROWSER_QUANTUM_USER} + +post-extract: + @${MKDIR} ${WRKSRC}/vendor + @cd ${WRKDIR}/filebrowser-quantum-vendor && ${COPYTREE_SHARE} . ${WRKSRC}/vendor + @${MKDIR} ${WRKSRC}/http/embed + @cd ${WRKDIR}/filebrowser-quantum-frontend && ${COPYTREE_SHARE} . ${WRKSRC}/http/embed + +post-install: + @${MKDIR} ${STAGEDIR}/var/db/${PORTNAME} + @${MKDIR} ${STAGEDIR}${WWWDIR} + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.yaml ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.yaml.sample + +.include <bsd.port.mk> diff --git a/www/filebrowser-quantum/distinfo b/www/filebrowser-quantum/distinfo new file mode 100644 index 000000000000..572a333c0cb4 --- /dev/null +++ b/www/filebrowser-quantum/distinfo @@ -0,0 +1,7 @@ +TIMESTAMP = 1756492725 +SHA256 (filebrowser-quantum-v0.8.3-beta.frontend.tar.gz) = 760cc587f4d6ff71fa62830e127686ce683020775252fb30f849c1d5474eff44 +SIZE (filebrowser-quantum-v0.8.3-beta.frontend.tar.gz) = 1816747 +SHA256 (filebrowser-quantum-v0.8.3-beta.vendor.tar.gz) = e8852ee68bf200ecbd422e5ad2c8f07319dceb258af38a1875f0a80fc076db5f +SIZE (filebrowser-quantum-v0.8.3-beta.vendor.tar.gz) = 67516439 +SHA256 (gtsteffaniak-filebrowser-v0.8.3-beta_GH0.tar.gz) = 73d786347f86bb9cb1d71f9393a2d0c4c77b21ece80a57b0807de48c2e77ae0c +SIZE (gtsteffaniak-filebrowser-v0.8.3-beta_GH0.tar.gz) = 4431099 diff --git a/www/filebrowser-quantum/files/filebrowser-quantum.in b/www/filebrowser-quantum/files/filebrowser-quantum.in new file mode 100644 index 000000000000..ac97828f95b1 --- /dev/null +++ b/www/filebrowser-quantum/files/filebrowser-quantum.in @@ -0,0 +1,34 @@ +#!/bin/sh + +# PROVIDE: filebrowser_quantum +# REQUIRE: LOGIN +# KEYWORD: shutdown +# +# Configuration settings for FileBrowser Quantum in /etc/rc.conf +# +# filebrowser_quantum_enable (bool): Enable FileBrowser Quantum. (default=NO) +# filebrowser_quantum_log (str): Log output. (default=/var/log/filebrowser-quantum.log) +# filebrowser_quantum_runas (str): User to run FileBrowser Quantum as. (default=%%USER%%) +# filebrowser_quantum_config (str): Configuration file. (default=%%PREFIX%%/etc/filebrowser-quantum.yaml) +# + +. /etc/rc.subr + +name="filebrowser_quantum" +desc="Web File Browser" +rcvar="${name}_enable" + +load_rc_config $name + +: ${filebrowser_quantum_enable:="NO"} +: ${filebrowser_quantum_log:="/var/log/filebrowser-quantum.log"} +: ${filebrowser_quantum_runas:="%%USER%%"} +: ${filebrowser_quantum_config:="%%PREFIX%%/etc/filebrowser-quantum.yaml"} + +filebrowser_quantum_env="FILEBROWSER_CONFIG=${filebrowser_quantum_config}" +pidfile="/var/run/filebrowser-quantum.pid" +procname="%%LOCALBASE%%/bin/filebrowser-quantum" +command="/usr/sbin/daemon" +command_args="-c -u ${filebrowser_quantum_runas} -o ${filebrowser_quantum_log} -p ${pidfile} -t \"${desc}\" ${procname}" + +run_rc_command "$1" diff --git a/www/filebrowser-quantum/files/filebrowser-quantum.yaml.in b/www/filebrowser-quantum/files/filebrowser-quantum.yaml.in new file mode 100644 index 000000000000..11878a8f1f22 --- /dev/null +++ b/www/filebrowser-quantum/files/filebrowser-quantum.yaml.in @@ -0,0 +1,24 @@ +server: + port: 3080 + baseURL: / + logging: + - levels: 'info|warning|error' + output: stdout + sources: + - path: %%WWWDIR%% + database: '/var/db/filebrowser-quantum/filebrowser-quantum.db' +userDefaults: + preview: + image: true + popup: true + video: false + office: false + highQuality: false + darkMode: true + disableSettings: false + singleClick: false + permissions: + admin: false + modify: false + share: false + api: false diff --git a/www/filebrowser-quantum/pkg-descr b/www/filebrowser-quantum/pkg-descr new file mode 100644 index 000000000000..b5dc812dfdd7 --- /dev/null +++ b/www/filebrowser-quantum/pkg-descr @@ -0,0 +1,4 @@ +FileBrowser Quantum provides an easy way to access and manage your +files from the web. It has has a modern responsive interface that +has many advanced features to manage users, access, sharing, and +file preview and editing. diff --git a/www/filebrowser-quantum/pkg-plist b/www/filebrowser-quantum/pkg-plist new file mode 100644 index 000000000000..010cf6c7be41 --- /dev/null +++ b/www/filebrowser-quantum/pkg-plist @@ -0,0 +1,4 @@ +@dir(%%USER%%,%%GROUP%%,0700) /var/db/filebrowser-quantum +@dir(%%USER%%,%%GROUP%%,0700) %%WWWDIR%% +@sample(,%%GROUP%%,0640) etc/filebrowser-quantum.yaml.sample +bin/filebrowser-quantum diff --git a/www/filebrowser/Makefile b/www/filebrowser/Makefile index ffec9933e9f2..147e96ad92f3 100644 --- a/www/filebrowser/Makefile +++ b/www/filebrowser/Makefile @@ -1,6 +1,7 @@ PORTNAME= filebrowser DISTVERSIONPREFIX= v -DISTVERSION= 2.42.3 +DISTVERSION= 2.42.5 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= LOCAL/dtxdf/${PORTNAME}/ DISTFILES= ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}.frontend${EXTRACT_SUFX} diff --git a/www/filebrowser/distinfo b/www/filebrowser/distinfo index 4d3e6fdc4e94..bc22431ffe56 100644 --- a/www/filebrowser/distinfo +++ b/www/filebrowser/distinfo @@ -1,7 +1,7 @@ -TIMESTAMP = 1755288972 -SHA256 (go/www_filebrowser/filebrowser-filebrowser-v2.42.3_GH0/filebrowser-v2.42.3.frontend.tar.gz) = 9a029a33e3e87bd921ecf816a9fa7876e687d92ae7184abf14a8bac04c93923f -SIZE (go/www_filebrowser/filebrowser-filebrowser-v2.42.3_GH0/filebrowser-v2.42.3.frontend.tar.gz) = 2328182 -SHA256 (go/www_filebrowser/filebrowser-filebrowser-v2.42.3_GH0/go.mod) = 2d9ea37e7c9c4de9f21ebc040de03ea38bb5fd35c89a770d2535240a54c6df19 -SIZE (go/www_filebrowser/filebrowser-filebrowser-v2.42.3_GH0/go.mod) = 3248 -SHA256 (go/www_filebrowser/filebrowser-filebrowser-v2.42.3_GH0/filebrowser-filebrowser-v2.42.3_GH0.tar.gz) = b81b55792432e7cf2c1dbab425432eb346806b975b0a599bf3edff447aff58e7 -SIZE (go/www_filebrowser/filebrowser-filebrowser-v2.42.3_GH0/filebrowser-filebrowser-v2.42.3_GH0.tar.gz) = 5290620 +TIMESTAMP = 1755620460 +SHA256 (go/www_filebrowser/filebrowser-filebrowser-v2.42.5_GH0/filebrowser-v2.42.5.frontend.tar.gz) = e23f00d779f63acf5503f22ea9fb618f3bee47dfca126a0baaca2b78d74ca521 +SIZE (go/www_filebrowser/filebrowser-filebrowser-v2.42.5_GH0/filebrowser-v2.42.5.frontend.tar.gz) = 2329400 +SHA256 (go/www_filebrowser/filebrowser-filebrowser-v2.42.5_GH0/go.mod) = 2d9ea37e7c9c4de9f21ebc040de03ea38bb5fd35c89a770d2535240a54c6df19 +SIZE (go/www_filebrowser/filebrowser-filebrowser-v2.42.5_GH0/go.mod) = 3248 +SHA256 (go/www_filebrowser/filebrowser-filebrowser-v2.42.5_GH0/filebrowser-filebrowser-v2.42.5_GH0.tar.gz) = 2311adc3106fbc3d1f1b95c941c62c51e08eac8cda5da8a980634839d68b30cd +SIZE (go/www_filebrowser/filebrowser-filebrowser-v2.42.5_GH0/filebrowser-filebrowser-v2.42.5_GH0.tar.gz) = 5290730 diff --git a/www/filtron/Makefile b/www/filtron/Makefile index e783f7fa3991..0678f78eb576 100644 --- a/www/filtron/Makefile +++ b/www/filtron/Makefile @@ -1,6 +1,6 @@ PORTNAME= filtron PORTVERSION= g20180218 -PORTREVISION= 29 +PORTREVISION= 30 CATEGORIES= www MAINTAINER= yuri@FreeBSD.org diff --git a/www/firedm/Makefile b/www/firedm/Makefile index 12e21c8eba5a..bf67c017d743 100644 --- a/www/firedm/Makefile +++ b/www/firedm/Makefile @@ -1,6 +1,6 @@ PORTNAME= firedm PORTVERSION= 2022.2.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www net python MAINTAINER= danfe@FreeBSD.org diff --git a/www/firefox-esr/Makefile b/www/firefox-esr/Makefile index 0c4835a0173f..9e4b5561fd17 100644 --- a/www/firefox-esr/Makefile +++ b/www/firefox-esr/Makefile @@ -1,5 +1,6 @@ PORTNAME= firefox DISTVERSION= 140.2.0 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= www wayland MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}esr/source \ diff --git a/www/firefox/Makefile b/www/firefox/Makefile index 9d2207c39d0c..1c93c21464ba 100644 --- a/www/firefox/Makefile +++ b/www/firefox/Makefile @@ -1,5 +1,6 @@ PORTNAME= firefox -DISTVERSION= 142.0 +DISTVERSION= 142.0.1 +PORTREVISION= 2 PORTEPOCH= 2 CATEGORIES= www wayland MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}${DISTVERSIONSUFFIX}/source \ diff --git a/www/firefox/distinfo b/www/firefox/distinfo index 79365ba6be78..f98f10067093 100644 --- a/www/firefox/distinfo +++ b/www/firefox/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1754937451 -SHA256 (firefox-142.0.source.tar.xz) = 2808e1f10f3b6c593f96f3745a55d12c98107886daef00f1e354c24203a64b0f -SIZE (firefox-142.0.source.tar.xz) = 638180600 +TIMESTAMP = 1756381378 +SHA256 (firefox-142.0.1.source.tar.xz) = b0adb44ed4c3383e752a5947adbfb0d03f24172cb468831bd49978de25e810c0 +SIZE (firefox-142.0.1.source.tar.xz) = 634262768 diff --git a/www/forgejo/Makefile b/www/forgejo/Makefile index 146fe270d46b..89a819caafee 100644 --- a/www/forgejo/Makefile +++ b/www/forgejo/Makefile @@ -1,7 +1,7 @@ PORTNAME= forgejo DISTVERSIONPREFIX= v -DISTVERSION= 11.0.2 -PORTREVISION= 2 +DISTVERSION= 11.0.3 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://codeberg.org/forgejo/forgejo/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/ DISTNAME= forgejo-src-${DISTVERSION} @@ -18,6 +18,8 @@ RUN_DEPENDS= git:devel/git USES= cpe gmake go:no_targets USE_RC_SUBR= forgejo +PIE_UNSAFE= yes + CONFLICTS_INSTALL= forgejo[0-79]* EXTRACT_AFTER_ARGS= --strip-components 1 @@ -58,9 +60,9 @@ SUB_LIST+= DAEMONARGS="${DAEMONARGS}" SSP_UNSAFE= true LDFLAGS+= "'-X "forgejo.org/modules/setting.CustomPath=${PREFIX}/etc/forgejo"'" \ "'-X "forgejo.org/modules/setting.AppWorkPath=${PREFIX}/share/forgejo"'" -MAKE_ARGS= GOPATH=${WRKDIR} \ - TAGS="${GO_TAGS}" \ - GOFLAGS="-buildvcs=false" +MAKE_ARGS= GOFLAGS="-buildvcs=false" \ + GOPATH=${WRKDIR} \ + TAGS="${GO_TAGS}" ALL_TARGET= backend MAKE_JOBS_UNSAFE= yes diff --git a/www/forgejo/distinfo b/www/forgejo/distinfo index bc1a84164f32..6fd607442f50 100644 --- a/www/forgejo/distinfo +++ b/www/forgejo/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1750496838 -SHA256 (forgejo-src-11.0.2.tar.gz) = de6646704769ae69e80feeb8aef0ae6fffad84602fc2d003a49c903e36f9d06d -SIZE (forgejo-src-11.0.2.tar.gz) = 55477978 +TIMESTAMP = 1754378926 +SHA256 (forgejo-src-11.0.3.tar.gz) = 13dc8d6c2a829899c9b4f89451438e70962a9366ff41ce6db10c7bc4a4cce520 +SIZE (forgejo-src-11.0.3.tar.gz) = 55567487 diff --git a/www/galene/Makefile b/www/galene/Makefile index b9aa0e72bf7d..16c3a8f21035 100644 --- a/www/galene/Makefile +++ b/www/galene/Makefile @@ -1,6 +1,6 @@ PORTNAME= galene DISTVERSION= 0.96.3 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= www net-im MAINTAINER= bapt@FreeBSD.org diff --git a/www/gallery-dl/Makefile b/www/gallery-dl/Makefile index 6ed5d3453385..5e67d2aa26ed 100644 --- a/www/gallery-dl/Makefile +++ b/www/gallery-dl/Makefile @@ -1,6 +1,6 @@ PORTNAME= gallery-dl DISTVERSIONPREFIX= v -DISTVERSION= 1.30.4 +DISTVERSION= 1.30.5 CATEGORIES= www # Implicit approval to commit trivial version updates. diff --git a/www/gallery-dl/distinfo b/www/gallery-dl/distinfo index dcf822e069ed..a5955571df01 100644 --- a/www/gallery-dl/distinfo +++ b/www/gallery-dl/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1755367236 -SHA256 (mikf-gallery-dl-v1.30.4_GH0.tar.gz) = b4f91fed87743aa2dcd22ca7e4638247e4344176e30b1738dec02ef743da0e12 -SIZE (mikf-gallery-dl-v1.30.4_GH0.tar.gz) = 938199 +TIMESTAMP = 1756044750 +SHA256 (mikf-gallery-dl-v1.30.5_GH0.tar.gz) = 2c035f5366b202726e9347e3bf8642874285f33cf372b9325c34eba696cbe480 +SIZE (mikf-gallery-dl-v1.30.5_GH0.tar.gz) = 944331 diff --git a/www/garage/Makefile b/www/garage/Makefile index 082c7c498846..33e2885c38fa 100644 --- a/www/garage/Makefile +++ b/www/garage/Makefile @@ -1,5 +1,6 @@ PORTNAME= garage DISTVERSION= 1.2.0 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://git.deuxfleurs.fr/Deuxfleurs/${PORTNAME}/archive/v${PORTVERSION}.tar.gz?dummy=/ DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} diff --git a/www/geckodriver/Makefile b/www/geckodriver/Makefile index 276e2c676afc..92f3acdf63b7 100644 --- a/www/geckodriver/Makefile +++ b/www/geckodriver/Makefile @@ -1,7 +1,7 @@ PORTNAME= geckodriver DISTVERSIONPREFIX= v DISTVERSION= 0.35.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= www MAINTAINER= daniel@blodan.se diff --git a/www/gitea/Makefile b/www/gitea/Makefile index 980b13457d3e..abe59f490f92 100644 --- a/www/gitea/Makefile +++ b/www/gitea/Makefile @@ -1,7 +1,7 @@ PORTNAME= gitea DISTVERSIONPREFIX= v DISTVERSION= 1.24.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MASTER_SITES= https://github.com/go-gitea/gitea/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/ \ https://dl.gitea.io/gitea/${DISTVERSION}/ diff --git a/www/gitlab-pages/distinfo b/www/gitlab-pages/distinfo index 92f1e0ecd3ce..fb028fd75b38 100644 --- a/www/gitlab-pages/distinfo +++ b/www/gitlab-pages/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1755072122 -SHA256 (go/www_gitlab-pages/gitlab-pages-v18.2.2/go.mod) = fabce2d66cf34e44e541a57220574dbef2778f98afa0e86272882385608871f1 -SIZE (go/www_gitlab-pages/gitlab-pages-v18.2.2/go.mod) = 3435 -SHA256 (go/www_gitlab-pages/gitlab-pages-v18.2.2/gitlab-pages-v18.2.2.tar.bz2) = dc35da4f40dba0d630f116633e6fb5bc5722f8c953c6ceeb52ed519fe99f8323 -SIZE (go/www_gitlab-pages/gitlab-pages-v18.2.2/gitlab-pages-v18.2.2.tar.bz2) = 236011 +TIMESTAMP = 1756438003 +SHA256 (go/www_gitlab-pages/gitlab-pages-v18.3.1/go.mod) = f009bb2f145a5e8bfa40069b413d54c6212f0062253d9de94dc93e61b93b2a96 +SIZE (go/www_gitlab-pages/gitlab-pages-v18.3.1/go.mod) = 3436 +SHA256 (go/www_gitlab-pages/gitlab-pages-v18.3.1/gitlab-pages-v18.3.1.tar.bz2) = 16db6acfeb658cdd160c774035a0911ff804096c1306169105da3b754f6015f9 +SIZE (go/www_gitlab-pages/gitlab-pages-v18.3.1/gitlab-pages-v18.3.1.tar.bz2) = 237006 diff --git a/www/gitlab-workhorse/distinfo b/www/gitlab-workhorse/distinfo index 12010d22cf32..e069c82b0d2e 100644 --- a/www/gitlab-workhorse/distinfo +++ b/www/gitlab-workhorse/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1755072135 -SHA256 (go/www_gitlab-workhorse/gitlab-foss-v18.2.2/go.mod) = dbd6a92d66a1a0a418aab39bf166a48ea5a4c892fe69fe19b12b347ea74936db -SIZE (go/www_gitlab-workhorse/gitlab-foss-v18.2.2/go.mod) = 9384 -SHA256 (go/www_gitlab-workhorse/gitlab-foss-v18.2.2/gitlab-foss-v18.2.2.tar.bz2) = b7e51d9b36ee6199b1fb165682d05fc51d91f5971ecf1ae491f4e14cd2b7ab2e -SIZE (go/www_gitlab-workhorse/gitlab-foss-v18.2.2/gitlab-foss-v18.2.2.tar.bz2) = 121306359 +TIMESTAMP = 1756438024 +SHA256 (go/www_gitlab-workhorse/gitlab-foss-v18.3.1/go.mod) = 9c034c905470aa1c1f54b96d744fd80cbc9c199fc84990e580297186080818b9 +SIZE (go/www_gitlab-workhorse/gitlab-foss-v18.3.1/go.mod) = 9331 +SHA256 (go/www_gitlab-workhorse/gitlab-foss-v18.3.1/gitlab-foss-v18.3.1.tar.bz2) = 6e6a71560915da21f52a35f8592824a5fa48054b2d113250b7183b04657157b9 +SIZE (go/www_gitlab-workhorse/gitlab-foss-v18.3.1/gitlab-foss-v18.3.1.tar.bz2) = 122193686 diff --git a/www/gitlab/Makefile b/www/gitlab/Makefile index 0a9e5fd8a675..1e8c0f37dd1e 100644 --- a/www/gitlab/Makefile +++ b/www/gitlab/Makefile @@ -32,14 +32,14 @@ MY_DEPENDS= gitaly>=${GITLAB_VERSION}:devel/gitaly \ gitlab-elasticsearch-indexer>=5.7.0:textproc/gitlab-elasticsearch-indexer \ gitlab-agent>=${GITLAB_VERSION}:net/gitlab-agent \ gitlab-pages>=${GITLAB_VERSION}:www/gitlab-pages \ - gitlab-shell>=14.43.0:devel/gitlab-shell \ + gitlab-shell>=14.44.0:devel/gitlab-shell \ gitlab-workhorse>=${GITLAB_VERSION}:www/gitlab-workhorse \ - gitlab-zoekt-indexer>=0.24.0:textproc/gitlab-zoekt-indexer \ + gitlab-zoekt-indexer>=1.2.0:textproc/gitlab-zoekt-indexer \ redis>=6.2.11:databases/redis \ yarn${NODEJS_SUFFIX}>=1.10.0:www/yarn${NODEJS_SUFFIX} \ gtar>0:archivers/gtar \ bash>0:shells/bash \ - rubygem-parser>=3.3.7.1:devel/rubygem-parser \ + rubygem-parser>=3.3.9.0:devel/rubygem-parser \ rubygem-net-smtp>=0:mail/rubygem-net-smtp \ rubygem-psych3>=3.1<4:textproc/rubygem-psych3 \ rubygem-net-pop>=0:mail/rubygem-net-pop \ @@ -54,9 +54,9 @@ MY_DEPENDS= gitaly>=${GITLAB_VERSION}:devel/gitaly \ rubygem-sprockets-gitlab>=3.7.5<3.8:devel/rubygem-sprockets-gitlab \ rubygem-sprockets-rails-rails-gitlab>=3.5.2<3.6:devel/rubygem-sprockets-rails-rails-gitlab \ rubygem-view_component-rails-gitlab>=3.23.2<3.24:devel/rubygem-view_component-rails-gitlab \ - rubygem-pg-gitlab>=1.5.9<1.6:databases/rubygem-pg-gitlab \ + rubygem-pg-gitlab>=1.6.1<1.7:databases/rubygem-pg-gitlab \ rubygem-rugged>=1.6<2:devel/rubygem-rugged \ - rubygem-faraday-gitlab>=2.13.1<3:www/rubygem-faraday-gitlab \ + rubygem-faraday-gitlab>=2.13.4<3:www/rubygem-faraday-gitlab \ rubygem-faraday-retry-gitlab>=2<3:www/rubygem-faraday-retry-gitlab \ rubygem-logger-gitlab>=1.7.0<1.8:devel/rubygem-logger-gitlab \ rubygem-marginalia>=1.11.1<1.12:databases/rubygem-marginalia \ @@ -69,7 +69,7 @@ MY_DEPENDS= gitaly>=${GITLAB_VERSION}:devel/gitaly \ rubygem-doorkeeper-device_authorization_grant>=1.0.0<1.1:security/rubygem-doorkeeper-device_authorization_grant \ rubygem-rexml>=3.4.1<3.5:textproc/rubygem-rexml \ rubygem-ruby-saml-gitlab>=1.18<2:security/rubygem-ruby-saml-gitlab \ - rubygem-omniauth-saml-gitlab>=2.2.3<3:security/rubygem-omniauth-saml-gitlab \ + rubygem-omniauth-saml-gitlab>=2.2.4<3:security/rubygem-omniauth-saml-gitlab \ rubygem-omniauth>=2.1.3<3:security/rubygem-omniauth \ rubygem-omniauth-auth0-gitlab>=3.1.1<3.2.0:net/rubygem-omniauth-auth0-gitlab \ rubygem-omniauth-azure-activedirectory-v2>=2.0<3:net/rubygem-omniauth-azure-activedirectory-v2 \ @@ -82,20 +82,20 @@ MY_DEPENDS= gitaly>=${GITLAB_VERSION}:devel/gitaly \ rubygem-openid_connect>=2.3.1<2.4:net/rubygem-openid_connect \ rubygem-omniauth-atlassian-oauth2>=0.2.0<0.3:security/rubygem-omniauth-atlassian-oauth2 \ rubygem-rack-oauth2-gitlab>=2.2.1<2.3:security/rubygem-rack-oauth2-gitlab \ - rubygem-jwt29>=2.9.3<3:www/rubygem-jwt29 \ + rubygem-jwt>=2.10.2<2.11:www/rubygem-jwt \ rubygem-gssapi>=1.3.1<1.4:security/rubygem-gssapi \ rubygem-recaptcha>=5.12<6.0:devel/rubygem-recaptcha \ rubygem-akismet>=3.0<4.0:devel/rubygem-akismet \ - rubygem-invisible_captcha>=2.1.0<2.2.0:graphics/rubygem-invisible_captcha \ + rubygem-invisible_captcha>=2.3.0<2.4:graphics/rubygem-invisible_captcha \ rubygem-devise-two-factor-rails-gitlab>=4.1.1<4.2:security/rubygem-devise-two-factor-rails-gitlab \ rubygem-rqrcode-gitlab>=2.2.0<3:www/rubygem-rqrcode-gitlab \ rubygem-attr_encrypted>=4.2<5:security/rubygem-attr_encrypted \ rubygem-validates_hostname-gitlab>=1.0.13<1.1.0:dns/rubygem-validates_hostname-gitlab \ rubygem-rubyzip-gitlab>=2.4.1<2.5:archivers/rubygem-rubyzip-gitlab \ - rubygem-acme-client-gitlab>=2.0.22<3:security/rubygem-acme-client-gitlab \ + rubygem-acme-client-gitlab>=2.0.25<3:security/rubygem-acme-client-gitlab \ rubygem-browser5>=5.3.1<5.4:www/rubygem-browser5 \ rubygem-ohai>=18.1.18<19:sysutils/rubygem-ohai \ - rubygem-gpgme>=2.0.24<2.1.0:security/rubygem-gpgme \ + rubygem-gpgme>=2.0.25<2.1.0:security/rubygem-gpgme \ rubygem-gitlab_omniauth-ldap>=2.2.0<2.3.0:net/rubygem-gitlab_omniauth-ldap \ rubygem-net-ldap017>=0.17.1<0.18:net/rubygem-net-ldap017 \ rubygem-grape20>=2.0.0<2.1:devel/rubygem-grape20 \ @@ -104,17 +104,17 @@ MY_DEPENDS= gitaly>=${GITLAB_VERSION}:devel/gitaly \ rubygem-grape-swagger-entity>=0.5.5<0.6:devel/rubygem-grape-swagger-entity \ rubygem-grape-path-helpers>=2.0.1<2.1:devel/rubygem-grape-path-helpers \ rubygem-rack-cors>=2.0.1<2.1:www/rubygem-rack-cors \ - rubygem-graphql>=2.4.13<2.5:devel/rubygem-graphql \ + rubygem-graphql>=2.5.11<2.6:devel/rubygem-graphql \ rubygem-apollo_upload_server>=2.1.6<2.2:net/rubygem-apollo_upload_server \ rubygem-ffaker>=2.24.0<3:devel/rubygem-ffaker \ rubygem-hashie>=5.0.0<5.1:devel/rubygem-hashie \ rubygem-kaminari-rails-gitlab>=1.2.2<1.3:www/rubygem-kaminari-rails-gitlab \ - rubygem-hamlit>=2.15.0<2.16:www/rubygem-hamlit \ + rubygem-hamlit>=3.0.3<3.1:www/rubygem-hamlit \ rubygem-carrierwave-gitlab>=1.3.4<2.0:www/rubygem-carrierwave-gitlab \ rubygem-mini_magick4>=4.12<5:graphics/rubygem-mini_magick4 \ rubygem-prawn>=0:print/rubygem-prawn \ rubygem-prawn-svg>=0:print/rubygem-prawn-svg \ - rubygem-fog-aws-gitlab>=3.26<4:net/rubygem-fog-aws-gitlab \ + rubygem-fog-aws-gitlab>=3.28.0<4:net/rubygem-fog-aws-gitlab \ rubygem-fog-core-gitlab>=2.1.0<2.1.1:devel/rubygem-fog-core-gitlab \ rubygem-fog-google-gitlab>=1.24.1<1.25:net/rubygem-fog-google-gitlab \ rubygem-fog-local-gitlab>=0.8<1.0:net/rubygem-fog-local-gitlab \ @@ -122,26 +122,26 @@ MY_DEPENDS= gitaly>=${GITLAB_VERSION}:devel/gitaly \ rubygem-gitlab-fog-azure-rm>=2.2.0<2.3:net/rubygem-gitlab-fog-azure-rm \ rubygem-google-apis-storage_v1-gitlab>=0.29<1:devel/rubygem-google-apis-storage_v1-gitlab \ rubygem-google-cloud-storage-gitlab>=1.45.0<1.46:net/rubygem-google-cloud-storage-gitlab \ - rubygem-google-apis-core-gitlab>=0.11.2<2:devel/rubygem-google-apis-core-gitlab \ - rubygem-google-apis-compute_v1-gitlab>=0.57.0<0.58:devel/rubygem-google-apis-compute_v1-gitlab \ - rubygem-google-apis-container_v1>=0.43.0<0.44:devel/rubygem-google-apis-container_v1 \ + rubygem-google-apis-core-gitlab>=0.18.0<0.19:devel/rubygem-google-apis-core-gitlab \ + rubygem-google-apis-compute_v1-gitlab>=0.127.0<0.128:devel/rubygem-google-apis-compute_v1-gitlab \ + rubygem-google-apis-container_v1>=0.100.0<0.101:devel/rubygem-google-apis-container_v1 \ rubygem-google-apis-container_v1beta1>=0.43.0<0.44:devel/rubygem-google-apis-container_v1beta1 \ rubygem-google-apis-cloudbilling_v1>=0.22.0<0.23:devel/rubygem-google-apis-cloudbilling_v1 \ rubygem-google-apis-cloudresourcemanager_v1-gitlab>=0.31.0<0.32:devel/rubygem-google-apis-cloudresourcemanager_v1-gitlab \ - rubygem-google-apis-iam_v1-gitlab>=0.36.0<0.37:devel/rubygem-google-apis-iam_v1-gitlab \ + rubygem-google-apis-iam_v1-gitlab>=0.73.0<0.74:devel/rubygem-google-apis-iam_v1-gitlab \ rubygem-google-apis-serviceusage_v1>=0.28.0<0.29:devel/rubygem-google-apis-serviceusage_v1 \ rubygem-google-apis-sqladmin_v1beta4-gitlab>=0.41.0<0.42:devel/rubygem-google-apis-sqladmin_v1beta4-gitlab \ - rubygem-google-apis-androidpublisher_v3-gitlab>=0.34.0<0.35:devel/rubygem-google-apis-androidpublisher_v3-gitlab \ - rubygem-googleauth-gitlab>=1.8.1<2:security/rubygem-googleauth-gitlab \ + rubygem-google-apis-androidpublisher_v3-gitlab>=0.84.0<0.85:devel/rubygem-google-apis-androidpublisher_v3-gitlab \ + rubygem-googleauth-gitlab>=1.14<2:security/rubygem-googleauth-gitlab \ rubygem-google-cloud-artifact_registry-v1>=0.11.0<0.12:textproc/rubygem-google-cloud-artifact_registry-v1 \ rubygem-google-cloud-compute-v1>=2.6.0<2.7:net/rubygem-google-cloud-compute-v1 \ rubygem-seed-fu-gitlab>=2.3.9<2.4.0:databases/rubygem-seed-fu-gitlab \ rubygem-elasticsearch-model-gitlab>=7.2<8:textproc/rubygem-elasticsearch-model-gitlab \ rubygem-elasticsearch-rails7>=7.2<8:textproc/rubygem-elasticsearch-rails7 \ rubygem-elasticsearch-api-gitlab>=7.17.11<7.18:textproc/rubygem-elasticsearch-api-gitlab \ - rubygem-aws-sdk-core-gitlab>=3.225.0<3.226:devel/rubygem-aws-sdk-core-gitlab \ + rubygem-aws-sdk-core-gitlab>=3.226.3<3.227:devel/rubygem-aws-sdk-core-gitlab \ rubygem-aws-sdk-cloudformation-gitlab>=1.133<2:devel/rubygem-aws-sdk-cloudformation-gitlab \ - rubygem-aws-sdk-s3-gitlab>=1.189.0<1.190:devel/rubygem-aws-sdk-s3-gitlab \ + rubygem-aws-sdk-s3-gitlab>=1.193.0<1.194:devel/rubygem-aws-sdk-s3-gitlab \ rubygem-faraday-typhoeus-gitlab>=1.1<2:www/rubygem-faraday-typhoeus-gitlab \ rubygem-faraday_middleware-aws-sigv4-gitlab>=1.0.1<1.1:devel/rubygem-faraday_middleware-aws-sigv4-gitlab \ rubygem-typhoeus>=1.4.0<1.5:www/rubygem-typhoeus \ @@ -158,17 +158,17 @@ MY_DEPENDS= gitaly>=${GITLAB_VERSION}:devel/gitaly \ rubygem-asciidoctor-include-ext>=0.4.0<0.5.0:textproc/rubygem-asciidoctor-include-ext \ rubygem-asciidoctor-plantuml00>=0.0.16<0.1:textproc/rubygem-asciidoctor-plantuml00 \ rubygem-asciidoctor-kroki>=0.10.0<0.11:textproc/rubygem-asciidoctor-kroki \ - rubygem-rouge-gitlab>=4.5.2<4.6:textproc/rubygem-rouge-gitlab \ + rubygem-rouge-gitlab>=4.6.0<4.7:textproc/rubygem-rouge-gitlab \ rubygem-truncato>=0.7.13<0.8.0:textproc/rubygem-truncato \ - rubygem-nokogiri>=1.18.7<2:textproc/rubygem-nokogiri \ - rubygem-gitlab-glfm-markdown>=0.0.31<0.1:textproc/rubygem-gitlab-glfm-markdown \ + rubygem-nokogiri>=1.18.9<2:textproc/rubygem-nokogiri \ + rubygem-gitlab-glfm-markdown>=0.0.33<0.1:textproc/rubygem-gitlab-glfm-markdown \ rubygem-tanuki_emoji>=0.13<1:graphics/rubygem-tanuki_emoji \ rubygem-unicode-emoji>=4.0.4<5:devel/rubygem-unicode-emoji \ rubygem-icalendar-gitlab>=2.10.3<2.11:devel/rubygem-icalendar-gitlab \ rubygem-diffy>=3.4.4<4:textproc/rubygem-diffy \ rubygem-rack22>=2.2.17,3<2.3,3:www/rubygem-rack22 \ rubygem-rack-timeout>=0.7.0<0.8:www/rubygem-rack-timeout \ - rubygem-puma>=6.6.0<6.6.1:www/rubygem-puma \ + rubygem-puma>=6.6.1<6.6.2:www/rubygem-puma \ rubygem-sd_notify>=0.1.1<0.2:devel/rubygem-sd_notify \ rubygem-state_machines-activerecord-gitlab>=0.8.0<0.9.0:databases/rubygem-state_machines-activerecord-gitlab \ rubygem-sidekiq-gitlab>=7.3.9:devel/rubygem-sidekiq-gitlab \ @@ -177,19 +177,21 @@ MY_DEPENDS= gitaly>=${GITLAB_VERSION}:devel/gitaly \ rubygem-httparty-gitlab>=0.23.0<0.24:www/rubygem-httparty-gitlab \ rubygem-rainbow>=3.1.1<4.0:devel/rubygem-rainbow \ rubygem-ruby-progressbar>=1.11<2:devel/rubygem-ruby-progressbar \ - rubygem-re2>=2.15.0<3:devel/rubygem-re2 \ + rubygem-re2>=2.19.0<3:devel/rubygem-re2 \ rubygem-semver_dialects>=3.7.0<4:devel/rubygem-semver_dialects \ rubygem-version_sorter>=2.3<3:textproc/rubygem-version_sorter \ - rubygem-js_regex>=3.8<4.0:textproc/rubygem-js_regex \ + rubygem-js_regex>=3.13.0<4.0:textproc/rubygem-js_regex \ rubygem-device_detector>=1.1.3:devel/rubygem-device_detector \ - rubygem-redis>=5.4.0<5.5:databases/rubygem-redis \ - rubygem-redis-clustering>=5.4.0<5.5:databases/rubygem-redis-clustering \ + rubygem-redis>=5.4.1<5.5:databases/rubygem-redis \ + rubygem-redis-client>=0.25.1<1:databases/rubygem-redis-client \ + rubygem-redis-cluster-client>=0.13.5<1:databases/rubygem-redis-cluster-client \ + rubygem-redis-clustering>=5.4.1<5.5:databases/rubygem-redis-clustering \ rubygem-connection_pool>=2.5.3<2.6:net/rubygem-connection_pool \ rubygem-redis-actionpack-rails-gitlab>=5.5.0<5.6:databases/rubygem-redis-actionpack-rails-gitlab \ rubygem-jira-ruby-gitlab>=2.3.0<2.4:devel/rubygem-jira-ruby-gitlab \ rubygem-atlassian-jwt>=0.2.1<0.3.0:www/rubygem-atlassian-jwt \ rubygem-slack-messenger>=2.3.5<2.4.0:devel/rubygem-slack-messenger \ - rubygem-kubeclient>=4.11.0<4.12.0:www/rubygem-kubeclient \ + rubygem-kubeclient>=4.12.0<4.13.0:www/rubygem-kubeclient \ rubygem-ruby-openai37>=3.7<4:www/rubygem-ruby-openai37 \ rubygem-circuitbox>=2.0.0<2.1:www/rubygem-circuitbox \ rubygem-sanitize60>=6.0.2<6.1:textproc/rubygem-sanitize60 \ @@ -204,6 +206,7 @@ MY_DEPENDS= gitaly>=${GITLAB_VERSION}:devel/gitaly \ rubygem-rack-proxy>=0.7.7<0.8.0:www/rubygem-rack-proxy \ rubygem-cssbundling-rails-rails-gitlab>=1.4.3<1.5:www/rubygem-cssbundling-rails-rails-gitlab \ rubygem-terser>=1.0.2<1.0.3:textproc/rubygem-terser \ + rubygem-click_house-client>=0.3.5<0.3.6:databases/rubygem-click_house-client \ rubygem-addressable>=2.8<3:www/rubygem-addressable \ rubygem-gon-rails-gitlab>=6.4.0<6.5:www/rubygem-gon-rails-gitlab \ rubygem-request_store>=1.7.0<1.8:devel/rubygem-request_store \ @@ -216,7 +219,7 @@ MY_DEPENDS= gitaly>=${GITLAB_VERSION}:devel/gitaly \ rubygem-pg_query>=6.1.0<6.2:databases/rubygem-pg_query \ rubygem-premailer-rails-rails-gitlab>=1.12.0<1.13:mail/rubygem-premailer-rails-rails-gitlab \ rubygem-gitlab-labkit>=0.39.0<0.40:devel/rubygem-gitlab-labkit \ - rubygem-thrift>=0.16.0:devel/rubygem-thrift \ + rubygem-thrift>=0.22.0,1<0.23,1:devel/rubygem-thrift \ rubygem-rails-i18n-rails-gitlab>=7.0.9<8:devel/rubygem-rails-i18n-rails-gitlab \ rubygem-gettext_i18n_rails>=1.13.0<1.14:devel/rubygem-gettext_i18n_rails \ rubygem-gettext>=3.5.1<4:devel/rubygem-gettext \ @@ -227,7 +230,8 @@ MY_DEPENDS= gitaly>=${GITLAB_VERSION}:devel/gitaly \ rubygem-webrick>=1.9.0<1.10:www/rubygem-webrick \ rubygem-prometheus-client-mmap>=1.2.10<1.3:devel/rubygem-prometheus-client-mmap \ rubygem-async-gitlab>=2.24.0<2.25:devel/rubygem-async-gitlab \ - rubygem-gitlab-security_report_schemas>=0.1.3.min15.0.0.max15.2.2<0.1.3.min15.0.0.max15.2.3:devel/rubygem-gitlab-security_report_schemas \ + rubygem-io-event>=1.12.1<2:devel/rubygem-io-event \ + rubygem-gitlab-security_report_schemas>=0.1.3.min15.0.0.max15.2.3<0.1.3.min15.0.0.max15.2.4:devel/rubygem-gitlab-security_report_schemas \ rubygem-opentelemetry-sdk>=1.5.0:devel/rubygem-opentelemetry-sdk \ rubygem-opentelemetry-exporter-otlp>=0.29.1:devel/rubygem-opentelemetry-exporter-otlp \ rubygem-opentelemetry-instrumentation-active_support>=0.6.0:devel/rubygem-opentelemetry-instrumentation-active_support \ @@ -253,18 +257,17 @@ MY_DEPENDS= gitaly>=${GITLAB_VERSION}:devel/gitaly \ rubygem-opentelemetry-instrumentation-sidekiq>=0.25.7:devel/rubygem-opentelemetry-instrumentation-sidekiq \ rubygem-warning>=1.5.0<1.6:devel/rubygem-warning \ rubygem-git>=1.19.1<2:devel/rubygem-git \ - rubygem-gitlab-dangerfiles>=4.9.2<4.10:devel/rubygem-gitlab-dangerfiles \ + rubygem-gitlab-dangerfiles>=4.10.0<4.11:devel/rubygem-gitlab-dangerfiles \ rubygem-license_finder-gitlab>=7.2.1<8:devel/rubygem-license_finder-gitlab \ rubygem-rspec>=3.0<4:devel/rubygem-rspec \ rubygem-octokit-gitlab>=9.0<10:net/rubygem-octokit-gitlab \ rubygem-faraday-multipart>=1.1.1<2:www/rubygem-faraday-multipart \ rubygem-gitlab-mail_room>=0.0.27<0.1.0:mail/rubygem-gitlab-mail_room \ rubygem-email_reply_trimmer>=0.1<1.0:mail/rubygem-email_reply_trimmer \ - rubygem-html2text>=0:textproc/rubygem-html2text \ + rubygem-html2text>=0.4.0:textproc/rubygem-html2text \ rubygem-stackprof>=0.2.27<0.3:devel/rubygem-stackprof \ rubygem-rbtrace>=0.5.2<1.0:devel/rubygem-rbtrace \ - rubygem-memory_profiler>=1.0<2.0:devel/rubygem-memory_profiler \ - rubygem-activerecord-explain-analyze>=0.1<1.0:databases/rubygem-activerecord-explain-analyze \ + rubygem-memory_profiler>=1.1.0<2.0:devel/rubygem-memory_profiler \ rubygem-oauth2-gitlab>=2.0.10<3:net/rubygem-oauth2-gitlab \ rubygem-health_check-rails-gitlab>=3.0<4:devel/rubygem-health_check-rails-gitlab \ rubygem-vmstat>=2.3.1<2.4.0:sysutils/rubygem-vmstat \ @@ -272,9 +275,9 @@ MY_DEPENDS= gitaly>=${GITLAB_VERSION}:devel/gitaly \ rubygem-net-ntp>0:net/rubygem-net-ntp \ rubygem-ssh_data>=1.3<2:security/rubygem-ssh_data \ rubygem-spamcheck>=1.3.3<1.4:net/rubygem-spamcheck \ - rubygem-gitaly>=18.1.0:net/rubygem-gitaly \ + rubygem-gitaly>=18.2.1:net/rubygem-gitaly \ rubygem-gitlab-kas-grpc>=${GITLAB_KAS_GRPC_VERSION}:net/rubygem-gitlab-kas-grpc \ - rubygem-grpc-gitlab>=1.72.0<2:net/rubygem-grpc-gitlab \ + rubygem-grpc-gitlab>=1.74.0<2:net/rubygem-grpc-gitlab \ rubygem-google-protobuf3>=3.25.8<4:devel/rubygem-google-protobuf3 \ rubygem-toml-rb>=2.2.0<3:www/rubygem-toml-rb \ rubygem-flipper-gitlab>=0.28.0<0.29:devel/rubygem-flipper-gitlab \ @@ -284,15 +287,15 @@ MY_DEPENDS= gitaly>=${GITLAB_VERSION}:devel/gitaly \ rubygem-gitlab-experiment>=0.9.1<0.10:devel/rubygem-gitlab-experiment \ rubygem-lograge-rails-gitlab>=0.11.2<1.0:www/rubygem-lograge-rails-gitlab \ rubygem-grape_logging-gitlab>=1.8.4<2.0:devel/rubygem-grape_logging-gitlab \ - rubygem-gitlab-net-dns>=0.12.0<0.13:dns/rubygem-gitlab-net-dns \ + rubygem-gitlab-net-dns>=0.15.0<0.16:dns/rubygem-gitlab-net-dns \ rubygem-countries>=4.1.3<4.2.0:devel/rubygem-countries \ rubygem-retriable>=3.1.2<3.2.0:devel/rubygem-retriable \ rubygem-lru_redux>0:devel/rubygem-lru_redux \ rubygem-mail>=2.8.1<2.8.2,2:mail/rubygem-mail \ - rubygem-lockbox>=1.3.0<1.4:security/rubygem-lockbox \ + rubygem-lockbox>=1.4.1<1.5:security/rubygem-lockbox \ rubygem-valid_email>=0.1<1:mail/rubygem-valid_email \ rubygem-jsonb_accessor>=1.4<2:www/rubygem-jsonb_accessor \ - rubygem-json-gitlab>=2.11.2<2.12:devel/rubygem-json-gitlab \ + rubygem-json>=2.13.1<2.14:devel/rubygem-json \ rubygem-json_schemer>=2.3.0<2.4:devel/rubygem-json_schemer \ rubygem-oj>=3.16.11<3.17:devel/rubygem-oj \ rubygem-oj-introspect>=0.8<1:devel/rubygem-oj-introspect \ @@ -309,7 +312,7 @@ MY_DEPENDS= gitaly>=${GITLAB_VERSION}:devel/gitaly \ rubygem-CFPropertyList-gitlab>=3.0.7<3.1:devel/rubygem-CFPropertyList-gitlab \ rubygem-app_store_connect>=0:net/rubygem-app_store_connect \ rubygem-telesignenterprise>=2.2<3:devel/rubygem-telesignenterprise \ - rubygem-net-protocol01>=0.1.3<0.2:net/rubygem-net-protocol01 \ + rubygem-net-protocol>=0.2.2<0.3:net/rubygem-net-protocol \ rubygem-nkf>=0.2.0<0.3:net/rubygem-nkf \ rubygem-net-http>=0.6.0<0.6.1:www/rubygem-net-http \ rubygem-uri-gitlab>=0.13.2<0.13.3:net/rubygem-uri-gitlab \ @@ -317,7 +320,7 @@ MY_DEPENDS= gitaly>=${GITLAB_VERSION}:devel/gitaly \ rubygem-gitlab-sdk>=0.3.0<0.4:devel/rubygem-gitlab-sdk \ rubygem-paper_trail>=16.0<17:devel/rubygem-paper_trail \ rubygem-i18n_data>=0.13.1<1:devel/rubygem-i18n_data \ - rubygem-gitlab-cloud-connector>=1.21<2:security/rubygem-gitlab-cloud-connector \ + rubygem-gitlab-cloud-connector>=1.26<2:security/rubygem-gitlab-cloud-connector \ rubygem-google-cloud-profiler-v2>=0.3<1:textproc/rubygem-google-cloud-profiler-v2 \ rubygem-parallel>=1.27.0<2:sysutils/rubygem-parallel \ rubygem-google-cloud-storage_transfer-gitlab>=1.2.0<1.3:net/rubygem-google-cloud-storage_transfer-gitlab \ @@ -347,6 +350,7 @@ GL_PROJECT= gitlab-foss USE_RC_SUBR= gitlab SHEBANG_FILES= gems/bundler-checksum/test/project_with_checksum_lock/scripts/test \ + scripts/aigw-tagging.sh \ scripts/build_assets_image \ scripts/build_qa_image \ scripts/build_gdk_image \ diff --git a/www/gitlab/Makefile.common b/www/gitlab/Makefile.common index 9e81c0be915f..8ecbae27d4a3 100644 --- a/www/gitlab/Makefile.common +++ b/www/gitlab/Makefile.common @@ -1,4 +1,4 @@ -GITLAB_VERSION= 18.2.2 +GITLAB_VERSION= 18.3.1 GITLAB_PORTREVISION= 0 # Git version gitaly should use (from gitlab mirror) @@ -9,8 +9,8 @@ GITLAB_GIT_VERSION= 2.50.0 GITLAB_GIT_VERSION_SHORT= ${GITLAB_GIT_VERSION:C/^([0-9]*\.[0-9]*)\..*/\1/} # Overwrite version for gitlab-kas-grpc -#GITLAB_KAS_GRPC_VERSION= ${GITLAB_VERSION} -GITLAB_KAS_GRPC_VERSION= 18.2.1 +GITLAB_KAS_GRPC_VERSION= ${GITLAB_VERSION} +#GITLAB_KAS_GRPC_VERSION= 18.2.1 # Rails version RAILS_VERSION= 7.1.5.2 diff --git a/www/gitlab/distinfo b/www/gitlab/distinfo index 806c6a5f57ea..513bc2f6b7b5 100644 --- a/www/gitlab/distinfo +++ b/www/gitlab/distinfo @@ -1,6 +1,6 @@ -TIMESTAMP = 1755146392 -SHA256 (gitlab-foss-v18.2.2.tar.bz2) = b7e51d9b36ee6199b1fb165682d05fc51d91f5971ecf1ae491f4e14cd2b7ab2e -SIZE (gitlab-foss-v18.2.2.tar.bz2) = 121306359 -TIMESTAMP = 1755146393 -SHA256 (gitlab-v18.2.2-ee.tar.bz2) = 6f68fd7a7d0449f26536c6fb1b535f999829a0dc1faf574a62f98572c829c09c -SIZE (gitlab-v18.2.2-ee.tar.bz2) = 136594577 +TIMESTAMP = 1756437955 +SHA256 (gitlab-foss-v18.3.1.tar.bz2) = 6e6a71560915da21f52a35f8592824a5fa48054b2d113250b7183b04657157b9 +SIZE (gitlab-foss-v18.3.1.tar.bz2) = 122193686 +TIMESTAMP = 1756437995 +SHA256 (gitlab-v18.3.1-ee.tar.bz2) = 32da4c6475a11bf425b7f63e2cadc94b4b8b5478d13176623a6b6f3df861c1b3 +SIZE (gitlab-v18.3.1-ee.tar.bz2) = 138138304 diff --git a/www/gitlab/files/patch-Gemfile b/www/gitlab/files/patch-Gemfile index f57ee976650d..7943be7c3489 100644 --- a/www/gitlab/files/patch-Gemfile +++ b/www/gitlab/files/patch-Gemfile @@ -1,34 +1,14 @@ ---- Gemfile.orig 2025-07-22 11:41:34 UTC +--- Gemfile.orig 2025-08-20 06:43:08 UTC +++ Gemfile -@@ -164,8 +164,8 @@ gem 'rack-cors', '~> 2.0.1', require: 'rack/cors', fea - gem 'rack-cors', '~> 2.0.1', require: 'rack/cors', feature_category: :shared +@@ -165,7 +165,7 @@ gem 'graphql', '2.5.11', feature_category: :api # GraphQL API --gem 'graphql', '2.4.13', feature_category: :api --gem 'graphql-docs', '~> 5.0.0', group: [:development, :test], feature_category: :api -+gem 'graphql', '~> 2.4.13', feature_category: :api -+#gem 'graphql-docs', '~> 5.0.0', group: [:development, :test], feature_category: :api + gem 'graphql', '2.5.11', feature_category: :api +-gem 'graphql-docs', '~> 5.2.0', group: [:development, :test], feature_category: :api ++#gem 'graphql-docs', '~> 5.2.0', group: [:development, :test], feature_category: :api gem 'apollo_upload_server', '~> 2.1.6', feature_category: :api # Cells -@@ -220,7 +220,7 @@ gem 'google-cloud-storage', '~> 1.45.0', feature_categ - gem 'google-apis-storage_v1', '~> 0.29', feature_category: :shared - gem 'google-cloud-storage', '~> 1.45.0', feature_category: :shared - # We need >= 0.11.1 because that's when match_glob support is added to list_objects --gem 'google-apis-core', '~> 0.11.0', '>= 0.11.1', feature_category: :shared -+gem 'google-apis-core', '~> 0.11', '>= 0.11.1', feature_category: :shared - gem 'google-apis-compute_v1', '~> 0.57.0', feature_category: :shared - gem 'google-apis-container_v1', '~> 0.43.0', feature_category: :shared - gem 'google-apis-container_v1beta1', '~> 0.43.0', feature_category: :shared -@@ -231,7 +231,7 @@ gem 'google-apis-androidpublisher_v3', '~> 0.34.0', fe - gem 'google-apis-sqladmin_v1beta4', '~> 0.41.0', feature_category: :shared - gem 'google-apis-androidpublisher_v3', '~> 0.34.0', feature_category: :shared - --gem 'googleauth', '~> 1.8.1', feature_category: :shared -+gem 'googleauth', '~> 1.8', feature_category: :shared - gem 'google-cloud-artifact_registry-v1', '~> 0.11.0', feature_category: :shared - gem 'google-cloud-compute-v1', '~> 2.6.0', feature_category: :shared - @@ -295,7 +295,7 @@ gem 'state_machines-activerecord', '~> 0.8.0', feature gem 'state_machines-activerecord', '~> 0.8.0', feature_category: :shared @@ -38,12 +18,12 @@ gem 'sidekiq-cron', '~> 1.12.0', feature_category: :scalability gem 'gitlab-sidekiq-fetcher', path: 'vendor/gems/sidekiq-reliable-fetch', -@@ -465,143 +465,15 @@ gem 'warning', '~> 1.5.0', feature_category: :shared +@@ -468,148 +468,15 @@ gem 'warning', '~> 1.5.0', feature_category: :shared gem 'warning', '~> 1.5.0', feature_category: :shared -group :development do -- gem 'lefthook', '~> 1.11.0', require: false, feature_category: :tooling +- gem 'lefthook', '~> 1.12.0', require: false, feature_category: :tooling - gem 'rubocop', feature_category: :tooling - - gem 'solargraph', '~> 0.54.0', require: false, feature_category: :shared @@ -76,7 +56,7 @@ -group :development, :test do - gem 'deprecation_toolkit', '~> 2.2.3', require: false, feature_category: :shared - gem 'bullet', '~> 8.0.0', feature_category: :shared -- gem 'parser', '= 3.3.8.0', feature_category: :shared +- gem 'parser', '= 3.3.9.0', feature_category: :shared - gem 'pry-byebug', feature_category: :shared - gem 'pry-rails', '~> 0.3.9', feature_category: :shared - gem 'pry-shell', '~> 0.6.4', feature_category: :shared @@ -128,7 +108,7 @@ -end - group :development, :test, :danger do - gem 'gitlab-dangerfiles', '~> 4.9.0', require: false, feature_category: :tooling + gem 'gitlab-dangerfiles', '~> 4.10.0', require: false, feature_category: :tooling end -group :development, :test, :coverage do @@ -162,6 +142,11 @@ - - gem 'graphlyte', '~> 1.0.0', feature_category: :shared - +- # Upload CI metrics to a GCP BigQuery instance +- # +- # We only use this gem in CI. +- gem 'google-cloud-bigquery', '~> 1.0', feature_category: :tooling +- - gem 'shoulda-matchers', '~> 6.4.0', require: false, feature_category: :shared - gem 'email_spec', '~> 2.3.0', feature_category: :shared - gem 'webmock', '~> 3.25.0', feature_category: :shared @@ -176,32 +161,27 @@ - # Moved in `test` because https://gitlab.com/gitlab-org/gitlab/-/issues/217527 - gem 'derailed_benchmarks', require: false, feature_category: :shared - -- gem 'gitlab_quality-test_tooling', '~> 2.10.0', require: false, feature_category: :tooling +- gem 'gitlab_quality-test_tooling', '~> 2.18.0', require: false, feature_category: :tooling -end - gem 'octokit', '~> 9.0', feature_category: :importers # Needed by octokit: https://github.com/octokit/octokit.rb/pull/1688 gem 'faraday-multipart', '~> 1.0', feature_category: :importers -@@ -636,14 +508,14 @@ gem 'spamcheck', '~> 1.3.0', feature_category: :inside +@@ -643,10 +510,10 @@ gem 'spamcheck', '~> 1.3.0', feature_category: :inside gem 'spamcheck', '~> 1.3.0', feature_category: :insider_threat # Gitaly GRPC protocol definitions --gem 'gitaly', '~> 18.1.0.pre.rc1', feature_category: :gitaly -+gem 'gitaly', '~> 18.1', feature_category: :gitaly +-gem 'gitaly', '~> 18.2.0', feature_category: :gitaly ++gem 'gitaly', '~> 18.2', feature_category: :gitaly # KAS GRPC protocol definitions --gem 'gitlab-kas-grpc', '~> 18.1.0', feature_category: :deployment_management -+gem 'gitlab-kas-grpc', '~> 18.2.0', feature_category: :deployment_management - - # Lock until 1.74.0 is available - # https://gitlab.com/gitlab-com/gl-infra/production/-/issues/20067 --gem 'grpc', '= 1.63.0', feature_category: :shared -+gem 'grpc', '~> 1.63', feature_category: :shared +-gem 'gitlab-kas-grpc', '~> 18.2.0', feature_category: :deployment_management ++gem 'gitlab-kas-grpc', '~> 18.2', feature_category: :deployment_management - gem 'google-protobuf', '~> 3.25', '>= 3.25.3', feature_category: :shared + gem 'grpc', '~> 1.74.0', feature_category: :shared -@@ -664,7 +536,7 @@ gem 'gitlab-net-dns', '~> 0.12.0', feature_category: : - gem 'gitlab-net-dns', '~> 0.12.0', feature_category: :shared +@@ -669,7 +536,7 @@ gem 'gitlab-net-dns', '~> 0.15.0', feature_category: : + gem 'gitlab-net-dns', '~> 0.15.0', feature_category: :shared # Countries list -gem 'countries', '~> 4.0.0', feature_category: :shared @@ -209,7 +189,7 @@ gem 'retriable', '~> 3.1.2', feature_category: :shared -@@ -746,10 +618,15 @@ gem 'duo_api', '~> 1.3', feature_category: :system_acc +@@ -750,10 +617,15 @@ gem 'duo_api', '~> 1.3', feature_category: :system_acc gem 'duo_api', '~> 1.3', feature_category: :system_access @@ -225,4 +205,4 @@ -gem "i18n_data", "~> 0.13.1", feature_category: :system_access +gem "i18n_data", "~> 0.13", feature_category: :system_access - gem "gitlab-cloud-connector", "~> 1.21", require: 'gitlab/cloud_connector', feature_category: :plan_provisioning + gem "gitlab-cloud-connector", "~> 1.26", require: 'gitlab/cloud_connector', feature_category: :plan_provisioning diff --git a/www/gitlab/files/patch-config_gitlab.yml.example b/www/gitlab/files/patch-config_gitlab.yml.example index d06f8232e96f..5c05397684c9 100644 --- a/www/gitlab/files/patch-config_gitlab.yml.example +++ b/www/gitlab/files/patch-config_gitlab.yml.example @@ -1,6 +1,6 @@ ---- config/gitlab.yml.example.orig 2025-07-16 11:39:10 UTC +--- config/gitlab.yml.example.orig 2025-08-20 06:43:08 UTC +++ config/gitlab.yml.example -@@ -498,7 +498,7 @@ production: &base +@@ -511,7 +511,7 @@ production: &base ## GitLab Pages pages: enabled: false @@ -9,7 +9,7 @@ # The location where pages are stored (default: shared/pages). # path: shared/pages -@@ -1243,13 +1243,13 @@ production: &base +@@ -1261,13 +1261,13 @@ production: &base repositories: storages: # You must have at least a `default` storage path. default: @@ -25,7 +25,7 @@ # archive_permissions: 0640 # Permissions for the resulting backup.tar file (default: 0600) # keep_time: 604800 # default: 0 (forever) (in seconds) # pg_schema: public # default: nil, it means that all schemas will be backed up -@@ -1284,12 +1284,12 @@ production: &base +@@ -1302,12 +1302,12 @@ production: &base ## GitLab Shell settings gitlab_shell: @@ -41,7 +41,7 @@ # Git over HTTP upload_pack: true -@@ -1304,7 +1304,7 @@ production: &base +@@ -1322,7 +1322,7 @@ production: &base workhorse: # File that contains the secret key for verifying access for gitlab-workhorse. # Default is '.gitlab_workhorse_secret' relative to Rails.root (i.e. root of the GitLab app). @@ -50,7 +50,7 @@ cell: # enabled: false -@@ -1322,7 +1322,7 @@ production: &base +@@ -1340,7 +1340,7 @@ production: &base # enabled: true # File that contains the secret key for verifying access for gitlab-kas. # Default is '.gitlab_kas_secret' relative to Rails.root (i.e. root of the GitLab app). @@ -59,7 +59,7 @@ # The URL to the external KAS API (used by the Kubernetes agents) # external_url: wss://kas.example.com -@@ -1349,13 +1349,13 @@ production: &base +@@ -1367,13 +1367,13 @@ production: &base ## GitLab Elasticsearch settings elasticsearch: @@ -75,7 +75,7 @@ ## Webpack settings # If enabled, this will tell rails to serve frontend assets from the webpack-dev-server running -@@ -1376,18 +1376,18 @@ production: &base +@@ -1394,18 +1394,18 @@ production: &base # Sidekiq exporter is a dedicated Prometheus metrics server optionally running alongside Sidekiq. sidekiq_exporter: @@ -101,7 +101,7 @@ # Web exporter is a dedicated Prometheus metrics server optionally running alongside Puma. web_exporter: -@@ -1614,13 +1614,13 @@ test: +@@ -1632,13 +1632,13 @@ test: gitaly_address: unix:tmp/tests/gitaly/praefect.socket gitaly: diff --git a/www/gitlab/files/patch-gems_gitlab-backup-cli_gitlab-backup-cli.gemspec b/www/gitlab/files/patch-gems_gitlab-backup-cli_gitlab-backup-cli.gemspec index 8912856cee2b..71b3d3dbd4e4 100644 --- a/www/gitlab/files/patch-gems_gitlab-backup-cli_gitlab-backup-cli.gemspec +++ b/www/gitlab/files/patch-gems_gitlab-backup-cli_gitlab-backup-cli.gemspec @@ -1,20 +1,6 @@ ---- gems/gitlab-backup-cli/gitlab-backup-cli.gemspec.orig 2025-07-09 01:48:55 UTC +--- gems/gitlab-backup-cli/gitlab-backup-cli.gemspec.orig 2025-08-20 06:43:08 UTC +++ gems/gitlab-backup-cli/gitlab-backup-cli.gemspec -@@ -27,7 +27,7 @@ Gem::Specification.new do |spec| - spec.add_dependency "activerecord", ">= 7" - spec.add_dependency "activesupport", ">= 7" - spec.add_dependency "bigdecimal", "~> 3.1" -- spec.add_dependency "googleauth", "~> 1.8.1" # https://gitlab.com/gitlab-org/gitlab/-/issues/449019 -+ spec.add_dependency "googleauth", "~> 1.8" # https://gitlab.com/gitlab-org/gitlab/-/issues/449019 - spec.add_dependency "google-cloud-storage_transfer", "~> 1.2.0" - spec.add_dependency "mutex_m", "~> 0.3" - spec.add_dependency "pg", "~> 1.5.6" -@@ -40,11 +40,11 @@ Gem::Specification.new do |spec| - spec.add_dependency "concurrent-ruby", "~> 1.1" - spec.add_dependency "faraday", "~> 2" - spec.add_dependency "google-protobuf", "~> 3.25", ">= 3.25.3" -- spec.add_dependency "grpc", "= 1.63.0" -+ spec.add_dependency "grpc", "~> 1.63" +@@ -44,7 +44,7 @@ Gem::Specification.new do |spec| spec.add_dependency "json", "~> 2.7" spec.add_dependency "jwt", "~> 2.5" spec.add_dependency "logger", "~> 1.5" diff --git a/www/gitlab/pkg-message b/www/gitlab/pkg-message index 743b768c3669..089734612436 100644 --- a/www/gitlab/pkg-message +++ b/www/gitlab/pkg-message @@ -6,7 +6,7 @@ Gitlab was installed successfully. You now need to set up the various components of Gitlab, so please follow the instructions in the guide at: -https://gitlab.com/mfechner/freebsd-gitlab-docu/blob/master/install/18.2-freebsd.md +https://gitlab.com/mfechner/freebsd-gitlab-docu/blob/master/install/18.3-freebsd.md EOM type: install } @@ -18,9 +18,9 @@ EOM { message: <<EOM If you just installed an major upgrade of GitLab, for example you -switched from 18.1.x to 18.2.x, please follow the instructions in the guide at: +switched from 18.2.x to 18.3.x, please follow the instructions in the guide at: -https://gitlab.com/mfechner/freebsd-gitlab-docu/blob/master/update/18.1-18.2-freebsd.md +https://gitlab.com/mfechner/freebsd-gitlab-docu/blob/master/update/18.2-18.3-freebsd.md If you just installed an minor upgrade of GitLab please follow the instructions in the guide at: diff --git a/www/glance/Makefile b/www/glance/Makefile index ae8c6472cf45..0e17472209fb 100644 --- a/www/glance/Makefile +++ b/www/glance/Makefile @@ -1,7 +1,6 @@ PORTNAME= glance DISTVERSIONPREFIX= v -DISTVERSION= 0.7.8 -PORTREVISION= 5 +DISTVERSION= 0.8.4 CATEGORIES= www MAINTAINER= adamw@FreeBSD.org diff --git a/www/glance/distinfo b/www/glance/distinfo index 58645795246a..032059b8a6a0 100644 --- a/www/glance/distinfo +++ b/www/glance/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1743050696 -SHA256 (go/www_glance/glance-v0.7.8/v0.7.8.mod) = 6854d28439342a58e1a3d224fbbf98a5a6d89ccc385f063bfc1d817a98ce9e3f -SIZE (go/www_glance/glance-v0.7.8/v0.7.8.mod) = 1162 -SHA256 (go/www_glance/glance-v0.7.8/v0.7.8.zip) = 336da965168861f627ec6a8ce6a700ea48420b64ce79776ab2992f181248767c -SIZE (go/www_glance/glance-v0.7.8/v0.7.8.zip) = 13055861 +TIMESTAMP = 1757008963 +SHA256 (go/www_glance/glance-v0.8.4/v0.8.4.mod) = 75c9b23fd040aad3d674f1be8b7efc37f23ae4b4536c64092ac53570fcb57b50 +SIZE (go/www_glance/glance-v0.8.4/v0.8.4.mod) = 1192 +SHA256 (go/www_glance/glance-v0.8.4/v0.8.4.zip) = f8f9e15c4862b37185e137e1915fc31208857b89e4ccab34a17db86a4dc76b5a +SIZE (go/www_glance/glance-v0.8.4/v0.8.4.zip) = 15064553 diff --git a/www/go-anubis/Makefile b/www/go-anubis/Makefile index 774c4c7a59ab..518bf473ff87 100644 --- a/www/go-anubis/Makefile +++ b/www/go-anubis/Makefile @@ -1,7 +1,7 @@ PORTNAME= anubis DISTVERSIONPREFIX= v DISTVERSION= 1.21.3 -PORTREVISION= 1 +PORTREVISION= 3 CATEGORIES= www MASTER_SITES= https://github.com/techarohq/${PORTNAME}/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/ PKGNAMEPREFIX= go- @@ -17,15 +17,18 @@ LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:1.24,no_targets USE_RC_SUBR= ${PORTNAME} -PLIST_FILES= sbin/${PORTNAME} \ - sbin/robots2policy - ALL_TARGET= prebaked-build +post-patch: + @${FIND} ${WRKSRC}/data \( -name "*.yaml" -or -name "*.json" \) \ + | ${XARGS} ${REINPLACE_CMD} -i '' -e 's|(data)|${DATADIR}|g' + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/var/${PORTNAME} \ ${STAGEDIR}${PREFIX}/sbin/${PORTNAME} ${INSTALL_PROGRAM} ${WRKSRC}/var/robots2policy \ ${STAGEDIR}${PREFIX}/sbin/robots2policy + ${MKDIR} ${STAGEDIR}${DATADIR} + cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} '-not -name *.go' .include <bsd.port.mk> diff --git a/www/go-anubis/pkg-plist b/www/go-anubis/pkg-plist new file mode 100644 index 000000000000..c5de54c48c29 --- /dev/null +++ b/www/go-anubis/pkg-plist @@ -0,0 +1,52 @@ +sbin/anubis +sbin/robots2policy +%%DATADIR%%/apps/allow-api-routes.yaml +%%DATADIR%%/apps/bookstack-saml.yaml +%%DATADIR%%/apps/gitea-rss-feeds.yaml +%%DATADIR%%/apps/qualys-ssl-labs.yml +%%DATADIR%%/apps/searx-checker.yml +%%DATADIR%%/botPolicies.json +%%DATADIR%%/botPolicies.yaml +%%DATADIR%%/bots/_deny-pathological.yaml +%%DATADIR%%/bots/aggressive-brazilian-scrapers.yaml +%%DATADIR%%/bots/ai-catchall.yaml +%%DATADIR%%/bots/ai-robots-txt.yaml +%%DATADIR%%/bots/cloudflare-workers.yaml +%%DATADIR%%/bots/headless-browsers.yaml +%%DATADIR%%/bots/irc-bots/archlinux-phrik.yaml +%%DATADIR%%/bots/irc-bots/gentoo-chat.yaml +%%DATADIR%%/bots/us-ai-scraper.yaml +%%DATADIR%%/clients/ai.yaml +%%DATADIR%%/clients/git.yaml +%%DATADIR%%/clients/go-get.yaml +%%DATADIR%%/clients/mistral-mistralai-user.yaml +%%DATADIR%%/clients/openai-chatgpt-user.yaml +%%DATADIR%%/clients/small-internet-browsers/_permissive.yaml +%%DATADIR%%/clients/small-internet-browsers/netsurf.yaml +%%DATADIR%%/clients/small-internet-browsers/palemoon.yaml +%%DATADIR%%/clients/x-firefox-ai.yaml +%%DATADIR%%/common/allow-api-like.yaml +%%DATADIR%%/common/allow-private-addresses.yaml +%%DATADIR%%/common/json-api.yaml +%%DATADIR%%/common/keep-internet-working.yaml +%%DATADIR%%/common/rfc-violations.yaml +%%DATADIR%%/crawlers/_allow-good.yaml +%%DATADIR%%/crawlers/ai-search.yaml +%%DATADIR%%/crawlers/ai-training.yaml +%%DATADIR%%/crawlers/applebot.yaml +%%DATADIR%%/crawlers/bingbot.yaml +%%DATADIR%%/crawlers/commoncrawl.yaml +%%DATADIR%%/crawlers/duckduckbot.yaml +%%DATADIR%%/crawlers/googlebot.yaml +%%DATADIR%%/crawlers/internet-archive.yaml +%%DATADIR%%/crawlers/kagibot.yaml +%%DATADIR%%/crawlers/marginalia.yaml +%%DATADIR%%/crawlers/mojeekbot.yaml +%%DATADIR%%/crawlers/openai-gptbot.yaml +%%DATADIR%%/crawlers/openai-searchbot.yaml +%%DATADIR%%/crawlers/qwantbot.yaml +%%DATADIR%%/meta/README.md +%%DATADIR%%/meta/ai-block-aggressive.yaml +%%DATADIR%%/meta/ai-block-moderate.yaml +%%DATADIR%%/meta/ai-block-permissive.yaml +%%DATADIR%%/services/uptime-robot.yaml diff --git a/www/go-www/Makefile b/www/go-www/Makefile index 9fee2a948917..8297757506af 100644 --- a/www/go-www/Makefile +++ b/www/go-www/Makefile @@ -1,6 +1,6 @@ PORTNAME= www PORTVERSION= 2.0.0 -PORTREVISION= 28 +PORTREVISION= 29 CATEGORIES= www PKGNAMEPREFIX= go- diff --git a/www/gobuffalo/Makefile b/www/gobuffalo/Makefile index 53f74b3d50c2..ff99cd8bdfe2 100644 --- a/www/gobuffalo/Makefile +++ b/www/gobuffalo/Makefile @@ -1,7 +1,7 @@ PORTNAME= gobuffalo PORTVERSION= 0.16.27 DISTVERSIONPREFIX= v -PORTREVISION= 28 +PORTREVISION= 29 CATEGORIES= www MAINTAINER= ports@FreeBSD.org diff --git a/www/gohugo/Makefile b/www/gohugo/Makefile index b1f600d2afa0..0a61ea3253ae 100644 --- a/www/gohugo/Makefile +++ b/www/gohugo/Makefile @@ -1,6 +1,7 @@ PORTNAME= hugo DISTVERSIONPREFIX= v DISTVERSION= 0.148.2 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= www PKGNAMEPREFIX= go diff --git a/www/gotty/Makefile b/www/gotty/Makefile index 2ef29b19d576..793da2123cc2 100644 --- a/www/gotty/Makefile +++ b/www/gotty/Makefile @@ -1,6 +1,7 @@ PORTNAME= gotty DISTVERSIONPREFIX= v DISTVERSION= 1.6.0 +PORTREVISION= 1 CATEGORIES= www net MAINTAINER= ehaupt@FreeBSD.org diff --git a/www/grafana/Makefile b/www/grafana/Makefile index 1b1ee5ddcf20..52a5a979709e 100644 --- a/www/grafana/Makefile +++ b/www/grafana/Makefile @@ -1,7 +1,7 @@ PORTNAME= grafana DISTVERSIONPREFIX= v DISTVERSION= 12.1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= https://dl.grafana.com/oss/release/ \ https://raw.githubusercontent.com/${GH_ACCOUNT}/${GH_PROJECT}/${DISTVERSIONFULL}/:gomod diff --git a/www/groupoffice/Makefile b/www/groupoffice/Makefile index 08052e7c30a0..2b2231d3aade 100644 --- a/www/groupoffice/Makefile +++ b/www/groupoffice/Makefile @@ -1,6 +1,6 @@ PORTNAME= groupoffice DISTVERSIONPREFIX= com- -DISTVERSION= 25.0.36 +DISTVERSION= 25.0.45 CATEGORIES= www MASTER_SITES= SF/group-office/${DISTVERSION:R} DISTNAME= ${PORTNAME}-${DISTVERSION} diff --git a/www/groupoffice/distinfo b/www/groupoffice/distinfo index 24cf3c1546fd..2900cef40b0e 100644 --- a/www/groupoffice/distinfo +++ b/www/groupoffice/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1753361010 -SHA256 (groupoffice-25.0.36.tar.gz) = 86e1c0074a5440dfb284cea8abeb012b018e854353d62bd90c6dd3dfea0b4bf2 -SIZE (groupoffice-25.0.36.tar.gz) = 98094756 +TIMESTAMP = 1755764061 +SHA256 (groupoffice-25.0.45.tar.gz) = b5e0ccca1f9e09e8f224003a0d7f9256a31a04c21cc0da025270ac147debb432 +SIZE (groupoffice-25.0.45.tar.gz) = 98100957 diff --git a/www/groupoffice/pkg-plist b/www/groupoffice/pkg-plist index f0f43cdf6c9f..052c0cd34d26 100644 --- a/www/groupoffice/pkg-plist +++ b/www/groupoffice/pkg-plist @@ -2882,6 +2882,7 @@ %%WWWDIR%%/go/modules/business/studio/service/AclOwnerOnlyGenerator.php %%WWWDIR%%/go/modules/business/studio/service/NonAclGenerator.php %%WWWDIR%%/go/modules/business/studio/tpl/AclEntityModel.php.tpl +%%WWWDIR%%/go/modules/business/studio/tpl/AclItemEntityCombo.js.tpl %%WWWDIR%%/go/modules/business/studio/tpl/AclItemEntityDialog.js.tpl %%WWWDIR%%/go/modules/business/studio/tpl/AclItemEntityModel.php.tpl %%WWWDIR%%/go/modules/business/studio/tpl/AclItemMainPanel.js.tpl @@ -10644,6 +10645,13 @@ %%WWWDIR%%/views/goui/goui/LICENSE %%WWWDIR%%/views/goui/goui/README.md %%WWWDIR%%/views/goui/goui/node_modules/.package-lock.json +%%WWWDIR%%/views/goui/groupoffice-core/node_modules/@intermesh/goui/dist/component/form/DateTimeField.d.ts +%%WWWDIR%%/views/goui/groupoffice-core/node_modules/@intermesh/goui/dist/component/form/DateTimeField.d.ts.map +%%WWWDIR%%/views/goui/groupoffice-core/node_modules/@intermesh/goui/dist/component/form/DateTimeField.js +%%WWWDIR%%/views/goui/groupoffice-core/node_modules/@intermesh/goui/dist/component/form/DateTimeField.js.map +%%WWWDIR%%/views/goui/groupoffice-core/node_modules/@intermesh/goui/script/component/form/DateTimeField.ts +%%WWWDIR%%/views/goui/groupoffice-core/node_modules/@intermesh/goui/tests/lib/component/Observable.ts +%%WWWDIR%%/views/goui/groupoffice-core/node_modules/@intermesh/goui/tests/lib/component/form/TextField.ts %%WWWDIR%%/views/goui/goui/package-lock.json %%WWWDIR%%/views/goui/goui/package.json %%WWWDIR%%/views/goui/goui/resources/README.md diff --git a/www/gurl/Makefile b/www/gurl/Makefile index ccffa53e3000..720625ee62fa 100644 --- a/www/gurl/Makefile +++ b/www/gurl/Makefile @@ -1,7 +1,7 @@ PORTNAME= gurl DISTVERSIONPREFIX= v DISTVERSION= 0.3.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= www MAINTAINER= dch@FreeBSD.org diff --git a/www/homepage/Makefile b/www/homepage/Makefile index f30773c8cf73..7df2dfd50009 100644 --- a/www/homepage/Makefile +++ b/www/homepage/Makefile @@ -1,5 +1,5 @@ PORTNAME= homepage -DISTVERSION= 1.4.5 +DISTVERSION= 1.4.6 CATEGORIES= www MASTER_SITES= LOCAL/dtxdf/${PORTNAME}/ DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} diff --git a/www/homepage/distinfo b/www/homepage/distinfo index 2be5eba52bb7..9723ff1f283e 100644 --- a/www/homepage/distinfo +++ b/www/homepage/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1755284700 -SHA256 (homepage-1.4.5.tar.gz) = 7e3af21014d5ed18db0f7270b02173622cf71ae3d95e71354cb4d9058fb9459b -SIZE (homepage-1.4.5.tar.gz) = 12763514 +TIMESTAMP = 1756433341 +SHA256 (homepage-1.4.6.tar.gz) = 8e12e8990b1a3d7208e46888ed9af64faf135dd645be0f619a8312e4016eb3c9 +SIZE (homepage-1.4.6.tar.gz) = 12755151 diff --git a/www/homepage/pkg-plist b/www/homepage/pkg-plist index f0c4df661cb5..8bd5b83f4a6c 100644 --- a/www/homepage/pkg-plist +++ b/www/homepage/pkg-plist @@ -366,7 +366,6 @@ etc/homepage.env %%HOMEDIR%%/.next/static/chunks/5860.a10d0361279e6f9a.js %%HOMEDIR%%/.next/static/chunks/5944.4bff334081a2eb22.js %%HOMEDIR%%/.next/static/chunks/6002.f6ac6a7504802f1e.js -%%HOMEDIR%%/.next/static/chunks/611.acdfd27946411a66.js %%HOMEDIR%%/.next/static/chunks/6182.e82eb4ec3e4fa068.js %%HOMEDIR%%/.next/static/chunks/6187.d0e3c9e2a14feb51.js %%HOMEDIR%%/.next/static/chunks/6218.b4f08a33f469d76a.js @@ -5170,8 +5169,9 @@ etc/homepage.env %%HOMEDIR%%/src/widgets/whatsupdocker/component.jsx %%HOMEDIR%%/src/widgets/xteve/component.jsx %%HOMEDIR%%/src/widgets/zabbix/component.jsx -%%WWWDIR%%/.next/static/C96yU3PHL1RBxfvfUwXg7/_buildManifest.js -%%WWWDIR%%/.next/static/C96yU3PHL1RBxfvfUwXg7/_ssgManifest.js -%%WWWDIR%%/.next/static/chunks/3121.062fa4a7824bc243.js -%%WWWDIR%%/.next/static/chunks/9346.79cfeec7ac0908a1.js -%%WWWDIR%%/.next/static/chunks/webpack-db160e9b591c440c.js +%%HOMEDIR%%/.next/static/-dFR4Fpx7vGAuCNFyOPRb/_buildManifest.js +%%HOMEDIR%%/.next/static/-dFR4Fpx7vGAuCNFyOPRb/_ssgManifest.js +%%HOMEDIR%%/.next/static/chunks/3121.062fa4a7824bc243.js +%%HOMEDIR%%/.next/static/chunks/9346.c6d566c362c5e060.js +%%HOMEDIR%%/.next/static/chunks/611.47bd2aede4f96794.js +%%HOMEDIR%%/.next/static/chunks/webpack-d2d287706f398086.js diff --git a/www/hs-postgrest/Makefile b/www/hs-postgrest/Makefile index 03c3966a06e2..59a77e57883e 100644 --- a/www/hs-postgrest/Makefile +++ b/www/hs-postgrest/Makefile @@ -1,6 +1,6 @@ PORTNAME= postgrest DISTVERSIONPREFIX= v -DISTVERSION= 13.0.4 +DISTVERSION= 13.0.6 CATEGORIES= www databases haskell MAINTAINER= haskell@FreeBSD.org diff --git a/www/hs-postgrest/Makefile.modules b/www/hs-postgrest/Makefile.modules index c0829b2bd671..a901f8c7a12d 100644 --- a/www/hs-postgrest/Makefile.modules +++ b/www/hs-postgrest/Makefile.modules @@ -5,7 +5,7 @@ USE_CABAL= HTTP-4000.4.1_6 \ QuickCheck-2.15.0.1_1 \ Ranged-sets-0.4.0_2 \ StateVar-1.2.2 \ - adjunctions-4.4.2_2 \ + adjunctions-4.4.3 \ aeson-2.2.3.0_4 \ aeson-pretty-0.8.10 \ ansi-terminal-1.1.2 \ @@ -19,7 +19,7 @@ USE_CABAL= HTTP-4000.4.1_6 \ atomic-primops-0.8.8 \ attoparsec-0.14.4_6 \ attoparsec-aeson-2.2.2.0 \ - auto-update-0.1.6 \ + auto-update-0.2.6 \ base-compat-0.14.1 \ base-compat-batteries-0.14.1 \ base-orphans-0.9.3 \ @@ -31,27 +31,27 @@ USE_CABAL= HTTP-4000.4.1_6 \ bitvec-1.1.5.0_3 \ bsb-http-chunked-0.0.0.4_4 \ byteorder-1.0.4 \ - bytestring-strict-builder-0.4.5.7 \ - bytestring-tree-builder-0.2.7.12 \ + bytestring-strict-builder-0.4.5.8 \ + bytestring-tree-builder-0.2.7.13 \ cabal-doctest-1.0.11 \ cache-0.1.3.0_1 \ call-stack-0.4.0 \ case-insensitive-1.2.1.0 \ - cassava-0.5.3.2_1 \ + cassava-0.5.4.0_1 \ cereal-0.5.8.3 \ character-ps-0.1 \ - charset-0.3.11 \ + charset-0.3.12 \ clock-0.8.4 \ cmdargs-0.10.22 \ colour-2.3.6 \ comonad-5.0.9_1 \ - configurator-pg-0.2.10_1 \ + configurator-pg-0.2.10_3 \ contravariant-1.5.5 \ contravariant-extras-0.3.5.4 \ - cookie-0.4.6 \ + cookie-0.5.1 \ cryptohash-md5-0.11.101.0_6 \ cryptohash-sha1-0.11.101.0_6 \ - crypton-1.0.1 \ + crypton-1.0.4 \ crypton-x509-1.7.7 \ data-bword-0.1.0.2 \ data-checked-0.3 \ @@ -67,59 +67,60 @@ USE_CABAL= HTTP-4000.4.1_6 \ data-sketches-0.3.1.0 \ data-sketches-core-0.1.0.0 \ data-textual-0.3.0.3 \ - deferred-folds-0.9.18.6 \ + deferred-folds-0.9.18.7 \ distributive-0.6.2.1_1 \ dlist-1.0_2 \ easy-file-0.2.5 \ - either-5.0.2_3 \ + either-5.0.3 \ entropy-0.4.1.11 \ extra-1.8 \ - fast-logger-3.2.4 \ + fast-logger-3.2.6 \ foldl-1.4.18_1 \ free-5.2_7 \ fuzzyset-0.2.4 \ generically-0.1.1_4 \ generics-sop-0.5.1.4_2 \ groups-0.5.3 \ - hashable-1.4.7.0 \ + hashable-1.5.0.0_1 \ hashtables-1.4.2 \ hasql-1.6.4.4 \ hasql-dynamic-statements-0.3.1.5 \ hasql-implicits-0.1.1.3 \ hasql-notifications-0.2.2.2 \ hasql-pool-1.0.1 \ - hasql-transaction-1.0.1.4 \ + hasql-transaction-1.1.0.1 \ heredoc-0.2.0.0 \ hourglass-0.2.12_1 \ hsc2hs-0.68.10_4 \ http-date-0.0.11 \ http-media-0.8.1.1_2 \ + http-semantics-0.3.0 \ http-types-0.12.4 \ - http2-5.0.1 \ + http2-5.3.10 \ indexed-profunctors-0.1.1.1 \ indexed-traversable-0.1.4_1 \ indexed-traversable-instances-0.1.2_1 \ - insert-ordered-containers-0.2.6 \ + insert-ordered-containers-0.2.7 \ integer-conversion-0.1.1_1 \ integer-logarithms-1.0.4 \ invariant-0.6.4_1 \ iproute-1.7.15 \ - isomorphism-class-0.3 \ + isomorphism-class-0.3.1.2 \ jose-jwt-0.10.0 \ - kan-extensions-5.2.6_1 \ + kan-extensions-5.2.7 \ keys-3.12.4_1 \ - lawful-conversions-0.1.6 \ - lens-5.2.3_5 \ + lawful-conversions-0.1.7 \ + lens-5.3.5 \ lens-aeson-1.2.3_2 \ math-functions-0.3.4.4 \ - megaparsec-9.6.1 \ + megaparsec-9.7.0 \ memory-0.18.0_1 \ mtl-compat-0.2.2 \ mwc-random-0.15.2.0 \ neat-interpolation-0.5.1.4 \ - network-3.1.4.0_1 \ + network-3.2.7.0 \ network-byte-order-0.1.7 \ - network-control-0.0.2 \ + network-control-0.1.7 \ network-info-0.2.1 \ network-ip-0.3.0.3 \ network-uri-2.6.4.2_1 \ @@ -140,23 +141,22 @@ USE_CABAL= HTTP-4000.4.1_6 \ postgresql-libpq-configure-0.10.0.1 \ prettyprinter-1.7.1 \ prettyprinter-ansi-terminal-1.1.3 \ - primitive-0.9.0.0_2 \ - profunctors-5.6.2_3 \ + primitive-0.9.1.0 \ + profunctors-5.6.3 \ prometheus-client-1.1.1 \ - protolude-0.3.4 \ + protolude-0.3.5 \ psqueues-0.2.8.1 \ - ptr-0.16.8.6 \ - quickcheck-instances-0.3.32_1 \ - random-1.2.1.3 \ + ptr-0.16.8.7 \ + quickcheck-instances-0.3.33_1 \ + random-1.3.1 \ rebase-1.21.2 \ - recv-0.1.0 \ + recv-0.1.1 \ reflection-2.1.9_1 \ - regex-base-0.94.0.2_4 \ - regex-tdfa-1.3.2.2_3 \ + regex-base-0.94.0.3 \ + regex-tdfa-1.3.2.4 \ rerebase-1.21.2 \ resourcet-1.3.0 \ retry-0.9.3.1 \ - safe-exceptions-0.1.7.4_1 \ scientific-0.3.8.0_2 \ selective-0.7.0.1 \ semialign-1.3.1_2 \ @@ -165,16 +165,16 @@ USE_CABAL= HTTP-4000.4.1_6 \ simple-sendfile-0.2.32 \ sop-core-0.5.0.2_5 \ split-0.2.5 \ - splitmix-0.1.1 \ + splitmix-0.1.3.1 \ streaming-commons-0.2.3.0 \ strict-0.5.1_1 \ - strict-list-0.1.7.5 \ - swagger2-2.8.9 \ + strict-list-0.1.7.6 \ + swagger2-2.8.10 \ tagged-0.8.9 \ tasty-1.5.3_2 \ - template-haskell-compat-v0208-0.1.9.4 \ - text-builder-0.6.7.2 \ - text-builder-dev-0.3.9 \ + template-haskell-compat-v0208-0.1.9.5 \ + text-builder-0.6.10 \ + text-builder-dev-0.3.10 \ text-iso8601-0.1.1_2 \ text-latin1-0.3.1 \ text-metrics-0.3.3 \ @@ -184,30 +184,29 @@ USE_CABAL= HTTP-4000.4.1_6 \ th-compat-0.1.6 \ these-1.2.1_2 \ time-compat-1.9.8 \ - time-manager-0.0.1 \ + time-manager-0.2.3 \ timeit-2.0_2 \ transformers-base-0.4.6 \ transformers-compat-0.7.2 \ type-hint-0.1 \ - unix-compat-0.7.3_1 \ - unix-time-0.4.16 \ - unliftio-0.2.25.0 \ + unix-compat-0.7.4 \ + unix-time-0.4.17 \ unliftio-core-0.2.1.0_4 \ unordered-containers-0.2.20_4 \ utf8-string-1.0.2 \ uuid-1.3.16_3 \ uuid-types-1.0.6_3 \ vault-0.3.1.5_10 \ - vector-0.13.2.0_1 \ - vector-algorithms-0.9.0.3 \ - vector-instances-3.4.2 \ - vector-stream-0.1.0.1_3 \ + vector-0.13.2.0_2 \ + vector-algorithms-0.9.1.0 \ + vector-instances-3.4.3 \ + vector-stream-0.1.0.1_4 \ void-0.7.3 \ wai-3.2.4 \ wai-cors-0.2.7 \ wai-extra-3.1.17 \ wai-logger-2.5.0 \ - warp-3.3.31 \ + warp-3.4.8 \ witherable-0.5_1 \ word8-0.1.3 \ zlib-0.7.1.0_2 diff --git a/www/hs-postgrest/distinfo b/www/hs-postgrest/distinfo index b3f562835a70..e3b21cc14d4b 100644 --- a/www/hs-postgrest/distinfo +++ b/www/hs-postgrest/distinfo @@ -1,4 +1,4 @@ -TIMESTAMP = 1753456717 +TIMESTAMP = 1756806259 SHA256 (cabal/HTTP-4000.4.1/HTTP-4000.4.1.tar.gz) = df31d8efec775124dab856d7177ddcba31be9f9e0836ebdab03d94392f2dd453 SIZE (cabal/HTTP-4000.4.1/HTTP-4000.4.1.tar.gz) = 74330 SHA256 (cabal/HTTP-4000.4.1/revision/6.cabal) = ad36c6a1b3bc203b02751c8bffae8a684cc755661a2a567362cd4a0da1193c5e @@ -23,10 +23,8 @@ SHA256 (cabal/Ranged-sets-0.4.0/revision/2.cabal) = 04bb4ce482fbdc052c9ee3346ba2 SIZE (cabal/Ranged-sets-0.4.0/revision/2.cabal) = 1373 SHA256 (cabal/StateVar-1.2.2/StateVar-1.2.2.tar.gz) = 5e4b39da395656a59827b0280508aafdc70335798b50e5d6fd52596026251825 SIZE (cabal/StateVar-1.2.2/StateVar-1.2.2.tar.gz) = 5048 -SHA256 (cabal/adjunctions-4.4.2/adjunctions-4.4.2.tar.gz) = 147b5f8db810bca0ea8952ef974982ffc447cecd21f01e1ea1121df77e276518 -SIZE (cabal/adjunctions-4.4.2/adjunctions-4.4.2.tar.gz) = 17201 -SHA256 (cabal/adjunctions-4.4.2/revision/2.cabal) = 30206ae6b78d3d523c2ff73640f84b51fa204ac3f05267a5f0c77c486b96781d -SIZE (cabal/adjunctions-4.4.2/revision/2.cabal) = 3379 +SHA256 (cabal/adjunctions-4.4.3/adjunctions-4.4.3.tar.gz) = 8beb121cee2bf913dac3188ed1e0e05cf1a0d0f12d4cb4a27c0da58450eb189a +SIZE (cabal/adjunctions-4.4.3/adjunctions-4.4.3.tar.gz) = 16788 SHA256 (cabal/aeson-2.2.3.0/aeson-2.2.3.0.tar.gz) = daa25cf428256ad05d21f2bfa44077c1b14d6c784b7930a202ee901f11cc6baa SIZE (cabal/aeson-2.2.3.0/aeson-2.2.3.0.tar.gz) = 340855 SHA256 (cabal/aeson-2.2.3.0/revision/4.cabal) = 7d48c2395ef168d2c2070fdb02c7998384be27d31a03bb35d1740af4a19a857b @@ -63,8 +61,8 @@ SHA256 (cabal/attoparsec-0.14.4/revision/6.cabal) = 35129d0ab1741f000f1a7d2fc839 SIZE (cabal/attoparsec-0.14.4/revision/6.cabal) = 5914 SHA256 (cabal/attoparsec-aeson-2.2.2.0/attoparsec-aeson-2.2.2.0.tar.gz) = fe9b2c23a16fe1ff8f41c329940cccc80aca7ac6a9ea314f7a77cf142d8f9edd SIZE (cabal/attoparsec-aeson-2.2.2.0/attoparsec-aeson-2.2.2.0.tar.gz) = 8081 -SHA256 (cabal/auto-update-0.1.6/auto-update-0.1.6.tar.gz) = f4e023dc8713c387ecf20d851247597fd012cabea3872310b35e911105eb66c4 -SIZE (cabal/auto-update-0.1.6/auto-update-0.1.6.tar.gz) = 10929 +SHA256 (cabal/auto-update-0.2.6/auto-update-0.2.6.tar.gz) = 9a25cc5c9de2a20981ffe981ffcd51fee88597c802c1555dd08fa9c5c64e0e54 +SIZE (cabal/auto-update-0.2.6/auto-update-0.2.6.tar.gz) = 14719 SHA256 (cabal/base-compat-0.14.1/base-compat-0.14.1.tar.gz) = 74e655541e645e8fc7aade1e6a1b6973561be0bca9369bc1623aa345019a35e9 SIZE (cabal/base-compat-0.14.1/base-compat-0.14.1.tar.gz) = 32244 SHA256 (cabal/base-compat-batteries-0.14.1/base-compat-batteries-0.14.1.tar.gz) = 3d2bf42f04cd02c8f7ed346454e29e188e1c7865d075c4277ea25197e53828e1 @@ -95,10 +93,10 @@ SHA256 (cabal/bsb-http-chunked-0.0.0.4/revision/4.cabal) = 1cce7371c31b1d3cfa3eb SIZE (cabal/bsb-http-chunked-0.0.0.4/revision/4.cabal) = 2687 SHA256 (cabal/byteorder-1.0.4/byteorder-1.0.4.tar.gz) = bd20bbb586947f99c38a4c93d9d0266f49f6fc581767b51ba568f6d5d52d2919 SIZE (cabal/byteorder-1.0.4/byteorder-1.0.4.tar.gz) = 2030 -SHA256 (cabal/bytestring-strict-builder-0.4.5.7/bytestring-strict-builder-0.4.5.7.tar.gz) = d7a6b1727cb916b4a9ca85a354ae2ce886b73d01ba7b1a488571ab64b4f774f1 -SIZE (cabal/bytestring-strict-builder-0.4.5.7/bytestring-strict-builder-0.4.5.7.tar.gz) = 7268 -SHA256 (cabal/bytestring-tree-builder-0.2.7.12/bytestring-tree-builder-0.2.7.12.tar.gz) = 90d8231350d21053ac2d97c3981bd74ae9f842e7696e8a249657815825459237 -SIZE (cabal/bytestring-tree-builder-0.2.7.12/bytestring-tree-builder-0.2.7.12.tar.gz) = 5498 +SHA256 (cabal/bytestring-strict-builder-0.4.5.8/bytestring-strict-builder-0.4.5.8.tar.gz) = 3b9ae00a210638d7d3972247f7106e51735327081cda17f4d0c1283b1ca2dd0b +SIZE (cabal/bytestring-strict-builder-0.4.5.8/bytestring-strict-builder-0.4.5.8.tar.gz) = 7265 +SHA256 (cabal/bytestring-tree-builder-0.2.7.13/bytestring-tree-builder-0.2.7.13.tar.gz) = 8f7e532e617393dfb2c285e0311317345ba108fc014b31c618f4279046fa6768 +SIZE (cabal/bytestring-tree-builder-0.2.7.13/bytestring-tree-builder-0.2.7.13.tar.gz) = 5496 SHA256 (cabal/cabal-doctest-1.0.11/cabal-doctest-1.0.11.tar.gz) = dc2df2f0b427028617f10e445ff8ab3352d3bbeef1b8dd847e879d2d36bf923f SIZE (cabal/cabal-doctest-1.0.11/cabal-doctest-1.0.11.tar.gz) = 13204 SHA256 (cabal/cache-0.1.3.0/cache-0.1.3.0.tar.gz) = 42e9d9f040fab2fd5fc1095a901d6348de73342b1d14254bdaf6ca3d4f11e534 @@ -109,16 +107,16 @@ SHA256 (cabal/call-stack-0.4.0/call-stack-0.4.0.tar.gz) = 430bcf8a3404f7e5531957 SIZE (cabal/call-stack-0.4.0/call-stack-0.4.0.tar.gz) = 2757 SHA256 (cabal/case-insensitive-1.2.1.0/case-insensitive-1.2.1.0.tar.gz) = 296dc17e0c5f3dfb3d82ced83e4c9c44c338ecde749b278b6eae512f1d04e406 SIZE (cabal/case-insensitive-1.2.1.0/case-insensitive-1.2.1.0.tar.gz) = 53609 -SHA256 (cabal/cassava-0.5.3.2/cassava-0.5.3.2.tar.gz) = 3ad25d225d2c0db54ef17372d8bf206356bcb7e02a0e7ff38f7078f141d0a9c9 -SIZE (cabal/cassava-0.5.3.2/cassava-0.5.3.2.tar.gz) = 37741 -SHA256 (cabal/cassava-0.5.3.2/revision/1.cabal) = b2e52282af6ca7b42bdd0fb427079b908a2b2e4b350b77df19cdb45ee4fe7876 -SIZE (cabal/cassava-0.5.3.2/revision/1.cabal) = 4977 +SHA256 (cabal/cassava-0.5.4.0/cassava-0.5.4.0.tar.gz) = d9dea5652b7bd2175161c00acb5ca107e8b02662b88517e943e06933d6aeab6d +SIZE (cabal/cassava-0.5.4.0/cassava-0.5.4.0.tar.gz) = 37885 +SHA256 (cabal/cassava-0.5.4.0/revision/1.cabal) = 7d1cc4bcceca83f1220db147ccbd3a5e58ed1cb8513c26ec02fbadcb058cf5f0 +SIZE (cabal/cassava-0.5.4.0/revision/1.cabal) = 5023 SHA256 (cabal/cereal-0.5.8.3/cereal-0.5.8.3.tar.gz) = 99905220661b26e5bd91130bd9772554938608a5b1d717240a6eb331121e0f6a SIZE (cabal/cereal-0.5.8.3/cereal-0.5.8.3.tar.gz) = 20166 SHA256 (cabal/character-ps-0.1/character-ps-0.1.tar.gz) = 22de71fde38b236d3e9168a832b5e1e75d1fb4f4028667bdf747b3b4c8c1529c SIZE (cabal/character-ps-0.1/character-ps-0.1.tar.gz) = 8192 -SHA256 (cabal/charset-0.3.11/charset-0.3.11.tar.gz) = 9343757569249865b42aa218461c311d619d3c8027dfddbb635146363cc08aac -SIZE (cabal/charset-0.3.11/charset-0.3.11.tar.gz) = 13650 +SHA256 (cabal/charset-0.3.12/charset-0.3.12.tar.gz) = 1ce8c6d444ae9d5685099fe118fda2744c4a6037559507d8213ff686dfca722d +SIZE (cabal/charset-0.3.12/charset-0.3.12.tar.gz) = 13687 SHA256 (cabal/clock-0.8.4/clock-0.8.4.tar.gz) = 6ae9898afe788a5e334cd5fad5d18a3c2e8e59fa09aaf7b957dbb38a4767df2e SIZE (cabal/clock-0.8.4/clock-0.8.4.tar.gz) = 9322 SHA256 (cabal/cmdargs-0.10.22/cmdargs-0.10.22.tar.gz) = b8b12e7f8795cf13037bb062d453b86c788eae62558586f59e9419aabe6e9bef @@ -131,14 +129,14 @@ SHA256 (cabal/comonad-5.0.9/revision/1.cabal) = 75aded79bf583c908e4e4687c0ae067f SIZE (cabal/comonad-5.0.9/revision/1.cabal) = 3587 SHA256 (cabal/configurator-pg-0.2.10/configurator-pg-0.2.10.tar.gz) = 527b96469442706ce51ab9b41681434fca413945b5ab868bd2778b66fe3d4689 SIZE (cabal/configurator-pg-0.2.10/configurator-pg-0.2.10.tar.gz) = 12239 -SHA256 (cabal/configurator-pg-0.2.10/revision/1.cabal) = 20a0307d5b0080e6ce571706a2a391c44cc0d12c9372fad0015067ecfdc5bfec -SIZE (cabal/configurator-pg-0.2.10/revision/1.cabal) = 2862 +SHA256 (cabal/configurator-pg-0.2.10/revision/3.cabal) = cf1e6172a9c7aa258d86295f2172cdae7ba5f36ff6ed189d16ee3d123204d794 +SIZE (cabal/configurator-pg-0.2.10/revision/3.cabal) = 2862 SHA256 (cabal/contravariant-1.5.5/contravariant-1.5.5.tar.gz) = 062fd66580d7aad0b5ba93e644ffa7feee69276ef50f20d4ed9f1deb7642dffa SIZE (cabal/contravariant-1.5.5/contravariant-1.5.5.tar.gz) = 13815 SHA256 (cabal/contravariant-extras-0.3.5.4/contravariant-extras-0.3.5.4.tar.gz) = 2f3a16d38cb6778704db7f142e54be169db4362e033b2d568c172d0c6e64298e SIZE (cabal/contravariant-extras-0.3.5.4/contravariant-extras-0.3.5.4.tar.gz) = 5325 -SHA256 (cabal/cookie-0.4.6/cookie-0.4.6.tar.gz) = 8c41a956c32b9733d525a53d43b0338a236a34d36658ecc4364c8249a6664baa -SIZE (cabal/cookie-0.4.6/cookie-0.4.6.tar.gz) = 6219 +SHA256 (cabal/cookie-0.5.1/cookie-0.5.1.tar.gz) = 1adde62726e3a3bbe147c02514fe0c4f5f2c5a2ff63842deac10c451a2a6f7a0 +SIZE (cabal/cookie-0.5.1/cookie-0.5.1.tar.gz) = 6680 SHA256 (cabal/cryptohash-md5-0.11.101.0/cryptohash-md5-0.11.101.0.tar.gz) = 3b08db0ae39df2b44e83053ad30d7546a4c6200a852c22a240a7e03ae1080f05 SIZE (cabal/cryptohash-md5-0.11.101.0/cryptohash-md5-0.11.101.0.tar.gz) = 11872 SHA256 (cabal/cryptohash-md5-0.11.101.0/revision/6.cabal) = 2e42586d73bdb149bde829e37b6546d84e60d7fb49c93320633b71c25f4dee54 @@ -147,8 +145,8 @@ SHA256 (cabal/cryptohash-sha1-0.11.101.0/cryptohash-sha1-0.11.101.0.tar.gz) = a4 SIZE (cabal/cryptohash-sha1-0.11.101.0/cryptohash-sha1-0.11.101.0.tar.gz) = 11563 SHA256 (cabal/cryptohash-sha1-0.11.101.0/revision/6.cabal) = 2bdf29dbd896bca86bf198c882fa8df1cb31843b71f2907e059b7c10bce0adb3 SIZE (cabal/cryptohash-sha1-0.11.101.0/revision/6.cabal) = 3085 -SHA256 (cabal/crypton-1.0.1/crypton-1.0.1.tar.gz) = 9142bb14748cc57356cf4dacec822e80eaf6dba8e1538ec93be17ee37027c7a4 -SIZE (cabal/crypton-1.0.1/crypton-1.0.1.tar.gz) = 624895 +SHA256 (cabal/crypton-1.0.4/crypton-1.0.4.tar.gz) = b4885402206422450823e7001a40d0f6b11d0c603a0cb8bf8ff5a186b7c4011a +SIZE (cabal/crypton-1.0.4/crypton-1.0.4.tar.gz) = 649976 SHA256 (cabal/crypton-x509-1.7.7/crypton-x509-1.7.7.tar.gz) = efece48c8c4adfee209979c2967037d90e6ba1b7b4e7bb1081d1d4cd93daf382 SIZE (cabal/crypton-x509-1.7.7/crypton-x509-1.7.7.tar.gz) = 21547 SHA256 (cabal/data-bword-0.1.0.2/data-bword-0.1.0.2.tar.gz) = d64880e7d6c7a2d635d7e79552888f415a417379ee637a29321abf08187e9635 @@ -181,8 +179,8 @@ SHA256 (cabal/data-sketches-core-0.1.0.0/data-sketches-core-0.1.0.0.tar.gz) = 23 SIZE (cabal/data-sketches-core-0.1.0.0/data-sketches-core-0.1.0.0.tar.gz) = 12544 SHA256 (cabal/data-textual-0.3.0.3/data-textual-0.3.0.3.tar.gz) = 4b9ee8ccd03f24203dd9307bf9aa67180ff0f07b45c3a01e33d8185ff275ec9a SIZE (cabal/data-textual-0.3.0.3/data-textual-0.3.0.3.tar.gz) = 15626 -SHA256 (cabal/deferred-folds-0.9.18.6/deferred-folds-0.9.18.6.tar.gz) = ebffce410040c77d2babee73f45ab7e79da7dcec424590a991b6dc0b8a1b8f02 -SIZE (cabal/deferred-folds-0.9.18.6/deferred-folds-0.9.18.6.tar.gz) = 10380 +SHA256 (cabal/deferred-folds-0.9.18.7/deferred-folds-0.9.18.7.tar.gz) = cfa84475ecd37db1f9421a86c84e02bdc60c7b3847daca12dc5705ff7f0178ae +SIZE (cabal/deferred-folds-0.9.18.7/deferred-folds-0.9.18.7.tar.gz) = 10386 SHA256 (cabal/distributive-0.6.2.1/distributive-0.6.2.1.tar.gz) = d7351392e078f58caa46630a4b9c643e1e2e9dddee45848c5c8358e7b1316b91 SIZE (cabal/distributive-0.6.2.1/distributive-0.6.2.1.tar.gz) = 8140 SHA256 (cabal/distributive-0.6.2.1/revision/1.cabal) = 0f99f5541cca04acf89b64432b03422b6408e830a8dff30e6c4334ef1a48680c @@ -193,16 +191,14 @@ SHA256 (cabal/dlist-1.0/revision/2.cabal) = 854727594c5a816ab3d10f15b1bc4fedaf9e SIZE (cabal/dlist-1.0/revision/2.cabal) = 3942 SHA256 (cabal/easy-file-0.2.5/easy-file-0.2.5.tar.gz) = ee0fa0914b3bb3662838a689d7cd23a2785ccbc29def366664f994bc524ff2bb SIZE (cabal/easy-file-0.2.5/easy-file-0.2.5.tar.gz) = 13358 -SHA256 (cabal/either-5.0.2/either-5.0.2.tar.gz) = bfa45b967fd77b1c7c952e156377441e3c42b6dc873ab1f06a7421a3222287be -SIZE (cabal/either-5.0.2/either-5.0.2.tar.gz) = 7983 -SHA256 (cabal/either-5.0.2/revision/3.cabal) = c8e1cf60b69d02699fd1a5e14d196f45d889539dc80ddbf1a8fb0ff9f4b31b7a -SIZE (cabal/either-5.0.2/revision/3.cabal) = 2015 +SHA256 (cabal/either-5.0.3/either-5.0.3.tar.gz) = 6d66691e84955a90a2d169f71cf51c83d76c141635cb8da2a60ddffca4804801 +SIZE (cabal/either-5.0.3/either-5.0.3.tar.gz) = 7934 SHA256 (cabal/entropy-0.4.1.11/entropy-0.4.1.11.tar.gz) = f5dd5a01278f8318d9793ed6071b742f13ce36c7456328baae4acc818e2d92ea SIZE (cabal/entropy-0.4.1.11/entropy-0.4.1.11.tar.gz) = 9112 SHA256 (cabal/extra-1.8/extra-1.8.tar.gz) = 2fa4ce5eae50560bba80f1883913cf2ed52b3d87fd290dae27d838c94f5389a1 SIZE (cabal/extra-1.8/extra-1.8.tar.gz) = 47005 -SHA256 (cabal/fast-logger-3.2.4/fast-logger-3.2.4.tar.gz) = 39753b31356a31fc597f8b94ebd0b19e815720603f1100e2ac8711313149b0bb -SIZE (cabal/fast-logger-3.2.4/fast-logger-3.2.4.tar.gz) = 14778 +SHA256 (cabal/fast-logger-3.2.6/fast-logger-3.2.6.tar.gz) = bd66c622de84170ef41cd6ca37f507882322a3968e39a89c620613f33e63c5c3 +SIZE (cabal/fast-logger-3.2.6/fast-logger-3.2.6.tar.gz) = 14852 SHA256 (cabal/foldl-1.4.18/foldl-1.4.18.tar.gz) = cad8f45180f7d375262f72887be5f48f4ec55e34b381b5cb71269f006e91500e SIZE (cabal/foldl-1.4.18/foldl-1.4.18.tar.gz) = 26703 SHA256 (cabal/foldl-1.4.18/revision/1.cabal) = aa42a0d8db37909c2bf69861447b9f40b4993166f32a981f6eefbac503d151c7 @@ -223,8 +219,10 @@ SHA256 (cabal/generics-sop-0.5.1.4/revision/2.cabal) = a62864a0a096f844db946a38c SIZE (cabal/generics-sop-0.5.1.4/revision/2.cabal) = 5770 SHA256 (cabal/groups-0.5.3/groups-0.5.3.tar.gz) = ce1e52a8be7effbd1f995eadf0ed34fa45c412656d372db8a38f9c955e43ac38 SIZE (cabal/groups-0.5.3/groups-0.5.3.tar.gz) = 3396 -SHA256 (cabal/hashable-1.4.7.0/hashable-1.4.7.0.tar.gz) = 3baee4c9027a08830d148ec524cbc0471de645e1e8426d46780ef2758df0e8da -SIZE (cabal/hashable-1.4.7.0/hashable-1.4.7.0.tar.gz) = 89467 +SHA256 (cabal/hashable-1.5.0.0/hashable-1.5.0.0.tar.gz) = e58b3a8e18da5f6cd7e937e5fd683e500bb1f8276b3768269759119ca0cddb6a +SIZE (cabal/hashable-1.5.0.0/hashable-1.5.0.0.tar.gz) = 89062 +SHA256 (cabal/hashable-1.5.0.0/revision/1.cabal) = 2f23146cbe0325029927b221647695a4c7d6e97548ff731110979e34361f58ef +SIZE (cabal/hashable-1.5.0.0/revision/1.cabal) = 5914 SHA256 (cabal/hashtables-1.4.2/hashtables-1.4.2.tar.gz) = ca0e299fee6c0c918f45ce0907afbff1c3891998bb792d1717e4d5f12350ef0d SIZE (cabal/hashtables-1.4.2/hashtables-1.4.2.tar.gz) = 58869 SHA256 (cabal/hasql-1.6.4.4/hasql-1.6.4.4.tar.gz) = 4da966e6f267665b89045ff73a04b7da0887bd6ff7304ae60a6ef382cb4e99d7 @@ -237,8 +235,8 @@ SHA256 (cabal/hasql-notifications-0.2.2.2/hasql-notifications-0.2.2.2.tar.gz) = SIZE (cabal/hasql-notifications-0.2.2.2/hasql-notifications-0.2.2.2.tar.gz) = 4859 SHA256 (cabal/hasql-pool-1.0.1/hasql-pool-1.0.1.tar.gz) = 3e3c4af7fb64d019d6b8610543c399f4d64822015bd6f4fb0159eec06f7324fc SIZE (cabal/hasql-pool-1.0.1/hasql-pool-1.0.1.tar.gz) = 9877 -SHA256 (cabal/hasql-transaction-1.0.1.4/hasql-transaction-1.0.1.4.tar.gz) = e43c14852cfb41f3f08703c171891f0fc1b7234de127e9dae27d418912ff55dd -SIZE (cabal/hasql-transaction-1.0.1.4/hasql-transaction-1.0.1.4.tar.gz) = 6490 +SHA256 (cabal/hasql-transaction-1.1.0.1/hasql-transaction-1.1.0.1.tar.gz) = 1b0eb55166839115c61329970fbf608e89a8c14b98161bc03b1a1a0272a6a9ac +SIZE (cabal/hasql-transaction-1.1.0.1/hasql-transaction-1.1.0.1.tar.gz) = 6593 SHA256 (cabal/heredoc-0.2.0.0/heredoc-0.2.0.0.tar.gz) = c90d9fc61cb8cd812be510845493b6a6eddcc4b772581fd40a9433ed8f130f40 SIZE (cabal/heredoc-0.2.0.0/heredoc-0.2.0.0.tar.gz) = 2449 SHA256 (cabal/hourglass-0.2.12/hourglass-0.2.12.tar.gz) = 44335b5c402e80c60f1db6a74462be4ea29d1a9043aa994334ffee1164f1ca4a @@ -255,10 +253,12 @@ SHA256 (cabal/http-media-0.8.1.1/http-media-0.8.1.1.tar.gz) = 1920adf31b15d167f6 SIZE (cabal/http-media-0.8.1.1/http-media-0.8.1.1.tar.gz) = 18395 SHA256 (cabal/http-media-0.8.1.1/revision/2.cabal) = 205a392f14f9e7286cc14761a7a17834b7deaa92f363e2a2cdbbab7d71477289 SIZE (cabal/http-media-0.8.1.1/revision/2.cabal) = 4321 +SHA256 (cabal/http-semantics-0.3.0/http-semantics-0.3.0.tar.gz) = 9ccee90bcbbfb29f30f7aed063c62edf0f3eb084ba63dbf9baffbd5db573714f +SIZE (cabal/http-semantics-0.3.0/http-semantics-0.3.0.tar.gz) = 14927 SHA256 (cabal/http-types-0.12.4/http-types-0.12.4.tar.gz) = 4d4b1bb0cc817e5fef0c9c76c9647f69f4d300c45a105043493eff86381be549 SIZE (cabal/http-types-0.12.4/http-types-0.12.4.tar.gz) = 18707 -SHA256 (cabal/http2-5.0.1/http2-5.0.1.tar.gz) = 3bf0f51b8753b7c3f9e80aab6d5af40c49ed3b3c16dc6498c3f1d42301a499d5 -SIZE (cabal/http2-5.0.1/http2-5.0.1.tar.gz) = 5508150 +SHA256 (cabal/http2-5.3.10/http2-5.3.10.tar.gz) = f46617d617834a9ce7c016eec8160a15129632aa179821c36318b46adf0d4267 +SIZE (cabal/http2-5.3.10/http2-5.3.10.tar.gz) = 5499618 SHA256 (cabal/indexed-profunctors-0.1.1.1/indexed-profunctors-0.1.1.1.tar.gz) = 2e69bb2900bb7e562efffff7bcf3f72daf79f013232ce603263a57595412c398 SIZE (cabal/indexed-profunctors-0.1.1.1/indexed-profunctors-0.1.1.1.tar.gz) = 6477 SHA256 (cabal/indexed-traversable-0.1.4/indexed-traversable-0.1.4.tar.gz) = 58be09afdf3ad5a25c2aa0d2a7df80d602df09f4e76d3abf2b7cdb0e75d03b22 @@ -269,8 +269,8 @@ SHA256 (cabal/indexed-traversable-instances-0.1.2/indexed-traversable-instances- SIZE (cabal/indexed-traversable-instances-0.1.2/indexed-traversable-instances-0.1.2.tar.gz) = 3673 SHA256 (cabal/indexed-traversable-instances-0.1.2/revision/1.cabal) = 68df0fc8070ae2c15f9e6febf1449fee364c131a6d1e93cac45e7895ba86dd89 SIZE (cabal/indexed-traversable-instances-0.1.2/revision/1.cabal) = 2401 -SHA256 (cabal/insert-ordered-containers-0.2.6/insert-ordered-containers-0.2.6.tar.gz) = ef52e54b176e4a0828e5822784e28005fa8a848357a88722182350b3c3d0c49f -SIZE (cabal/insert-ordered-containers-0.2.6/insert-ordered-containers-0.2.6.tar.gz) = 10586 +SHA256 (cabal/insert-ordered-containers-0.2.7/insert-ordered-containers-0.2.7.tar.gz) = 77edbb1b76e6598aeb05f0711942976432b52178cbfd2a62f4a87f3baf623617 +SIZE (cabal/insert-ordered-containers-0.2.7/insert-ordered-containers-0.2.7.tar.gz) = 10623 SHA256 (cabal/integer-conversion-0.1.1/integer-conversion-0.1.1.tar.gz) = c18164a048073310f6353ebc64c9037b52a4b8299963ce05e027bcf60e22155a SIZE (cabal/integer-conversion-0.1.1/integer-conversion-0.1.1.tar.gz) = 6179 SHA256 (cabal/integer-conversion-0.1.1/revision/1.cabal) = 941d4ae16e2124cbff5defe2abedb49efc8e03a594f817035bf231a317e6c1c9 @@ -283,32 +283,28 @@ SHA256 (cabal/invariant-0.6.4/revision/1.cabal) = 4a9a609f4e93ffed158b3b4f5a8082 SIZE (cabal/invariant-0.6.4/revision/1.cabal) = 3513 SHA256 (cabal/iproute-1.7.15/iproute-1.7.15.tar.gz) = 18a331a7e0e6f9dc89a2da95577b0d76bd2690b8f832b72b46d6cc9b667b4ba5 SIZE (cabal/iproute-1.7.15/iproute-1.7.15.tar.gz) = 18033 -SHA256 (cabal/isomorphism-class-0.3/isomorphism-class-0.3.tar.gz) = 39f07d6586782ce9b021aff7eabeebce3a59ed3923db69121d01cd054cee90c8 -SIZE (cabal/isomorphism-class-0.3/isomorphism-class-0.3.tar.gz) = 9869 +SHA256 (cabal/isomorphism-class-0.3.1.2/isomorphism-class-0.3.1.2.tar.gz) = 2c32cae55b8b8e3ca347e4898b8e0f3713d1a15a283c14718b0149b3fbbe527f +SIZE (cabal/isomorphism-class-0.3.1.2/isomorphism-class-0.3.1.2.tar.gz) = 10497 SHA256 (cabal/jose-jwt-0.10.0/jose-jwt-0.10.0.tar.gz) = e84caf97eb70bf21a4cf9933be23a5336163276c895e44f854d73947988d4b52 SIZE (cabal/jose-jwt-0.10.0/jose-jwt-0.10.0.tar.gz) = 41308 -SHA256 (cabal/kan-extensions-5.2.6/kan-extensions-5.2.6.tar.gz) = fa82283c1c9ac3dc0951b7ca9f5b2e6f13d8331c20154ebb222b509824eeeccc -SIZE (cabal/kan-extensions-5.2.6/kan-extensions-5.2.6.tar.gz) = 21718 -SHA256 (cabal/kan-extensions-5.2.6/revision/1.cabal) = e0b972f900a3c04c0f36d7e221e6b04343a5a1f00ce3aababff7932e173f0833 -SIZE (cabal/kan-extensions-5.2.6/revision/1.cabal) = 2581 +SHA256 (cabal/kan-extensions-5.2.7/kan-extensions-5.2.7.tar.gz) = c323acff95cdef6516f2f1a733a1f00f7e0caa1b7061f8831ed82e18fd37e158 +SIZE (cabal/kan-extensions-5.2.7/kan-extensions-5.2.7.tar.gz) = 21754 SHA256 (cabal/keys-3.12.4/keys-3.12.4.tar.gz) = 9412a2135cbf7fb285e01016aeb311d022ba9962fd9699ddef620f6dabd68912 SIZE (cabal/keys-3.12.4/keys-3.12.4.tar.gz) = 11890 SHA256 (cabal/keys-3.12.4/revision/1.cabal) = ce43085eb0506a2fff6020dc61351e1c0c61c29f90d3ea5030756f3ed50caa16 SIZE (cabal/keys-3.12.4/revision/1.cabal) = 2232 -SHA256 (cabal/lawful-conversions-0.1.6/lawful-conversions-0.1.6.tar.gz) = 6fcdca00fc797216363b10e602a151908657148cf63202c388d0565d1efae4be -SIZE (cabal/lawful-conversions-0.1.6/lawful-conversions-0.1.6.tar.gz) = 14843 -SHA256 (cabal/lens-5.2.3/lens-5.2.3.tar.gz) = df1e8ca8dd89d884994e0c80761a972088326fa43ed5d47c01b14abb710b994d -SIZE (cabal/lens-5.2.3/lens-5.2.3.tar.gz) = 703220 -SHA256 (cabal/lens-5.2.3/revision/5.cabal) = 08f4e81aa3fa3f175f6932089d6bb8b17669e3d00aa2968b853287e5e8d7f024 -SIZE (cabal/lens-5.2.3/revision/5.cabal) = 15237 +SHA256 (cabal/lawful-conversions-0.1.7/lawful-conversions-0.1.7.tar.gz) = 2306058d4009c4d597a0ded8d6d9f926af2fa9ddb3e9cadc67a1621a9e25c653 +SIZE (cabal/lawful-conversions-0.1.7/lawful-conversions-0.1.7.tar.gz) = 14797 +SHA256 (cabal/lens-5.3.5/lens-5.3.5.tar.gz) = efebacf3dfb108c96171e564f059778d21ac262a98a956fef8890223ed8f1fe8 +SIZE (cabal/lens-5.3.5/lens-5.3.5.tar.gz) = 707043 SHA256 (cabal/lens-aeson-1.2.3/lens-aeson-1.2.3.tar.gz) = 7bbc6affe248c84dfda13576636ecb52e575ee0e796d8c29a76a28c3ad424c01 SIZE (cabal/lens-aeson-1.2.3/lens-aeson-1.2.3.tar.gz) = 8273 SHA256 (cabal/lens-aeson-1.2.3/revision/2.cabal) = 5a733b4b5ac8e17d1e89704441597e9eb6e01e54ba86e5ecfbeaced9b28c82d7 SIZE (cabal/lens-aeson-1.2.3/revision/2.cabal) = 1691 SHA256 (cabal/math-functions-0.3.4.4/math-functions-0.3.4.4.tar.gz) = 2441d8dd50eff445356048b2a0cdf88c4a7ba0f56614293d4975e1b081faf8fa SIZE (cabal/math-functions-0.3.4.4/math-functions-0.3.4.4.tar.gz) = 429048 -SHA256 (cabal/megaparsec-9.6.1/megaparsec-9.6.1.tar.gz) = a32257be847dbe71ac22d512ab115f9ce26fa08bcdbea7ca8b5256a1700dcbff -SIZE (cabal/megaparsec-9.6.1/megaparsec-9.6.1.tar.gz) = 64913 +SHA256 (cabal/megaparsec-9.7.0/megaparsec-9.7.0.tar.gz) = b9ed423625bf20ae7a72480d40d2dd16018a67e2ec45afb840a3607aa931ec97 +SIZE (cabal/megaparsec-9.7.0/megaparsec-9.7.0.tar.gz) = 67078 SHA256 (cabal/memory-0.18.0/memory-0.18.0.tar.gz) = fd4eb6f638e24b81b4e6cdd68772a531726f2f67686c8969d3407d82f7862e3e SIZE (cabal/memory-0.18.0/memory-0.18.0.tar.gz) = 41957 SHA256 (cabal/memory-0.18.0/revision/1.cabal) = 9f4de967352f80b6f174c9a166f315393dde80b77d7b67e41268ae7dec0319f9 @@ -319,14 +315,12 @@ SHA256 (cabal/mwc-random-0.15.2.0/mwc-random-0.15.2.0.tar.gz) = 5843ab06e7c91093 SIZE (cabal/mwc-random-0.15.2.0/mwc-random-0.15.2.0.tar.gz) = 43086 SHA256 (cabal/neat-interpolation-0.5.1.4/neat-interpolation-0.5.1.4.tar.gz) = 8eb733e3b1d90d87e0cff8b648f4b8145e38afd558f2c8343029770c9f023ab7 SIZE (cabal/neat-interpolation-0.5.1.4/neat-interpolation-0.5.1.4.tar.gz) = 5741 -SHA256 (cabal/network-3.1.4.0/network-3.1.4.0.tar.gz) = b452a2afac95d9207357eb3820c719c7c7d27871ef4b6ed7bfcd03a036b9158e -SIZE (cabal/network-3.1.4.0/network-3.1.4.0.tar.gz) = 139988 -SHA256 (cabal/network-3.1.4.0/revision/1.cabal) = e152cdb03243afb52bbc740cfbe96905ca298a6f6342f0c47b3f2e227ff19def -SIZE (cabal/network-3.1.4.0/revision/1.cabal) = 5208 +SHA256 (cabal/network-3.2.7.0/network-3.2.7.0.tar.gz) = 68548e660632a3c09b230c33fe08cc880273372b485e65cbe7a717936de9728b +SIZE (cabal/network-3.2.7.0/network-3.2.7.0.tar.gz) = 145714 SHA256 (cabal/network-byte-order-0.1.7/network-byte-order-0.1.7.tar.gz) = 480ce0ad7f67364ec8d4ce8d815f463d9e4074e3789be22a5722cfdebed08679 SIZE (cabal/network-byte-order-0.1.7/network-byte-order-0.1.7.tar.gz) = 6402 -SHA256 (cabal/network-control-0.0.2/network-control-0.0.2.tar.gz) = 134e9c6f309641bfbb508d8c3957bca76a2715e71138f4c058dba675b06326d4 -SIZE (cabal/network-control-0.0.2/network-control-0.0.2.tar.gz) = 3410 +SHA256 (cabal/network-control-0.1.7/network-control-0.1.7.tar.gz) = 05d40d381e5c72beefb209b7e82877b457fbca2880e60ed849bad480b6795b10 +SIZE (cabal/network-control-0.1.7/network-control-0.1.7.tar.gz) = 7913 SHA256 (cabal/network-info-0.2.1/network-info-0.2.1.tar.gz) = 9b2d88312fc8280351d5003200cc07decbb865f85d3aa7b1094b238bd6a8b404 SIZE (cabal/network-info-0.2.1/network-info-0.2.1.tar.gz) = 6387 SHA256 (cabal/network-ip-0.3.0.3/network-ip-0.3.0.3.tar.gz) = e01dcc4389f3800536066ca150b6b5130d9d4b7fe7ed8e98ae7d92f3f7b1955c @@ -389,54 +383,42 @@ SHA256 (cabal/prettyprinter-1.7.1/prettyprinter-1.7.1.tar.gz) = 5e6ea6903114fa11 SIZE (cabal/prettyprinter-1.7.1/prettyprinter-1.7.1.tar.gz) = 56907 SHA256 (cabal/prettyprinter-ansi-terminal-1.1.3/prettyprinter-ansi-terminal-1.1.3.tar.gz) = 813739308ad6050620578994effe21058a170a341716acf52573fae42b5b1db3 SIZE (cabal/prettyprinter-ansi-terminal-1.1.3/prettyprinter-ansi-terminal-1.1.3.tar.gz) = 8879 -SHA256 (cabal/primitive-0.9.0.0/primitive-0.9.0.0.tar.gz) = 696d4bd291c94d736142d6182117dca4258d3ef28bfefdb649ac8b5ecd0999c7 -SIZE (cabal/primitive-0.9.0.0/primitive-0.9.0.0.tar.gz) = 60580 -SHA256 (cabal/primitive-0.9.0.0/revision/2.cabal) = de20bf4eff1f972088854c8efda6eaca2d3147aff62232c3707f059152638759 -SIZE (cabal/primitive-0.9.0.0/revision/2.cabal) = 3203 -SHA256 (cabal/profunctors-5.6.2/profunctors-5.6.2.tar.gz) = 65955d7b50525a4a3bccdab1d982d2ae342897fd38140d5a94b5ef3800d8c92a -SIZE (cabal/profunctors-5.6.2/profunctors-5.6.2.tar.gz) = 28522 -SHA256 (cabal/profunctors-5.6.2/revision/3.cabal) = e178ba4468982326656626e2089e296f64485e68fdddc9f4476dcd5d612b4f78 -SIZE (cabal/profunctors-5.6.2/revision/3.cabal) = 2484 +SHA256 (cabal/primitive-0.9.1.0/primitive-0.9.1.0.tar.gz) = 44b4de41813c7bc5db8a57f87c3612a069b65086946268ba165097252ebd3d76 +SIZE (cabal/primitive-0.9.1.0/primitive-0.9.1.0.tar.gz) = 61724 +SHA256 (cabal/profunctors-5.6.3/profunctors-5.6.3.tar.gz) = b9c6f427368d2e811e4c48b59005218672458fd2f00a02cbefb8be9c751c0ef3 +SIZE (cabal/profunctors-5.6.3/profunctors-5.6.3.tar.gz) = 28146 SHA256 (cabal/prometheus-client-1.1.1/prometheus-client-1.1.1.tar.gz) = 6a709ec749651d86e1e3a1189193d3d6a74489eaf8f10297c31cc863fc4644c8 SIZE (cabal/prometheus-client-1.1.1/prometheus-client-1.1.1.tar.gz) = 18636 -SHA256 (cabal/protolude-0.3.4/protolude-0.3.4.tar.gz) = f838998212470de45d5d70e380a55d431b468423cd8d315dc3165e874a157052 -SIZE (cabal/protolude-0.3.4/protolude-0.3.4.tar.gz) = 19321 +SHA256 (cabal/protolude-0.3.5/protolude-0.3.5.tar.gz) = c80a59429f5c8dd261b168cd2c55bbacd6ae6f5caa7f3bd2aaae632d77c40487 +SIZE (cabal/protolude-0.3.5/protolude-0.3.5.tar.gz) = 19331 SHA256 (cabal/psqueues-0.2.8.1/psqueues-0.2.8.1.tar.gz) = cb7e102f09e373b4a7be52bfbc9625d265c7216d05fe04c36b7ad684ed213f77 SIZE (cabal/psqueues-0.2.8.1/psqueues-0.2.8.1.tar.gz) = 27584 -SHA256 (cabal/ptr-0.16.8.6/ptr-0.16.8.6.tar.gz) = 1a18218b6117ce326df36a3a045a5250e04e19f2f29f90b1dd5bede08f83caa5 -SIZE (cabal/ptr-0.16.8.6/ptr-0.16.8.6.tar.gz) = 17694 -SHA256 (cabal/quickcheck-instances-0.3.32/quickcheck-instances-0.3.32.tar.gz) = 48f5f2e015e2349ac795247917cbf5f1a2e96a7a1382c4441a935e19a430ff83 -SIZE (cabal/quickcheck-instances-0.3.32/quickcheck-instances-0.3.32.tar.gz) = 12831 -SHA256 (cabal/quickcheck-instances-0.3.32/revision/1.cabal) = 8772458bddd354e07102bf05b45976896c278282e71ff8420beac6b9b77efb34 -SIZE (cabal/quickcheck-instances-0.3.32/revision/1.cabal) = 4340 -SHA256 (cabal/random-1.2.1.3/random-1.2.1.3.tar.gz) = e9c81926a7d1e40328f645f73592b31efc9c631589669a7f130687b9cc3051dc -SIZE (cabal/random-1.2.1.3/random-1.2.1.3.tar.gz) = 47117 +SHA256 (cabal/ptr-0.16.8.7/ptr-0.16.8.7.tar.gz) = 060b47508056206a8ce655e1665f131a705b8670970d30feaf37ea1d28b26802 +SIZE (cabal/ptr-0.16.8.7/ptr-0.16.8.7.tar.gz) = 17690 +SHA256 (cabal/quickcheck-instances-0.3.33/quickcheck-instances-0.3.33.tar.gz) = 6803cd547b027bcab7b029a69ad8428e28af842b7709113eb6a43ab2f2f08866 +SIZE (cabal/quickcheck-instances-0.3.33/quickcheck-instances-0.3.33.tar.gz) = 12882 +SHA256 (cabal/quickcheck-instances-0.3.33/revision/1.cabal) = 709fb12799f1b5b00112150168dbb57368ce6c741ec01f23cf44f9e7743e6cf6 +SIZE (cabal/quickcheck-instances-0.3.33/revision/1.cabal) = 4340 +SHA256 (cabal/random-1.3.1/random-1.3.1.tar.gz) = d840ac83f265b0cfa2a678f8ec78627eb50cf9be2f067c52c8a4239c29b71a35 +SIZE (cabal/random-1.3.1/random-1.3.1.tar.gz) = 63846 SHA256 (cabal/rebase-1.21.2/rebase-1.21.2.tar.gz) = 6c19f5576c888078f0c7f172da05873611bfc070617d033f4f14fedd3e82fffb SIZE (cabal/rebase-1.21.2/rebase-1.21.2.tar.gz) = 20324 -SHA256 (cabal/recv-0.1.0/recv-0.1.0.tar.gz) = f664905cffb44b7f9cba604cd75bd69011a666ba06bccbcb7f3fae0cd4f14d5b -SIZE (cabal/recv-0.1.0/recv-0.1.0.tar.gz) = 5158 +SHA256 (cabal/recv-0.1.1/recv-0.1.1.tar.gz) = 8daf77c57f529503dd3038efc3813a8001032ed810bdddff0acb0faca039b721 +SIZE (cabal/recv-0.1.1/recv-0.1.1.tar.gz) = 4772 SHA256 (cabal/reflection-2.1.9/reflection-2.1.9.tar.gz) = c6a7d5e41ad0ee1a05c660acf4fd34b21f38330eec165d246b7fffb398e59fb3 SIZE (cabal/reflection-2.1.9/reflection-2.1.9.tar.gz) = 17560 SHA256 (cabal/reflection-2.1.9/revision/1.cabal) = eaf28dc9884718a306ed1e0c215a24b36c68b8aa3be425617f66d886d43fe1e0 SIZE (cabal/reflection-2.1.9/revision/1.cabal) = 4171 -SHA256 (cabal/regex-base-0.94.0.2/regex-base-0.94.0.2.tar.gz) = 7b99408f580f5bb67a1c413e0bc735886608251331ad36322020f2169aea2ef1 -SIZE (cabal/regex-base-0.94.0.2/regex-base-0.94.0.2.tar.gz) = 10488 -SHA256 (cabal/regex-base-0.94.0.2/revision/4.cabal) = 0322b2fcd1358f3355e0c8608efa60d27b14d1c9d476451dbcb9181363bd8b27 -SIZE (cabal/regex-base-0.94.0.2/revision/4.cabal) = 2601 -SHA256 (cabal/regex-tdfa-1.3.2.2/regex-tdfa-1.3.2.2.tar.gz) = 933ed5c54246bb50e335d86b884ffb70bc252b5f776fb291f162a80a27bd75b7 -SIZE (cabal/regex-tdfa-1.3.2.2/regex-tdfa-1.3.2.2.tar.gz) = 83016 -SHA256 (cabal/regex-tdfa-1.3.2.2/revision/3.cabal) = e5ea15b2898c62c63fae798784bc402b3862733d97a4f7ee3ec4f9ae6f447478 -SIZE (cabal/regex-tdfa-1.3.2.2/revision/3.cabal) = 6997 +SHA256 (cabal/regex-base-0.94.0.3/regex-base-0.94.0.3.tar.gz) = e8ca2dee598c790dd1c1c4359bdd1e495d9b881f5aa1f539c22f0dd5563747bf +SIZE (cabal/regex-base-0.94.0.3/regex-base-0.94.0.3.tar.gz) = 10550 +SHA256 (cabal/regex-tdfa-1.3.2.4/regex-tdfa-1.3.2.4.tar.gz) = 078bc313b7441f173eb487d6f46fea6860a21452eff6e5cf730ac4dd74bca797 +SIZE (cabal/regex-tdfa-1.3.2.4/regex-tdfa-1.3.2.4.tar.gz) = 83099 SHA256 (cabal/rerebase-1.21.2/rerebase-1.21.2.tar.gz) = 77cc0d707ee0886b49206065476e77d0600e4c305b37701a38ef55e736a7fc10 SIZE (cabal/rerebase-1.21.2/rerebase-1.21.2.tar.gz) = 17208 SHA256 (cabal/resourcet-1.3.0/resourcet-1.3.0.tar.gz) = ec601785ee42a201f32adb205b8685c983f18757b1bd33d2e806d571e0f9996b SIZE (cabal/resourcet-1.3.0/resourcet-1.3.0.tar.gz) = 17620 SHA256 (cabal/retry-0.9.3.1/retry-0.9.3.1.tar.gz) = 622e35114b920f76fa2e1ae6515575b9973fac19c679f5426ea6574a5d0b7ed6 SIZE (cabal/retry-0.9.3.1/retry-0.9.3.1.tar.gz) = 18717 -SHA256 (cabal/safe-exceptions-0.1.7.4/safe-exceptions-0.1.7.4.tar.gz) = 3c51d8d50c9b60ff8bf94f942fd92e3bea9e62c5afa778dfc9f707b79da41ef6 -SIZE (cabal/safe-exceptions-0.1.7.4/safe-exceptions-0.1.7.4.tar.gz) = 15347 -SHA256 (cabal/safe-exceptions-0.1.7.4/revision/1.cabal) = 8bb7261bd54bd58acfcb154be6a161fb6d0d31a1852aadc8e927d2ad2d7651d1 -SIZE (cabal/safe-exceptions-0.1.7.4/revision/1.cabal) = 1412 SHA256 (cabal/scientific-0.3.8.0/scientific-0.3.8.0.tar.gz) = 13b343bca8aa26d7718e52e622e5a118056653edafcbc7ccc5333be7217218cf SIZE (cabal/scientific-0.3.8.0/scientific-0.3.8.0.tar.gz) = 24314 SHA256 (cabal/scientific-0.3.8.0/revision/2.cabal) = ba83a6701dd0110138443757aca4a42786afa94272b73045ef878fd860d1732e @@ -461,30 +443,30 @@ SHA256 (cabal/sop-core-0.5.0.2/revision/5.cabal) = 0bb74cafff423180df3909f5b7ce0 SIZE (cabal/sop-core-0.5.0.2/revision/5.cabal) = 3005 SHA256 (cabal/split-0.2.5/split-0.2.5.tar.gz) = 52da404e8397c1ab238354c8d4fd9a7e9c5cac8849cc2ce2e45facc85e74a913 SIZE (cabal/split-0.2.5/split-0.2.5.tar.gz) = 16008 -SHA256 (cabal/splitmix-0.1.1/splitmix-0.1.1.tar.gz) = d678c41a603a62032cf7e5f8336bb8222c93990e4b59c8b291b7ca26c7eb12c7 -SIZE (cabal/splitmix-0.1.1/splitmix-0.1.1.tar.gz) = 21981 +SHA256 (cabal/splitmix-0.1.3.1/splitmix-0.1.3.1.tar.gz) = b6bcd0d79bd4fe40975c8ebe803be2f3bfbf6006069a59745a325a0df3f86270 +SIZE (cabal/splitmix-0.1.3.1/splitmix-0.1.3.1.tar.gz) = 21955 SHA256 (cabal/streaming-commons-0.2.3.0/streaming-commons-0.2.3.0.tar.gz) = 26384af91f5ab9470b0bbdd0ce2172db43fc79730b7c5a3405d89c3663eb1e57 SIZE (cabal/streaming-commons-0.2.3.0/streaming-commons-0.2.3.0.tar.gz) = 37874 SHA256 (cabal/strict-0.5.1/strict-0.5.1.tar.gz) = 77719280c2a86312e748227bfa732eeaae0e7df48d57acc3c2e5b7b07afe2f8b SIZE (cabal/strict-0.5.1/strict-0.5.1.tar.gz) = 11798 SHA256 (cabal/strict-0.5.1/revision/1.cabal) = 58c373b7c7748cbb4a5a6c8c15073f99a1c10a9a9bb6894ac33f43a5cdb901f2 SIZE (cabal/strict-0.5.1/revision/1.cabal) = 3557 -SHA256 (cabal/strict-list-0.1.7.5/strict-list-0.1.7.5.tar.gz) = c3e3ff3e3f7bee7eff26511c92c26c14b8ac7cbdefba7fb9e24c4aa4ff01236b -SIZE (cabal/strict-list-0.1.7.5/strict-list-0.1.7.5.tar.gz) = 6785 -SHA256 (cabal/swagger2-2.8.9/swagger2-2.8.9.tar.gz) = 92a37bbfba482d6eaeedf8dd24a9658bdc9d7514fa51d7b8ab4c6e65a3c9caa1 -SIZE (cabal/swagger2-2.8.9/swagger2-2.8.9.tar.gz) = 66957 +SHA256 (cabal/strict-list-0.1.7.6/strict-list-0.1.7.6.tar.gz) = 756b16c12b5528cdb44ba905bdc78e5f4a749f33f630226645311a8d52207987 +SIZE (cabal/strict-list-0.1.7.6/strict-list-0.1.7.6.tar.gz) = 6786 +SHA256 (cabal/swagger2-2.8.10/swagger2-2.8.10.tar.gz) = 9217e63872beb80fb581c73a752e70fa21f2d7eaab5e86b014bdaead0dadc3e7 +SIZE (cabal/swagger2-2.8.10/swagger2-2.8.10.tar.gz) = 66780 SHA256 (cabal/tagged-0.8.9/tagged-0.8.9.tar.gz) = 6daad88ebb414ba6a556d2898d2cbe7650e4276010e3a6eed939daf54b956784 SIZE (cabal/tagged-0.8.9/tagged-0.8.9.tar.gz) = 8151 SHA256 (cabal/tasty-1.5.3/tasty-1.5.3.tar.gz) = 54a0c7b644813af871a3726ac8771b5e17b5158c792a7acf8f9e2d3ae9360780 SIZE (cabal/tasty-1.5.3/tasty-1.5.3.tar.gz) = 66548 SHA256 (cabal/tasty-1.5.3/revision/2.cabal) = 6b5dda3f16db1274a0b3e6c4073ac57172a1e96b1dca05666c5cbd1183639412 SIZE (cabal/tasty-1.5.3/revision/2.cabal) = 2923 -SHA256 (cabal/template-haskell-compat-v0208-0.1.9.4/template-haskell-compat-v0208-0.1.9.4.tar.gz) = 567718b6f56dbf0f0e42ba35a7d6346185e35d640402932fd1956b19dfcd518a -SIZE (cabal/template-haskell-compat-v0208-0.1.9.4/template-haskell-compat-v0208-0.1.9.4.tar.gz) = 3198 -SHA256 (cabal/text-builder-0.6.7.2/text-builder-0.6.7.2.tar.gz) = 6194f3076933bbe361e225461a10fd8ab29bd5476294ffb80a6af17c8535c7dd -SIZE (cabal/text-builder-0.6.7.2/text-builder-0.6.7.2.tar.gz) = 6093 -SHA256 (cabal/text-builder-dev-0.3.9/text-builder-dev-0.3.9.tar.gz) = 90071fbd545673575b619a2839509ad36137a9bdcd28c2d5e2eaa4b3067f4e1e -SIZE (cabal/text-builder-dev-0.3.9/text-builder-dev-0.3.9.tar.gz) = 13779 +SHA256 (cabal/template-haskell-compat-v0208-0.1.9.5/template-haskell-compat-v0208-0.1.9.5.tar.gz) = 51359f8dc8d51f30b59521d214837d13c4f6c9b5c4afd0eba813c26cc2449d1f +SIZE (cabal/template-haskell-compat-v0208-0.1.9.5/template-haskell-compat-v0208-0.1.9.5.tar.gz) = 3194 +SHA256 (cabal/text-builder-0.6.10/text-builder-0.6.10.tar.gz) = 063111d149a202ee6a22e54c36dcf6b4386406059a60e33fc9fd13dc6f255f51 +SIZE (cabal/text-builder-0.6.10/text-builder-0.6.10.tar.gz) = 7301 +SHA256 (cabal/text-builder-dev-0.3.10/text-builder-dev-0.3.10.tar.gz) = 433fcb971640b0530c43d8abae05c3b0527b6632b26d8aba044dcd0dfad29454 +SIZE (cabal/text-builder-dev-0.3.10/text-builder-dev-0.3.10.tar.gz) = 13557 SHA256 (cabal/text-iso8601-0.1.1/text-iso8601-0.1.1.tar.gz) = 9dead2b7ceeae40fe0fc060bd54795c32e9926c9d1aebae8f9b9a621fba88202 SIZE (cabal/text-iso8601-0.1.1/text-iso8601-0.1.1.tar.gz) = 9599 SHA256 (cabal/text-iso8601-0.1.1/revision/2.cabal) = e07a625eef969338992bf9bba8e5dc73f07ac65f991ba636b8f1175890d15849 @@ -511,8 +493,8 @@ SHA256 (cabal/these-1.2.1/revision/2.cabal) = 35c57aede96c15ea1fed559ac287b1168e SIZE (cabal/these-1.2.1/revision/2.cabal) = 2294 SHA256 (cabal/time-compat-1.9.8/time-compat-1.9.8.tar.gz) = 502ef8694a5b131b47c0e5df2e9053d005a3b345b30f5225af04f081d3ef5cf0 SIZE (cabal/time-compat-1.9.8/time-compat-1.9.8.tar.gz) = 63414 -SHA256 (cabal/time-manager-0.0.1/time-manager-0.0.1.tar.gz) = 07492523fabc69b8ec308f6276cc93df3dd060c91f23df2ac8a1f56d331ea05b -SIZE (cabal/time-manager-0.0.1/time-manager-0.0.1.tar.gz) = 2746 +SHA256 (cabal/time-manager-0.2.3/time-manager-0.2.3.tar.gz) = eeb7c33d3b4492af771db0061222239a29727ee68a786a0488b1dba0a63d68e8 +SIZE (cabal/time-manager-0.2.3/time-manager-0.2.3.tar.gz) = 5840 SHA256 (cabal/timeit-2.0/timeit-2.0.tar.gz) = a14df4e578db371e5c609f0784209144545f9cae90026d24a3398042f7c591ea SIZE (cabal/timeit-2.0/timeit-2.0.tar.gz) = 2117 SHA256 (cabal/timeit-2.0/revision/2.cabal) = 35d7c3ce64b458bbb1200320203f21281c975c85acc636a634500601c474fded @@ -523,14 +505,10 @@ SHA256 (cabal/transformers-compat-0.7.2/transformers-compat-0.7.2.tar.gz) = b62c SIZE (cabal/transformers-compat-0.7.2/transformers-compat-0.7.2.tar.gz) = 46485 SHA256 (cabal/type-hint-0.1/type-hint-0.1.tar.gz) = 1161cdbf4b4b43c2953ee60438e948737604193e1bfe2c880ff178538faa99b9 SIZE (cabal/type-hint-0.1/type-hint-0.1.tar.gz) = 3092 -SHA256 (cabal/unix-compat-0.7.3/unix-compat-0.7.3.tar.gz) = 7a4fad870952d632d55c8cfe2aad8b55ac95585dacae052fbea4e32968821d87 -SIZE (cabal/unix-compat-0.7.3/unix-compat-0.7.3.tar.gz) = 15593 -SHA256 (cabal/unix-compat-0.7.3/revision/1.cabal) = e1132808d30ad1adbcf1ba7f06c3dfe712a7ee382b225eb975e0ab8cfe0c21cd -SIZE (cabal/unix-compat-0.7.3/revision/1.cabal) = 3287 -SHA256 (cabal/unix-time-0.4.16/unix-time-0.4.16.tar.gz) = ace2a7126d7344feb3221680c556de7f28a969fb287d49bd4a2d7df18fe638e9 -SIZE (cabal/unix-time-0.4.16/unix-time-0.4.16.tar.gz) = 52594 -SHA256 (cabal/unliftio-0.2.25.0/unliftio-0.2.25.0.tar.gz) = fb85a22291e78f9e58cd7f5e563a726500ad1a004b3b335b93c0975b828a112b -SIZE (cabal/unliftio-0.2.25.0/unliftio-0.2.25.0.tar.gz) = 58335 +SHA256 (cabal/unix-compat-0.7.4/unix-compat-0.7.4.tar.gz) = 689b3a960c8fe12910554aa5b739d5c4769c1d180ade20402fde2ed49db7eff4 +SIZE (cabal/unix-compat-0.7.4/unix-compat-0.7.4.tar.gz) = 15586 +SHA256 (cabal/unix-time-0.4.17/unix-time-0.4.17.tar.gz) = f63a05be5dcc5ac8f72c26c9fef8dcc993638ca9b545b9bd69b8a3924c201f8c +SIZE (cabal/unix-time-0.4.17/unix-time-0.4.17.tar.gz) = 53677 SHA256 (cabal/unliftio-core-0.2.1.0/unliftio-core-0.2.1.0.tar.gz) = 99384cba8d56d9d61b85e38a313a93ebcdb78be6566367f0930ef580597fe3e3 SIZE (cabal/unliftio-core-0.2.1.0/unliftio-core-0.2.1.0.tar.gz) = 3865 SHA256 (cabal/unliftio-core-0.2.1.0/revision/4.cabal) = f6a2736f858b5390d9384dca43d3ea4d96e9ca17217791791ca4951ba6e8072a @@ -555,16 +533,16 @@ SHA256 (cabal/vault-0.3.1.5/revision/10.cabal) = 212cc25cd6730a565def636d39fe3fb SIZE (cabal/vault-0.3.1.5/revision/10.cabal) = 2210 SHA256 (cabal/vector-0.13.2.0/vector-0.13.2.0.tar.gz) = 28f203c786cbf8ac6dc3fea3378ec36f34173d505fb4a1dd60fc8418ad91c423 SIZE (cabal/vector-0.13.2.0/vector-0.13.2.0.tar.gz) = 185739 -SHA256 (cabal/vector-0.13.2.0/revision/1.cabal) = b736a57b73520d2acf4865e3e2b40030d69782f35f870e376dc717ee2508d81f -SIZE (cabal/vector-0.13.2.0/revision/1.cabal) = 8804 -SHA256 (cabal/vector-algorithms-0.9.0.3/vector-algorithms-0.9.0.3.tar.gz) = 61900b798fc6a581dd0916b32a1397aaed022d7f92fd737d663cbbf4d7144d9e -SIZE (cabal/vector-algorithms-0.9.0.3/vector-algorithms-0.9.0.3.tar.gz) = 29395 -SHA256 (cabal/vector-instances-3.4.2/vector-instances-3.4.2.tar.gz) = 34d92d6e77f64e8f7d79cde4a1d61799faec1b760b144935afc6f4a78877d667 -SIZE (cabal/vector-instances-3.4.2/vector-instances-3.4.2.tar.gz) = 4042 +SHA256 (cabal/vector-0.13.2.0/revision/2.cabal) = 9ac338c8da52d8a37db08434ca4480fef2cea4f9aac240f4f994bb467f5275b4 +SIZE (cabal/vector-0.13.2.0/revision/2.cabal) = 8804 +SHA256 (cabal/vector-algorithms-0.9.1.0/vector-algorithms-0.9.1.0.tar.gz) = d2b674676802670d8a682b357da6b6b5741b4a33b191f0ffe5f2b2bc40558eb2 +SIZE (cabal/vector-algorithms-0.9.1.0/vector-algorithms-0.9.1.0.tar.gz) = 29426 +SHA256 (cabal/vector-instances-3.4.3/vector-instances-3.4.3.tar.gz) = 67259803df61fad998e2e8410253ca0552d25d7dfb87d0ddc702c82277314caa +SIZE (cabal/vector-instances-3.4.3/vector-instances-3.4.3.tar.gz) = 4172 SHA256 (cabal/vector-stream-0.1.0.1/vector-stream-0.1.0.1.tar.gz) = d0f507334bdea5431a2f07f525a97f29e76522c32210f5de6d5a2b4f1d42bf7c SIZE (cabal/vector-stream-0.1.0.1/vector-stream-0.1.0.1.tar.gz) = 12577 -SHA256 (cabal/vector-stream-0.1.0.1/revision/3.cabal) = 5ac96695212a45ae7dc16d8031dbf5311da53e052c35f7ad4a8e2db7fafb651e -SIZE (cabal/vector-stream-0.1.0.1/revision/3.cabal) = 1642 +SHA256 (cabal/vector-stream-0.1.0.1/revision/4.cabal) = 483be6df13c72169a917640589666f9fece7bea9fa13fcd41d052dab37ea289e +SIZE (cabal/vector-stream-0.1.0.1/revision/4.cabal) = 1642 SHA256 (cabal/void-0.7.3/void-0.7.3.tar.gz) = 53af758ddc37dc63981671e503438d02c6f64a2d8744e9bec557a894431f7317 SIZE (cabal/void-0.7.3/void-0.7.3.tar.gz) = 6741 SHA256 (cabal/wai-3.2.4/wai-3.2.4.tar.gz) = a6088f847d886d7c767092d170c03c7690d197eb3189d7cc67dbaaab33bf6d94 @@ -575,8 +553,8 @@ SHA256 (cabal/wai-extra-3.1.17/wai-extra-3.1.17.tar.gz) = c7d66e48509331e9035ec4 SIZE (cabal/wai-extra-3.1.17/wai-extra-3.1.17.tar.gz) = 86677 SHA256 (cabal/wai-logger-2.5.0/wai-logger-2.5.0.tar.gz) = 5cfbd3076b1f94aca3bd2def06b136b36a22d37974f31c7732b8526ebec3e184 SIZE (cabal/wai-logger-2.5.0/wai-logger-2.5.0.tar.gz) = 6615 -SHA256 (cabal/warp-3.3.31/warp-3.3.31.tar.gz) = 7ca9c7df2ba44ffe225df63866f32b14b70ea2c045ff9301bac982ce377ec38d -SIZE (cabal/warp-3.3.31/warp-3.3.31.tar.gz) = 67075 +SHA256 (cabal/warp-3.4.8/warp-3.4.8.tar.gz) = d4df0ab0eb14bc044672533e40ef9fb30ac740dee5df14ab864b173ac45fc750 +SIZE (cabal/warp-3.4.8/warp-3.4.8.tar.gz) = 68978 SHA256 (cabal/witherable-0.5/witherable-0.5.tar.gz) = 48434cc1e465b13cbc0133a90c3ec0d827c93b77ce95807fe0a38b65f4918cd1 SIZE (cabal/witherable-0.5/witherable-0.5.tar.gz) = 10819 SHA256 (cabal/witherable-0.5/revision/1.cabal) = 85bab588ebca37996fc3171b9d8b2e065eb0536c9f44224bcf037c0849a881de @@ -587,5 +565,5 @@ SHA256 (cabal/zlib-0.7.1.0/zlib-0.7.1.0.tar.gz) = 6edd38b6b81df8d274952aa85affa6 SIZE (cabal/zlib-0.7.1.0/zlib-0.7.1.0.tar.gz) = 29318 SHA256 (cabal/zlib-0.7.1.0/revision/2.cabal) = 85e64a75c0b490506a7edaa2d54950c668e66b65758bb08bb14cd31faf53a206 SIZE (cabal/zlib-0.7.1.0/revision/2.cabal) = 5357 -SHA256 (cabal/PostgREST-postgrest-v13.0.4_GH0.tar.gz) = 515ea77c049ef69f4553940ef0f13018dc2b72792195ec11a2020fe8914ceab9 -SIZE (cabal/PostgREST-postgrest-v13.0.4_GH0.tar.gz) = 1841931 +SHA256 (cabal/PostgREST-postgrest-v13.0.6_GH0.tar.gz) = 4836957084172cbf8cfeaa51f5627a93c2fe8f36e2754ee8a36b003391164991 +SIZE (cabal/PostgREST-postgrest-v13.0.6_GH0.tar.gz) = 1842310 diff --git a/www/hurl/Makefile b/www/hurl/Makefile index 8e4563e7be6d..28656a79511a 100644 --- a/www/hurl/Makefile +++ b/www/hurl/Makefile @@ -1,5 +1,6 @@ PORTNAME= hurl DISTVERSION= 7.0.0 +PORTREVISION= 1 CATEGORIES= www MAINTAINER= rodrigo@FreeBSD.org diff --git a/www/icapeg/Makefile b/www/icapeg/Makefile index 3594dff63c2a..f718eac192ac 100644 --- a/www/icapeg/Makefile +++ b/www/icapeg/Makefile @@ -1,7 +1,7 @@ PORTNAME= icapeg DISTVERSIONPREFIX= v DISTVERSION= 1.0.0 -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= www MAINTAINER= support@egirna.com diff --git a/www/imaginary/Makefile b/www/imaginary/Makefile index 4114fd4cc93c..677fcbe70462 100644 --- a/www/imaginary/Makefile +++ b/www/imaginary/Makefile @@ -1,6 +1,6 @@ PORTNAME= imaginary PORTVERSION= 20250114 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MAINTAINER= skozlov@FreeBSD.org diff --git a/www/iridium/Makefile b/www/iridium/Makefile index d8114e35f353..2aad80089721 100644 --- a/www/iridium/Makefile +++ b/www/iridium/Makefile @@ -1,6 +1,6 @@ PORTNAME= iridium PORTVERSION= 2025.06.137.3 -PORTREVISION= 3 +PORTREVISION= 4 PULSEMV= 16 PULSEV= ${PULSEMV}.1 CATEGORIES= www wayland diff --git a/www/iridium/files/patch-build_rust_allocator_lib.rs b/www/iridium/files/patch-build_rust_allocator_lib.rs new file mode 100644 index 000000000000..a3a636371887 --- /dev/null +++ b/www/iridium/files/patch-build_rust_allocator_lib.rs @@ -0,0 +1,18 @@ +https://chromium.googlesource.com/chromium/src/+/8393b61ba876c8e1614275c97767f9b06b889f48 +https://chromium.googlesource.com/chromium/src/+/6aae0e2353c857d98980ff677bf304288d7c58de + + +--- build/rust/allocator/lib.rs.orig 2025-06-18 14:17:42.000000000 +0200 ++++ build/rust/allocator/lib.rs 2025-08-24 10:57:12.002293000 +0200 +@@ -89,9 +89,8 @@ mod both_allocators { + /// As part of rustc's contract for using `#[global_allocator]` without + /// rustc-generated shims we must define this symbol, since we are opting in + /// to unstable functionality. See https://github.com/rust-lang/rust/issues/123015 +- #[no_mangle] +- #[linkage = "weak"] +- static __rust_no_alloc_shim_is_unstable: u8 = 0; ++ #[rustc_std_internal_symbol] ++ fn __rust_no_alloc_shim_is_unstable_v2() {} + + // Mangle the symbol name as rustc expects. + #[rustc_std_internal_symbol] diff --git a/www/iridium/files/patch-content_browser_BUILD.gn b/www/iridium/files/patch-content_browser_BUILD.gn index e8240806ac8c..477ca0ded3bb 100644 --- a/www/iridium/files/patch-content_browser_BUILD.gn +++ b/www/iridium/files/patch-content_browser_BUILD.gn @@ -1,6 +1,14 @@ ---- content/browser/BUILD.gn.orig 2025-06-19 07:37:57 UTC +--- content/browser/BUILD.gn.orig 2025-06-18 12:17:42 UTC +++ content/browser/BUILD.gn -@@ -2571,6 +2571,14 @@ source_set("browser") { +@@ -125,6 +125,7 @@ source_set("browser") { + "//components/optimization_guide/core:features", + "//components/optimization_guide/public/mojom", + "//components/os_crypt/sync", ++ "//components/paint_preview/buildflags:buildflags", + "//components/payments/content/icon", + "//components/payments/mojom", + "//components/performance_manager/scenario_api", +@@ -2571,6 +2572,14 @@ source_set("browser") { ] } @@ -15,7 +23,7 @@ if (is_linux || is_chromeos) { sources -= [ "file_system_access/file_path_watcher/file_path_watcher_stub.cc" ] -@@ -2616,6 +2624,15 @@ source_set("browser") { +@@ -2616,6 +2625,15 @@ source_set("browser") { if (allow_oop_video_decoder) { sources += [ "media/oop_video_decoder_factory.cc" ] deps += [ "//media/mojo/mojom" ] diff --git a/www/iridium/files/patch-net_BUILD.gn b/www/iridium/files/patch-net_BUILD.gn index cd6138a37fae..d30dac474cef 100644 --- a/www/iridium/files/patch-net_BUILD.gn +++ b/www/iridium/files/patch-net_BUILD.gn @@ -1,4 +1,4 @@ ---- net/BUILD.gn.orig 2025-06-19 07:37:57 UTC +--- net/BUILD.gn.orig 2025-06-18 12:17:42 UTC +++ net/BUILD.gn @@ -126,7 +126,7 @@ net_configs = [ "//build/config/compiler:wexit_time_destructors", @@ -9,7 +9,15 @@ net_configs += [ "//build/config/linux:libresolv" ] } -@@ -1334,6 +1334,19 @@ component("net") { +@@ -1138,6 +1138,7 @@ component("net") { + ":net_deps", + "//components/miracle_parameter/common", + "//components/network_time/time_tracker", ++ "//content/public/common:buildflags", + "//net/http:transport_security_state_generated_files", + "//third_party/simdutf:simdutf", + ] +@@ -1334,6 +1335,19 @@ component("net") { ] } @@ -29,7 +37,7 @@ if (is_mac) { sources += [ "base/network_notification_thread_mac.cc", -@@ -1497,7 +1510,7 @@ component("net") { +@@ -1497,7 +1511,7 @@ component("net") { } # Use getifaddrs() on POSIX platforms, except Linux. @@ -38,7 +46,7 @@ sources += [ "base/network_interfaces_getifaddrs.cc", "base/network_interfaces_getifaddrs.h", -@@ -2207,7 +2220,7 @@ static_library("test_support") { +@@ -2207,7 +2221,7 @@ static_library("test_support") { ] } @@ -47,7 +55,7 @@ sources += [ "base/address_tracker_linux_test_util.cc", "base/address_tracker_linux_test_util.h", -@@ -3030,14 +3043,14 @@ target(_test_target_type, "net_unittests") { +@@ -3030,14 +3044,14 @@ target(_test_target_type, "net_unittests") { ] } @@ -64,7 +72,7 @@ sources += [ "base/address_tracker_linux_unittest.cc", "base/network_interfaces_linux_unittest.cc", -@@ -3135,6 +3148,10 @@ target(_test_target_type, "net_unittests") { +@@ -3135,6 +3149,10 @@ target(_test_target_type, "net_unittests") { ] } @@ -75,7 +83,7 @@ if (enable_websockets) { sources += [ "server/http_connection_unittest.cc", -@@ -3200,7 +3217,7 @@ target(_test_target_type, "net_unittests") { +@@ -3200,7 +3218,7 @@ target(_test_target_type, "net_unittests") { ] } @@ -84,7 +92,7 @@ sources += [ "tools/quic/quic_simple_server_test.cc" ] } -@@ -3339,7 +3356,7 @@ target(_test_target_type, "net_unittests") { +@@ -3339,7 +3357,7 @@ target(_test_target_type, "net_unittests") { } # Use getifaddrs() on POSIX platforms, except Linux. diff --git a/www/jira-cli/Makefile b/www/jira-cli/Makefile index 5b59b52142eb..f1b96b40853c 100644 --- a/www/jira-cli/Makefile +++ b/www/jira-cli/Makefile @@ -1,7 +1,7 @@ PORTNAME= jira-cli DISTVERSIONPREFIX= v -DISTVERSION= 1.6.0 -PORTREVISION= 4 +DISTVERSION= 1.7.0 +PORTREVISION= 1 CATEGORIES= www DIST_SUBDIR= jira-cli diff --git a/www/jira-cli/distinfo b/www/jira-cli/distinfo index e4ce10ecbd87..2676d991a8ea 100644 --- a/www/jira-cli/distinfo +++ b/www/jira-cli/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1746167061 -SHA256 (go/www_jira-cli/jira-cli-v1.6.0/v1.6.0.mod) = 3f26481454741fe185dfa6852a62f7d20e1fa0cb42fafef5f6d74e8e1568eed4 -SIZE (go/www_jira-cli/jira-cli-v1.6.0/v1.6.0.mod) = 3573 -SHA256 (go/www_jira-cli/jira-cli-v1.6.0/v1.6.0.zip) = 8677cbf397d912b82e3afa2b6ae9efb645df4b3a2e05a14b43f7751dfb2155ef -SIZE (go/www_jira-cli/jira-cli-v1.6.0/v1.6.0.zip) = 53411127 +TIMESTAMP = 1756743680 +SHA256 (go/www_jira-cli/jira-cli-v1.7.0/v1.7.0.mod) = 3f26481454741fe185dfa6852a62f7d20e1fa0cb42fafef5f6d74e8e1568eed4 +SIZE (go/www_jira-cli/jira-cli-v1.7.0/v1.7.0.mod) = 3573 +SHA256 (go/www_jira-cli/jira-cli-v1.7.0/v1.7.0.zip) = 71f5caf245e6df1a8a3f71211134a09eb6a2af5825b72fb2c6176716f1848032 +SIZE (go/www_jira-cli/jira-cli-v1.7.0/v1.7.0.zip) = 53417390 diff --git a/www/jwt-cli/Makefile b/www/jwt-cli/Makefile index 8037951c1a8f..3446e28863e5 100644 --- a/www/jwt-cli/Makefile +++ b/www/jwt-cli/Makefile @@ -1,6 +1,6 @@ PORTNAME= jwt-cli PORTVERSION= 6.2.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= www MAINTAINER= osa@FreeBSD.org diff --git a/www/katana/Makefile b/www/katana/Makefile index 78cd178aafa3..ba8fc3a2a587 100644 --- a/www/katana/Makefile +++ b/www/katana/Makefile @@ -1,7 +1,7 @@ PORTNAME= katana DISTVERSIONPREFIX= v DISTVERSION= 1.1.3 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= www MAINTAINER= dutra@FreeBSD.org diff --git a/www/kineto/Makefile b/www/kineto/Makefile index f69d890657fb..c8bec1eedc6d 100644 --- a/www/kineto/Makefile +++ b/www/kineto/Makefile @@ -1,6 +1,6 @@ PORTNAME= kineto DISTVERSION= g20211104 -PORTREVISION= 28 +PORTREVISION= 29 CATEGORIES= www MAINTAINER= corey@electrickite.org diff --git a/www/lexbor/Makefile b/www/lexbor/Makefile index 133d6db27c71..1da0d4d8bef1 100644 --- a/www/lexbor/Makefile +++ b/www/lexbor/Makefile @@ -1,7 +1,6 @@ PORTNAME= lexbor DISTVERSIONPREFIX= v -DISTVERSION= 2.4.0 -PORTREVISION= 1 +DISTVERSION= 2.5.0 CATEGORIES= www MAINTAINER= alven@FreeBSD.org @@ -16,8 +15,6 @@ USES= cmake:testing USE_GITHUB= yes USE_LDCONFIG= yes -PLIST_SUB= SOVERSION=${DISTVERSION} - CMAKE_TESTING_ON= LEXBOR_BUILD_TESTS PLIST_SUB= SOVERSION=${DISTVERSION} diff --git a/www/lexbor/distinfo b/www/lexbor/distinfo index ff34096ae56b..6a93973a4514 100644 --- a/www/lexbor/distinfo +++ b/www/lexbor/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1732283398 -SHA256 (lexbor-lexbor-v2.4.0_GH0.tar.gz) = 8949744d425743828891de6d80327ccb64b5146f71ff6c992644e6234e63930e -SIZE (lexbor-lexbor-v2.4.0_GH0.tar.gz) = 4245007 +TIMESTAMP = 1755378162 +SHA256 (lexbor-lexbor-v2.5.0_GH0.tar.gz) = d89060bb2fb6f7d0e0f399495155dd15e06697aa2c6568eab70ecd4a43084ba9 +SIZE (lexbor-lexbor-v2.5.0_GH0.tar.gz) = 5371588 diff --git a/www/lexbor/pkg-plist b/www/lexbor/pkg-plist index 82fef58b0cf0..e28df80150cc 100644 --- a/www/lexbor/pkg-plist +++ b/www/lexbor/pkg-plist @@ -1,3 +1,4 @@ +@dir include/lexbor/html/tree/insertion_mode include/lexbor/core/array.h include/lexbor/core/array_obj.h include/lexbor/core/avl.h @@ -98,6 +99,8 @@ include/lexbor/encoding/multi.h include/lexbor/encoding/range.h include/lexbor/encoding/res.h include/lexbor/encoding/single.h +include/lexbor/engine/base.h +include/lexbor/engine/engine.h include/lexbor/html/base.h include/lexbor/html/encoding.h include/lexbor/html/html.h @@ -179,7 +182,6 @@ include/lexbor/html/interfaces/window.h include/lexbor/html/node.h include/lexbor/html/parser.h include/lexbor/html/serialize.h -include/lexbor/html/style.h include/lexbor/html/tag.h include/lexbor/html/tag_res.h include/lexbor/html/token.h @@ -208,54 +210,21 @@ include/lexbor/punycode/base.h include/lexbor/punycode/punycode.h include/lexbor/selectors/base.h include/lexbor/selectors/selectors.h +include/lexbor/style/base.h +include/lexbor/style/dom/interfaces/document.h +include/lexbor/style/dom/interfaces/element.h +include/lexbor/style/event.h +include/lexbor/style/html/interfaces/document.h +include/lexbor/style/html/interfaces/element.h +include/lexbor/style/html/interfaces/style_element.h +include/lexbor/style/style.h include/lexbor/tag/base.h include/lexbor/tag/const.h include/lexbor/tag/res.h include/lexbor/tag/tag.h include/lexbor/unicode/base.h include/lexbor/unicode/idna.h -include/lexbor/unicode/table_0.h -include/lexbor/unicode/table_1.h -include/lexbor/unicode/table_10.h -include/lexbor/unicode/table_11.h -include/lexbor/unicode/table_12.h -include/lexbor/unicode/table_13.h -include/lexbor/unicode/table_14.h -include/lexbor/unicode/table_15.h -include/lexbor/unicode/table_16.h -include/lexbor/unicode/table_17.h -include/lexbor/unicode/table_18.h -include/lexbor/unicode/table_19.h -include/lexbor/unicode/table_2.h -include/lexbor/unicode/table_20.h -include/lexbor/unicode/table_21.h -include/lexbor/unicode/table_22.h -include/lexbor/unicode/table_23.h -include/lexbor/unicode/table_24.h -include/lexbor/unicode/table_25.h -include/lexbor/unicode/table_26.h -include/lexbor/unicode/table_27.h -include/lexbor/unicode/table_28.h -include/lexbor/unicode/table_29.h -include/lexbor/unicode/table_3.h -include/lexbor/unicode/table_30.h -include/lexbor/unicode/table_31.h -include/lexbor/unicode/table_32.h -include/lexbor/unicode/table_33.h -include/lexbor/unicode/table_34.h -include/lexbor/unicode/table_35.h -include/lexbor/unicode/table_36.h -include/lexbor/unicode/table_37.h -include/lexbor/unicode/table_38.h -include/lexbor/unicode/table_39.h -include/lexbor/unicode/table_4.h -include/lexbor/unicode/table_5.h -include/lexbor/unicode/table_6.h -include/lexbor/unicode/table_7.h -include/lexbor/unicode/table_8.h -include/lexbor/unicode/table_9.h -include/lexbor/unicode/table_compose.h -include/lexbor/unicode/table_idna_types.h +include/lexbor/unicode/res.h include/lexbor/unicode/unicode.h include/lexbor/url/base.h include/lexbor/url/url.h @@ -267,70 +236,68 @@ lib/liblexbor.so lib/liblexbor.so.2 lib/liblexbor.so.%%SOVERSION%% %%STATIC%%lib/liblexbor_static.a -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/CMakeLists.txt -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/css/CMakeLists.txt -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/css/StyleSheet.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/css/base.h -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/css/selectors/list_easy_way.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/css/selectors/list_fast_way.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/css/syntax/simple_colorize.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/css/syntax/structure_parse_file.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/css/syntax/tokenizer/chunks_stdin.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/css/syntax/tokenizer/from_file.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/css/syntax/tokenizer/print_raw.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/CMakeLists.txt -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/buffer/decode/decode.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/buffer/decode/decoder.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/buffer/decode/validate.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/buffer/encode/encode.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/buffer/encode/encoder.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/buffer/encode/validate.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/buffer/from_to.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/data_by_name.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/single/decode/decode.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/single/decode/decoder.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/single/decode/validate.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/single/encode/encode.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/single/encode/encoder.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/single/encode/validate.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/single/from_to.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/CMakeLists.txt -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/base.h -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/document_parse.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/document_parse_chunk.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/document_title.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/element_attributes.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/element_create.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/element_innerHTML.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/elements_by_attr.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/elements_by_class_name.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/elements_by_tag_name.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/encoding.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/html2sexpr.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/parse.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/parse_chunk.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/tokenizer/callback.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/tokenizer/simple.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/tokenizer/tag_attributes.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/tokenizer/text.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/punycode/CMakeLists.txt -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/punycode/decode.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/punycode/encode.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/selectors/CMakeLists.txt -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/selectors/easy_way.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/selectors/normal_way.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/selectors/unique_nodes.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/styles/CMakeLists.txt -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/styles/attribute_style.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/styles/base.h -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/styles/events_insert.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/styles/stylesheet.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/styles/walk.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/unicode/CMakeLists.txt -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/unicode/idna_to_ascii.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/unicode/normalization_form.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/unicode/normalization_form_stdin.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/url/CMakeLists.txt -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/url/parse.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/url/relative.c -@dir include/lexbor/html/tree/insertion_mode +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/CMakeLists.txt +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/css/CMakeLists.txt +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/css/StyleSheet.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/css/base.h +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/css/selectors/list_easy_way.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/css/selectors/list_fast_way.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/css/syntax/simple_colorize.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/css/syntax/structure_parse_file.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/css/syntax/tokenizer/from_file.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/css/syntax/tokenizer/print_raw.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/CMakeLists.txt +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/buffer/decode/decode.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/buffer/decode/decoder.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/buffer/decode/validate.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/buffer/encode/encode.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/buffer/encode/encoder.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/buffer/encode/validate.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/buffer/from_to.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/data_by_name.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/single/decode/decode.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/single/decode/decoder.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/single/decode/validate.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/single/encode/encode.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/single/encode/encoder.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/single/encode/validate.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/encoding/single/from_to.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/CMakeLists.txt +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/base.h +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/document_parse.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/document_parse_chunk.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/document_title.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/element_attributes.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/element_create.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/element_innerHTML.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/elements_by_attr.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/elements_by_class_name.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/elements_by_tag_name.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/encoding.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/html2sexpr.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/parse.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/parse_chunk.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/tokenizer/callback.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/tokenizer/simple.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/tokenizer/tag_attributes.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/html/tokenizer/text.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/punycode/CMakeLists.txt +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/punycode/decode.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/punycode/encode.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/selectors/CMakeLists.txt +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/selectors/easy_way.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/selectors/normal_way.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/selectors/unique_nodes.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/styles/CMakeLists.txt +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/styles/attribute_style.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/styles/base.h +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/styles/events_insert.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/styles/stylesheet.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/styles/walk.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/unicode/CMakeLists.txt +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/unicode/idna_to_ascii.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/unicode/normalization_form.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/unicode/normalization_form_stdin.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/url/CMakeLists.txt +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/url/parse.c +%%EXAMPLES%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lexbor/url/relative.c diff --git a/www/librewolf/Makefile b/www/librewolf/Makefile index 9755ac501a2e..6510de0e8f33 100644 --- a/www/librewolf/Makefile +++ b/www/librewolf/Makefile @@ -1,7 +1,8 @@ PORTNAME= librewolf -DISTVERSION= 141.0.3 +DISTVERSION= 142.0.1 LWPATCH= -1 DISTVERSIONSUFFIX= ${LWPATCH}.source +PORTREVISION= 1 CATEGORIES= www wayland MASTER_SITES= https://gitlab.com/api/v4/projects/32320088/packages/generic/${PORTNAME}-source/${DISTVERSION}${LWPATCH}/ @@ -13,7 +14,7 @@ LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= nspr>=4.32:devel/nspr \ - nss>=3.112:security/nss \ + nss>=3.114:security/nss \ icu>=76.1:devel/icu \ libevent>=2.1.8:devel/libevent \ harfbuzz>=10.1.0:print/harfbuzz \ diff --git a/www/librewolf/distinfo b/www/librewolf/distinfo index 9e6181238452..a90acb98b906 100644 --- a/www/librewolf/distinfo +++ b/www/librewolf/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1754788908 -SHA256 (librewolf-141.0.3-1.source.tar.gz) = a42535781168f3b2f398125a16ea925aaa31f07e0739bf41c12efc2cd39ccdce -SIZE (librewolf-141.0.3-1.source.tar.gz) = 1006655804 +TIMESTAMP = 1756477960 +SHA256 (librewolf-142.0.1-1.source.tar.gz) = 770fd784b91a836edd327e816d735a91852872909933dd8a167cd59f388ffbe1 +SIZE (librewolf-142.0.1-1.source.tar.gz) = 1010630994 diff --git a/www/librewolf/files/patch-bug1876366 b/www/librewolf/files/patch-bug1876366 deleted file mode 100644 index 78483c3fbab7..000000000000 --- a/www/librewolf/files/patch-bug1876366 +++ /dev/null @@ -1,23 +0,0 @@ -commit 46a89fb0319d673b3139a068e3d89aed9f44fc16 -Author: Christoph Moench-Tegeder <cmt@burggraben.net> - - use gdk legacy cursor interface by default - - Upstream https://bugzilla.mozilla.org/show_bug.cgi?id=1876366#c16 - hints that we could re-test this once we have GTK 3.24.42 (with the - now-current gtk3-3.24.41 the original problem is still reproducable, - but toggling this flag does fix it for me) - -diff --git modules/libpref/init/StaticPrefList.yaml modules/libpref/init/StaticPrefList.yaml -index 835450712a12..f2249006c36d 100644 ---- modules/libpref/init/StaticPrefList.yaml -+++ modules/libpref/init/StaticPrefList.yaml -@@ -16070,7 +16070,7 @@ - # Whether to use gtk legacy cursor API. - - name: widget.gtk.legacy-cursors.enabled - type: bool -- value: false -+ value: true - mirror: always - - # Whether to use gtk high contrast themes to disable content styling like on diff --git a/www/librewolf/files/patch-build_gn__processor.py b/www/librewolf/files/patch-build_gn__processor.py index be5e10347483..08e7f1211613 100644 --- a/www/librewolf/files/patch-build_gn__processor.py +++ b/www/librewolf/files/patch-build_gn__processor.py @@ -1,10 +1,10 @@ -commit 0e5bcbefae64b35a5c8df360e3980258a565fa72 -Author: Christoph Moench-Tegeder <cmt@burggraben.net> +commit bcf74d8c7a315c4f8ef70f1a60d4ce957cebac1d +Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> - chase gn_processor.py move + FreeBSD workings for webrtc configure (gn_processor.py) diff --git build/gn_processor.py build/gn_processor.py -index 2ba8b92c2751..91170efb9a5d 100644 +index 36cc6bdfe492..ed0fb2b7aa45 100644 --- build/gn_processor.py +++ build/gn_processor.py @@ -186,6 +186,7 @@ def filter_gn_config(path, gn_result, sandbox_vars, input_vars, gn_target): @@ -15,7 +15,7 @@ index 2ba8b92c2751..91170efb9a5d 100644 "linux": "Linux", "mac": "Darwin", "openbsd": "OpenBSD", -@@ -780,17 +781,17 @@ def main(): +@@ -801,17 +802,17 @@ def main(): vars_set = [] for is_debug in (True, False): @@ -38,12 +38,12 @@ index 2ba8b92c2751..91170efb9a5d 100644 target_cpus.extend(["loong64", "ppc64", "mipsel", "mips64el"]) for target_cpu in target_cpus: vars = { -@@ -799,7 +800,7 @@ def main(): +@@ -820,7 +821,7 @@ def main(): "target_cpu": target_cpu, "target_os": target_os, } - if target_os == "linux": + if target_os in ("freebsd", "linux"): - for use_x11 in (True, False): - vars["use_x11"] = use_x11 + for enable_x11 in (True, False): + vars["ozone_platform_x11"] = enable_x11 vars_set.append(vars.copy()) diff --git a/www/librewolf/files/patch-libwebrtc-generated b/www/librewolf/files/patch-libwebrtc-generated index 2b22311dac6a..e8c87e3227b3 100644 --- a/www/librewolf/files/patch-libwebrtc-generated +++ b/www/librewolf/files/patch-libwebrtc-generated @@ -1,13 +1,13 @@ -commit 8998c489b3e437f880147f0e2c516be1d731b082 +commit e5b021e52acc5acc4c5c629bd51d9d23f76a6fa3 Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> - regenerate FreeBSD libwebrtc patch for gecko 141 + regenerate FreeBSD libwebrtc patch for gecko 142 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 a29aef4b45e5..c193c4232adf 100644 +index 8311adfac314..8f928780f912 100644 --- third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build +++ third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -23,12 +23,13 @@ index a29aef4b45e5..c193c4232adf 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -36,13 +37,14 @@ index a29aef4b45e5..c193c4232adf 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -54,8 +56,6 @@ index a29aef4b45e5..c193c4232adf 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -63,12 +63,12 @@ index a29aef4b45e5..c193c4232adf 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -78,7 +78,6 @@ index a29aef4b45e5..c193c4232adf 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -102,6 +101,7 @@ index a29aef4b45e5..c193c4232adf 100644 - 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 @@ -112,13 +112,15 @@ index a29aef4b45e5..c193c4232adf 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -136,12 +138,14 @@ index a29aef4b45e5..c193c4232adf 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -172,16 +176,6 @@ index a29aef4b45e5..c193c4232adf 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -190,35 +184,37 @@ index a29aef4b45e5..c193c4232adf 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("resource_adaptation_api_gn") diff --git third_party/libwebrtc/api/array_view_gn/moz.build third_party/libwebrtc/api/array_view_gn/moz.build -index 642158f0b8be..994364e58ce4 100644 +index 135d99581ad8..9d2850332b47 100644 --- third_party/libwebrtc/api/array_view_gn/moz.build +++ third_party/libwebrtc/api/array_view_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -234,12 +230,13 @@ index 642158f0b8be..994364e58ce4 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -247,13 +244,14 @@ index 642158f0b8be..994364e58ce4 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -265,8 +263,6 @@ index 642158f0b8be..994364e58ce4 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -274,12 +270,12 @@ index 642158f0b8be..994364e58ce4 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -289,7 +285,6 @@ index 642158f0b8be..994364e58ce4 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -313,6 +308,7 @@ index 642158f0b8be..994364e58ce4 100644 - 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 @@ -323,13 +319,15 @@ index 642158f0b8be..994364e58ce4 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -343,17 +341,19 @@ index 642158f0b8be..994364e58ce4 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -377,39 +377,32 @@ index 642158f0b8be..994364e58ce4 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("array_view_gn") diff --git third_party/libwebrtc/api/async_dns_resolver_gn/moz.build third_party/libwebrtc/api/async_dns_resolver_gn/moz.build -index c7f482cc2e28..e44aba4a8252 100644 +index ef6f064da624..1e2e771f29ca 100644 --- third_party/libwebrtc/api/async_dns_resolver_gn/moz.build +++ third_party/libwebrtc/api/async_dns_resolver_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -425,12 +418,13 @@ index c7f482cc2e28..e44aba4a8252 100644 +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" -@@ -40,120 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,95 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -438,13 +432,14 @@ index c7f482cc2e28..e44aba4a8252 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -457,8 +452,6 @@ index c7f482cc2e28..e44aba4a8252 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -466,12 +459,12 @@ index c7f482cc2e28..e44aba4a8252 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -481,7 +474,6 @@ index c7f482cc2e28..e44aba4a8252 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -505,6 +497,7 @@ index c7f482cc2e28..e44aba4a8252 100644 - 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 @@ -515,6 +508,7 @@ index c7f482cc2e28..e44aba4a8252 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -527,8 +521,9 @@ index c7f482cc2e28..e44aba4a8252 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -137,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -542,17 +537,19 @@ index c7f482cc2e28..e44aba4a8252 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -163,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -167,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -576,39 +573,32 @@ index c7f482cc2e28..e44aba4a8252 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("async_dns_resolver_gn") diff --git third_party/libwebrtc/api/audio/aec3_config_gn/moz.build third_party/libwebrtc/api/audio/aec3_config_gn/moz.build -index 8113afb08273..123471602ffd 100644 +index 2b26428acdeb..0e19e0930385 100644 --- third_party/libwebrtc/api/audio/aec3_config_gn/moz.build +++ third_party/libwebrtc/api/audio/aec3_config_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -624,12 +614,13 @@ index 8113afb08273..123471602ffd 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -637,13 +628,14 @@ index 8113afb08273..123471602ffd 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -655,8 +647,6 @@ index 8113afb08273..123471602ffd 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -664,12 +654,12 @@ index 8113afb08273..123471602ffd 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -679,7 +669,6 @@ index 8113afb08273..123471602ffd 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -703,6 +692,7 @@ index 8113afb08273..123471602ffd 100644 - 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 @@ -713,13 +703,15 @@ index 8113afb08273..123471602ffd 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -737,12 +729,14 @@ index 8113afb08273..123471602ffd 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -773,16 +767,6 @@ index 8113afb08273..123471602ffd 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -791,35 +775,37 @@ index 8113afb08273..123471602ffd 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("aec3_config_gn") diff --git third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build -index 658f1cf59805..da98391aded6 100644 +index b23d7d9d9c17..e43e72bb81ed 100644 --- third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build +++ third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build -@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -836,12 +822,13 @@ index 658f1cf59805..da98391aded6 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -849,13 +836,14 @@ index 658f1cf59805..da98391aded6 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -867,8 +855,6 @@ index 658f1cf59805..da98391aded6 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -876,12 +862,12 @@ index 658f1cf59805..da98391aded6 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -895,7 +881,6 @@ index 658f1cf59805..da98391aded6 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -919,6 +904,7 @@ index 658f1cf59805..da98391aded6 100644 - 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 @@ -929,6 +915,7 @@ index 658f1cf59805..da98391aded6 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -941,8 +928,9 @@ index 658f1cf59805..da98391aded6 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -960,12 +948,14 @@ index 658f1cf59805..da98391aded6 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -996,16 +986,6 @@ index 658f1cf59805..da98391aded6 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -1014,35 +994,37 @@ index 658f1cf59805..da98391aded6 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("aec3_factory_gn") diff --git third_party/libwebrtc/api/audio/audio_device_gn/moz.build third_party/libwebrtc/api/audio/audio_device_gn/moz.build -index 01d48ab0e9bf..3885140cb11b 100644 +index 98aeebf3a0ff..4b9c82612b4f 100644 --- third_party/libwebrtc/api/audio/audio_device_gn/moz.build +++ third_party/libwebrtc/api/audio/audio_device_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -1058,12 +1040,13 @@ index 01d48ab0e9bf..3885140cb11b 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -1071,13 +1054,14 @@ index 01d48ab0e9bf..3885140cb11b 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -1089,8 +1073,6 @@ index 01d48ab0e9bf..3885140cb11b 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -1098,12 +1080,12 @@ index 01d48ab0e9bf..3885140cb11b 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -1113,7 +1095,6 @@ index 01d48ab0e9bf..3885140cb11b 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -1137,6 +1118,7 @@ index 01d48ab0e9bf..3885140cb11b 100644 - 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 @@ -1147,13 +1129,15 @@ index 01d48ab0e9bf..3885140cb11b 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -1167,17 +1151,19 @@ index 01d48ab0e9bf..3885140cb11b 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -1201,39 +1187,32 @@ index 01d48ab0e9bf..3885140cb11b 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("audio_device_gn") diff --git third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build -index 95225d12b2f5..fe08226343af 100644 +index 4afb8112be80..ff3fe8f8a5ba 100644 --- third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build +++ third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -1249,12 +1228,13 @@ index 95225d12b2f5..fe08226343af 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,94 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -1262,13 +1242,14 @@ index 95225d12b2f5..fe08226343af 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -1280,8 +1261,6 @@ index 95225d12b2f5..fe08226343af 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -1289,12 +1268,12 @@ index 95225d12b2f5..fe08226343af 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -1304,7 +1283,6 @@ index 95225d12b2f5..fe08226343af 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -1328,6 +1306,7 @@ index 95225d12b2f5..fe08226343af 100644 - 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 @@ -1338,6 +1317,7 @@ index 95225d12b2f5..fe08226343af 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -1350,8 +1330,9 @@ index 95225d12b2f5..fe08226343af 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -141,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -1369,12 +1350,14 @@ index 95225d12b2f5..fe08226343af 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -1405,16 +1388,6 @@ index 95225d12b2f5..fe08226343af 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -1423,35 +1396,37 @@ index 95225d12b2f5..fe08226343af 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("audio_frame_api_gn") diff --git third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build -index 7b23511c9930..a97e948e3a43 100644 +index da677c9e1b98..107a73150225 100644 --- third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build +++ third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -1467,12 +1442,13 @@ index 7b23511c9930..a97e948e3a43 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -1480,13 +1456,14 @@ index 7b23511c9930..a97e948e3a43 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -1494,8 +1471,6 @@ index 7b23511c9930..a97e948e3a43 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -1503,12 +1478,12 @@ index 7b23511c9930..a97e948e3a43 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -1518,7 +1493,6 @@ index 7b23511c9930..a97e948e3a43 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -1542,6 +1516,7 @@ index 7b23511c9930..a97e948e3a43 100644 - 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 @@ -1552,13 +1527,15 @@ index 7b23511c9930..a97e948e3a43 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -1572,17 +1549,19 @@ index 7b23511c9930..a97e948e3a43 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -1606,39 +1585,32 @@ index 7b23511c9930..a97e948e3a43 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("audio_frame_processor_gn") diff --git third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build -index d650f934bf12..28f47d4bb60c 100644 +index 6b76e07f5f25..652ded4059f8 100644 --- third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build +++ third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -1654,12 +1626,13 @@ index d650f934bf12..28f47d4bb60c 100644 +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" -@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -1667,13 +1640,14 @@ index d650f934bf12..28f47d4bb60c 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -1685,8 +1659,6 @@ index d650f934bf12..28f47d4bb60c 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -1694,12 +1666,12 @@ index d650f934bf12..28f47d4bb60c 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -1709,7 +1681,6 @@ index d650f934bf12..28f47d4bb60c 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -1733,6 +1704,7 @@ index d650f934bf12..28f47d4bb60c 100644 - 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 @@ -1743,6 +1715,7 @@ index d650f934bf12..28f47d4bb60c 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -1755,8 +1728,9 @@ index d650f934bf12..28f47d4bb60c 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -1770,17 +1744,19 @@ index d650f934bf12..28f47d4bb60c 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -1804,39 +1780,32 @@ index d650f934bf12..28f47d4bb60c 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("audio_mixer_api_gn") diff --git third_party/libwebrtc/api/audio/audio_processing_gn/moz.build third_party/libwebrtc/api/audio/audio_processing_gn/moz.build -index 69937649a37e..d6bf78db5064 100644 +index 0ec4e1d61792..ef24358b9306 100644 --- third_party/libwebrtc/api/audio/audio_processing_gn/moz.build +++ third_party/libwebrtc/api/audio/audio_processing_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -1852,12 +1821,13 @@ index 69937649a37e..d6bf78db5064 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -1865,13 +1835,14 @@ index 69937649a37e..d6bf78db5064 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -1883,8 +1854,6 @@ index 69937649a37e..d6bf78db5064 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -1892,12 +1861,12 @@ index 69937649a37e..d6bf78db5064 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -1911,7 +1880,6 @@ index 69937649a37e..d6bf78db5064 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -1935,6 +1903,7 @@ index 69937649a37e..d6bf78db5064 100644 - 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 @@ -1945,6 +1914,7 @@ index 69937649a37e..d6bf78db5064 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -1957,8 +1927,9 @@ index 69937649a37e..d6bf78db5064 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -1976,12 +1947,14 @@ index 69937649a37e..d6bf78db5064 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -2012,16 +1985,6 @@ index 69937649a37e..d6bf78db5064 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -2030,35 +1993,37 @@ index 69937649a37e..d6bf78db5064 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("audio_processing_gn") diff --git third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build -index 020423429a5e..de7f6742627a 100644 +index de14dfdb12f8..292973c3234d 100644 --- third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build +++ third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -2074,12 +2039,13 @@ index 020423429a5e..de7f6742627a 100644 +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" -@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -2087,13 +2053,14 @@ index 020423429a5e..de7f6742627a 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -2101,8 +2068,6 @@ index 020423429a5e..de7f6742627a 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -2110,12 +2075,12 @@ index 020423429a5e..de7f6742627a 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -2125,7 +2090,6 @@ index 020423429a5e..de7f6742627a 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -2149,6 +2113,7 @@ index 020423429a5e..de7f6742627a 100644 - 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 @@ -2159,13 +2124,15 @@ index 020423429a5e..de7f6742627a 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -2183,12 +2150,14 @@ index 020423429a5e..de7f6742627a 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -2219,53 +2188,45 @@ index 020423429a5e..de7f6742627a 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- OS_LIBS += [ -- "unwind" +- CXXFLAGS += [ +- "-msse2" - ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": -- - CXXFLAGS += [ - "-msse2" - ] - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - -- CXXFLAGS += [ -- "-msse2" -- ] -+if CONFIG["TARGET_CPU"] == "x86_64": +- + CXXFLAGS += [ + "-msse2" + ] +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("audio_processing_statistics_gn") diff --git third_party/libwebrtc/api/audio/builtin_audio_processing_builder_gn/moz.build third_party/libwebrtc/api/audio/builtin_audio_processing_builder_gn/moz.build -index 9720fc943734..43ee9e3a60aa 100644 +index 06268621031d..6bf49766d39a 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,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -2282,12 +2243,13 @@ index 9720fc943734..43ee9e3a60aa 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -2295,13 +2257,14 @@ index 9720fc943734..43ee9e3a60aa 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -2313,8 +2276,6 @@ index 9720fc943734..43ee9e3a60aa 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -2322,12 +2283,12 @@ index 9720fc943734..43ee9e3a60aa 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -2341,7 +2302,6 @@ index 9720fc943734..43ee9e3a60aa 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -2365,6 +2325,7 @@ index 9720fc943734..43ee9e3a60aa 100644 - 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 @@ -2375,6 +2336,7 @@ index 9720fc943734..43ee9e3a60aa 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -2387,8 +2349,9 @@ index 9720fc943734..43ee9e3a60aa 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -2406,12 +2369,14 @@ index 9720fc943734..43ee9e3a60aa 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -2442,16 +2407,6 @@ index 9720fc943734..43ee9e3a60aa 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -2460,35 +2415,37 @@ index 9720fc943734..43ee9e3a60aa 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("builtin_audio_processing_builder_gn") diff --git third_party/libwebrtc/api/audio/echo_control_gn/moz.build third_party/libwebrtc/api/audio/echo_control_gn/moz.build -index 1b9e728c732e..b068f7739302 100644 +index 7b24226673ad..d08252809411 100644 --- third_party/libwebrtc/api/audio/echo_control_gn/moz.build +++ third_party/libwebrtc/api/audio/echo_control_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -2504,12 +2461,13 @@ index 1b9e728c732e..b068f7739302 100644 +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" -@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -2517,13 +2475,14 @@ index 1b9e728c732e..b068f7739302 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -2535,8 +2494,6 @@ index 1b9e728c732e..b068f7739302 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -2544,12 +2501,12 @@ index 1b9e728c732e..b068f7739302 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -2563,7 +2520,6 @@ index 1b9e728c732e..b068f7739302 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -2587,6 +2543,7 @@ index 1b9e728c732e..b068f7739302 100644 - 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 @@ -2597,6 +2554,7 @@ index 1b9e728c732e..b068f7739302 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -2609,8 +2567,9 @@ index 1b9e728c732e..b068f7739302 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -2624,17 +2583,19 @@ index 1b9e728c732e..b068f7739302 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -2658,39 +2619,32 @@ index 1b9e728c732e..b068f7739302 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("echo_control_gn") diff --git third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build -index 17f8ad132988..ae6f50e873d1 100644 +index 77267ad65ee1..18a66e081a52 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -2706,12 +2660,13 @@ index 17f8ad132988..ae6f50e873d1 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -2719,13 +2674,14 @@ index 17f8ad132988..ae6f50e873d1 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -2737,8 +2693,6 @@ index 17f8ad132988..ae6f50e873d1 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -2746,12 +2700,12 @@ index 17f8ad132988..ae6f50e873d1 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -2765,7 +2719,6 @@ index 17f8ad132988..ae6f50e873d1 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -2789,6 +2742,7 @@ index 17f8ad132988..ae6f50e873d1 100644 - 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 @@ -2799,6 +2753,7 @@ index 17f8ad132988..ae6f50e873d1 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -2811,8 +2766,9 @@ index 17f8ad132988..ae6f50e873d1 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -2830,12 +2786,14 @@ index 17f8ad132988..ae6f50e873d1 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -2866,16 +2824,6 @@ index 17f8ad132988..ae6f50e873d1 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -2884,35 +2832,37 @@ index 17f8ad132988..ae6f50e873d1 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("audio_decoder_L16_gn") diff --git third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build -index 2ce54890f795..87731b62a8fd 100644 +index 47397f996c19..c27e3a06ad98 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -2928,12 +2878,13 @@ index 2ce54890f795..87731b62a8fd 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -2941,13 +2892,14 @@ index 2ce54890f795..87731b62a8fd 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -2959,8 +2911,6 @@ index 2ce54890f795..87731b62a8fd 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -2968,12 +2918,12 @@ index 2ce54890f795..87731b62a8fd 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -2987,7 +2937,6 @@ index 2ce54890f795..87731b62a8fd 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -3011,6 +2960,7 @@ index 2ce54890f795..87731b62a8fd 100644 - 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 @@ -3021,6 +2971,7 @@ index 2ce54890f795..87731b62a8fd 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -3033,8 +2984,9 @@ index 2ce54890f795..87731b62a8fd 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -3052,12 +3004,14 @@ index 2ce54890f795..87731b62a8fd 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -3088,16 +3042,6 @@ index 2ce54890f795..87731b62a8fd 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -3106,35 +3050,37 @@ index 2ce54890f795..87731b62a8fd 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("audio_encoder_L16_gn") diff --git third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build -index fa169cd9554f..e1bdc203eda4 100644 +index 9e12e483278f..ddc99b55b57f 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -3150,12 +3096,13 @@ index fa169cd9554f..e1bdc203eda4 100644 +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,190 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -3163,13 +3110,14 @@ index fa169cd9554f..e1bdc203eda4 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -3181,8 +3129,6 @@ index fa169cd9554f..e1bdc203eda4 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -3190,12 +3136,12 @@ index fa169cd9554f..e1bdc203eda4 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -3209,7 +3155,6 @@ index fa169cd9554f..e1bdc203eda4 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -3233,6 +3178,7 @@ index fa169cd9554f..e1bdc203eda4 100644 - 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 @@ -3243,6 +3189,7 @@ index fa169cd9554f..e1bdc203eda4 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -3255,8 +3202,9 @@ index fa169cd9554f..e1bdc203eda4 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -147,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -3274,12 +3222,14 @@ index fa169cd9554f..e1bdc203eda4 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -3310,16 +3260,6 @@ index fa169cd9554f..e1bdc203eda4 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -3328,35 +3268,37 @@ index fa169cd9554f..e1bdc203eda4 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("audio_codecs_api_gn") diff --git third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build -index 6225ac1f3f3b..1cea1d96da7b 100644 +index d0b1ca5e47e9..1fe538a5ce3e 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,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -3373,12 +3315,13 @@ index 6225ac1f3f3b..1cea1d96da7b 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -3386,13 +3329,14 @@ index 6225ac1f3f3b..1cea1d96da7b 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -3404,8 +3348,6 @@ index 6225ac1f3f3b..1cea1d96da7b 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -3413,12 +3355,12 @@ index 6225ac1f3f3b..1cea1d96da7b 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -3432,7 +3374,6 @@ index 6225ac1f3f3b..1cea1d96da7b 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -3456,6 +3397,7 @@ index 6225ac1f3f3b..1cea1d96da7b 100644 - 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 @@ -3466,6 +3408,7 @@ index 6225ac1f3f3b..1cea1d96da7b 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -3478,8 +3421,9 @@ index 6225ac1f3f3b..1cea1d96da7b 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -3497,12 +3441,14 @@ index 6225ac1f3f3b..1cea1d96da7b 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -3533,16 +3479,6 @@ index 6225ac1f3f3b..1cea1d96da7b 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -3551,35 +3487,37 @@ index 6225ac1f3f3b..1cea1d96da7b 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("builtin_audio_decoder_factory_gn") diff --git third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build -index e37b27978fb1..1532babfe849 100644 +index d00504ccaf03..10f9061ad382 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,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -3596,12 +3534,13 @@ index e37b27978fb1..1532babfe849 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -3609,13 +3548,14 @@ index e37b27978fb1..1532babfe849 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -3627,8 +3567,6 @@ index e37b27978fb1..1532babfe849 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -3636,12 +3574,12 @@ index e37b27978fb1..1532babfe849 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -3655,7 +3593,6 @@ index e37b27978fb1..1532babfe849 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -3679,6 +3616,7 @@ index e37b27978fb1..1532babfe849 100644 - 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 @@ -3689,6 +3627,7 @@ index e37b27978fb1..1532babfe849 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -3701,8 +3640,9 @@ index e37b27978fb1..1532babfe849 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -3720,12 +3660,14 @@ index e37b27978fb1..1532babfe849 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -3756,16 +3698,6 @@ index e37b27978fb1..1532babfe849 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -3774,35 +3706,37 @@ index e37b27978fb1..1532babfe849 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("builtin_audio_encoder_factory_gn") diff --git third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build -index ff8f963180db..05322dea51b6 100644 +index c29e3e9ee9b3..20716cb88679 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -3818,12 +3752,13 @@ index ff8f963180db..05322dea51b6 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -3831,13 +3766,14 @@ index ff8f963180db..05322dea51b6 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -3849,8 +3785,6 @@ index ff8f963180db..05322dea51b6 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -3858,12 +3792,12 @@ index ff8f963180db..05322dea51b6 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -3877,7 +3811,6 @@ index ff8f963180db..05322dea51b6 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -3901,6 +3834,7 @@ index ff8f963180db..05322dea51b6 100644 - 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 @@ -3911,6 +3845,7 @@ index ff8f963180db..05322dea51b6 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -3923,8 +3858,9 @@ index ff8f963180db..05322dea51b6 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -3942,12 +3878,14 @@ index ff8f963180db..05322dea51b6 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -3978,16 +3916,6 @@ index ff8f963180db..05322dea51b6 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -3996,35 +3924,37 @@ index ff8f963180db..05322dea51b6 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("audio_decoder_g711_gn") diff --git third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build -index b25dbdcd7ff2..7863dd9e6633 100644 +index 3b77bbd2a7b0..29f2bdb535a7 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -4040,12 +3970,13 @@ index b25dbdcd7ff2..7863dd9e6633 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -4053,13 +3984,14 @@ index b25dbdcd7ff2..7863dd9e6633 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -4071,8 +4003,6 @@ index b25dbdcd7ff2..7863dd9e6633 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -4080,12 +4010,12 @@ index b25dbdcd7ff2..7863dd9e6633 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -4099,7 +4029,6 @@ index b25dbdcd7ff2..7863dd9e6633 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -4123,6 +4052,7 @@ index b25dbdcd7ff2..7863dd9e6633 100644 - 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 @@ -4133,6 +4063,7 @@ index b25dbdcd7ff2..7863dd9e6633 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -4145,8 +4076,9 @@ index b25dbdcd7ff2..7863dd9e6633 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -4164,12 +4096,14 @@ index b25dbdcd7ff2..7863dd9e6633 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -4200,16 +4134,6 @@ index b25dbdcd7ff2..7863dd9e6633 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -4218,35 +4142,37 @@ index b25dbdcd7ff2..7863dd9e6633 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("audio_encoder_g711_gn") diff --git third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build -index 8db666948a82..94f0257efd1e 100644 +index 6c034ef0cdf8..97e2dda4027e 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -4262,12 +4188,13 @@ index 8db666948a82..94f0257efd1e 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -4275,13 +4202,14 @@ index 8db666948a82..94f0257efd1e 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -4293,8 +4221,6 @@ index 8db666948a82..94f0257efd1e 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -4302,12 +4228,12 @@ index 8db666948a82..94f0257efd1e 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -4321,7 +4247,6 @@ index 8db666948a82..94f0257efd1e 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -4345,6 +4270,7 @@ index 8db666948a82..94f0257efd1e 100644 - 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 @@ -4355,6 +4281,7 @@ index 8db666948a82..94f0257efd1e 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -4367,8 +4294,9 @@ index 8db666948a82..94f0257efd1e 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -4386,12 +4314,14 @@ index 8db666948a82..94f0257efd1e 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -4422,16 +4352,6 @@ index 8db666948a82..94f0257efd1e 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -4440,35 +4360,37 @@ index 8db666948a82..94f0257efd1e 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("audio_decoder_g722_gn") diff --git third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build -index 57f61d6c5158..fabe33115004 100644 +index ece2267c9f31..643b470e2913 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -4484,12 +4406,13 @@ index 57f61d6c5158..fabe33115004 100644 +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" -@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -4497,13 +4420,14 @@ index 57f61d6c5158..fabe33115004 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -4515,8 +4439,6 @@ index 57f61d6c5158..fabe33115004 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -4524,12 +4446,12 @@ index 57f61d6c5158..fabe33115004 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -4543,7 +4465,6 @@ index 57f61d6c5158..fabe33115004 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -4567,6 +4488,7 @@ index 57f61d6c5158..fabe33115004 100644 - 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 @@ -4577,6 +4499,7 @@ index 57f61d6c5158..fabe33115004 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -4589,8 +4512,9 @@ index 57f61d6c5158..fabe33115004 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -4604,17 +4528,19 @@ index 57f61d6c5158..fabe33115004 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -4638,39 +4564,32 @@ index 57f61d6c5158..fabe33115004 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("audio_encoder_g722_config_gn") diff --git third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build -index 4b5ec790299c..4d357bd55c31 100644 +index a9f2cfb7ee3c..8dd52b52fb37 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -4686,12 +4605,13 @@ index 4b5ec790299c..4d357bd55c31 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -4699,13 +4619,14 @@ index 4b5ec790299c..4d357bd55c31 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -4717,8 +4638,6 @@ index 4b5ec790299c..4d357bd55c31 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -4726,12 +4645,12 @@ index 4b5ec790299c..4d357bd55c31 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -4745,7 +4664,6 @@ index 4b5ec790299c..4d357bd55c31 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -4769,6 +4687,7 @@ index 4b5ec790299c..4d357bd55c31 100644 - 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 @@ -4779,6 +4698,7 @@ index 4b5ec790299c..4d357bd55c31 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -4791,8 +4711,9 @@ index 4b5ec790299c..4d357bd55c31 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -4810,12 +4731,14 @@ index 4b5ec790299c..4d357bd55c31 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -4846,16 +4769,6 @@ index 4b5ec790299c..4d357bd55c31 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -4864,35 +4777,37 @@ index 4b5ec790299c..4d357bd55c31 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("audio_encoder_g722_gn") diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build -index f584cbcef92e..de644f4d586e 100644 +index 7c2e033644c6..c347323ec814 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -4908,12 +4823,13 @@ index f584cbcef92e..de644f4d586e 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -4921,13 +4837,14 @@ index f584cbcef92e..de644f4d586e 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -4939,8 +4856,6 @@ index f584cbcef92e..de644f4d586e 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -4948,12 +4863,12 @@ index f584cbcef92e..de644f4d586e 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -4967,7 +4882,6 @@ index f584cbcef92e..de644f4d586e 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -4991,6 +4905,7 @@ index f584cbcef92e..de644f4d586e 100644 - 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 @@ -5001,6 +4916,7 @@ index f584cbcef92e..de644f4d586e 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -5013,8 +4929,9 @@ index f584cbcef92e..de644f4d586e 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -5032,12 +4949,14 @@ index f584cbcef92e..de644f4d586e 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -5068,16 +4987,6 @@ index f584cbcef92e..de644f4d586e 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -5086,35 +4995,37 @@ index f584cbcef92e..de644f4d586e 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("audio_decoder_multiopus_gn") diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build -index e33383e9661f..e1b09fbd1410 100644 +index 4dc0d9442721..09de16583d61 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -5130,12 +5041,13 @@ index e33383e9661f..e1b09fbd1410 100644 +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" -@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -5143,13 +5055,14 @@ index e33383e9661f..e1b09fbd1410 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -5161,8 +5074,6 @@ index e33383e9661f..e1b09fbd1410 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -5170,12 +5081,12 @@ index e33383e9661f..e1b09fbd1410 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -5189,7 +5100,6 @@ index e33383e9661f..e1b09fbd1410 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -5213,6 +5123,7 @@ index e33383e9661f..e1b09fbd1410 100644 - 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 @@ -5223,6 +5134,7 @@ index e33383e9661f..e1b09fbd1410 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -5235,8 +5147,9 @@ index e33383e9661f..e1b09fbd1410 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -5250,17 +5163,19 @@ index e33383e9661f..e1b09fbd1410 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -5284,39 +5199,32 @@ index e33383e9661f..e1b09fbd1410 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("audio_decoder_opus_config_gn") diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build -index d7116c1b25af..d2fdc6c52b17 100644 +index d8a4a97cd5c2..bac30391a53f 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -5332,12 +5240,13 @@ index d7116c1b25af..d2fdc6c52b17 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -5345,13 +5254,14 @@ index d7116c1b25af..d2fdc6c52b17 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -5363,8 +5273,6 @@ index d7116c1b25af..d2fdc6c52b17 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -5372,12 +5280,12 @@ index d7116c1b25af..d2fdc6c52b17 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -5391,7 +5299,6 @@ index d7116c1b25af..d2fdc6c52b17 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -5415,6 +5322,7 @@ index d7116c1b25af..d2fdc6c52b17 100644 - 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 @@ -5425,6 +5333,7 @@ index d7116c1b25af..d2fdc6c52b17 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -5437,8 +5346,9 @@ index d7116c1b25af..d2fdc6c52b17 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -5456,12 +5366,14 @@ index d7116c1b25af..d2fdc6c52b17 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -5492,16 +5404,6 @@ index d7116c1b25af..d2fdc6c52b17 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -5510,35 +5412,37 @@ index d7116c1b25af..d2fdc6c52b17 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("audio_decoder_opus_gn") diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build -index 336291788c67..2e9b48f8a1ca 100644 +index 5ff636039dce..f1b9d0da6b50 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -5554,12 +5458,13 @@ index 336291788c67..2e9b48f8a1ca 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -5567,13 +5472,14 @@ index 336291788c67..2e9b48f8a1ca 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -5585,8 +5491,6 @@ index 336291788c67..2e9b48f8a1ca 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -5594,12 +5498,12 @@ index 336291788c67..2e9b48f8a1ca 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -5613,7 +5517,6 @@ index 336291788c67..2e9b48f8a1ca 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -5637,6 +5540,7 @@ index 336291788c67..2e9b48f8a1ca 100644 - 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 @@ -5647,6 +5551,7 @@ index 336291788c67..2e9b48f8a1ca 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -5659,8 +5564,9 @@ index 336291788c67..2e9b48f8a1ca 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -5678,12 +5584,14 @@ index 336291788c67..2e9b48f8a1ca 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -5714,16 +5622,6 @@ index 336291788c67..2e9b48f8a1ca 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -5732,35 +5630,37 @@ index 336291788c67..2e9b48f8a1ca 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("audio_encoder_multiopus_gn") diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build -index e434bc36d641..4de657a3de7b 100644 +index 02d6ec69a180..ece67051b65f 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,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -5777,12 +5677,13 @@ index e434bc36d641..4de657a3de7b 100644 +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" -@@ -49,175 +58,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -50,83 +59,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -5790,13 +5691,14 @@ index e434bc36d641..4de657a3de7b 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -5804,8 +5706,6 @@ index e434bc36d641..4de657a3de7b 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -5813,12 +5713,12 @@ index e434bc36d641..4de657a3de7b 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -5828,7 +5728,6 @@ index e434bc36d641..4de657a3de7b 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -5852,6 +5751,7 @@ index e434bc36d641..4de657a3de7b 100644 - 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 @@ -5862,13 +5762,15 @@ index e434bc36d641..4de657a3de7b 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -134,88 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -5886,12 +5788,14 @@ index e434bc36d641..4de657a3de7b 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -5922,53 +5826,45 @@ index e434bc36d641..4de657a3de7b 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- OS_LIBS += [ -- "unwind" +- CXXFLAGS += [ +- "-msse2" - ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": -- - CXXFLAGS += [ - "-msse2" - ] - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - -- CXXFLAGS += [ -- "-msse2" -- ] -+if CONFIG["TARGET_CPU"] == "x86_64": +- + CXXFLAGS += [ + "-msse2" + ] +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("audio_encoder_opus_config_gn") diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build -index ce10e371bb68..f923b1df29e5 100644 +index ac2a09ff5952..9c5ef8fd737e 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -5984,12 +5880,13 @@ index ce10e371bb68..f923b1df29e5 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -5997,13 +5894,14 @@ index ce10e371bb68..f923b1df29e5 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -6015,8 +5913,6 @@ index ce10e371bb68..f923b1df29e5 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -6024,12 +5920,12 @@ index ce10e371bb68..f923b1df29e5 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -6043,7 +5939,6 @@ index ce10e371bb68..f923b1df29e5 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -6067,6 +5962,7 @@ index ce10e371bb68..f923b1df29e5 100644 - 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 @@ -6077,6 +5973,7 @@ index ce10e371bb68..f923b1df29e5 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -6089,8 +5986,9 @@ index ce10e371bb68..f923b1df29e5 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -6108,12 +6006,14 @@ index ce10e371bb68..f923b1df29e5 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -6144,16 +6044,6 @@ index ce10e371bb68..f923b1df29e5 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -6162,35 +6052,37 @@ index ce10e371bb68..f923b1df29e5 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("audio_encoder_opus_gn") diff --git third_party/libwebrtc/api/audio_codecs/opus_audio_decoder_factory_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus_audio_decoder_factory_gn/moz.build -index 70a8757803e7..3ea74de51e24 100644 +index 81327dddadcd..2e745fe9e41f 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -6206,12 +6098,13 @@ index 70a8757803e7..3ea74de51e24 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -6219,13 +6112,14 @@ index 70a8757803e7..3ea74de51e24 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -6237,8 +6131,6 @@ index 70a8757803e7..3ea74de51e24 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -6246,12 +6138,12 @@ index 70a8757803e7..3ea74de51e24 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -6265,7 +6157,6 @@ index 70a8757803e7..3ea74de51e24 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -6289,6 +6180,7 @@ index 70a8757803e7..3ea74de51e24 100644 - 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 @@ -6299,6 +6191,7 @@ index 70a8757803e7..3ea74de51e24 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -6311,8 +6204,9 @@ index 70a8757803e7..3ea74de51e24 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -6330,12 +6224,14 @@ index 70a8757803e7..3ea74de51e24 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -6366,16 +6262,6 @@ index 70a8757803e7..3ea74de51e24 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -6384,35 +6270,37 @@ index 70a8757803e7..3ea74de51e24 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("opus_audio_decoder_factory_gn") diff --git third_party/libwebrtc/api/audio_options_api_gn/moz.build third_party/libwebrtc/api/audio_options_api_gn/moz.build -index 4034a555945f..1bad1c4d1894 100644 +index 0eecd975c914..f7125f47283d 100644 --- third_party/libwebrtc/api/audio_options_api_gn/moz.build +++ third_party/libwebrtc/api/audio_options_api_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -6428,12 +6316,13 @@ index 4034a555945f..1bad1c4d1894 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -6441,13 +6330,14 @@ index 4034a555945f..1bad1c4d1894 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -6459,8 +6349,6 @@ index 4034a555945f..1bad1c4d1894 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -6468,12 +6356,12 @@ index 4034a555945f..1bad1c4d1894 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -6483,7 +6371,6 @@ index 4034a555945f..1bad1c4d1894 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -6507,6 +6394,7 @@ index 4034a555945f..1bad1c4d1894 100644 - 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 @@ -6517,13 +6405,15 @@ index 4034a555945f..1bad1c4d1894 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -6541,12 +6431,14 @@ index 4034a555945f..1bad1c4d1894 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -6577,16 +6469,6 @@ index 4034a555945f..1bad1c4d1894 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -6595,35 +6477,37 @@ index 4034a555945f..1bad1c4d1894 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("audio_options_api_gn") diff --git third_party/libwebrtc/api/bitrate_allocation_gn/moz.build third_party/libwebrtc/api/bitrate_allocation_gn/moz.build -index 5a740fe980cc..00fd8d6b5ab6 100644 +index 492af1f6b87d..9c55ead6c9fa 100644 --- third_party/libwebrtc/api/bitrate_allocation_gn/moz.build +++ third_party/libwebrtc/api/bitrate_allocation_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -6639,12 +6523,13 @@ index 5a740fe980cc..00fd8d6b5ab6 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -6652,13 +6537,14 @@ index 5a740fe980cc..00fd8d6b5ab6 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -6670,8 +6556,6 @@ index 5a740fe980cc..00fd8d6b5ab6 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -6679,12 +6563,12 @@ index 5a740fe980cc..00fd8d6b5ab6 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -6694,7 +6578,6 @@ index 5a740fe980cc..00fd8d6b5ab6 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -6718,6 +6601,7 @@ index 5a740fe980cc..00fd8d6b5ab6 100644 - 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 @@ -6728,13 +6612,15 @@ index 5a740fe980cc..00fd8d6b5ab6 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -6748,17 +6634,19 @@ index 5a740fe980cc..00fd8d6b5ab6 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -6782,39 +6670,32 @@ index 5a740fe980cc..00fd8d6b5ab6 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("bitrate_allocation_gn") diff --git third_party/libwebrtc/api/call_api_gn/moz.build third_party/libwebrtc/api/call_api_gn/moz.build -index af61fa96fb07..934c8061dd1a 100644 +index 19d4d72cb0f6..e1369568f801 100644 --- third_party/libwebrtc/api/call_api_gn/moz.build +++ third_party/libwebrtc/api/call_api_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -6830,12 +6711,13 @@ index af61fa96fb07..934c8061dd1a 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -6843,13 +6725,14 @@ index af61fa96fb07..934c8061dd1a 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -6857,8 +6740,6 @@ index af61fa96fb07..934c8061dd1a 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -6866,12 +6747,12 @@ index af61fa96fb07..934c8061dd1a 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -6881,7 +6762,6 @@ index af61fa96fb07..934c8061dd1a 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -6905,6 +6785,7 @@ index af61fa96fb07..934c8061dd1a 100644 - 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 @@ -6915,13 +6796,15 @@ index af61fa96fb07..934c8061dd1a 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -6935,17 +6818,19 @@ index af61fa96fb07..934c8061dd1a 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -6969,39 +6854,32 @@ index af61fa96fb07..934c8061dd1a 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("call_api_gn") diff --git third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build -index fe1f7bc13e24..5d8265e6ec96 100644 +index c81122c0e3bb..f8bdd48ff4c8 100644 --- third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build +++ third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -7017,12 +6895,13 @@ index fe1f7bc13e24..5d8265e6ec96 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -7030,13 +6909,14 @@ index fe1f7bc13e24..5d8265e6ec96 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -7048,8 +6928,6 @@ index fe1f7bc13e24..5d8265e6ec96 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -7057,12 +6935,12 @@ index fe1f7bc13e24..5d8265e6ec96 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -7072,7 +6950,6 @@ index fe1f7bc13e24..5d8265e6ec96 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -7096,6 +6973,7 @@ index fe1f7bc13e24..5d8265e6ec96 100644 - 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 @@ -7106,13 +6984,15 @@ index fe1f7bc13e24..5d8265e6ec96 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -7126,17 +7006,19 @@ index fe1f7bc13e24..5d8265e6ec96 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -7160,39 +7042,32 @@ index fe1f7bc13e24..5d8265e6ec96 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("frame_decryptor_interface_gn") diff --git third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build -index 999863e78f35..acdaa73774aa 100644 +index 7d72f6a41ac8..c396e2b059f3 100644 --- third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build +++ third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -7208,12 +7083,13 @@ index 999863e78f35..acdaa73774aa 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -7221,13 +7097,14 @@ index 999863e78f35..acdaa73774aa 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -7239,8 +7116,6 @@ index 999863e78f35..acdaa73774aa 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -7248,12 +7123,12 @@ index 999863e78f35..acdaa73774aa 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -7263,7 +7138,6 @@ index 999863e78f35..acdaa73774aa 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -7287,6 +7161,7 @@ index 999863e78f35..acdaa73774aa 100644 - 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 @@ -7297,13 +7172,15 @@ index 999863e78f35..acdaa73774aa 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -7317,17 +7194,19 @@ index 999863e78f35..acdaa73774aa 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -7351,39 +7230,32 @@ index 999863e78f35..acdaa73774aa 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("frame_encryptor_interface_gn") diff --git third_party/libwebrtc/api/crypto/options_gn/moz.build third_party/libwebrtc/api/crypto/options_gn/moz.build -index 71008a1b781a..a614772c39d2 100644 +index f7ee9516fd4d..12951ae20d89 100644 --- third_party/libwebrtc/api/crypto/options_gn/moz.build +++ third_party/libwebrtc/api/crypto/options_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -7399,12 +7271,13 @@ index 71008a1b781a..a614772c39d2 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -7412,13 +7285,14 @@ index 71008a1b781a..a614772c39d2 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -7430,8 +7304,6 @@ index 71008a1b781a..a614772c39d2 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -7439,12 +7311,12 @@ index 71008a1b781a..a614772c39d2 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -7454,7 +7326,6 @@ index 71008a1b781a..a614772c39d2 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -7478,6 +7349,7 @@ index 71008a1b781a..a614772c39d2 100644 - 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 @@ -7488,13 +7360,15 @@ index 71008a1b781a..a614772c39d2 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -7512,12 +7386,14 @@ index 71008a1b781a..a614772c39d2 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -7548,16 +7424,6 @@ index 71008a1b781a..a614772c39d2 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -7566,35 +7432,37 @@ index 71008a1b781a..a614772c39d2 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("options_gn") diff --git third_party/libwebrtc/api/environment/environment_factory_gn/moz.build third_party/libwebrtc/api/environment/environment_factory_gn/moz.build -index 0996db596135..a32dc41fe41f 100644 +index 199c4ba42013..90f223c3364a 100644 --- third_party/libwebrtc/api/environment/environment_factory_gn/moz.build +++ third_party/libwebrtc/api/environment/environment_factory_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -7610,12 +7478,13 @@ index 0996db596135..a32dc41fe41f 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -7623,13 +7492,14 @@ index 0996db596135..a32dc41fe41f 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -7641,8 +7511,6 @@ index 0996db596135..a32dc41fe41f 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -7650,12 +7518,12 @@ index 0996db596135..a32dc41fe41f 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -7669,7 +7537,6 @@ index 0996db596135..a32dc41fe41f 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -7693,6 +7560,7 @@ index 0996db596135..a32dc41fe41f 100644 - 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 @@ -7703,6 +7571,7 @@ index 0996db596135..a32dc41fe41f 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -7715,8 +7584,9 @@ index 0996db596135..a32dc41fe41f 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -7734,12 +7604,14 @@ index 0996db596135..a32dc41fe41f 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -7770,16 +7642,6 @@ index 0996db596135..a32dc41fe41f 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -7788,35 +7650,37 @@ index 0996db596135..a32dc41fe41f 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("environment_factory_gn") diff --git third_party/libwebrtc/api/environment/environment_gn/moz.build third_party/libwebrtc/api/environment/environment_gn/moz.build -index cdd4eda497c2..fc391b227ad3 100644 +index 6ffbbc713819..0017a6e38de6 100644 --- third_party/libwebrtc/api/environment/environment_gn/moz.build +++ third_party/libwebrtc/api/environment/environment_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -7832,12 +7696,13 @@ index cdd4eda497c2..fc391b227ad3 100644 +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" -@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -7845,13 +7710,14 @@ index cdd4eda497c2..fc391b227ad3 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -7863,8 +7729,6 @@ index cdd4eda497c2..fc391b227ad3 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -7872,12 +7736,12 @@ index cdd4eda497c2..fc391b227ad3 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -7891,7 +7755,6 @@ index cdd4eda497c2..fc391b227ad3 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -7915,6 +7778,7 @@ index cdd4eda497c2..fc391b227ad3 100644 - 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 @@ -7925,6 +7789,7 @@ index cdd4eda497c2..fc391b227ad3 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -7937,8 +7802,9 @@ index cdd4eda497c2..fc391b227ad3 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -7952,17 +7818,19 @@ index cdd4eda497c2..fc391b227ad3 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -7986,39 +7854,32 @@ index cdd4eda497c2..fc391b227ad3 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("environment_gn") diff --git third_party/libwebrtc/api/fec_controller_api_gn/moz.build third_party/libwebrtc/api/fec_controller_api_gn/moz.build -index 8bda4043be6b..71085b8a0208 100644 +index 6e9a6e09e8eb..4b29d5ad30b1 100644 --- third_party/libwebrtc/api/fec_controller_api_gn/moz.build +++ third_party/libwebrtc/api/fec_controller_api_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -8034,12 +7895,13 @@ index 8bda4043be6b..71085b8a0208 100644 +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" -@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -8047,13 +7909,14 @@ index 8bda4043be6b..71085b8a0208 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -8065,8 +7928,6 @@ index 8bda4043be6b..71085b8a0208 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -8074,12 +7935,12 @@ index 8bda4043be6b..71085b8a0208 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -8093,7 +7954,6 @@ index 8bda4043be6b..71085b8a0208 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -8117,6 +7977,7 @@ index 8bda4043be6b..71085b8a0208 100644 - 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 @@ -8127,6 +7988,7 @@ index 8bda4043be6b..71085b8a0208 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -8139,8 +8001,9 @@ index 8bda4043be6b..71085b8a0208 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -8154,17 +8017,19 @@ index 8bda4043be6b..71085b8a0208 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -8188,39 +8053,32 @@ index 8bda4043be6b..71085b8a0208 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("fec_controller_api_gn") diff --git third_party/libwebrtc/api/field_trials_registry_gn/moz.build third_party/libwebrtc/api/field_trials_registry_gn/moz.build -index c4645bf682f2..ef81a5cfa0f6 100644 +index 23a7adec4c94..be6713313eb6 100644 --- third_party/libwebrtc/api/field_trials_registry_gn/moz.build +++ third_party/libwebrtc/api/field_trials_registry_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -8236,12 +8094,13 @@ index c4645bf682f2..ef81a5cfa0f6 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -8249,13 +8108,14 @@ index c4645bf682f2..ef81a5cfa0f6 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -8267,8 +8127,6 @@ index c4645bf682f2..ef81a5cfa0f6 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -8276,12 +8134,12 @@ index c4645bf682f2..ef81a5cfa0f6 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -8291,7 +8149,6 @@ index c4645bf682f2..ef81a5cfa0f6 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -8315,6 +8172,7 @@ index c4645bf682f2..ef81a5cfa0f6 100644 - 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 @@ -8325,6 +8183,7 @@ index c4645bf682f2..ef81a5cfa0f6 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -8337,8 +8196,9 @@ index c4645bf682f2..ef81a5cfa0f6 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -8356,12 +8216,14 @@ index c4645bf682f2..ef81a5cfa0f6 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -8392,16 +8254,6 @@ index c4645bf682f2..ef81a5cfa0f6 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -8410,35 +8262,37 @@ index c4645bf682f2..ef81a5cfa0f6 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("field_trials_registry_gn") diff --git third_party/libwebrtc/api/field_trials_view_gn/moz.build third_party/libwebrtc/api/field_trials_view_gn/moz.build -index a6f7605626bc..f28ccdfa0f3d 100644 +index 736a968aae74..e72e934f1b1d 100644 --- third_party/libwebrtc/api/field_trials_view_gn/moz.build +++ third_party/libwebrtc/api/field_trials_view_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -8454,12 +8308,13 @@ index a6f7605626bc..f28ccdfa0f3d 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -8467,13 +8322,14 @@ index a6f7605626bc..f28ccdfa0f3d 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -8481,8 +8337,6 @@ index a6f7605626bc..f28ccdfa0f3d 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -8490,12 +8344,12 @@ index a6f7605626bc..f28ccdfa0f3d 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -8505,7 +8359,6 @@ index a6f7605626bc..f28ccdfa0f3d 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -8529,6 +8382,7 @@ index a6f7605626bc..f28ccdfa0f3d 100644 - 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 @@ -8539,13 +8393,15 @@ index a6f7605626bc..f28ccdfa0f3d 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -8559,17 +8415,19 @@ index a6f7605626bc..f28ccdfa0f3d 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -8593,39 +8451,32 @@ index a6f7605626bc..f28ccdfa0f3d 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("field_trials_view_gn") diff --git third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build -index 416a862b2e3b..a6ca7af93bd2 100644 +index bf8dc0629f1b..9f0b57171621 100644 --- third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build +++ third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -8641,12 +8492,13 @@ index 416a862b2e3b..a6ca7af93bd2 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -8654,13 +8506,14 @@ index 416a862b2e3b..a6ca7af93bd2 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -8672,8 +8525,6 @@ index 416a862b2e3b..a6ca7af93bd2 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -8681,12 +8532,12 @@ index 416a862b2e3b..a6ca7af93bd2 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -8700,7 +8551,6 @@ index 416a862b2e3b..a6ca7af93bd2 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -8724,6 +8574,7 @@ index 416a862b2e3b..a6ca7af93bd2 100644 - 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 @@ -8734,6 +8585,7 @@ index 416a862b2e3b..a6ca7af93bd2 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -8746,8 +8598,9 @@ index 416a862b2e3b..a6ca7af93bd2 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -8765,12 +8618,14 @@ index 416a862b2e3b..a6ca7af93bd2 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -8801,16 +8656,6 @@ index 416a862b2e3b..a6ca7af93bd2 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -8819,35 +8664,37 @@ index 416a862b2e3b..a6ca7af93bd2 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ 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 6c82fcf77a1c..c75f2fa7adb8 100644 +index bbe3a1fd5c7c..0b40bef503a7 100644 --- third_party/libwebrtc/api/function_view_gn/moz.build +++ third_party/libwebrtc/api/function_view_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -8863,12 +8710,13 @@ index 6c82fcf77a1c..c75f2fa7adb8 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -8876,13 +8724,14 @@ index 6c82fcf77a1c..c75f2fa7adb8 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -8894,8 +8743,6 @@ index 6c82fcf77a1c..c75f2fa7adb8 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -8903,12 +8750,12 @@ index 6c82fcf77a1c..c75f2fa7adb8 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -8918,7 +8765,6 @@ index 6c82fcf77a1c..c75f2fa7adb8 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -8942,6 +8788,7 @@ index 6c82fcf77a1c..c75f2fa7adb8 100644 - 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 @@ -8952,13 +8799,15 @@ index 6c82fcf77a1c..c75f2fa7adb8 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -8972,17 +8821,19 @@ index 6c82fcf77a1c..c75f2fa7adb8 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -9006,39 +8857,32 @@ index 6c82fcf77a1c..c75f2fa7adb8 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("function_view_gn") diff --git third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build -index c6e7793cb8ce..c5f2988c9cf3 100644 +index 3843f5846d4f..1c13a94a1634 100644 --- third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build +++ third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -9054,12 +8898,13 @@ index c6e7793cb8ce..c5f2988c9cf3 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -9067,13 +8912,14 @@ index c6e7793cb8ce..c5f2988c9cf3 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -9081,8 +8927,6 @@ index c6e7793cb8ce..c5f2988c9cf3 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -9090,12 +8934,12 @@ index c6e7793cb8ce..c5f2988c9cf3 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -9105,7 +8949,6 @@ index c6e7793cb8ce..c5f2988c9cf3 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -9129,6 +8972,7 @@ index c6e7793cb8ce..c5f2988c9cf3 100644 - 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 @@ -9139,13 +8983,15 @@ index c6e7793cb8ce..c5f2988c9cf3 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -9159,17 +9005,19 @@ index c6e7793cb8ce..c5f2988c9cf3 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -9193,39 +9041,32 @@ index c6e7793cb8ce..c5f2988c9cf3 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("jingle_logging_api_gn") diff --git third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build -index cc16ead8d247..89ce43a135f6 100644 +index 6c718ac926a3..589c17cda91f 100644 --- third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build +++ third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -9241,12 +9082,13 @@ index cc16ead8d247..89ce43a135f6 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -9254,13 +9096,14 @@ index cc16ead8d247..89ce43a135f6 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -9268,8 +9111,6 @@ index cc16ead8d247..89ce43a135f6 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -9277,12 +9118,12 @@ index cc16ead8d247..89ce43a135f6 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -9292,7 +9133,6 @@ index cc16ead8d247..89ce43a135f6 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -9316,6 +9156,7 @@ index cc16ead8d247..89ce43a135f6 100644 - 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 @@ -9326,13 +9167,15 @@ index cc16ead8d247..89ce43a135f6 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -9346,17 +9189,19 @@ index cc16ead8d247..89ce43a135f6 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -9380,39 +9225,32 @@ index cc16ead8d247..89ce43a135f6 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("jingle_peerconnection_api_gn") diff --git third_party/libwebrtc/api/location_gn/moz.build third_party/libwebrtc/api/location_gn/moz.build -index 6d66e59ebb7b..caaa00483d3e 100644 +index 6303607ebdc9..16aacea7ca3e 100644 --- third_party/libwebrtc/api/location_gn/moz.build +++ third_party/libwebrtc/api/location_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -9428,12 +9266,13 @@ index 6d66e59ebb7b..caaa00483d3e 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -9441,13 +9280,14 @@ index 6d66e59ebb7b..caaa00483d3e 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -9455,8 +9295,6 @@ index 6d66e59ebb7b..caaa00483d3e 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -9464,12 +9302,12 @@ index 6d66e59ebb7b..caaa00483d3e 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -9479,7 +9317,6 @@ index 6d66e59ebb7b..caaa00483d3e 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -9503,6 +9340,7 @@ index 6d66e59ebb7b..caaa00483d3e 100644 - 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 @@ -9513,13 +9351,15 @@ index 6d66e59ebb7b..caaa00483d3e 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -9533,17 +9373,19 @@ index 6d66e59ebb7b..caaa00483d3e 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -9567,39 +9409,32 @@ index 6d66e59ebb7b..caaa00483d3e 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("location_gn") diff --git third_party/libwebrtc/api/make_ref_counted_gn/moz.build third_party/libwebrtc/api/make_ref_counted_gn/moz.build -index 004d1dd755b9..d8144cd18e60 100644 +index 537369d878f3..5e048733bbd3 100644 --- third_party/libwebrtc/api/make_ref_counted_gn/moz.build +++ third_party/libwebrtc/api/make_ref_counted_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -9615,12 +9450,13 @@ index 004d1dd755b9..d8144cd18e60 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -9628,13 +9464,14 @@ index 004d1dd755b9..d8144cd18e60 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -9642,8 +9479,6 @@ index 004d1dd755b9..d8144cd18e60 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -9651,12 +9486,12 @@ index 004d1dd755b9..d8144cd18e60 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -9666,7 +9501,6 @@ index 004d1dd755b9..d8144cd18e60 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -9690,6 +9524,7 @@ index 004d1dd755b9..d8144cd18e60 100644 - 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 @@ -9700,13 +9535,15 @@ index 004d1dd755b9..d8144cd18e60 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -9720,17 +9557,19 @@ index 004d1dd755b9..d8144cd18e60 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -9754,39 +9593,32 @@ index 004d1dd755b9..d8144cd18e60 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("make_ref_counted_gn") diff --git third_party/libwebrtc/api/media_stream_interface_gn/moz.build third_party/libwebrtc/api/media_stream_interface_gn/moz.build -index 54aa80738e3c..5c0f76f23d55 100644 +index e6b2c4ab15f6..5b5807ef8bab 100644 --- third_party/libwebrtc/api/media_stream_interface_gn/moz.build +++ third_party/libwebrtc/api/media_stream_interface_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -9802,12 +9634,13 @@ index 54aa80738e3c..5c0f76f23d55 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -9815,13 +9648,14 @@ index 54aa80738e3c..5c0f76f23d55 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -9833,8 +9667,6 @@ index 54aa80738e3c..5c0f76f23d55 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -9842,12 +9674,12 @@ index 54aa80738e3c..5c0f76f23d55 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -9857,7 +9689,6 @@ index 54aa80738e3c..5c0f76f23d55 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -9881,6 +9712,7 @@ index 54aa80738e3c..5c0f76f23d55 100644 - 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 @@ -9891,6 +9723,7 @@ index 54aa80738e3c..5c0f76f23d55 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -9903,8 +9736,9 @@ index 54aa80738e3c..5c0f76f23d55 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -9922,12 +9756,14 @@ index 54aa80738e3c..5c0f76f23d55 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -9958,16 +9794,6 @@ index 54aa80738e3c..5c0f76f23d55 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -9976,35 +9802,37 @@ index 54aa80738e3c..5c0f76f23d55 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("media_stream_interface_gn") diff --git third_party/libwebrtc/api/metronome/metronome_gn/moz.build third_party/libwebrtc/api/metronome/metronome_gn/moz.build -index b1b97440e4e4..e9b473ead2b4 100644 +index 24c32ac9aa91..be111b3f1f2b 100644 --- third_party/libwebrtc/api/metronome/metronome_gn/moz.build +++ third_party/libwebrtc/api/metronome/metronome_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -10020,12 +9848,13 @@ index b1b97440e4e4..e9b473ead2b4 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -10033,13 +9862,14 @@ index b1b97440e4e4..e9b473ead2b4 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -10051,8 +9881,6 @@ index b1b97440e4e4..e9b473ead2b4 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -10060,12 +9888,12 @@ index b1b97440e4e4..e9b473ead2b4 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -10075,7 +9903,6 @@ index b1b97440e4e4..e9b473ead2b4 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -10099,6 +9926,7 @@ index b1b97440e4e4..e9b473ead2b4 100644 - 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 @@ -10109,13 +9937,15 @@ index b1b97440e4e4..e9b473ead2b4 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -10129,17 +9959,19 @@ index b1b97440e4e4..e9b473ead2b4 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -10163,39 +9995,32 @@ index b1b97440e4e4..e9b473ead2b4 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("metronome_gn") diff --git third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build -index 31dfa96d1368..3477a521945c 100644 +index 9cc852ea4e6c..563ddad2a07a 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -10211,12 +10036,13 @@ index 31dfa96d1368..3477a521945c 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -10224,13 +10050,14 @@ index 31dfa96d1368..3477a521945c 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -10242,8 +10069,6 @@ index 31dfa96d1368..3477a521945c 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -10251,12 +10076,12 @@ index 31dfa96d1368..3477a521945c 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -10270,7 +10095,6 @@ index 31dfa96d1368..3477a521945c 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -10294,6 +10118,7 @@ index 31dfa96d1368..3477a521945c 100644 - 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 @@ -10304,6 +10129,7 @@ index 31dfa96d1368..3477a521945c 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -10316,8 +10142,9 @@ index 31dfa96d1368..3477a521945c 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -10335,12 +10162,14 @@ index 31dfa96d1368..3477a521945c 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -10371,16 +10200,6 @@ index 31dfa96d1368..3477a521945c 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -10389,35 +10208,37 @@ index 31dfa96d1368..3477a521945c 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("default_neteq_controller_factory_gn") diff --git third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build -index b1226384d12d..1cc4a9137400 100644 +index 81290d80864c..c3c7920f98fb 100644 --- third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build +++ third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -10433,12 +10254,13 @@ index b1226384d12d..1cc4a9137400 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -10446,13 +10268,14 @@ index b1226384d12d..1cc4a9137400 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -10464,8 +10287,6 @@ index b1226384d12d..1cc4a9137400 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -10473,12 +10294,12 @@ index b1226384d12d..1cc4a9137400 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -10492,7 +10313,6 @@ index b1226384d12d..1cc4a9137400 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -10516,6 +10336,7 @@ index b1226384d12d..1cc4a9137400 100644 - 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 @@ -10526,6 +10347,7 @@ index b1226384d12d..1cc4a9137400 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -10538,8 +10360,9 @@ index b1226384d12d..1cc4a9137400 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -10557,12 +10380,14 @@ index b1226384d12d..1cc4a9137400 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -10593,16 +10418,6 @@ index b1226384d12d..1cc4a9137400 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -10611,35 +10426,37 @@ index b1226384d12d..1cc4a9137400 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("default_neteq_factory_gn") diff --git third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build -index a1f20bb03fea..3b4f25d48f7a 100644 +index 7e04b468e8c3..cc9f96610179 100644 --- third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build +++ third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -10655,12 +10472,13 @@ index a1f20bb03fea..3b4f25d48f7a 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -10668,13 +10486,14 @@ index a1f20bb03fea..3b4f25d48f7a 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -10686,8 +10505,6 @@ index a1f20bb03fea..3b4f25d48f7a 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -10695,12 +10512,12 @@ index a1f20bb03fea..3b4f25d48f7a 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -10714,7 +10531,6 @@ index a1f20bb03fea..3b4f25d48f7a 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -10738,6 +10554,7 @@ index a1f20bb03fea..3b4f25d48f7a 100644 - 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 @@ -10748,6 +10565,7 @@ index a1f20bb03fea..3b4f25d48f7a 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -10760,8 +10578,9 @@ index a1f20bb03fea..3b4f25d48f7a 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -10779,12 +10598,14 @@ index a1f20bb03fea..3b4f25d48f7a 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -10815,16 +10636,6 @@ index a1f20bb03fea..3b4f25d48f7a 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -10833,35 +10644,37 @@ index a1f20bb03fea..3b4f25d48f7a 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("neteq_api_gn") diff --git third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build -index 8e561ac80dc7..2ce3a755ec00 100644 +index 10f23f8b9e73..33604c4d0bd5 100644 --- third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build +++ third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -10877,12 +10690,13 @@ index 8e561ac80dc7..2ce3a755ec00 100644 +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" -@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -10890,13 +10704,14 @@ index 8e561ac80dc7..2ce3a755ec00 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -10908,8 +10723,6 @@ index 8e561ac80dc7..2ce3a755ec00 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -10917,12 +10730,12 @@ index 8e561ac80dc7..2ce3a755ec00 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -10936,7 +10749,6 @@ index 8e561ac80dc7..2ce3a755ec00 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -10960,6 +10772,7 @@ index 8e561ac80dc7..2ce3a755ec00 100644 - 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 @@ -10970,6 +10783,7 @@ index 8e561ac80dc7..2ce3a755ec00 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -10982,8 +10796,9 @@ index 8e561ac80dc7..2ce3a755ec00 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -10997,17 +10812,19 @@ index 8e561ac80dc7..2ce3a755ec00 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -11031,39 +10848,32 @@ index 8e561ac80dc7..2ce3a755ec00 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("neteq_controller_api_gn") diff --git third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build -index 3d4c927a3a69..9b7853205ab1 100644 +index 22a5fd8b39ae..13e1e4c6428e 100644 --- third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build +++ third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -11079,12 +10889,13 @@ index 3d4c927a3a69..9b7853205ab1 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -11092,13 +10903,14 @@ index 3d4c927a3a69..9b7853205ab1 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -11110,8 +10922,6 @@ index 3d4c927a3a69..9b7853205ab1 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -11119,12 +10929,12 @@ index 3d4c927a3a69..9b7853205ab1 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -11134,7 +10944,6 @@ index 3d4c927a3a69..9b7853205ab1 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -11158,6 +10967,7 @@ index 3d4c927a3a69..9b7853205ab1 100644 - 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 @@ -11168,13 +10978,15 @@ index 3d4c927a3a69..9b7853205ab1 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -11192,12 +11004,14 @@ index 3d4c927a3a69..9b7853205ab1 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -11228,16 +11042,6 @@ index 3d4c927a3a69..9b7853205ab1 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -11246,35 +11050,37 @@ index 3d4c927a3a69..9b7853205ab1 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("tick_timer_gn") diff --git third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build -index bb63e0bd8fea..4a47582dc2b6 100644 +index 2c3ff3588f46..0d71b6835f66 100644 --- third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build +++ third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -11290,12 +11096,13 @@ index bb63e0bd8fea..4a47582dc2b6 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -11303,13 +11110,14 @@ index bb63e0bd8fea..4a47582dc2b6 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -11317,8 +11125,6 @@ index bb63e0bd8fea..4a47582dc2b6 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -11326,12 +11132,12 @@ index bb63e0bd8fea..4a47582dc2b6 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -11341,7 +11147,6 @@ index bb63e0bd8fea..4a47582dc2b6 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -11365,6 +11170,7 @@ index bb63e0bd8fea..4a47582dc2b6 100644 - 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 @@ -11375,13 +11181,15 @@ index bb63e0bd8fea..4a47582dc2b6 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -11395,17 +11203,19 @@ index bb63e0bd8fea..4a47582dc2b6 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -11429,39 +11239,32 @@ index bb63e0bd8fea..4a47582dc2b6 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("network_state_predictor_api_gn") diff --git third_party/libwebrtc/api/priority_gn/moz.build third_party/libwebrtc/api/priority_gn/moz.build -index 30d291e65442..d29f4153dd41 100644 +index ae409fd2a8dc..8b2973c33499 100644 --- third_party/libwebrtc/api/priority_gn/moz.build +++ third_party/libwebrtc/api/priority_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -11477,12 +11280,13 @@ index 30d291e65442..d29f4153dd41 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -11490,13 +11294,14 @@ index 30d291e65442..d29f4153dd41 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -11508,8 +11313,6 @@ index 30d291e65442..d29f4153dd41 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -11517,12 +11320,12 @@ index 30d291e65442..d29f4153dd41 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -11532,7 +11335,6 @@ index 30d291e65442..d29f4153dd41 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -11556,6 +11358,7 @@ index 30d291e65442..d29f4153dd41 100644 - 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 @@ -11566,13 +11369,15 @@ index 30d291e65442..d29f4153dd41 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -11586,17 +11391,19 @@ index 30d291e65442..d29f4153dd41 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -11620,39 +11427,32 @@ index 30d291e65442..d29f4153dd41 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("priority_gn") diff --git third_party/libwebrtc/api/ref_count_gn/moz.build third_party/libwebrtc/api/ref_count_gn/moz.build -index 2c6650dfce0d..905863936e46 100644 +index 29eae9d26685..5f9a02823846 100644 --- third_party/libwebrtc/api/ref_count_gn/moz.build +++ third_party/libwebrtc/api/ref_count_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -11668,12 +11468,13 @@ index 2c6650dfce0d..905863936e46 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -11681,13 +11482,14 @@ index 2c6650dfce0d..905863936e46 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -11695,8 +11497,6 @@ index 2c6650dfce0d..905863936e46 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -11704,12 +11504,12 @@ index 2c6650dfce0d..905863936e46 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -11719,7 +11519,6 @@ index 2c6650dfce0d..905863936e46 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -11743,6 +11542,7 @@ index 2c6650dfce0d..905863936e46 100644 - 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 @@ -11753,13 +11553,15 @@ index 2c6650dfce0d..905863936e46 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -11773,17 +11575,19 @@ index 2c6650dfce0d..905863936e46 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -11807,39 +11611,32 @@ index 2c6650dfce0d..905863936e46 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("ref_count_gn") diff --git third_party/libwebrtc/api/refcountedbase_gn/moz.build third_party/libwebrtc/api/refcountedbase_gn/moz.build -index b4a1ce1859bd..5a48e0f012c7 100644 +index 15fcfbcab216..383dec1b2bf8 100644 --- third_party/libwebrtc/api/refcountedbase_gn/moz.build +++ third_party/libwebrtc/api/refcountedbase_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -11855,12 +11652,13 @@ index b4a1ce1859bd..5a48e0f012c7 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -11868,13 +11666,14 @@ index b4a1ce1859bd..5a48e0f012c7 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -11882,8 +11681,6 @@ index b4a1ce1859bd..5a48e0f012c7 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -11891,12 +11688,12 @@ index b4a1ce1859bd..5a48e0f012c7 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -11906,7 +11703,6 @@ index b4a1ce1859bd..5a48e0f012c7 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -11930,6 +11726,7 @@ index b4a1ce1859bd..5a48e0f012c7 100644 - 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 @@ -11940,13 +11737,15 @@ index b4a1ce1859bd..5a48e0f012c7 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -11960,17 +11759,19 @@ index b4a1ce1859bd..5a48e0f012c7 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -11994,39 +11795,32 @@ index b4a1ce1859bd..5a48e0f012c7 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("refcountedbase_gn") diff --git third_party/libwebrtc/api/rtc_error_gn/moz.build third_party/libwebrtc/api/rtc_error_gn/moz.build -index 90474a271986..56a78ea56e76 100644 +index 3ccf2200f06f..cb39ec5b95c8 100644 --- third_party/libwebrtc/api/rtc_error_gn/moz.build +++ third_party/libwebrtc/api/rtc_error_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -12042,12 +11836,13 @@ index 90474a271986..56a78ea56e76 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -12055,13 +11850,14 @@ index 90474a271986..56a78ea56e76 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -12073,8 +11869,6 @@ index 90474a271986..56a78ea56e76 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -12082,12 +11876,12 @@ index 90474a271986..56a78ea56e76 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -12097,7 +11891,6 @@ index 90474a271986..56a78ea56e76 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -12121,6 +11914,7 @@ index 90474a271986..56a78ea56e76 100644 - 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 @@ -12131,6 +11925,7 @@ index 90474a271986..56a78ea56e76 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -12143,8 +11938,9 @@ index 90474a271986..56a78ea56e76 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -12162,12 +11958,14 @@ index 90474a271986..56a78ea56e76 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -12198,16 +11996,6 @@ index 90474a271986..56a78ea56e76 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -12216,35 +12004,37 @@ index 90474a271986..56a78ea56e76 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rtc_error_gn") diff --git third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build -index 0b756bd9247e..7ea35cc02aba 100644 +index 6889927e409b..48e899d51c59 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -12260,12 +12050,13 @@ index 0b756bd9247e..7ea35cc02aba 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,94 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -12273,13 +12064,14 @@ index 0b756bd9247e..7ea35cc02aba 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -12291,8 +12083,6 @@ index 0b756bd9247e..7ea35cc02aba 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -12300,12 +12090,12 @@ index 0b756bd9247e..7ea35cc02aba 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -12315,7 +12105,6 @@ index 0b756bd9247e..7ea35cc02aba 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -12339,6 +12128,7 @@ index 0b756bd9247e..7ea35cc02aba 100644 - 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 @@ -12349,6 +12139,7 @@ index 0b756bd9247e..7ea35cc02aba 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -12361,8 +12152,9 @@ index 0b756bd9247e..7ea35cc02aba 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -141,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -12380,12 +12172,14 @@ index 0b756bd9247e..7ea35cc02aba 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -12416,16 +12210,6 @@ index 0b756bd9247e..7ea35cc02aba 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -12434,35 +12218,37 @@ index 0b756bd9247e..7ea35cc02aba 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rtc_event_log_gn") diff --git third_party/libwebrtc/api/rtp_headers_gn/moz.build third_party/libwebrtc/api/rtp_headers_gn/moz.build -index ec592155aca1..eac51ce2434c 100644 +index 4624ee5f34fc..594ac4704478 100644 --- third_party/libwebrtc/api/rtp_headers_gn/moz.build +++ third_party/libwebrtc/api/rtp_headers_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -12478,12 +12264,13 @@ index ec592155aca1..eac51ce2434c 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -12491,13 +12278,14 @@ index ec592155aca1..eac51ce2434c 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -12509,8 +12297,6 @@ index ec592155aca1..eac51ce2434c 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -12518,12 +12304,12 @@ index ec592155aca1..eac51ce2434c 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -12533,7 +12319,6 @@ index ec592155aca1..eac51ce2434c 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -12557,6 +12342,7 @@ index ec592155aca1..eac51ce2434c 100644 - 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 @@ -12567,6 +12353,7 @@ index ec592155aca1..eac51ce2434c 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -12579,8 +12366,9 @@ index ec592155aca1..eac51ce2434c 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -12598,12 +12386,14 @@ index ec592155aca1..eac51ce2434c 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -12634,16 +12424,6 @@ index ec592155aca1..eac51ce2434c 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -12652,35 +12432,37 @@ index ec592155aca1..eac51ce2434c 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rtp_headers_gn") diff --git third_party/libwebrtc/api/rtp_packet_info_gn/moz.build third_party/libwebrtc/api/rtp_packet_info_gn/moz.build -index 5ee810606cb6..ab05d8ade21a 100644 +index 426fd02dc047..9d75add45806 100644 --- third_party/libwebrtc/api/rtp_packet_info_gn/moz.build +++ third_party/libwebrtc/api/rtp_packet_info_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -12696,12 +12478,13 @@ index 5ee810606cb6..ab05d8ade21a 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -12709,13 +12492,14 @@ index 5ee810606cb6..ab05d8ade21a 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -12727,8 +12511,6 @@ index 5ee810606cb6..ab05d8ade21a 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -12736,12 +12518,12 @@ index 5ee810606cb6..ab05d8ade21a 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -12751,7 +12533,6 @@ index 5ee810606cb6..ab05d8ade21a 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -12775,6 +12556,7 @@ index 5ee810606cb6..ab05d8ade21a 100644 - 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 @@ -12785,6 +12567,7 @@ index 5ee810606cb6..ab05d8ade21a 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -12797,8 +12580,9 @@ index 5ee810606cb6..ab05d8ade21a 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -12816,12 +12600,14 @@ index 5ee810606cb6..ab05d8ade21a 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -12852,16 +12638,6 @@ index 5ee810606cb6..ab05d8ade21a 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -12870,35 +12646,37 @@ index 5ee810606cb6..ab05d8ade21a 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rtp_packet_info_gn") diff --git third_party/libwebrtc/api/rtp_packet_sender_gn/moz.build third_party/libwebrtc/api/rtp_packet_sender_gn/moz.build -index 02fdfc4bf124..c6285735ed40 100644 +index 237ff1576a05..c83102a4f914 100644 --- third_party/libwebrtc/api/rtp_packet_sender_gn/moz.build +++ third_party/libwebrtc/api/rtp_packet_sender_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -12914,12 +12692,13 @@ index 02fdfc4bf124..c6285735ed40 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -12927,13 +12706,14 @@ index 02fdfc4bf124..c6285735ed40 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -12941,8 +12721,6 @@ index 02fdfc4bf124..c6285735ed40 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -12950,12 +12728,12 @@ index 02fdfc4bf124..c6285735ed40 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -12965,7 +12743,6 @@ index 02fdfc4bf124..c6285735ed40 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -12989,6 +12766,7 @@ index 02fdfc4bf124..c6285735ed40 100644 - 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 @@ -12999,13 +12777,15 @@ index 02fdfc4bf124..c6285735ed40 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -13019,17 +12799,19 @@ index 02fdfc4bf124..c6285735ed40 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -13053,39 +12835,32 @@ index 02fdfc4bf124..c6285735ed40 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("rtp_packet_sender_gn") diff --git third_party/libwebrtc/api/rtp_parameters_gn/moz.build third_party/libwebrtc/api/rtp_parameters_gn/moz.build -index 238e7c67f128..cf15782a7f00 100644 +index f3b003458d9c..dd1c69095d01 100644 --- third_party/libwebrtc/api/rtp_parameters_gn/moz.build +++ third_party/libwebrtc/api/rtp_parameters_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -13101,12 +12876,13 @@ index 238e7c67f128..cf15782a7f00 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,179 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,87 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -13114,13 +12890,14 @@ index 238e7c67f128..cf15782a7f00 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -13132,8 +12909,6 @@ index 238e7c67f128..cf15782a7f00 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -13141,12 +12916,12 @@ index 238e7c67f128..cf15782a7f00 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -13156,7 +12931,6 @@ index 238e7c67f128..cf15782a7f00 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -13180,6 +12954,7 @@ index 238e7c67f128..cf15782a7f00 100644 - 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 @@ -13190,13 +12965,15 @@ index 238e7c67f128..cf15782a7f00 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -134,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -13214,12 +12991,14 @@ index 238e7c67f128..cf15782a7f00 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -13250,16 +13029,6 @@ index 238e7c67f128..cf15782a7f00 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -13268,35 +13037,37 @@ index 238e7c67f128..cf15782a7f00 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rtp_parameters_gn") diff --git third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build -index 2a7960aae06e..c12e8eb0b3ef 100644 +index adeeb2d582b5..0f70df38f99a 100644 --- third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build +++ third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -13312,12 +13083,13 @@ index 2a7960aae06e..c12e8eb0b3ef 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -13325,13 +13097,14 @@ index 2a7960aae06e..c12e8eb0b3ef 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -13339,8 +13112,6 @@ index 2a7960aae06e..c12e8eb0b3ef 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -13348,12 +13119,12 @@ index 2a7960aae06e..c12e8eb0b3ef 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -13363,7 +13134,6 @@ index 2a7960aae06e..c12e8eb0b3ef 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -13387,6 +13157,7 @@ index 2a7960aae06e..c12e8eb0b3ef 100644 - 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 @@ -13397,13 +13168,15 @@ index 2a7960aae06e..c12e8eb0b3ef 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -13417,17 +13190,19 @@ index 2a7960aae06e..c12e8eb0b3ef 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -13451,39 +13226,32 @@ index 2a7960aae06e..c12e8eb0b3ef 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("rtp_sender_interface_gn") diff --git third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build -index 0930cbd84acb..2c0babe074a3 100644 +index 4880eb91bdad..c57b2ad9341b 100644 --- third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build +++ third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -13499,12 +13267,13 @@ index 0930cbd84acb..2c0babe074a3 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -13512,13 +13281,14 @@ index 0930cbd84acb..2c0babe074a3 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -13530,8 +13300,6 @@ index 0930cbd84acb..2c0babe074a3 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -13539,12 +13307,12 @@ index 0930cbd84acb..2c0babe074a3 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -13554,7 +13322,6 @@ index 0930cbd84acb..2c0babe074a3 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -13578,6 +13345,7 @@ index 0930cbd84acb..2c0babe074a3 100644 - 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 @@ -13588,6 +13356,7 @@ index 0930cbd84acb..2c0babe074a3 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -13600,8 +13369,9 @@ index 0930cbd84acb..2c0babe074a3 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -13619,12 +13389,14 @@ index 0930cbd84acb..2c0babe074a3 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -13655,16 +13427,6 @@ index 0930cbd84acb..2c0babe074a3 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -13673,35 +13435,37 @@ index 0930cbd84acb..2c0babe074a3 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rtp_sender_setparameters_callback_gn") diff --git third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build -index 6613c28bb60a..003fe860fd3f 100644 +index 7cd95c265458..807fef6d2b72 100644 --- third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build +++ third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -13717,12 +13481,13 @@ index 6613c28bb60a..003fe860fd3f 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -13730,13 +13495,14 @@ index 6613c28bb60a..003fe860fd3f 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -13744,8 +13510,6 @@ index 6613c28bb60a..003fe860fd3f 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -13753,12 +13517,12 @@ index 6613c28bb60a..003fe860fd3f 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -13768,7 +13532,6 @@ index 6613c28bb60a..003fe860fd3f 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -13792,6 +13555,7 @@ index 6613c28bb60a..003fe860fd3f 100644 - 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 @@ -13802,13 +13566,15 @@ index 6613c28bb60a..003fe860fd3f 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -13822,17 +13588,19 @@ index 6613c28bb60a..003fe860fd3f 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -13856,39 +13624,32 @@ index 6613c28bb60a..003fe860fd3f 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("rtp_transceiver_direction_gn") diff --git third_party/libwebrtc/api/scoped_refptr_gn/moz.build third_party/libwebrtc/api/scoped_refptr_gn/moz.build -index b2adf5851e86..593dd7ead65b 100644 +index 978c11352837..e66d3f050f9d 100644 --- third_party/libwebrtc/api/scoped_refptr_gn/moz.build +++ third_party/libwebrtc/api/scoped_refptr_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -13904,12 +13665,13 @@ index b2adf5851e86..593dd7ead65b 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -13917,13 +13679,14 @@ index b2adf5851e86..593dd7ead65b 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -13931,8 +13694,6 @@ index b2adf5851e86..593dd7ead65b 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -13940,12 +13701,12 @@ index b2adf5851e86..593dd7ead65b 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -13955,7 +13716,6 @@ index b2adf5851e86..593dd7ead65b 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -13979,6 +13739,7 @@ index b2adf5851e86..593dd7ead65b 100644 - 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 @@ -13989,13 +13750,15 @@ index b2adf5851e86..593dd7ead65b 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -14009,17 +13772,19 @@ index b2adf5851e86..593dd7ead65b 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -14043,39 +13808,32 @@ index b2adf5851e86..593dd7ead65b 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("scoped_refptr_gn") diff --git third_party/libwebrtc/api/sequence_checker_gn/moz.build third_party/libwebrtc/api/sequence_checker_gn/moz.build -index 67c1414a8fb4..070132b14c93 100644 +index f1e011d8c84c..688821e634e8 100644 --- third_party/libwebrtc/api/sequence_checker_gn/moz.build +++ third_party/libwebrtc/api/sequence_checker_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -14091,12 +13849,13 @@ index 67c1414a8fb4..070132b14c93 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -14104,13 +13863,14 @@ index 67c1414a8fb4..070132b14c93 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -14122,8 +13882,6 @@ index 67c1414a8fb4..070132b14c93 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -14131,12 +13889,12 @@ index 67c1414a8fb4..070132b14c93 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -14146,7 +13904,6 @@ index 67c1414a8fb4..070132b14c93 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -14170,6 +13927,7 @@ index 67c1414a8fb4..070132b14c93 100644 - 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 @@ -14180,13 +13938,15 @@ index 67c1414a8fb4..070132b14c93 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -14200,17 +13960,19 @@ index 67c1414a8fb4..070132b14c93 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -14234,39 +13996,32 @@ index 67c1414a8fb4..070132b14c93 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("sequence_checker_gn") diff --git third_party/libwebrtc/api/task_queue/default_task_queue_factory_gn/moz.build third_party/libwebrtc/api/task_queue/default_task_queue_factory_gn/moz.build -index 122718956c48..a4b72e0aadf3 100644 +index 79e200469f70..ea11f3c1b3a1 100644 --- third_party/libwebrtc/api/task_queue/default_task_queue_factory_gn/moz.build +++ third_party/libwebrtc/api/task_queue/default_task_queue_factory_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -14282,12 +14037,13 @@ index 122718956c48..a4b72e0aadf3 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -14295,13 +14051,14 @@ index 122718956c48..a4b72e0aadf3 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -14309,8 +14066,6 @@ index 122718956c48..a4b72e0aadf3 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -14318,12 +14073,12 @@ index 122718956c48..a4b72e0aadf3 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -14333,7 +14088,6 @@ index 122718956c48..a4b72e0aadf3 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -14357,6 +14111,7 @@ index 122718956c48..a4b72e0aadf3 100644 - 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 @@ -14367,13 +14122,15 @@ index 122718956c48..a4b72e0aadf3 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -14387,17 +14144,19 @@ index 122718956c48..a4b72e0aadf3 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -14421,39 +14180,32 @@ index 122718956c48..a4b72e0aadf3 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("default_task_queue_factory_gn") diff --git third_party/libwebrtc/api/task_queue/pending_task_safety_flag_gn/moz.build third_party/libwebrtc/api/task_queue/pending_task_safety_flag_gn/moz.build -index 9d8b3cf2f357..6d9600947c8a 100644 +index 901b6d920251..b72308ca0896 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -14469,12 +14221,13 @@ index 9d8b3cf2f357..6d9600947c8a 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -14482,13 +14235,14 @@ index 9d8b3cf2f357..6d9600947c8a 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -14500,8 +14254,6 @@ index 9d8b3cf2f357..6d9600947c8a 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -14509,12 +14261,12 @@ index 9d8b3cf2f357..6d9600947c8a 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -14524,7 +14276,6 @@ index 9d8b3cf2f357..6d9600947c8a 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -14548,6 +14299,7 @@ index 9d8b3cf2f357..6d9600947c8a 100644 - 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 @@ -14558,13 +14310,15 @@ index 9d8b3cf2f357..6d9600947c8a 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -14582,12 +14336,14 @@ index 9d8b3cf2f357..6d9600947c8a 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -14618,16 +14374,6 @@ index 9d8b3cf2f357..6d9600947c8a 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -14636,35 +14382,37 @@ index 9d8b3cf2f357..6d9600947c8a 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("pending_task_safety_flag_gn") diff --git third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build -index 85ed7df23b34..85068cdc7550 100644 +index 24fa3d2c74d4..157d7f5d9682 100644 --- third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build +++ third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -14680,12 +14428,13 @@ index 85ed7df23b34..85068cdc7550 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -14693,13 +14442,14 @@ index 85ed7df23b34..85068cdc7550 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -14711,8 +14461,6 @@ index 85ed7df23b34..85068cdc7550 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -14720,12 +14468,12 @@ index 85ed7df23b34..85068cdc7550 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -14735,7 +14483,6 @@ index 85ed7df23b34..85068cdc7550 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -14759,6 +14506,7 @@ index 85ed7df23b34..85068cdc7550 100644 - 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 @@ -14769,13 +14517,15 @@ index 85ed7df23b34..85068cdc7550 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -14793,12 +14543,14 @@ index 85ed7df23b34..85068cdc7550 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -14829,16 +14581,6 @@ index 85ed7df23b34..85068cdc7550 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -14847,35 +14589,37 @@ index 85ed7df23b34..85068cdc7550 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("task_queue_gn") diff --git third_party/libwebrtc/api/transport/bandwidth_estimation_settings_gn/moz.build third_party/libwebrtc/api/transport/bandwidth_estimation_settings_gn/moz.build -index 21696b67b110..3121ac7a6e59 100644 +index 5c6002f71559..21629d52ba78 100644 --- third_party/libwebrtc/api/transport/bandwidth_estimation_settings_gn/moz.build +++ third_party/libwebrtc/api/transport/bandwidth_estimation_settings_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -14891,12 +14635,13 @@ index 21696b67b110..3121ac7a6e59 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -14904,13 +14649,14 @@ index 21696b67b110..3121ac7a6e59 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -14918,8 +14664,6 @@ index 21696b67b110..3121ac7a6e59 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -14927,12 +14671,12 @@ index 21696b67b110..3121ac7a6e59 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -14942,7 +14686,6 @@ index 21696b67b110..3121ac7a6e59 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -14966,6 +14709,7 @@ index 21696b67b110..3121ac7a6e59 100644 - 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 @@ -14976,13 +14720,15 @@ index 21696b67b110..3121ac7a6e59 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -14996,17 +14742,19 @@ index 21696b67b110..3121ac7a6e59 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -15030,39 +14778,32 @@ index 21696b67b110..3121ac7a6e59 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("bandwidth_estimation_settings_gn") diff --git third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build -index e7882cb5deca..df0954cb00bc 100644 +index 182cbc5da37f..ed6b6725902a 100644 --- third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build +++ third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -15078,12 +14819,13 @@ index e7882cb5deca..df0954cb00bc 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -15091,13 +14833,14 @@ index e7882cb5deca..df0954cb00bc 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -15105,8 +14848,6 @@ index e7882cb5deca..df0954cb00bc 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -15114,12 +14855,12 @@ index e7882cb5deca..df0954cb00bc 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -15129,7 +14870,6 @@ index e7882cb5deca..df0954cb00bc 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -15153,6 +14893,7 @@ index e7882cb5deca..df0954cb00bc 100644 - 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 @@ -15163,13 +14904,15 @@ index e7882cb5deca..df0954cb00bc 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -15183,17 +14926,19 @@ index e7882cb5deca..df0954cb00bc 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -15217,39 +14962,32 @@ index e7882cb5deca..df0954cb00bc 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("bandwidth_usage_gn") diff --git third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build -index 555a10902f49..c58892133406 100644 +index a420e52b3fbb..c3dd4ec105b8 100644 --- third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build +++ third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -15265,12 +15003,13 @@ index 555a10902f49..c58892133406 100644 +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" -@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -15278,13 +15017,14 @@ index 555a10902f49..c58892133406 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -15292,8 +15032,6 @@ index 555a10902f49..c58892133406 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -15301,12 +15039,12 @@ index 555a10902f49..c58892133406 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -15316,7 +15054,6 @@ index 555a10902f49..c58892133406 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -15340,6 +15077,7 @@ index 555a10902f49..c58892133406 100644 - 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 @@ -15350,13 +15088,15 @@ index 555a10902f49..c58892133406 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -15374,12 +15114,14 @@ index 555a10902f49..c58892133406 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -15410,53 +15152,45 @@ index 555a10902f49..c58892133406 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- OS_LIBS += [ -- "unwind" +- CXXFLAGS += [ +- "-msse2" - ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": -- - CXXFLAGS += [ - "-msse2" - ] - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - -- CXXFLAGS += [ -- "-msse2" -- ] -+if CONFIG["TARGET_CPU"] == "x86_64": +- + CXXFLAGS += [ + "-msse2" + ] +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("bitrate_settings_gn") diff --git third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build -index 8c89cd7e38ad..8c928a5e26a1 100644 +index dccd42a629d8..cbea1c90d191 100644 --- third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build +++ third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -15472,12 +15206,13 @@ index 8c89cd7e38ad..8c928a5e26a1 100644 +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" -@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -15485,13 +15220,14 @@ index 8c89cd7e38ad..8c928a5e26a1 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -15503,8 +15239,6 @@ index 8c89cd7e38ad..8c928a5e26a1 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -15512,12 +15246,12 @@ index 8c89cd7e38ad..8c928a5e26a1 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -15527,7 +15261,6 @@ index 8c89cd7e38ad..8c928a5e26a1 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -15551,6 +15284,7 @@ index 8c89cd7e38ad..8c928a5e26a1 100644 - 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 @@ -15561,6 +15295,7 @@ index 8c89cd7e38ad..8c928a5e26a1 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -15573,8 +15308,9 @@ index 8c89cd7e38ad..8c928a5e26a1 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -15588,17 +15324,19 @@ index 8c89cd7e38ad..8c928a5e26a1 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -15622,39 +15360,32 @@ index 8c89cd7e38ad..8c928a5e26a1 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("datagram_transport_interface_gn") diff --git third_party/libwebrtc/api/transport/ecn_marking_gn/moz.build third_party/libwebrtc/api/transport/ecn_marking_gn/moz.build -index 598652874c2f..b08c4ae86174 100644 +index 906e6d8d17f1..18ee5d1fdabc 100644 --- third_party/libwebrtc/api/transport/ecn_marking_gn/moz.build +++ third_party/libwebrtc/api/transport/ecn_marking_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -15670,12 +15401,13 @@ index 598652874c2f..b08c4ae86174 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -15683,13 +15415,14 @@ index 598652874c2f..b08c4ae86174 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -15697,8 +15430,6 @@ index 598652874c2f..b08c4ae86174 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -15706,12 +15437,12 @@ index 598652874c2f..b08c4ae86174 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -15721,7 +15452,6 @@ index 598652874c2f..b08c4ae86174 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -15745,6 +15475,7 @@ index 598652874c2f..b08c4ae86174 100644 - 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 @@ -15755,13 +15486,15 @@ index 598652874c2f..b08c4ae86174 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -15775,17 +15508,19 @@ index 598652874c2f..b08c4ae86174 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -15809,39 +15544,32 @@ index 598652874c2f..b08c4ae86174 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("ecn_marking_gn") diff --git third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build -index 9105d8e40b27..cba64e004708 100644 +index 3a1f004f3983..0961c22c71cb 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -15857,12 +15585,13 @@ index 9105d8e40b27..cba64e004708 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -15870,13 +15599,14 @@ index 9105d8e40b27..cba64e004708 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -15888,8 +15618,6 @@ index 9105d8e40b27..cba64e004708 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -15897,12 +15625,12 @@ index 9105d8e40b27..cba64e004708 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -15912,7 +15640,6 @@ index 9105d8e40b27..cba64e004708 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -15936,6 +15663,7 @@ index 9105d8e40b27..cba64e004708 100644 - 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 @@ -15946,6 +15674,7 @@ index 9105d8e40b27..cba64e004708 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -15958,8 +15687,9 @@ index 9105d8e40b27..cba64e004708 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -15977,12 +15707,14 @@ index 9105d8e40b27..cba64e004708 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -16013,16 +15745,6 @@ index 9105d8e40b27..cba64e004708 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -16031,35 +15753,37 @@ index 9105d8e40b27..cba64e004708 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("field_trial_based_config_gn") diff --git third_party/libwebrtc/api/transport/goog_cc_gn/moz.build third_party/libwebrtc/api/transport/goog_cc_gn/moz.build -index 3118bc006971..a579189ca56f 100644 +index 6643db6e5ded..acf87fb7090b 100644 --- third_party/libwebrtc/api/transport/goog_cc_gn/moz.build +++ third_party/libwebrtc/api/transport/goog_cc_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -16075,12 +15799,13 @@ index 3118bc006971..a579189ca56f 100644 +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" -@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -16088,13 +15813,14 @@ index 3118bc006971..a579189ca56f 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -16107,8 +15833,6 @@ index 3118bc006971..a579189ca56f 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -16116,12 +15840,12 @@ index 3118bc006971..a579189ca56f 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -16135,7 +15859,6 @@ index 3118bc006971..a579189ca56f 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -16159,6 +15882,7 @@ index 3118bc006971..a579189ca56f 100644 - 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 @@ -16169,6 +15893,7 @@ index 3118bc006971..a579189ca56f 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -16181,8 +15906,9 @@ index 3118bc006971..a579189ca56f 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -16200,12 +15926,14 @@ index 3118bc006971..a579189ca56f 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -16236,16 +15964,6 @@ index 3118bc006971..a579189ca56f 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -16254,35 +15972,37 @@ index 3118bc006971..a579189ca56f 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("goog_cc_gn") diff --git third_party/libwebrtc/api/transport/network_control_gn/moz.build third_party/libwebrtc/api/transport/network_control_gn/moz.build -index 6a2fc2185735..0840a4bd7daa 100644 +index 9f1d81a5385a..df4430a10cda 100644 --- third_party/libwebrtc/api/transport/network_control_gn/moz.build +++ third_party/libwebrtc/api/transport/network_control_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -16298,12 +16018,13 @@ index 6a2fc2185735..0840a4bd7daa 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -16311,13 +16032,14 @@ index 6a2fc2185735..0840a4bd7daa 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -16329,8 +16051,6 @@ index 6a2fc2185735..0840a4bd7daa 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -16338,12 +16058,12 @@ index 6a2fc2185735..0840a4bd7daa 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -16357,7 +16077,6 @@ index 6a2fc2185735..0840a4bd7daa 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -16381,6 +16100,7 @@ index 6a2fc2185735..0840a4bd7daa 100644 - 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 @@ -16391,6 +16111,7 @@ index 6a2fc2185735..0840a4bd7daa 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -16403,8 +16124,9 @@ index 6a2fc2185735..0840a4bd7daa 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -16422,12 +16144,14 @@ index 6a2fc2185735..0840a4bd7daa 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -16458,16 +16182,6 @@ index 6a2fc2185735..0840a4bd7daa 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -16476,35 +16190,37 @@ index 6a2fc2185735..0840a4bd7daa 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("network_control_gn") diff --git third_party/libwebrtc/api/transport/rtp/corruption_detection_message_gn/moz.build third_party/libwebrtc/api/transport/rtp/corruption_detection_message_gn/moz.build -index a51a68014985..9b4f1222b38e 100644 +index 68af5c4b0896..2cdd5c5fdbc2 100644 --- third_party/libwebrtc/api/transport/rtp/corruption_detection_message_gn/moz.build +++ third_party/libwebrtc/api/transport/rtp/corruption_detection_message_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -16520,12 +16236,13 @@ index a51a68014985..9b4f1222b38e 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -16533,13 +16250,14 @@ index a51a68014985..9b4f1222b38e 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -16551,8 +16269,6 @@ index a51a68014985..9b4f1222b38e 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -16560,12 +16276,12 @@ index a51a68014985..9b4f1222b38e 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -16575,7 +16291,6 @@ index a51a68014985..9b4f1222b38e 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -16599,6 +16314,7 @@ index a51a68014985..9b4f1222b38e 100644 - 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 @@ -16609,13 +16325,15 @@ index a51a68014985..9b4f1222b38e 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -16629,17 +16347,19 @@ index a51a68014985..9b4f1222b38e 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -16663,39 +16383,32 @@ index a51a68014985..9b4f1222b38e 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("corruption_detection_message_gn") diff --git third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build -index e82fb7517ca6..89beea20aa47 100644 +index e39fc6c6faa6..d838b987add6 100644 --- third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build +++ third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -16711,12 +16424,13 @@ index e82fb7517ca6..89beea20aa47 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -16724,13 +16438,14 @@ index e82fb7517ca6..89beea20aa47 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -16742,8 +16457,6 @@ index e82fb7517ca6..89beea20aa47 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -16751,12 +16464,12 @@ index e82fb7517ca6..89beea20aa47 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -16766,7 +16479,6 @@ index e82fb7517ca6..89beea20aa47 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -16790,6 +16502,7 @@ index e82fb7517ca6..89beea20aa47 100644 - 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 @@ -16800,13 +16513,15 @@ index e82fb7517ca6..89beea20aa47 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -16824,12 +16539,14 @@ index e82fb7517ca6..89beea20aa47 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -16860,16 +16577,6 @@ index e82fb7517ca6..89beea20aa47 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -16878,35 +16585,37 @@ index e82fb7517ca6..89beea20aa47 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("dependency_descriptor_gn") diff --git third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build -index 5b00f221434f..c0eba9314e7c 100644 +index a4519718a30b..3a3a21cf0c4c 100644 --- third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build +++ third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -16922,12 +16631,13 @@ index 5b00f221434f..c0eba9314e7c 100644 +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" -@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -16935,13 +16645,14 @@ index 5b00f221434f..c0eba9314e7c 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -16953,8 +16664,6 @@ index 5b00f221434f..c0eba9314e7c 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -16962,12 +16671,12 @@ index 5b00f221434f..c0eba9314e7c 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -16977,7 +16686,6 @@ index 5b00f221434f..c0eba9314e7c 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -17001,6 +16709,7 @@ index 5b00f221434f..c0eba9314e7c 100644 - 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 @@ -17011,6 +16720,7 @@ index 5b00f221434f..c0eba9314e7c 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -17023,8 +16733,9 @@ index 5b00f221434f..c0eba9314e7c 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -17038,17 +16749,19 @@ index 5b00f221434f..c0eba9314e7c 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -17072,39 +16785,32 @@ index 5b00f221434f..c0eba9314e7c 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("rtp_source_gn") diff --git third_party/libwebrtc/api/transport/stun_types_gn/moz.build third_party/libwebrtc/api/transport/stun_types_gn/moz.build -index ec8b1a8ae39f..ae0e9837c2d7 100644 +index 4c18f995b3d9..5970a6078b50 100644 --- third_party/libwebrtc/api/transport/stun_types_gn/moz.build +++ third_party/libwebrtc/api/transport/stun_types_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -17120,12 +16826,13 @@ index ec8b1a8ae39f..ae0e9837c2d7 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -17133,13 +16840,14 @@ index ec8b1a8ae39f..ae0e9837c2d7 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -17147,8 +16855,6 @@ index ec8b1a8ae39f..ae0e9837c2d7 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -17156,12 +16862,12 @@ index ec8b1a8ae39f..ae0e9837c2d7 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -17171,7 +16877,6 @@ index ec8b1a8ae39f..ae0e9837c2d7 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -17195,6 +16900,7 @@ index ec8b1a8ae39f..ae0e9837c2d7 100644 - 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 @@ -17205,13 +16911,15 @@ index ec8b1a8ae39f..ae0e9837c2d7 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -17225,17 +16933,19 @@ index ec8b1a8ae39f..ae0e9837c2d7 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -17259,39 +16969,32 @@ index ec8b1a8ae39f..ae0e9837c2d7 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("stun_types_gn") diff --git third_party/libwebrtc/api/transport_api_gn/moz.build third_party/libwebrtc/api/transport_api_gn/moz.build -index f62d79097db6..0ca3c18961d0 100644 +index 386c5d86ae5c..7835289591c4 100644 --- third_party/libwebrtc/api/transport_api_gn/moz.build +++ third_party/libwebrtc/api/transport_api_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -17307,12 +17010,13 @@ index f62d79097db6..0ca3c18961d0 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -17320,13 +17024,14 @@ index f62d79097db6..0ca3c18961d0 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -17338,8 +17043,6 @@ index f62d79097db6..0ca3c18961d0 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -17347,12 +17050,12 @@ index f62d79097db6..0ca3c18961d0 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -17362,7 +17065,6 @@ index f62d79097db6..0ca3c18961d0 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -17386,6 +17088,7 @@ index f62d79097db6..0ca3c18961d0 100644 - 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 @@ -17396,13 +17099,15 @@ index f62d79097db6..0ca3c18961d0 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -17420,12 +17125,14 @@ index f62d79097db6..0ca3c18961d0 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -17456,16 +17163,6 @@ index f62d79097db6..0ca3c18961d0 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -17474,35 +17171,37 @@ index f62d79097db6..0ca3c18961d0 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("transport_api_gn") diff --git third_party/libwebrtc/api/units/data_rate_gn/moz.build third_party/libwebrtc/api/units/data_rate_gn/moz.build -index 6543d20d464f..54e7f93d1721 100644 +index a24ae78d4c9f..b97815d92c09 100644 --- third_party/libwebrtc/api/units/data_rate_gn/moz.build +++ third_party/libwebrtc/api/units/data_rate_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -17518,12 +17217,13 @@ index 6543d20d464f..54e7f93d1721 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -17531,13 +17231,14 @@ index 6543d20d464f..54e7f93d1721 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -17549,8 +17250,6 @@ index 6543d20d464f..54e7f93d1721 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -17558,12 +17257,12 @@ index 6543d20d464f..54e7f93d1721 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -17573,7 +17272,6 @@ index 6543d20d464f..54e7f93d1721 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -17597,6 +17295,7 @@ index 6543d20d464f..54e7f93d1721 100644 - 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 @@ -17607,13 +17306,15 @@ index 6543d20d464f..54e7f93d1721 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -17631,12 +17332,14 @@ index 6543d20d464f..54e7f93d1721 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -17667,16 +17370,6 @@ index 6543d20d464f..54e7f93d1721 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -17685,35 +17378,37 @@ index 6543d20d464f..54e7f93d1721 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("data_rate_gn") diff --git third_party/libwebrtc/api/units/data_size_gn/moz.build third_party/libwebrtc/api/units/data_size_gn/moz.build -index bcc4e35cfcb6..770feb1b06c9 100644 +index cdfe31ebb845..30e91e2fa7a2 100644 --- third_party/libwebrtc/api/units/data_size_gn/moz.build +++ third_party/libwebrtc/api/units/data_size_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -17729,12 +17424,13 @@ index bcc4e35cfcb6..770feb1b06c9 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -17742,13 +17438,14 @@ index bcc4e35cfcb6..770feb1b06c9 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -17760,8 +17457,6 @@ index bcc4e35cfcb6..770feb1b06c9 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -17769,12 +17464,12 @@ index bcc4e35cfcb6..770feb1b06c9 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -17784,7 +17479,6 @@ index bcc4e35cfcb6..770feb1b06c9 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -17808,6 +17502,7 @@ index bcc4e35cfcb6..770feb1b06c9 100644 - 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 @@ -17818,13 +17513,15 @@ index bcc4e35cfcb6..770feb1b06c9 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -17842,12 +17539,14 @@ index bcc4e35cfcb6..770feb1b06c9 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -17878,16 +17577,6 @@ index bcc4e35cfcb6..770feb1b06c9 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -17896,35 +17585,37 @@ index bcc4e35cfcb6..770feb1b06c9 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("data_size_gn") diff --git third_party/libwebrtc/api/units/frequency_gn/moz.build third_party/libwebrtc/api/units/frequency_gn/moz.build -index 1da91b84b933..55e3ba9b1169 100644 +index 82ba792a86a0..5c068b7e233c 100644 --- third_party/libwebrtc/api/units/frequency_gn/moz.build +++ third_party/libwebrtc/api/units/frequency_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -17940,12 +17631,13 @@ index 1da91b84b933..55e3ba9b1169 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -17953,13 +17645,14 @@ index 1da91b84b933..55e3ba9b1169 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -17971,8 +17664,6 @@ index 1da91b84b933..55e3ba9b1169 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -17980,12 +17671,12 @@ index 1da91b84b933..55e3ba9b1169 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -17995,7 +17686,6 @@ index 1da91b84b933..55e3ba9b1169 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -18019,6 +17709,7 @@ index 1da91b84b933..55e3ba9b1169 100644 - 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 @@ -18029,13 +17720,15 @@ index 1da91b84b933..55e3ba9b1169 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -18053,12 +17746,14 @@ index 1da91b84b933..55e3ba9b1169 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -18089,16 +17784,6 @@ index 1da91b84b933..55e3ba9b1169 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -18107,35 +17792,37 @@ index 1da91b84b933..55e3ba9b1169 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("frequency_gn") diff --git third_party/libwebrtc/api/units/time_delta_gn/moz.build third_party/libwebrtc/api/units/time_delta_gn/moz.build -index 525e75c3d915..e33f5d12403a 100644 +index 4d0860fef399..be767d71a397 100644 --- third_party/libwebrtc/api/units/time_delta_gn/moz.build +++ third_party/libwebrtc/api/units/time_delta_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -18151,12 +17838,13 @@ index 525e75c3d915..e33f5d12403a 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -18164,13 +17852,14 @@ index 525e75c3d915..e33f5d12403a 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -18182,8 +17871,6 @@ index 525e75c3d915..e33f5d12403a 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -18191,12 +17878,12 @@ index 525e75c3d915..e33f5d12403a 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -18206,7 +17893,6 @@ index 525e75c3d915..e33f5d12403a 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -18230,6 +17916,7 @@ index 525e75c3d915..e33f5d12403a 100644 - 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 @@ -18240,13 +17927,15 @@ index 525e75c3d915..e33f5d12403a 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -18264,12 +17953,14 @@ index 525e75c3d915..e33f5d12403a 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -18300,16 +17991,6 @@ index 525e75c3d915..e33f5d12403a 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -18318,35 +17999,37 @@ index 525e75c3d915..e33f5d12403a 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("time_delta_gn") diff --git third_party/libwebrtc/api/units/timestamp_gn/moz.build third_party/libwebrtc/api/units/timestamp_gn/moz.build -index 2a52cfa0984e..9400f8288bad 100644 +index f51733fd8a12..5e0489f0ce58 100644 --- third_party/libwebrtc/api/units/timestamp_gn/moz.build +++ third_party/libwebrtc/api/units/timestamp_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -18362,12 +18045,13 @@ index 2a52cfa0984e..9400f8288bad 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -18375,13 +18059,14 @@ index 2a52cfa0984e..9400f8288bad 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -18393,8 +18078,6 @@ index 2a52cfa0984e..9400f8288bad 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -18402,12 +18085,12 @@ index 2a52cfa0984e..9400f8288bad 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -18417,7 +18100,6 @@ index 2a52cfa0984e..9400f8288bad 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -18441,6 +18123,7 @@ index 2a52cfa0984e..9400f8288bad 100644 - 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 @@ -18451,13 +18134,15 @@ index 2a52cfa0984e..9400f8288bad 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -18475,12 +18160,14 @@ index 2a52cfa0984e..9400f8288bad 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -18511,16 +18198,6 @@ index 2a52cfa0984e..9400f8288bad 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -18529,35 +18206,37 @@ index 2a52cfa0984e..9400f8288bad 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("timestamp_gn") diff --git third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build -index d28b32f439c1..7348138c0730 100644 +index 8c0ac8a1fce2..8d6cda6f4bd9 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -18573,12 +18252,13 @@ index d28b32f439c1..7348138c0730 100644 +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" -@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -18586,13 +18266,14 @@ index d28b32f439c1..7348138c0730 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -18605,8 +18286,6 @@ index d28b32f439c1..7348138c0730 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -18614,12 +18293,12 @@ index d28b32f439c1..7348138c0730 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -18633,7 +18312,6 @@ index d28b32f439c1..7348138c0730 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -18657,6 +18335,7 @@ index d28b32f439c1..7348138c0730 100644 - 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 @@ -18667,6 +18346,7 @@ index d28b32f439c1..7348138c0730 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -18679,8 +18359,9 @@ index d28b32f439c1..7348138c0730 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -18698,12 +18379,14 @@ index d28b32f439c1..7348138c0730 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -18734,16 +18417,6 @@ index d28b32f439c1..7348138c0730 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -18752,35 +18425,37 @@ index d28b32f439c1..7348138c0730 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("builtin_video_bitrate_allocator_factory_gn") diff --git third_party/libwebrtc/api/video/corruption_detection_filter_settings_gn/moz.build third_party/libwebrtc/api/video/corruption_detection_filter_settings_gn/moz.build -index 84910bec5b6a..28ddeb5e8675 100644 +index fdfec36f901f..fd4cdd50921a 100644 --- third_party/libwebrtc/api/video/corruption_detection_filter_settings_gn/moz.build +++ third_party/libwebrtc/api/video/corruption_detection_filter_settings_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -18796,12 +18471,13 @@ index 84910bec5b6a..28ddeb5e8675 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -18809,13 +18485,14 @@ index 84910bec5b6a..28ddeb5e8675 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -18823,8 +18500,6 @@ index 84910bec5b6a..28ddeb5e8675 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -18832,12 +18507,12 @@ index 84910bec5b6a..28ddeb5e8675 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -18847,7 +18522,6 @@ index 84910bec5b6a..28ddeb5e8675 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -18871,6 +18545,7 @@ index 84910bec5b6a..28ddeb5e8675 100644 - 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 @@ -18881,13 +18556,15 @@ index 84910bec5b6a..28ddeb5e8675 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -18901,17 +18578,19 @@ index 84910bec5b6a..28ddeb5e8675 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -18935,39 +18614,32 @@ index 84910bec5b6a..28ddeb5e8675 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("corruption_detection_filter_settings_gn") diff --git third_party/libwebrtc/api/video/encoded_frame_gn/moz.build third_party/libwebrtc/api/video/encoded_frame_gn/moz.build -index 1bff1d8fae9f..cb2e3e8b1c8c 100644 +index 1a7f99c95cb0..bd9e4c42247a 100644 --- third_party/libwebrtc/api/video/encoded_frame_gn/moz.build +++ third_party/libwebrtc/api/video/encoded_frame_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -18983,12 +18655,13 @@ index 1bff1d8fae9f..cb2e3e8b1c8c 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -18996,13 +18669,14 @@ index 1bff1d8fae9f..cb2e3e8b1c8c 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -19014,8 +18688,6 @@ index 1bff1d8fae9f..cb2e3e8b1c8c 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -19023,12 +18695,12 @@ index 1bff1d8fae9f..cb2e3e8b1c8c 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -19042,7 +18714,6 @@ index 1bff1d8fae9f..cb2e3e8b1c8c 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -19066,6 +18737,7 @@ index 1bff1d8fae9f..cb2e3e8b1c8c 100644 - 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 @@ -19076,6 +18748,7 @@ index 1bff1d8fae9f..cb2e3e8b1c8c 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -19088,8 +18761,9 @@ index 1bff1d8fae9f..cb2e3e8b1c8c 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -19107,12 +18781,14 @@ index 1bff1d8fae9f..cb2e3e8b1c8c 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -19143,16 +18819,6 @@ index 1bff1d8fae9f..cb2e3e8b1c8c 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -19161,35 +18827,37 @@ index 1bff1d8fae9f..cb2e3e8b1c8c 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("encoded_frame_gn") diff --git third_party/libwebrtc/api/video/encoded_image_gn/moz.build third_party/libwebrtc/api/video/encoded_image_gn/moz.build -index bfdc38c74288..17c35ae9a249 100644 +index b8cb9d7f1d2c..dd403bd402b8 100644 --- third_party/libwebrtc/api/video/encoded_image_gn/moz.build +++ third_party/libwebrtc/api/video/encoded_image_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -19205,12 +18873,13 @@ index bfdc38c74288..17c35ae9a249 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -19218,13 +18887,14 @@ index bfdc38c74288..17c35ae9a249 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -19236,8 +18906,6 @@ index bfdc38c74288..17c35ae9a249 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -19245,12 +18913,12 @@ index bfdc38c74288..17c35ae9a249 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -19260,7 +18928,6 @@ index bfdc38c74288..17c35ae9a249 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -19284,6 +18951,7 @@ index bfdc38c74288..17c35ae9a249 100644 - 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 @@ -19294,6 +18962,7 @@ index bfdc38c74288..17c35ae9a249 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -19306,8 +18975,9 @@ index bfdc38c74288..17c35ae9a249 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -19325,12 +18995,14 @@ index bfdc38c74288..17c35ae9a249 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -19361,16 +19033,6 @@ index bfdc38c74288..17c35ae9a249 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -19379,35 +19041,37 @@ index bfdc38c74288..17c35ae9a249 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("encoded_image_gn") diff --git third_party/libwebrtc/api/video/frame_buffer_gn/moz.build third_party/libwebrtc/api/video/frame_buffer_gn/moz.build -index 08a20c36f3b2..588d4beb1a1c 100644 +index 62069abb52d3..2a33a1c263fd 100644 --- third_party/libwebrtc/api/video/frame_buffer_gn/moz.build +++ third_party/libwebrtc/api/video/frame_buffer_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -19423,12 +19087,13 @@ index 08a20c36f3b2..588d4beb1a1c 100644 +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" -@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -19436,13 +19101,14 @@ index 08a20c36f3b2..588d4beb1a1c 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -19455,8 +19121,6 @@ index 08a20c36f3b2..588d4beb1a1c 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -19464,12 +19128,12 @@ index 08a20c36f3b2..588d4beb1a1c 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -19483,7 +19147,6 @@ index 08a20c36f3b2..588d4beb1a1c 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -19507,6 +19170,7 @@ index 08a20c36f3b2..588d4beb1a1c 100644 - 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 @@ -19517,6 +19181,7 @@ index 08a20c36f3b2..588d4beb1a1c 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -19529,8 +19194,9 @@ index 08a20c36f3b2..588d4beb1a1c 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -19548,12 +19214,14 @@ index 08a20c36f3b2..588d4beb1a1c 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -19584,16 +19252,6 @@ index 08a20c36f3b2..588d4beb1a1c 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -19602,35 +19260,37 @@ index 08a20c36f3b2..588d4beb1a1c 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("frame_buffer_gn") diff --git third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build -index 682afa6b23c6..6dfaf4e483c8 100644 +index 9ea836d67874..acac99ec2efc 100644 --- third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build +++ third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -19646,12 +19306,13 @@ index 682afa6b23c6..6dfaf4e483c8 100644 +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" -@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -19659,13 +19320,14 @@ index 682afa6b23c6..6dfaf4e483c8 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -19677,8 +19339,6 @@ index 682afa6b23c6..6dfaf4e483c8 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -19686,12 +19346,12 @@ index 682afa6b23c6..6dfaf4e483c8 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -19701,7 +19361,6 @@ index 682afa6b23c6..6dfaf4e483c8 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -19725,6 +19384,7 @@ index 682afa6b23c6..6dfaf4e483c8 100644 - 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 @@ -19735,6 +19395,7 @@ index 682afa6b23c6..6dfaf4e483c8 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -19747,8 +19408,9 @@ index 682afa6b23c6..6dfaf4e483c8 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -19762,17 +19424,19 @@ index 682afa6b23c6..6dfaf4e483c8 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -19796,39 +19460,32 @@ index 682afa6b23c6..6dfaf4e483c8 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("recordable_encoded_frame_gn") diff --git third_party/libwebrtc/api/video/render_resolution_gn/moz.build third_party/libwebrtc/api/video/render_resolution_gn/moz.build -index c572a6cb3edd..57a7f9cbfd11 100644 +index d53344a9f3d9..4d4a725570d9 100644 --- third_party/libwebrtc/api/video/render_resolution_gn/moz.build +++ third_party/libwebrtc/api/video/render_resolution_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -19844,12 +19501,13 @@ index c572a6cb3edd..57a7f9cbfd11 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -19857,13 +19515,14 @@ index c572a6cb3edd..57a7f9cbfd11 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -19871,8 +19530,6 @@ index c572a6cb3edd..57a7f9cbfd11 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -19880,12 +19537,12 @@ index c572a6cb3edd..57a7f9cbfd11 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -19895,7 +19552,6 @@ index c572a6cb3edd..57a7f9cbfd11 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -19919,6 +19575,7 @@ index c572a6cb3edd..57a7f9cbfd11 100644 - 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 @@ -19929,13 +19586,15 @@ index c572a6cb3edd..57a7f9cbfd11 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -19949,17 +19608,19 @@ index c572a6cb3edd..57a7f9cbfd11 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -19983,39 +19644,32 @@ index c572a6cb3edd..57a7f9cbfd11 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("render_resolution_gn") diff --git third_party/libwebrtc/api/video/resolution_gn/moz.build third_party/libwebrtc/api/video/resolution_gn/moz.build -index 8100831c4cc7..9e9cad2d3072 100644 +index 2d091f0e8df2..eb720446212d 100644 --- third_party/libwebrtc/api/video/resolution_gn/moz.build +++ third_party/libwebrtc/api/video/resolution_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -20031,12 +19685,13 @@ index 8100831c4cc7..9e9cad2d3072 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -20044,13 +19699,14 @@ index 8100831c4cc7..9e9cad2d3072 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -20058,8 +19714,6 @@ index 8100831c4cc7..9e9cad2d3072 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -20067,12 +19721,12 @@ index 8100831c4cc7..9e9cad2d3072 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -20082,7 +19736,6 @@ index 8100831c4cc7..9e9cad2d3072 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -20106,6 +19759,7 @@ index 8100831c4cc7..9e9cad2d3072 100644 - 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 @@ -20116,13 +19770,15 @@ index 8100831c4cc7..9e9cad2d3072 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -20136,17 +19792,19 @@ index 8100831c4cc7..9e9cad2d3072 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -20170,39 +19828,32 @@ index 8100831c4cc7..9e9cad2d3072 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("resolution_gn") diff --git third_party/libwebrtc/api/video/video_adaptation_gn/moz.build third_party/libwebrtc/api/video/video_adaptation_gn/moz.build -index ebd41d83934c..047f9d1c5018 100644 +index 1e622ec490ae..39619b9c29ce 100644 --- third_party/libwebrtc/api/video/video_adaptation_gn/moz.build +++ third_party/libwebrtc/api/video/video_adaptation_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -20218,12 +19869,13 @@ index ebd41d83934c..047f9d1c5018 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -20231,13 +19883,14 @@ index ebd41d83934c..047f9d1c5018 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -20249,8 +19902,6 @@ index ebd41d83934c..047f9d1c5018 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -20258,12 +19909,12 @@ index ebd41d83934c..047f9d1c5018 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -20273,7 +19924,6 @@ index ebd41d83934c..047f9d1c5018 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -20297,6 +19947,7 @@ index ebd41d83934c..047f9d1c5018 100644 - 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 @@ -20307,13 +19958,15 @@ index ebd41d83934c..047f9d1c5018 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -20331,12 +19984,14 @@ index ebd41d83934c..047f9d1c5018 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -20367,16 +20022,6 @@ index ebd41d83934c..047f9d1c5018 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -20385,35 +20030,37 @@ index ebd41d83934c..047f9d1c5018 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("video_adaptation_gn") diff --git third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build -index 1b623991d78b..691d665df7ab 100644 +index 3d69e67814d6..00adcafb1333 100644 --- third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build +++ third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -20429,12 +20076,13 @@ index 1b623991d78b..691d665df7ab 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -20442,13 +20090,14 @@ index 1b623991d78b..691d665df7ab 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -20460,8 +20109,6 @@ index 1b623991d78b..691d665df7ab 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -20469,12 +20116,12 @@ index 1b623991d78b..691d665df7ab 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -20484,7 +20131,6 @@ index 1b623991d78b..691d665df7ab 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -20508,6 +20154,7 @@ index 1b623991d78b..691d665df7ab 100644 - 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 @@ -20518,13 +20165,15 @@ index 1b623991d78b..691d665df7ab 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -20542,12 +20191,14 @@ index 1b623991d78b..691d665df7ab 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -20578,16 +20229,6 @@ index 1b623991d78b..691d665df7ab 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -20596,35 +20237,37 @@ index 1b623991d78b..691d665df7ab 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("video_bitrate_allocation_gn") diff --git third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build -index 7a63da34e3a2..0e4eb3564582 100644 +index 5538286ffa2b..f8888ae4133e 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -20640,12 +20283,13 @@ index 7a63da34e3a2..0e4eb3564582 100644 +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" -@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -20653,13 +20297,14 @@ index 7a63da34e3a2..0e4eb3564582 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -20671,8 +20316,6 @@ index 7a63da34e3a2..0e4eb3564582 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -20680,12 +20323,12 @@ index 7a63da34e3a2..0e4eb3564582 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -20699,7 +20342,6 @@ index 7a63da34e3a2..0e4eb3564582 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -20723,6 +20365,7 @@ index 7a63da34e3a2..0e4eb3564582 100644 - 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 @@ -20733,6 +20376,7 @@ index 7a63da34e3a2..0e4eb3564582 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -20745,8 +20389,9 @@ index 7a63da34e3a2..0e4eb3564582 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -20760,17 +20405,19 @@ index 7a63da34e3a2..0e4eb3564582 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -20794,39 +20441,32 @@ index 7a63da34e3a2..0e4eb3564582 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("video_bitrate_allocator_factory_gn") diff --git third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build -index e3d9aba8ef3c..fcae0009dd68 100644 +index 0e572c285ab4..9e04e80c4497 100644 --- third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build +++ third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -20842,12 +20482,13 @@ index e3d9aba8ef3c..fcae0009dd68 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -20855,13 +20496,14 @@ index e3d9aba8ef3c..fcae0009dd68 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -20873,8 +20515,6 @@ index e3d9aba8ef3c..fcae0009dd68 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -20882,12 +20522,12 @@ index e3d9aba8ef3c..fcae0009dd68 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -20897,7 +20537,6 @@ index e3d9aba8ef3c..fcae0009dd68 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -20921,6 +20560,7 @@ index e3d9aba8ef3c..fcae0009dd68 100644 - 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 @@ -20931,13 +20571,15 @@ index e3d9aba8ef3c..fcae0009dd68 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -20955,12 +20597,14 @@ index e3d9aba8ef3c..fcae0009dd68 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -20991,16 +20635,6 @@ index e3d9aba8ef3c..fcae0009dd68 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -21009,35 +20643,37 @@ index e3d9aba8ef3c..fcae0009dd68 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("video_bitrate_allocator_gn") diff --git third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build -index 00627f9fe4bf..48f8135282ff 100644 +index a0feb6ba98d5..20d5b8b9cc3b 100644 --- third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build +++ third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -21053,12 +20689,13 @@ index 00627f9fe4bf..48f8135282ff 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -21066,13 +20703,14 @@ index 00627f9fe4bf..48f8135282ff 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -21080,8 +20718,6 @@ index 00627f9fe4bf..48f8135282ff 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -21089,12 +20725,12 @@ index 00627f9fe4bf..48f8135282ff 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -21104,7 +20740,6 @@ index 00627f9fe4bf..48f8135282ff 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -21128,6 +20763,7 @@ index 00627f9fe4bf..48f8135282ff 100644 - 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 @@ -21138,13 +20774,15 @@ index 00627f9fe4bf..48f8135282ff 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -21158,17 +20796,19 @@ index 00627f9fe4bf..48f8135282ff 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -21192,39 +20832,32 @@ index 00627f9fe4bf..48f8135282ff 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("video_codec_constants_gn") diff --git third_party/libwebrtc/api/video/video_frame_gn/moz.build third_party/libwebrtc/api/video/video_frame_gn/moz.build -index 4aa343b85d29..d5883b13bee8 100644 +index f001ad0cc6b5..e9f3bed3f830 100644 --- third_party/libwebrtc/api/video/video_frame_gn/moz.build +++ third_party/libwebrtc/api/video/video_frame_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -21240,12 +20873,13 @@ index 4aa343b85d29..d5883b13bee8 100644 +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" -@@ -55,186 +64,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -56,94 +65,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -21253,13 +20887,14 @@ index 4aa343b85d29..d5883b13bee8 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -21271,8 +20906,6 @@ index 4aa343b85d29..d5883b13bee8 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -21280,12 +20913,12 @@ index 4aa343b85d29..d5883b13bee8 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -21295,7 +20928,6 @@ index 4aa343b85d29..d5883b13bee8 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -21319,6 +20951,7 @@ index 4aa343b85d29..d5883b13bee8 100644 - 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 @@ -21329,6 +20962,7 @@ index 4aa343b85d29..d5883b13bee8 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -21341,8 +20975,9 @@ index 4aa343b85d29..d5883b13bee8 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -151,88 +73,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -21360,12 +20995,14 @@ index 4aa343b85d29..d5883b13bee8 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -21396,16 +21033,6 @@ index 4aa343b85d29..d5883b13bee8 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -21414,35 +21041,37 @@ index 4aa343b85d29..d5883b13bee8 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("video_frame_gn") diff --git third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build -index 4951e4edce85..c4728ecf1200 100644 +index 4fe9e147edec..16fbbf602911 100644 --- third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build +++ third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -21458,12 +21087,13 @@ index 4951e4edce85..c4728ecf1200 100644 +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" -@@ -51,186 +60,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -52,94 +61,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -21471,13 +21101,14 @@ index 4951e4edce85..c4728ecf1200 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -21489,8 +21120,6 @@ index 4951e4edce85..c4728ecf1200 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -21498,12 +21127,12 @@ index 4951e4edce85..c4728ecf1200 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -21513,7 +21142,6 @@ index 4951e4edce85..c4728ecf1200 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -21537,6 +21165,7 @@ index 4951e4edce85..c4728ecf1200 100644 - 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 @@ -21547,6 +21176,7 @@ index 4951e4edce85..c4728ecf1200 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -21559,8 +21189,9 @@ index 4951e4edce85..c4728ecf1200 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -147,88 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -21578,12 +21209,14 @@ index 4951e4edce85..c4728ecf1200 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -21614,16 +21247,6 @@ index 4951e4edce85..c4728ecf1200 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -21632,35 +21255,37 @@ index 4951e4edce85..c4728ecf1200 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("video_frame_i010_gn") diff --git third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build -index e00d025ec821..ef2f74bc0852 100644 +index 59921d43beaf..262398fbfcdf 100644 --- third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build +++ third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -21676,12 +21301,13 @@ index e00d025ec821..ef2f74bc0852 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -21689,13 +21315,14 @@ index e00d025ec821..ef2f74bc0852 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -21707,8 +21334,6 @@ index e00d025ec821..ef2f74bc0852 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -21716,12 +21341,12 @@ index e00d025ec821..ef2f74bc0852 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -21731,7 +21356,6 @@ index e00d025ec821..ef2f74bc0852 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -21755,6 +21379,7 @@ index e00d025ec821..ef2f74bc0852 100644 - 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 @@ -21765,6 +21390,7 @@ index e00d025ec821..ef2f74bc0852 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -21777,8 +21403,9 @@ index e00d025ec821..ef2f74bc0852 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -21796,12 +21423,14 @@ index e00d025ec821..ef2f74bc0852 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -21832,16 +21461,6 @@ index e00d025ec821..ef2f74bc0852 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -21850,35 +21469,37 @@ index e00d025ec821..ef2f74bc0852 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("video_frame_metadata_gn") diff --git third_party/libwebrtc/api/video/video_frame_type_gn/moz.build third_party/libwebrtc/api/video/video_frame_type_gn/moz.build -index f09aa8024ef8..3569618dc00d 100644 +index 27939f8b3d3c..7187d74b0019 100644 --- third_party/libwebrtc/api/video/video_frame_type_gn/moz.build +++ third_party/libwebrtc/api/video/video_frame_type_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -21894,12 +21515,13 @@ index f09aa8024ef8..3569618dc00d 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -21907,13 +21529,14 @@ index f09aa8024ef8..3569618dc00d 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -21925,8 +21548,6 @@ index f09aa8024ef8..3569618dc00d 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -21934,12 +21555,12 @@ index f09aa8024ef8..3569618dc00d 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -21949,7 +21570,6 @@ index f09aa8024ef8..3569618dc00d 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -21973,6 +21593,7 @@ index f09aa8024ef8..3569618dc00d 100644 - 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 @@ -21983,13 +21604,15 @@ index f09aa8024ef8..3569618dc00d 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -22003,17 +21626,19 @@ index f09aa8024ef8..3569618dc00d 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -22037,39 +21662,32 @@ index f09aa8024ef8..3569618dc00d 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("video_frame_type_gn") diff --git third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build -index b9a5bd46571c..de45a2318e42 100644 +index f6a9ac51b381..0c77077f546f 100644 --- third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build +++ third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -22085,12 +21703,13 @@ index b9a5bd46571c..de45a2318e42 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -22098,13 +21717,14 @@ index b9a5bd46571c..de45a2318e42 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -22116,8 +21736,6 @@ index b9a5bd46571c..de45a2318e42 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -22125,12 +21743,12 @@ index b9a5bd46571c..de45a2318e42 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -22140,7 +21758,6 @@ index b9a5bd46571c..de45a2318e42 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -22164,6 +21781,7 @@ index b9a5bd46571c..de45a2318e42 100644 - 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 @@ -22174,13 +21792,15 @@ index b9a5bd46571c..de45a2318e42 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -22194,17 +21814,19 @@ index b9a5bd46571c..de45a2318e42 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -22228,39 +21850,32 @@ index b9a5bd46571c..de45a2318e42 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("video_layers_allocation_gn") diff --git third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build -index 079848bb358b..0a20b46f6c88 100644 +index c3377a9f7cdc..bd6e908f861f 100644 --- third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build +++ third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -22276,12 +21891,13 @@ index 079848bb358b..0a20b46f6c88 100644 +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,186 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,94 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -22289,13 +21905,14 @@ index 079848bb358b..0a20b46f6c88 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -22307,8 +21924,6 @@ index 079848bb358b..0a20b46f6c88 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -22316,12 +21931,12 @@ index 079848bb358b..0a20b46f6c88 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -22331,7 +21946,6 @@ index 079848bb358b..0a20b46f6c88 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -22355,6 +21969,7 @@ index 079848bb358b..0a20b46f6c88 100644 - 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 @@ -22365,6 +21980,7 @@ index 079848bb358b..0a20b46f6c88 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -22377,8 +21993,9 @@ index 079848bb358b..0a20b46f6c88 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -143,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -22396,12 +22013,14 @@ index 079848bb358b..0a20b46f6c88 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -22432,16 +22051,6 @@ index 079848bb358b..0a20b46f6c88 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -22450,35 +22059,37 @@ index 079848bb358b..0a20b46f6c88 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("video_rtp_headers_gn") diff --git third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build -index 2486c6d099d2..1075c82f0415 100644 +index c7feee8d37e3..54aa30838e3a 100644 --- third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build +++ third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -22494,12 +22105,13 @@ index 2486c6d099d2..1075c82f0415 100644 +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" -@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -22507,13 +22119,14 @@ index 2486c6d099d2..1075c82f0415 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -22525,8 +22138,6 @@ index 2486c6d099d2..1075c82f0415 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -22534,12 +22145,12 @@ index 2486c6d099d2..1075c82f0415 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -22553,7 +22164,6 @@ index 2486c6d099d2..1075c82f0415 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -22577,6 +22187,7 @@ index 2486c6d099d2..1075c82f0415 100644 - 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 @@ -22587,6 +22198,7 @@ index 2486c6d099d2..1075c82f0415 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -22599,8 +22211,9 @@ index 2486c6d099d2..1075c82f0415 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -22614,17 +22227,19 @@ index 2486c6d099d2..1075c82f0415 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -22648,39 +22263,32 @@ index 2486c6d099d2..1075c82f0415 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("video_stream_encoder_gn") diff --git third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build -index 819a8c287dfc..1282b96a12d0 100644 +index f1d2331057d4..16df4edfc348 100644 --- third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build +++ third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -22696,12 +22304,13 @@ index 819a8c287dfc..1282b96a12d0 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -22709,13 +22318,14 @@ index 819a8c287dfc..1282b96a12d0 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -22727,8 +22337,6 @@ index 819a8c287dfc..1282b96a12d0 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -22736,12 +22344,12 @@ index 819a8c287dfc..1282b96a12d0 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -22751,7 +22359,6 @@ index 819a8c287dfc..1282b96a12d0 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -22775,6 +22382,7 @@ index 819a8c287dfc..1282b96a12d0 100644 - 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 @@ -22785,13 +22393,15 @@ index 819a8c287dfc..1282b96a12d0 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -22805,17 +22415,19 @@ index 819a8c287dfc..1282b96a12d0 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -22839,39 +22451,32 @@ index 819a8c287dfc..1282b96a12d0 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("bitstream_parser_api_gn") diff --git third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build -index 50fb2e553c51..497c1a3e5ea7 100644 +index a7017e0429f0..c92e774efdfa 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -22887,12 +22492,13 @@ index 50fb2e553c51..497c1a3e5ea7 100644 +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" -@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -22900,13 +22506,14 @@ index 50fb2e553c51..497c1a3e5ea7 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -22919,8 +22526,6 @@ index 50fb2e553c51..497c1a3e5ea7 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -22928,12 +22533,12 @@ index 50fb2e553c51..497c1a3e5ea7 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -22947,7 +22552,6 @@ index 50fb2e553c51..497c1a3e5ea7 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -22971,6 +22575,7 @@ index 50fb2e553c51..497c1a3e5ea7 100644 - 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 @@ -22981,6 +22586,7 @@ index 50fb2e553c51..497c1a3e5ea7 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -22993,8 +22599,9 @@ index 50fb2e553c51..497c1a3e5ea7 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -23012,12 +22619,14 @@ index 50fb2e553c51..497c1a3e5ea7 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -23048,16 +22657,6 @@ index 50fb2e553c51..497c1a3e5ea7 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -23066,35 +22665,37 @@ index 50fb2e553c51..497c1a3e5ea7 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("builtin_video_decoder_factory_gn") diff --git third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build -index 8336bf0f9eba..9a07248499a2 100644 +index b94ff4af7eb0..ddd7c64613a2 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -23110,12 +22711,13 @@ index 8336bf0f9eba..9a07248499a2 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,191 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,99 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -23123,13 +22725,14 @@ index 8336bf0f9eba..9a07248499a2 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -23142,8 +22745,6 @@ index 8336bf0f9eba..9a07248499a2 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -23151,12 +22752,12 @@ index 8336bf0f9eba..9a07248499a2 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -23170,7 +22771,6 @@ index 8336bf0f9eba..9a07248499a2 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -23194,6 +22794,7 @@ index 8336bf0f9eba..9a07248499a2 100644 - 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 @@ -23204,6 +22805,7 @@ index 8336bf0f9eba..9a07248499a2 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -23216,8 +22818,9 @@ index 8336bf0f9eba..9a07248499a2 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -146,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -23235,12 +22838,14 @@ index 8336bf0f9eba..9a07248499a2 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -23271,16 +22876,6 @@ index 8336bf0f9eba..9a07248499a2 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -23289,35 +22884,37 @@ index 8336bf0f9eba..9a07248499a2 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rtc_software_fallback_wrappers_gn") diff --git third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build -index 408cb931cfea..527f3b0ba68f 100644 +index 7127dd7cec88..4f2440c02327 100644 --- third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build +++ third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -23333,12 +22930,13 @@ index 408cb931cfea..527f3b0ba68f 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -23346,13 +22944,14 @@ index 408cb931cfea..527f3b0ba68f 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -23364,8 +22963,6 @@ index 408cb931cfea..527f3b0ba68f 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -23373,12 +22970,12 @@ index 408cb931cfea..527f3b0ba68f 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -23388,7 +22985,6 @@ index 408cb931cfea..527f3b0ba68f 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -23412,6 +23008,7 @@ index 408cb931cfea..527f3b0ba68f 100644 - 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 @@ -23422,13 +23019,15 @@ index 408cb931cfea..527f3b0ba68f 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -23446,12 +23045,14 @@ index 408cb931cfea..527f3b0ba68f 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -23482,16 +23083,6 @@ index 408cb931cfea..527f3b0ba68f 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -23500,35 +23091,37 @@ index 408cb931cfea..527f3b0ba68f 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("scalability_mode_gn") diff --git third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build -index 80b895ab97d7..9cef4b9a8a47 100644 +index b117e5452806..046a5c61548d 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -23544,12 +23137,13 @@ index 80b895ab97d7..9cef4b9a8a47 100644 +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" -@@ -54,190 +63,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -55,98 +64,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -23557,13 +23151,14 @@ index 80b895ab97d7..9cef4b9a8a47 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -23575,8 +23170,6 @@ index 80b895ab97d7..9cef4b9a8a47 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -23584,12 +23177,12 @@ index 80b895ab97d7..9cef4b9a8a47 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -23603,7 +23196,6 @@ index 80b895ab97d7..9cef4b9a8a47 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -23627,6 +23219,7 @@ index 80b895ab97d7..9cef4b9a8a47 100644 - 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 @@ -23637,6 +23230,7 @@ index 80b895ab97d7..9cef4b9a8a47 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -23649,8 +23243,9 @@ index 80b895ab97d7..9cef4b9a8a47 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -154,88 +72,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -23668,12 +23263,14 @@ index 80b895ab97d7..9cef4b9a8a47 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -23704,16 +23301,6 @@ index 80b895ab97d7..9cef4b9a8a47 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -23722,35 +23309,37 @@ index 80b895ab97d7..9cef4b9a8a47 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("video_codecs_api_gn") diff --git third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_gn/moz.build third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_gn/moz.build -index 4c5f50694291..ea0857484892 100644 +index 7551768459b2..9e82018a7b86 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -23766,12 +23355,13 @@ index 4c5f50694291..ea0857484892 100644 +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" -@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -23779,13 +23369,14 @@ index 4c5f50694291..ea0857484892 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -23797,8 +23388,6 @@ index 4c5f50694291..ea0857484892 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -23806,12 +23395,12 @@ index 4c5f50694291..ea0857484892 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -23825,7 +23414,6 @@ index 4c5f50694291..ea0857484892 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -23849,6 +23437,7 @@ index 4c5f50694291..ea0857484892 100644 - 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 @@ -23859,6 +23448,7 @@ index 4c5f50694291..ea0857484892 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -23871,8 +23461,9 @@ index 4c5f50694291..ea0857484892 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -23886,17 +23477,19 @@ index 4c5f50694291..ea0857484892 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -23920,39 +23513,32 @@ index 4c5f50694291..ea0857484892 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("video_encoder_factory_template_gn") diff --git third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libaom_av1_adapter_gn/moz.build third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libaom_av1_adapter_gn/moz.build -index dfb4ccbb2c51..9231cdb1708f 100644 +index f8bebec560ae..1e40c0b2b679 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -23968,12 +23554,13 @@ index dfb4ccbb2c51..9231cdb1708f 100644 +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" -@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -23981,13 +23568,14 @@ index dfb4ccbb2c51..9231cdb1708f 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -23999,8 +23587,6 @@ index dfb4ccbb2c51..9231cdb1708f 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -24008,12 +23594,12 @@ index dfb4ccbb2c51..9231cdb1708f 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -24027,7 +23613,6 @@ index dfb4ccbb2c51..9231cdb1708f 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -24051,6 +23636,7 @@ index dfb4ccbb2c51..9231cdb1708f 100644 - 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 @@ -24061,6 +23647,7 @@ index dfb4ccbb2c51..9231cdb1708f 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -24073,8 +23660,9 @@ index dfb4ccbb2c51..9231cdb1708f 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -24088,17 +23676,19 @@ index dfb4ccbb2c51..9231cdb1708f 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -24122,39 +23712,32 @@ index dfb4ccbb2c51..9231cdb1708f 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("video_encoder_factory_template_libaom_av1_adapter_gn") diff --git third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp8_adapter_gn/moz.build third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp8_adapter_gn/moz.build -index 8f2b2d4c394b..2e032e933f4d 100644 +index 99636079a13f..56e32034fa02 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -24170,12 +23753,13 @@ index 8f2b2d4c394b..2e032e933f4d 100644 +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" -@@ -40,124 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,99 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -24183,13 +23767,14 @@ index 8f2b2d4c394b..2e032e933f4d 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -24202,8 +23787,6 @@ index 8f2b2d4c394b..2e032e933f4d 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -24211,12 +23794,12 @@ index 8f2b2d4c394b..2e032e933f4d 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -24230,7 +23813,6 @@ index 8f2b2d4c394b..2e032e933f4d 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -24254,6 +23836,7 @@ index 8f2b2d4c394b..2e032e933f4d 100644 - 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 @@ -24264,6 +23847,7 @@ index 8f2b2d4c394b..2e032e933f4d 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -24276,8 +23860,9 @@ index 8f2b2d4c394b..2e032e933f4d 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -141,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -24291,17 +23876,19 @@ index 8f2b2d4c394b..2e032e933f4d 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -167,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -171,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -24325,39 +23912,32 @@ index 8f2b2d4c394b..2e032e933f4d 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("video_encoder_factory_template_libvpx_vp8_adapter_gn") diff --git third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp9_adapter_gn/moz.build third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp9_adapter_gn/moz.build -index 1262d9c963ac..feb340bc6ffa 100644 +index 1044053ab046..69eaf139e6b1 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -24373,12 +23953,13 @@ index 1262d9c963ac..feb340bc6ffa 100644 +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" -@@ -40,124 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,99 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -24386,13 +23967,14 @@ index 1262d9c963ac..feb340bc6ffa 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -24405,8 +23987,6 @@ index 1262d9c963ac..feb340bc6ffa 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -24414,12 +23994,12 @@ index 1262d9c963ac..feb340bc6ffa 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -24433,7 +24013,6 @@ index 1262d9c963ac..feb340bc6ffa 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -24457,6 +24036,7 @@ index 1262d9c963ac..feb340bc6ffa 100644 - 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 @@ -24467,6 +24047,7 @@ index 1262d9c963ac..feb340bc6ffa 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -24479,8 +24060,9 @@ index 1262d9c963ac..feb340bc6ffa 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -141,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -24494,17 +24076,19 @@ index 1262d9c963ac..feb340bc6ffa 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -167,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -171,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -24528,39 +24112,32 @@ index 1262d9c963ac..feb340bc6ffa 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("video_encoder_factory_template_libvpx_vp9_adapter_gn") diff --git third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_open_h264_adapter_gn/moz.build third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_open_h264_adapter_gn/moz.build -index 37ddca0609eb..50eb54ea4186 100644 +index 95d4c676f58d..129a648b2795 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -24576,12 +24153,13 @@ index 37ddca0609eb..50eb54ea4186 100644 +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" -@@ -40,124 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,99 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -24589,13 +24167,14 @@ index 37ddca0609eb..50eb54ea4186 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -24608,8 +24187,6 @@ index 37ddca0609eb..50eb54ea4186 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -24617,12 +24194,12 @@ index 37ddca0609eb..50eb54ea4186 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -24636,7 +24213,6 @@ index 37ddca0609eb..50eb54ea4186 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -24660,6 +24236,7 @@ index 37ddca0609eb..50eb54ea4186 100644 - 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 @@ -24670,6 +24247,7 @@ index 37ddca0609eb..50eb54ea4186 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -24682,8 +24260,9 @@ index 37ddca0609eb..50eb54ea4186 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -141,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -24697,17 +24276,19 @@ index 37ddca0609eb..50eb54ea4186 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -167,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -171,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -24731,39 +24312,32 @@ index 37ddca0609eb..50eb54ea4186 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("video_encoder_factory_template_open_h264_adapter_gn") diff --git third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build -index ebc185abb114..3b7a135fe174 100644 +index f446420b4b84..430545baba76 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -24779,12 +24353,13 @@ index ebc185abb114..3b7a135fe174 100644 +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" -@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -24792,13 +24367,14 @@ index ebc185abb114..3b7a135fe174 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -24811,8 +24387,6 @@ index ebc185abb114..3b7a135fe174 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -24820,12 +24394,12 @@ index ebc185abb114..3b7a135fe174 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -24839,7 +24413,6 @@ index ebc185abb114..3b7a135fe174 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -24863,6 +24436,7 @@ index ebc185abb114..3b7a135fe174 100644 - 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 @@ -24873,6 +24447,7 @@ index ebc185abb114..3b7a135fe174 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -24885,8 +24460,9 @@ index ebc185abb114..3b7a135fe174 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -24904,12 +24480,14 @@ index ebc185abb114..3b7a135fe174 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -24940,16 +24518,6 @@ index ebc185abb114..3b7a135fe174 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -24958,35 +24526,37 @@ index ebc185abb114..3b7a135fe174 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("vp8_temporal_layers_factory_gn") diff --git third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build -index 933524efdac5..7ec1ae1523bd 100644 +index fc87471b55d7..2f0d55a14afe 100644 --- third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build +++ third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -25002,12 +24572,13 @@ index 933524efdac5..7ec1ae1523bd 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -25015,13 +24586,14 @@ index 933524efdac5..7ec1ae1523bd 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -25029,8 +24601,6 @@ index 933524efdac5..7ec1ae1523bd 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -25038,12 +24608,12 @@ index 933524efdac5..7ec1ae1523bd 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -25053,7 +24623,6 @@ index 933524efdac5..7ec1ae1523bd 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -25077,6 +24646,7 @@ index 933524efdac5..7ec1ae1523bd 100644 - 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 @@ -25087,13 +24657,15 @@ index 933524efdac5..7ec1ae1523bd 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -25107,17 +24679,19 @@ index 933524efdac5..7ec1ae1523bd 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -25141,39 +24715,32 @@ index 933524efdac5..7ec1ae1523bd 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("video_track_source_constraints_gn") diff --git third_party/libwebrtc/audio/audio_gn/moz.build third_party/libwebrtc/audio/audio_gn/moz.build -index 1e33a79591e5..1423654999b3 100644 +index ae1d392ebd8e..012221581940 100644 --- third_party/libwebrtc/audio/audio_gn/moz.build +++ third_party/libwebrtc/audio/audio_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -25189,12 +24756,13 @@ index 1e33a79591e5..1423654999b3 100644 +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" -@@ -56,191 +65,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -57,99 +66,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -25202,13 +24770,14 @@ index 1e33a79591e5..1423654999b3 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -25221,8 +24790,6 @@ index 1e33a79591e5..1423654999b3 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -25230,12 +24797,12 @@ index 1e33a79591e5..1423654999b3 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -25249,7 +24816,6 @@ index 1e33a79591e5..1423654999b3 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -25273,6 +24839,7 @@ index 1e33a79591e5..1423654999b3 100644 - 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 @@ -25283,6 +24850,7 @@ index 1e33a79591e5..1423654999b3 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -25295,8 +24863,9 @@ index 1e33a79591e5..1423654999b3 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -157,88 +74,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -25314,12 +24883,14 @@ index 1e33a79591e5..1423654999b3 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -25350,16 +24921,6 @@ index 1e33a79591e5..1423654999b3 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -25368,35 +24929,37 @@ index 1e33a79591e5..1423654999b3 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("audio_gn") diff --git third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build -index a072faa0e703..b021c5c974d6 100644 +index d4f76e9d017f..ddc4751e02fc 100644 --- third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build +++ third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -25412,12 +24975,13 @@ index a072faa0e703..b021c5c974d6 100644 +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" -@@ -46,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -25425,13 +24989,14 @@ index a072faa0e703..b021c5c974d6 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -25443,8 +25008,6 @@ index a072faa0e703..b021c5c974d6 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -25452,12 +25015,12 @@ index a072faa0e703..b021c5c974d6 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -25471,7 +25034,6 @@ index a072faa0e703..b021c5c974d6 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -25495,6 +25057,7 @@ index a072faa0e703..b021c5c974d6 100644 - 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 @@ -25505,6 +25068,7 @@ index a072faa0e703..b021c5c974d6 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -25517,8 +25081,9 @@ index a072faa0e703..b021c5c974d6 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -146,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -25536,12 +25101,14 @@ index a072faa0e703..b021c5c974d6 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -25572,16 +25139,6 @@ index a072faa0e703..b021c5c974d6 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -25590,35 +25147,37 @@ index a072faa0e703..b021c5c974d6 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("audio_frame_operations_gn") diff --git third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build -index 7a918b86e673..10c7a4ac89a7 100644 +index cc46f5717667..3f3febb67c9d 100644 --- third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build +++ third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -25634,12 +25193,13 @@ index 7a918b86e673..10c7a4ac89a7 100644 +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" -@@ -53,190 +62,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -54,98 +63,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -25647,13 +25207,14 @@ index 7a918b86e673..10c7a4ac89a7 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -25665,8 +25226,6 @@ index 7a918b86e673..10c7a4ac89a7 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -25674,12 +25233,12 @@ index 7a918b86e673..10c7a4ac89a7 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -25693,7 +25252,6 @@ index 7a918b86e673..10c7a4ac89a7 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -25717,6 +25275,7 @@ index 7a918b86e673..10c7a4ac89a7 100644 - 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 @@ -25727,6 +25286,7 @@ index 7a918b86e673..10c7a4ac89a7 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -25739,8 +25299,9 @@ index 7a918b86e673..10c7a4ac89a7 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -153,88 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -25758,12 +25319,14 @@ index 7a918b86e673..10c7a4ac89a7 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -25794,16 +25357,6 @@ index 7a918b86e673..10c7a4ac89a7 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -25812,35 +25365,37 @@ index 7a918b86e673..10c7a4ac89a7 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("resource_adaptation_gn") diff --git third_party/libwebrtc/call/audio_sender_interface_gn/moz.build third_party/libwebrtc/call/audio_sender_interface_gn/moz.build -index 24568a31a210..e88cc584182f 100644 +index 9f8d7378218d..1abee39696dd 100644 --- third_party/libwebrtc/call/audio_sender_interface_gn/moz.build +++ third_party/libwebrtc/call/audio_sender_interface_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -25856,12 +25411,13 @@ index 24568a31a210..e88cc584182f 100644 +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" -@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -25869,13 +25425,14 @@ index 24568a31a210..e88cc584182f 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -25887,8 +25444,6 @@ index 24568a31a210..e88cc584182f 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -25896,12 +25451,12 @@ index 24568a31a210..e88cc584182f 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -25911,7 +25466,6 @@ index 24568a31a210..e88cc584182f 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -25935,6 +25489,7 @@ index 24568a31a210..e88cc584182f 100644 - 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 @@ -25945,6 +25500,7 @@ index 24568a31a210..e88cc584182f 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -25957,8 +25513,9 @@ index 24568a31a210..e88cc584182f 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -25972,17 +25529,19 @@ index 24568a31a210..e88cc584182f 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -26006,39 +25565,32 @@ index 24568a31a210..e88cc584182f 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("audio_sender_interface_gn") diff --git third_party/libwebrtc/call/bitrate_allocator_gn/moz.build third_party/libwebrtc/call/bitrate_allocator_gn/moz.build -index ca42c673672b..a9b6fcefbad9 100644 +index a9733fff9e74..2323bba17a99 100644 --- third_party/libwebrtc/call/bitrate_allocator_gn/moz.build +++ third_party/libwebrtc/call/bitrate_allocator_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -26054,12 +25606,13 @@ index ca42c673672b..a9b6fcefbad9 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -26067,13 +25620,14 @@ index ca42c673672b..a9b6fcefbad9 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -26085,8 +25639,6 @@ index ca42c673672b..a9b6fcefbad9 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -26094,12 +25646,12 @@ index ca42c673672b..a9b6fcefbad9 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -26113,7 +25665,6 @@ index ca42c673672b..a9b6fcefbad9 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -26137,6 +25688,7 @@ index ca42c673672b..a9b6fcefbad9 100644 - 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 @@ -26147,6 +25699,7 @@ index ca42c673672b..a9b6fcefbad9 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -26159,8 +25712,9 @@ index ca42c673672b..a9b6fcefbad9 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -26178,12 +25732,14 @@ index ca42c673672b..a9b6fcefbad9 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -26214,16 +25770,6 @@ index ca42c673672b..a9b6fcefbad9 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -26232,35 +25778,37 @@ index ca42c673672b..a9b6fcefbad9 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("bitrate_allocator_gn") diff --git third_party/libwebrtc/call/bitrate_configurator_gn/moz.build third_party/libwebrtc/call/bitrate_configurator_gn/moz.build -index 4a7187797c1c..b2182b8b5ce4 100644 +index 850bd1207495..351672f63e86 100644 --- third_party/libwebrtc/call/bitrate_configurator_gn/moz.build +++ third_party/libwebrtc/call/bitrate_configurator_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -26276,12 +25824,13 @@ index 4a7187797c1c..b2182b8b5ce4 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -26289,13 +25838,14 @@ index 4a7187797c1c..b2182b8b5ce4 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -26307,8 +25857,6 @@ index 4a7187797c1c..b2182b8b5ce4 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -26316,12 +25864,12 @@ index 4a7187797c1c..b2182b8b5ce4 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -26331,7 +25879,6 @@ index 4a7187797c1c..b2182b8b5ce4 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -26355,6 +25902,7 @@ index 4a7187797c1c..b2182b8b5ce4 100644 - 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 @@ -26365,13 +25913,15 @@ index 4a7187797c1c..b2182b8b5ce4 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -26389,12 +25939,14 @@ index 4a7187797c1c..b2182b8b5ce4 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -26425,16 +25977,6 @@ index 4a7187797c1c..b2182b8b5ce4 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -26443,35 +25985,37 @@ index 4a7187797c1c..b2182b8b5ce4 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("bitrate_configurator_gn") diff --git third_party/libwebrtc/call/call_gn/moz.build third_party/libwebrtc/call/call_gn/moz.build -index 987aff418d68..38c79be10cdc 100644 +index 01d05dc953cb..d66394d2e96b 100644 --- third_party/libwebrtc/call/call_gn/moz.build +++ third_party/libwebrtc/call/call_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -26487,12 +26031,13 @@ index 987aff418d68..38c79be10cdc 100644 +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" -@@ -46,191 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -26500,13 +26045,14 @@ index 987aff418d68..38c79be10cdc 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -26519,8 +26065,6 @@ index 987aff418d68..38c79be10cdc 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -26528,12 +26072,12 @@ index 987aff418d68..38c79be10cdc 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -26547,7 +26091,6 @@ index 987aff418d68..38c79be10cdc 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -26571,6 +26114,7 @@ index 987aff418d68..38c79be10cdc 100644 - 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 @@ -26581,6 +26125,7 @@ index 987aff418d68..38c79be10cdc 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -26593,8 +26138,9 @@ index 987aff418d68..38c79be10cdc 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -147,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -26612,12 +26158,14 @@ index 987aff418d68..38c79be10cdc 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -26648,16 +26196,6 @@ index 987aff418d68..38c79be10cdc 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -26666,35 +26204,37 @@ index 987aff418d68..38c79be10cdc 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("call_gn") diff --git third_party/libwebrtc/call/call_interfaces_gn/moz.build third_party/libwebrtc/call/call_interfaces_gn/moz.build -index 3147c1e5f11a..485e219e783d 100644 +index 2085a0e8cff6..9d202f1d07ac 100644 --- third_party/libwebrtc/call/call_interfaces_gn/moz.build +++ third_party/libwebrtc/call/call_interfaces_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -26710,12 +26250,13 @@ index 3147c1e5f11a..485e219e783d 100644 +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" -@@ -50,191 +59,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -51,99 +60,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -26723,13 +26264,14 @@ index 3147c1e5f11a..485e219e783d 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -26742,8 +26284,6 @@ index 3147c1e5f11a..485e219e783d 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -26751,12 +26291,12 @@ index 3147c1e5f11a..485e219e783d 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -26770,7 +26310,6 @@ index 3147c1e5f11a..485e219e783d 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -26794,6 +26333,7 @@ index 3147c1e5f11a..485e219e783d 100644 - 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 @@ -26804,6 +26344,7 @@ index 3147c1e5f11a..485e219e783d 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -26816,8 +26357,9 @@ index 3147c1e5f11a..485e219e783d 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -151,88 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -26835,12 +26377,14 @@ index 3147c1e5f11a..485e219e783d 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -26871,16 +26415,6 @@ index 3147c1e5f11a..485e219e783d 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -26889,35 +26423,37 @@ index 3147c1e5f11a..485e219e783d 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("call_interfaces_gn") diff --git third_party/libwebrtc/call/payload_type_gn/moz.build third_party/libwebrtc/call/payload_type_gn/moz.build -index d51772d9a423..101b856cff86 100644 +index 29191448d094..cfc3baa09e32 100644 --- third_party/libwebrtc/call/payload_type_gn/moz.build +++ third_party/libwebrtc/call/payload_type_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -26933,12 +26469,13 @@ index d51772d9a423..101b856cff86 100644 +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" -@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -26946,13 +26483,14 @@ index d51772d9a423..101b856cff86 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -26964,8 +26502,6 @@ index d51772d9a423..101b856cff86 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -26973,12 +26509,12 @@ index d51772d9a423..101b856cff86 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -26992,7 +26528,6 @@ index d51772d9a423..101b856cff86 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -27016,6 +26551,7 @@ index d51772d9a423..101b856cff86 100644 - 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 @@ -27026,6 +26562,7 @@ index d51772d9a423..101b856cff86 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -27038,8 +26575,9 @@ index d51772d9a423..101b856cff86 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -27053,17 +26591,19 @@ index d51772d9a423..101b856cff86 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -27087,39 +26627,32 @@ index d51772d9a423..101b856cff86 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("payload_type_gn") diff --git third_party/libwebrtc/call/payload_type_picker_gn/moz.build third_party/libwebrtc/call/payload_type_picker_gn/moz.build -index 06dbea63c35e..3c2fd78fd486 100644 +index 8748c0cbb4ca..78024420815c 100644 --- third_party/libwebrtc/call/payload_type_picker_gn/moz.build +++ third_party/libwebrtc/call/payload_type_picker_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -27135,12 +26668,13 @@ index 06dbea63c35e..3c2fd78fd486 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -27148,13 +26682,14 @@ index 06dbea63c35e..3c2fd78fd486 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -27166,8 +26701,6 @@ index 06dbea63c35e..3c2fd78fd486 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -27175,12 +26708,12 @@ index 06dbea63c35e..3c2fd78fd486 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -27194,7 +26727,6 @@ index 06dbea63c35e..3c2fd78fd486 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -27218,6 +26750,7 @@ index 06dbea63c35e..3c2fd78fd486 100644 - 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 @@ -27228,6 +26761,7 @@ index 06dbea63c35e..3c2fd78fd486 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -27240,8 +26774,9 @@ index 06dbea63c35e..3c2fd78fd486 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -27259,12 +26794,14 @@ index 06dbea63c35e..3c2fd78fd486 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -27295,16 +26832,6 @@ index 06dbea63c35e..3c2fd78fd486 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -27313,35 +26840,37 @@ index 06dbea63c35e..3c2fd78fd486 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("payload_type_picker_gn") diff --git third_party/libwebrtc/call/receive_stream_interface_gn/moz.build third_party/libwebrtc/call/receive_stream_interface_gn/moz.build -index 67bf072556e5..6c2b07cf373d 100644 +index 7490a7abd497..59ea1b2b5448 100644 --- third_party/libwebrtc/call/receive_stream_interface_gn/moz.build +++ third_party/libwebrtc/call/receive_stream_interface_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -27357,12 +26886,13 @@ index 67bf072556e5..6c2b07cf373d 100644 +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" -@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -27370,13 +26900,14 @@ index 67bf072556e5..6c2b07cf373d 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -27388,8 +26919,6 @@ index 67bf072556e5..6c2b07cf373d 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -27397,12 +26926,12 @@ index 67bf072556e5..6c2b07cf373d 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -27416,7 +26945,6 @@ index 67bf072556e5..6c2b07cf373d 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -27440,6 +26968,7 @@ index 67bf072556e5..6c2b07cf373d 100644 - 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 @@ -27450,6 +26979,7 @@ index 67bf072556e5..6c2b07cf373d 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -27462,8 +26992,9 @@ index 67bf072556e5..6c2b07cf373d 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -27477,17 +27008,19 @@ index 67bf072556e5..6c2b07cf373d 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -27511,39 +27044,32 @@ index 67bf072556e5..6c2b07cf373d 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("receive_stream_interface_gn") diff --git third_party/libwebrtc/call/rtp_interfaces_gn/moz.build third_party/libwebrtc/call/rtp_interfaces_gn/moz.build -index 5204bc7ce3ea..ee28e9bcacc4 100644 +index e70c9541d6ec..b5cad7c8f322 100644 --- third_party/libwebrtc/call/rtp_interfaces_gn/moz.build +++ third_party/libwebrtc/call/rtp_interfaces_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -27559,12 +27085,13 @@ index 5204bc7ce3ea..ee28e9bcacc4 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -27572,13 +27099,14 @@ index 5204bc7ce3ea..ee28e9bcacc4 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -27590,8 +27118,6 @@ index 5204bc7ce3ea..ee28e9bcacc4 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -27599,12 +27125,12 @@ index 5204bc7ce3ea..ee28e9bcacc4 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -27618,7 +27144,6 @@ index 5204bc7ce3ea..ee28e9bcacc4 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -27642,6 +27167,7 @@ index 5204bc7ce3ea..ee28e9bcacc4 100644 - 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 @@ -27652,6 +27178,7 @@ index 5204bc7ce3ea..ee28e9bcacc4 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -27664,8 +27191,9 @@ index 5204bc7ce3ea..ee28e9bcacc4 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -27683,12 +27211,14 @@ index 5204bc7ce3ea..ee28e9bcacc4 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -27719,16 +27249,6 @@ index 5204bc7ce3ea..ee28e9bcacc4 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -27737,35 +27257,37 @@ index 5204bc7ce3ea..ee28e9bcacc4 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rtp_interfaces_gn") diff --git third_party/libwebrtc/call/rtp_receiver_gn/moz.build third_party/libwebrtc/call/rtp_receiver_gn/moz.build -index c38e16384766..ce6c252179bd 100644 +index 5e2c06b6a0a3..562f9ce1e68c 100644 --- third_party/libwebrtc/call/rtp_receiver_gn/moz.build +++ third_party/libwebrtc/call/rtp_receiver_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -27781,12 +27303,13 @@ index c38e16384766..ce6c252179bd 100644 +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" -@@ -46,191 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -27794,13 +27317,14 @@ index c38e16384766..ce6c252179bd 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -27813,8 +27337,6 @@ index c38e16384766..ce6c252179bd 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -27822,12 +27344,12 @@ index c38e16384766..ce6c252179bd 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -27841,7 +27363,6 @@ index c38e16384766..ce6c252179bd 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -27865,6 +27386,7 @@ index c38e16384766..ce6c252179bd 100644 - 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 @@ -27875,6 +27397,7 @@ index c38e16384766..ce6c252179bd 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -27887,8 +27410,9 @@ index c38e16384766..ce6c252179bd 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -147,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -27906,12 +27430,14 @@ index c38e16384766..ce6c252179bd 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -27942,16 +27468,6 @@ index c38e16384766..ce6c252179bd 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -27960,35 +27476,37 @@ index c38e16384766..ce6c252179bd 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rtp_receiver_gn") diff --git third_party/libwebrtc/call/rtp_sender_gn/moz.build third_party/libwebrtc/call/rtp_sender_gn/moz.build -index 5290b5209c1d..5fe9f7707ed5 100644 +index a8ff134e981f..212bd6345f6f 100644 --- third_party/libwebrtc/call/rtp_sender_gn/moz.build +++ third_party/libwebrtc/call/rtp_sender_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -28004,12 +27522,13 @@ index 5290b5209c1d..5fe9f7707ed5 100644 +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" -@@ -46,191 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,99 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -28017,13 +27536,14 @@ index 5290b5209c1d..5fe9f7707ed5 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -28036,8 +27556,6 @@ index 5290b5209c1d..5fe9f7707ed5 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -28045,12 +27563,12 @@ index 5290b5209c1d..5fe9f7707ed5 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -28064,7 +27582,6 @@ index 5290b5209c1d..5fe9f7707ed5 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -28088,6 +27605,7 @@ index 5290b5209c1d..5fe9f7707ed5 100644 - 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 @@ -28098,6 +27616,7 @@ index 5290b5209c1d..5fe9f7707ed5 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -28110,8 +27629,9 @@ index 5290b5209c1d..5fe9f7707ed5 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -147,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -28129,12 +27649,14 @@ index 5290b5209c1d..5fe9f7707ed5 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -28165,16 +27687,6 @@ index 5290b5209c1d..5fe9f7707ed5 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -28183,35 +27695,37 @@ index 5290b5209c1d..5fe9f7707ed5 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rtp_sender_gn") diff --git third_party/libwebrtc/call/version_gn/moz.build third_party/libwebrtc/call/version_gn/moz.build -index 96da557651b8..d51b86338e8c 100644 +index 828f94f4cbdd..68a780748b3d 100644 --- third_party/libwebrtc/call/version_gn/moz.build +++ third_party/libwebrtc/call/version_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -28227,12 +27741,13 @@ index 96da557651b8..d51b86338e8c 100644 +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" -@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -28240,13 +27755,14 @@ index 96da557651b8..d51b86338e8c 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -28254,8 +27770,6 @@ index 96da557651b8..d51b86338e8c 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -28263,12 +27777,12 @@ index 96da557651b8..d51b86338e8c 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -28278,7 +27792,6 @@ index 96da557651b8..d51b86338e8c 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -28302,6 +27815,7 @@ index 96da557651b8..d51b86338e8c 100644 - 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 @@ -28312,13 +27826,15 @@ index 96da557651b8..d51b86338e8c 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -28336,12 +27852,14 @@ index 96da557651b8..d51b86338e8c 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -28372,53 +27890,45 @@ index 96da557651b8..d51b86338e8c 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- OS_LIBS += [ -- "unwind" +- CXXFLAGS += [ +- "-msse2" - ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": -- - CXXFLAGS += [ - "-msse2" - ] - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - -- CXXFLAGS += [ -- "-msse2" -- ] -+if CONFIG["TARGET_CPU"] == "x86_64": +- + CXXFLAGS += [ + "-msse2" + ] +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("version_gn") diff --git third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build -index a8f4e7feca35..22dc8ac49790 100644 +index 7fa1a7744a16..d484b531245e 100644 --- third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build +++ third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -28434,12 +27944,13 @@ index a8f4e7feca35..22dc8ac49790 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -28447,13 +27958,14 @@ index a8f4e7feca35..22dc8ac49790 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -28465,8 +27977,6 @@ index a8f4e7feca35..22dc8ac49790 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -28474,12 +27984,12 @@ index a8f4e7feca35..22dc8ac49790 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -28493,7 +28003,6 @@ index a8f4e7feca35..22dc8ac49790 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -28517,6 +28026,7 @@ index a8f4e7feca35..22dc8ac49790 100644 - 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 @@ -28527,6 +28037,7 @@ index a8f4e7feca35..22dc8ac49790 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -28539,8 +28050,9 @@ index a8f4e7feca35..22dc8ac49790 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -28558,12 +28070,14 @@ index a8f4e7feca35..22dc8ac49790 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -28594,16 +28108,6 @@ index a8f4e7feca35..22dc8ac49790 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -28612,35 +28116,37 @@ index a8f4e7feca35..22dc8ac49790 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("video_receive_stream_api_gn") diff --git third_party/libwebrtc/call/video_send_stream_api_gn/moz.build third_party/libwebrtc/call/video_send_stream_api_gn/moz.build -index e61cdfdf0b7f..f7955154d619 100644 +index 2b5383c055d0..2be81a195947 100644 --- third_party/libwebrtc/call/video_send_stream_api_gn/moz.build +++ third_party/libwebrtc/call/video_send_stream_api_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -28656,12 +28162,13 @@ index e61cdfdf0b7f..f7955154d619 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -28669,13 +28176,14 @@ index e61cdfdf0b7f..f7955154d619 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -28687,8 +28195,6 @@ index e61cdfdf0b7f..f7955154d619 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -28696,12 +28202,12 @@ index e61cdfdf0b7f..f7955154d619 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -28715,7 +28221,6 @@ index e61cdfdf0b7f..f7955154d619 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -28739,6 +28244,7 @@ index e61cdfdf0b7f..f7955154d619 100644 - 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 @@ -28749,6 +28255,7 @@ index e61cdfdf0b7f..f7955154d619 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -28761,8 +28268,9 @@ index e61cdfdf0b7f..f7955154d619 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -28780,12 +28288,14 @@ index e61cdfdf0b7f..f7955154d619 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -28816,16 +28326,6 @@ index e61cdfdf0b7f..f7955154d619 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -28834,35 +28334,37 @@ index e61cdfdf0b7f..f7955154d619 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("video_send_stream_api_gn") diff --git third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build -index 1d91ddd6d2db..d4119282e31e 100644 +index fe1b026fc033..3bc0d69ffe9f 100644 --- third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build +++ third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build -@@ -18,12 +18,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -18,13 +18,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -28879,12 +28381,13 @@ index 1d91ddd6d2db..d4119282e31e 100644 +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" -@@ -51,134 +60,16 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -52,128 +61,9 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -28892,13 +28395,14 @@ index 1d91ddd6d2db..d4119282e31e 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -28910,21 +28414,20 @@ index 1d91ddd6d2db..d4119282e31e 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - -if CONFIG["OS_TARGET"] == "Linux": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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["_GNU_SOURCE"] = True - DEFINES["_LARGEFILE64_SOURCE"] = True - DEFINES["_LARGEFILE_SOURCE"] = True @@ -28939,7 +28442,6 @@ index 1d91ddd6d2db..d4119282e31e 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -28963,6 +28465,7 @@ index 1d91ddd6d2db..d4119282e31e 100644 - 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 @@ -28973,6 +28476,7 @@ index 1d91ddd6d2db..d4119282e31e 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -28992,41 +28496,32 @@ index 1d91ddd6d2db..d4119282e31e 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" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- DEFINES["USE_X11"] = "1" +- CXXFLAGS += [ +- "-msse2" +- ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": +if CONFIG["TARGET_CPU"] == "x86": CXXFLAGS += [ "-msse2" - ] - --if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - -- CXXFLAGS += [ -- "-msse2" -- ] -+ DEFINES["USE_X11"] = "1" - - Library("common_audio_avx2_gn") diff --git third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build -index f7215df5b93f..ca8a3e39e485 100644 +index bbe581ba7140..05b3437fc803 100644 --- third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build +++ third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -29042,12 +28537,13 @@ index f7215df5b93f..ca8a3e39e485 100644 +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" -@@ -40,113 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -29055,13 +28551,14 @@ index f7215df5b93f..ca8a3e39e485 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -29069,8 +28566,6 @@ index f7215df5b93f..ca8a3e39e485 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -29078,12 +28573,12 @@ index f7215df5b93f..ca8a3e39e485 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -29093,7 +28588,6 @@ index f7215df5b93f..ca8a3e39e485 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -29117,6 +28611,7 @@ index f7215df5b93f..ca8a3e39e485 100644 - 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 @@ -29127,13 +28622,15 @@ index f7215df5b93f..ca8a3e39e485 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,32 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -29152,17 +28649,19 @@ index f7215df5b93f..ca8a3e39e485 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -156,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -160,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -29186,39 +28685,32 @@ index f7215df5b93f..ca8a3e39e485 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("common_audio_c_arm_asm_gn") diff --git third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build -index 48b33b0a39e0..df61b43a1494 100644 +index 2ec7bdf69533..7486ca545e4c 100644 --- third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build +++ third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -29234,27 +28726,28 @@ index 48b33b0a39e0..df61b43a1494 100644 +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" -@@ -81,114 +90,12 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -82,120 +91,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" -+ DEFINES["_DEBUG"] = True - +- -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -29270,8 +28763,6 @@ index 48b33b0a39e0..df61b43a1494 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -29285,12 +28776,12 @@ index 48b33b0a39e0..df61b43a1494 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -29304,7 +28795,6 @@ index 48b33b0a39e0..df61b43a1494 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -29318,8 +28808,7 @@ index 48b33b0a39e0..df61b43a1494 100644 - "/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"] == "aarch64": - +- -if CONFIG["OS_TARGET"] == "WINNT": - - DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True @@ -29335,6 +28824,7 @@ index 48b33b0a39e0..df61b43a1494 100644 - 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 @@ -29345,6 +28835,7 @@ index 48b33b0a39e0..df61b43a1494 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -29353,26 +28844,30 @@ index 48b33b0a39e0..df61b43a1494 100644 - "secur32", - "winmm" - ] -+ DEFINES["WEBRTC_ARCH_ARM64"] = True -+ DEFINES["WEBRTC_HAS_NEON"] = True +- +- 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" +- ] ++ DEFINES["_DEBUG"] = True - UNIFIED_SOURCES += [ - "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c", -@@ -196,25 +103,8 @@ if CONFIG["OS_TARGET"] == "WINNT": - "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c" - ] + if CONFIG["TARGET_CPU"] == "aarch64": + +@@ -203,20 +99,14 @@ if CONFIG["TARGET_CPU"] == "aarch64": + DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" --if CONFIG["TARGET_CPU"] == "aarch64": -- -- DEFINES["WEBRTC_ARCH_ARM64"] = True -- DEFINES["WEBRTC_HAS_NEON"] = True -- -if CONFIG["TARGET_CPU"] == "arm": - - CFLAGS += [ - "-mfpu=neon" -- ] -- ++ 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" + ] + - DEFINES["WEBRTC_ARCH_ARM"] = True - DEFINES["WEBRTC_ARCH_ARM_V7"] = True - DEFINES["WEBRTC_HAS_NEON"] = True @@ -29384,24 +28879,28 @@ index 48b33b0a39e0..df61b43a1494 100644 UNIFIED_SOURCES += [ "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c", "/third_party/libwebrtc/common_audio/signal_processing/complex_fft.c", -@@ -225,7 +115,6 @@ if CONFIG["TARGET_CPU"] == "mips32": +@@ -225,10 +115,8 @@ if CONFIG["TARGET_CPU"] == "loongarch64": + if CONFIG["TARGET_CPU"] == "mips32": + +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True SOURCES += [ "/third_party/libwebrtc/common_audio/signal_processing/resample_by_2_mips.c" -@@ -242,8 +131,6 @@ if CONFIG["TARGET_CPU"] == "mips32": +@@ -245,9 +133,6 @@ if CONFIG["TARGET_CPU"] == "mips32": if CONFIG["TARGET_CPU"] == "mips64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - UNIFIED_SOURCES += [ "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c", "/third_party/libwebrtc/common_audio/signal_processing/complex_fft.c", -@@ -258,88 +145,21 @@ if CONFIG["TARGET_CPU"] == "ppc64": +@@ -262,63 +147,7 @@ if CONFIG["TARGET_CPU"] == "ppc64": "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c" ] @@ -29433,32 +28932,19 @@ index 48b33b0a39e0..df61b43a1494 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "aarch64": -+if 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["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": - -- OS_LIBS += [ -- "unwind" +- UNIFIED_SOURCES += [ +- "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c", +- "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c" - ] - -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": -+if CONFIG["TARGET_CPU"] == "x86": - - CFLAGS += [ - "-msse2" - ] - +- +- CFLAGS += [ +- "-msse2" +- ] +- - UNIFIED_SOURCES += [ - "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c", - "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c" @@ -29473,16 +28959,19 @@ index 48b33b0a39e0..df61b43a1494 100644 - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -- -- UNIFIED_SOURCES += [ -- "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c", -- "/third_party/libwebrtc/common_audio/signal_processing/complex_fft.c", -- "/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", +@@ -326,31 +155,13 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": + "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c" + ] + -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - - UNIFIED_SOURCES += [ @@ -29490,48 +28979,44 @@ index 48b33b0a39e0..df61b43a1494 100644 - ] - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "riscv64": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - - UNIFIED_SOURCES += [ - "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c", -@@ -347,13 +167,9 @@ 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": - -- CFLAGS += [ -- "-msse2" +- 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"] == "x86_64": +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": ++if CONFIG["TARGET_CPU"] == "x86": + CFLAGS += [ + "-msse2" + ] + +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True UNIFIED_SOURCES += [ "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c", -@@ -361,14 +177,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": +@@ -358,10 +169,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c" ] -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -- -- DEFINES["_GNU_SOURCE"] = True -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": -- 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" -- ] -+ DEFINES["USE_X11"] = "1" +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" +- DEFINES["_GNU_SOURCE"] = True ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True - Library("common_audio_c_gn") + 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 53b9acf53b42..f32a57a8e243 100644 +index 4f177e28c07d..581e60d176df 100644 --- third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build +++ third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -29547,12 +29032,13 @@ index 53b9acf53b42..f32a57a8e243 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -29560,13 +29046,14 @@ index 53b9acf53b42..f32a57a8e243 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -29578,8 +29065,6 @@ index 53b9acf53b42..f32a57a8e243 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -29587,12 +29072,12 @@ index 53b9acf53b42..f32a57a8e243 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -29606,7 +29091,6 @@ index 53b9acf53b42..f32a57a8e243 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -29630,6 +29114,7 @@ index 53b9acf53b42..f32a57a8e243 100644 - 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 @@ -29640,6 +29125,7 @@ index 53b9acf53b42..f32a57a8e243 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -29652,8 +29138,9 @@ index 53b9acf53b42..f32a57a8e243 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -29671,12 +29158,14 @@ index 53b9acf53b42..f32a57a8e243 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -29707,16 +29196,6 @@ index 53b9acf53b42..f32a57a8e243 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -29725,35 +29204,37 @@ index 53b9acf53b42..f32a57a8e243 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("common_audio_cc_gn") diff --git third_party/libwebrtc/common_audio/common_audio_gn/moz.build third_party/libwebrtc/common_audio/common_audio_gn/moz.build -index 8c05ef9ae01e..596e68a80c5e 100644 +index c58955b10ea6..ee6a43e9fefc 100644 --- third_party/libwebrtc/common_audio/common_audio_gn/moz.build +++ third_party/libwebrtc/common_audio/common_audio_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -29769,12 +29250,13 @@ index 8c05ef9ae01e..596e68a80c5e 100644 +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" -@@ -57,190 +66,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -58,98 +67,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -29782,13 +29264,14 @@ index 8c05ef9ae01e..596e68a80c5e 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -29800,8 +29283,6 @@ index 8c05ef9ae01e..596e68a80c5e 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -29809,12 +29290,12 @@ index 8c05ef9ae01e..596e68a80c5e 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -29828,7 +29309,6 @@ index 8c05ef9ae01e..596e68a80c5e 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -29852,6 +29332,7 @@ index 8c05ef9ae01e..596e68a80c5e 100644 - 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 @@ -29862,6 +29343,7 @@ index 8c05ef9ae01e..596e68a80c5e 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -29874,8 +29356,9 @@ index 8c05ef9ae01e..596e68a80c5e 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -157,88 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -29893,12 +29376,14 @@ index 8c05ef9ae01e..596e68a80c5e 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -29929,16 +29414,6 @@ index 8c05ef9ae01e..596e68a80c5e 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -29947,35 +29422,37 @@ index 8c05ef9ae01e..596e68a80c5e 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("common_audio_gn") diff --git third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build -index 057bf1e05f30..74c0edfc8065 100644 +index dff5e9a9e48a..f71793d2412b 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,12 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,24 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -29993,12 +29470,14 @@ index 057bf1e05f30..74c0edfc8065 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" ++DEFINES["__ARM_NEON__"] = "1" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -47,148 +57,10 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,144 +59,6 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -30006,13 +29485,14 @@ index 057bf1e05f30..74c0edfc8065 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -30025,21 +29505,21 @@ index 057bf1e05f30..74c0edfc8065 100644 - DEFINES["WEBRTC_ARCH_ARM64"] = True - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" +- DEFINES["__ARM_NEON__"] = "1" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - -if CONFIG["OS_TARGET"] == "Linux": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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["_GNU_SOURCE"] = True - DEFINES["_LARGEFILE64_SOURCE"] = True - DEFINES["_LARGEFILE_SOURCE"] = True @@ -30054,13 +29534,13 @@ index 057bf1e05f30..74c0edfc8065 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_ARCH_ARM64"] = True - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" - DEFINES["_LARGEFILE64_SOURCE"] = True - DEFINES["_LARGEFILE_SOURCE"] = True +- DEFINES["__ARM_NEON__"] = "1" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -30080,6 +29560,7 @@ index 057bf1e05f30..74c0edfc8065 100644 - 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 @@ -30090,6 +29571,8 @@ index 057bf1e05f30..74c0edfc8065 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True +- DEFINES["__ARM_NEON__"] = "1" - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -30128,31 +29611,22 @@ index 057bf1e05f30..74c0edfc8065 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "aarch64": - - DEFINES["WEBRTC_ARCH_ARM64"] = True -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] +- DEFINES["__ARM_NEON__"] = "1" - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - - DEFINES["WEBRTC_ARCH_ARM64"] = True +- DEFINES["__ARM_NEON__"] = "1" - 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 4ba3abd64cc9..4a9a332ee3a7 100644 +index bcb0eea056b8..68f568a4609e 100644 --- third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build +++ third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build -@@ -13,12 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,24 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -30170,12 +29644,14 @@ index 4ba3abd64cc9..4a9a332ee3a7 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" ++DEFINES["__ARM_NEON__"] = "1" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -46,148 +56,10 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,144 +58,6 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -30183,13 +29659,14 @@ index 4ba3abd64cc9..4a9a332ee3a7 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -30202,21 +29679,21 @@ index 4ba3abd64cc9..4a9a332ee3a7 100644 - DEFINES["WEBRTC_ARCH_ARM64"] = True - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" +- DEFINES["__ARM_NEON__"] = "1" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - -if CONFIG["OS_TARGET"] == "Linux": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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["_GNU_SOURCE"] = True - DEFINES["_LARGEFILE64_SOURCE"] = True - DEFINES["_LARGEFILE_SOURCE"] = True @@ -30231,13 +29708,13 @@ index 4ba3abd64cc9..4a9a332ee3a7 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_ARCH_ARM64"] = True - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" - DEFINES["_LARGEFILE64_SOURCE"] = True - DEFINES["_LARGEFILE_SOURCE"] = True +- DEFINES["__ARM_NEON__"] = "1" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -30257,6 +29734,7 @@ index 4ba3abd64cc9..4a9a332ee3a7 100644 - 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 @@ -30267,6 +29745,8 @@ index 4ba3abd64cc9..4a9a332ee3a7 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True +- DEFINES["__ARM_NEON__"] = "1" - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -30305,31 +29785,22 @@ index 4ba3abd64cc9..4a9a332ee3a7 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "aarch64": - - DEFINES["WEBRTC_ARCH_ARM64"] = True -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] +- DEFINES["__ARM_NEON__"] = "1" - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - - DEFINES["WEBRTC_ARCH_ARM64"] = True +- DEFINES["__ARM_NEON__"] = "1" - 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 9b0cc3b2530f..a4234c50a2c4 100644 +index 4a6fdb306aa6..dbecce80ab45 100644 --- third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build +++ third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build -@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -30346,12 +29817,13 @@ index 9b0cc3b2530f..a4234c50a2c4 100644 +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" -@@ -46,156 +55,23 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,150 +56,16 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -30359,13 +29831,14 @@ index 9b0cc3b2530f..a4234c50a2c4 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -30381,21 +29854,20 @@ index 9b0cc3b2530f..a4234c50a2c4 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - -if CONFIG["OS_TARGET"] == "Linux": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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["_GNU_SOURCE"] = True - DEFINES["_LARGEFILE64_SOURCE"] = True - DEFINES["_LARGEFILE_SOURCE"] = True @@ -30414,7 +29886,6 @@ index 9b0cc3b2530f..a4234c50a2c4 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -30438,6 +29909,7 @@ index 9b0cc3b2530f..a4234c50a2c4 100644 - 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 @@ -30448,6 +29920,7 @@ index 9b0cc3b2530f..a4234c50a2c4 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -30463,25 +29936,34 @@ index 9b0cc3b2530f..a4234c50a2c4 100644 - -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_DEBUG"] = True - +- 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 -- + DEFINES["_DEBUG"] = True + -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- DEFINES["USE_X11"] = "1" +- CXXFLAGS += [ +- "-msse2", +- "-msse2" +- ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86_64": +- +- CXXFLAGS += [ +- "-msse2" +- ] +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": +if CONFIG["TARGET_CPU"] == "x86": CXXFLAGS += [ @@ -30489,34 +29971,16 @@ index 9b0cc3b2530f..a4234c50a2c4 100644 "-msse2" ] --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86_64": +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": +if CONFIG["TARGET_CPU"] == "x86_64": CXXFLAGS += [ "-msse2" - ] - --if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - -- CXXFLAGS += [ -- "-msse2", -- "-msse2" -- ] -- --if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -- -- CXXFLAGS += [ -- "-msse2" -- ] -+ DEFINES["USE_X11"] = "1" - - Library("common_audio_sse2_gn") 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 3f6e7760f9ea..d92a68b35e06 100644 +index ce9072a0fe55..6ebbd2bc8f48 100644 --- third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build +++ third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -30532,12 +29996,13 @@ index 3f6e7760f9ea..d92a68b35e06 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -30545,13 +30010,14 @@ index 3f6e7760f9ea..d92a68b35e06 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -30563,8 +30029,6 @@ index 3f6e7760f9ea..d92a68b35e06 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -30572,12 +30036,12 @@ index 3f6e7760f9ea..d92a68b35e06 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -30591,7 +30055,6 @@ index 3f6e7760f9ea..d92a68b35e06 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -30615,6 +30078,7 @@ index 3f6e7760f9ea..d92a68b35e06 100644 - 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 @@ -30625,6 +30089,7 @@ index 3f6e7760f9ea..d92a68b35e06 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -30637,8 +30102,9 @@ index 3f6e7760f9ea..d92a68b35e06 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -30656,12 +30122,14 @@ index 3f6e7760f9ea..d92a68b35e06 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -30692,16 +30160,6 @@ index 3f6e7760f9ea..d92a68b35e06 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -30710,35 +30168,37 @@ index 3f6e7760f9ea..d92a68b35e06 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("fir_filter_factory_gn") diff --git third_party/libwebrtc/common_audio/fir_filter_gn/moz.build third_party/libwebrtc/common_audio/fir_filter_gn/moz.build -index faa0a79081cd..ae16a06d7d3a 100644 +index 06ea301b21f9..81322b8eb2ec 100644 --- third_party/libwebrtc/common_audio/fir_filter_gn/moz.build +++ third_party/libwebrtc/common_audio/fir_filter_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -30754,12 +30214,13 @@ index faa0a79081cd..ae16a06d7d3a 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -30767,13 +30228,14 @@ index faa0a79081cd..ae16a06d7d3a 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -30781,8 +30243,6 @@ index faa0a79081cd..ae16a06d7d3a 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -30790,12 +30250,12 @@ index faa0a79081cd..ae16a06d7d3a 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -30805,7 +30265,6 @@ index faa0a79081cd..ae16a06d7d3a 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -30829,6 +30288,7 @@ index faa0a79081cd..ae16a06d7d3a 100644 - 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 @@ -30839,13 +30299,15 @@ index faa0a79081cd..ae16a06d7d3a 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -30859,17 +30321,19 @@ index faa0a79081cd..ae16a06d7d3a 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -30893,39 +30357,32 @@ index faa0a79081cd..ae16a06d7d3a 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("fir_filter_gn") diff --git third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build -index d9cf6ef8d1e3..cff33184ac39 100644 +index 5290e066bab5..24a8a439063c 100644 --- third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build +++ third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -30941,12 +30398,13 @@ index d9cf6ef8d1e3..cff33184ac39 100644 +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" -@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -30954,13 +30412,14 @@ index d9cf6ef8d1e3..cff33184ac39 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -30972,8 +30431,6 @@ index d9cf6ef8d1e3..cff33184ac39 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -30981,12 +30438,12 @@ index d9cf6ef8d1e3..cff33184ac39 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -31000,7 +30457,6 @@ index d9cf6ef8d1e3..cff33184ac39 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -31024,6 +30480,7 @@ index d9cf6ef8d1e3..cff33184ac39 100644 - 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 @@ -31034,6 +30491,7 @@ index d9cf6ef8d1e3..cff33184ac39 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -31046,8 +30504,9 @@ index d9cf6ef8d1e3..cff33184ac39 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -31061,17 +30520,19 @@ index d9cf6ef8d1e3..cff33184ac39 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -31095,39 +30556,32 @@ index d9cf6ef8d1e3..cff33184ac39 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("sinc_resampler_gn") diff --git third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build -index 5d0978fcf8ce..ba66d5de064e 100644 +index 4292372dbac9..1d7ed49fde1e 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -31143,12 +30597,13 @@ index 5d0978fcf8ce..ba66d5de064e 100644 +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" -@@ -44,98 +53,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -31156,13 +30611,14 @@ index 5d0978fcf8ce..ba66d5de064e 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -31174,8 +30630,6 @@ index 5d0978fcf8ce..ba66d5de064e 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -31183,12 +30637,12 @@ index 5d0978fcf8ce..ba66d5de064e 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -31202,7 +30656,6 @@ index 5d0978fcf8ce..ba66d5de064e 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -31226,6 +30679,7 @@ index 5d0978fcf8ce..ba66d5de064e 100644 - 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 @@ -31236,6 +30690,7 @@ index 5d0978fcf8ce..ba66d5de064e 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -31248,7 +30703,7 @@ index 5d0978fcf8ce..ba66d5de064e 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -146,132 +64,42 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -148,128 +66,38 @@ if CONFIG["TARGET_CPU"] == "aarch64": "/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128/ooura_fft_neon.cc" ] @@ -31272,6 +30727,7 @@ index 5d0978fcf8ce..ba66d5de064e 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True @@ -31282,6 +30738,7 @@ index 5d0978fcf8ce..ba66d5de064e 100644 -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - if CONFIG["TARGET_CPU"] == "x86": @@ -31320,16 +30777,6 @@ index 5d0978fcf8ce..ba66d5de064e 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -31344,33 +30791,45 @@ index 5d0978fcf8ce..ba66d5de064e 100644 - ] - -if CONFIG["OS_TARGET"] == "Darwin" and CONFIG["TARGET_CPU"] == "x86_64": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" -+ UNIFIED_SOURCES += [ -+ "/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128/ooura_fft_sse2.cc" - ] - +- ] +- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True + +- CXXFLAGS += [ +- "-msse2", +- "-msse2" ++ UNIFIED_SOURCES += [ ++ "/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128/ooura_fft_sse2.cc" + ] + +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": +if CONFIG["TARGET_CPU"] == "x86_64": CXXFLAGS += [ -- "-msse2", "-msse2" ] +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - --if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": +-if CONFIG["OS_TARGET"] == "OpenBSD" and CONFIG["TARGET_CPU"] == "x86_64": + DEFINES["WEBRTC_ENABLE_AVX2"] = True - CXXFLAGS += [ @@ -31379,22 +30838,12 @@ index 5d0978fcf8ce..ba66d5de064e 100644 + "/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128/ooura_fft_sse2.cc" ] -- DEFINES["_GNU_SOURCE"] = True -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - --if CONFIG["OS_TARGET"] == "OpenBSD" and CONFIG["TARGET_CPU"] == "x86_64": -- -- CXXFLAGS += [ -- "-msse2" -- ] -+ DEFINES["USE_X11"] = "1" - 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 abbf58c8e6e1..c8156058abd1 100644 +index 083f0cacddb9..870f24ccad4f 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -31410,12 +30859,13 @@ index abbf58c8e6e1..c8156058abd1 100644 +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" -@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -31423,13 +30873,14 @@ index abbf58c8e6e1..c8156058abd1 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -31437,8 +30888,6 @@ index abbf58c8e6e1..c8156058abd1 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -31446,12 +30895,12 @@ index abbf58c8e6e1..c8156058abd1 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -31461,7 +30910,6 @@ index abbf58c8e6e1..c8156058abd1 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -31485,6 +30933,7 @@ index abbf58c8e6e1..c8156058abd1 100644 - 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 @@ -31495,13 +30944,15 @@ index abbf58c8e6e1..c8156058abd1 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -31519,12 +30970,14 @@ index abbf58c8e6e1..c8156058abd1 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -31555,53 +31008,45 @@ index abbf58c8e6e1..c8156058abd1 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- OS_LIBS += [ -- "unwind" +- CXXFLAGS += [ +- "-msse2" - ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": -- - CXXFLAGS += [ - "-msse2" - ] - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - -- CXXFLAGS += [ -- "-msse2" -- ] -+if CONFIG["TARGET_CPU"] == "x86_64": +- + CXXFLAGS += [ + "-msse2" + ] +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("fft_size_256_gn") diff --git third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build -index e0887017963d..84d5c6e4a8cb 100644 +index 8fba4c436475..7be006d15bc0 100644 --- third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build +++ third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -31617,12 +31062,13 @@ index e0887017963d..84d5c6e4a8cb 100644 +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" -@@ -40,115 +49,19 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,95 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -31630,13 +31076,14 @@ index e0887017963d..84d5c6e4a8cb 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -31644,8 +31091,6 @@ index e0887017963d..84d5c6e4a8cb 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -31657,12 +31102,12 @@ index e0887017963d..84d5c6e4a8cb 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -31672,7 +31117,6 @@ index e0887017963d..84d5c6e4a8cb 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -31700,6 +31144,7 @@ index e0887017963d..84d5c6e4a8cb 100644 - 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 @@ -31710,6 +31155,7 @@ index e0887017963d..84d5c6e4a8cb 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - UNIFIED_SOURCES += [ @@ -31719,8 +31165,9 @@ index e0887017963d..84d5c6e4a8cb 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -137,30 +58,20 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -31741,24 +31188,27 @@ index e0887017963d..84d5c6e4a8cb 100644 UNIFIED_SOURCES += [ "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c" ] -@@ -157,7 +70,6 @@ if CONFIG["TARGET_CPU"] == "mips32": + if CONFIG["TARGET_CPU"] == "mips32": + +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True UNIFIED_SOURCES += [ "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_mips.c" -@@ -165,8 +77,6 @@ if CONFIG["TARGET_CPU"] == "mips32": +@@ -168,9 +79,6 @@ if CONFIG["TARGET_CPU"] == "mips32": if CONFIG["TARGET_CPU"] == "mips64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - UNIFIED_SOURCES += [ "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c" ] -@@ -177,102 +87,34 @@ if CONFIG["TARGET_CPU"] == "ppc64": +@@ -181,93 +89,27 @@ if CONFIG["TARGET_CPU"] == "ppc64": "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c" ] @@ -31790,34 +31240,23 @@ index e0887017963d..84d5c6e4a8cb 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "aarch64": -+if CONFIG["TARGET_CPU"] == "riscv64": - - UNIFIED_SOURCES += [ - "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c" - ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": - -- OS_LIBS += [ -- "unwind" +- UNIFIED_SOURCES += [ +- "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c" - ] - -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": -+if CONFIG["TARGET_CPU"] == "x86": +- +- CFLAGS += [ +- "-msse2" +- ] ++if CONFIG["TARGET_CPU"] == "riscv64": - CFLAGS += [ - "-msse2" + UNIFIED_SOURCES += [ + "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c" ] -- UNIFIED_SOURCES += [ -- "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86_64": - - UNIFIED_SOURCES += [ @@ -31826,6 +31265,7 @@ index e0887017963d..84d5c6e4a8cb 100644 - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - - UNIFIED_SOURCES += [ @@ -31834,22 +31274,23 @@ index e0887017963d..84d5c6e4a8cb 100644 - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "riscv64": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - - UNIFIED_SOURCES += [ - "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c" - ] - --if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - -- CFLAGS += [ -- "-msse2" +- UNIFIED_SOURCES += [ +- "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": ++if CONFIG["TARGET_CPU"] == "x86": + CFLAGS += [ + "-msse2" + ] + +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -31858,21 +31299,19 @@ index e0887017963d..84d5c6e4a8cb 100644 ] -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -- -- UNIFIED_SOURCES += [ -- "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c" -- ] -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True - Library("spl_sqrt_floor_gn") + 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 d338944c00d7..b94189d3545a 100644 +index 53e079b36c1e..216161d185b7 100644 --- third_party/libwebrtc/common_video/common_video_gn/moz.build +++ third_party/libwebrtc/common_video/common_video_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -31888,12 +31327,13 @@ index d338944c00d7..b94189d3545a 100644 +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" -@@ -56,190 +65,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -57,98 +66,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -31901,13 +31341,14 @@ index d338944c00d7..b94189d3545a 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -31919,8 +31360,6 @@ index d338944c00d7..b94189d3545a 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -31928,12 +31367,12 @@ index d338944c00d7..b94189d3545a 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -31947,7 +31386,6 @@ index d338944c00d7..b94189d3545a 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -31971,6 +31409,7 @@ index d338944c00d7..b94189d3545a 100644 - 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 @@ -31981,6 +31420,7 @@ index d338944c00d7..b94189d3545a 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -31993,8 +31433,9 @@ index d338944c00d7..b94189d3545a 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -156,88 +74,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -32012,12 +31453,14 @@ index d338944c00d7..b94189d3545a 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -32048,16 +31491,6 @@ index d338944c00d7..b94189d3545a 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -32066,35 +31499,37 @@ index d338944c00d7..b94189d3545a 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("common_video_gn") diff --git third_party/libwebrtc/common_video/corruption_detection_converters_gn/moz.build third_party/libwebrtc/common_video/corruption_detection_converters_gn/moz.build -index 9944edddcfc7..dab4c0cf2af3 100644 +index a39b53c0b225..46901ebfa87d 100644 --- third_party/libwebrtc/common_video/corruption_detection_converters_gn/moz.build +++ third_party/libwebrtc/common_video/corruption_detection_converters_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -32110,12 +31545,13 @@ index 9944edddcfc7..dab4c0cf2af3 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -32123,13 +31559,14 @@ index 9944edddcfc7..dab4c0cf2af3 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -32141,8 +31578,6 @@ index 9944edddcfc7..dab4c0cf2af3 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -32150,12 +31585,12 @@ index 9944edddcfc7..dab4c0cf2af3 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -32165,7 +31600,6 @@ index 9944edddcfc7..dab4c0cf2af3 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -32189,6 +31623,7 @@ index 9944edddcfc7..dab4c0cf2af3 100644 - 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 @@ -32199,13 +31634,15 @@ index 9944edddcfc7..dab4c0cf2af3 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -32223,12 +31660,14 @@ index 9944edddcfc7..dab4c0cf2af3 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -32259,16 +31698,6 @@ index 9944edddcfc7..dab4c0cf2af3 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -32277,35 +31706,37 @@ index 9944edddcfc7..dab4c0cf2af3 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("corruption_detection_converters_gn") diff --git third_party/libwebrtc/common_video/corruption_score_calculator_gn/moz.build third_party/libwebrtc/common_video/corruption_score_calculator_gn/moz.build -index fca1c9f668b8..96e6cd2de3f4 100644 +index b6aee1c8bbbe..dfb538922b84 100644 --- third_party/libwebrtc/common_video/corruption_score_calculator_gn/moz.build +++ third_party/libwebrtc/common_video/corruption_score_calculator_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -32321,12 +31752,13 @@ index fca1c9f668b8..96e6cd2de3f4 100644 +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" -@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -32334,13 +31766,14 @@ index fca1c9f668b8..96e6cd2de3f4 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -32352,8 +31785,6 @@ index fca1c9f668b8..96e6cd2de3f4 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -32361,12 +31792,12 @@ index fca1c9f668b8..96e6cd2de3f4 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -32376,7 +31807,6 @@ index fca1c9f668b8..96e6cd2de3f4 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -32400,6 +31830,7 @@ index fca1c9f668b8..96e6cd2de3f4 100644 - 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 @@ -32410,6 +31841,7 @@ index fca1c9f668b8..96e6cd2de3f4 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -32422,8 +31854,9 @@ index fca1c9f668b8..96e6cd2de3f4 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -32437,17 +31870,19 @@ index fca1c9f668b8..96e6cd2de3f4 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -32471,39 +31906,32 @@ index fca1c9f668b8..96e6cd2de3f4 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("corruption_score_calculator_gn") diff --git third_party/libwebrtc/common_video/frame_counts_gn/moz.build third_party/libwebrtc/common_video/frame_counts_gn/moz.build -index 79118636ef57..a240d297e534 100644 +index 4c0a4630b610..5d45fb7c23c4 100644 --- third_party/libwebrtc/common_video/frame_counts_gn/moz.build +++ third_party/libwebrtc/common_video/frame_counts_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -32519,12 +31947,13 @@ index 79118636ef57..a240d297e534 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -32532,13 +31961,14 @@ index 79118636ef57..a240d297e534 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -32546,8 +31976,6 @@ index 79118636ef57..a240d297e534 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -32555,12 +31983,12 @@ index 79118636ef57..a240d297e534 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -32570,7 +31998,6 @@ index 79118636ef57..a240d297e534 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -32594,6 +32021,7 @@ index 79118636ef57..a240d297e534 100644 - 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 @@ -32604,13 +32032,15 @@ index 79118636ef57..a240d297e534 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -32624,17 +32054,19 @@ index 79118636ef57..a240d297e534 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -32658,39 +32090,32 @@ index 79118636ef57..a240d297e534 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("frame_counts_gn") diff --git third_party/libwebrtc/common_video/frame_instrumentation_data_gn/moz.build third_party/libwebrtc/common_video/frame_instrumentation_data_gn/moz.build -index ad826406041d..9a33fa9b8af1 100644 +index 9f1fe24b6f43..b4200efd2d0f 100644 --- third_party/libwebrtc/common_video/frame_instrumentation_data_gn/moz.build +++ third_party/libwebrtc/common_video/frame_instrumentation_data_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -32706,12 +32131,13 @@ index ad826406041d..9a33fa9b8af1 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -32719,13 +32145,14 @@ index ad826406041d..9a33fa9b8af1 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -32733,8 +32160,6 @@ index ad826406041d..9a33fa9b8af1 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -32742,12 +32167,12 @@ index ad826406041d..9a33fa9b8af1 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -32757,7 +32182,6 @@ index ad826406041d..9a33fa9b8af1 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -32781,6 +32205,7 @@ index ad826406041d..9a33fa9b8af1 100644 - 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 @@ -32791,13 +32216,15 @@ index ad826406041d..9a33fa9b8af1 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -32811,17 +32238,19 @@ index ad826406041d..9a33fa9b8af1 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -32845,39 +32274,32 @@ index ad826406041d..9a33fa9b8af1 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("frame_instrumentation_data_gn") diff --git third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build -index 41c302c40bdf..faf1b8af307c 100644 +index 5ad5eb8a6c24..f3ff9dad7e78 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -32893,12 +32315,13 @@ index 41c302c40bdf..faf1b8af307c 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -32906,13 +32329,14 @@ index 41c302c40bdf..faf1b8af307c 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -32924,8 +32348,6 @@ index 41c302c40bdf..faf1b8af307c 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -32933,12 +32355,12 @@ index 41c302c40bdf..faf1b8af307c 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -32948,7 +32370,6 @@ index 41c302c40bdf..faf1b8af307c 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -32972,6 +32393,7 @@ index 41c302c40bdf..faf1b8af307c 100644 - 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 @@ -32982,13 +32404,15 @@ index 41c302c40bdf..faf1b8af307c 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -33006,12 +32430,14 @@ index 41c302c40bdf..faf1b8af307c 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -33042,16 +32468,6 @@ index 41c302c40bdf..faf1b8af307c 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -33060,35 +32476,37 @@ index 41c302c40bdf..faf1b8af307c 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("generic_frame_descriptor_gn") diff --git third_party/libwebrtc/dcsctp_gn/moz.build third_party/libwebrtc/dcsctp_gn/moz.build -index d257f1ad2fa8..b3b3098adf87 100644 +index a361aa0738ba..9c86ad151947 100644 --- third_party/libwebrtc/dcsctp_gn/moz.build +++ third_party/libwebrtc/dcsctp_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -33104,12 +32522,13 @@ index d257f1ad2fa8..b3b3098adf87 100644 +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" -@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -33117,13 +32536,14 @@ index d257f1ad2fa8..b3b3098adf87 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -33135,8 +32555,6 @@ index d257f1ad2fa8..b3b3098adf87 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -33144,12 +32562,12 @@ index d257f1ad2fa8..b3b3098adf87 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -33159,7 +32577,6 @@ index d257f1ad2fa8..b3b3098adf87 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -33183,6 +32600,7 @@ index d257f1ad2fa8..b3b3098adf87 100644 - 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 @@ -33193,6 +32611,7 @@ index d257f1ad2fa8..b3b3098adf87 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -33205,8 +32624,9 @@ index d257f1ad2fa8..b3b3098adf87 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -33220,17 +32640,19 @@ index d257f1ad2fa8..b3b3098adf87 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -33254,39 +32676,32 @@ index d257f1ad2fa8..b3b3098adf87 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("dcsctp_gn") diff --git third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build -index d145d0ea9376..c46ee2a6426e 100644 +index 415d4f6b6bad..a38a5238b43b 100644 --- third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build +++ third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -33302,12 +32717,13 @@ index d145d0ea9376..c46ee2a6426e 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -33315,13 +32731,14 @@ index d145d0ea9376..c46ee2a6426e 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -33329,8 +32746,6 @@ index d145d0ea9376..c46ee2a6426e 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -33338,12 +32753,12 @@ index d145d0ea9376..c46ee2a6426e 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -33353,7 +32768,6 @@ index d145d0ea9376..c46ee2a6426e 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -33377,6 +32791,7 @@ index d145d0ea9376..c46ee2a6426e 100644 - 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 @@ -33387,13 +32802,15 @@ index d145d0ea9376..c46ee2a6426e 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -33407,17 +32824,19 @@ index d145d0ea9376..c46ee2a6426e 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -33441,31 +32860,24 @@ index d145d0ea9376..c46ee2a6426e 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("registered_field_trials_gn") @@ -33484,10 +32896,10 @@ index 6c29dea76a50..3ae54a950c46 100644 - Library("registered_field_trials_header_gn") diff --git third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build -index 87c1d54c4df1..1de0302ecc91 100644 +index 19d2011f0711..fd3195859252 100644 --- third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build +++ third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -33503,12 +32915,13 @@ index 87c1d54c4df1..1de0302ecc91 100644 +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" -@@ -48,186 +57,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -49,94 +58,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -33516,13 +32929,14 @@ index 87c1d54c4df1..1de0302ecc91 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -33534,8 +32948,6 @@ index 87c1d54c4df1..1de0302ecc91 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -33543,12 +32955,12 @@ index 87c1d54c4df1..1de0302ecc91 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -33558,7 +32970,6 @@ index 87c1d54c4df1..1de0302ecc91 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -33582,6 +32993,7 @@ index 87c1d54c4df1..1de0302ecc91 100644 - 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 @@ -33592,6 +33004,7 @@ index 87c1d54c4df1..1de0302ecc91 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -33604,8 +33017,9 @@ index 87c1d54c4df1..1de0302ecc91 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -33623,12 +33037,14 @@ index 87c1d54c4df1..1de0302ecc91 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -33659,16 +33075,6 @@ index 87c1d54c4df1..1de0302ecc91 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -33677,35 +33083,37 @@ index 87c1d54c4df1..1de0302ecc91 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rtc_event_audio_gn") diff --git third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build -index 7abe0e6ab8f6..c00986cd7d3f 100644 +index af48c04f59de..a7254b198d49 100644 --- third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build +++ third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -33721,12 +33129,13 @@ index 7abe0e6ab8f6..c00986cd7d3f 100644 +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" -@@ -49,186 +58,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -50,94 +59,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -33734,13 +33143,14 @@ index 7abe0e6ab8f6..c00986cd7d3f 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -33752,8 +33162,6 @@ index 7abe0e6ab8f6..c00986cd7d3f 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -33761,12 +33169,12 @@ index 7abe0e6ab8f6..c00986cd7d3f 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -33776,7 +33184,6 @@ index 7abe0e6ab8f6..c00986cd7d3f 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -33800,6 +33207,7 @@ index 7abe0e6ab8f6..c00986cd7d3f 100644 - 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 @@ -33810,6 +33218,7 @@ index 7abe0e6ab8f6..c00986cd7d3f 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -33822,8 +33231,9 @@ index 7abe0e6ab8f6..c00986cd7d3f 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -33841,12 +33251,14 @@ index 7abe0e6ab8f6..c00986cd7d3f 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -33877,16 +33289,6 @@ index 7abe0e6ab8f6..c00986cd7d3f 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -33895,35 +33297,37 @@ index 7abe0e6ab8f6..c00986cd7d3f 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rtc_event_bwe_gn") diff --git third_party/libwebrtc/logging/rtc_event_field_gn/moz.build third_party/libwebrtc/logging/rtc_event_field_gn/moz.build -index 173a4af52ed4..f49361ea7deb 100644 +index 68ca708760ea..670306ad1fab 100644 --- third_party/libwebrtc/logging/rtc_event_field_gn/moz.build +++ third_party/libwebrtc/logging/rtc_event_field_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -33939,12 +33343,13 @@ index 173a4af52ed4..f49361ea7deb 100644 +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,186 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,94 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -33952,13 +33357,14 @@ index 173a4af52ed4..f49361ea7deb 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -33970,8 +33376,6 @@ index 173a4af52ed4..f49361ea7deb 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -33979,12 +33383,12 @@ index 173a4af52ed4..f49361ea7deb 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -33994,7 +33398,6 @@ index 173a4af52ed4..f49361ea7deb 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -34018,6 +33421,7 @@ index 173a4af52ed4..f49361ea7deb 100644 - 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 @@ -34028,6 +33432,7 @@ index 173a4af52ed4..f49361ea7deb 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -34040,8 +33445,9 @@ index 173a4af52ed4..f49361ea7deb 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -143,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -34059,12 +33465,14 @@ index 173a4af52ed4..f49361ea7deb 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -34095,16 +33503,6 @@ index 173a4af52ed4..f49361ea7deb 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -34113,35 +33511,37 @@ index 173a4af52ed4..f49361ea7deb 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rtc_event_field_gn") diff --git third_party/libwebrtc/logging/rtc_event_log_parse_status_gn/moz.build third_party/libwebrtc/logging/rtc_event_log_parse_status_gn/moz.build -index 988db900c124..58ac771f6db7 100644 +index ba98f2fad30c..0521908d9419 100644 --- third_party/libwebrtc/logging/rtc_event_log_parse_status_gn/moz.build +++ third_party/libwebrtc/logging/rtc_event_log_parse_status_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -34157,12 +33557,13 @@ index 988db900c124..58ac771f6db7 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -34170,13 +33571,14 @@ index 988db900c124..58ac771f6db7 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -34188,8 +33590,6 @@ index 988db900c124..58ac771f6db7 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -34197,12 +33597,12 @@ index 988db900c124..58ac771f6db7 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -34212,7 +33612,6 @@ index 988db900c124..58ac771f6db7 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -34236,6 +33635,7 @@ index 988db900c124..58ac771f6db7 100644 - 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 @@ -34246,13 +33646,15 @@ index 988db900c124..58ac771f6db7 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -34266,17 +33668,19 @@ index 988db900c124..58ac771f6db7 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -34300,39 +33704,32 @@ index 988db900c124..58ac771f6db7 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("rtc_event_log_parse_status_gn") diff --git third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build -index eb57df474228..3feab91a7084 100644 +index 01705c04b230..8e87aff3722e 100644 --- third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build +++ third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -34348,12 +33745,13 @@ index eb57df474228..3feab91a7084 100644 +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" -@@ -46,179 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -34361,13 +33759,14 @@ index eb57df474228..3feab91a7084 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -34379,8 +33778,6 @@ index eb57df474228..3feab91a7084 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -34388,12 +33785,12 @@ index eb57df474228..3feab91a7084 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -34403,7 +33800,6 @@ index eb57df474228..3feab91a7084 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -34427,6 +33823,7 @@ index eb57df474228..3feab91a7084 100644 - 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 @@ -34437,13 +33834,15 @@ index eb57df474228..3feab91a7084 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -135,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -34461,12 +33860,14 @@ index eb57df474228..3feab91a7084 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -34497,16 +33898,6 @@ index eb57df474228..3feab91a7084 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -34515,35 +33906,37 @@ index eb57df474228..3feab91a7084 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rtc_event_number_encodings_gn") diff --git third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build -index 46192e21f4e7..c9d38230adf6 100644 +index b5e49419d3ef..c6f0009da400 100644 --- third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build +++ third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -34559,12 +33952,13 @@ index 46192e21f4e7..c9d38230adf6 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -34572,13 +33966,14 @@ index 46192e21f4e7..c9d38230adf6 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -34590,8 +33985,6 @@ index 46192e21f4e7..c9d38230adf6 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -34599,12 +33992,12 @@ index 46192e21f4e7..c9d38230adf6 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -34614,7 +34007,6 @@ index 46192e21f4e7..c9d38230adf6 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -34638,6 +34030,7 @@ index 46192e21f4e7..c9d38230adf6 100644 - 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 @@ -34648,6 +34041,7 @@ index 46192e21f4e7..c9d38230adf6 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -34660,8 +34054,9 @@ index 46192e21f4e7..c9d38230adf6 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -34679,12 +34074,14 @@ index 46192e21f4e7..c9d38230adf6 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -34715,16 +34112,6 @@ index 46192e21f4e7..c9d38230adf6 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -34733,35 +34120,37 @@ index 46192e21f4e7..c9d38230adf6 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rtc_event_pacing_gn") diff --git third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build -index db532092f5ba..973cc40e2eb7 100644 +index 669a835db754..68eacaa9575b 100644 --- third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build +++ third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -34777,12 +34166,13 @@ index db532092f5ba..973cc40e2eb7 100644 +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,190 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -34790,13 +34180,14 @@ index db532092f5ba..973cc40e2eb7 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -34808,8 +34199,6 @@ index db532092f5ba..973cc40e2eb7 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -34817,12 +34206,12 @@ index db532092f5ba..973cc40e2eb7 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -34836,7 +34225,6 @@ index db532092f5ba..973cc40e2eb7 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -34860,6 +34248,7 @@ index db532092f5ba..973cc40e2eb7 100644 - 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 @@ -34870,6 +34259,7 @@ index db532092f5ba..973cc40e2eb7 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -34882,8 +34272,9 @@ index db532092f5ba..973cc40e2eb7 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -147,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -34901,12 +34292,14 @@ index db532092f5ba..973cc40e2eb7 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -34937,16 +34330,6 @@ index db532092f5ba..973cc40e2eb7 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -34955,35 +34338,37 @@ index db532092f5ba..973cc40e2eb7 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rtc_event_rtp_rtcp_gn") diff --git third_party/libwebrtc/logging/rtc_event_video_gn/moz.build third_party/libwebrtc/logging/rtc_event_video_gn/moz.build -index 880219f21c25..bc58f4335961 100644 +index e3933c0aa96e..563a8c4cd9fb 100644 --- third_party/libwebrtc/logging/rtc_event_video_gn/moz.build +++ third_party/libwebrtc/logging/rtc_event_video_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -34999,12 +34384,13 @@ index 880219f21c25..bc58f4335961 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,94 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -35012,13 +34398,14 @@ index 880219f21c25..bc58f4335961 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -35030,8 +34417,6 @@ index 880219f21c25..bc58f4335961 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -35039,12 +34424,12 @@ index 880219f21c25..bc58f4335961 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -35054,7 +34439,6 @@ index 880219f21c25..bc58f4335961 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -35078,6 +34462,7 @@ index 880219f21c25..bc58f4335961 100644 - 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 @@ -35088,6 +34473,7 @@ index 880219f21c25..bc58f4335961 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -35100,8 +34486,9 @@ index 880219f21c25..bc58f4335961 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -141,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -35119,12 +34506,14 @@ index 880219f21c25..bc58f4335961 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -35155,16 +34544,6 @@ index 880219f21c25..bc58f4335961 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -35173,35 +34552,37 @@ index 880219f21c25..bc58f4335961 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rtc_event_video_gn") diff --git third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build -index 71ec6e58eab4..98496cf6ad3d 100644 +index 60a829841624..6a35e9816c35 100644 --- third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build +++ third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -35217,12 +34598,13 @@ index 71ec6e58eab4..98496cf6ad3d 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -35230,13 +34612,14 @@ index 71ec6e58eab4..98496cf6ad3d 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -35248,8 +34631,6 @@ index 71ec6e58eab4..98496cf6ad3d 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -35257,12 +34638,12 @@ index 71ec6e58eab4..98496cf6ad3d 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -35272,7 +34653,6 @@ index 71ec6e58eab4..98496cf6ad3d 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -35296,6 +34676,7 @@ index 71ec6e58eab4..98496cf6ad3d 100644 - 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 @@ -35306,6 +34687,7 @@ index 71ec6e58eab4..98496cf6ad3d 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -35318,8 +34700,9 @@ index 71ec6e58eab4..98496cf6ad3d 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -35337,12 +34720,14 @@ index 71ec6e58eab4..98496cf6ad3d 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -35373,16 +34758,6 @@ index 71ec6e58eab4..98496cf6ad3d 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -35391,35 +34766,37 @@ index 71ec6e58eab4..98496cf6ad3d 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rtc_stream_config_gn") diff --git third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build -index 2a792a6e614d..f730e651788a 100644 +index 95e5b56fcaf2..6ebaffa17bf0 100644 --- third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build +++ third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -35435,12 +34812,13 @@ index 2a792a6e614d..f730e651788a 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -35448,13 +34826,14 @@ index 2a792a6e614d..f730e651788a 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -35466,8 +34845,6 @@ index 2a792a6e614d..f730e651788a 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -35475,12 +34852,12 @@ index 2a792a6e614d..f730e651788a 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -35494,7 +34871,6 @@ index 2a792a6e614d..f730e651788a 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -35518,6 +34894,7 @@ index 2a792a6e614d..f730e651788a 100644 - 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 @@ -35528,6 +34905,7 @@ index 2a792a6e614d..f730e651788a 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -35540,8 +34918,9 @@ index 2a792a6e614d..f730e651788a 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -35559,12 +34938,14 @@ index 2a792a6e614d..f730e651788a 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -35595,16 +34976,6 @@ index 2a792a6e614d..f730e651788a 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -35613,35 +34984,37 @@ index 2a792a6e614d..f730e651788a 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("adapted_video_track_source_gn") diff --git third_party/libwebrtc/media/audio_source_gn/moz.build third_party/libwebrtc/media/audio_source_gn/moz.build -index b3ffa731b047..556c37a94cdd 100644 +index 79c6905d50d0..a651f17c72f3 100644 --- third_party/libwebrtc/media/audio_source_gn/moz.build +++ third_party/libwebrtc/media/audio_source_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -35657,12 +35030,13 @@ index b3ffa731b047..556c37a94cdd 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -35670,13 +35044,14 @@ index b3ffa731b047..556c37a94cdd 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -35684,8 +35059,6 @@ index b3ffa731b047..556c37a94cdd 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -35693,12 +35066,12 @@ index b3ffa731b047..556c37a94cdd 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -35708,7 +35081,6 @@ index b3ffa731b047..556c37a94cdd 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -35732,6 +35104,7 @@ index b3ffa731b047..556c37a94cdd 100644 - 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 @@ -35742,13 +35115,15 @@ index b3ffa731b047..556c37a94cdd 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -35762,17 +35137,19 @@ index b3ffa731b047..556c37a94cdd 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -35796,39 +35173,32 @@ index b3ffa731b047..556c37a94cdd 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("audio_source_gn") diff --git third_party/libwebrtc/media/codec_gn/moz.build third_party/libwebrtc/media/codec_gn/moz.build -index c4bc70729079..073728d67c50 100644 +index 11fbb4c53ece..2fa1b126e636 100644 --- third_party/libwebrtc/media/codec_gn/moz.build +++ third_party/libwebrtc/media/codec_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -35844,12 +35214,13 @@ index c4bc70729079..073728d67c50 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -35857,13 +35228,14 @@ index c4bc70729079..073728d67c50 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -35875,8 +35247,6 @@ index c4bc70729079..073728d67c50 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -35884,12 +35254,12 @@ index c4bc70729079..073728d67c50 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -35903,7 +35273,6 @@ index c4bc70729079..073728d67c50 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -35927,6 +35296,7 @@ index c4bc70729079..073728d67c50 100644 - 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 @@ -35937,6 +35307,7 @@ index c4bc70729079..073728d67c50 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -35949,8 +35320,9 @@ index c4bc70729079..073728d67c50 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -35968,12 +35340,14 @@ index c4bc70729079..073728d67c50 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -36004,16 +35378,6 @@ index c4bc70729079..073728d67c50 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -36022,35 +35386,37 @@ index c4bc70729079..073728d67c50 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("codec_gn") diff --git third_party/libwebrtc/media/media_channel_gn/moz.build third_party/libwebrtc/media/media_channel_gn/moz.build -index 50c9885138f8..16e5ba4ee32e 100644 +index ffb4236c2b4a..9d1b62e2b4ce 100644 --- third_party/libwebrtc/media/media_channel_gn/moz.build +++ third_party/libwebrtc/media/media_channel_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -36066,12 +35432,13 @@ index 50c9885138f8..16e5ba4ee32e 100644 +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" -@@ -40,124 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,99 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -36079,13 +35446,14 @@ index 50c9885138f8..16e5ba4ee32e 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -36098,8 +35466,6 @@ index 50c9885138f8..16e5ba4ee32e 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -36107,12 +35473,12 @@ index 50c9885138f8..16e5ba4ee32e 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -36126,7 +35492,6 @@ index 50c9885138f8..16e5ba4ee32e 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -36150,6 +35515,7 @@ index 50c9885138f8..16e5ba4ee32e 100644 - 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 @@ -36160,6 +35526,7 @@ index 50c9885138f8..16e5ba4ee32e 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -36172,8 +35539,9 @@ index 50c9885138f8..16e5ba4ee32e 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -141,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -36187,17 +35555,19 @@ index 50c9885138f8..16e5ba4ee32e 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -167,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -171,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -36221,39 +35591,32 @@ index 50c9885138f8..16e5ba4ee32e 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("media_channel_gn") diff --git third_party/libwebrtc/media/media_channel_impl_gn/moz.build third_party/libwebrtc/media/media_channel_impl_gn/moz.build -index 5e6822d5bdc0..400eab1bee62 100644 +index cca0752fc101..d98b839a2d92 100644 --- third_party/libwebrtc/media/media_channel_impl_gn/moz.build +++ third_party/libwebrtc/media/media_channel_impl_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -36269,12 +35632,13 @@ index 5e6822d5bdc0..400eab1bee62 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -36282,13 +35646,14 @@ index 5e6822d5bdc0..400eab1bee62 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -36296,8 +35661,6 @@ index 5e6822d5bdc0..400eab1bee62 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -36305,12 +35668,12 @@ index 5e6822d5bdc0..400eab1bee62 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -36320,7 +35683,6 @@ index 5e6822d5bdc0..400eab1bee62 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -36344,6 +35706,7 @@ index 5e6822d5bdc0..400eab1bee62 100644 - 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 @@ -36354,13 +35717,15 @@ index 5e6822d5bdc0..400eab1bee62 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -36374,17 +35739,19 @@ index 5e6822d5bdc0..400eab1bee62 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -36408,39 +35775,32 @@ index 5e6822d5bdc0..400eab1bee62 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("media_channel_impl_gn") diff --git third_party/libwebrtc/media/media_constants_gn/moz.build third_party/libwebrtc/media/media_constants_gn/moz.build -index 38e1075093fa..1dda12f2a71d 100644 +index 0de5e3362a74..5adbec9d0fdb 100644 --- third_party/libwebrtc/media/media_constants_gn/moz.build +++ third_party/libwebrtc/media/media_constants_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -36456,12 +35816,13 @@ index 38e1075093fa..1dda12f2a71d 100644 +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" -@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -36469,13 +35830,14 @@ index 38e1075093fa..1dda12f2a71d 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -36483,8 +35845,6 @@ index 38e1075093fa..1dda12f2a71d 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -36492,12 +35852,12 @@ index 38e1075093fa..1dda12f2a71d 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -36507,7 +35867,6 @@ index 38e1075093fa..1dda12f2a71d 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -36531,6 +35890,7 @@ index 38e1075093fa..1dda12f2a71d 100644 - 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 @@ -36541,13 +35901,15 @@ index 38e1075093fa..1dda12f2a71d 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -36565,12 +35927,14 @@ index 38e1075093fa..1dda12f2a71d 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -36601,53 +35965,45 @@ index 38e1075093fa..1dda12f2a71d 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- OS_LIBS += [ -- "unwind" +- CXXFLAGS += [ +- "-msse2" - ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": -- - CXXFLAGS += [ - "-msse2" - ] - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - -- CXXFLAGS += [ -- "-msse2" -- ] -+if CONFIG["TARGET_CPU"] == "x86_64": +- + CXXFLAGS += [ + "-msse2" + ] +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("media_constants_gn") diff --git third_party/libwebrtc/media/media_engine_gn/moz.build third_party/libwebrtc/media/media_engine_gn/moz.build -index 20c2853bfc82..696f3b2819c5 100644 +index f7a6f8714d3e..d086491ddaa2 100644 --- third_party/libwebrtc/media/media_engine_gn/moz.build +++ third_party/libwebrtc/media/media_engine_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -36663,12 +36019,13 @@ index 20c2853bfc82..696f3b2819c5 100644 +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" -@@ -40,124 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,99 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -36676,13 +36033,14 @@ index 20c2853bfc82..696f3b2819c5 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -36695,8 +36053,6 @@ index 20c2853bfc82..696f3b2819c5 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -36704,12 +36060,12 @@ index 20c2853bfc82..696f3b2819c5 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -36723,7 +36079,6 @@ index 20c2853bfc82..696f3b2819c5 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -36747,6 +36102,7 @@ index 20c2853bfc82..696f3b2819c5 100644 - 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 @@ -36757,6 +36113,7 @@ index 20c2853bfc82..696f3b2819c5 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -36769,8 +36126,9 @@ index 20c2853bfc82..696f3b2819c5 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -141,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -36784,17 +36142,19 @@ index 20c2853bfc82..696f3b2819c5 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -167,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -171,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -36818,39 +36178,32 @@ index 20c2853bfc82..696f3b2819c5 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("media_engine_gn") diff --git third_party/libwebrtc/media/rid_description_gn/moz.build third_party/libwebrtc/media/rid_description_gn/moz.build -index 261b0bda5871..6fae71d28c23 100644 +index 350d2d42a27a..bd2d2d1a3c1d 100644 --- third_party/libwebrtc/media/rid_description_gn/moz.build +++ third_party/libwebrtc/media/rid_description_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -36866,12 +36219,13 @@ index 261b0bda5871..6fae71d28c23 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -36879,13 +36233,14 @@ index 261b0bda5871..6fae71d28c23 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -36897,8 +36252,6 @@ index 261b0bda5871..6fae71d28c23 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -36906,12 +36259,12 @@ index 261b0bda5871..6fae71d28c23 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -36925,7 +36278,6 @@ index 261b0bda5871..6fae71d28c23 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -36949,6 +36301,7 @@ index 261b0bda5871..6fae71d28c23 100644 - 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 @@ -36959,6 +36312,7 @@ index 261b0bda5871..6fae71d28c23 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -36971,8 +36325,9 @@ index 261b0bda5871..6fae71d28c23 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -36990,12 +36345,14 @@ index 261b0bda5871..6fae71d28c23 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -37026,16 +36383,6 @@ index 261b0bda5871..6fae71d28c23 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -37044,35 +36391,37 @@ index 261b0bda5871..6fae71d28c23 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rid_description_gn") diff --git third_party/libwebrtc/media/rtc_audio_video_gn/moz.build third_party/libwebrtc/media/rtc_audio_video_gn/moz.build -index 6a4544f54efa..8d0d58c29bd7 100644 +index 8b2173e83a8d..53bcc77e6c67 100644 --- third_party/libwebrtc/media/rtc_audio_video_gn/moz.build +++ third_party/libwebrtc/media/rtc_audio_video_gn/moz.build -@@ -14,11 +14,20 @@ DEFINES["HAVE_WEBRTC_VIDEO"] = True +@@ -14,12 +14,21 @@ 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 @@ -37088,12 +36437,13 @@ index 6a4544f54efa..8d0d58c29bd7 100644 +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" -@@ -46,195 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,103 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -37101,13 +36451,14 @@ index 6a4544f54efa..8d0d58c29bd7 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -37120,8 +36471,6 @@ index 6a4544f54efa..8d0d58c29bd7 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -37129,12 +36478,12 @@ index 6a4544f54efa..8d0d58c29bd7 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -37148,7 +36497,6 @@ index 6a4544f54efa..8d0d58c29bd7 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -37172,6 +36520,7 @@ index 6a4544f54efa..8d0d58c29bd7 100644 - 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 @@ -37182,6 +36531,7 @@ index 6a4544f54efa..8d0d58c29bd7 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -37198,8 +36548,9 @@ index 6a4544f54efa..8d0d58c29bd7 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -151,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -37217,12 +36568,14 @@ index 6a4544f54efa..8d0d58c29bd7 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -37253,16 +36606,6 @@ index 6a4544f54efa..8d0d58c29bd7 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -37271,35 +36614,37 @@ index 6a4544f54efa..8d0d58c29bd7 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rtc_audio_video_gn") diff --git third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build -index e80128aecdeb..77526b138660 100644 +index 3683d691b678..1f529f42bdc0 100644 --- third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build +++ third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build -@@ -14,11 +14,20 @@ DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" +@@ -14,12 +14,21 @@ 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 @@ -37315,12 +36660,13 @@ index e80128aecdeb..77526b138660 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,191 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,99 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -37328,13 +36674,14 @@ index e80128aecdeb..77526b138660 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -37347,8 +36694,6 @@ index e80128aecdeb..77526b138660 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -37356,12 +36701,12 @@ index e80128aecdeb..77526b138660 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -37375,7 +36720,6 @@ index e80128aecdeb..77526b138660 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -37399,6 +36743,7 @@ index e80128aecdeb..77526b138660 100644 - 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 @@ -37409,6 +36754,7 @@ index e80128aecdeb..77526b138660 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -37421,8 +36767,9 @@ index e80128aecdeb..77526b138660 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -146,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -37440,12 +36787,14 @@ index e80128aecdeb..77526b138660 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -37476,16 +36825,6 @@ index e80128aecdeb..77526b138660 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -37494,35 +36833,37 @@ index e80128aecdeb..77526b138660 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rtc_internal_video_codecs_gn") diff --git third_party/libwebrtc/media/rtc_media_base_gn/moz.build third_party/libwebrtc/media/rtc_media_base_gn/moz.build -index 58c4f572fa11..7e7ca1cbab42 100644 +index b27437382904..578bc0b80472 100644 --- third_party/libwebrtc/media/rtc_media_base_gn/moz.build +++ third_party/libwebrtc/media/rtc_media_base_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -37538,12 +36879,13 @@ index 58c4f572fa11..7e7ca1cbab42 100644 +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" -@@ -40,124 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,99 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -37551,13 +36893,14 @@ index 58c4f572fa11..7e7ca1cbab42 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -37570,8 +36913,6 @@ index 58c4f572fa11..7e7ca1cbab42 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -37579,12 +36920,12 @@ index 58c4f572fa11..7e7ca1cbab42 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -37598,7 +36939,6 @@ index 58c4f572fa11..7e7ca1cbab42 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -37622,6 +36962,7 @@ index 58c4f572fa11..7e7ca1cbab42 100644 - 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 @@ -37632,6 +36973,7 @@ index 58c4f572fa11..7e7ca1cbab42 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -37644,8 +36986,9 @@ index 58c4f572fa11..7e7ca1cbab42 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -141,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -37659,17 +37002,19 @@ index 58c4f572fa11..7e7ca1cbab42 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -167,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -171,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -37693,39 +37038,32 @@ index 58c4f572fa11..7e7ca1cbab42 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("rtc_media_base_gn") diff --git third_party/libwebrtc/media/rtc_media_config_gn/moz.build third_party/libwebrtc/media/rtc_media_config_gn/moz.build -index 42d0c4a66949..c50b94a79309 100644 +index faf48db2d276..5fc7599bde08 100644 --- third_party/libwebrtc/media/rtc_media_config_gn/moz.build +++ third_party/libwebrtc/media/rtc_media_config_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -37741,12 +37079,13 @@ index 42d0c4a66949..c50b94a79309 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -37754,13 +37093,14 @@ index 42d0c4a66949..c50b94a79309 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -37768,8 +37108,6 @@ index 42d0c4a66949..c50b94a79309 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -37777,12 +37115,12 @@ index 42d0c4a66949..c50b94a79309 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -37792,7 +37130,6 @@ index 42d0c4a66949..c50b94a79309 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -37816,6 +37153,7 @@ index 42d0c4a66949..c50b94a79309 100644 - 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 @@ -37826,13 +37164,15 @@ index 42d0c4a66949..c50b94a79309 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -37846,17 +37186,19 @@ index 42d0c4a66949..c50b94a79309 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -37880,39 +37222,32 @@ index 42d0c4a66949..c50b94a79309 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("rtc_media_config_gn") diff --git third_party/libwebrtc/media/rtc_media_gn/moz.build third_party/libwebrtc/media/rtc_media_gn/moz.build -index 090c3083a914..f84a9e395510 100644 +index 1b7b6de7915a..1aff1b07aa5f 100644 --- third_party/libwebrtc/media/rtc_media_gn/moz.build +++ third_party/libwebrtc/media/rtc_media_gn/moz.build -@@ -14,11 +14,20 @@ DEFINES["HAVE_WEBRTC_VIDEO"] = True +@@ -14,12 +14,21 @@ 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 @@ -37928,12 +37263,13 @@ index 090c3083a914..f84a9e395510 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -41,128 +50,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -42,103 +51,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -37941,13 +37277,14 @@ index 090c3083a914..f84a9e395510 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -37960,8 +37297,6 @@ index 090c3083a914..f84a9e395510 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -37969,12 +37304,12 @@ index 090c3083a914..f84a9e395510 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -37988,7 +37323,6 @@ index 090c3083a914..f84a9e395510 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -38012,6 +37346,7 @@ index 090c3083a914..f84a9e395510 100644 - 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 @@ -38022,6 +37357,7 @@ index 090c3083a914..f84a9e395510 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -38038,8 +37374,9 @@ index 090c3083a914..f84a9e395510 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -146,27 +59,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -38053,17 +37390,19 @@ index 090c3083a914..f84a9e395510 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -172,50 +70,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -176,44 +72,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -38087,39 +37426,32 @@ index 090c3083a914..f84a9e395510 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("rtc_media_gn") diff --git third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build -index c7f11f712222..581f825bfb68 100644 +index 057c31cdd32d..855d7dba3fed 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -38135,12 +37467,13 @@ index c7f11f712222..581f825bfb68 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -38148,13 +37481,14 @@ index c7f11f712222..581f825bfb68 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -38166,8 +37500,6 @@ index c7f11f712222..581f825bfb68 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -38175,12 +37507,12 @@ index c7f11f712222..581f825bfb68 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -38194,7 +37526,6 @@ index c7f11f712222..581f825bfb68 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -38218,6 +37549,7 @@ index c7f11f712222..581f825bfb68 100644 - 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 @@ -38228,6 +37560,7 @@ index c7f11f712222..581f825bfb68 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -38240,8 +37573,9 @@ index c7f11f712222..581f825bfb68 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -38259,12 +37593,14 @@ index c7f11f712222..581f825bfb68 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -38295,16 +37631,6 @@ index c7f11f712222..581f825bfb68 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -38313,35 +37639,37 @@ index c7f11f712222..581f825bfb68 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rtc_sdp_video_format_utils_gn") diff --git third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build -index cb9bed23cb55..fe76cd431ff6 100644 +index eda06ab0f069..e216a7d8756f 100644 --- third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build +++ third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -38357,12 +37685,13 @@ index cb9bed23cb55..fe76cd431ff6 100644 +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" -@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -38370,13 +37699,14 @@ index cb9bed23cb55..fe76cd431ff6 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -38389,8 +37719,6 @@ index cb9bed23cb55..fe76cd431ff6 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -38398,12 +37726,12 @@ index cb9bed23cb55..fe76cd431ff6 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -38417,7 +37745,6 @@ index cb9bed23cb55..fe76cd431ff6 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -38441,6 +37768,7 @@ index cb9bed23cb55..fe76cd431ff6 100644 - 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 @@ -38451,6 +37779,7 @@ index cb9bed23cb55..fe76cd431ff6 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -38463,8 +37792,9 @@ index cb9bed23cb55..fe76cd431ff6 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -38482,12 +37812,14 @@ index cb9bed23cb55..fe76cd431ff6 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -38518,16 +37850,6 @@ index cb9bed23cb55..fe76cd431ff6 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -38536,35 +37858,37 @@ index cb9bed23cb55..fe76cd431ff6 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rtc_simulcast_encoder_adapter_gn") diff --git third_party/libwebrtc/media/rtp_utils_gn/moz.build third_party/libwebrtc/media/rtp_utils_gn/moz.build -index 27f94a49fa4b..8d2edadb7d0e 100644 +index c4bc1c695159..93aef89a254f 100644 --- third_party/libwebrtc/media/rtp_utils_gn/moz.build +++ third_party/libwebrtc/media/rtp_utils_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -38580,12 +37904,13 @@ index 27f94a49fa4b..8d2edadb7d0e 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -38593,13 +37918,14 @@ index 27f94a49fa4b..8d2edadb7d0e 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -38607,8 +37933,6 @@ index 27f94a49fa4b..8d2edadb7d0e 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -38616,12 +37940,12 @@ index 27f94a49fa4b..8d2edadb7d0e 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -38631,7 +37955,6 @@ index 27f94a49fa4b..8d2edadb7d0e 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -38655,6 +37978,7 @@ index 27f94a49fa4b..8d2edadb7d0e 100644 - 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 @@ -38665,13 +37989,15 @@ index 27f94a49fa4b..8d2edadb7d0e 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -38685,17 +38011,19 @@ index 27f94a49fa4b..8d2edadb7d0e 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -38719,39 +38047,32 @@ index 27f94a49fa4b..8d2edadb7d0e 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("rtp_utils_gn") diff --git third_party/libwebrtc/media/stream_params_gn/moz.build third_party/libwebrtc/media/stream_params_gn/moz.build -index c65d7a53ed46..ef3886295fed 100644 +index aab98c22b490..793b552f52c4 100644 --- third_party/libwebrtc/media/stream_params_gn/moz.build +++ third_party/libwebrtc/media/stream_params_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -38767,12 +38088,13 @@ index c65d7a53ed46..ef3886295fed 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -38780,13 +38102,14 @@ index c65d7a53ed46..ef3886295fed 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -38794,8 +38117,6 @@ index c65d7a53ed46..ef3886295fed 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -38803,12 +38124,12 @@ index c65d7a53ed46..ef3886295fed 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -38818,7 +38139,6 @@ index c65d7a53ed46..ef3886295fed 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -38842,6 +38162,7 @@ index c65d7a53ed46..ef3886295fed 100644 - 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 @@ -38852,13 +38173,15 @@ index c65d7a53ed46..ef3886295fed 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -38872,17 +38195,19 @@ index c65d7a53ed46..ef3886295fed 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -38906,39 +38231,32 @@ index c65d7a53ed46..ef3886295fed 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("stream_params_gn") diff --git third_party/libwebrtc/media/video_adapter_gn/moz.build third_party/libwebrtc/media/video_adapter_gn/moz.build -index 73346f1acb9d..4e50253cb413 100644 +index 51b78b36338c..05509afcdd12 100644 --- third_party/libwebrtc/media/video_adapter_gn/moz.build +++ third_party/libwebrtc/media/video_adapter_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -38954,12 +38272,13 @@ index 73346f1acb9d..4e50253cb413 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -38967,13 +38286,14 @@ index 73346f1acb9d..4e50253cb413 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -38985,8 +38305,6 @@ index 73346f1acb9d..4e50253cb413 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -38994,12 +38312,12 @@ index 73346f1acb9d..4e50253cb413 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -39013,7 +38331,6 @@ index 73346f1acb9d..4e50253cb413 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -39037,6 +38354,7 @@ index 73346f1acb9d..4e50253cb413 100644 - 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 @@ -39047,6 +38365,7 @@ index 73346f1acb9d..4e50253cb413 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -39059,8 +38378,9 @@ index 73346f1acb9d..4e50253cb413 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -39078,12 +38398,14 @@ index 73346f1acb9d..4e50253cb413 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -39114,16 +38436,6 @@ index 73346f1acb9d..4e50253cb413 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -39132,35 +38444,37 @@ index 73346f1acb9d..4e50253cb413 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("video_adapter_gn") diff --git third_party/libwebrtc/media/video_broadcaster_gn/moz.build third_party/libwebrtc/media/video_broadcaster_gn/moz.build -index 3d33f289d9a2..52b7067da392 100644 +index 0e00a392b816..eeba7ecec130 100644 --- third_party/libwebrtc/media/video_broadcaster_gn/moz.build +++ third_party/libwebrtc/media/video_broadcaster_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -39176,12 +38490,13 @@ index 3d33f289d9a2..52b7067da392 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -39189,13 +38504,14 @@ index 3d33f289d9a2..52b7067da392 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -39207,8 +38523,6 @@ index 3d33f289d9a2..52b7067da392 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -39216,12 +38530,12 @@ index 3d33f289d9a2..52b7067da392 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -39231,7 +38545,6 @@ index 3d33f289d9a2..52b7067da392 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -39255,6 +38568,7 @@ index 3d33f289d9a2..52b7067da392 100644 - 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 @@ -39265,6 +38579,7 @@ index 3d33f289d9a2..52b7067da392 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -39277,8 +38592,9 @@ index 3d33f289d9a2..52b7067da392 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -39296,12 +38612,14 @@ index 3d33f289d9a2..52b7067da392 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -39332,16 +38650,6 @@ index 3d33f289d9a2..52b7067da392 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -39350,35 +38658,37 @@ index 3d33f289d9a2..52b7067da392 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("video_broadcaster_gn") diff --git third_party/libwebrtc/media/video_common_gn/moz.build third_party/libwebrtc/media/video_common_gn/moz.build -index 3423c19bd60e..03bd0dd5e648 100644 +index ceaf76133561..7a08c0558dee 100644 --- third_party/libwebrtc/media/video_common_gn/moz.build +++ third_party/libwebrtc/media/video_common_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -39394,12 +38704,13 @@ index 3423c19bd60e..03bd0dd5e648 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -39407,13 +38718,14 @@ index 3423c19bd60e..03bd0dd5e648 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -39425,8 +38737,6 @@ index 3423c19bd60e..03bd0dd5e648 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -39434,12 +38744,12 @@ index 3423c19bd60e..03bd0dd5e648 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -39449,7 +38759,6 @@ index 3423c19bd60e..03bd0dd5e648 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -39473,6 +38782,7 @@ index 3423c19bd60e..03bd0dd5e648 100644 - 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 @@ -39483,6 +38793,7 @@ index 3423c19bd60e..03bd0dd5e648 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -39495,8 +38806,9 @@ index 3423c19bd60e..03bd0dd5e648 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -39514,12 +38826,14 @@ index 3423c19bd60e..03bd0dd5e648 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -39550,16 +38864,6 @@ index 3423c19bd60e..03bd0dd5e648 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -39568,35 +38872,37 @@ index 3423c19bd60e..03bd0dd5e648 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("video_common_gn") diff --git third_party/libwebrtc/media/video_source_base_gn/moz.build third_party/libwebrtc/media/video_source_base_gn/moz.build -index 8bfea357cdbb..2f9861d6c38a 100644 +index f2ffa47c5bb7..57344305c0c1 100644 --- third_party/libwebrtc/media/video_source_base_gn/moz.build +++ third_party/libwebrtc/media/video_source_base_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -39612,12 +38918,13 @@ index 8bfea357cdbb..2f9861d6c38a 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -39625,13 +38932,14 @@ index 8bfea357cdbb..2f9861d6c38a 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -39643,8 +38951,6 @@ index 8bfea357cdbb..2f9861d6c38a 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -39652,12 +38958,12 @@ index 8bfea357cdbb..2f9861d6c38a 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -39667,7 +38973,6 @@ index 8bfea357cdbb..2f9861d6c38a 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -39691,6 +38996,7 @@ index 8bfea357cdbb..2f9861d6c38a 100644 - 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 @@ -39701,6 +39007,7 @@ index 8bfea357cdbb..2f9861d6c38a 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -39713,8 +39020,9 @@ index 8bfea357cdbb..2f9861d6c38a 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -39732,12 +39040,14 @@ index 8bfea357cdbb..2f9861d6c38a 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -39768,16 +39078,6 @@ index 8bfea357cdbb..2f9861d6c38a 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -39786,35 +39086,37 @@ index 8bfea357cdbb..2f9861d6c38a 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("video_source_base_gn") diff --git third_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build third_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build -index df4aa2f2cf44..03f4a4610a90 100644 +index 3536fc5173ad..b9b14d294f9a 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -39830,12 +39132,13 @@ index df4aa2f2cf44..03f4a4610a90 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -39843,13 +39146,14 @@ index df4aa2f2cf44..03f4a4610a90 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -39861,8 +39165,6 @@ index df4aa2f2cf44..03f4a4610a90 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -39870,12 +39172,12 @@ index df4aa2f2cf44..03f4a4610a90 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -39885,7 +39187,6 @@ index df4aa2f2cf44..03f4a4610a90 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -39909,6 +39210,7 @@ index df4aa2f2cf44..03f4a4610a90 100644 - 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 @@ -39919,6 +39221,7 @@ index df4aa2f2cf44..03f4a4610a90 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -39931,8 +39234,9 @@ index df4aa2f2cf44..03f4a4610a90 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -39950,12 +39254,14 @@ index df4aa2f2cf44..03f4a4610a90 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -39986,16 +39292,6 @@ index df4aa2f2cf44..03f4a4610a90 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -40004,35 +39300,37 @@ index df4aa2f2cf44..03f4a4610a90 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("async_audio_processing_gn") diff --git third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build -index 7ced6b2f5e9a..0dcf2ab3da45 100644 +index 9d1463f15180..2f4b795ddfdb 100644 --- third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -40048,12 +39346,13 @@ index 7ced6b2f5e9a..0dcf2ab3da45 100644 +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,190 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -40061,13 +39360,14 @@ index 7ced6b2f5e9a..0dcf2ab3da45 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -40079,8 +39379,6 @@ index 7ced6b2f5e9a..0dcf2ab3da45 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -40088,12 +39386,12 @@ index 7ced6b2f5e9a..0dcf2ab3da45 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -40107,7 +39405,6 @@ index 7ced6b2f5e9a..0dcf2ab3da45 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -40131,6 +39428,7 @@ index 7ced6b2f5e9a..0dcf2ab3da45 100644 - 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 @@ -40141,6 +39439,7 @@ index 7ced6b2f5e9a..0dcf2ab3da45 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -40153,8 +39452,9 @@ index 7ced6b2f5e9a..0dcf2ab3da45 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -147,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -40172,12 +39472,14 @@ index 7ced6b2f5e9a..0dcf2ab3da45 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -40208,16 +39510,6 @@ index 7ced6b2f5e9a..0dcf2ab3da45 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -40226,35 +39518,37 @@ index 7ced6b2f5e9a..0dcf2ab3da45 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("audio_coding_gn") diff --git third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build -index ba94b42663e7..18b923fd01d7 100644 +index 816a96a40d65..54e2c008eae3 100644 --- third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -40270,12 +39564,13 @@ index ba94b42663e7..18b923fd01d7 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -40283,13 +39578,14 @@ index ba94b42663e7..18b923fd01d7 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -40297,8 +39593,6 @@ index ba94b42663e7..18b923fd01d7 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -40306,12 +39600,12 @@ index ba94b42663e7..18b923fd01d7 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -40321,7 +39615,6 @@ index ba94b42663e7..18b923fd01d7 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -40345,6 +39638,7 @@ index ba94b42663e7..18b923fd01d7 100644 - 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 @@ -40355,13 +39649,15 @@ index ba94b42663e7..18b923fd01d7 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -40375,17 +39671,19 @@ index ba94b42663e7..18b923fd01d7 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -40409,39 +39707,32 @@ index ba94b42663e7..18b923fd01d7 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("audio_coding_module_typedefs_gn") diff --git third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build -index 97cc40655047..60a140cf508e 100644 +index 593b744a33d6..33fd22c702f9 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -40457,12 +39748,13 @@ index 97cc40655047..60a140cf508e 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -40470,13 +39762,14 @@ index 97cc40655047..60a140cf508e 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -40488,8 +39781,6 @@ index 97cc40655047..60a140cf508e 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -40497,12 +39788,12 @@ index 97cc40655047..60a140cf508e 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -40516,7 +39807,6 @@ index 97cc40655047..60a140cf508e 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -40540,6 +39830,7 @@ index 97cc40655047..60a140cf508e 100644 - 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 @@ -40550,6 +39841,7 @@ index 97cc40655047..60a140cf508e 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -40562,8 +39854,9 @@ index 97cc40655047..60a140cf508e 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -40581,12 +39874,14 @@ index 97cc40655047..60a140cf508e 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -40617,16 +39912,6 @@ index 97cc40655047..60a140cf508e 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -40635,35 +39920,37 @@ index 97cc40655047..60a140cf508e 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("audio_coding_opus_common_gn") diff --git third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build -index 517f1c385402..a90873f05e5f 100644 +index 4261145d7564..4b6330407030 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -40679,12 +39966,13 @@ index 517f1c385402..a90873f05e5f 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -40692,13 +39980,14 @@ index 517f1c385402..a90873f05e5f 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -40710,8 +39999,6 @@ index 517f1c385402..a90873f05e5f 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -40719,12 +40006,12 @@ index 517f1c385402..a90873f05e5f 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -40738,7 +40025,6 @@ index 517f1c385402..a90873f05e5f 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -40762,6 +40048,7 @@ index 517f1c385402..a90873f05e5f 100644 - 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 @@ -40772,6 +40059,7 @@ index 517f1c385402..a90873f05e5f 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -40784,8 +40072,9 @@ index 517f1c385402..a90873f05e5f 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -40803,12 +40092,14 @@ index 517f1c385402..a90873f05e5f 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -40839,16 +40130,6 @@ index 517f1c385402..a90873f05e5f 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -40857,35 +40138,37 @@ index 517f1c385402..a90873f05e5f 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("audio_encoder_cng_gn") diff --git third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build -index 0551767ad41e..d59a3765cd70 100644 +index 878cbd08fcc4..55fbc250e1bb 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -40901,12 +40184,13 @@ index 0551767ad41e..d59a3765cd70 100644 +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" -@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -40914,13 +40198,14 @@ index 0551767ad41e..d59a3765cd70 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -40928,8 +40213,6 @@ index 0551767ad41e..d59a3765cd70 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -40937,12 +40220,12 @@ index 0551767ad41e..d59a3765cd70 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -40952,7 +40235,6 @@ index 0551767ad41e..d59a3765cd70 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -40976,6 +40258,7 @@ index 0551767ad41e..d59a3765cd70 100644 - 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 @@ -40986,13 +40269,15 @@ index 0551767ad41e..d59a3765cd70 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -41010,12 +40295,14 @@ index 0551767ad41e..d59a3765cd70 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -41046,53 +40333,45 @@ index 0551767ad41e..d59a3765cd70 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- OS_LIBS += [ -- "unwind" +- CXXFLAGS += [ +- "-msse2" - ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": -- - CXXFLAGS += [ - "-msse2" - ] - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - -- CXXFLAGS += [ -- "-msse2" -- ] -+if CONFIG["TARGET_CPU"] == "x86_64": +- + CXXFLAGS += [ + "-msse2" + ] +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("audio_network_adaptor_config_gn") diff --git third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build -index e67a684aaf53..7919faa59988 100644 +index 0ec1c64427d5..0fdce86ea688 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -41108,12 +40387,13 @@ index e67a684aaf53..7919faa59988 100644 +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" -@@ -54,190 +63,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -55,98 +64,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -41121,13 +40401,14 @@ index e67a684aaf53..7919faa59988 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -41139,8 +40420,6 @@ index e67a684aaf53..7919faa59988 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -41148,12 +40427,12 @@ index e67a684aaf53..7919faa59988 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -41167,7 +40446,6 @@ index e67a684aaf53..7919faa59988 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -41191,6 +40469,7 @@ index e67a684aaf53..7919faa59988 100644 - 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 @@ -41201,6 +40480,7 @@ index e67a684aaf53..7919faa59988 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -41213,8 +40493,9 @@ index e67a684aaf53..7919faa59988 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -154,88 +72,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -41232,12 +40513,14 @@ index e67a684aaf53..7919faa59988 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -41268,16 +40551,6 @@ index e67a684aaf53..7919faa59988 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -41286,35 +40559,37 @@ index e67a684aaf53..7919faa59988 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("audio_network_adaptor_gn") diff --git third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build -index dedcda5d379f..7381cf2820f4 100644 +index d2eac9dd7330..44fc7a13aa41 100644 --- third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -41330,12 +40605,13 @@ index dedcda5d379f..7381cf2820f4 100644 +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" -@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -41343,13 +40619,14 @@ index dedcda5d379f..7381cf2820f4 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -41357,8 +40634,6 @@ index dedcda5d379f..7381cf2820f4 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -41366,12 +40641,12 @@ index dedcda5d379f..7381cf2820f4 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -41381,7 +40656,6 @@ index dedcda5d379f..7381cf2820f4 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -41405,6 +40679,7 @@ index dedcda5d379f..7381cf2820f4 100644 - 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 @@ -41415,13 +40690,15 @@ index dedcda5d379f..7381cf2820f4 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -41439,12 +40716,14 @@ index dedcda5d379f..7381cf2820f4 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -41475,53 +40754,45 @@ index dedcda5d379f..7381cf2820f4 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- OS_LIBS += [ -- "unwind" +- CFLAGS += [ +- "-msse2" - ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": -- - CFLAGS += [ - "-msse2" - ] - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - -- CFLAGS += [ -- "-msse2" -- ] -+if CONFIG["TARGET_CPU"] == "x86_64": +- + CFLAGS += [ + "-msse2" + ] +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("g711_c_gn") diff --git third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build -index 2c584de09fdc..46fe5e5d3952 100644 +index 2c887ccaead1..d75c60517c87 100644 --- third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -41537,12 +40808,13 @@ index 2c584de09fdc..46fe5e5d3952 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -41550,13 +40822,14 @@ index 2c584de09fdc..46fe5e5d3952 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -41568,8 +40841,6 @@ index 2c584de09fdc..46fe5e5d3952 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -41577,12 +40848,12 @@ index 2c584de09fdc..46fe5e5d3952 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -41596,7 +40867,6 @@ index 2c584de09fdc..46fe5e5d3952 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -41620,6 +40890,7 @@ index 2c584de09fdc..46fe5e5d3952 100644 - 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 @@ -41630,6 +40901,7 @@ index 2c584de09fdc..46fe5e5d3952 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -41642,8 +40914,9 @@ index 2c584de09fdc..46fe5e5d3952 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -41661,12 +40934,14 @@ index 2c584de09fdc..46fe5e5d3952 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -41697,16 +40972,6 @@ index 2c584de09fdc..46fe5e5d3952 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -41715,35 +40980,37 @@ index 2c584de09fdc..46fe5e5d3952 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("g711_gn") diff --git third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build -index 7af4da2823b9..08ab446a0a88 100644 +index ab61ec987bf3..142691eb22ac 100644 --- third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -41759,12 +41026,13 @@ index 7af4da2823b9..08ab446a0a88 100644 +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" -@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -41772,13 +41040,14 @@ index 7af4da2823b9..08ab446a0a88 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -41786,8 +41055,6 @@ index 7af4da2823b9..08ab446a0a88 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -41795,12 +41062,12 @@ index 7af4da2823b9..08ab446a0a88 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -41810,7 +41077,6 @@ index 7af4da2823b9..08ab446a0a88 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -41834,6 +41100,7 @@ index 7af4da2823b9..08ab446a0a88 100644 - 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 @@ -41844,13 +41111,15 @@ index 7af4da2823b9..08ab446a0a88 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -41868,12 +41137,14 @@ index 7af4da2823b9..08ab446a0a88 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -41904,53 +41175,45 @@ index 7af4da2823b9..08ab446a0a88 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- OS_LIBS += [ -- "unwind" +- CFLAGS += [ +- "-msse2" - ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": -- - CFLAGS += [ - "-msse2" - ] - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - -- CFLAGS += [ -- "-msse2" -- ] -+if CONFIG["TARGET_CPU"] == "x86_64": +- + CFLAGS += [ + "-msse2" + ] +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("g722_c_gn") diff --git third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build -index 6321b7777d4d..2fdbaa878fc1 100644 +index 75d59a02d75a..1748ca8600f9 100644 --- third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -41966,12 +41229,13 @@ index 6321b7777d4d..2fdbaa878fc1 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -41979,13 +41243,14 @@ index 6321b7777d4d..2fdbaa878fc1 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -41997,8 +41262,6 @@ index 6321b7777d4d..2fdbaa878fc1 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -42006,12 +41269,12 @@ index 6321b7777d4d..2fdbaa878fc1 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -42025,7 +41288,6 @@ index 6321b7777d4d..2fdbaa878fc1 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -42049,6 +41311,7 @@ index 6321b7777d4d..2fdbaa878fc1 100644 - 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 @@ -42059,6 +41322,7 @@ index 6321b7777d4d..2fdbaa878fc1 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -42071,8 +41335,9 @@ index 6321b7777d4d..2fdbaa878fc1 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -42090,12 +41355,14 @@ index 6321b7777d4d..2fdbaa878fc1 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -42126,16 +41393,6 @@ index 6321b7777d4d..2fdbaa878fc1 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -42144,35 +41401,37 @@ index 6321b7777d4d..2fdbaa878fc1 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("g722_gn") diff --git third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build -index 8337bf3634c6..ac6b63091c79 100644 +index 78ef11bfbe8e..8fdf79a4d56e 100644 --- third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -42188,12 +41447,13 @@ index 8337bf3634c6..ac6b63091c79 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -42201,13 +41461,14 @@ index 8337bf3634c6..ac6b63091c79 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -42215,8 +41476,6 @@ index 8337bf3634c6..ac6b63091c79 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -42224,12 +41483,12 @@ index 8337bf3634c6..ac6b63091c79 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -42239,7 +41498,6 @@ index 8337bf3634c6..ac6b63091c79 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -42263,6 +41521,7 @@ index 8337bf3634c6..ac6b63091c79 100644 - 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 @@ -42273,13 +41532,15 @@ index 8337bf3634c6..ac6b63091c79 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -42293,17 +41554,19 @@ index 8337bf3634c6..ac6b63091c79 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -42327,39 +41590,32 @@ index 8337bf3634c6..ac6b63091c79 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("isac_bwinfo_gn") diff --git third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build -index ea88c1d8f583..57e8546bdbf4 100644 +index 6b32d8117274..55965a014dd1 100644 --- third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -42375,12 +41631,13 @@ index ea88c1d8f583..57e8546bdbf4 100644 +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,175 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,83 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -42388,13 +41645,14 @@ index ea88c1d8f583..57e8546bdbf4 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -42402,8 +41660,6 @@ index ea88c1d8f583..57e8546bdbf4 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -42411,12 +41667,12 @@ index ea88c1d8f583..57e8546bdbf4 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -42426,7 +41682,6 @@ index ea88c1d8f583..57e8546bdbf4 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -42450,6 +41705,7 @@ index ea88c1d8f583..57e8546bdbf4 100644 - 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 @@ -42460,13 +41716,15 @@ index ea88c1d8f583..57e8546bdbf4 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -132,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -42484,12 +41742,14 @@ index ea88c1d8f583..57e8546bdbf4 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -42520,53 +41780,45 @@ index ea88c1d8f583..57e8546bdbf4 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- OS_LIBS += [ -- "unwind" +- CFLAGS += [ +- "-msse2" - ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": -- - CFLAGS += [ - "-msse2" - ] - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - -- CFLAGS += [ -- "-msse2" -- ] -+if CONFIG["TARGET_CPU"] == "x86_64": +- + CFLAGS += [ + "-msse2" + ] +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("isac_vad_gn") diff --git third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build -index 1e9e47a15148..747b4ac34f8c 100644 +index af7909757b22..d9f39d9a45ed 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -42582,12 +41834,13 @@ index 1e9e47a15148..747b4ac34f8c 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -42595,13 +41848,14 @@ index 1e9e47a15148..747b4ac34f8c 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -42613,8 +41867,6 @@ index 1e9e47a15148..747b4ac34f8c 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -42622,12 +41874,12 @@ index 1e9e47a15148..747b4ac34f8c 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -42641,7 +41893,6 @@ index 1e9e47a15148..747b4ac34f8c 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -42665,6 +41916,7 @@ index 1e9e47a15148..747b4ac34f8c 100644 - 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 @@ -42675,6 +41927,7 @@ index 1e9e47a15148..747b4ac34f8c 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -42687,8 +41940,9 @@ index 1e9e47a15148..747b4ac34f8c 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -42706,12 +41960,14 @@ index 1e9e47a15148..747b4ac34f8c 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -42742,16 +41998,6 @@ index 1e9e47a15148..747b4ac34f8c 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -42760,35 +42006,37 @@ index 1e9e47a15148..747b4ac34f8c 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("legacy_encoded_audio_frame_gn") diff --git third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build -index 2551d1916e01..87a4113e6abf 100644 +index 56fec5759795..3d61bb5537ae 100644 --- third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -42804,12 +42052,13 @@ index 2551d1916e01..87a4113e6abf 100644 +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" -@@ -79,190 +88,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -80,98 +89,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -42817,13 +42066,14 @@ index 2551d1916e01..87a4113e6abf 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -42835,8 +42085,6 @@ index 2551d1916e01..87a4113e6abf 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -42844,12 +42092,12 @@ index 2551d1916e01..87a4113e6abf 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -42863,7 +42111,6 @@ index 2551d1916e01..87a4113e6abf 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -42887,6 +42134,7 @@ index 2551d1916e01..87a4113e6abf 100644 - 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 @@ -42897,6 +42145,7 @@ index 2551d1916e01..87a4113e6abf 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -42909,8 +42158,9 @@ index 2551d1916e01..87a4113e6abf 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -179,88 +97,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -42928,12 +42178,14 @@ index 2551d1916e01..87a4113e6abf 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -42964,16 +42216,6 @@ index 2551d1916e01..87a4113e6abf 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -42982,35 +42224,37 @@ index 2551d1916e01..87a4113e6abf 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("neteq_gn") diff --git third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build -index d9334cabeb19..030e4a70ff28 100644 +index d922de5d5785..281897e1fe56 100644 --- third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -43026,12 +42270,13 @@ index d9334cabeb19..030e4a70ff28 100644 +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" -@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -43039,13 +42284,14 @@ index d9334cabeb19..030e4a70ff28 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -43053,8 +42299,6 @@ index d9334cabeb19..030e4a70ff28 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -43062,12 +42306,12 @@ index d9334cabeb19..030e4a70ff28 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -43077,7 +42321,6 @@ index d9334cabeb19..030e4a70ff28 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -43101,6 +42344,7 @@ index d9334cabeb19..030e4a70ff28 100644 - 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 @@ -43111,13 +42355,15 @@ index d9334cabeb19..030e4a70ff28 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -43135,12 +42381,14 @@ index d9334cabeb19..030e4a70ff28 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -43171,53 +42419,45 @@ index d9334cabeb19..030e4a70ff28 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- OS_LIBS += [ -- "unwind" +- CFLAGS += [ +- "-msse2" - ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": -- - CFLAGS += [ - "-msse2" - ] - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - -- CFLAGS += [ -- "-msse2" -- ] -+if CONFIG["TARGET_CPU"] == "x86_64": +- + CFLAGS += [ + "-msse2" + ] +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("pcm16b_c_gn") diff --git third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build -index b275ffc48c17..c552b27c5ff3 100644 +index bea755eb5ac1..b191330ced98 100644 --- third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -43233,12 +42473,13 @@ index b275ffc48c17..c552b27c5ff3 100644 +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" -@@ -46,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -43246,13 +42487,14 @@ index b275ffc48c17..c552b27c5ff3 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -43264,8 +42506,6 @@ index b275ffc48c17..c552b27c5ff3 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -43273,12 +42513,12 @@ index b275ffc48c17..c552b27c5ff3 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -43292,7 +42532,6 @@ index b275ffc48c17..c552b27c5ff3 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -43316,6 +42555,7 @@ index b275ffc48c17..c552b27c5ff3 100644 - 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 @@ -43326,6 +42566,7 @@ index b275ffc48c17..c552b27c5ff3 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -43338,8 +42579,9 @@ index b275ffc48c17..c552b27c5ff3 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -146,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -43357,12 +42599,14 @@ index b275ffc48c17..c552b27c5ff3 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -43393,16 +42637,6 @@ index b275ffc48c17..c552b27c5ff3 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -43411,35 +42645,37 @@ index b275ffc48c17..c552b27c5ff3 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("pcm16b_gn") diff --git third_party/libwebrtc/modules/audio_coding/red_gn/moz.build third_party/libwebrtc/modules/audio_coding/red_gn/moz.build -index 58e8afef9a00..965e9dd8ba94 100644 +index d55df936567a..f108d9db5ff1 100644 --- third_party/libwebrtc/modules/audio_coding/red_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/red_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -43455,12 +42691,13 @@ index 58e8afef9a00..965e9dd8ba94 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -43468,13 +42705,14 @@ index 58e8afef9a00..965e9dd8ba94 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -43486,8 +42724,6 @@ index 58e8afef9a00..965e9dd8ba94 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -43495,12 +42731,12 @@ index 58e8afef9a00..965e9dd8ba94 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -43514,7 +42750,6 @@ index 58e8afef9a00..965e9dd8ba94 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -43538,6 +42773,7 @@ index 58e8afef9a00..965e9dd8ba94 100644 - 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 @@ -43548,6 +42784,7 @@ index 58e8afef9a00..965e9dd8ba94 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -43560,8 +42797,9 @@ index 58e8afef9a00..965e9dd8ba94 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -43579,12 +42817,14 @@ index 58e8afef9a00..965e9dd8ba94 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -43615,16 +42855,6 @@ index 58e8afef9a00..965e9dd8ba94 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -43633,35 +42863,37 @@ index 58e8afef9a00..965e9dd8ba94 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("red_gn") diff --git third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build -index 291bd3be385d..1deff194ac14 100644 +index b2cc167179d0..b40963119ad1 100644 --- third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -43677,12 +42909,13 @@ index 291bd3be385d..1deff194ac14 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -43690,13 +42923,14 @@ index 291bd3be385d..1deff194ac14 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -43708,8 +42942,6 @@ index 291bd3be385d..1deff194ac14 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -43717,12 +42949,12 @@ index 291bd3be385d..1deff194ac14 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -43736,7 +42968,6 @@ index 291bd3be385d..1deff194ac14 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -43760,6 +42991,7 @@ index 291bd3be385d..1deff194ac14 100644 - 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 @@ -43770,6 +43002,7 @@ index 291bd3be385d..1deff194ac14 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -43782,8 +43015,9 @@ index 291bd3be385d..1deff194ac14 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -43801,12 +43035,14 @@ index 291bd3be385d..1deff194ac14 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -43837,16 +43073,6 @@ index 291bd3be385d..1deff194ac14 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -43855,35 +43081,37 @@ index 291bd3be385d..1deff194ac14 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("webrtc_cng_gn") diff --git third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build -index 7d8d2cbeacff..104ad0dd9d28 100644 +index 8a1f97d3e36f..cef5d9b3dd8e 100644 --- third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build -@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -43901,12 +43129,13 @@ index 7d8d2cbeacff..104ad0dd9d28 100644 +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" -@@ -48,190 +57,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -49,98 +58,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -43914,13 +43143,14 @@ index 7d8d2cbeacff..104ad0dd9d28 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -43932,8 +43162,6 @@ index 7d8d2cbeacff..104ad0dd9d28 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -43941,12 +43169,12 @@ index 7d8d2cbeacff..104ad0dd9d28 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -43960,7 +43188,6 @@ index 7d8d2cbeacff..104ad0dd9d28 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -43984,6 +43211,7 @@ index 7d8d2cbeacff..104ad0dd9d28 100644 - 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 @@ -43994,6 +43222,7 @@ index 7d8d2cbeacff..104ad0dd9d28 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -44006,8 +43235,9 @@ index 7d8d2cbeacff..104ad0dd9d28 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -148,88 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -44025,12 +43255,14 @@ index 7d8d2cbeacff..104ad0dd9d28 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -44061,16 +43293,6 @@ index 7d8d2cbeacff..104ad0dd9d28 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -44079,35 +43301,37 @@ index 7d8d2cbeacff..104ad0dd9d28 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("webrtc_multiopus_gn") diff --git third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build -index 867fbd623276..2094705f8b93 100644 +index fb93eda27311..57ff1d71b55b 100644 --- third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build -@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -44125,12 +43349,13 @@ index 867fbd623276..2094705f8b93 100644 +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" -@@ -48,190 +57,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -49,98 +58,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -44138,13 +43363,14 @@ index 867fbd623276..2094705f8b93 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -44156,8 +43382,6 @@ index 867fbd623276..2094705f8b93 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -44165,12 +43389,12 @@ index 867fbd623276..2094705f8b93 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -44184,7 +43408,6 @@ index 867fbd623276..2094705f8b93 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -44208,6 +43431,7 @@ index 867fbd623276..2094705f8b93 100644 - 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 @@ -44218,6 +43442,7 @@ index 867fbd623276..2094705f8b93 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -44230,8 +43455,9 @@ index 867fbd623276..2094705f8b93 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -148,88 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -44249,12 +43475,14 @@ index 867fbd623276..2094705f8b93 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -44285,16 +43513,6 @@ index 867fbd623276..2094705f8b93 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -44303,35 +43521,37 @@ index 867fbd623276..2094705f8b93 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("webrtc_opus_gn") diff --git third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build -index 5ec9b465ea77..162b9091b2d2 100644 +index 284d12f5f0d6..5067bcb8e9d5 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,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -44349,12 +43569,13 @@ index 5ec9b465ea77..162b9091b2d2 100644 +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,179 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,87 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -44362,13 +43583,14 @@ index 5ec9b465ea77..162b9091b2d2 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -44380,8 +43602,6 @@ index 5ec9b465ea77..162b9091b2d2 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -44389,12 +43609,12 @@ index 5ec9b465ea77..162b9091b2d2 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -44404,7 +43624,6 @@ index 5ec9b465ea77..162b9091b2d2 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -44428,6 +43647,7 @@ index 5ec9b465ea77..162b9091b2d2 100644 - 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 @@ -44438,13 +43658,15 @@ index 5ec9b465ea77..162b9091b2d2 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -136,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -44462,12 +43684,14 @@ index 5ec9b465ea77..162b9091b2d2 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -44498,16 +43722,6 @@ index 5ec9b465ea77..162b9091b2d2 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -44516,35 +43730,37 @@ index 5ec9b465ea77..162b9091b2d2 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("webrtc_opus_wrapper_gn") diff --git third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build -index 4ca6aa495569..3885140cb11b 100644 +index ae018a0411e0..4b9c82612b4f 100644 --- third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build +++ third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -44560,12 +43776,13 @@ index 4ca6aa495569..3885140cb11b 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -44573,13 +43790,14 @@ index 4ca6aa495569..3885140cb11b 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -44587,8 +43805,6 @@ index 4ca6aa495569..3885140cb11b 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -44596,12 +43812,12 @@ index 4ca6aa495569..3885140cb11b 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -44611,7 +43827,6 @@ index 4ca6aa495569..3885140cb11b 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -44635,6 +43850,7 @@ index 4ca6aa495569..3885140cb11b 100644 - 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 @@ -44645,13 +43861,15 @@ index 4ca6aa495569..3885140cb11b 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -44665,17 +43883,19 @@ index 4ca6aa495569..3885140cb11b 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -44699,39 +43919,32 @@ index 4ca6aa495569..3885140cb11b 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("audio_device_gn") diff --git third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build -index 65a33184e738..4a54e312b60b 100644 +index 389d8bde3070..da7122a9fa44 100644 --- third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build +++ third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -44747,12 +43960,13 @@ index 65a33184e738..4a54e312b60b 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -44760,13 +43974,14 @@ index 65a33184e738..4a54e312b60b 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -44774,8 +43989,6 @@ index 65a33184e738..4a54e312b60b 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -44783,12 +43996,12 @@ index 65a33184e738..4a54e312b60b 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -44798,7 +44011,6 @@ index 65a33184e738..4a54e312b60b 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -44822,6 +44034,7 @@ index 65a33184e738..4a54e312b60b 100644 - 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 @@ -44832,13 +44045,15 @@ index 65a33184e738..4a54e312b60b 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -44852,17 +44067,19 @@ index 65a33184e738..4a54e312b60b 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -44886,39 +44103,32 @@ index 65a33184e738..4a54e312b60b 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("audio_device_impl_gn") diff --git third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build -index a14b9eb8fe9a..8fd614a1e9e9 100644 +index 3cd787013ac9..797cc7fdf979 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -44934,12 +44144,13 @@ index a14b9eb8fe9a..8fd614a1e9e9 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -44947,13 +44158,14 @@ index a14b9eb8fe9a..8fd614a1e9e9 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -44965,8 +44177,6 @@ index a14b9eb8fe9a..8fd614a1e9e9 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -44974,12 +44184,12 @@ index a14b9eb8fe9a..8fd614a1e9e9 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -44993,7 +44203,6 @@ index a14b9eb8fe9a..8fd614a1e9e9 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -45017,6 +44226,7 @@ index a14b9eb8fe9a..8fd614a1e9e9 100644 - 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 @@ -45027,6 +44237,7 @@ index a14b9eb8fe9a..8fd614a1e9e9 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -45039,8 +44250,9 @@ index a14b9eb8fe9a..8fd614a1e9e9 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -45058,12 +44270,14 @@ index a14b9eb8fe9a..8fd614a1e9e9 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -45094,16 +44308,6 @@ index a14b9eb8fe9a..8fd614a1e9e9 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -45112,35 +44316,37 @@ index a14b9eb8fe9a..8fd614a1e9e9 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("audio_frame_manipulator_gn") diff --git third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build -index 079f132d8ed0..9e2e510689f2 100644 +index d319d586e4f2..0b3debdb4549 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,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -45157,12 +44363,13 @@ index 079f132d8ed0..9e2e510689f2 100644 +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,190 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -45170,13 +44377,14 @@ index 079f132d8ed0..9e2e510689f2 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -45188,8 +44396,6 @@ index 079f132d8ed0..9e2e510689f2 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -45197,12 +44403,12 @@ index 079f132d8ed0..9e2e510689f2 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -45216,7 +44422,6 @@ index 079f132d8ed0..9e2e510689f2 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -45240,6 +44445,7 @@ index 079f132d8ed0..9e2e510689f2 100644 - 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 @@ -45250,6 +44456,7 @@ index 079f132d8ed0..9e2e510689f2 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -45262,8 +44469,9 @@ index 079f132d8ed0..9e2e510689f2 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -147,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -45281,12 +44489,14 @@ index 079f132d8ed0..9e2e510689f2 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -45317,16 +44527,6 @@ index 079f132d8ed0..9e2e510689f2 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -45335,35 +44535,37 @@ index 079f132d8ed0..9e2e510689f2 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("audio_mixer_impl_gn") diff --git third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build -index 7ad364fc287b..6392e9de1af6 100644 +index b742d0d2693e..2e0982fe44c1 100644 --- third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -45379,12 +44581,13 @@ index 7ad364fc287b..6392e9de1af6 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -45392,13 +44595,14 @@ index 7ad364fc287b..6392e9de1af6 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -45410,8 +44614,6 @@ index 7ad364fc287b..6392e9de1af6 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -45419,12 +44621,12 @@ index 7ad364fc287b..6392e9de1af6 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -45434,7 +44636,6 @@ index 7ad364fc287b..6392e9de1af6 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -45458,6 +44659,7 @@ index 7ad364fc287b..6392e9de1af6 100644 - 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 @@ -45468,13 +44670,15 @@ index 7ad364fc287b..6392e9de1af6 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -45488,17 +44692,19 @@ index 7ad364fc287b..6392e9de1af6 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -45522,39 +44728,32 @@ index 7ad364fc287b..6392e9de1af6 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("adaptive_fir_filter_erl_gn") diff --git third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build -index c3c6602eeabe..668753ceeacd 100644 +index 7cfd9898e674..3855e72da5c4 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -45570,12 +44769,13 @@ index c3c6602eeabe..668753ceeacd 100644 +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" -@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -45583,13 +44783,14 @@ index c3c6602eeabe..668753ceeacd 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -45601,8 +44802,6 @@ index c3c6602eeabe..668753ceeacd 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -45610,12 +44809,12 @@ index c3c6602eeabe..668753ceeacd 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -45629,7 +44828,6 @@ index c3c6602eeabe..668753ceeacd 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -45653,6 +44851,7 @@ index c3c6602eeabe..668753ceeacd 100644 - 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 @@ -45663,6 +44862,7 @@ index c3c6602eeabe..668753ceeacd 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -45675,8 +44875,9 @@ index c3c6602eeabe..668753ceeacd 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -45690,17 +44891,19 @@ index c3c6602eeabe..668753ceeacd 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -45724,39 +44927,32 @@ index c3c6602eeabe..668753ceeacd 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("adaptive_fir_filter_gn") diff --git third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build -index 2a389ece3b18..50070028546d 100644 +index 25fc5591ea09..61d14c766742 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,13 +18,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -18,14 +18,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -45774,12 +44970,13 @@ index 2a389ece3b18..50070028546d 100644 +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" -@@ -55,134 +64,16 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -56,128 +65,9 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -45787,13 +44984,14 @@ index 2a389ece3b18..50070028546d 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -45805,21 +45003,20 @@ index 2a389ece3b18..50070028546d 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - -if CONFIG["OS_TARGET"] == "Linux": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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["_GNU_SOURCE"] = True - DEFINES["_LARGEFILE64_SOURCE"] = True - DEFINES["_LARGEFILE_SOURCE"] = True @@ -45834,7 +45031,6 @@ index 2a389ece3b18..50070028546d 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -45858,6 +45054,7 @@ index 2a389ece3b18..50070028546d 100644 - 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 @@ -45868,6 +45065,7 @@ index 2a389ece3b18..50070028546d 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -45887,41 +45085,32 @@ index 2a389ece3b18..50070028546d 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" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- DEFINES["USE_X11"] = "1" +- CXXFLAGS += [ +- "-msse2" +- ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": +if CONFIG["TARGET_CPU"] == "x86": CXXFLAGS += [ "-msse2" - ] - --if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - -- CXXFLAGS += [ -- "-msse2" -- ] -+ DEFINES["USE_X11"] = "1" - - Library("aec3_avx2_gn") diff --git third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build -index 03c744941770..e5ed79803265 100644 +index a1c4ec99275c..a5c4a447496c 100644 --- third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -45937,12 +45126,13 @@ index 03c744941770..e5ed79803265 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -45950,13 +45140,14 @@ index 03c744941770..e5ed79803265 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -45964,8 +45155,6 @@ index 03c744941770..e5ed79803265 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -45973,12 +45162,12 @@ index 03c744941770..e5ed79803265 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -45988,7 +45177,6 @@ index 03c744941770..e5ed79803265 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -46012,6 +45200,7 @@ index 03c744941770..e5ed79803265 100644 - 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 @@ -46022,13 +45211,15 @@ index 03c744941770..e5ed79803265 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -46042,17 +45233,19 @@ index 03c744941770..e5ed79803265 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -46076,39 +45269,32 @@ index 03c744941770..e5ed79803265 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("aec3_common_gn") diff --git third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build -index b840e8d28285..dabb2ba6b331 100644 +index ed9f693dfead..e435d998a690 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -46124,12 +45310,13 @@ index b840e8d28285..dabb2ba6b331 100644 +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" -@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -46137,13 +45324,14 @@ index b840e8d28285..dabb2ba6b331 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -46155,8 +45343,6 @@ index b840e8d28285..dabb2ba6b331 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -46164,12 +45350,12 @@ index b840e8d28285..dabb2ba6b331 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -46183,7 +45369,6 @@ index b840e8d28285..dabb2ba6b331 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -46207,6 +45392,7 @@ index b840e8d28285..dabb2ba6b331 100644 - 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 @@ -46217,6 +45403,7 @@ index b840e8d28285..dabb2ba6b331 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -46229,8 +45416,9 @@ index b840e8d28285..dabb2ba6b331 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -46244,17 +45432,19 @@ index b840e8d28285..dabb2ba6b331 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -46278,39 +45468,32 @@ index b840e8d28285..dabb2ba6b331 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("aec3_fft_gn") diff --git third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build -index bb4aa00b9fa6..3b77e799840a 100644 +index 8eb283fec225..346457ac2f59 100644 --- third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build -@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -46327,12 +45510,13 @@ index bb4aa00b9fa6..3b77e799840a 100644 +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" -@@ -101,190 +110,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -102,98 +111,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -46340,13 +45524,14 @@ index bb4aa00b9fa6..3b77e799840a 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -46358,8 +45543,6 @@ index bb4aa00b9fa6..3b77e799840a 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -46367,12 +45550,12 @@ index bb4aa00b9fa6..3b77e799840a 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -46386,7 +45569,6 @@ index bb4aa00b9fa6..3b77e799840a 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -46410,6 +45592,7 @@ index bb4aa00b9fa6..3b77e799840a 100644 - 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 @@ -46420,6 +45603,7 @@ index bb4aa00b9fa6..3b77e799840a 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -46432,8 +45616,9 @@ index bb4aa00b9fa6..3b77e799840a 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -201,88 +119,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -46451,12 +45636,14 @@ index bb4aa00b9fa6..3b77e799840a 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -46487,16 +45674,6 @@ index bb4aa00b9fa6..3b77e799840a 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -46505,35 +45682,37 @@ index bb4aa00b9fa6..3b77e799840a 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("aec3_gn") diff --git third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build -index d91b97726db0..af84b43ca439 100644 +index 2579384807b1..286940e1741a 100644 --- third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -46549,12 +45728,13 @@ index d91b97726db0..af84b43ca439 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -46562,13 +45742,14 @@ index d91b97726db0..af84b43ca439 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -46580,8 +45761,6 @@ index d91b97726db0..af84b43ca439 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -46589,12 +45768,12 @@ index d91b97726db0..af84b43ca439 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -46604,7 +45783,6 @@ index d91b97726db0..af84b43ca439 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -46628,6 +45806,7 @@ index d91b97726db0..af84b43ca439 100644 - 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 @@ -46638,13 +45817,15 @@ index d91b97726db0..af84b43ca439 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -46658,17 +45839,19 @@ index d91b97726db0..af84b43ca439 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -46692,39 +45875,32 @@ index d91b97726db0..af84b43ca439 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("fft_data_gn") diff --git third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build -index f423946bc227..c3324812d865 100644 +index fb1960b0379c..29e6e7a74861 100644 --- third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -46740,12 +45916,13 @@ index f423946bc227..c3324812d865 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -46753,13 +45930,14 @@ index f423946bc227..c3324812d865 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -46771,8 +45949,6 @@ index f423946bc227..c3324812d865 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -46780,12 +45956,12 @@ index f423946bc227..c3324812d865 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -46795,7 +45971,6 @@ index f423946bc227..c3324812d865 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -46819,6 +45994,7 @@ index f423946bc227..c3324812d865 100644 - 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 @@ -46829,13 +46005,15 @@ index f423946bc227..c3324812d865 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -46849,17 +46027,19 @@ index f423946bc227..c3324812d865 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -46883,39 +46063,32 @@ index f423946bc227..c3324812d865 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("matched_filter_gn") diff --git third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build -index 45a89ccbfbfa..fe641efc8111 100644 +index 75011ee6d2e8..66e43c587d1e 100644 --- third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -46931,12 +46104,13 @@ index 45a89ccbfbfa..fe641efc8111 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -46944,13 +46118,14 @@ index 45a89ccbfbfa..fe641efc8111 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -46962,8 +46137,6 @@ index 45a89ccbfbfa..fe641efc8111 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -46971,12 +46144,12 @@ index 45a89ccbfbfa..fe641efc8111 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -46986,7 +46159,6 @@ index 45a89ccbfbfa..fe641efc8111 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -47010,6 +46182,7 @@ index 45a89ccbfbfa..fe641efc8111 100644 - 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 @@ -47020,13 +46193,15 @@ index 45a89ccbfbfa..fe641efc8111 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -47040,17 +46215,19 @@ index 45a89ccbfbfa..fe641efc8111 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -47074,39 +46251,32 @@ index 45a89ccbfbfa..fe641efc8111 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("render_buffer_gn") diff --git third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build -index 2c6400d8b230..f9c9407c1a18 100644 +index 11d60d85b21a..8bc82463e36f 100644 --- third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -47122,12 +46292,13 @@ index 2c6400d8b230..f9c9407c1a18 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -47135,13 +46306,14 @@ index 2c6400d8b230..f9c9407c1a18 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -47153,8 +46325,6 @@ index 2c6400d8b230..f9c9407c1a18 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -47162,12 +46332,12 @@ index 2c6400d8b230..f9c9407c1a18 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -47177,7 +46347,6 @@ index 2c6400d8b230..f9c9407c1a18 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -47201,6 +46370,7 @@ index 2c6400d8b230..f9c9407c1a18 100644 - 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 @@ -47211,13 +46381,15 @@ index 2c6400d8b230..f9c9407c1a18 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -47231,17 +46403,19 @@ index 2c6400d8b230..f9c9407c1a18 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -47265,39 +46439,32 @@ index 2c6400d8b230..f9c9407c1a18 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("vector_math_gn") diff --git third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build -index aee0870a497d..892353d5a5a9 100644 +index 4717f44c7228..30b9ebf91f2c 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -47313,12 +46480,13 @@ index aee0870a497d..892353d5a5a9 100644 +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" -@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -47326,13 +46494,14 @@ index aee0870a497d..892353d5a5a9 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -47344,8 +46513,6 @@ index aee0870a497d..892353d5a5a9 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -47353,12 +46520,12 @@ index aee0870a497d..892353d5a5a9 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -47372,7 +46539,6 @@ index aee0870a497d..892353d5a5a9 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -47396,6 +46562,7 @@ index aee0870a497d..892353d5a5a9 100644 - 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 @@ -47406,6 +46573,7 @@ index aee0870a497d..892353d5a5a9 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -47418,8 +46586,9 @@ index aee0870a497d..892353d5a5a9 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -47433,17 +46602,19 @@ index aee0870a497d..892353d5a5a9 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -47467,39 +46638,32 @@ index aee0870a497d..892353d5a5a9 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("aec_dump_gn") diff --git third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build -index d8c6582d5536..22365c268eb4 100644 +index 343efea34b51..194798641bc6 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -47515,12 +46679,13 @@ index d8c6582d5536..22365c268eb4 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -47528,13 +46693,14 @@ index d8c6582d5536..22365c268eb4 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -47546,8 +46712,6 @@ index d8c6582d5536..22365c268eb4 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -47555,12 +46719,12 @@ index d8c6582d5536..22365c268eb4 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -47574,7 +46738,6 @@ index d8c6582d5536..22365c268eb4 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -47598,6 +46761,7 @@ index d8c6582d5536..22365c268eb4 100644 - 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 @@ -47608,6 +46772,7 @@ index d8c6582d5536..22365c268eb4 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -47620,8 +46785,9 @@ index d8c6582d5536..22365c268eb4 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -47639,12 +46805,14 @@ index d8c6582d5536..22365c268eb4 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -47675,16 +46843,6 @@ index d8c6582d5536..22365c268eb4 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -47693,35 +46851,37 @@ index d8c6582d5536..22365c268eb4 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("null_aec_dump_factory_gn") diff --git third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build -index 5f551844f40e..b518e0fe73db 100644 +index 4fb4ebdb0f09..c1a85b70f3df 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -47737,12 +46897,13 @@ index 5f551844f40e..b518e0fe73db 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -47750,13 +46911,14 @@ index 5f551844f40e..b518e0fe73db 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -47768,8 +46930,6 @@ index 5f551844f40e..b518e0fe73db 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -47777,12 +46937,12 @@ index 5f551844f40e..b518e0fe73db 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -47796,7 +46956,6 @@ index 5f551844f40e..b518e0fe73db 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -47820,6 +46979,7 @@ index 5f551844f40e..b518e0fe73db 100644 - 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 @@ -47830,6 +46990,7 @@ index 5f551844f40e..b518e0fe73db 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -47842,8 +47003,9 @@ index 5f551844f40e..b518e0fe73db 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -47861,12 +47023,14 @@ index 5f551844f40e..b518e0fe73db 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -47897,16 +47061,6 @@ index 5f551844f40e..b518e0fe73db 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -47915,35 +47069,37 @@ index 5f551844f40e..b518e0fe73db 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("aec_dump_interface_gn") diff --git third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build -index fc9828874560..d280cf9642f4 100644 +index e4ca4f2ec51e..c702789e0525 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -47959,12 +47115,13 @@ index fc9828874560..d280cf9642f4 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,114 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,114 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -47972,13 +47129,14 @@ index fc9828874560..d280cf9642f4 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -47994,8 +47152,6 @@ index fc9828874560..d280cf9642f4 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -48007,12 +47163,12 @@ index fc9828874560..d280cf9642f4 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -48026,7 +47182,6 @@ index fc9828874560..d280cf9642f4 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -48054,6 +47209,7 @@ index fc9828874560..d280cf9642f4 100644 - 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 @@ -48064,6 +47220,7 @@ index fc9828874560..d280cf9642f4 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -48080,8 +47237,8 @@ index fc9828874560..d280cf9642f4 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -160,27 +62,12 @@ if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_HAS_NEON"] = True +@@ -162,37 +64,20 @@ if CONFIG["TARGET_CPU"] == "aarch64": + DEFINES["__ARM_NEON__"] = "1" SOURCES += [ - "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_neon.cc" @@ -48109,24 +47266,27 @@ index fc9828874560..d280cf9642f4 100644 SOURCES += [ "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc" ] -@@ -189,7 +76,6 @@ if CONFIG["TARGET_CPU"] == "mips32": + if CONFIG["TARGET_CPU"] == "mips32": + +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True SOURCES += [ "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_mips.cc" -@@ -197,8 +83,6 @@ if CONFIG["TARGET_CPU"] == "mips32": +@@ -200,9 +85,6 @@ if CONFIG["TARGET_CPU"] == "mips32": if CONFIG["TARGET_CPU"] == "mips64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - SOURCES += [ "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc" ] -@@ -209,90 +93,34 @@ if CONFIG["TARGET_CPU"] == "ppc64": +@@ -213,81 +95,27 @@ if CONFIG["TARGET_CPU"] == "ppc64": "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc" ] @@ -48158,16 +47318,6 @@ index fc9828874560..d280cf9642f4 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - - CXXFLAGS += [ @@ -48176,6 +47326,7 @@ index fc9828874560..d280cf9642f4 100644 - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - - SOURCES += [ @@ -48184,19 +47335,20 @@ index fc9828874560..d280cf9642f4 100644 - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True +- +- SOURCES += [ +- "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc" +- ] +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "riscv64": +if CONFIG["TARGET_CPU"] == "riscv64": SOURCES += [ "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc" ] --if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "riscv64": -- -- SOURCES += [ -- "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": +if CONFIG["TARGET_CPU"] == "x86": @@ -48204,6 +47356,7 @@ index fc9828874560..d280cf9642f4 100644 "-msse2" ] +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -48214,23 +47367,17 @@ index fc9828874560..d280cf9642f4 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": +if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True SOURCES += [ "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc" - ] - -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": -+ -+ DEFINES["USE_X11"] = "1" -+ - Library("aecm_core_gn") 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 c4325ac824cb..47f526008661 100644 +index a57205d4a5b2..7ff717315571 100644 --- third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build -@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -48247,12 +47394,13 @@ index c4325ac824cb..47f526008661 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -48260,13 +47408,14 @@ index c4325ac824cb..47f526008661 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -48278,8 +47427,6 @@ index c4325ac824cb..47f526008661 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -48287,12 +47434,12 @@ index c4325ac824cb..47f526008661 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -48306,7 +47453,6 @@ index c4325ac824cb..47f526008661 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -48330,6 +47476,7 @@ index c4325ac824cb..47f526008661 100644 - 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 @@ -48340,6 +47487,7 @@ index c4325ac824cb..47f526008661 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -48352,8 +47500,9 @@ index c4325ac824cb..47f526008661 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -48371,12 +47520,14 @@ index c4325ac824cb..47f526008661 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -48407,16 +47558,6 @@ index c4325ac824cb..47f526008661 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -48425,35 +47566,37 @@ index c4325ac824cb..47f526008661 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("agc_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build -index 5983e4f77576..127f60740aed 100644 +index 4da6c9687f88..a13f4e010126 100644 --- third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -48469,12 +47612,13 @@ index 5983e4f77576..127f60740aed 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -48482,13 +47626,14 @@ index 5983e4f77576..127f60740aed 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -48496,8 +47641,6 @@ index 5983e4f77576..127f60740aed 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -48505,12 +47648,12 @@ index 5983e4f77576..127f60740aed 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -48520,7 +47663,6 @@ index 5983e4f77576..127f60740aed 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -48544,6 +47686,7 @@ index 5983e4f77576..127f60740aed 100644 - 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 @@ -48554,13 +47697,15 @@ index 5983e4f77576..127f60740aed 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -48574,17 +47719,19 @@ index 5983e4f77576..127f60740aed 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -48608,39 +47755,32 @@ index 5983e4f77576..127f60740aed 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("gain_control_interface_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build -index fc5a6d3a17ac..13a466730810 100644 +index 110759780d97..a2f61bf83008 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -48656,12 +47796,13 @@ index fc5a6d3a17ac..13a466730810 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -48669,13 +47810,14 @@ index fc5a6d3a17ac..13a466730810 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -48687,8 +47829,6 @@ index fc5a6d3a17ac..13a466730810 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -48696,12 +47836,12 @@ index fc5a6d3a17ac..13a466730810 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -48715,7 +47855,6 @@ index fc5a6d3a17ac..13a466730810 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -48739,6 +47878,7 @@ index fc5a6d3a17ac..13a466730810 100644 - 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 @@ -48749,6 +47889,7 @@ index fc5a6d3a17ac..13a466730810 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -48761,8 +47902,9 @@ index fc5a6d3a17ac..13a466730810 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -48780,12 +47922,14 @@ index fc5a6d3a17ac..13a466730810 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -48816,16 +47960,6 @@ index fc5a6d3a17ac..13a466730810 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -48834,35 +47968,37 @@ index fc5a6d3a17ac..13a466730810 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("legacy_agc_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build -index 35537a26bfaa..9f58d8bde235 100644 +index 90dde9485a1b..754a5b3e277d 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -48878,12 +48014,13 @@ index 35537a26bfaa..9f58d8bde235 100644 +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" -@@ -46,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -48891,13 +48028,14 @@ index 35537a26bfaa..9f58d8bde235 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -48909,8 +48047,6 @@ index 35537a26bfaa..9f58d8bde235 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -48918,12 +48054,12 @@ index 35537a26bfaa..9f58d8bde235 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -48937,7 +48073,6 @@ index 35537a26bfaa..9f58d8bde235 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -48961,6 +48096,7 @@ index 35537a26bfaa..9f58d8bde235 100644 - 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 @@ -48971,6 +48107,7 @@ index 35537a26bfaa..9f58d8bde235 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -48983,8 +48120,9 @@ index 35537a26bfaa..9f58d8bde235 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -146,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -49002,12 +48140,14 @@ index 35537a26bfaa..9f58d8bde235 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -49038,16 +48178,6 @@ index 35537a26bfaa..9f58d8bde235 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -49056,35 +48186,37 @@ index 35537a26bfaa..9f58d8bde235 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("level_estimation_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build -index e225f10fa3cd..d7a4d53ab75c 100644 +index f3eec334ca67..325adc413267 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,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -49101,12 +48233,13 @@ index e225f10fa3cd..d7a4d53ab75c 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -49114,13 +48247,14 @@ index e225f10fa3cd..d7a4d53ab75c 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -49132,8 +48266,6 @@ index e225f10fa3cd..d7a4d53ab75c 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -49141,12 +48273,12 @@ index e225f10fa3cd..d7a4d53ab75c 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -49160,7 +48292,6 @@ index e225f10fa3cd..d7a4d53ab75c 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -49184,6 +48315,7 @@ index e225f10fa3cd..d7a4d53ab75c 100644 - 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 @@ -49194,6 +48326,7 @@ index e225f10fa3cd..d7a4d53ab75c 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -49206,8 +48339,9 @@ index e225f10fa3cd..d7a4d53ab75c 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -49225,12 +48359,14 @@ index e225f10fa3cd..d7a4d53ab75c 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -49261,16 +48397,6 @@ index e225f10fa3cd..d7a4d53ab75c 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -49279,35 +48405,37 @@ index e225f10fa3cd..d7a4d53ab75c 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("adaptive_digital_gain_controller_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build -index 6622d617c907..8dfe3f760d23 100644 +index ad2fd19d441d..ff442094da12 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -49323,12 +48451,13 @@ index 6622d617c907..8dfe3f760d23 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -49336,13 +48465,14 @@ index 6622d617c907..8dfe3f760d23 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -49354,8 +48484,6 @@ index 6622d617c907..8dfe3f760d23 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -49363,12 +48491,12 @@ index 6622d617c907..8dfe3f760d23 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -49378,7 +48506,6 @@ index 6622d617c907..8dfe3f760d23 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -49402,6 +48529,7 @@ index 6622d617c907..8dfe3f760d23 100644 - 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 @@ -49412,13 +48540,15 @@ index 6622d617c907..8dfe3f760d23 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -49436,12 +48566,14 @@ index 6622d617c907..8dfe3f760d23 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -49472,16 +48604,6 @@ index 6622d617c907..8dfe3f760d23 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -49490,35 +48612,37 @@ index 6622d617c907..8dfe3f760d23 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("biquad_filter_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build -index beda030559b6..bb6b4b02c9bb 100644 +index 634d1f87a8e5..35e8821dbea6 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -49534,12 +48658,13 @@ index beda030559b6..bb6b4b02c9bb 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -49547,13 +48672,14 @@ index beda030559b6..bb6b4b02c9bb 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -49565,8 +48691,6 @@ index beda030559b6..bb6b4b02c9bb 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -49574,12 +48698,12 @@ index beda030559b6..bb6b4b02c9bb 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -49593,7 +48717,6 @@ index beda030559b6..bb6b4b02c9bb 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -49617,6 +48740,7 @@ index beda030559b6..bb6b4b02c9bb 100644 - 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 @@ -49627,6 +48751,7 @@ index beda030559b6..bb6b4b02c9bb 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -49639,8 +48764,9 @@ index beda030559b6..bb6b4b02c9bb 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -49658,12 +48784,14 @@ index beda030559b6..bb6b4b02c9bb 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -49694,16 +48822,6 @@ index beda030559b6..bb6b4b02c9bb 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -49712,35 +48830,37 @@ index beda030559b6..bb6b4b02c9bb 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("clipping_predictor_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build -index cf2c69fcdfaa..a3693736aedb 100644 +index 82c397f973f5..da3833f8e686 100644 --- third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -49756,12 +48876,13 @@ index cf2c69fcdfaa..a3693736aedb 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -49769,13 +48890,14 @@ index cf2c69fcdfaa..a3693736aedb 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -49783,8 +48905,6 @@ index cf2c69fcdfaa..a3693736aedb 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -49792,12 +48912,12 @@ index cf2c69fcdfaa..a3693736aedb 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -49807,7 +48927,6 @@ index cf2c69fcdfaa..a3693736aedb 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -49831,6 +48950,7 @@ index cf2c69fcdfaa..a3693736aedb 100644 - 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 @@ -49841,13 +48961,15 @@ index cf2c69fcdfaa..a3693736aedb 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -49861,17 +48983,19 @@ index cf2c69fcdfaa..a3693736aedb 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -49895,39 +49019,32 @@ index cf2c69fcdfaa..a3693736aedb 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("common_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build -index 0de2dc9384e3..de0334f13255 100644 +index 62c885de2ce7..b47f20b1bbb1 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -49943,12 +49060,13 @@ index 0de2dc9384e3..de0334f13255 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -49956,13 +49074,14 @@ index 0de2dc9384e3..de0334f13255 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -49974,8 +49093,6 @@ index 0de2dc9384e3..de0334f13255 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -49983,12 +49100,12 @@ index 0de2dc9384e3..de0334f13255 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -50002,7 +49119,6 @@ index 0de2dc9384e3..de0334f13255 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -50026,6 +49142,7 @@ index 0de2dc9384e3..de0334f13255 100644 - 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 @@ -50036,6 +49153,7 @@ index 0de2dc9384e3..de0334f13255 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -50048,8 +49166,9 @@ index 0de2dc9384e3..de0334f13255 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -50067,12 +49186,14 @@ index 0de2dc9384e3..de0334f13255 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -50103,16 +49224,6 @@ index 0de2dc9384e3..de0334f13255 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -50121,35 +49232,37 @@ index 0de2dc9384e3..de0334f13255 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("cpu_features_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build -index 42be77d0926e..5cc90ad1f104 100644 +index d1c1172bed9f..fa22a785c71d 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,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -50166,12 +49279,13 @@ index 42be77d0926e..5cc90ad1f104 100644 +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,190 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -50179,13 +49293,14 @@ index 42be77d0926e..5cc90ad1f104 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -50197,8 +49312,6 @@ index 42be77d0926e..5cc90ad1f104 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -50206,12 +49319,12 @@ index 42be77d0926e..5cc90ad1f104 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -50225,7 +49338,6 @@ index 42be77d0926e..5cc90ad1f104 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -50249,6 +49361,7 @@ index 42be77d0926e..5cc90ad1f104 100644 - 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 @@ -50259,6 +49372,7 @@ index 42be77d0926e..5cc90ad1f104 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -50271,8 +49385,9 @@ index 42be77d0926e..5cc90ad1f104 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -147,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -50290,12 +49405,14 @@ index 42be77d0926e..5cc90ad1f104 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -50326,16 +49443,6 @@ index 42be77d0926e..5cc90ad1f104 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -50344,35 +49451,37 @@ index 42be77d0926e..5cc90ad1f104 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("fixed_digital_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build -index 74f97ce3d86b..e5ccbba3faa4 100644 +index 74ec8d655240..cd54718aa163 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -50388,12 +49497,13 @@ index 74f97ce3d86b..e5ccbba3faa4 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -50401,13 +49511,14 @@ index 74f97ce3d86b..e5ccbba3faa4 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -50419,8 +49530,6 @@ index 74f97ce3d86b..e5ccbba3faa4 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -50428,12 +49537,12 @@ index 74f97ce3d86b..e5ccbba3faa4 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -50443,7 +49552,6 @@ index 74f97ce3d86b..e5ccbba3faa4 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -50467,6 +49575,7 @@ index 74f97ce3d86b..e5ccbba3faa4 100644 - 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 @@ -50477,6 +49586,7 @@ index 74f97ce3d86b..e5ccbba3faa4 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -50489,8 +49599,9 @@ index 74f97ce3d86b..e5ccbba3faa4 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -50508,12 +49619,14 @@ index 74f97ce3d86b..e5ccbba3faa4 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -50544,16 +49657,6 @@ index 74f97ce3d86b..e5ccbba3faa4 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -50562,35 +49665,37 @@ index 74f97ce3d86b..e5ccbba3faa4 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("gain_applier_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/gain_map_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/gain_map_gn/moz.build -index f737fa6929fb..27094cde280b 100644 +index 8ca3f4b1eb6c..6e8c8c4456fd 100644 --- third_party/libwebrtc/modules/audio_processing/agc2/gain_map_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/agc2/gain_map_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -50606,12 +49711,13 @@ index f737fa6929fb..27094cde280b 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -50619,13 +49725,14 @@ index f737fa6929fb..27094cde280b 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -50633,8 +49740,6 @@ index f737fa6929fb..27094cde280b 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -50642,12 +49747,12 @@ index f737fa6929fb..27094cde280b 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -50657,7 +49762,6 @@ index f737fa6929fb..27094cde280b 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -50681,6 +49785,7 @@ index f737fa6929fb..27094cde280b 100644 - 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 @@ -50691,13 +49796,15 @@ index f737fa6929fb..27094cde280b 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -50711,17 +49818,19 @@ index f737fa6929fb..27094cde280b 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -50745,39 +49854,32 @@ index f737fa6929fb..27094cde280b 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("gain_map_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build -index e9a5eecf6501..f974969cef4f 100644 +index 62cf69b2d344..cc32cd07cad4 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,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -50794,12 +49896,13 @@ index e9a5eecf6501..f974969cef4f 100644 +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" -@@ -46,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -50807,13 +49910,14 @@ index e9a5eecf6501..f974969cef4f 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -50825,8 +49929,6 @@ index e9a5eecf6501..f974969cef4f 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -50834,12 +49936,12 @@ index e9a5eecf6501..f974969cef4f 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -50853,7 +49955,6 @@ index e9a5eecf6501..f974969cef4f 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -50877,6 +49978,7 @@ index e9a5eecf6501..f974969cef4f 100644 - 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 @@ -50887,6 +49989,7 @@ index e9a5eecf6501..f974969cef4f 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -50899,8 +50002,9 @@ index e9a5eecf6501..f974969cef4f 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -146,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -50918,12 +50022,14 @@ index e9a5eecf6501..f974969cef4f 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -50954,16 +50060,6 @@ index e9a5eecf6501..f974969cef4f 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -50972,35 +50068,37 @@ index e9a5eecf6501..f974969cef4f 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("input_volume_controller_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build -index 16dc6a71efd0..e9e41bc13fdb 100644 +index e629cd8fbf67..94e0531ea105 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -51016,12 +50114,13 @@ index 16dc6a71efd0..e9e41bc13fdb 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -51029,13 +50128,14 @@ index 16dc6a71efd0..e9e41bc13fdb 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -51047,8 +50147,6 @@ index 16dc6a71efd0..e9e41bc13fdb 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -51056,12 +50154,12 @@ index 16dc6a71efd0..e9e41bc13fdb 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -51071,7 +50169,6 @@ index 16dc6a71efd0..e9e41bc13fdb 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -51095,6 +50192,7 @@ index 16dc6a71efd0..e9e41bc13fdb 100644 - 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 @@ -51105,6 +50203,7 @@ index 16dc6a71efd0..e9e41bc13fdb 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -51117,8 +50216,9 @@ index 16dc6a71efd0..e9e41bc13fdb 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -51136,12 +50236,14 @@ index 16dc6a71efd0..e9e41bc13fdb 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -51172,16 +50274,6 @@ index 16dc6a71efd0..e9e41bc13fdb 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -51190,35 +50282,37 @@ index 16dc6a71efd0..e9e41bc13fdb 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("input_volume_stats_reporter_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build -index 9c436a5d0f3a..7af9460687a6 100644 +index aac5aa39708b..192f66aaa530 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,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -51235,12 +50329,13 @@ index 9c436a5d0f3a..7af9460687a6 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -51248,13 +50343,14 @@ index 9c436a5d0f3a..7af9460687a6 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -51266,8 +50362,6 @@ index 9c436a5d0f3a..7af9460687a6 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -51275,12 +50369,12 @@ index 9c436a5d0f3a..7af9460687a6 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -51294,7 +50388,6 @@ index 9c436a5d0f3a..7af9460687a6 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -51318,6 +50411,7 @@ index 9c436a5d0f3a..7af9460687a6 100644 - 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 @@ -51328,6 +50422,7 @@ index 9c436a5d0f3a..7af9460687a6 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -51340,8 +50435,9 @@ index 9c436a5d0f3a..7af9460687a6 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -51359,12 +50455,14 @@ index 9c436a5d0f3a..7af9460687a6 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -51395,16 +50493,6 @@ index 9c436a5d0f3a..7af9460687a6 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -51413,35 +50501,37 @@ index 9c436a5d0f3a..7af9460687a6 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("noise_level_estimator_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build -index 59564cc1e285..954c989398f4 100644 +index e9e60ea5f0c7..3eec1242fcfc 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -51457,12 +50547,13 @@ index 59564cc1e285..954c989398f4 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -51470,13 +50561,14 @@ index 59564cc1e285..954c989398f4 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -51488,8 +50580,6 @@ index 59564cc1e285..954c989398f4 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -51497,12 +50587,12 @@ index 59564cc1e285..954c989398f4 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -51516,7 +50606,6 @@ index 59564cc1e285..954c989398f4 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -51540,6 +50629,7 @@ index 59564cc1e285..954c989398f4 100644 - 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 @@ -51550,6 +50640,7 @@ index 59564cc1e285..954c989398f4 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -51562,8 +50653,9 @@ index 59564cc1e285..954c989398f4 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -51581,12 +50673,14 @@ index 59564cc1e285..954c989398f4 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -51617,16 +50711,6 @@ index 59564cc1e285..954c989398f4 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -51635,35 +50719,37 @@ index 59564cc1e285..954c989398f4 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rnn_vad_auto_correlation_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_common_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_common_gn/moz.build -index bf0b365e6eee..52089937e2a4 100644 +index 0d86421c9786..553b5ae51afa 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -51679,12 +50765,13 @@ index bf0b365e6eee..52089937e2a4 100644 +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" -@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -51692,13 +50779,14 @@ index bf0b365e6eee..52089937e2a4 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -51710,8 +50798,6 @@ index bf0b365e6eee..52089937e2a4 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -51719,12 +50805,12 @@ index bf0b365e6eee..52089937e2a4 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -51738,7 +50824,6 @@ index bf0b365e6eee..52089937e2a4 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -51762,6 +50847,7 @@ index bf0b365e6eee..52089937e2a4 100644 - 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 @@ -51772,6 +50858,7 @@ index bf0b365e6eee..52089937e2a4 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -51784,8 +50871,9 @@ index bf0b365e6eee..52089937e2a4 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -51799,17 +50887,19 @@ index bf0b365e6eee..52089937e2a4 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -51833,39 +50923,32 @@ index bf0b365e6eee..52089937e2a4 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("rnn_vad_common_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build -index 138685a386db..575ac8951bd6 100644 +index 1cd3b4b5348b..d4e6b10abd77 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -51881,12 +50964,13 @@ index 138685a386db..575ac8951bd6 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -51894,13 +50978,14 @@ index 138685a386db..575ac8951bd6 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -51912,8 +50997,6 @@ index 138685a386db..575ac8951bd6 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -51921,12 +51004,12 @@ index 138685a386db..575ac8951bd6 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -51940,7 +51023,6 @@ index 138685a386db..575ac8951bd6 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -51964,6 +51046,7 @@ index 138685a386db..575ac8951bd6 100644 - 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 @@ -51974,6 +51057,7 @@ index 138685a386db..575ac8951bd6 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -51986,8 +51070,9 @@ index 138685a386db..575ac8951bd6 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -52005,12 +51090,14 @@ index 138685a386db..575ac8951bd6 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -52041,16 +51128,6 @@ index 138685a386db..575ac8951bd6 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -52059,35 +51136,37 @@ index 138685a386db..575ac8951bd6 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rnn_vad_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build -index 699bc21ae364..577a86ada3c3 100644 +index 76d4191113e5..df8a72310a82 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -52103,12 +51182,13 @@ index 699bc21ae364..577a86ada3c3 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -52116,13 +51196,14 @@ index 699bc21ae364..577a86ada3c3 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -52134,8 +51215,6 @@ index 699bc21ae364..577a86ada3c3 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -52143,12 +51222,12 @@ index 699bc21ae364..577a86ada3c3 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -52162,7 +51241,6 @@ index 699bc21ae364..577a86ada3c3 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -52186,6 +51264,7 @@ index 699bc21ae364..577a86ada3c3 100644 - 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 @@ -52196,6 +51275,7 @@ index 699bc21ae364..577a86ada3c3 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -52208,8 +51288,9 @@ index 699bc21ae364..577a86ada3c3 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -52227,12 +51308,14 @@ index 699bc21ae364..577a86ada3c3 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -52263,16 +51346,6 @@ index 699bc21ae364..577a86ada3c3 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -52281,35 +51354,37 @@ index 699bc21ae364..577a86ada3c3 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rnn_vad_layers_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_lp_residual_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_lp_residual_gn/moz.build -index b25ad71cb8d9..0e7ee8647c24 100644 +index 6d9dc2c69bd9..2904a28efc6c 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -52325,12 +51400,13 @@ index b25ad71cb8d9..0e7ee8647c24 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -52338,13 +51414,14 @@ index b25ad71cb8d9..0e7ee8647c24 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -52356,8 +51433,6 @@ index b25ad71cb8d9..0e7ee8647c24 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -52365,12 +51440,12 @@ index b25ad71cb8d9..0e7ee8647c24 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -52380,7 +51455,6 @@ index b25ad71cb8d9..0e7ee8647c24 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -52404,6 +51478,7 @@ index b25ad71cb8d9..0e7ee8647c24 100644 - 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 @@ -52414,13 +51489,15 @@ index b25ad71cb8d9..0e7ee8647c24 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -52438,12 +51515,14 @@ index b25ad71cb8d9..0e7ee8647c24 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -52474,16 +51553,6 @@ index b25ad71cb8d9..0e7ee8647c24 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -52492,35 +51561,37 @@ index b25ad71cb8d9..0e7ee8647c24 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rnn_vad_lp_residual_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build -index 236281787c93..537751526475 100644 +index c5b5e5954aef..a050f520592a 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -52536,12 +51607,13 @@ index 236281787c93..537751526475 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -52549,13 +51621,14 @@ index 236281787c93..537751526475 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -52567,8 +51640,6 @@ index 236281787c93..537751526475 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -52576,12 +51647,12 @@ index 236281787c93..537751526475 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -52595,7 +51666,6 @@ index 236281787c93..537751526475 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -52619,6 +51689,7 @@ index 236281787c93..537751526475 100644 - 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 @@ -52629,6 +51700,7 @@ index 236281787c93..537751526475 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -52641,8 +51713,9 @@ index 236281787c93..537751526475 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -52660,12 +51733,14 @@ index 236281787c93..537751526475 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -52696,16 +51771,6 @@ index 236281787c93..537751526475 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -52714,35 +51779,37 @@ index 236281787c93..537751526475 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rnn_vad_pitch_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_ring_buffer_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_ring_buffer_gn/moz.build -index 49e0ac0e1752..af5b80e27004 100644 +index 68825aa282d1..58500132ec48 100644 --- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_ring_buffer_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_ring_buffer_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -52758,12 +51825,13 @@ index 49e0ac0e1752..af5b80e27004 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -52771,13 +51839,14 @@ index 49e0ac0e1752..af5b80e27004 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -52789,8 +51858,6 @@ index 49e0ac0e1752..af5b80e27004 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -52798,12 +51865,12 @@ index 49e0ac0e1752..af5b80e27004 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -52813,7 +51880,6 @@ index 49e0ac0e1752..af5b80e27004 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -52837,6 +51903,7 @@ index 49e0ac0e1752..af5b80e27004 100644 - 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 @@ -52847,13 +51914,15 @@ index 49e0ac0e1752..af5b80e27004 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -52867,17 +51936,19 @@ index 49e0ac0e1752..af5b80e27004 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -52901,39 +51972,32 @@ index 49e0ac0e1752..af5b80e27004 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("rnn_vad_ring_buffer_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_sequence_buffer_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_sequence_buffer_gn/moz.build -index 25ebe1ded808..5aeecbb95fb0 100644 +index 277c771e93f3..8390ff6e3a3f 100644 --- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_sequence_buffer_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_sequence_buffer_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -52949,12 +52013,13 @@ index 25ebe1ded808..5aeecbb95fb0 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -52962,13 +52027,14 @@ index 25ebe1ded808..5aeecbb95fb0 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -52980,8 +52046,6 @@ index 25ebe1ded808..5aeecbb95fb0 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -52989,12 +52053,12 @@ index 25ebe1ded808..5aeecbb95fb0 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -53004,7 +52068,6 @@ index 25ebe1ded808..5aeecbb95fb0 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -53028,6 +52091,7 @@ index 25ebe1ded808..5aeecbb95fb0 100644 - 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 @@ -53038,13 +52102,15 @@ index 25ebe1ded808..5aeecbb95fb0 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -53058,17 +52124,19 @@ index 25ebe1ded808..5aeecbb95fb0 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -53092,39 +52160,32 @@ index 25ebe1ded808..5aeecbb95fb0 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("rnn_vad_sequence_buffer_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build -index 3fd01cae8e39..6029a14a410a 100644 +index cfd7d82cda4e..34973737980f 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -53140,12 +52201,13 @@ index 3fd01cae8e39..6029a14a410a 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -53153,13 +52215,14 @@ index 3fd01cae8e39..6029a14a410a 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -53171,8 +52234,6 @@ index 3fd01cae8e39..6029a14a410a 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -53180,12 +52241,12 @@ index 3fd01cae8e39..6029a14a410a 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -53199,7 +52260,6 @@ index 3fd01cae8e39..6029a14a410a 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -53223,6 +52283,7 @@ index 3fd01cae8e39..6029a14a410a 100644 - 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 @@ -53233,6 +52294,7 @@ index 3fd01cae8e39..6029a14a410a 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -53245,8 +52307,9 @@ index 3fd01cae8e39..6029a14a410a 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -53264,12 +52327,14 @@ index 3fd01cae8e39..6029a14a410a 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -53300,16 +52365,6 @@ index 3fd01cae8e39..6029a14a410a 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -53318,35 +52373,37 @@ index 3fd01cae8e39..6029a14a410a 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rnn_vad_spectral_features_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_symmetric_matrix_buffer_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_symmetric_matrix_buffer_gn/moz.build -index 81600c1ed958..654468ece4cd 100644 +index a3a1e21f6699..34e2b09a62d9 100644 --- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_symmetric_matrix_buffer_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_symmetric_matrix_buffer_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -53362,12 +52419,13 @@ index 81600c1ed958..654468ece4cd 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -53375,13 +52433,14 @@ index 81600c1ed958..654468ece4cd 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -53393,8 +52452,6 @@ index 81600c1ed958..654468ece4cd 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -53402,12 +52459,12 @@ index 81600c1ed958..654468ece4cd 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -53417,7 +52474,6 @@ index 81600c1ed958..654468ece4cd 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -53441,6 +52497,7 @@ index 81600c1ed958..654468ece4cd 100644 - 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 @@ -53451,13 +52508,15 @@ index 81600c1ed958..654468ece4cd 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -53471,17 +52530,19 @@ index 81600c1ed958..654468ece4cd 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -53505,39 +52566,32 @@ index 81600c1ed958..654468ece4cd 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("rnn_vad_symmetric_matrix_buffer_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build -index c27d2ed5f439..286a59787858 100644 +index c48737e3197a..8d3ff68ee4a1 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,12 +18,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -18,13 +18,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -53554,12 +52608,13 @@ index c27d2ed5f439..286a59787858 100644 +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" -@@ -50,134 +59,16 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -51,128 +60,9 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -53567,13 +52622,14 @@ index c27d2ed5f439..286a59787858 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -53585,21 +52641,20 @@ index c27d2ed5f439..286a59787858 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - -if CONFIG["OS_TARGET"] == "Linux": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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["_GNU_SOURCE"] = True - DEFINES["_LARGEFILE64_SOURCE"] = True - DEFINES["_LARGEFILE_SOURCE"] = True @@ -53614,7 +52669,6 @@ index c27d2ed5f439..286a59787858 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -53638,6 +52692,7 @@ index c27d2ed5f439..286a59787858 100644 - 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 @@ -53648,6 +52703,7 @@ index c27d2ed5f439..286a59787858 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -53667,41 +52723,32 @@ index c27d2ed5f439..286a59787858 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" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- DEFINES["USE_X11"] = "1" +- CXXFLAGS += [ +- "-msse2" +- ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": +if CONFIG["TARGET_CPU"] == "x86": CXXFLAGS += [ "-msse2" - ] - --if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - -- CXXFLAGS += [ -- "-msse2" -- ] -+ DEFINES["USE_X11"] = "1" - - Library("vector_math_avx2_gn") 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 9b4370335783..f9c9407c1a18 100644 +index e8df44a45668..8bc82463e36f 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -53717,12 +52764,13 @@ index 9b4370335783..f9c9407c1a18 100644 +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" -@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -53730,13 +52778,14 @@ index 9b4370335783..f9c9407c1a18 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -53748,8 +52797,6 @@ index 9b4370335783..f9c9407c1a18 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -53757,12 +52804,12 @@ index 9b4370335783..f9c9407c1a18 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -53776,7 +52823,6 @@ index 9b4370335783..f9c9407c1a18 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -53800,6 +52846,7 @@ index 9b4370335783..f9c9407c1a18 100644 - 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 @@ -53810,6 +52857,7 @@ index 9b4370335783..f9c9407c1a18 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -53822,8 +52870,9 @@ index 9b4370335783..f9c9407c1a18 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -53837,17 +52886,19 @@ index 9b4370335783..f9c9407c1a18 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -53871,39 +52922,32 @@ index 9b4370335783..f9c9407c1a18 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("vector_math_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build -index c312fba12052..d996b4cc9d90 100644 +index 45efd543646d..fa53a17ec059 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,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -53920,12 +52964,13 @@ index c312fba12052..d996b4cc9d90 100644 +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" -@@ -46,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -53933,13 +52978,14 @@ index c312fba12052..d996b4cc9d90 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -53951,8 +52997,6 @@ index c312fba12052..d996b4cc9d90 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -53960,12 +53004,12 @@ index c312fba12052..d996b4cc9d90 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -53979,7 +53023,6 @@ index c312fba12052..d996b4cc9d90 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -54003,6 +53046,7 @@ index c312fba12052..d996b4cc9d90 100644 - 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 @@ -54013,6 +53057,7 @@ index c312fba12052..d996b4cc9d90 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -54025,8 +53070,9 @@ index c312fba12052..d996b4cc9d90 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -146,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -54044,12 +53090,14 @@ index c312fba12052..d996b4cc9d90 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -54080,16 +53128,6 @@ index c312fba12052..d996b4cc9d90 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -54098,35 +53136,37 @@ index c312fba12052..d996b4cc9d90 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("saturation_protector_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build -index 343cfc723b09..8c6eb49b4512 100644 +index 2ef7a8cf3f3c..76c019b528a3 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,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -54143,12 +53183,13 @@ index 343cfc723b09..8c6eb49b4512 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -54156,13 +53197,14 @@ index 343cfc723b09..8c6eb49b4512 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -54174,8 +53216,6 @@ index 343cfc723b09..8c6eb49b4512 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -54183,12 +53223,12 @@ index 343cfc723b09..8c6eb49b4512 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -54202,7 +53242,6 @@ index 343cfc723b09..8c6eb49b4512 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -54226,6 +53265,7 @@ index 343cfc723b09..8c6eb49b4512 100644 - 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 @@ -54236,6 +53276,7 @@ index 343cfc723b09..8c6eb49b4512 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -54248,8 +53289,9 @@ index 343cfc723b09..8c6eb49b4512 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -54267,12 +53309,14 @@ index 343cfc723b09..8c6eb49b4512 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -54303,16 +53347,6 @@ index 343cfc723b09..8c6eb49b4512 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -54321,35 +53355,37 @@ index 343cfc723b09..8c6eb49b4512 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("speech_level_estimator_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build -index a82ded938c6b..93c53adca4bb 100644 +index fba5354a8503..6d3d6a9f3974 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -54365,12 +53401,13 @@ index a82ded938c6b..93c53adca4bb 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -54378,13 +53415,14 @@ index a82ded938c6b..93c53adca4bb 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -54396,8 +53434,6 @@ index a82ded938c6b..93c53adca4bb 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -54405,12 +53441,12 @@ index a82ded938c6b..93c53adca4bb 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -54424,7 +53460,6 @@ index a82ded938c6b..93c53adca4bb 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -54448,6 +53483,7 @@ index a82ded938c6b..93c53adca4bb 100644 - 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 @@ -54458,6 +53494,7 @@ index a82ded938c6b..93c53adca4bb 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -54470,8 +53507,9 @@ index a82ded938c6b..93c53adca4bb 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -54489,12 +53527,14 @@ index a82ded938c6b..93c53adca4bb 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -54525,16 +53565,6 @@ index a82ded938c6b..93c53adca4bb 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -54543,35 +53573,37 @@ index a82ded938c6b..93c53adca4bb 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("vad_wrapper_gn") diff --git third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build -index a09b4c70b19d..23f44e13d5bb 100644 +index 8e093965a1dc..603bd76413f5 100644 --- third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build -@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -54588,12 +53620,13 @@ index a09b4c70b19d..23f44e13d5bb 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -54601,13 +53634,14 @@ index a09b4c70b19d..23f44e13d5bb 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -54619,8 +53653,6 @@ index a09b4c70b19d..23f44e13d5bb 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -54628,12 +53660,12 @@ index a09b4c70b19d..23f44e13d5bb 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -54647,7 +53679,6 @@ index a09b4c70b19d..23f44e13d5bb 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -54671,6 +53702,7 @@ index a09b4c70b19d..23f44e13d5bb 100644 - 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 @@ -54681,6 +53713,7 @@ index a09b4c70b19d..23f44e13d5bb 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -54693,8 +53726,9 @@ index a09b4c70b19d..23f44e13d5bb 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -54712,12 +53746,14 @@ index a09b4c70b19d..23f44e13d5bb 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -54748,16 +53784,6 @@ index a09b4c70b19d..23f44e13d5bb 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -54766,35 +53792,37 @@ index a09b4c70b19d..23f44e13d5bb 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("apm_logging_gn") diff --git third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build -index 2b2e58b89940..b833396bba9b 100644 +index 85bed17e4418..f88ddb0493c0 100644 --- third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build -@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -54811,12 +53839,13 @@ index 2b2e58b89940..b833396bba9b 100644 +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,190 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -54824,13 +53853,14 @@ index 2b2e58b89940..b833396bba9b 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -54842,8 +53872,6 @@ index 2b2e58b89940..b833396bba9b 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -54851,12 +53879,12 @@ index 2b2e58b89940..b833396bba9b 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -54870,7 +53898,6 @@ index 2b2e58b89940..b833396bba9b 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -54894,6 +53921,7 @@ index 2b2e58b89940..b833396bba9b 100644 - 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 @@ -54904,6 +53932,7 @@ index 2b2e58b89940..b833396bba9b 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -54916,8 +53945,9 @@ index 2b2e58b89940..b833396bba9b 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -147,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -54935,12 +53965,14 @@ index 2b2e58b89940..b833396bba9b 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -54971,16 +54003,6 @@ index 2b2e58b89940..b833396bba9b 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -54989,35 +54011,37 @@ index 2b2e58b89940..b833396bba9b 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("audio_buffer_gn") diff --git third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build -index d1cea6645724..c6e89fcf1c87 100644 +index f1ab4cefecb0..bed98465288f 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -55033,12 +54057,13 @@ index d1cea6645724..c6e89fcf1c87 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -55046,13 +54071,14 @@ index d1cea6645724..c6e89fcf1c87 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -55064,8 +54090,6 @@ index d1cea6645724..c6e89fcf1c87 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -55073,12 +54097,12 @@ index d1cea6645724..c6e89fcf1c87 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -55092,7 +54116,6 @@ index d1cea6645724..c6e89fcf1c87 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -55116,6 +54139,7 @@ index d1cea6645724..c6e89fcf1c87 100644 - 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 @@ -55126,6 +54150,7 @@ index d1cea6645724..c6e89fcf1c87 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -55138,8 +54163,9 @@ index d1cea6645724..c6e89fcf1c87 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -55157,12 +54183,14 @@ index d1cea6645724..c6e89fcf1c87 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -55193,16 +54221,6 @@ index d1cea6645724..c6e89fcf1c87 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -55211,35 +54229,37 @@ index d1cea6645724..c6e89fcf1c87 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("audio_frame_proxies_gn") diff --git third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build -index 66e92461dade..cca630b76705 100644 +index b6ad75a93f95..89d051e017f8 100644 --- third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -55255,12 +54275,13 @@ index 66e92461dade..cca630b76705 100644 +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" -@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -55268,13 +54289,14 @@ index 66e92461dade..cca630b76705 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -55286,8 +54308,6 @@ index 66e92461dade..cca630b76705 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -55295,12 +54315,12 @@ index 66e92461dade..cca630b76705 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -55310,7 +54330,6 @@ index 66e92461dade..cca630b76705 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -55334,6 +54353,7 @@ index 66e92461dade..cca630b76705 100644 - 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 @@ -55344,6 +54364,7 @@ index 66e92461dade..cca630b76705 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -55356,8 +54377,9 @@ index 66e92461dade..cca630b76705 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -55371,17 +54393,19 @@ index 66e92461dade..cca630b76705 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -55405,39 +54429,32 @@ index 66e92461dade..cca630b76705 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("audio_frame_view_gn") diff --git third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build -index 10be557444b1..786ef149fe84 100644 +index 691df8fbd2f5..c327f88e2a41 100644 --- third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build -@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -55454,12 +54471,13 @@ index 10be557444b1..786ef149fe84 100644 +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" -@@ -50,190 +59,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -51,98 +60,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -55467,13 +54485,14 @@ index 10be557444b1..786ef149fe84 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -55485,8 +54504,6 @@ index 10be557444b1..786ef149fe84 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -55494,12 +54511,12 @@ index 10be557444b1..786ef149fe84 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -55513,7 +54530,6 @@ index 10be557444b1..786ef149fe84 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -55537,6 +54553,7 @@ index 10be557444b1..786ef149fe84 100644 - 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 @@ -55547,6 +54564,7 @@ index 10be557444b1..786ef149fe84 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -55559,8 +54577,9 @@ index 10be557444b1..786ef149fe84 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -150,88 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -55578,12 +54597,14 @@ index 10be557444b1..786ef149fe84 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -55614,16 +54635,6 @@ index 10be557444b1..786ef149fe84 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -55632,35 +54643,37 @@ index 10be557444b1..786ef149fe84 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("audio_processing_gn") diff --git third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build -index 7eabe2166f96..bc2da883b302 100644 +index d81334d02be8..f07498a0a9c3 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -55676,12 +54689,13 @@ index 7eabe2166f96..bc2da883b302 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -55689,13 +54703,14 @@ index 7eabe2166f96..bc2da883b302 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -55707,8 +54722,6 @@ index 7eabe2166f96..bc2da883b302 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -55716,12 +54729,12 @@ index 7eabe2166f96..bc2da883b302 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -55735,7 +54748,6 @@ index 7eabe2166f96..bc2da883b302 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -55759,6 +54771,7 @@ index 7eabe2166f96..bc2da883b302 100644 - 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 @@ -55769,6 +54782,7 @@ index 7eabe2166f96..bc2da883b302 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -55781,8 +54795,9 @@ index 7eabe2166f96..bc2da883b302 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -55800,12 +54815,14 @@ index 7eabe2166f96..bc2da883b302 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -55836,16 +54853,6 @@ index 7eabe2166f96..bc2da883b302 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -55854,35 +54861,37 @@ index 7eabe2166f96..bc2da883b302 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("capture_levels_adjuster_gn") diff --git third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build -index 7c590c1c04e4..10ca80187523 100644 +index 1a62b5db7ace..f150b9e5fba7 100644 --- third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build -@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -55899,12 +54908,13 @@ index 7c590c1c04e4..10ca80187523 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -55912,13 +54922,14 @@ index 7c590c1c04e4..10ca80187523 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -55930,8 +54941,6 @@ index 7c590c1c04e4..10ca80187523 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -55939,12 +54948,12 @@ index 7c590c1c04e4..10ca80187523 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -55958,7 +54967,6 @@ index 7c590c1c04e4..10ca80187523 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -55982,6 +54990,7 @@ index 7c590c1c04e4..10ca80187523 100644 - 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 @@ -55992,6 +55001,7 @@ index 7c590c1c04e4..10ca80187523 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -56004,8 +55014,9 @@ index 7c590c1c04e4..10ca80187523 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -56023,12 +55034,14 @@ index 7c590c1c04e4..10ca80187523 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -56059,16 +55072,6 @@ index 7c590c1c04e4..10ca80187523 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -56077,35 +55080,37 @@ index 7c590c1c04e4..10ca80187523 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("gain_controller2_gn") diff --git third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build -index 2a5c6b124653..088eaeabf901 100644 +index dbd718f53d7f..536849241857 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -56121,12 +55126,13 @@ index 2a5c6b124653..088eaeabf901 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -56134,13 +55140,14 @@ index 2a5c6b124653..088eaeabf901 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -56152,8 +55159,6 @@ index 2a5c6b124653..088eaeabf901 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -56161,12 +55166,12 @@ index 2a5c6b124653..088eaeabf901 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -56180,7 +55185,6 @@ index 2a5c6b124653..088eaeabf901 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -56204,6 +55208,7 @@ index 2a5c6b124653..088eaeabf901 100644 - 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 @@ -56214,6 +55219,7 @@ index 2a5c6b124653..088eaeabf901 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -56226,8 +55232,9 @@ index 2a5c6b124653..088eaeabf901 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -56245,12 +55252,14 @@ index 2a5c6b124653..088eaeabf901 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -56281,16 +55290,6 @@ index 2a5c6b124653..088eaeabf901 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -56299,35 +55298,37 @@ index 2a5c6b124653..088eaeabf901 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("high_pass_filter_gn") diff --git third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build -index cea8ba8d8132..b7191f1399a0 100644 +index 1c2cdc5b6862..4e1cee1c6cfd 100644 --- third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build -@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -56344,12 +55345,13 @@ index cea8ba8d8132..b7191f1399a0 100644 +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" -@@ -57,190 +66,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -58,98 +67,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -56357,13 +55359,14 @@ index cea8ba8d8132..b7191f1399a0 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -56375,8 +55378,6 @@ index cea8ba8d8132..b7191f1399a0 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -56384,12 +55385,12 @@ index cea8ba8d8132..b7191f1399a0 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -56403,7 +55404,6 @@ index cea8ba8d8132..b7191f1399a0 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -56427,6 +55427,7 @@ index cea8ba8d8132..b7191f1399a0 100644 - 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 @@ -56437,6 +55438,7 @@ index cea8ba8d8132..b7191f1399a0 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -56449,8 +55451,9 @@ index cea8ba8d8132..b7191f1399a0 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -157,88 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -56468,12 +55471,14 @@ index cea8ba8d8132..b7191f1399a0 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -56504,16 +55509,6 @@ index cea8ba8d8132..b7191f1399a0 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -56522,35 +55517,37 @@ index cea8ba8d8132..b7191f1399a0 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ 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 c6d670a9716f..0b6a724bea6a 100644 +index f1039321111d..170b024c51f3 100644 --- third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -56566,12 +55563,13 @@ index c6d670a9716f..0b6a724bea6a 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -56579,13 +55577,14 @@ index c6d670a9716f..0b6a724bea6a 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -56597,8 +55596,6 @@ index c6d670a9716f..0b6a724bea6a 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -56606,12 +55603,12 @@ index c6d670a9716f..0b6a724bea6a 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -56621,7 +55618,6 @@ index c6d670a9716f..0b6a724bea6a 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -56645,6 +55641,7 @@ index c6d670a9716f..0b6a724bea6a 100644 - 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 @@ -56655,13 +55652,15 @@ index c6d670a9716f..0b6a724bea6a 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -56679,12 +55678,14 @@ index c6d670a9716f..0b6a724bea6a 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -56715,16 +55716,6 @@ index c6d670a9716f..0b6a724bea6a 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -56733,35 +55724,37 @@ index c6d670a9716f..0b6a724bea6a 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ 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 9b82be1adb86..e85813c9141a 100644 +index e5c2b269dca4..fc2168892e21 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -56777,12 +55770,13 @@ index 9b82be1adb86..e85813c9141a 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -56790,13 +55784,14 @@ index 9b82be1adb86..e85813c9141a 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -56808,8 +55803,6 @@ index 9b82be1adb86..e85813c9141a 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -56817,12 +55810,12 @@ index 9b82be1adb86..e85813c9141a 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -56832,7 +55825,6 @@ index 9b82be1adb86..e85813c9141a 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -56856,6 +55848,7 @@ index 9b82be1adb86..e85813c9141a 100644 - 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 @@ -56866,13 +55859,15 @@ index 9b82be1adb86..e85813c9141a 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -56890,12 +55885,14 @@ index 9b82be1adb86..e85813c9141a 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -56926,16 +55923,6 @@ index 9b82be1adb86..e85813c9141a 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -56944,35 +55931,37 @@ index 9b82be1adb86..e85813c9141a 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ 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 4692680bae55..dc7c1b23536a 100644 +index 73496ab178e9..011920c9abc5 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -56988,12 +55977,13 @@ index 4692680bae55..dc7c1b23536a 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,179 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,87 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -57001,13 +55991,14 @@ index 4692680bae55..dc7c1b23536a 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -57019,8 +56010,6 @@ index 4692680bae55..dc7c1b23536a 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -57028,12 +56017,12 @@ index 4692680bae55..dc7c1b23536a 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -57043,7 +56032,6 @@ index 4692680bae55..dc7c1b23536a 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -57067,6 +56055,7 @@ index 4692680bae55..dc7c1b23536a 100644 - 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 @@ -57077,13 +56066,15 @@ index 4692680bae55..dc7c1b23536a 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -134,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -57101,12 +56092,14 @@ index 4692680bae55..dc7c1b23536a 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -57137,16 +56130,6 @@ index 4692680bae55..dc7c1b23536a 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -57155,35 +56138,37 @@ index 4692680bae55..dc7c1b23536a 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ 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 609567fd1543..7a6396d4b7a7 100644 +index ebceccaa1f34..252eae0060e5 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -57199,12 +56184,13 @@ index 609567fd1543..7a6396d4b7a7 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -57212,13 +56198,14 @@ index 609567fd1543..7a6396d4b7a7 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -57230,8 +56217,6 @@ index 609567fd1543..7a6396d4b7a7 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -57239,12 +56224,12 @@ index 609567fd1543..7a6396d4b7a7 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -57254,7 +56239,6 @@ index 609567fd1543..7a6396d4b7a7 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -57278,6 +56262,7 @@ index 609567fd1543..7a6396d4b7a7 100644 - 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 @@ -57288,13 +56273,15 @@ index 609567fd1543..7a6396d4b7a7 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -57312,12 +56299,14 @@ index 609567fd1543..7a6396d4b7a7 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -57348,16 +56337,6 @@ index 609567fd1543..7a6396d4b7a7 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -57366,35 +56345,37 @@ index 609567fd1543..7a6396d4b7a7 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ 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 e18fa6a13dc5..651adb31c8f8 100644 +index 5f43f10500d0..ed468ac0fad7 100644 --- third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -57410,12 +56391,13 @@ index e18fa6a13dc5..651adb31c8f8 100644 +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" -@@ -51,190 +60,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -52,98 +61,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -57423,13 +56405,14 @@ index e18fa6a13dc5..651adb31c8f8 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -57441,8 +56424,6 @@ index e18fa6a13dc5..651adb31c8f8 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -57450,12 +56431,12 @@ index e18fa6a13dc5..651adb31c8f8 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -57469,7 +56450,6 @@ index e18fa6a13dc5..651adb31c8f8 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -57493,6 +56473,7 @@ index e18fa6a13dc5..651adb31c8f8 100644 - 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 @@ -57503,6 +56484,7 @@ index e18fa6a13dc5..651adb31c8f8 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -57515,8 +56497,9 @@ index e18fa6a13dc5..651adb31c8f8 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -151,88 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -57534,12 +56517,14 @@ index e18fa6a13dc5..651adb31c8f8 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -57570,16 +56555,6 @@ index e18fa6a13dc5..651adb31c8f8 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -57588,35 +56563,37 @@ index e18fa6a13dc5..651adb31c8f8 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ 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 d445a31d3fc0..6003c6b22afb 100644 +index 1afd2e10c4d9..5df4011ef9fe 100644 --- third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build +++ third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -57632,12 +56609,13 @@ index d445a31d3fc0..6003c6b22afb 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,191 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,99 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -57645,13 +56623,14 @@ index d445a31d3fc0..6003c6b22afb 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -57664,8 +56643,6 @@ index d445a31d3fc0..6003c6b22afb 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -57673,12 +56650,12 @@ index d445a31d3fc0..6003c6b22afb 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -57692,7 +56669,6 @@ index d445a31d3fc0..6003c6b22afb 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -57716,6 +56692,7 @@ index d445a31d3fc0..6003c6b22afb 100644 - 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 @@ -57726,6 +56703,7 @@ index d445a31d3fc0..6003c6b22afb 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -57738,8 +56716,9 @@ index d445a31d3fc0..6003c6b22afb 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -146,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -57757,12 +56736,14 @@ index d445a31d3fc0..6003c6b22afb 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -57793,16 +56774,6 @@ index d445a31d3fc0..6003c6b22afb 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -57811,35 +56782,37 @@ index d445a31d3fc0..6003c6b22afb 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ 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 15b360f97098..7565e2a3de43 100644 +index 4bf13745b896..1d0145e878c0 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -57855,12 +56828,13 @@ index 15b360f97098..7565e2a3de43 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -57868,13 +56842,14 @@ index 15b360f97098..7565e2a3de43 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -57886,8 +56861,6 @@ index 15b360f97098..7565e2a3de43 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -57895,12 +56868,12 @@ index 15b360f97098..7565e2a3de43 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -57910,7 +56883,6 @@ index 15b360f97098..7565e2a3de43 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -57934,6 +56906,7 @@ index 15b360f97098..7565e2a3de43 100644 - 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 @@ -57944,6 +56917,7 @@ index 15b360f97098..7565e2a3de43 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -57956,8 +56930,9 @@ index 15b360f97098..7565e2a3de43 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -57975,12 +56950,14 @@ index 15b360f97098..7565e2a3de43 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -58011,16 +56988,6 @@ index 15b360f97098..7565e2a3de43 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -58029,35 +56996,37 @@ index 15b360f97098..7565e2a3de43 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ 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 dcc10a6e047f..3ee2ade0e6e2 100644 +index e6049e20b422..d74a9b0ea951 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -58073,12 +57042,13 @@ index dcc10a6e047f..3ee2ade0e6e2 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,191 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,99 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -58086,13 +57056,14 @@ index dcc10a6e047f..3ee2ade0e6e2 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -58105,8 +57076,6 @@ index dcc10a6e047f..3ee2ade0e6e2 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -58114,12 +57083,12 @@ index dcc10a6e047f..3ee2ade0e6e2 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -58133,7 +57102,6 @@ index dcc10a6e047f..3ee2ade0e6e2 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -58157,6 +57125,7 @@ index dcc10a6e047f..3ee2ade0e6e2 100644 - 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 @@ -58167,6 +57136,7 @@ index dcc10a6e047f..3ee2ade0e6e2 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -58179,8 +57149,9 @@ index dcc10a6e047f..3ee2ade0e6e2 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -146,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -58198,12 +57169,14 @@ index dcc10a6e047f..3ee2ade0e6e2 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -58234,16 +57207,6 @@ index dcc10a6e047f..3ee2ade0e6e2 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -58252,35 +57215,37 @@ index dcc10a6e047f..3ee2ade0e6e2 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ 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 cba0035df095..b05566a84bd9 100644 +index ec2037635456..f9e2bc4c2389 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -58296,12 +57261,13 @@ index cba0035df095..b05566a84bd9 100644 +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" -@@ -49,190 +58,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -50,98 +59,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -58309,13 +57275,14 @@ index cba0035df095..b05566a84bd9 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -58327,8 +57294,6 @@ index cba0035df095..b05566a84bd9 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -58336,12 +57301,12 @@ index cba0035df095..b05566a84bd9 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -58355,7 +57320,6 @@ index cba0035df095..b05566a84bd9 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -58379,6 +57343,7 @@ index cba0035df095..b05566a84bd9 100644 - 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 @@ -58389,6 +57354,7 @@ index cba0035df095..b05566a84bd9 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -58401,8 +57367,9 @@ index cba0035df095..b05566a84bd9 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -149,88 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -58420,12 +57387,14 @@ index cba0035df095..b05566a84bd9 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -58456,16 +57425,6 @@ index cba0035df095..b05566a84bd9 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -58474,35 +57433,37 @@ index cba0035df095..b05566a84bd9 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ 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 52ac4f397915..9c83648d1d91 100644 +index f1aab84099c3..f07d7d3d3c56 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -58518,12 +57479,13 @@ index 52ac4f397915..9c83648d1d91 100644 +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" -@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -58531,13 +57493,14 @@ index 52ac4f397915..9c83648d1d91 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -58550,8 +57513,6 @@ index 52ac4f397915..9c83648d1d91 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -58559,12 +57520,12 @@ index 52ac4f397915..9c83648d1d91 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -58578,7 +57539,6 @@ index 52ac4f397915..9c83648d1d91 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -58602,6 +57562,7 @@ index 52ac4f397915..9c83648d1d91 100644 - 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 @@ -58612,6 +57573,7 @@ index 52ac4f397915..9c83648d1d91 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -58624,8 +57586,9 @@ index 52ac4f397915..9c83648d1d91 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -58643,12 +57606,14 @@ index 52ac4f397915..9c83648d1d91 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -58679,16 +57644,6 @@ index 52ac4f397915..9c83648d1d91 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -58697,35 +57652,37 @@ index 52ac4f397915..9c83648d1d91 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ 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 116a29107a5f..210869b7d740 100644 +index bd11c5773157..cefeae9d9f7a 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -58741,12 +57698,13 @@ index 116a29107a5f..210869b7d740 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -58754,13 +57712,14 @@ index 116a29107a5f..210869b7d740 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -58772,8 +57731,6 @@ index 116a29107a5f..210869b7d740 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -58781,12 +57738,12 @@ index 116a29107a5f..210869b7d740 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -58796,7 +57753,6 @@ index 116a29107a5f..210869b7d740 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -58820,6 +57776,7 @@ index 116a29107a5f..210869b7d740 100644 - 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 @@ -58830,13 +57787,15 @@ index 116a29107a5f..210869b7d740 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -58854,12 +57813,14 @@ index 116a29107a5f..210869b7d740 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -58890,16 +57851,6 @@ index 116a29107a5f..210869b7d740 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -58908,35 +57859,37 @@ index 116a29107a5f..210869b7d740 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ 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 5f70acf389a6..4886c9836d50 100644 +index e67739995ab9..49cbc2ba009d 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -58952,12 +57905,13 @@ index 5f70acf389a6..4886c9836d50 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -58965,13 +57919,14 @@ index 5f70acf389a6..4886c9836d50 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -58983,8 +57938,6 @@ index 5f70acf389a6..4886c9836d50 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -58992,12 +57945,12 @@ index 5f70acf389a6..4886c9836d50 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -59011,7 +57964,6 @@ index 5f70acf389a6..4886c9836d50 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -59035,6 +57987,7 @@ index 5f70acf389a6..4886c9836d50 100644 - 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 @@ -59045,6 +57998,7 @@ index 5f70acf389a6..4886c9836d50 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -59057,8 +58011,9 @@ index 5f70acf389a6..4886c9836d50 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -59076,12 +58031,14 @@ index 5f70acf389a6..4886c9836d50 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -59112,16 +58069,6 @@ index 5f70acf389a6..4886c9836d50 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -59130,35 +58077,37 @@ index 5f70acf389a6..4886c9836d50 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("loss_based_bwe_v1_gn") diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2_gn/moz.build -index 6ce1de1fa51c..0bc507c37d93 100644 +index 5ebab75901fb..f9234083d0be 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -59174,12 +58123,13 @@ index 6ce1de1fa51c..0bc507c37d93 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -59187,13 +58137,14 @@ index 6ce1de1fa51c..0bc507c37d93 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -59205,8 +58156,6 @@ index 6ce1de1fa51c..0bc507c37d93 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -59214,12 +58163,12 @@ index 6ce1de1fa51c..0bc507c37d93 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -59233,7 +58182,6 @@ index 6ce1de1fa51c..0bc507c37d93 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -59257,6 +58205,7 @@ index 6ce1de1fa51c..0bc507c37d93 100644 - 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 @@ -59267,6 +58216,7 @@ index 6ce1de1fa51c..0bc507c37d93 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -59279,8 +58229,9 @@ index 6ce1de1fa51c..0bc507c37d93 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -59298,12 +58249,14 @@ index 6ce1de1fa51c..0bc507c37d93 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -59334,16 +58287,6 @@ index 6ce1de1fa51c..0bc507c37d93 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -59352,35 +58295,37 @@ index 6ce1de1fa51c..0bc507c37d93 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("loss_based_bwe_v2_gn") diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build -index e3825644e1df..d8bd001c8e6d 100644 +index fe99e62ceed1..75d63e37e0c8 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -59396,12 +58341,13 @@ index e3825644e1df..d8bd001c8e6d 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -59409,13 +58355,14 @@ index e3825644e1df..d8bd001c8e6d 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -59427,8 +58374,6 @@ index e3825644e1df..d8bd001c8e6d 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -59436,12 +58381,12 @@ index e3825644e1df..d8bd001c8e6d 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -59455,7 +58400,6 @@ index e3825644e1df..d8bd001c8e6d 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -59479,6 +58423,7 @@ index e3825644e1df..d8bd001c8e6d 100644 - 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 @@ -59489,6 +58434,7 @@ index e3825644e1df..d8bd001c8e6d 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -59501,8 +58447,9 @@ index e3825644e1df..d8bd001c8e6d 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -59520,12 +58467,14 @@ index e3825644e1df..d8bd001c8e6d 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -59556,16 +58505,6 @@ index e3825644e1df..d8bd001c8e6d 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -59574,35 +58513,37 @@ index e3825644e1df..d8bd001c8e6d 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("probe_controller_gn") diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build -index f9d1c2562e6f..529154c4b5e7 100644 +index 15a3540c8e57..4e177daa36cf 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -59618,12 +58559,13 @@ index f9d1c2562e6f..529154c4b5e7 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -59631,13 +58573,14 @@ index f9d1c2562e6f..529154c4b5e7 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -59649,8 +58592,6 @@ index f9d1c2562e6f..529154c4b5e7 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -59658,12 +58599,12 @@ index f9d1c2562e6f..529154c4b5e7 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -59677,7 +58618,6 @@ index f9d1c2562e6f..529154c4b5e7 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -59701,6 +58641,7 @@ index f9d1c2562e6f..529154c4b5e7 100644 - 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 @@ -59711,6 +58652,7 @@ index f9d1c2562e6f..529154c4b5e7 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -59723,8 +58665,9 @@ index f9d1c2562e6f..529154c4b5e7 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -59742,12 +58685,14 @@ index f9d1c2562e6f..529154c4b5e7 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -59778,16 +58723,6 @@ index f9d1c2562e6f..529154c4b5e7 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -59796,35 +58731,37 @@ index f9d1c2562e6f..529154c4b5e7 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("pushback_controller_gn") diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build -index 7d00add70158..383d7aa7785b 100644 +index f761728cf286..69f83dfe2601 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -59840,12 +58777,13 @@ index 7d00add70158..383d7aa7785b 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -59853,13 +58791,14 @@ index 7d00add70158..383d7aa7785b 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -59871,8 +58810,6 @@ index 7d00add70158..383d7aa7785b 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -59880,12 +58817,12 @@ index 7d00add70158..383d7aa7785b 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -59899,7 +58836,6 @@ index 7d00add70158..383d7aa7785b 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -59923,6 +58859,7 @@ index 7d00add70158..383d7aa7785b 100644 - 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 @@ -59933,6 +58870,7 @@ index 7d00add70158..383d7aa7785b 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -59945,8 +58883,9 @@ index 7d00add70158..383d7aa7785b 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -59964,12 +58903,14 @@ index 7d00add70158..383d7aa7785b 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -60000,16 +58941,6 @@ index 7d00add70158..383d7aa7785b 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -60018,35 +58949,37 @@ index 7d00add70158..383d7aa7785b 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("send_side_bwe_gn") diff --git third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build -index e851772ea7b7..97574a0d1d13 100644 +index de753609f9e3..7fa341f5354c 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -60062,12 +58995,13 @@ index e851772ea7b7..97574a0d1d13 100644 +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" -@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -60075,13 +59009,14 @@ index e851772ea7b7..97574a0d1d13 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -60094,8 +59029,6 @@ index e851772ea7b7..97574a0d1d13 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -60103,12 +59036,12 @@ index e851772ea7b7..97574a0d1d13 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -60122,7 +59055,6 @@ index e851772ea7b7..97574a0d1d13 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -60146,6 +59078,7 @@ index e851772ea7b7..97574a0d1d13 100644 - 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 @@ -60156,6 +59089,7 @@ index e851772ea7b7..97574a0d1d13 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -60168,8 +59102,9 @@ index e851772ea7b7..97574a0d1d13 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -60187,12 +59122,14 @@ index e851772ea7b7..97574a0d1d13 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -60223,16 +59160,6 @@ index e851772ea7b7..97574a0d1d13 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -60241,35 +59168,37 @@ index e851772ea7b7..97574a0d1d13 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("control_handler_gn") diff --git third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build -index d86d84b32b52..5a4efa68c0c2 100644 +index a138c2d29534..1baf1c4e4805 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -60285,12 +59214,13 @@ index d86d84b32b52..5a4efa68c0c2 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -60298,13 +59228,14 @@ index d86d84b32b52..5a4efa68c0c2 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -60316,8 +59247,6 @@ index d86d84b32b52..5a4efa68c0c2 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -60325,12 +59254,12 @@ index d86d84b32b52..5a4efa68c0c2 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -60344,7 +59273,6 @@ index d86d84b32b52..5a4efa68c0c2 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -60368,6 +59296,7 @@ index d86d84b32b52..5a4efa68c0c2 100644 - 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 @@ -60378,6 +59307,7 @@ index d86d84b32b52..5a4efa68c0c2 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -60390,8 +59320,9 @@ index d86d84b32b52..5a4efa68c0c2 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -60409,12 +59340,14 @@ index d86d84b32b52..5a4efa68c0c2 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -60445,16 +59378,6 @@ index d86d84b32b52..5a4efa68c0c2 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -60463,35 +59386,37 @@ index d86d84b32b52..5a4efa68c0c2 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("transport_feedback_gn") diff --git third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build -index a467463de4d3..3c0d102a3516 100644 +index bb74015011bd..ce4e69346676 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,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -60508,42 +59433,39 @@ index a467463de4d3..3c0d102a3516 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,111 +54,23 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,104 +55,16 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" -+ DEFINES["_DEBUG"] = True - +- -if CONFIG["OS_TARGET"] == "Darwin": -+if CONFIG["TARGET_CPU"] == "x86": - - CXXFLAGS += [ -+ "-msse2", - "-msse2" - ] - +- +- CXXFLAGS += [ +- "-msse2" +- ] +- - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - -if CONFIG["OS_TARGET"] == "Linux": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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["_GNU_SOURCE"] = True - DEFINES["_LARGEFILE64_SOURCE"] = True - DEFINES["_LARGEFILE_SOURCE"] = True @@ -60551,15 +59473,13 @@ index a467463de4d3..3c0d102a3516 100644 - DEFINES["__STDC_FORMAT_MACROS"] = True - -if CONFIG["OS_TARGET"] == "OpenBSD": -+if CONFIG["TARGET_CPU"] == "x86_64": - - CXXFLAGS += [ - "-msse2" - ] - +- +- CXXFLAGS += [ +- "-msse2" +- ] +- - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -60583,6 +59503,7 @@ index a467463de4d3..3c0d102a3516 100644 - 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 @@ -60593,6 +59514,7 @@ index a467463de4d3..3c0d102a3516 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": @@ -60601,8 +59523,8 @@ index a467463de4d3..3c0d102a3516 100644 - -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": - -- DEFINES["_DEBUG"] = True -- + DEFINES["_DEBUG"] = True + -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_DEBUG"] = True @@ -60611,30 +59533,24 @@ index a467463de4d3..3c0d102a3516 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": ++if CONFIG["TARGET_CPU"] == "x86": - DEFINES["USE_X11"] = "1" + CXXFLAGS += [ + "-msse2", + "-msse2" + ] --if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -- -- CXXFLAGS += [ -- "-msse2", -- "-msse2" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -- -- CXXFLAGS += [ -- "-msse2" -- ] -- - Library("desktop_capture_differ_sse2_gn") ++if CONFIG["TARGET_CPU"] == "x86_64": + + 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 d970f26cd483..d82e84ecfaae 100644 +index bb0eccabacb5..910529387a2f 100644 --- third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build +++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build -@@ -26,11 +26,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -26,12 +26,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -60650,12 +59566,13 @@ index d970f26cd483..d82e84ecfaae 100644 +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" -@@ -82,186 +91,13 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -83,187 +92,14 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -60664,8 +59581,6 @@ index d970f26cd483..d82e84ecfaae 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -60680,12 +59595,12 @@ index d970f26cd483..d82e84ecfaae 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -60708,7 +59623,6 @@ index d970f26cd483..d82e84ecfaae 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["WEBRTC_USE_X11"] = True @@ -60762,6 +59676,7 @@ index d970f26cd483..d82e84ecfaae 100644 - 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 @@ -60772,6 +59687,7 @@ index d970f26cd483..d82e84ecfaae 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -60828,6 +59744,7 @@ index d970f26cd483..d82e84ecfaae 100644 DEFINES["WEBRTC_ARCH_ARM64"] = True DEFINES["WEBRTC_HAS_NEON"] = True +- DEFINES["__ARM_NEON__"] = "1" - -if CONFIG["TARGET_CPU"] == "arm": - @@ -60835,15 +59752,17 @@ index d970f26cd483..d82e84ecfaae 100644 - "-mfpu=neon" - ] - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["WEBRTC_ARCH_ARM"] = True - DEFINES["WEBRTC_ARCH_ARM_V7"] = True - DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["WEBRTC_USE_PIPEWIRE"] = True - DEFINES["_GNU_SOURCE"] = True ++ DEFINES["__ARM_NEON__"] = "1" LOCAL_INCLUDES += [ "/third_party/libepoxy/libepoxy/include/", -@@ -269,7 +105,8 @@ if CONFIG["TARGET_CPU"] == "arm": +@@ -271,7 +107,8 @@ if CONFIG["TARGET_CPU"] == "arm": ] SOURCES += [ @@ -60853,7 +59772,7 @@ index d970f26cd483..d82e84ecfaae 100644 ] UNIFIED_SOURCES += [ -@@ -279,36 +116,9 @@ if CONFIG["TARGET_CPU"] == "arm": +@@ -281,44 +118,16 @@ 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", @@ -60862,7 +59781,6 @@ index d970f26cd483..d82e84ecfaae 100644 - -if CONFIG["TARGET_CPU"] == "loongarch64": - -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_USE_X11"] = True - DEFINES["_GNU_SOURCE"] = True - @@ -60893,7 +59811,8 @@ index d970f26cd483..d82e84ecfaae 100644 ] if CONFIG["TARGET_CPU"] == "mips32": -@@ -316,7 +126,6 @@ if CONFIG["TARGET_CPU"] == "mips32": + +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True DEFINES["WEBRTC_USE_PIPEWIRE"] = True @@ -60901,7 +59820,7 @@ index d970f26cd483..d82e84ecfaae 100644 LOCAL_INCLUDES += [ "/third_party/libepoxy/libepoxy/include/", -@@ -324,7 +133,8 @@ if CONFIG["TARGET_CPU"] == "mips32": +@@ -326,7 +135,8 @@ if CONFIG["TARGET_CPU"] == "mips32": ] SOURCES += [ @@ -60911,7 +59830,7 @@ index d970f26cd483..d82e84ecfaae 100644 ] UNIFIED_SOURCES += [ -@@ -334,13 +144,14 @@ if CONFIG["TARGET_CPU"] == "mips32": +@@ -336,14 +146,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", @@ -60923,12 +59842,13 @@ index d970f26cd483..d82e84ecfaae 100644 if CONFIG["TARGET_CPU"] == "mips64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["WEBRTC_USE_PIPEWIRE"] = True - DEFINES["_GNU_SOURCE"] = True LOCAL_INCLUDES += [ "/third_party/libepoxy/libepoxy/include/", -@@ -348,7 +159,8 @@ if CONFIG["TARGET_CPU"] == "mips64": +@@ -351,7 +161,8 @@ if CONFIG["TARGET_CPU"] == "mips64": ] SOURCES += [ @@ -60938,7 +59858,7 @@ index d970f26cd483..d82e84ecfaae 100644 ] UNIFIED_SOURCES += [ -@@ -358,121 +170,19 @@ if CONFIG["TARGET_CPU"] == "mips64": +@@ -361,121 +172,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", @@ -60947,7 +59867,6 @@ index d970f26cd483..d82e84ecfaae 100644 - -if CONFIG["TARGET_CPU"] == "ppc64": - -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_USE_X11"] = True - - OS_LIBS += [ @@ -61002,6 +59921,7 @@ index d970f26cd483..d82e84ecfaae 100644 - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["WEBRTC_USE_PIPEWIRE"] = True - DEFINES["_GNU_SOURCE"] = True - @@ -61026,7 +59946,6 @@ index d970f26cd483..d82e84ecfaae 100644 - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "riscv64": - -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_USE_X11"] = True - - OS_LIBS += [ @@ -61058,13 +59977,14 @@ index d970f26cd483..d82e84ecfaae 100644 "-msse2" ] +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" + DEFINES["WEBRTC_ENABLE_AVX2"] = True DEFINES["WEBRTC_USE_PIPEWIRE"] = True - DEFINES["_GNU_SOURCE"] = True LOCAL_INCLUDES += [ "/third_party/libepoxy/libepoxy/include/", -@@ -480,7 +190,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": +@@ -483,7 +192,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": ] SOURCES += [ @@ -61074,7 +59994,7 @@ index d970f26cd483..d82e84ecfaae 100644 ] UNIFIED_SOURCES += [ -@@ -490,13 +201,15 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": +@@ -493,14 +203,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", @@ -61087,13 +60007,14 @@ index d970f26cd483..d82e84ecfaae 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": +if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" + DEFINES["WEBRTC_ENABLE_AVX2"] = True DEFINES["WEBRTC_USE_PIPEWIRE"] = True - DEFINES["_GNU_SOURCE"] = True LOCAL_INCLUDES += [ "/third_party/libepoxy/libepoxy/include/", -@@ -504,7 +217,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": +@@ -508,7 +219,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": ] SOURCES += [ @@ -61103,7 +60024,7 @@ index d970f26cd483..d82e84ecfaae 100644 ] UNIFIED_SOURCES += [ -@@ -514,10 +228,12 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": +@@ -518,10 +230,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", @@ -61116,15 +60037,14 @@ index d970f26cd483..d82e84ecfaae 100644 -if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": +if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - DEFINES["USE_X11"] = "1" DEFINES["WEBRTC_USE_X11"] = True -@@ -545,144 +261,61 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGE + +@@ -548,139 +262,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" ] -if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_USE_X11"] = True - - OS_LIBS += [ @@ -61155,11 +60075,10 @@ index d970f26cd483..d82e84ecfaae 100644 ] -if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips32": +- +- DEFINES["WEBRTC_USE_X11"] = True +if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "loongarch64": -- DEFINES["USE_X11"] = "1" -- DEFINES["WEBRTC_USE_X11"] = True -- - OS_LIBS += [ - "X11", - "Xcomposite", @@ -61189,7 +60108,6 @@ index d970f26cd483..d82e84ecfaae 100644 -if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips64": - -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_USE_X11"] = True - - OS_LIBS += [ @@ -61220,11 +60138,10 @@ index d970f26cd483..d82e84ecfaae 100644 ] -if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -- -- DEFINES["USE_X11"] = "1" -- DEFINES["WEBRTC_USE_X11"] = True +if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "ppc64": +- DEFINES["WEBRTC_USE_X11"] = True +- - OS_LIBS += [ - "X11", - "Xcomposite", @@ -61255,7 +60172,6 @@ index d970f26cd483..d82e84ecfaae 100644 -if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": +if not CONFIG["MOZ_X11"] and CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "riscv64": -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_USE_X11"] = True + UNIFIED_SOURCES += [ + "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_null.cc", @@ -61295,7 +60211,7 @@ index d970f26cd483..d82e84ecfaae 100644 Library("desktop_capture_gn") diff --git third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build deleted file mode 100644 -index 6dfb588a9b3e..000000000000 +index 10689fe10c87..000000000000 --- third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build +++ /dev/null @@ -1,80 +0,0 @@ @@ -61325,8 +60241,7 @@ index 6dfb588a9b3e..000000000000 -DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" -DEFINES["WEBRTC_POSIX"] = True -DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" --DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True --DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" +-DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" -DEFINES["__STDC_CONSTANT_MACROS"] = True -DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -61373,6 +60288,7 @@ index 6dfb588a9b3e..000000000000 - - DEFINES["WEBRTC_ARCH_ARM64"] = True - DEFINES["WEBRTC_HAS_NEON"] = True +- DEFINES["__ARM_NEON__"] = "1" - -if CONFIG["TARGET_CPU"] == "x86_64": - @@ -61380,10 +60296,10 @@ index 6dfb588a9b3e..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 72bf241d547a..ad186a14f80e 100644 +index 01014575f586..bdf8133ac2ab 100644 --- third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build +++ third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -61399,12 +60315,13 @@ index 72bf241d547a..ad186a14f80e 100644 +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" -@@ -50,171 +59,31 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -51,69 +60,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -61413,8 +60330,6 @@ index 72bf241d547a..ad186a14f80e 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -61422,12 +60337,12 @@ index 72bf241d547a..ad186a14f80e 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -61437,7 +60352,6 @@ index 72bf241d547a..ad186a14f80e 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -61461,6 +60375,7 @@ index 72bf241d547a..ad186a14f80e 100644 - 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 @@ -61471,13 +60386,15 @@ index 72bf241d547a..ad186a14f80e 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -121,75 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -61485,6 +60402,7 @@ index 72bf241d547a..ad186a14f80e 100644 - "-mfpu=neon" - ] - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["WEBRTC_ARCH_ARM"] = True - DEFINES["WEBRTC_ARCH_ARM_V7"] = True - DEFINES["WEBRTC_HAS_NEON"] = True @@ -61492,22 +60410,19 @@ index 72bf241d547a..ad186a14f80e 100644 - -if CONFIG["TARGET_CPU"] == "loongarch64": - -- DEFINES["USE_X11"] = "1" - DEFINES["_GNU_SOURCE"] = True - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -- --if CONFIG["TARGET_CPU"] == "ppc64": -- -- DEFINES["USE_X11"] = "1" if CONFIG["TARGET_CPU"] == "x86": @@ -61535,57 +60450,32 @@ index 72bf241d547a..ad186a14f80e 100644 - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - --if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "riscv64": -- -- DEFINES["USE_X11"] = "1" -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ "-msse2" ] +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -- --if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -- -- DEFINES["_GNU_SOURCE"] = True -- --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips32": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips64": -- -- DEFINES["USE_X11"] = "1" + DEFINES["WEBRTC_ENABLE_AVX2"] = True --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": +if CONFIG["TARGET_CPU"] == "x86_64": -- DEFINES["USE_X11"] = "1" +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" +- DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - + Library("primitives_gn") diff --git third_party/libwebrtc/modules/module_api_gn/moz.build third_party/libwebrtc/modules/module_api_gn/moz.build -index c74dc2329ad2..05900bc205d7 100644 +index dc2973b9cf30..337c9f2ecf73 100644 --- third_party/libwebrtc/modules/module_api_gn/moz.build +++ third_party/libwebrtc/modules/module_api_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -61601,12 +60491,13 @@ index c74dc2329ad2..05900bc205d7 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -61614,13 +60505,14 @@ index c74dc2329ad2..05900bc205d7 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -61628,8 +60520,6 @@ index c74dc2329ad2..05900bc205d7 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -61637,12 +60527,12 @@ index c74dc2329ad2..05900bc205d7 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -61652,7 +60542,6 @@ index c74dc2329ad2..05900bc205d7 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -61676,6 +60565,7 @@ index c74dc2329ad2..05900bc205d7 100644 - 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 @@ -61686,13 +60576,15 @@ index c74dc2329ad2..05900bc205d7 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -61706,17 +60598,19 @@ index c74dc2329ad2..05900bc205d7 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -61740,39 +60634,32 @@ index c74dc2329ad2..05900bc205d7 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("module_api_gn") diff --git third_party/libwebrtc/modules/module_api_public_gn/moz.build third_party/libwebrtc/modules/module_api_public_gn/moz.build -index 2eda098fe6fe..e83796e2fe16 100644 +index 6d33e7daab36..839f6c74eae3 100644 --- third_party/libwebrtc/modules/module_api_public_gn/moz.build +++ third_party/libwebrtc/modules/module_api_public_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -61788,12 +60675,13 @@ index 2eda098fe6fe..e83796e2fe16 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -61801,13 +60689,14 @@ index 2eda098fe6fe..e83796e2fe16 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -61815,8 +60704,6 @@ index 2eda098fe6fe..e83796e2fe16 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -61824,12 +60711,12 @@ index 2eda098fe6fe..e83796e2fe16 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -61839,7 +60726,6 @@ index 2eda098fe6fe..e83796e2fe16 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -61863,6 +60749,7 @@ index 2eda098fe6fe..e83796e2fe16 100644 - 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 @@ -61873,13 +60760,15 @@ index 2eda098fe6fe..e83796e2fe16 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -61893,17 +60782,19 @@ index 2eda098fe6fe..e83796e2fe16 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -61927,39 +60818,32 @@ index 2eda098fe6fe..e83796e2fe16 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("module_api_public_gn") diff --git third_party/libwebrtc/modules/module_fec_api_gn/moz.build third_party/libwebrtc/modules/module_fec_api_gn/moz.build -index d2c1054abbb3..aacac81ad58d 100644 +index 475b09f4c734..672cf6f29d67 100644 --- third_party/libwebrtc/modules/module_fec_api_gn/moz.build +++ third_party/libwebrtc/modules/module_fec_api_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -61975,12 +60859,13 @@ index d2c1054abbb3..aacac81ad58d 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -61988,13 +60873,14 @@ index d2c1054abbb3..aacac81ad58d 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -62002,8 +60888,6 @@ index d2c1054abbb3..aacac81ad58d 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -62011,12 +60895,12 @@ index d2c1054abbb3..aacac81ad58d 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -62026,7 +60910,6 @@ index d2c1054abbb3..aacac81ad58d 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -62050,6 +60933,7 @@ index d2c1054abbb3..aacac81ad58d 100644 - 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 @@ -62060,13 +60944,15 @@ index d2c1054abbb3..aacac81ad58d 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -62080,17 +60966,19 @@ index d2c1054abbb3..aacac81ad58d 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -62114,39 +61002,32 @@ index d2c1054abbb3..aacac81ad58d 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("module_fec_api_gn") diff --git third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build -index dbad013ebaab..874ca10c419f 100644 +index 41aa2b86121e..e5fa03b0ee5a 100644 --- third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build +++ third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -62162,12 +61043,13 @@ index dbad013ebaab..874ca10c419f 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -62175,13 +61057,14 @@ index dbad013ebaab..874ca10c419f 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -62193,8 +61076,6 @@ index dbad013ebaab..874ca10c419f 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -62202,12 +61083,12 @@ index dbad013ebaab..874ca10c419f 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -62217,7 +61098,6 @@ index dbad013ebaab..874ca10c419f 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -62241,6 +61121,7 @@ index dbad013ebaab..874ca10c419f 100644 - 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 @@ -62251,13 +61132,15 @@ index dbad013ebaab..874ca10c419f 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -62275,12 +61158,14 @@ index dbad013ebaab..874ca10c419f 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -62311,16 +61196,6 @@ index dbad013ebaab..874ca10c419f 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -62329,35 +61204,37 @@ index dbad013ebaab..874ca10c419f 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("interval_budget_gn") diff --git third_party/libwebrtc/modules/pacing/pacing_gn/moz.build third_party/libwebrtc/modules/pacing/pacing_gn/moz.build -index 5c92e55d39bc..9009b4168a4a 100644 +index 3a8aadf7520a..b2475e0598ec 100644 --- third_party/libwebrtc/modules/pacing/pacing_gn/moz.build +++ third_party/libwebrtc/modules/pacing/pacing_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -62373,12 +61250,13 @@ index 5c92e55d39bc..9009b4168a4a 100644 +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" -@@ -51,191 +60,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -52,99 +61,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -62386,13 +61264,14 @@ index 5c92e55d39bc..9009b4168a4a 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -62405,8 +61284,6 @@ index 5c92e55d39bc..9009b4168a4a 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -62414,12 +61291,12 @@ index 5c92e55d39bc..9009b4168a4a 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -62433,7 +61310,6 @@ index 5c92e55d39bc..9009b4168a4a 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -62457,6 +61333,7 @@ index 5c92e55d39bc..9009b4168a4a 100644 - 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 @@ -62467,6 +61344,7 @@ index 5c92e55d39bc..9009b4168a4a 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -62479,8 +61357,9 @@ index 5c92e55d39bc..9009b4168a4a 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -152,88 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -62498,12 +61377,14 @@ index 5c92e55d39bc..9009b4168a4a 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -62534,16 +61415,6 @@ index 5c92e55d39bc..9009b4168a4a 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -62552,41 +61423,46 @@ index 5c92e55d39bc..9009b4168a4a 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("pacing_gn") diff --git third_party/libwebrtc/modules/portal/portal_gn/moz.build third_party/libwebrtc/modules/portal/portal_gn/moz.build -index f1c8da12d37b..96ed5cd87c1b 100644 +index 7b2dd2e68dab..8ae0b121e5f3 100644 --- third_party/libwebrtc/modules/portal/portal_gn/moz.build +++ third_party/libwebrtc/modules/portal/portal_gn/moz.build -@@ -26,21 +26,17 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -23,25 +23,20 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] + AllowCompilerWarnings() + + DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +-DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True -DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" --DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" -DEFINES["USE_UDEV"] = True +DEFINES["WEBRTC_BSD"] = True @@ -62599,13 +61475,14 @@ index f1c8da12d37b..96ed5cd87c1b 100644 DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" DEFINES["WEBRTC_USE_PIPEWIRE"] = True DEFINES["_FILE_OFFSET_BITS"] = "64" +-DEFINES["_GLIBCXX_ASSERTIONS"] = "1" -DEFINES["_GNU_SOURCE"] = True DEFINES["_LARGEFILE64_SOURCE"] = True DEFINES["_LARGEFILE_SOURCE"] = True - DEFINES["__STDC_CONSTANT_MACROS"] = True -@@ -82,16 +78,6 @@ if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +@@ -85,16 +80,6 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -62620,20 +61497,11 @@ index f1c8da12d37b..96ed5cd87c1b 100644 if CONFIG["TARGET_CPU"] == "mips32": DEFINES["MIPS32_LE"] = True -@@ -109,7 +95,7 @@ if CONFIG["TARGET_CPU"] == "x86_64": - - DEFINES["WEBRTC_ENABLE_AVX2"] = True - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - 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 0e74f3d662be..6c6ff431f9cd 100644 +index 8db74436c471..ff74acabfdc7 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -62649,12 +61517,13 @@ index 0e74f3d662be..6c6ff431f9cd 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -62662,13 +61531,14 @@ index 0e74f3d662be..6c6ff431f9cd 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -62680,8 +61550,6 @@ index 0e74f3d662be..6c6ff431f9cd 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -62689,12 +61557,12 @@ index 0e74f3d662be..6c6ff431f9cd 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -62708,7 +61576,6 @@ index 0e74f3d662be..6c6ff431f9cd 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -62732,6 +61599,7 @@ index 0e74f3d662be..6c6ff431f9cd 100644 - 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 @@ -62742,6 +61610,7 @@ index 0e74f3d662be..6c6ff431f9cd 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -62754,8 +61623,9 @@ index 0e74f3d662be..6c6ff431f9cd 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -62773,12 +61643,14 @@ index 0e74f3d662be..6c6ff431f9cd 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -62809,16 +61681,6 @@ index 0e74f3d662be..6c6ff431f9cd 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -62827,35 +61689,37 @@ index 0e74f3d662be..6c6ff431f9cd 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("congestion_control_feedback_generator_gn") diff --git third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build -index 0476715240a8..1f2aa0c4a22a 100644 +index 3eb4c8ecefbf..2f3e78cae342 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -62871,12 +61735,13 @@ index 0476715240a8..1f2aa0c4a22a 100644 +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" -@@ -53,190 +62,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -54,98 +63,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -62884,13 +61749,14 @@ index 0476715240a8..1f2aa0c4a22a 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -62902,8 +61768,6 @@ index 0476715240a8..1f2aa0c4a22a 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -62911,12 +61775,12 @@ index 0476715240a8..1f2aa0c4a22a 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -62930,7 +61794,6 @@ index 0476715240a8..1f2aa0c4a22a 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -62954,6 +61817,7 @@ index 0476715240a8..1f2aa0c4a22a 100644 - 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 @@ -62964,6 +61828,7 @@ index 0476715240a8..1f2aa0c4a22a 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -62976,8 +61841,9 @@ index 0476715240a8..1f2aa0c4a22a 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -153,88 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -62995,12 +61861,14 @@ index 0476715240a8..1f2aa0c4a22a 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -63031,16 +61899,6 @@ index 0476715240a8..1f2aa0c4a22a 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -63049,35 +61907,37 @@ index 0476715240a8..1f2aa0c4a22a 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("remote_bitrate_estimator_gn") diff --git third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build -index 8a7680e3abc4..e299f01db387 100644 +index 5e8620fba584..a9796d7a88e3 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -63093,12 +61953,13 @@ index 8a7680e3abc4..e299f01db387 100644 +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" -@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -63106,13 +61967,14 @@ index 8a7680e3abc4..e299f01db387 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -63124,8 +61986,6 @@ index 8a7680e3abc4..e299f01db387 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -63133,12 +61993,12 @@ index 8a7680e3abc4..e299f01db387 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -63152,7 +62012,6 @@ index 8a7680e3abc4..e299f01db387 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -63176,6 +62035,7 @@ index 8a7680e3abc4..e299f01db387 100644 - 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 @@ -63186,6 +62046,7 @@ index 8a7680e3abc4..e299f01db387 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -63198,8 +62059,9 @@ index 8a7680e3abc4..e299f01db387 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -63213,17 +62075,19 @@ index 8a7680e3abc4..e299f01db387 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -63247,39 +62111,32 @@ index 8a7680e3abc4..e299f01db387 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("rtp_transport_feedback_generator_gn") diff --git third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build -index d85dcbe3e6ba..3383c0082bf9 100644 +index 20277b83caca..bf3b9dea49cf 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -63295,12 +62152,13 @@ index d85dcbe3e6ba..3383c0082bf9 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -63308,13 +62166,14 @@ index d85dcbe3e6ba..3383c0082bf9 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -63326,8 +62185,6 @@ index d85dcbe3e6ba..3383c0082bf9 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -63335,12 +62192,12 @@ index d85dcbe3e6ba..3383c0082bf9 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -63354,7 +62211,6 @@ index d85dcbe3e6ba..3383c0082bf9 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -63378,6 +62234,7 @@ index d85dcbe3e6ba..3383c0082bf9 100644 - 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 @@ -63388,6 +62245,7 @@ index d85dcbe3e6ba..3383c0082bf9 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -63400,8 +62258,9 @@ index d85dcbe3e6ba..3383c0082bf9 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -63419,12 +62278,14 @@ index d85dcbe3e6ba..3383c0082bf9 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -63455,16 +62316,6 @@ index d85dcbe3e6ba..3383c0082bf9 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -63473,35 +62324,37 @@ index d85dcbe3e6ba..3383c0082bf9 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("transport_sequence_number_feedback_generator_gn") diff --git third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build -index e3cb470c6df3..ba3510e10044 100644 +index 3e8b1cf6e300..ef370db38e0a 100644 --- third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build +++ third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -63517,12 +62370,13 @@ index e3cb470c6df3..ba3510e10044 100644 +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" -@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -63530,13 +62384,14 @@ index e3cb470c6df3..ba3510e10044 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -63544,8 +62399,6 @@ index e3cb470c6df3..ba3510e10044 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -63553,12 +62406,12 @@ index e3cb470c6df3..ba3510e10044 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -63568,7 +62421,6 @@ index e3cb470c6df3..ba3510e10044 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -63592,6 +62444,7 @@ index e3cb470c6df3..ba3510e10044 100644 - 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 @@ -63602,13 +62455,15 @@ index e3cb470c6df3..ba3510e10044 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -63626,12 +62481,14 @@ index e3cb470c6df3..ba3510e10044 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -63662,53 +62519,45 @@ index e3cb470c6df3..ba3510e10044 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- OS_LIBS += [ -- "unwind" +- CXXFLAGS += [ +- "-msse2" - ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": -- - CXXFLAGS += [ - "-msse2" - ] - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - -- CXXFLAGS += [ -- "-msse2" -- ] -+if CONFIG["TARGET_CPU"] == "x86_64": +- + CXXFLAGS += [ + "-msse2" + ] +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("leb128_gn") diff --git third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build -index 82b258c97e2a..9413e74bf451 100644 +index 22461d2e8ac1..3f4871522269 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -63724,12 +62573,13 @@ index 82b258c97e2a..9413e74bf451 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -63737,13 +62587,14 @@ index 82b258c97e2a..9413e74bf451 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -63755,8 +62606,6 @@ index 82b258c97e2a..9413e74bf451 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -63764,12 +62613,12 @@ index 82b258c97e2a..9413e74bf451 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -63783,7 +62632,6 @@ index 82b258c97e2a..9413e74bf451 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -63807,6 +62655,7 @@ index 82b258c97e2a..9413e74bf451 100644 - 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 @@ -63817,6 +62666,7 @@ index 82b258c97e2a..9413e74bf451 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -63829,8 +62679,9 @@ index 82b258c97e2a..9413e74bf451 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -63848,12 +62699,14 @@ index 82b258c97e2a..9413e74bf451 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -63884,16 +62737,6 @@ index 82b258c97e2a..9413e74bf451 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -63902,35 +62745,37 @@ index 82b258c97e2a..9413e74bf451 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("ntp_time_util_gn") diff --git third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build -index aabfc69f25b7..0ea4d705891b 100644 +index 4973c6f42fc3..e1036d5d5ed3 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -63946,12 +62791,13 @@ index aabfc69f25b7..0ea4d705891b 100644 +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" -@@ -88,190 +97,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -89,98 +98,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -63959,13 +62805,14 @@ index aabfc69f25b7..0ea4d705891b 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -63977,8 +62824,6 @@ index aabfc69f25b7..0ea4d705891b 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -63986,12 +62831,12 @@ index aabfc69f25b7..0ea4d705891b 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -64005,7 +62850,6 @@ index aabfc69f25b7..0ea4d705891b 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -64029,6 +62873,7 @@ index aabfc69f25b7..0ea4d705891b 100644 - 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 @@ -64039,6 +62884,7 @@ index aabfc69f25b7..0ea4d705891b 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -64051,8 +62897,9 @@ index aabfc69f25b7..0ea4d705891b 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -188,88 +106,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -64070,12 +62917,14 @@ index aabfc69f25b7..0ea4d705891b 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -64106,16 +62955,6 @@ index aabfc69f25b7..0ea4d705891b 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -64124,35 +62963,37 @@ index aabfc69f25b7..0ea4d705891b 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rtp_rtcp_format_gn") diff --git third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build -index 802375393ae2..c3e90068aa32 100644 +index 8d03d716247e..30fe5eee6b4a 100644 --- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build +++ third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -64168,12 +63009,13 @@ index 802375393ae2..c3e90068aa32 100644 +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" -@@ -98,191 +107,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -99,99 +108,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -64181,13 +63023,14 @@ index 802375393ae2..c3e90068aa32 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -64200,8 +63043,6 @@ index 802375393ae2..c3e90068aa32 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -64209,12 +63050,12 @@ index 802375393ae2..c3e90068aa32 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -64228,7 +63069,6 @@ index 802375393ae2..c3e90068aa32 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -64252,6 +63092,7 @@ index 802375393ae2..c3e90068aa32 100644 - 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 @@ -64262,6 +63103,7 @@ index 802375393ae2..c3e90068aa32 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -64274,8 +63116,9 @@ index 802375393ae2..c3e90068aa32 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -199,88 +116,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -64293,12 +63136,14 @@ index 802375393ae2..c3e90068aa32 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -64329,16 +63174,6 @@ index 802375393ae2..c3e90068aa32 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -64347,35 +63182,37 @@ index 802375393ae2..c3e90068aa32 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rtp_rtcp_gn") diff --git third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build -index 97656d77e72f..601db653d6b4 100644 +index ac9aa3861dba..4fdbcc2a4cf3 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -64391,12 +63228,13 @@ index 97656d77e72f..601db653d6b4 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -64404,13 +63242,14 @@ index 97656d77e72f..601db653d6b4 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -64422,8 +63261,6 @@ index 97656d77e72f..601db653d6b4 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -64431,12 +63268,12 @@ index 97656d77e72f..601db653d6b4 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -64446,7 +63283,6 @@ index 97656d77e72f..601db653d6b4 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -64470,6 +63306,7 @@ index 97656d77e72f..601db653d6b4 100644 - 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 @@ -64480,6 +63317,7 @@ index 97656d77e72f..601db653d6b4 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -64492,8 +63330,9 @@ index 97656d77e72f..601db653d6b4 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -64511,12 +63350,14 @@ index 97656d77e72f..601db653d6b4 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -64547,16 +63388,6 @@ index 97656d77e72f..601db653d6b4 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -64565,35 +63396,37 @@ index 97656d77e72f..601db653d6b4 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rtp_video_header_gn") diff --git third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build -index 1ace30b6be87..a70c2f504f0a 100644 +index 79d42dc8f023..e1008c73ce89 100644 --- third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build +++ third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -64609,12 +63442,13 @@ index 1ace30b6be87..a70c2f504f0a 100644 +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" -@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -64622,13 +63456,14 @@ index 1ace30b6be87..a70c2f504f0a 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -64636,8 +63471,6 @@ index 1ace30b6be87..a70c2f504f0a 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -64645,12 +63478,12 @@ index 1ace30b6be87..a70c2f504f0a 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -64660,7 +63493,6 @@ index 1ace30b6be87..a70c2f504f0a 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -64684,6 +63516,7 @@ index 1ace30b6be87..a70c2f504f0a 100644 - 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 @@ -64694,13 +63527,15 @@ index 1ace30b6be87..a70c2f504f0a 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -64718,12 +63553,14 @@ index 1ace30b6be87..a70c2f504f0a 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -64754,53 +63591,45 @@ index 1ace30b6be87..a70c2f504f0a 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- OS_LIBS += [ -- "unwind" +- CFLAGS += [ +- "-msse2" - ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": -- - CFLAGS += [ - "-msse2" - ] - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - -- CFLAGS += [ -- "-msse2" -- ] -+if CONFIG["TARGET_CPU"] == "x86_64": +- + CFLAGS += [ + "-msse2" + ] +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("fft_gn") diff --git third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build -index 54f41d0579ad..5c4296426bc2 100644 +index 33874d3f7d79..4bbe0d22f839 100644 --- third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build +++ third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -64816,12 +63645,13 @@ index 54f41d0579ad..5c4296426bc2 100644 +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" -@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -64829,13 +63659,14 @@ index 54f41d0579ad..5c4296426bc2 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -64843,8 +63674,6 @@ index 54f41d0579ad..5c4296426bc2 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -64852,12 +63681,12 @@ index 54f41d0579ad..5c4296426bc2 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -64867,7 +63696,6 @@ index 54f41d0579ad..5c4296426bc2 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -64891,6 +63719,7 @@ index 54f41d0579ad..5c4296426bc2 100644 - 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 @@ -64901,13 +63730,15 @@ index 54f41d0579ad..5c4296426bc2 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -64925,12 +63756,14 @@ index 54f41d0579ad..5c4296426bc2 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -64961,53 +63794,45 @@ index 54f41d0579ad..5c4296426bc2 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- OS_LIBS += [ -- "unwind" +- CFLAGS += [ +- "-msse2" - ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": -- - CFLAGS += [ - "-msse2" - ] - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - -- CFLAGS += [ -- "-msse2" -- ] -+if CONFIG["TARGET_CPU"] == "x86_64": +- + CFLAGS += [ + "-msse2" + ] +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("g711_3p_gn") diff --git third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build -index 1f21b3fea9d8..7a39abd06a9a 100644 +index 66badf120ce2..84d7154c3894 100644 --- third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build +++ third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -65023,12 +63848,13 @@ index 1f21b3fea9d8..7a39abd06a9a 100644 +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" -@@ -48,175 +57,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -49,83 +58,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -65036,13 +63862,14 @@ index 1f21b3fea9d8..7a39abd06a9a 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -65050,8 +63877,6 @@ index 1f21b3fea9d8..7a39abd06a9a 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -65059,12 +63884,12 @@ index 1f21b3fea9d8..7a39abd06a9a 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -65074,7 +63899,6 @@ index 1f21b3fea9d8..7a39abd06a9a 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -65098,6 +63922,7 @@ index 1f21b3fea9d8..7a39abd06a9a 100644 - 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 @@ -65108,13 +63933,15 @@ index 1f21b3fea9d8..7a39abd06a9a 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -65132,12 +63959,14 @@ index 1f21b3fea9d8..7a39abd06a9a 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -65168,53 +63997,45 @@ index 1f21b3fea9d8..7a39abd06a9a 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- OS_LIBS += [ -- "unwind" +- CFLAGS += [ +- "-msse2" - ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": -- - CFLAGS += [ - "-msse2" - ] - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - -- CFLAGS += [ -- "-msse2" -- ] -+if CONFIG["TARGET_CPU"] == "x86_64": +- + CFLAGS += [ + "-msse2" + ] +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("g722_3p_gn") diff --git third_party/libwebrtc/modules/utility/utility_gn/moz.build third_party/libwebrtc/modules/utility/utility_gn/moz.build -index fa5016332f35..76f5db2df779 100644 +index 75e5385a1fd6..7e1723cc34a1 100644 --- third_party/libwebrtc/modules/utility/utility_gn/moz.build +++ third_party/libwebrtc/modules/utility/utility_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -65230,12 +64051,13 @@ index fa5016332f35..76f5db2df779 100644 +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" -@@ -40,116 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,91 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -65243,13 +64065,14 @@ index fa5016332f35..76f5db2df779 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -65265,8 +64088,6 @@ index fa5016332f35..76f5db2df779 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -65274,12 +64095,12 @@ index fa5016332f35..76f5db2df779 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -65289,7 +64110,6 @@ index fa5016332f35..76f5db2df779 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -65313,6 +64133,7 @@ index fa5016332f35..76f5db2df779 100644 - 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 @@ -65323,13 +64144,15 @@ index fa5016332f35..76f5db2df779 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -65343,17 +64166,19 @@ index fa5016332f35..76f5db2df779 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -159,60 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -163,56 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -65377,21 +64202,12 @@ index fa5016332f35..76f5db2df779 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": - - CXXFLAGS += [ - "-mfpu=neon" - ] - -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - - CXXFLAGS += [ @@ -65400,26 +64216,30 @@ index fa5016332f35..76f5db2df779 100644 - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("utility_gn") diff --git third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build -index 2ccd1a6b4b98..35334d6e005d 100644 +index 8abb93cac015..8f17ef2445a8 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,11 +18,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -18,12 +18,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -65435,12 +64255,13 @@ index 2ccd1a6b4b98..35334d6e005d 100644 +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" -@@ -37,6 +46,10 @@ LOCAL_INCLUDES += [ +@@ -38,6 +47,10 @@ LOCAL_INCLUDES += [ ] UNIFIED_SOURCES += [ @@ -65451,7 +64272,7 @@ index 2ccd1a6b4b98..35334d6e005d 100644 "/third_party/libwebrtc/modules/video_capture/video_capture_options.cc" ] -@@ -49,170 +62,13 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -50,173 +63,14 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -65459,13 +64280,14 @@ index 2ccd1a6b4b98..35334d6e005d 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -65477,8 +64299,6 @@ index 2ccd1a6b4b98..35334d6e005d 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -65486,12 +64306,12 @@ index 2ccd1a6b4b98..35334d6e005d 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -65512,7 +64332,6 @@ index 2ccd1a6b4b98..35334d6e005d 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -65543,6 +64362,7 @@ index 2ccd1a6b4b98..35334d6e005d 100644 - 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 @@ -65553,6 +64373,7 @@ index 2ccd1a6b4b98..35334d6e005d 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -65582,6 +64403,7 @@ index 2ccd1a6b4b98..35334d6e005d 100644 DEFINES["WEBRTC_ARCH_ARM64"] = True DEFINES["WEBRTC_HAS_NEON"] = True +- DEFINES["__ARM_NEON__"] = "1" - -if CONFIG["TARGET_CPU"] == "arm": - @@ -65599,6 +64421,7 @@ index 2ccd1a6b4b98..35334d6e005d 100644 - -if CONFIG["TARGET_CPU"] == "mips32": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["MIPS32_LE"] = True - DEFINES["MIPS_FPU_LE"] = True - DEFINES["WEBRTC_USE_PIPEWIRE"] = True @@ -65618,12 +64441,14 @@ index 2ccd1a6b4b98..35334d6e005d 100644 - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["WEBRTC_USE_PIPEWIRE"] = True - DEFINES["_GNU_SOURCE"] = True ++ DEFINES["__ARM_NEON__"] = "1" LOCAL_INCLUDES += [ "/third_party/libepoxy/libepoxy/include/", -@@ -226,54 +82,11 @@ if CONFIG["TARGET_CPU"] == "mips64": +@@ -230,45 +84,11 @@ if CONFIG["TARGET_CPU"] == "mips64": "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc" ] @@ -65655,16 +64480,6 @@ index 2ccd1a6b4b98..35334d6e005d 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - - CXXFLAGS += [ @@ -65674,6 +64489,7 @@ index 2ccd1a6b4b98..35334d6e005d 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": +if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" + DEFINES["MIPS32_LE"] = True + DEFINES["MIPS_FPU_LE"] = True DEFINES["WEBRTC_USE_PIPEWIRE"] = True @@ -65681,19 +64497,20 @@ index 2ccd1a6b4b98..35334d6e005d 100644 LOCAL_INCLUDES += [ "/third_party/libepoxy/libepoxy/include/", -@@ -287,10 +100,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": +@@ -282,11 +102,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc" ] -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": +if CONFIG["TARGET_CPU"] == "mips64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["WEBRTC_USE_PIPEWIRE"] = True - DEFINES["_GNU_SOURCE"] = True LOCAL_INCLUDES += [ "/third_party/libepoxy/libepoxy/include/", -@@ -304,14 +116,14 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": +@@ -300,15 +118,14 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc" ] @@ -65704,39 +64521,32 @@ index 2ccd1a6b4b98..35334d6e005d 100644 "-msse2" ] +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" + DEFINES["WEBRTC_ENABLE_AVX2"] = True DEFINES["WEBRTC_USE_PIPEWIRE"] = True - DEFINES["_GNU_SOURCE"] = True LOCAL_INCLUDES += [ "/third_party/libepoxy/libepoxy/include/", -@@ -325,10 +137,10 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": +@@ -322,11 +139,10 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc" ] -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": +if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" + DEFINES["WEBRTC_ENABLE_AVX2"] = True DEFINES["WEBRTC_USE_PIPEWIRE"] = True - DEFINES["_GNU_SOURCE"] = True LOCAL_INCLUDES += [ "/third_party/libepoxy/libepoxy/include/", -@@ -342,4 +154,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc" - ] - -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": -+ -+ DEFINES["USE_X11"] = "1" -+ - Library("video_capture_internal_impl_gn") 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 63ea4f06c231..0a5aa0faeb03 100644 +index 08b0c7681680..1de2577347e3 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -65752,12 +64562,13 @@ index 63ea4f06c231..0a5aa0faeb03 100644 +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" -@@ -48,190 +57,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -49,98 +58,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -65765,13 +64576,14 @@ index 63ea4f06c231..0a5aa0faeb03 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -65783,8 +64595,6 @@ index 63ea4f06c231..0a5aa0faeb03 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -65792,12 +64602,12 @@ index 63ea4f06c231..0a5aa0faeb03 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -65811,7 +64621,6 @@ index 63ea4f06c231..0a5aa0faeb03 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -65835,6 +64644,7 @@ index 63ea4f06c231..0a5aa0faeb03 100644 - 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 @@ -65845,6 +64655,7 @@ index 63ea4f06c231..0a5aa0faeb03 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -65857,8 +64668,9 @@ index 63ea4f06c231..0a5aa0faeb03 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -148,88 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -65876,12 +64688,14 @@ index 63ea4f06c231..0a5aa0faeb03 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -65912,16 +64726,6 @@ index 63ea4f06c231..0a5aa0faeb03 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -65930,35 +64734,37 @@ index 63ea4f06c231..0a5aa0faeb03 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("video_capture_module_gn") diff --git third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build -index 2df6e3909ab8..db15b3bf5bca 100644 +index 5a8d69fea389..547ecef4a238 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -65974,12 +64780,13 @@ index 2df6e3909ab8..db15b3bf5bca 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -65987,13 +64794,14 @@ index 2df6e3909ab8..db15b3bf5bca 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -66005,8 +64813,6 @@ index 2df6e3909ab8..db15b3bf5bca 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -66014,12 +64820,12 @@ index 2df6e3909ab8..db15b3bf5bca 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -66029,7 +64835,6 @@ index 2df6e3909ab8..db15b3bf5bca 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -66053,6 +64858,7 @@ index 2df6e3909ab8..db15b3bf5bca 100644 - 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 @@ -66063,6 +64869,7 @@ index 2df6e3909ab8..db15b3bf5bca 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -66075,8 +64882,9 @@ index 2df6e3909ab8..db15b3bf5bca 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -66094,12 +64902,14 @@ index 2df6e3909ab8..db15b3bf5bca 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -66130,16 +64940,6 @@ index 2df6e3909ab8..db15b3bf5bca 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -66148,35 +64948,37 @@ index 2df6e3909ab8..db15b3bf5bca 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("chain_diff_calculator_gn") diff --git third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build -index 45a85d4689af..7524313fb884 100644 +index 62f329321798..e8246dd5319b 100644 --- third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -66192,12 +64994,13 @@ index 45a85d4689af..7524313fb884 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -66205,13 +65008,14 @@ index 45a85d4689af..7524313fb884 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -66223,8 +65027,6 @@ index 45a85d4689af..7524313fb884 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -66232,12 +65034,12 @@ index 45a85d4689af..7524313fb884 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -66247,7 +65049,6 @@ index 45a85d4689af..7524313fb884 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -66271,6 +65072,7 @@ index 45a85d4689af..7524313fb884 100644 - 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 @@ -66281,13 +65083,15 @@ index 45a85d4689af..7524313fb884 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -66301,17 +65105,19 @@ index 45a85d4689af..7524313fb884 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -66335,39 +65141,32 @@ index 45a85d4689af..7524313fb884 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("codec_globals_headers_gn") diff --git third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build -index 381bc1435c28..9fe0c94db192 100644 +index 30a63e90512b..5f375dd1a7ec 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -66383,12 +65182,13 @@ index 381bc1435c28..9fe0c94db192 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -66396,13 +65196,14 @@ index 381bc1435c28..9fe0c94db192 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -66414,8 +65215,6 @@ index 381bc1435c28..9fe0c94db192 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -66423,12 +65222,12 @@ index 381bc1435c28..9fe0c94db192 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -66442,7 +65241,6 @@ index 381bc1435c28..9fe0c94db192 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -66466,6 +65264,7 @@ index 381bc1435c28..9fe0c94db192 100644 - 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 @@ -66476,6 +65275,7 @@ index 381bc1435c28..9fe0c94db192 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -66488,8 +65288,9 @@ index 381bc1435c28..9fe0c94db192 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -66507,12 +65308,14 @@ index 381bc1435c28..9fe0c94db192 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -66543,16 +65346,6 @@ index 381bc1435c28..9fe0c94db192 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -66561,35 +65354,37 @@ index 381bc1435c28..9fe0c94db192 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("av1_svc_config_gn") diff --git third_party/libwebrtc/modules/video_coding/codecs/av1/dav1d_decoder_gn/moz.build third_party/libwebrtc/modules/video_coding/codecs/av1/dav1d_decoder_gn/moz.build -index dd189a4ac494..04f426de8930 100644 +index 5173a05890e8..4806285f2ec8 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,11 +16,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -16,12 +16,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -66605,12 +65400,13 @@ index dd189a4ac494..04f426de8930 100644 +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" -@@ -51,190 +60,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -52,98 +61,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -66618,13 +65414,14 @@ index dd189a4ac494..04f426de8930 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -66636,8 +65433,6 @@ index dd189a4ac494..04f426de8930 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -66645,12 +65440,12 @@ index dd189a4ac494..04f426de8930 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -66664,7 +65459,6 @@ index dd189a4ac494..04f426de8930 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -66688,6 +65482,7 @@ index dd189a4ac494..04f426de8930 100644 - 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 @@ -66698,6 +65493,7 @@ index dd189a4ac494..04f426de8930 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -66710,8 +65506,9 @@ index dd189a4ac494..04f426de8930 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -151,88 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -66729,12 +65526,14 @@ index dd189a4ac494..04f426de8930 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -66765,16 +65564,6 @@ index dd189a4ac494..04f426de8930 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -66783,35 +65572,37 @@ index dd189a4ac494..04f426de8930 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("dav1d_decoder_gn") diff --git third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build -index 7ebe8089b1b2..0ef5c393600b 100644 +index ef0e22afe400..2ca8f169f6b1 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,11 +16,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -16,12 +16,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -66827,12 +65618,13 @@ index 7ebe8089b1b2..0ef5c393600b 100644 +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,190 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -66840,13 +65632,14 @@ index 7ebe8089b1b2..0ef5c393600b 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -66858,8 +65651,6 @@ index 7ebe8089b1b2..0ef5c393600b 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -66867,12 +65658,12 @@ index 7ebe8089b1b2..0ef5c393600b 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -66886,7 +65677,6 @@ index 7ebe8089b1b2..0ef5c393600b 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -66910,6 +65700,7 @@ index 7ebe8089b1b2..0ef5c393600b 100644 - 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 @@ -66920,6 +65711,7 @@ index 7ebe8089b1b2..0ef5c393600b 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -66932,8 +65724,9 @@ index 7ebe8089b1b2..0ef5c393600b 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -147,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -66951,12 +65744,14 @@ index 7ebe8089b1b2..0ef5c393600b 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -66987,16 +65782,6 @@ index 7ebe8089b1b2..0ef5c393600b 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -67005,35 +65790,37 @@ index 7ebe8089b1b2..0ef5c393600b 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("aom_av1_encoder_gn") diff --git third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build -index ee69c451a535..6416e975e2f7 100644 +index a7eb37c41dfc..2ed1c87b2568 100644 --- third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -67049,12 +65836,13 @@ index ee69c451a535..6416e975e2f7 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -67062,13 +65850,14 @@ index ee69c451a535..6416e975e2f7 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -67080,8 +65869,6 @@ index ee69c451a535..6416e975e2f7 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -67089,12 +65876,12 @@ index ee69c451a535..6416e975e2f7 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -67108,7 +65895,6 @@ index ee69c451a535..6416e975e2f7 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -67132,6 +65918,7 @@ index ee69c451a535..6416e975e2f7 100644 - 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 @@ -67142,6 +65929,7 @@ index ee69c451a535..6416e975e2f7 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -67154,8 +65942,9 @@ index ee69c451a535..6416e975e2f7 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -67173,12 +65962,14 @@ index ee69c451a535..6416e975e2f7 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -67209,16 +66000,6 @@ index ee69c451a535..6416e975e2f7 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -67227,35 +66008,37 @@ index ee69c451a535..6416e975e2f7 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("encoded_frame_gn") diff --git third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build -index aa42f12b7b5b..40f1449e2b22 100644 +index 10ea48d85652..f59463218193 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -67271,12 +66054,13 @@ index aa42f12b7b5b..40f1449e2b22 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -67284,13 +66068,14 @@ index aa42f12b7b5b..40f1449e2b22 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -67302,8 +66087,6 @@ index aa42f12b7b5b..40f1449e2b22 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -67311,12 +66094,12 @@ index aa42f12b7b5b..40f1449e2b22 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -67326,7 +66109,6 @@ index aa42f12b7b5b..40f1449e2b22 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -67350,6 +66132,7 @@ index aa42f12b7b5b..40f1449e2b22 100644 - 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 @@ -67360,6 +66143,7 @@ index aa42f12b7b5b..40f1449e2b22 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -67372,8 +66156,9 @@ index aa42f12b7b5b..40f1449e2b22 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -67391,12 +66176,14 @@ index aa42f12b7b5b..40f1449e2b22 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -67427,16 +66214,6 @@ index aa42f12b7b5b..40f1449e2b22 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -67445,35 +66222,37 @@ index aa42f12b7b5b..40f1449e2b22 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("frame_dependencies_calculator_gn") diff --git third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build -index 27a552865443..fe1dd7c20635 100644 +index dc35f55e424e..5c915ce306bc 100644 --- third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -67489,12 +66268,13 @@ index 27a552865443..fe1dd7c20635 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -67502,13 +66282,14 @@ index 27a552865443..fe1dd7c20635 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -67520,8 +66301,6 @@ index 27a552865443..fe1dd7c20635 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -67529,12 +66308,12 @@ index 27a552865443..fe1dd7c20635 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -67548,7 +66327,6 @@ index 27a552865443..fe1dd7c20635 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -67572,6 +66350,7 @@ index 27a552865443..fe1dd7c20635 100644 - 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 @@ -67582,6 +66361,7 @@ index 27a552865443..fe1dd7c20635 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -67594,8 +66374,9 @@ index 27a552865443..fe1dd7c20635 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -67613,12 +66394,14 @@ index 27a552865443..fe1dd7c20635 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -67649,16 +66432,6 @@ index 27a552865443..fe1dd7c20635 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -67667,35 +66440,37 @@ index 27a552865443..fe1dd7c20635 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("frame_helpers_gn") diff --git third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build -index 6527c200d000..e5dd51284982 100644 +index d2d696317d9c..c5cb23d799c4 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -67711,12 +66486,13 @@ index 6527c200d000..e5dd51284982 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -67724,13 +66500,14 @@ index 6527c200d000..e5dd51284982 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -67742,8 +66519,6 @@ index 6527c200d000..e5dd51284982 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -67751,12 +66526,12 @@ index 6527c200d000..e5dd51284982 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -67766,7 +66541,6 @@ index 6527c200d000..e5dd51284982 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -67790,6 +66564,7 @@ index 6527c200d000..e5dd51284982 100644 - 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 @@ -67800,6 +66575,7 @@ index 6527c200d000..e5dd51284982 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -67812,8 +66588,9 @@ index 6527c200d000..e5dd51284982 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -67831,12 +66608,14 @@ index 6527c200d000..e5dd51284982 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -67867,16 +66646,6 @@ index 6527c200d000..e5dd51284982 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -67885,35 +66654,37 @@ index 6527c200d000..e5dd51284982 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("h264_sprop_parameter_sets_gn") diff --git third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build -index cde385e9a546..5f57f69fd4a0 100644 +index 948ea6888149..3b773a7cb0a6 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -67929,12 +66700,13 @@ index cde385e9a546..5f57f69fd4a0 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -67942,13 +66714,14 @@ index cde385e9a546..5f57f69fd4a0 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -67960,8 +66733,6 @@ index cde385e9a546..5f57f69fd4a0 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -67969,12 +66740,12 @@ index cde385e9a546..5f57f69fd4a0 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -67988,7 +66759,6 @@ index cde385e9a546..5f57f69fd4a0 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -68012,6 +66782,7 @@ index cde385e9a546..5f57f69fd4a0 100644 - 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 @@ -68022,6 +66793,7 @@ index cde385e9a546..5f57f69fd4a0 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -68034,8 +66806,9 @@ index cde385e9a546..5f57f69fd4a0 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -68053,12 +66826,14 @@ index cde385e9a546..5f57f69fd4a0 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -68089,16 +66864,6 @@ index cde385e9a546..5f57f69fd4a0 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -68107,35 +66872,37 @@ index cde385e9a546..5f57f69fd4a0 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("h26x_packet_buffer_gn") diff --git third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build -index 84955a5ef85a..4a468f527ed4 100644 +index 09874b834b65..1e71e3f42d43 100644 --- third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -68151,12 +66918,13 @@ index 84955a5ef85a..4a468f527ed4 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -68164,13 +66932,14 @@ index 84955a5ef85a..4a468f527ed4 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -68182,8 +66951,6 @@ index 84955a5ef85a..4a468f527ed4 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -68191,12 +66958,12 @@ index 84955a5ef85a..4a468f527ed4 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -68210,7 +66977,6 @@ index 84955a5ef85a..4a468f527ed4 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -68234,6 +67000,7 @@ index 84955a5ef85a..4a468f527ed4 100644 - 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 @@ -68244,6 +67011,7 @@ index 84955a5ef85a..4a468f527ed4 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -68256,8 +67024,9 @@ index 84955a5ef85a..4a468f527ed4 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -68275,12 +67044,14 @@ index 84955a5ef85a..4a468f527ed4 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -68311,16 +67082,6 @@ index 84955a5ef85a..4a468f527ed4 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -68329,35 +67090,37 @@ index 84955a5ef85a..4a468f527ed4 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("nack_requester_gn") diff --git third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build -index 1376ef845e41..d4f7694767ba 100644 +index c9f726aecc07..6a970b419e10 100644 --- third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -68373,12 +67136,13 @@ index 1376ef845e41..d4f7694767ba 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -68386,13 +67150,14 @@ index 1376ef845e41..d4f7694767ba 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -68404,8 +67169,6 @@ index 1376ef845e41..d4f7694767ba 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -68413,12 +67176,12 @@ index 1376ef845e41..d4f7694767ba 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -68432,7 +67195,6 @@ index 1376ef845e41..d4f7694767ba 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -68456,6 +67218,7 @@ index 1376ef845e41..d4f7694767ba 100644 - 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 @@ -68466,6 +67229,7 @@ index 1376ef845e41..d4f7694767ba 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -68478,8 +67242,9 @@ index 1376ef845e41..d4f7694767ba 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -68497,12 +67262,14 @@ index 1376ef845e41..d4f7694767ba 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -68533,16 +67300,6 @@ index 1376ef845e41..d4f7694767ba 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -68551,35 +67308,37 @@ index 1376ef845e41..d4f7694767ba 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("packet_buffer_gn") diff --git third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build -index c5b1f43f5c9e..f305df0162af 100644 +index 618ae6fb64dd..0d4bb5505199 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -68595,12 +67354,13 @@ index c5b1f43f5c9e..f305df0162af 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -68608,13 +67368,14 @@ index c5b1f43f5c9e..f305df0162af 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -68626,8 +67387,6 @@ index c5b1f43f5c9e..f305df0162af 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -68635,12 +67394,12 @@ index c5b1f43f5c9e..f305df0162af 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -68654,7 +67413,6 @@ index c5b1f43f5c9e..f305df0162af 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -68678,6 +67436,7 @@ index c5b1f43f5c9e..f305df0162af 100644 - 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 @@ -68688,6 +67447,7 @@ index c5b1f43f5c9e..f305df0162af 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -68700,8 +67460,9 @@ index c5b1f43f5c9e..f305df0162af 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -68719,12 +67480,14 @@ index c5b1f43f5c9e..f305df0162af 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -68755,16 +67518,6 @@ index c5b1f43f5c9e..f305df0162af 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -68773,35 +67526,37 @@ index c5b1f43f5c9e..f305df0162af 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("scalability_mode_util_gn") diff --git third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build -index 0e0a68b5126f..40ba86c82948 100644 +index 09afe4363006..4db02f8672a2 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -68817,12 +67572,13 @@ index 0e0a68b5126f..40ba86c82948 100644 +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" -@@ -51,186 +60,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -52,94 +61,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -68830,13 +67586,14 @@ index 0e0a68b5126f..40ba86c82948 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -68848,8 +67605,6 @@ index 0e0a68b5126f..40ba86c82948 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -68857,12 +67612,12 @@ index 0e0a68b5126f..40ba86c82948 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -68872,7 +67627,6 @@ index 0e0a68b5126f..40ba86c82948 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -68896,6 +67650,7 @@ index 0e0a68b5126f..40ba86c82948 100644 - 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 @@ -68906,6 +67661,7 @@ index 0e0a68b5126f..40ba86c82948 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -68918,8 +67674,9 @@ index 0e0a68b5126f..40ba86c82948 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -147,88 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -68937,12 +67694,14 @@ index 0e0a68b5126f..40ba86c82948 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -68973,16 +67732,6 @@ index 0e0a68b5126f..40ba86c82948 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -68991,35 +67740,37 @@ index 0e0a68b5126f..40ba86c82948 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("scalability_structures_gn") diff --git third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build -index 518157bf6a3a..728277abedb9 100644 +index 30ff3f10a66c..149765eb02f0 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -69035,12 +67786,13 @@ index 518157bf6a3a..728277abedb9 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -69048,13 +67800,14 @@ index 518157bf6a3a..728277abedb9 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -69066,8 +67819,6 @@ index 518157bf6a3a..728277abedb9 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -69075,12 +67826,12 @@ index 518157bf6a3a..728277abedb9 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -69090,7 +67841,6 @@ index 518157bf6a3a..728277abedb9 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -69114,6 +67864,7 @@ index 518157bf6a3a..728277abedb9 100644 - 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 @@ -69124,13 +67875,15 @@ index 518157bf6a3a..728277abedb9 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -69148,12 +67901,14 @@ index 518157bf6a3a..728277abedb9 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -69184,16 +67939,6 @@ index 518157bf6a3a..728277abedb9 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -69202,35 +67947,37 @@ index 518157bf6a3a..728277abedb9 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("scalable_video_controller_gn") diff --git third_party/libwebrtc/modules/video_coding/svc/simulcast_to_svc_converter_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/simulcast_to_svc_converter_gn/moz.build -index 7beea9790f44..0b566d46220f 100644 +index 7b20aff1bb23..e0360f071a9f 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -69246,12 +67993,13 @@ index 7beea9790f44..0b566d46220f 100644 +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" -@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -69259,13 +68007,14 @@ index 7beea9790f44..0b566d46220f 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -69278,8 +68027,6 @@ index 7beea9790f44..0b566d46220f 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -69287,12 +68034,12 @@ index 7beea9790f44..0b566d46220f 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -69306,7 +68053,6 @@ index 7beea9790f44..0b566d46220f 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -69330,6 +68076,7 @@ index 7beea9790f44..0b566d46220f 100644 - 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 @@ -69340,6 +68087,7 @@ index 7beea9790f44..0b566d46220f 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -69352,8 +68100,9 @@ index 7beea9790f44..0b566d46220f 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -69371,12 +68120,14 @@ index 7beea9790f44..0b566d46220f 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -69407,16 +68158,6 @@ index 7beea9790f44..0b566d46220f 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -69425,35 +68166,37 @@ index 7beea9790f44..0b566d46220f 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("simulcast_to_svc_converter_gn") diff --git third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build -index 243c95aa4d18..70b9e280ac69 100644 +index fc59cab02337..432ad6dc8d81 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -69469,12 +68212,13 @@ index 243c95aa4d18..70b9e280ac69 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -69482,13 +68226,14 @@ index 243c95aa4d18..70b9e280ac69 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -69500,8 +68245,6 @@ index 243c95aa4d18..70b9e280ac69 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -69509,12 +68252,12 @@ index 243c95aa4d18..70b9e280ac69 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -69528,7 +68271,6 @@ index 243c95aa4d18..70b9e280ac69 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -69552,6 +68294,7 @@ index 243c95aa4d18..70b9e280ac69 100644 - 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 @@ -69562,6 +68305,7 @@ index 243c95aa4d18..70b9e280ac69 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -69574,8 +68318,9 @@ index 243c95aa4d18..70b9e280ac69 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -69593,12 +68338,14 @@ index 243c95aa4d18..70b9e280ac69 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -69629,16 +68376,6 @@ index 243c95aa4d18..70b9e280ac69 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -69647,35 +68384,37 @@ index 243c95aa4d18..70b9e280ac69 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("svc_rate_allocator_gn") diff --git third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build -index 7896f5bc23b7..5351ae8eecb7 100644 +index e33a44db589d..75839ef32948 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -69691,12 +68430,13 @@ index 7896f5bc23b7..5351ae8eecb7 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -69704,13 +68444,14 @@ index 7896f5bc23b7..5351ae8eecb7 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -69722,8 +68463,6 @@ index 7896f5bc23b7..5351ae8eecb7 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -69731,12 +68470,12 @@ index 7896f5bc23b7..5351ae8eecb7 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -69746,7 +68485,6 @@ index 7896f5bc23b7..5351ae8eecb7 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -69770,6 +68508,7 @@ index 7896f5bc23b7..5351ae8eecb7 100644 - 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 @@ -69780,13 +68519,15 @@ index 7896f5bc23b7..5351ae8eecb7 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -69804,12 +68545,14 @@ index 7896f5bc23b7..5351ae8eecb7 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -69840,16 +68583,6 @@ index 7896f5bc23b7..5351ae8eecb7 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -69858,35 +68591,37 @@ index 7896f5bc23b7..5351ae8eecb7 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("decode_time_percentile_filter_gn") diff --git third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build -index 888feb78f5b1..94877208edd6 100644 +index d1182b687873..cc4e442d07dc 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -69902,12 +68637,13 @@ index 888feb78f5b1..94877208edd6 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -69915,13 +68651,14 @@ index 888feb78f5b1..94877208edd6 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -69933,8 +68670,6 @@ index 888feb78f5b1..94877208edd6 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -69942,12 +68677,12 @@ index 888feb78f5b1..94877208edd6 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -69957,7 +68692,6 @@ index 888feb78f5b1..94877208edd6 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -69981,6 +68715,7 @@ index 888feb78f5b1..94877208edd6 100644 - 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 @@ -69991,13 +68726,15 @@ index 888feb78f5b1..94877208edd6 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -70015,12 +68752,14 @@ index 888feb78f5b1..94877208edd6 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -70051,16 +68790,6 @@ index 888feb78f5b1..94877208edd6 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -70069,35 +68798,37 @@ index 888feb78f5b1..94877208edd6 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("frame_delay_variation_kalman_filter_gn") diff --git third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build -index 90271d97710b..a89880e80b11 100644 +index fe0883a7e530..d8d916988d63 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -70113,12 +68844,13 @@ index 90271d97710b..a89880e80b11 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -70126,13 +68858,14 @@ index 90271d97710b..a89880e80b11 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -70144,8 +68877,6 @@ index 90271d97710b..a89880e80b11 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -70153,12 +68884,12 @@ index 90271d97710b..a89880e80b11 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -70168,7 +68899,6 @@ index 90271d97710b..a89880e80b11 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -70192,6 +68922,7 @@ index 90271d97710b..a89880e80b11 100644 - 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 @@ -70202,13 +68933,15 @@ index 90271d97710b..a89880e80b11 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -70226,12 +68959,14 @@ index 90271d97710b..a89880e80b11 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -70262,16 +68997,6 @@ index 90271d97710b..a89880e80b11 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -70280,35 +69005,37 @@ index 90271d97710b..a89880e80b11 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("inter_frame_delay_variation_calculator_gn") diff --git third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build -index 52b5cc106deb..c1b20efbd861 100644 +index be20d56dfe26..b7cf704dc435 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -70324,12 +69051,13 @@ index 52b5cc106deb..c1b20efbd861 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -70337,13 +69065,14 @@ index 52b5cc106deb..c1b20efbd861 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -70355,8 +69084,6 @@ index 52b5cc106deb..c1b20efbd861 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -70364,12 +69091,12 @@ index 52b5cc106deb..c1b20efbd861 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -70383,7 +69110,6 @@ index 52b5cc106deb..c1b20efbd861 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -70407,6 +69133,7 @@ index 52b5cc106deb..c1b20efbd861 100644 - 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 @@ -70417,6 +69144,7 @@ index 52b5cc106deb..c1b20efbd861 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -70429,8 +69157,9 @@ index 52b5cc106deb..c1b20efbd861 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -70448,12 +69177,14 @@ index 52b5cc106deb..c1b20efbd861 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -70484,16 +69215,6 @@ index 52b5cc106deb..c1b20efbd861 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -70502,35 +69223,37 @@ index 52b5cc106deb..c1b20efbd861 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("jitter_estimator_gn") diff --git third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build -index 0e4c9ed34eec..bbd2ef7b0051 100644 +index 4f7ce9360985..f88efc048771 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -70546,12 +69269,13 @@ index 0e4c9ed34eec..bbd2ef7b0051 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -70559,13 +69283,14 @@ index 0e4c9ed34eec..bbd2ef7b0051 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -70577,8 +69302,6 @@ index 0e4c9ed34eec..bbd2ef7b0051 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -70586,12 +69309,12 @@ index 0e4c9ed34eec..bbd2ef7b0051 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -70601,7 +69324,6 @@ index 0e4c9ed34eec..bbd2ef7b0051 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -70625,6 +69347,7 @@ index 0e4c9ed34eec..bbd2ef7b0051 100644 - 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 @@ -70635,13 +69358,15 @@ index 0e4c9ed34eec..bbd2ef7b0051 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -70659,12 +69384,14 @@ index 0e4c9ed34eec..bbd2ef7b0051 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -70695,16 +69422,6 @@ index 0e4c9ed34eec..bbd2ef7b0051 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -70713,35 +69430,37 @@ index 0e4c9ed34eec..bbd2ef7b0051 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rtt_filter_gn") diff --git third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build -index 91f53af3cd95..4039bf1225e2 100644 +index da66074a3b32..58b7d3ef1612 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -70757,12 +69476,13 @@ index 91f53af3cd95..4039bf1225e2 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -70770,13 +69490,14 @@ index 91f53af3cd95..4039bf1225e2 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -70788,8 +69509,6 @@ index 91f53af3cd95..4039bf1225e2 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -70797,12 +69516,12 @@ index 91f53af3cd95..4039bf1225e2 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -70812,7 +69531,6 @@ index 91f53af3cd95..4039bf1225e2 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -70836,6 +69554,7 @@ index 91f53af3cd95..4039bf1225e2 100644 - 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 @@ -70846,13 +69565,15 @@ index 91f53af3cd95..4039bf1225e2 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -70870,12 +69591,14 @@ index 91f53af3cd95..4039bf1225e2 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -70906,16 +69629,6 @@ index 91f53af3cd95..4039bf1225e2 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -70924,35 +69637,37 @@ index 91f53af3cd95..4039bf1225e2 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("timestamp_extrapolator_gn") diff --git third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build -index 5a1fc368549b..ae936de55ec9 100644 +index 2c1ee334dddf..d457b35a059e 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -70968,12 +69683,13 @@ index 5a1fc368549b..ae936de55ec9 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -70981,13 +69697,14 @@ index 5a1fc368549b..ae936de55ec9 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -70999,8 +69716,6 @@ index 5a1fc368549b..ae936de55ec9 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -71008,12 +69723,12 @@ index 5a1fc368549b..ae936de55ec9 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -71027,7 +69742,6 @@ index 5a1fc368549b..ae936de55ec9 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -71051,6 +69765,7 @@ index 5a1fc368549b..ae936de55ec9 100644 - 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 @@ -71061,6 +69776,7 @@ index 5a1fc368549b..ae936de55ec9 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -71073,8 +69789,9 @@ index 5a1fc368549b..ae936de55ec9 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -71092,12 +69809,14 @@ index 5a1fc368549b..ae936de55ec9 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -71128,16 +69847,6 @@ index 5a1fc368549b..ae936de55ec9 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -71146,35 +69855,37 @@ index 5a1fc368549b..ae936de55ec9 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("timing_module_gn") diff --git third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build -index 319c3864d011..8124fea57658 100644 +index 60dd4340f3fa..66297293fe87 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -71190,12 +69901,13 @@ index 319c3864d011..8124fea57658 100644 +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" -@@ -46,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -71203,13 +69915,14 @@ index 319c3864d011..8124fea57658 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -71221,8 +69934,6 @@ index 319c3864d011..8124fea57658 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -71230,12 +69941,12 @@ index 319c3864d011..8124fea57658 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -71249,7 +69960,6 @@ index 319c3864d011..8124fea57658 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -71273,6 +69983,7 @@ index 319c3864d011..8124fea57658 100644 - 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 @@ -71283,6 +69994,7 @@ index 319c3864d011..8124fea57658 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -71295,8 +70007,9 @@ index 319c3864d011..8124fea57658 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -146,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -71314,12 +70027,14 @@ index 319c3864d011..8124fea57658 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -71350,16 +70065,6 @@ index 319c3864d011..8124fea57658 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -71368,35 +70073,37 @@ index 319c3864d011..8124fea57658 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("video_codec_interface_gn") diff --git third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build -index 3ce6a18faa6b..2f30227606e2 100644 +index d7d3cd24da0c..8813b7ec8a42 100644 --- third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -71412,12 +70119,13 @@ index 3ce6a18faa6b..2f30227606e2 100644 +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" -@@ -57,191 +66,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -58,99 +67,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -71425,13 +70133,14 @@ index 3ce6a18faa6b..2f30227606e2 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -71444,8 +70153,6 @@ index 3ce6a18faa6b..2f30227606e2 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -71453,12 +70160,12 @@ index 3ce6a18faa6b..2f30227606e2 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -71472,7 +70179,6 @@ index 3ce6a18faa6b..2f30227606e2 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -71496,6 +70202,7 @@ index 3ce6a18faa6b..2f30227606e2 100644 - 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 @@ -71506,6 +70213,7 @@ index 3ce6a18faa6b..2f30227606e2 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -71518,8 +70226,9 @@ index 3ce6a18faa6b..2f30227606e2 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -158,88 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -71537,12 +70246,14 @@ index 3ce6a18faa6b..2f30227606e2 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -71573,16 +70284,6 @@ index 3ce6a18faa6b..2f30227606e2 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -71591,35 +70292,37 @@ index 3ce6a18faa6b..2f30227606e2 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("video_coding_gn") diff --git third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build -index 68fc0eae62dc..62b651290610 100644 +index ebd9c4fee826..faafbe09003f 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -71635,12 +70338,13 @@ index 68fc0eae62dc..62b651290610 100644 +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" -@@ -56,191 +65,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -57,99 +66,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -71648,13 +70352,14 @@ index 68fc0eae62dc..62b651290610 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -71667,8 +70372,6 @@ index 68fc0eae62dc..62b651290610 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -71676,12 +70379,12 @@ index 68fc0eae62dc..62b651290610 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -71695,7 +70398,6 @@ index 68fc0eae62dc..62b651290610 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -71719,6 +70421,7 @@ index 68fc0eae62dc..62b651290610 100644 - 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 @@ -71729,6 +70432,7 @@ index 68fc0eae62dc..62b651290610 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -71741,8 +70445,9 @@ index 68fc0eae62dc..62b651290610 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -157,88 +74,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -71760,12 +70465,14 @@ index 68fc0eae62dc..62b651290610 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -71796,16 +70503,6 @@ index 68fc0eae62dc..62b651290610 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -71814,35 +70511,37 @@ index 68fc0eae62dc..62b651290610 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("video_coding_utility_gn") diff --git third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build -index 104bcded2bc7..ff4ed9fb888a 100644 +index c5e8f06afeff..4ccce753f1cc 100644 --- third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -71858,12 +70557,13 @@ index 104bcded2bc7..ff4ed9fb888a 100644 +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" -@@ -49,191 +58,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -50,99 +59,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -71871,13 +70571,14 @@ index 104bcded2bc7..ff4ed9fb888a 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -71890,8 +70591,6 @@ index 104bcded2bc7..ff4ed9fb888a 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -71899,12 +70598,12 @@ index 104bcded2bc7..ff4ed9fb888a 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -71918,7 +70617,6 @@ index 104bcded2bc7..ff4ed9fb888a 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -71942,6 +70640,7 @@ index 104bcded2bc7..ff4ed9fb888a 100644 - 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 @@ -71952,6 +70651,7 @@ index 104bcded2bc7..ff4ed9fb888a 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -71964,8 +70664,9 @@ index 104bcded2bc7..ff4ed9fb888a 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -150,88 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -71983,12 +70684,14 @@ index 104bcded2bc7..ff4ed9fb888a 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -72019,16 +70722,6 @@ index 104bcded2bc7..ff4ed9fb888a 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -72037,35 +70730,37 @@ index 104bcded2bc7..ff4ed9fb888a 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("webrtc_h264_gn") diff --git third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build -index efede3512ed7..af759b9e2900 100644 +index 5adadf70f422..a55ec3ceb2e5 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,11 +16,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -16,12 +16,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -72081,12 +70776,13 @@ index efede3512ed7..af759b9e2900 100644 +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,179 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,87 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -72094,13 +70790,14 @@ index efede3512ed7..af759b9e2900 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -72112,8 +70809,6 @@ index efede3512ed7..af759b9e2900 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -72121,12 +70816,12 @@ index efede3512ed7..af759b9e2900 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -72136,7 +70831,6 @@ index efede3512ed7..af759b9e2900 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -72160,6 +70854,7 @@ index efede3512ed7..af759b9e2900 100644 - 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 @@ -72170,13 +70865,15 @@ index efede3512ed7..af759b9e2900 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -136,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -72194,12 +70891,14 @@ index efede3512ed7..af759b9e2900 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -72230,16 +70929,6 @@ index efede3512ed7..af759b9e2900 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -72248,35 +70937,37 @@ index efede3512ed7..af759b9e2900 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("webrtc_libvpx_interface_gn") diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build -index 8c4f08bc82b5..7c863a57e8a8 100644 +index f402ec01a29e..9cd5350ac31a 100644 --- third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build -@@ -16,11 +16,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -16,12 +16,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -72292,12 +70983,13 @@ index 8c4f08bc82b5..7c863a57e8a8 100644 +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" -@@ -50,191 +59,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -51,99 +60,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -72305,13 +70997,14 @@ index 8c4f08bc82b5..7c863a57e8a8 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -72324,8 +71017,6 @@ index 8c4f08bc82b5..7c863a57e8a8 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -72333,12 +71024,12 @@ index 8c4f08bc82b5..7c863a57e8a8 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -72352,7 +71043,6 @@ index 8c4f08bc82b5..7c863a57e8a8 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -72376,6 +71066,7 @@ index 8c4f08bc82b5..7c863a57e8a8 100644 - 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 @@ -72386,6 +71077,7 @@ index 8c4f08bc82b5..7c863a57e8a8 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -72398,8 +71090,9 @@ index 8c4f08bc82b5..7c863a57e8a8 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -151,88 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -72417,12 +71110,14 @@ index 8c4f08bc82b5..7c863a57e8a8 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -72453,16 +71148,6 @@ index 8c4f08bc82b5..7c863a57e8a8 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -72471,35 +71156,37 @@ index 8c4f08bc82b5..7c863a57e8a8 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("webrtc_vp8_gn") diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build -index edf7e7b28f4f..9c7e190a11b4 100644 +index 570c9383d5bb..b7aac07667b6 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -72515,12 +71202,13 @@ index edf7e7b28f4f..9c7e190a11b4 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -72528,13 +71216,14 @@ index edf7e7b28f4f..9c7e190a11b4 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -72546,8 +71235,6 @@ index edf7e7b28f4f..9c7e190a11b4 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -72555,12 +71242,12 @@ index edf7e7b28f4f..9c7e190a11b4 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -72570,7 +71257,6 @@ index edf7e7b28f4f..9c7e190a11b4 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -72594,6 +71280,7 @@ index edf7e7b28f4f..9c7e190a11b4 100644 - 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 @@ -72604,13 +71291,15 @@ index edf7e7b28f4f..9c7e190a11b4 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -72628,12 +71317,14 @@ index edf7e7b28f4f..9c7e190a11b4 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -72664,16 +71355,6 @@ index edf7e7b28f4f..9c7e190a11b4 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -72682,35 +71363,37 @@ index edf7e7b28f4f..9c7e190a11b4 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("webrtc_vp8_scalability_gn") diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build -index c92c78084ff3..3a5fb1aa4598 100644 +index ece868daa962..cb6d66c5dd83 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -72726,12 +71409,13 @@ index c92c78084ff3..3a5fb1aa4598 100644 +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" -@@ -49,191 +58,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -50,99 +59,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -72739,13 +71423,14 @@ index c92c78084ff3..3a5fb1aa4598 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -72758,8 +71443,6 @@ index c92c78084ff3..3a5fb1aa4598 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -72767,12 +71450,12 @@ index c92c78084ff3..3a5fb1aa4598 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -72786,7 +71469,6 @@ index c92c78084ff3..3a5fb1aa4598 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -72810,6 +71492,7 @@ index c92c78084ff3..3a5fb1aa4598 100644 - 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 @@ -72820,6 +71503,7 @@ index c92c78084ff3..3a5fb1aa4598 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -72832,8 +71516,9 @@ index c92c78084ff3..3a5fb1aa4598 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -150,88 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -72851,12 +71536,14 @@ index c92c78084ff3..3a5fb1aa4598 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -72887,16 +71574,6 @@ index c92c78084ff3..3a5fb1aa4598 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -72905,35 +71582,37 @@ index c92c78084ff3..3a5fb1aa4598 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("webrtc_vp8_temporal_layers_gn") diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build -index ec4a3d7388f7..e891dd8b547f 100644 +index 97907050ab85..27fc31791159 100644 --- third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build -@@ -16,11 +16,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -16,12 +16,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -72949,12 +71628,13 @@ index ec4a3d7388f7..e891dd8b547f 100644 +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" -@@ -52,191 +61,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -53,99 +62,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -72962,13 +71642,14 @@ index ec4a3d7388f7..e891dd8b547f 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -72981,8 +71662,6 @@ index ec4a3d7388f7..e891dd8b547f 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -72990,12 +71669,12 @@ index ec4a3d7388f7..e891dd8b547f 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -73009,7 +71688,6 @@ index ec4a3d7388f7..e891dd8b547f 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -73033,6 +71711,7 @@ index ec4a3d7388f7..e891dd8b547f 100644 - 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 @@ -73043,6 +71722,7 @@ index ec4a3d7388f7..e891dd8b547f 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -73055,8 +71735,9 @@ index ec4a3d7388f7..e891dd8b547f 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -153,88 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -73074,12 +71755,14 @@ index ec4a3d7388f7..e891dd8b547f 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -73110,16 +71793,6 @@ index ec4a3d7388f7..e891dd8b547f 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -73128,35 +71801,37 @@ index ec4a3d7388f7..e891dd8b547f 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("webrtc_vp9_gn") diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build -index b06b2f261258..064b0b18e98c 100644 +index b5c3fb618866..a18a49feb3ed 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -73172,12 +71847,13 @@ index b06b2f261258..064b0b18e98c 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -73185,13 +71861,14 @@ index b06b2f261258..064b0b18e98c 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -73203,8 +71880,6 @@ index b06b2f261258..064b0b18e98c 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -73212,12 +71887,12 @@ index b06b2f261258..064b0b18e98c 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -73231,7 +71906,6 @@ index b06b2f261258..064b0b18e98c 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -73255,6 +71929,7 @@ index b06b2f261258..064b0b18e98c 100644 - 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 @@ -73265,6 +71940,7 @@ index b06b2f261258..064b0b18e98c 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -73277,8 +71953,9 @@ index b06b2f261258..064b0b18e98c 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -73296,12 +71973,14 @@ index b06b2f261258..064b0b18e98c 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -73332,16 +72011,6 @@ index b06b2f261258..064b0b18e98c 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -73350,28 +72019,30 @@ index b06b2f261258..064b0b18e98c 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("webrtc_vp9_helpers_gn") diff --git third_party/libwebrtc/moz.build third_party/libwebrtc/moz.build @@ -73619,10 +72290,10 @@ index c6cc8931d764..9bd6a676a25f 100644 - "/third_party/libwebrtc/modules/desktop_capture/primitives_gn" - ] diff --git third_party/libwebrtc/net/dcsctp/common/internal_types_gn/moz.build third_party/libwebrtc/net/dcsctp/common/internal_types_gn/moz.build -index 6a5e4cfebe25..37b925ca7c54 100644 +index 0b2c09fdcff0..092a150a2352 100644 --- third_party/libwebrtc/net/dcsctp/common/internal_types_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/common/internal_types_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -73638,12 +72309,13 @@ index 6a5e4cfebe25..37b925ca7c54 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -73651,13 +72323,14 @@ index 6a5e4cfebe25..37b925ca7c54 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -73669,8 +72342,6 @@ index 6a5e4cfebe25..37b925ca7c54 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -73678,12 +72349,12 @@ index 6a5e4cfebe25..37b925ca7c54 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -73693,7 +72364,6 @@ index 6a5e4cfebe25..37b925ca7c54 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -73717,6 +72387,7 @@ index 6a5e4cfebe25..37b925ca7c54 100644 - 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 @@ -73727,13 +72398,15 @@ index 6a5e4cfebe25..37b925ca7c54 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -73747,17 +72420,19 @@ index 6a5e4cfebe25..37b925ca7c54 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -73781,39 +72456,32 @@ index 6a5e4cfebe25..37b925ca7c54 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("internal_types_gn") diff --git third_party/libwebrtc/net/dcsctp/common/math_gn/moz.build third_party/libwebrtc/net/dcsctp/common/math_gn/moz.build -index c3cb187e2306..a545273adb9f 100644 +index f24dd018c572..bdec311c880e 100644 --- third_party/libwebrtc/net/dcsctp/common/math_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/common/math_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -73829,12 +72497,13 @@ index c3cb187e2306..a545273adb9f 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -73842,13 +72511,14 @@ index c3cb187e2306..a545273adb9f 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -73856,8 +72526,6 @@ index c3cb187e2306..a545273adb9f 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -73865,12 +72533,12 @@ index c3cb187e2306..a545273adb9f 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -73880,7 +72548,6 @@ index c3cb187e2306..a545273adb9f 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -73904,6 +72571,7 @@ index c3cb187e2306..a545273adb9f 100644 - 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 @@ -73914,13 +72582,15 @@ index c3cb187e2306..a545273adb9f 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -73934,17 +72604,19 @@ index c3cb187e2306..a545273adb9f 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -73968,39 +72640,32 @@ index c3cb187e2306..a545273adb9f 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("math_gn") diff --git third_party/libwebrtc/net/dcsctp/common/sequence_numbers_gn/moz.build third_party/libwebrtc/net/dcsctp/common/sequence_numbers_gn/moz.build -index c94cad55dd86..a3efde5199ae 100644 +index bdbcc93d83c5..042fc3ef9e00 100644 --- third_party/libwebrtc/net/dcsctp/common/sequence_numbers_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/common/sequence_numbers_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -74016,12 +72681,13 @@ index c94cad55dd86..a3efde5199ae 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -74029,13 +72695,14 @@ index c94cad55dd86..a3efde5199ae 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -74047,8 +72714,6 @@ index c94cad55dd86..a3efde5199ae 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -74056,12 +72721,12 @@ index c94cad55dd86..a3efde5199ae 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -74071,7 +72736,6 @@ index c94cad55dd86..a3efde5199ae 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -74095,6 +72759,7 @@ index c94cad55dd86..a3efde5199ae 100644 - 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 @@ -74105,13 +72770,15 @@ index c94cad55dd86..a3efde5199ae 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -74125,17 +72792,19 @@ index c94cad55dd86..a3efde5199ae 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -74159,39 +72828,32 @@ index c94cad55dd86..a3efde5199ae 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("sequence_numbers_gn") diff --git third_party/libwebrtc/net/dcsctp/packet/bounded_io_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/bounded_io_gn/moz.build -index b80cd74c33f8..2349cc2c46c5 100644 +index 140f34e71edc..0674120fb66d 100644 --- third_party/libwebrtc/net/dcsctp/packet/bounded_io_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/packet/bounded_io_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -74207,12 +72869,13 @@ index b80cd74c33f8..2349cc2c46c5 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -74220,13 +72883,14 @@ index b80cd74c33f8..2349cc2c46c5 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -74238,8 +72902,6 @@ index b80cd74c33f8..2349cc2c46c5 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -74247,12 +72909,12 @@ index b80cd74c33f8..2349cc2c46c5 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -74262,7 +72924,6 @@ index b80cd74c33f8..2349cc2c46c5 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -74286,6 +72947,7 @@ index b80cd74c33f8..2349cc2c46c5 100644 - 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 @@ -74296,13 +72958,15 @@ index b80cd74c33f8..2349cc2c46c5 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -74316,17 +72980,19 @@ index b80cd74c33f8..2349cc2c46c5 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -74350,39 +73016,32 @@ index b80cd74c33f8..2349cc2c46c5 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("bounded_io_gn") diff --git third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build -index f7520a41a0ea..8a97ab477627 100644 +index 233c3fc51a0d..03c2f87070e4 100644 --- third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -74398,12 +73057,13 @@ index f7520a41a0ea..8a97ab477627 100644 +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" -@@ -61,186 +70,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -62,94 +71,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -74411,13 +73071,14 @@ index f7520a41a0ea..8a97ab477627 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -74429,8 +73090,6 @@ index f7520a41a0ea..8a97ab477627 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -74438,12 +73097,12 @@ index f7520a41a0ea..8a97ab477627 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -74453,7 +73112,6 @@ index f7520a41a0ea..8a97ab477627 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -74477,6 +73135,7 @@ index f7520a41a0ea..8a97ab477627 100644 - 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 @@ -74487,6 +73146,7 @@ index f7520a41a0ea..8a97ab477627 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -74499,8 +73159,9 @@ index f7520a41a0ea..8a97ab477627 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -157,88 +79,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -74518,12 +73179,14 @@ index f7520a41a0ea..8a97ab477627 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -74554,16 +73217,6 @@ index f7520a41a0ea..8a97ab477627 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -74572,35 +73225,37 @@ index f7520a41a0ea..8a97ab477627 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("chunk_gn") diff --git third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build -index 0a06a330808a..b38a8e170736 100644 +index 84e9ee6957e2..6583b0e50f8f 100644 --- third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -74616,12 +73271,13 @@ index 0a06a330808a..b38a8e170736 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -74629,13 +73285,14 @@ index 0a06a330808a..b38a8e170736 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -74647,8 +73304,6 @@ index 0a06a330808a..b38a8e170736 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -74656,12 +73311,12 @@ index 0a06a330808a..b38a8e170736 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -74671,7 +73326,6 @@ index 0a06a330808a..b38a8e170736 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -74695,6 +73349,7 @@ index 0a06a330808a..b38a8e170736 100644 - 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 @@ -74705,6 +73360,7 @@ index 0a06a330808a..b38a8e170736 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -74717,8 +73373,9 @@ index 0a06a330808a..b38a8e170736 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -74736,12 +73393,14 @@ index 0a06a330808a..b38a8e170736 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -74772,16 +73431,6 @@ index 0a06a330808a..b38a8e170736 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -74790,35 +73439,37 @@ index 0a06a330808a..b38a8e170736 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("chunk_validators_gn") diff --git third_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build -index 7babd4f00c8d..3544b8accf94 100644 +index 14a85ac16c1e..8e046a16bdb8 100644 --- third_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -74834,12 +73485,13 @@ index 7babd4f00c8d..3544b8accf94 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -74847,13 +73499,14 @@ index 7babd4f00c8d..3544b8accf94 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -74865,8 +73518,6 @@ index 7babd4f00c8d..3544b8accf94 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -74874,12 +73525,12 @@ index 7babd4f00c8d..3544b8accf94 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -74889,7 +73540,6 @@ index 7babd4f00c8d..3544b8accf94 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -74913,6 +73563,7 @@ index 7babd4f00c8d..3544b8accf94 100644 - 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 @@ -74923,13 +73574,15 @@ index 7babd4f00c8d..3544b8accf94 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -74947,12 +73600,14 @@ index 7babd4f00c8d..3544b8accf94 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -74983,16 +73638,6 @@ index 7babd4f00c8d..3544b8accf94 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -75001,35 +73646,37 @@ index 7babd4f00c8d..3544b8accf94 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("crc32c_gn") diff --git third_party/libwebrtc/net/dcsctp/packet/data_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/data_gn/moz.build -index 56a67c706fa4..6921e2bc087f 100644 +index 8d820a7d88d4..379a28ef9b5d 100644 --- third_party/libwebrtc/net/dcsctp/packet/data_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/packet/data_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -75045,12 +73692,13 @@ index 56a67c706fa4..6921e2bc087f 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -75058,13 +73706,14 @@ index 56a67c706fa4..6921e2bc087f 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -75076,8 +73725,6 @@ index 56a67c706fa4..6921e2bc087f 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -75085,12 +73732,12 @@ index 56a67c706fa4..6921e2bc087f 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -75100,7 +73747,6 @@ index 56a67c706fa4..6921e2bc087f 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -75124,6 +73770,7 @@ index 56a67c706fa4..6921e2bc087f 100644 - 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 @@ -75134,13 +73781,15 @@ index 56a67c706fa4..6921e2bc087f 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -75154,17 +73803,19 @@ index 56a67c706fa4..6921e2bc087f 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -75188,39 +73839,32 @@ index 56a67c706fa4..6921e2bc087f 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("data_gn") diff --git third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build -index 04ca98c30fab..005f3ed8633a 100644 +index 045aa0a8c864..30301114bdd5 100644 --- third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -75236,12 +73880,13 @@ index 04ca98c30fab..005f3ed8633a 100644 +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" -@@ -57,186 +66,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -58,94 +67,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -75249,13 +73894,14 @@ index 04ca98c30fab..005f3ed8633a 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -75267,8 +73913,6 @@ index 04ca98c30fab..005f3ed8633a 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -75276,12 +73920,12 @@ index 04ca98c30fab..005f3ed8633a 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -75291,7 +73935,6 @@ index 04ca98c30fab..005f3ed8633a 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -75315,6 +73958,7 @@ index 04ca98c30fab..005f3ed8633a 100644 - 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 @@ -75325,6 +73969,7 @@ index 04ca98c30fab..005f3ed8633a 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -75337,8 +73982,9 @@ index 04ca98c30fab..005f3ed8633a 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -153,88 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -75356,12 +74002,14 @@ index 04ca98c30fab..005f3ed8633a 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -75392,16 +74040,6 @@ index 04ca98c30fab..005f3ed8633a 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -75410,35 +74048,37 @@ index 04ca98c30fab..005f3ed8633a 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("error_cause_gn") diff --git third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build -index a1beb0f7c208..5a45e729c554 100644 +index b49605267ba7..58638908ffd5 100644 --- third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -75454,12 +74094,13 @@ index a1beb0f7c208..5a45e729c554 100644 +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" -@@ -55,186 +64,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -56,94 +65,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -75467,13 +74108,14 @@ index a1beb0f7c208..5a45e729c554 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -75485,8 +74127,6 @@ index a1beb0f7c208..5a45e729c554 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -75494,12 +74134,12 @@ index a1beb0f7c208..5a45e729c554 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -75509,7 +74149,6 @@ index a1beb0f7c208..5a45e729c554 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -75533,6 +74172,7 @@ index a1beb0f7c208..5a45e729c554 100644 - 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 @@ -75543,6 +74183,7 @@ index a1beb0f7c208..5a45e729c554 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -75555,8 +74196,9 @@ index a1beb0f7c208..5a45e729c554 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -151,88 +73,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -75574,12 +74216,14 @@ index a1beb0f7c208..5a45e729c554 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -75610,16 +74254,6 @@ index a1beb0f7c208..5a45e729c554 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -75628,35 +74262,37 @@ index a1beb0f7c208..5a45e729c554 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("parameter_gn") diff --git third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build -index 8940c608e991..2cba46b3bef8 100644 +index 595e2a4b47fc..1a73e6f7cce3 100644 --- third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -75672,12 +74308,13 @@ index 8940c608e991..2cba46b3bef8 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -75685,13 +74322,14 @@ index 8940c608e991..2cba46b3bef8 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -75703,8 +74341,6 @@ index 8940c608e991..2cba46b3bef8 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -75712,12 +74348,12 @@ index 8940c608e991..2cba46b3bef8 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -75727,7 +74363,6 @@ index 8940c608e991..2cba46b3bef8 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -75751,6 +74386,7 @@ index 8940c608e991..2cba46b3bef8 100644 - 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 @@ -75761,6 +74397,7 @@ index 8940c608e991..2cba46b3bef8 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -75773,8 +74410,9 @@ index 8940c608e991..2cba46b3bef8 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -75792,12 +74430,14 @@ index 8940c608e991..2cba46b3bef8 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -75828,16 +74468,6 @@ index 8940c608e991..2cba46b3bef8 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -75846,35 +74476,37 @@ index 8940c608e991..2cba46b3bef8 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("sctp_packet_gn") diff --git third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build -index 8ac207cfe1c5..3a4c616d2424 100644 +index 501e087cf4f4..46aca2b63439 100644 --- third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -75890,12 +74522,13 @@ index 8ac207cfe1c5..3a4c616d2424 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -75903,13 +74536,14 @@ index 8ac207cfe1c5..3a4c616d2424 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -75921,8 +74555,6 @@ index 8ac207cfe1c5..3a4c616d2424 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -75930,12 +74562,12 @@ index 8ac207cfe1c5..3a4c616d2424 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -75945,7 +74577,6 @@ index 8ac207cfe1c5..3a4c616d2424 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -75969,6 +74600,7 @@ index 8ac207cfe1c5..3a4c616d2424 100644 - 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 @@ -75979,6 +74611,7 @@ index 8ac207cfe1c5..3a4c616d2424 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -75991,8 +74624,9 @@ index 8ac207cfe1c5..3a4c616d2424 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -76010,12 +74644,14 @@ index 8ac207cfe1c5..3a4c616d2424 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -76046,16 +74682,6 @@ index 8ac207cfe1c5..3a4c616d2424 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -76064,35 +74690,37 @@ index 8ac207cfe1c5..3a4c616d2424 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("tlv_trait_gn") diff --git third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build -index 2126af302d7b..25ce5477486d 100644 +index 8bffc5ccb823..076f5770a5d6 100644 --- third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -76108,12 +74736,13 @@ index 2126af302d7b..25ce5477486d 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -76121,13 +74750,14 @@ index 2126af302d7b..25ce5477486d 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -76139,8 +74769,6 @@ index 2126af302d7b..25ce5477486d 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -76148,12 +74776,12 @@ index 2126af302d7b..25ce5477486d 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -76163,7 +74791,6 @@ index 2126af302d7b..25ce5477486d 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -76187,6 +74814,7 @@ index 2126af302d7b..25ce5477486d 100644 - 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 @@ -76197,6 +74825,7 @@ index 2126af302d7b..25ce5477486d 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -76209,8 +74838,9 @@ index 2126af302d7b..25ce5477486d 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -76228,12 +74858,14 @@ index 2126af302d7b..25ce5477486d 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -76264,16 +74896,6 @@ index 2126af302d7b..25ce5477486d 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -76282,35 +74904,37 @@ index 2126af302d7b..25ce5477486d 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("factory_gn") diff --git third_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build third_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build -index f65d94f80dca..a07bcaae7738 100644 +index 927b5a428912..a6ed4c24ef15 100644 --- third_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -76326,12 +74950,13 @@ index f65d94f80dca..a07bcaae7738 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -76339,13 +74964,14 @@ index f65d94f80dca..a07bcaae7738 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -76357,8 +74983,6 @@ index f65d94f80dca..a07bcaae7738 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -76366,12 +74990,12 @@ index f65d94f80dca..a07bcaae7738 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -76381,7 +75005,6 @@ index f65d94f80dca..a07bcaae7738 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -76405,6 +75028,7 @@ index f65d94f80dca..a07bcaae7738 100644 - 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 @@ -76415,13 +75039,15 @@ index f65d94f80dca..a07bcaae7738 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -76439,12 +75065,14 @@ index f65d94f80dca..a07bcaae7738 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -76475,16 +75103,6 @@ index f65d94f80dca..a07bcaae7738 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -76493,35 +75111,37 @@ index f65d94f80dca..a07bcaae7738 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("socket_gn") diff --git third_party/libwebrtc/net/dcsctp/public/types_gn/moz.build third_party/libwebrtc/net/dcsctp/public/types_gn/moz.build -index 1b974d0796d6..738f80ce6793 100644 +index 653ad6fa967b..7aa084722ff6 100644 --- third_party/libwebrtc/net/dcsctp/public/types_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/public/types_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -76537,12 +75157,13 @@ index 1b974d0796d6..738f80ce6793 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -76550,13 +75171,14 @@ index 1b974d0796d6..738f80ce6793 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -76568,8 +75190,6 @@ index 1b974d0796d6..738f80ce6793 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -76577,12 +75197,12 @@ index 1b974d0796d6..738f80ce6793 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -76592,7 +75212,6 @@ index 1b974d0796d6..738f80ce6793 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -76616,6 +75235,7 @@ index 1b974d0796d6..738f80ce6793 100644 - 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 @@ -76626,13 +75246,15 @@ index 1b974d0796d6..738f80ce6793 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -76646,17 +75268,19 @@ index 1b974d0796d6..738f80ce6793 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -76680,39 +75304,32 @@ index 1b974d0796d6..738f80ce6793 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("types_gn") diff --git third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build -index 5276459a3feb..16efcdf3f232 100644 +index 3a621be8ee0c..c41e3cea29db 100644 --- third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -76728,12 +75345,13 @@ index 5276459a3feb..16efcdf3f232 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -76741,13 +75359,14 @@ index 5276459a3feb..16efcdf3f232 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -76759,8 +75378,6 @@ index 5276459a3feb..16efcdf3f232 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -76768,12 +75385,12 @@ index 5276459a3feb..16efcdf3f232 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -76783,7 +75400,6 @@ index 5276459a3feb..16efcdf3f232 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -76807,6 +75423,7 @@ index 5276459a3feb..16efcdf3f232 100644 - 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 @@ -76817,6 +75434,7 @@ index 5276459a3feb..16efcdf3f232 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -76829,8 +75447,9 @@ index 5276459a3feb..16efcdf3f232 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -76848,12 +75467,14 @@ index 5276459a3feb..16efcdf3f232 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -76884,16 +75505,6 @@ index 5276459a3feb..16efcdf3f232 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -76902,35 +75513,37 @@ index 5276459a3feb..16efcdf3f232 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("data_tracker_gn") diff --git third_party/libwebrtc/net/dcsctp/rx/interleaved_reassembly_streams_gn/moz.build third_party/libwebrtc/net/dcsctp/rx/interleaved_reassembly_streams_gn/moz.build -index 319c63c7eb91..e6d7a638ec76 100644 +index 970d2ca3e440..725acafe32f8 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -76946,12 +75559,13 @@ index 319c63c7eb91..e6d7a638ec76 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -76959,13 +75573,14 @@ index 319c63c7eb91..e6d7a638ec76 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -76977,8 +75592,6 @@ index 319c63c7eb91..e6d7a638ec76 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -76986,12 +75599,12 @@ index 319c63c7eb91..e6d7a638ec76 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -77001,7 +75614,6 @@ index 319c63c7eb91..e6d7a638ec76 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -77025,6 +75637,7 @@ index 319c63c7eb91..e6d7a638ec76 100644 - 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 @@ -77035,6 +75648,7 @@ index 319c63c7eb91..e6d7a638ec76 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -77047,8 +75661,9 @@ index 319c63c7eb91..e6d7a638ec76 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -77066,12 +75681,14 @@ index 319c63c7eb91..e6d7a638ec76 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -77102,16 +75719,6 @@ index 319c63c7eb91..e6d7a638ec76 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -77120,35 +75727,37 @@ index 319c63c7eb91..e6d7a638ec76 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("interleaved_reassembly_streams_gn") diff --git third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build -index cdb84f7d102c..06f189fb7b51 100644 +index ebc514445924..cdf1107bd75d 100644 --- third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -77164,12 +75773,13 @@ index cdb84f7d102c..06f189fb7b51 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -77177,13 +75787,14 @@ index cdb84f7d102c..06f189fb7b51 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -77195,8 +75806,6 @@ index cdb84f7d102c..06f189fb7b51 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -77204,12 +75813,12 @@ index cdb84f7d102c..06f189fb7b51 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -77219,7 +75828,6 @@ index cdb84f7d102c..06f189fb7b51 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -77243,6 +75851,7 @@ index cdb84f7d102c..06f189fb7b51 100644 - 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 @@ -77253,6 +75862,7 @@ index cdb84f7d102c..06f189fb7b51 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -77265,8 +75875,9 @@ index cdb84f7d102c..06f189fb7b51 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -77284,12 +75895,14 @@ index cdb84f7d102c..06f189fb7b51 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -77320,16 +75933,6 @@ index cdb84f7d102c..06f189fb7b51 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -77338,35 +75941,37 @@ index cdb84f7d102c..06f189fb7b51 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("reassembly_queue_gn") diff --git third_party/libwebrtc/net/dcsctp/rx/reassembly_streams_gn/moz.build third_party/libwebrtc/net/dcsctp/rx/reassembly_streams_gn/moz.build -index 6c398b133ee0..fd95d137655b 100644 +index d2b225cc9eb1..a219368de740 100644 --- third_party/libwebrtc/net/dcsctp/rx/reassembly_streams_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/rx/reassembly_streams_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -77382,12 +75987,13 @@ index 6c398b133ee0..fd95d137655b 100644 +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" -@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -77395,13 +76001,14 @@ index 6c398b133ee0..fd95d137655b 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -77413,8 +76020,6 @@ index 6c398b133ee0..fd95d137655b 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -77422,12 +76027,12 @@ index 6c398b133ee0..fd95d137655b 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -77437,7 +76042,6 @@ index 6c398b133ee0..fd95d137655b 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -77461,6 +76065,7 @@ index 6c398b133ee0..fd95d137655b 100644 - 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 @@ -77471,6 +76076,7 @@ index 6c398b133ee0..fd95d137655b 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -77483,8 +76089,9 @@ index 6c398b133ee0..fd95d137655b 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -77498,17 +76105,19 @@ index 6c398b133ee0..fd95d137655b 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -77532,39 +76141,32 @@ index 6c398b133ee0..fd95d137655b 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("reassembly_streams_gn") diff --git third_party/libwebrtc/net/dcsctp/rx/traditional_reassembly_streams_gn/moz.build third_party/libwebrtc/net/dcsctp/rx/traditional_reassembly_streams_gn/moz.build -index dea3f1d04e9c..4da538440a2a 100644 +index ec9eb8c8dca6..e9613ef83f3f 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -77580,12 +76182,13 @@ index dea3f1d04e9c..4da538440a2a 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -77593,13 +76196,14 @@ index dea3f1d04e9c..4da538440a2a 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -77611,8 +76215,6 @@ index dea3f1d04e9c..4da538440a2a 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -77620,12 +76222,12 @@ index dea3f1d04e9c..4da538440a2a 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -77635,7 +76237,6 @@ index dea3f1d04e9c..4da538440a2a 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -77659,6 +76260,7 @@ index dea3f1d04e9c..4da538440a2a 100644 - 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 @@ -77669,6 +76271,7 @@ index dea3f1d04e9c..4da538440a2a 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -77681,8 +76284,9 @@ index dea3f1d04e9c..4da538440a2a 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -77700,12 +76304,14 @@ index dea3f1d04e9c..4da538440a2a 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -77736,16 +76342,6 @@ index dea3f1d04e9c..4da538440a2a 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -77754,35 +76350,37 @@ index dea3f1d04e9c..4da538440a2a 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("traditional_reassembly_streams_gn") diff --git third_party/libwebrtc/net/dcsctp/socket/context_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/context_gn/moz.build -index 1412fe4b2580..51f4925bb9e5 100644 +index 5191b1ff25e5..d5553041ffcf 100644 --- third_party/libwebrtc/net/dcsctp/socket/context_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/socket/context_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -77798,12 +76396,13 @@ index 1412fe4b2580..51f4925bb9e5 100644 +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" -@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -77811,13 +76410,14 @@ index 1412fe4b2580..51f4925bb9e5 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -77829,8 +76429,6 @@ index 1412fe4b2580..51f4925bb9e5 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -77838,12 +76436,12 @@ index 1412fe4b2580..51f4925bb9e5 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -77853,7 +76451,6 @@ index 1412fe4b2580..51f4925bb9e5 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -77877,6 +76474,7 @@ index 1412fe4b2580..51f4925bb9e5 100644 - 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 @@ -77887,6 +76485,7 @@ index 1412fe4b2580..51f4925bb9e5 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -77899,8 +76498,9 @@ index 1412fe4b2580..51f4925bb9e5 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -77914,17 +76514,19 @@ index 1412fe4b2580..51f4925bb9e5 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -77948,39 +76550,32 @@ index 1412fe4b2580..51f4925bb9e5 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("context_gn") diff --git third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build -index b5f74c59485f..fc81bd30b2b8 100644 +index f60268863f14..6a8f037b8820 100644 --- third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -77996,12 +76591,13 @@ index b5f74c59485f..fc81bd30b2b8 100644 +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" -@@ -46,186 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -78009,13 +76605,14 @@ index b5f74c59485f..fc81bd30b2b8 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -78027,8 +76624,6 @@ index b5f74c59485f..fc81bd30b2b8 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -78036,12 +76631,12 @@ index b5f74c59485f..fc81bd30b2b8 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -78051,7 +76646,6 @@ index b5f74c59485f..fc81bd30b2b8 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -78075,6 +76669,7 @@ index b5f74c59485f..fc81bd30b2b8 100644 - 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 @@ -78085,6 +76680,7 @@ index b5f74c59485f..fc81bd30b2b8 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -78097,8 +76693,9 @@ index b5f74c59485f..fc81bd30b2b8 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -142,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -78116,12 +76713,14 @@ index b5f74c59485f..fc81bd30b2b8 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -78152,16 +76751,6 @@ index b5f74c59485f..fc81bd30b2b8 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -78170,35 +76759,37 @@ index b5f74c59485f..fc81bd30b2b8 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("dcsctp_socket_gn") diff --git third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build -index 0a9c0ad00ea5..19c7c7c852fa 100644 +index b6673bdcb35d..38c33f31da9f 100644 --- third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -78214,12 +76805,13 @@ index 0a9c0ad00ea5..19c7c7c852fa 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -78227,13 +76819,14 @@ index 0a9c0ad00ea5..19c7c7c852fa 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -78245,8 +76838,6 @@ index 0a9c0ad00ea5..19c7c7c852fa 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -78254,12 +76845,12 @@ index 0a9c0ad00ea5..19c7c7c852fa 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -78269,7 +76860,6 @@ index 0a9c0ad00ea5..19c7c7c852fa 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -78293,6 +76883,7 @@ index 0a9c0ad00ea5..19c7c7c852fa 100644 - 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 @@ -78303,6 +76894,7 @@ index 0a9c0ad00ea5..19c7c7c852fa 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -78315,8 +76907,9 @@ index 0a9c0ad00ea5..19c7c7c852fa 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -78334,12 +76927,14 @@ index 0a9c0ad00ea5..19c7c7c852fa 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -78370,16 +76965,6 @@ index 0a9c0ad00ea5..19c7c7c852fa 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -78388,35 +76973,37 @@ index 0a9c0ad00ea5..19c7c7c852fa 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("heartbeat_handler_gn") diff --git third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build -index ed127c2a2056..1bc00bd677ad 100644 +index 2a98bd00a625..b510960c9a21 100644 --- third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -78432,12 +77019,13 @@ index ed127c2a2056..1bc00bd677ad 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -78445,13 +77033,14 @@ index ed127c2a2056..1bc00bd677ad 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -78463,8 +77052,6 @@ index ed127c2a2056..1bc00bd677ad 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -78472,12 +77059,12 @@ index ed127c2a2056..1bc00bd677ad 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -78487,7 +77074,6 @@ index ed127c2a2056..1bc00bd677ad 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -78511,6 +77097,7 @@ index ed127c2a2056..1bc00bd677ad 100644 - 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 @@ -78521,6 +77108,7 @@ index ed127c2a2056..1bc00bd677ad 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -78533,8 +77121,9 @@ index ed127c2a2056..1bc00bd677ad 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -78552,12 +77141,14 @@ index ed127c2a2056..1bc00bd677ad 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -78588,16 +77179,6 @@ index ed127c2a2056..1bc00bd677ad 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -78606,35 +77187,37 @@ index ed127c2a2056..1bc00bd677ad 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("packet_sender_gn") diff --git third_party/libwebrtc/net/dcsctp/socket/stream_reset_handler_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/stream_reset_handler_gn/moz.build -index 49714f1804f3..fca2c697c710 100644 +index 8f3480e9ca8d..7a29d5249b18 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -78650,12 +77233,13 @@ index 49714f1804f3..fca2c697c710 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -78663,13 +77247,14 @@ index 49714f1804f3..fca2c697c710 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -78681,8 +77266,6 @@ index 49714f1804f3..fca2c697c710 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -78690,12 +77273,12 @@ index 49714f1804f3..fca2c697c710 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -78705,7 +77288,6 @@ index 49714f1804f3..fca2c697c710 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -78729,6 +77311,7 @@ index 49714f1804f3..fca2c697c710 100644 - 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 @@ -78739,6 +77322,7 @@ index 49714f1804f3..fca2c697c710 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -78751,8 +77335,9 @@ index 49714f1804f3..fca2c697c710 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -78770,12 +77355,14 @@ index 49714f1804f3..fca2c697c710 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -78806,16 +77393,6 @@ index 49714f1804f3..fca2c697c710 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -78824,35 +77401,37 @@ index 49714f1804f3..fca2c697c710 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("stream_reset_handler_gn") diff --git third_party/libwebrtc/net/dcsctp/socket/transmission_control_block_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/transmission_control_block_gn/moz.build -index be93efb070fb..b780282e8e46 100644 +index 1fceb333f990..dbf0adade674 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -78868,12 +77447,13 @@ index be93efb070fb..b780282e8e46 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -78881,13 +77461,14 @@ index be93efb070fb..b780282e8e46 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -78899,8 +77480,6 @@ index be93efb070fb..b780282e8e46 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -78908,12 +77487,12 @@ index be93efb070fb..b780282e8e46 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -78923,7 +77502,6 @@ index be93efb070fb..b780282e8e46 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -78947,6 +77525,7 @@ index be93efb070fb..b780282e8e46 100644 - 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 @@ -78957,6 +77536,7 @@ index be93efb070fb..b780282e8e46 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -78969,8 +77549,9 @@ index be93efb070fb..b780282e8e46 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -78988,12 +77569,14 @@ index be93efb070fb..b780282e8e46 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -79024,16 +77607,6 @@ index be93efb070fb..b780282e8e46 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -79042,35 +77615,37 @@ index be93efb070fb..b780282e8e46 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("transmission_control_block_gn") diff --git third_party/libwebrtc/net/dcsctp/timer/task_queue_timeout_gn/moz.build third_party/libwebrtc/net/dcsctp/timer/task_queue_timeout_gn/moz.build -index 19e9a8ae4cb0..ee7ab28bbb77 100644 +index 55a0b4115a34..d8d1eb6264ab 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -79086,12 +77661,13 @@ index 19e9a8ae4cb0..ee7ab28bbb77 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -79099,13 +77675,14 @@ index 19e9a8ae4cb0..ee7ab28bbb77 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -79117,8 +77694,6 @@ index 19e9a8ae4cb0..ee7ab28bbb77 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -79126,12 +77701,12 @@ index 19e9a8ae4cb0..ee7ab28bbb77 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -79141,7 +77716,6 @@ index 19e9a8ae4cb0..ee7ab28bbb77 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -79165,6 +77739,7 @@ index 19e9a8ae4cb0..ee7ab28bbb77 100644 - 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 @@ -79175,6 +77750,7 @@ index 19e9a8ae4cb0..ee7ab28bbb77 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -79187,8 +77763,9 @@ index 19e9a8ae4cb0..ee7ab28bbb77 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -79206,12 +77783,14 @@ index 19e9a8ae4cb0..ee7ab28bbb77 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -79242,16 +77821,6 @@ index 19e9a8ae4cb0..ee7ab28bbb77 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -79260,35 +77829,37 @@ index 19e9a8ae4cb0..ee7ab28bbb77 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("task_queue_timeout_gn") diff --git third_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build third_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build -index fc21b96cb95e..92d3bad017da 100644 +index cd563c4058bc..df65aca6a01c 100644 --- third_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -79304,12 +77875,13 @@ index fc21b96cb95e..92d3bad017da 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -79317,13 +77889,14 @@ index fc21b96cb95e..92d3bad017da 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -79335,8 +77908,6 @@ index fc21b96cb95e..92d3bad017da 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -79344,12 +77915,12 @@ index fc21b96cb95e..92d3bad017da 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -79359,7 +77930,6 @@ index fc21b96cb95e..92d3bad017da 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -79383,6 +77953,7 @@ index fc21b96cb95e..92d3bad017da 100644 - 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 @@ -79393,13 +77964,15 @@ index fc21b96cb95e..92d3bad017da 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -79417,12 +77990,14 @@ index fc21b96cb95e..92d3bad017da 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -79453,16 +78028,6 @@ index fc21b96cb95e..92d3bad017da 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -79471,35 +78036,37 @@ index fc21b96cb95e..92d3bad017da 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("timer_gn") diff --git third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build -index d6f0efb0e95e..d9f2acafec11 100644 +index ac4bbdcd2338..326c428a1778 100644 --- third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -79515,12 +78082,13 @@ index d6f0efb0e95e..d9f2acafec11 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -79528,13 +78096,14 @@ index d6f0efb0e95e..d9f2acafec11 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -79546,8 +78115,6 @@ index d6f0efb0e95e..d9f2acafec11 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -79555,12 +78122,12 @@ index d6f0efb0e95e..d9f2acafec11 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -79570,7 +78137,6 @@ index d6f0efb0e95e..d9f2acafec11 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -79594,6 +78160,7 @@ index d6f0efb0e95e..d9f2acafec11 100644 - 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 @@ -79604,6 +78171,7 @@ index d6f0efb0e95e..d9f2acafec11 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -79616,8 +78184,9 @@ index d6f0efb0e95e..d9f2acafec11 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -79635,12 +78204,14 @@ index d6f0efb0e95e..d9f2acafec11 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -79671,16 +78242,6 @@ index d6f0efb0e95e..d9f2acafec11 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -79689,35 +78250,37 @@ index d6f0efb0e95e..d9f2acafec11 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("outstanding_data_gn") diff --git third_party/libwebrtc/net/dcsctp/tx/retransmission_error_counter_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/retransmission_error_counter_gn/moz.build -index e4c78b2b27c0..f24cfb2e48ec 100644 +index b0386ae0a511..cbc589514252 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -79733,12 +78296,13 @@ index e4c78b2b27c0..f24cfb2e48ec 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -79746,13 +78310,14 @@ index e4c78b2b27c0..f24cfb2e48ec 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -79764,8 +78329,6 @@ index e4c78b2b27c0..f24cfb2e48ec 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -79773,12 +78336,12 @@ index e4c78b2b27c0..f24cfb2e48ec 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -79788,7 +78351,6 @@ index e4c78b2b27c0..f24cfb2e48ec 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -79812,6 +78374,7 @@ index e4c78b2b27c0..f24cfb2e48ec 100644 - 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 @@ -79822,6 +78385,7 @@ index e4c78b2b27c0..f24cfb2e48ec 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -79834,8 +78398,9 @@ index e4c78b2b27c0..f24cfb2e48ec 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -79853,12 +78418,14 @@ index e4c78b2b27c0..f24cfb2e48ec 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -79889,16 +78456,6 @@ index e4c78b2b27c0..f24cfb2e48ec 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -79907,35 +78464,37 @@ index e4c78b2b27c0..f24cfb2e48ec 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("retransmission_error_counter_gn") diff --git third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build -index 94099b89bbc9..d4eef73f4081 100644 +index 58fdf7dd5115..55c75c1fb402 100644 --- third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -79951,12 +78510,13 @@ index 94099b89bbc9..d4eef73f4081 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -79964,13 +78524,14 @@ index 94099b89bbc9..d4eef73f4081 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -79982,8 +78543,6 @@ index 94099b89bbc9..d4eef73f4081 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -79991,12 +78550,12 @@ index 94099b89bbc9..d4eef73f4081 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -80006,7 +78565,6 @@ index 94099b89bbc9..d4eef73f4081 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -80030,6 +78588,7 @@ index 94099b89bbc9..d4eef73f4081 100644 - 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 @@ -80040,6 +78599,7 @@ index 94099b89bbc9..d4eef73f4081 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -80052,8 +78612,9 @@ index 94099b89bbc9..d4eef73f4081 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -80071,12 +78632,14 @@ index 94099b89bbc9..d4eef73f4081 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -80107,16 +78670,6 @@ index 94099b89bbc9..d4eef73f4081 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -80125,35 +78678,37 @@ index 94099b89bbc9..d4eef73f4081 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("retransmission_queue_gn") diff --git third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build -index b3cc98e36fcb..7e95c8f18e3d 100644 +index 9a258b6b20eb..0a9dfa499321 100644 --- third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -80169,12 +78724,13 @@ index b3cc98e36fcb..7e95c8f18e3d 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -80182,13 +78738,14 @@ index b3cc98e36fcb..7e95c8f18e3d 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -80200,8 +78757,6 @@ index b3cc98e36fcb..7e95c8f18e3d 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -80209,12 +78764,12 @@ index b3cc98e36fcb..7e95c8f18e3d 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -80224,7 +78779,6 @@ index b3cc98e36fcb..7e95c8f18e3d 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -80248,6 +78802,7 @@ index b3cc98e36fcb..7e95c8f18e3d 100644 - 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 @@ -80258,13 +78813,15 @@ index b3cc98e36fcb..7e95c8f18e3d 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -80282,12 +78839,14 @@ index b3cc98e36fcb..7e95c8f18e3d 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -80318,16 +78877,6 @@ index b3cc98e36fcb..7e95c8f18e3d 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -80336,35 +78885,37 @@ index b3cc98e36fcb..7e95c8f18e3d 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("retransmission_timeout_gn") diff --git third_party/libwebrtc/net/dcsctp/tx/rr_send_queue_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/rr_send_queue_gn/moz.build -index 0930a4d36c9f..271a2fd7a9a7 100644 +index 91c786eed99b..48c5fbaf1ba4 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -80380,12 +78931,13 @@ index 0930a4d36c9f..271a2fd7a9a7 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -80393,13 +78945,14 @@ index 0930a4d36c9f..271a2fd7a9a7 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -80411,8 +78964,6 @@ index 0930a4d36c9f..271a2fd7a9a7 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -80420,12 +78971,12 @@ index 0930a4d36c9f..271a2fd7a9a7 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -80435,7 +78986,6 @@ index 0930a4d36c9f..271a2fd7a9a7 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -80459,6 +79009,7 @@ index 0930a4d36c9f..271a2fd7a9a7 100644 - 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 @@ -80469,6 +79020,7 @@ index 0930a4d36c9f..271a2fd7a9a7 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -80481,8 +79033,9 @@ index 0930a4d36c9f..271a2fd7a9a7 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -80500,12 +79053,14 @@ index 0930a4d36c9f..271a2fd7a9a7 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -80536,16 +79091,6 @@ index 0930a4d36c9f..271a2fd7a9a7 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -80554,35 +79099,37 @@ index 0930a4d36c9f..271a2fd7a9a7 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rr_send_queue_gn") diff --git third_party/libwebrtc/net/dcsctp/tx/send_queue_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/send_queue_gn/moz.build -index 53637eff6663..a227ea7ffca7 100644 +index 59294c3bd400..0926b8455a15 100644 --- third_party/libwebrtc/net/dcsctp/tx/send_queue_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/tx/send_queue_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -80598,12 +79145,13 @@ index 53637eff6663..a227ea7ffca7 100644 +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" -@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -80611,13 +79159,14 @@ index 53637eff6663..a227ea7ffca7 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -80629,8 +79178,6 @@ index 53637eff6663..a227ea7ffca7 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -80638,12 +79185,12 @@ index 53637eff6663..a227ea7ffca7 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -80653,7 +79200,6 @@ index 53637eff6663..a227ea7ffca7 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -80677,6 +79223,7 @@ index 53637eff6663..a227ea7ffca7 100644 - 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 @@ -80687,6 +79234,7 @@ index 53637eff6663..a227ea7ffca7 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -80699,8 +79247,9 @@ index 53637eff6663..a227ea7ffca7 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -80714,17 +79263,19 @@ index 53637eff6663..a227ea7ffca7 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -80748,39 +79299,32 @@ index 53637eff6663..a227ea7ffca7 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("send_queue_gn") diff --git third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build -index 664394c22b67..0e1f5e52ab80 100644 +index 055f438670b6..9a873890e77f 100644 --- third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -80796,12 +79340,13 @@ index 664394c22b67..0e1f5e52ab80 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -80809,13 +79354,14 @@ index 664394c22b67..0e1f5e52ab80 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -80827,8 +79373,6 @@ index 664394c22b67..0e1f5e52ab80 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -80836,12 +79380,12 @@ index 664394c22b67..0e1f5e52ab80 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -80851,7 +79395,6 @@ index 664394c22b67..0e1f5e52ab80 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -80875,6 +79418,7 @@ index 664394c22b67..0e1f5e52ab80 100644 - 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 @@ -80885,6 +79429,7 @@ index 664394c22b67..0e1f5e52ab80 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -80897,8 +79442,9 @@ index 664394c22b67..0e1f5e52ab80 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -80916,12 +79462,14 @@ index 664394c22b67..0e1f5e52ab80 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -80952,16 +79500,6 @@ index 664394c22b67..0e1f5e52ab80 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -80970,35 +79508,37 @@ index 664394c22b67..0e1f5e52ab80 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("stream_scheduler_gn") diff --git third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build -index ebe2d31f76cb..4273164eb8ae 100644 +index 7e32eb6e2755..8fdcb6772390 100644 --- third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build +++ third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -81014,12 +79554,13 @@ index ebe2d31f76cb..4273164eb8ae 100644 +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" -@@ -44,187 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,95 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -81027,13 +79568,14 @@ index ebe2d31f76cb..4273164eb8ae 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -81046,8 +79588,6 @@ index ebe2d31f76cb..4273164eb8ae 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -81055,12 +79595,12 @@ index ebe2d31f76cb..4273164eb8ae 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -81070,7 +79610,6 @@ index ebe2d31f76cb..4273164eb8ae 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -81094,6 +79633,7 @@ index ebe2d31f76cb..4273164eb8ae 100644 - 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 @@ -81104,6 +79644,7 @@ index ebe2d31f76cb..4273164eb8ae 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -81116,8 +79657,9 @@ index ebe2d31f76cb..4273164eb8ae 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -141,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -81135,12 +79677,14 @@ index ebe2d31f76cb..4273164eb8ae 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -81171,16 +79715,6 @@ index ebe2d31f76cb..4273164eb8ae 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -81189,35 +79723,37 @@ index ebe2d31f76cb..4273164eb8ae 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("async_dns_resolver_gn") diff --git third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build -index 0739957773e6..99cb949dca52 100644 +index 7a146473b341..f51588d4d243 100644 --- third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build +++ third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -81233,12 +79769,13 @@ index 0739957773e6..99cb949dca52 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -81246,13 +79783,14 @@ index 0739957773e6..99cb949dca52 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -81260,8 +79798,6 @@ index 0739957773e6..99cb949dca52 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -81269,12 +79805,12 @@ index 0739957773e6..99cb949dca52 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -81284,7 +79820,6 @@ index 0739957773e6..99cb949dca52 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -81308,6 +79843,7 @@ index 0739957773e6..99cb949dca52 100644 - 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 @@ -81318,13 +79854,15 @@ index 0739957773e6..99cb949dca52 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -81338,17 +79876,19 @@ index 0739957773e6..99cb949dca52 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -81372,39 +79912,32 @@ index 0739957773e6..99cb949dca52 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("async_packet_socket_gn") diff --git third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build -index 85cfaded6fc1..be4e6cad1dbd 100644 +index aeda0b1a6b32..03d61f0aaa19 100644 --- third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build +++ third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -81420,12 +79953,13 @@ index 85cfaded6fc1..be4e6cad1dbd 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -81433,13 +79967,14 @@ index 85cfaded6fc1..be4e6cad1dbd 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -81451,8 +79986,6 @@ index 85cfaded6fc1..be4e6cad1dbd 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -81460,12 +79993,12 @@ index 85cfaded6fc1..be4e6cad1dbd 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -81479,7 +80012,6 @@ index 85cfaded6fc1..be4e6cad1dbd 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -81503,6 +80035,7 @@ index 85cfaded6fc1..be4e6cad1dbd 100644 - 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 @@ -81513,6 +80046,7 @@ index 85cfaded6fc1..be4e6cad1dbd 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -81525,8 +80059,9 @@ index 85cfaded6fc1..be4e6cad1dbd 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -81544,12 +80079,14 @@ index 85cfaded6fc1..be4e6cad1dbd 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -81580,16 +80117,6 @@ index 85cfaded6fc1..be4e6cad1dbd 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -81598,35 +80125,37 @@ index 85cfaded6fc1..be4e6cad1dbd 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("audio_format_to_string_gn") diff --git third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build -index ef6a31fb5e9b..67ba86b45fdf 100644 +index 0a6ec847b887..94c68e80890c 100644 --- third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build +++ third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -81642,12 +80171,13 @@ index ef6a31fb5e9b..67ba86b45fdf 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -81655,13 +80185,14 @@ index ef6a31fb5e9b..67ba86b45fdf 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -81673,8 +80204,6 @@ index ef6a31fb5e9b..67ba86b45fdf 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -81682,12 +80211,12 @@ index ef6a31fb5e9b..67ba86b45fdf 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -81697,7 +80226,6 @@ index ef6a31fb5e9b..67ba86b45fdf 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -81721,6 +80249,7 @@ index ef6a31fb5e9b..67ba86b45fdf 100644 - 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 @@ -81731,13 +80260,15 @@ index ef6a31fb5e9b..67ba86b45fdf 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -81755,12 +80286,14 @@ index ef6a31fb5e9b..67ba86b45fdf 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -81791,16 +80324,6 @@ index ef6a31fb5e9b..67ba86b45fdf 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -81809,35 +80332,37 @@ index ef6a31fb5e9b..67ba86b45fdf 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("bit_buffer_gn") diff --git third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build -index e98692d2e7b7..45ab9ef5afd1 100644 +index 3d7f0613554f..0b19ed3b02dd 100644 --- third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build +++ third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -81853,12 +80378,13 @@ index e98692d2e7b7..45ab9ef5afd1 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -81866,13 +80392,14 @@ index e98692d2e7b7..45ab9ef5afd1 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -81884,8 +80411,6 @@ index e98692d2e7b7..45ab9ef5afd1 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -81893,12 +80418,12 @@ index e98692d2e7b7..45ab9ef5afd1 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -81908,7 +80433,6 @@ index e98692d2e7b7..45ab9ef5afd1 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -81932,6 +80456,7 @@ index e98692d2e7b7..45ab9ef5afd1 100644 - 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 @@ -81942,6 +80467,7 @@ index e98692d2e7b7..45ab9ef5afd1 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -81954,8 +80480,9 @@ index e98692d2e7b7..45ab9ef5afd1 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -81973,12 +80500,14 @@ index e98692d2e7b7..45ab9ef5afd1 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -82009,16 +80538,6 @@ index e98692d2e7b7..45ab9ef5afd1 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -82027,35 +80546,37 @@ index e98692d2e7b7..45ab9ef5afd1 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("bitrate_tracker_gn") diff --git third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build -index 41bb6e4e0ee4..c8612822886c 100644 +index 559f4069b391..72c0bffa6821 100644 --- third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build +++ third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -82071,12 +80592,13 @@ index 41bb6e4e0ee4..c8612822886c 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -82084,13 +80606,14 @@ index 41bb6e4e0ee4..c8612822886c 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -82102,8 +80625,6 @@ index 41bb6e4e0ee4..c8612822886c 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -82111,12 +80632,12 @@ index 41bb6e4e0ee4..c8612822886c 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -82126,7 +80647,6 @@ index 41bb6e4e0ee4..c8612822886c 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -82150,6 +80670,7 @@ index 41bb6e4e0ee4..c8612822886c 100644 - 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 @@ -82160,13 +80681,15 @@ index 41bb6e4e0ee4..c8612822886c 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -82184,12 +80707,14 @@ index 41bb6e4e0ee4..c8612822886c 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -82220,16 +80745,6 @@ index 41bb6e4e0ee4..c8612822886c 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -82238,35 +80753,37 @@ index 41bb6e4e0ee4..c8612822886c 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("bitstream_reader_gn") diff --git third_party/libwebrtc/rtc_base/buffer_gn/moz.build third_party/libwebrtc/rtc_base/buffer_gn/moz.build -index 896456d6ec99..534605ccf4e2 100644 +index f21b4b8eab2a..9d63b938f605 100644 --- third_party/libwebrtc/rtc_base/buffer_gn/moz.build +++ third_party/libwebrtc/rtc_base/buffer_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -82282,12 +80799,13 @@ index 896456d6ec99..534605ccf4e2 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -82295,13 +80813,14 @@ index 896456d6ec99..534605ccf4e2 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -82313,8 +80832,6 @@ index 896456d6ec99..534605ccf4e2 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -82322,12 +80839,12 @@ index 896456d6ec99..534605ccf4e2 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -82337,7 +80854,6 @@ index 896456d6ec99..534605ccf4e2 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -82361,6 +80877,7 @@ index 896456d6ec99..534605ccf4e2 100644 - 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 @@ -82371,13 +80888,15 @@ index 896456d6ec99..534605ccf4e2 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -82391,17 +80910,19 @@ index 896456d6ec99..534605ccf4e2 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -82425,39 +80946,32 @@ index 896456d6ec99..534605ccf4e2 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("buffer_gn") diff --git third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build -index efa39af67ca2..4fbf51d84dd6 100644 +index afd619f1dfaa..313d261ab5ef 100644 --- third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build +++ third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -82473,12 +80987,13 @@ index efa39af67ca2..4fbf51d84dd6 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -82486,13 +81001,14 @@ index efa39af67ca2..4fbf51d84dd6 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -82504,8 +81020,6 @@ index efa39af67ca2..4fbf51d84dd6 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -82513,12 +81027,12 @@ index efa39af67ca2..4fbf51d84dd6 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -82528,7 +81042,6 @@ index efa39af67ca2..4fbf51d84dd6 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -82552,6 +81065,7 @@ index efa39af67ca2..4fbf51d84dd6 100644 - 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 @@ -82562,13 +81076,15 @@ index efa39af67ca2..4fbf51d84dd6 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -82586,12 +81102,14 @@ index efa39af67ca2..4fbf51d84dd6 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -82622,16 +81140,6 @@ index efa39af67ca2..4fbf51d84dd6 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -82640,35 +81148,37 @@ index efa39af67ca2..4fbf51d84dd6 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("byte_buffer_gn") diff --git third_party/libwebrtc/rtc_base/byte_order_gn/moz.build third_party/libwebrtc/rtc_base/byte_order_gn/moz.build -index ce685d4814d2..65ab76218c6c 100644 +index 136f9ba39118..26d600457629 100644 --- third_party/libwebrtc/rtc_base/byte_order_gn/moz.build +++ third_party/libwebrtc/rtc_base/byte_order_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -82684,12 +81194,13 @@ index ce685d4814d2..65ab76218c6c 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -82697,13 +81208,14 @@ index ce685d4814d2..65ab76218c6c 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -82711,8 +81223,6 @@ index ce685d4814d2..65ab76218c6c 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -82720,12 +81230,12 @@ index ce685d4814d2..65ab76218c6c 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -82735,7 +81245,6 @@ index ce685d4814d2..65ab76218c6c 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -82759,6 +81268,7 @@ index ce685d4814d2..65ab76218c6c 100644 - 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 @@ -82769,13 +81279,15 @@ index ce685d4814d2..65ab76218c6c 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -82789,17 +81301,19 @@ index ce685d4814d2..65ab76218c6c 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -82823,39 +81337,32 @@ index ce685d4814d2..65ab76218c6c 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("byte_order_gn") diff --git third_party/libwebrtc/rtc_base/checks_gn/moz.build third_party/libwebrtc/rtc_base/checks_gn/moz.build -index 1f38f2ca7a4f..2e0f0e8b7744 100644 +index 53b3db3c29a4..0d20c2fc85df 100644 --- third_party/libwebrtc/rtc_base/checks_gn/moz.build +++ third_party/libwebrtc/rtc_base/checks_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -82871,12 +81378,13 @@ index 1f38f2ca7a4f..2e0f0e8b7744 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -82884,13 +81392,14 @@ index 1f38f2ca7a4f..2e0f0e8b7744 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -82902,8 +81411,6 @@ index 1f38f2ca7a4f..2e0f0e8b7744 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -82911,12 +81418,12 @@ index 1f38f2ca7a4f..2e0f0e8b7744 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -82926,7 +81433,6 @@ index 1f38f2ca7a4f..2e0f0e8b7744 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -82950,6 +81456,7 @@ index 1f38f2ca7a4f..2e0f0e8b7744 100644 - 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 @@ -82960,13 +81467,15 @@ index 1f38f2ca7a4f..2e0f0e8b7744 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -82984,12 +81493,14 @@ index 1f38f2ca7a4f..2e0f0e8b7744 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -83020,16 +81531,6 @@ index 1f38f2ca7a4f..2e0f0e8b7744 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -83038,35 +81539,37 @@ index 1f38f2ca7a4f..2e0f0e8b7744 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("checks_gn") diff --git third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build -index 154848b920fa..09fca9233e44 100644 +index 4a2733a2545e..d2e7e6527fa8 100644 --- third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build +++ third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -83082,12 +81585,13 @@ index 154848b920fa..09fca9233e44 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -83095,13 +81599,14 @@ index 154848b920fa..09fca9233e44 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -83109,8 +81614,6 @@ index 154848b920fa..09fca9233e44 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -83118,12 +81621,12 @@ index 154848b920fa..09fca9233e44 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -83133,7 +81636,6 @@ index 154848b920fa..09fca9233e44 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -83157,6 +81659,7 @@ index 154848b920fa..09fca9233e44 100644 - 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 @@ -83167,13 +81670,15 @@ index 154848b920fa..09fca9233e44 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -83187,17 +81692,19 @@ index 154848b920fa..09fca9233e44 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -83221,39 +81728,32 @@ index 154848b920fa..09fca9233e44 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("compile_assert_c_gn") diff --git third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build -index d5f7393960b9..0108ed9d35e6 100644 +index c6da64921be3..c5cb7312d73b 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -83269,12 +81769,13 @@ index d5f7393960b9..0108ed9d35e6 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -83282,13 +81783,14 @@ index d5f7393960b9..0108ed9d35e6 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -83300,8 +81802,6 @@ index d5f7393960b9..0108ed9d35e6 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -83309,12 +81809,12 @@ index d5f7393960b9..0108ed9d35e6 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -83324,7 +81824,6 @@ index d5f7393960b9..0108ed9d35e6 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -83348,6 +81847,7 @@ index d5f7393960b9..0108ed9d35e6 100644 - 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 @@ -83358,13 +81858,15 @@ index d5f7393960b9..0108ed9d35e6 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -83382,12 +81884,14 @@ index d5f7393960b9..0108ed9d35e6 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -83418,16 +81922,6 @@ index d5f7393960b9..0108ed9d35e6 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -83436,35 +81930,37 @@ index d5f7393960b9..0108ed9d35e6 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("flat_containers_internal_gn") diff --git third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build -index 638358d79d52..c890542ae1f6 100644 +index 3e56e73e5097..7a56affd7e8f 100644 --- third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build +++ third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -83480,12 +81976,13 @@ index 638358d79d52..c890542ae1f6 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -83493,13 +81990,14 @@ index 638358d79d52..c890542ae1f6 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -83511,8 +82009,6 @@ index 638358d79d52..c890542ae1f6 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -83520,12 +82016,12 @@ index 638358d79d52..c890542ae1f6 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -83535,7 +82031,6 @@ index 638358d79d52..c890542ae1f6 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -83559,6 +82054,7 @@ index 638358d79d52..c890542ae1f6 100644 - 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 @@ -83569,13 +82065,15 @@ index 638358d79d52..c890542ae1f6 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -83589,17 +82087,19 @@ index 638358d79d52..c890542ae1f6 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -83623,39 +82123,32 @@ index 638358d79d52..c890542ae1f6 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("flat_map_gn") diff --git third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build -index 92883483f5fd..006cc6bb1523 100644 +index 74e084843128..f2c66f590080 100644 --- third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build +++ third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -83671,12 +82164,13 @@ index 92883483f5fd..006cc6bb1523 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -83684,13 +82178,14 @@ index 92883483f5fd..006cc6bb1523 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -83702,8 +82197,6 @@ index 92883483f5fd..006cc6bb1523 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -83711,12 +82204,12 @@ index 92883483f5fd..006cc6bb1523 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -83726,7 +82219,6 @@ index 92883483f5fd..006cc6bb1523 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -83750,6 +82242,7 @@ index 92883483f5fd..006cc6bb1523 100644 - 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 @@ -83760,13 +82253,15 @@ index 92883483f5fd..006cc6bb1523 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -83780,17 +82275,19 @@ index 92883483f5fd..006cc6bb1523 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -83814,39 +82311,32 @@ index 92883483f5fd..006cc6bb1523 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("flat_set_gn") diff --git third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build -index d46afc84b9ae..2b9429eb7b3a 100644 +index 686d3cca374a..d6da3bf48535 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -83862,12 +82352,13 @@ index d46afc84b9ae..2b9429eb7b3a 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -83875,13 +82366,14 @@ index d46afc84b9ae..2b9429eb7b3a 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -83893,8 +82385,6 @@ index d46afc84b9ae..2b9429eb7b3a 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -83902,12 +82392,12 @@ index d46afc84b9ae..2b9429eb7b3a 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -83917,7 +82407,6 @@ index d46afc84b9ae..2b9429eb7b3a 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -83941,6 +82430,7 @@ index d46afc84b9ae..2b9429eb7b3a 100644 - 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 @@ -83951,13 +82441,15 @@ index d46afc84b9ae..2b9429eb7b3a 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -83975,12 +82467,14 @@ index d46afc84b9ae..2b9429eb7b3a 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -84011,16 +82505,6 @@ index d46afc84b9ae..2b9429eb7b3a 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -84029,35 +82513,37 @@ index d46afc84b9ae..2b9429eb7b3a 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("copy_on_write_buffer_gn") diff --git third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build -index d8537d397409..e797c80aed74 100644 +index 9f7dcaa51748..38276f04ccd4 100644 --- third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build +++ third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -84073,12 +82559,13 @@ index d8537d397409..e797c80aed74 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -84086,13 +82573,14 @@ index d8537d397409..e797c80aed74 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -84104,8 +82592,6 @@ index d8537d397409..e797c80aed74 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -84113,12 +82599,12 @@ index d8537d397409..e797c80aed74 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -84128,7 +82614,6 @@ index d8537d397409..e797c80aed74 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -84152,6 +82637,7 @@ index d8537d397409..e797c80aed74 100644 - 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 @@ -84162,13 +82648,15 @@ index d8537d397409..e797c80aed74 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -84186,12 +82674,14 @@ index d8537d397409..e797c80aed74 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -84222,16 +82712,6 @@ index d8537d397409..e797c80aed74 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -84240,35 +82720,37 @@ index d8537d397409..e797c80aed74 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ 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 d46350e65b1f..862afa6e80cb 100644 +index 17680417adbf..b0d8788bfab7 100644 --- third_party/libwebrtc/rtc_base/divide_round_gn/moz.build +++ third_party/libwebrtc/rtc_base/divide_round_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -84284,12 +82766,13 @@ index d46350e65b1f..862afa6e80cb 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -84297,13 +82780,14 @@ index d46350e65b1f..862afa6e80cb 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -84315,8 +82799,6 @@ index d46350e65b1f..862afa6e80cb 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -84324,12 +82806,12 @@ index d46350e65b1f..862afa6e80cb 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -84339,7 +82821,6 @@ index d46350e65b1f..862afa6e80cb 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -84363,6 +82844,7 @@ index d46350e65b1f..862afa6e80cb 100644 - 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 @@ -84373,13 +82855,15 @@ index d46350e65b1f..862afa6e80cb 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -84393,17 +82877,19 @@ index d46350e65b1f..862afa6e80cb 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -84427,39 +82913,32 @@ index d46350e65b1f..862afa6e80cb 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("divide_round_gn") diff --git third_party/libwebrtc/rtc_base/dscp_gn/moz.build third_party/libwebrtc/rtc_base/dscp_gn/moz.build -index fd796dcc7283..a69f3be68a5a 100644 +index 5dca1908a970..4539c1310eed 100644 --- third_party/libwebrtc/rtc_base/dscp_gn/moz.build +++ third_party/libwebrtc/rtc_base/dscp_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -84475,12 +82954,13 @@ index fd796dcc7283..a69f3be68a5a 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -84488,13 +82968,14 @@ index fd796dcc7283..a69f3be68a5a 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -84502,8 +82983,6 @@ index fd796dcc7283..a69f3be68a5a 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -84511,12 +82990,12 @@ index fd796dcc7283..a69f3be68a5a 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -84526,7 +83005,6 @@ index fd796dcc7283..a69f3be68a5a 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -84550,6 +83028,7 @@ index fd796dcc7283..a69f3be68a5a 100644 - 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 @@ -84560,13 +83039,15 @@ index fd796dcc7283..a69f3be68a5a 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -84580,17 +83061,19 @@ index fd796dcc7283..a69f3be68a5a 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -84614,39 +83097,32 @@ index fd796dcc7283..a69f3be68a5a 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("dscp_gn") diff --git third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build -index 89739a31462a..caa13bc3d03f 100644 +index cb48a7a70349..21989ec09d1b 100644 --- third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build +++ third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -84662,12 +83138,13 @@ index 89739a31462a..caa13bc3d03f 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,94 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -84675,13 +83152,14 @@ index 89739a31462a..caa13bc3d03f 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -84693,8 +83171,6 @@ index 89739a31462a..caa13bc3d03f 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -84702,12 +83178,12 @@ index 89739a31462a..caa13bc3d03f 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -84717,7 +83193,6 @@ index 89739a31462a..caa13bc3d03f 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -84741,6 +83216,7 @@ index 89739a31462a..caa13bc3d03f 100644 - 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 @@ -84751,6 +83227,7 @@ index 89739a31462a..caa13bc3d03f 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -84763,8 +83240,9 @@ index 89739a31462a..caa13bc3d03f 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -141,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -84782,12 +83260,14 @@ index 89739a31462a..caa13bc3d03f 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -84818,16 +83298,6 @@ index 89739a31462a..caa13bc3d03f 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -84836,35 +83306,37 @@ index 89739a31462a..caa13bc3d03f 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("event_tracer_gn") diff --git third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build -index db73007e0648..3b48de94a7cf 100644 +index 8b44e5660921..6863054ca81f 100644 --- third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build +++ third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -84880,12 +83352,13 @@ index db73007e0648..3b48de94a7cf 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -84893,13 +83366,14 @@ index db73007e0648..3b48de94a7cf 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -84911,8 +83385,6 @@ index db73007e0648..3b48de94a7cf 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -84920,12 +83392,12 @@ index db73007e0648..3b48de94a7cf 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -84935,7 +83407,6 @@ index db73007e0648..3b48de94a7cf 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -84959,6 +83430,7 @@ index db73007e0648..3b48de94a7cf 100644 - 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 @@ -84969,6 +83441,7 @@ index db73007e0648..3b48de94a7cf 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -84981,8 +83454,9 @@ index db73007e0648..3b48de94a7cf 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -85000,12 +83474,14 @@ index db73007e0648..3b48de94a7cf 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -85036,16 +83512,6 @@ index db73007e0648..3b48de94a7cf 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -85054,35 +83520,37 @@ index db73007e0648..3b48de94a7cf 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ 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 bf86112adc96..1e18365e267f 100644 +index 1c59ca708d2f..ee64861ee262 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -85098,12 +83566,13 @@ index bf86112adc96..1e18365e267f 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -85111,13 +83580,14 @@ index bf86112adc96..1e18365e267f 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -85129,8 +83599,6 @@ index bf86112adc96..1e18365e267f 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -85138,12 +83606,12 @@ index bf86112adc96..1e18365e267f 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -85157,7 +83625,6 @@ index bf86112adc96..1e18365e267f 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -85181,6 +83648,7 @@ index bf86112adc96..1e18365e267f 100644 - 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 @@ -85191,6 +83659,7 @@ index bf86112adc96..1e18365e267f 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -85203,8 +83672,9 @@ index bf86112adc96..1e18365e267f 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -85222,12 +83692,14 @@ index bf86112adc96..1e18365e267f 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -85258,16 +83730,6 @@ index bf86112adc96..1e18365e267f 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -85276,35 +83738,37 @@ index bf86112adc96..1e18365e267f 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ 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 51d60b684c4a..3e75b9cd7207 100644 +index e5a9ffdfd115..4b00ef90140b 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -85320,12 +83784,13 @@ index 51d60b684c4a..3e75b9cd7207 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -85333,13 +83798,14 @@ index 51d60b684c4a..3e75b9cd7207 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -85351,8 +83817,6 @@ index 51d60b684c4a..3e75b9cd7207 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -85360,12 +83824,12 @@ index 51d60b684c4a..3e75b9cd7207 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -85379,7 +83843,6 @@ index 51d60b684c4a..3e75b9cd7207 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -85403,6 +83866,7 @@ index 51d60b684c4a..3e75b9cd7207 100644 - 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 @@ -85413,6 +83877,7 @@ index 51d60b684c4a..3e75b9cd7207 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -85425,8 +83890,9 @@ index 51d60b684c4a..3e75b9cd7207 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -85444,12 +83910,14 @@ index 51d60b684c4a..3e75b9cd7207 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -85480,16 +83948,6 @@ index 51d60b684c4a..3e75b9cd7207 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -85498,35 +83956,37 @@ index 51d60b684c4a..3e75b9cd7207 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ 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 e55be35e9b1a..7058a6b0e3c6 100644 +index 988cd2e4418b..b55c78991ab4 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -85542,12 +84002,13 @@ index e55be35e9b1a..7058a6b0e3c6 100644 +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,186 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,94 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -85555,13 +84016,14 @@ index e55be35e9b1a..7058a6b0e3c6 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -85573,8 +84035,6 @@ index e55be35e9b1a..7058a6b0e3c6 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -85582,12 +84042,12 @@ index e55be35e9b1a..7058a6b0e3c6 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -85597,7 +84057,6 @@ index e55be35e9b1a..7058a6b0e3c6 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -85621,6 +84080,7 @@ index e55be35e9b1a..7058a6b0e3c6 100644 - 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 @@ -85631,6 +84091,7 @@ index e55be35e9b1a..7058a6b0e3c6 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -85643,8 +84104,9 @@ index e55be35e9b1a..7058a6b0e3c6 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -143,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -85662,12 +84124,14 @@ index e55be35e9b1a..7058a6b0e3c6 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -85698,16 +84162,6 @@ index e55be35e9b1a..7058a6b0e3c6 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -85716,35 +84170,37 @@ index e55be35e9b1a..7058a6b0e3c6 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ 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 e5b723ef37b6..a02341d3de17 100644 +index 872b4c22020d..25331deec501 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -85760,12 +84216,13 @@ index e5b723ef37b6..a02341d3de17 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -85773,13 +84230,14 @@ index e5b723ef37b6..a02341d3de17 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -85791,8 +84249,6 @@ index e5b723ef37b6..a02341d3de17 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -85800,12 +84256,12 @@ index e5b723ef37b6..a02341d3de17 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -85815,7 +84271,6 @@ index e5b723ef37b6..a02341d3de17 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -85839,6 +84294,7 @@ index e5b723ef37b6..a02341d3de17 100644 - 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 @@ -85849,6 +84305,7 @@ index e5b723ef37b6..a02341d3de17 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -85861,8 +84318,9 @@ index e5b723ef37b6..a02341d3de17 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -85880,12 +84338,14 @@ index e5b723ef37b6..a02341d3de17 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -85916,16 +84376,6 @@ index e5b723ef37b6..a02341d3de17 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -85934,35 +84384,37 @@ index e5b723ef37b6..a02341d3de17 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ 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 e8863d79f0bb..220d29302b62 100644 +index 0ce888f06f9a..24438b7ab997 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -85978,12 +84430,13 @@ index e8863d79f0bb..220d29302b62 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -85991,13 +84444,14 @@ index e8863d79f0bb..220d29302b62 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -86009,8 +84463,6 @@ index e8863d79f0bb..220d29302b62 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -86018,12 +84470,12 @@ index e8863d79f0bb..220d29302b62 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -86033,7 +84485,6 @@ index e8863d79f0bb..220d29302b62 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -86057,6 +84508,7 @@ index e8863d79f0bb..220d29302b62 100644 - 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 @@ -86067,6 +84519,7 @@ index e8863d79f0bb..220d29302b62 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -86079,8 +84532,9 @@ index e8863d79f0bb..220d29302b62 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -86098,12 +84552,14 @@ index e8863d79f0bb..220d29302b62 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -86134,16 +84590,6 @@ index e8863d79f0bb..220d29302b62 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -86152,35 +84598,37 @@ index e8863d79f0bb..220d29302b62 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ 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 50cc28070487..9c8d4710941c 100644 +index 888bb6bed449..1dfdf96d71ff 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -86196,12 +84644,13 @@ index 50cc28070487..9c8d4710941c 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -86209,13 +84658,14 @@ index 50cc28070487..9c8d4710941c 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -86227,8 +84677,6 @@ index 50cc28070487..9c8d4710941c 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -86236,12 +84684,12 @@ index 50cc28070487..9c8d4710941c 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -86251,7 +84699,6 @@ index 50cc28070487..9c8d4710941c 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -86275,6 +84722,7 @@ index 50cc28070487..9c8d4710941c 100644 - 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 @@ -86285,6 +84733,7 @@ index 50cc28070487..9c8d4710941c 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -86297,8 +84746,9 @@ index 50cc28070487..9c8d4710941c 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -86316,12 +84766,14 @@ index 50cc28070487..9c8d4710941c 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -86352,16 +84804,6 @@ index 50cc28070487..9c8d4710941c 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -86370,35 +84812,37 @@ index 50cc28070487..9c8d4710941c 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ 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 7700987d9727..fed428b40312 100644 +index f73e005019fd..ce493015ff83 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -86414,12 +84858,13 @@ index 7700987d9727..fed428b40312 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -86427,13 +84872,14 @@ index 7700987d9727..fed428b40312 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -86445,8 +84891,6 @@ index 7700987d9727..fed428b40312 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -86454,12 +84898,12 @@ index 7700987d9727..fed428b40312 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -86469,7 +84913,6 @@ index 7700987d9727..fed428b40312 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -86493,6 +84936,7 @@ index 7700987d9727..fed428b40312 100644 - 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 @@ -86503,6 +84947,7 @@ index 7700987d9727..fed428b40312 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -86515,8 +84960,9 @@ index 7700987d9727..fed428b40312 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -86534,12 +84980,14 @@ index 7700987d9727..fed428b40312 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -86570,16 +85018,6 @@ index 7700987d9727..fed428b40312 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -86588,35 +85026,37 @@ index 7700987d9727..fed428b40312 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ 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 af1014200a9e..91fa15309a19 100644 +index 5bd7f2933ddf..7f2881ba4ecf 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -86632,12 +85072,13 @@ index af1014200a9e..91fa15309a19 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -86645,13 +85086,14 @@ index af1014200a9e..91fa15309a19 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -86663,8 +85105,6 @@ index af1014200a9e..91fa15309a19 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -86672,12 +85112,12 @@ index af1014200a9e..91fa15309a19 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -86691,7 +85131,6 @@ index af1014200a9e..91fa15309a19 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -86715,6 +85154,7 @@ index af1014200a9e..91fa15309a19 100644 - 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 @@ -86725,6 +85165,7 @@ index af1014200a9e..91fa15309a19 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -86737,8 +85178,9 @@ index af1014200a9e..91fa15309a19 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -86756,12 +85198,14 @@ index af1014200a9e..91fa15309a19 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -86792,16 +85236,6 @@ index af1014200a9e..91fa15309a19 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -86810,35 +85244,37 @@ index af1014200a9e..91fa15309a19 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ 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 03660d93455a..835d78fa3a6c 100644 +index 052cf5f6a689..9bf33452f94d 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -86854,12 +85290,13 @@ index 03660d93455a..835d78fa3a6c 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -86867,13 +85304,14 @@ index 03660d93455a..835d78fa3a6c 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -86885,8 +85323,6 @@ index 03660d93455a..835d78fa3a6c 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -86894,12 +85330,12 @@ index 03660d93455a..835d78fa3a6c 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -86913,7 +85349,6 @@ index 03660d93455a..835d78fa3a6c 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -86937,6 +85372,7 @@ index 03660d93455a..835d78fa3a6c 100644 - 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 @@ -86947,6 +85383,7 @@ index 03660d93455a..835d78fa3a6c 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -86959,8 +85396,9 @@ index 03660d93455a..835d78fa3a6c 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -86978,12 +85416,14 @@ index 03660d93455a..835d78fa3a6c 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -87014,16 +85454,6 @@ index 03660d93455a..835d78fa3a6c 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -87032,35 +85462,37 @@ index 03660d93455a..835d78fa3a6c 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ 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 708a893a10ad..8620aa9d4bd8 100644 +index f76932f63f73..9879b8168842 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -87076,12 +85508,13 @@ index 708a893a10ad..8620aa9d4bd8 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -87089,13 +85522,14 @@ index 708a893a10ad..8620aa9d4bd8 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -87107,8 +85541,6 @@ index 708a893a10ad..8620aa9d4bd8 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -87116,12 +85548,12 @@ index 708a893a10ad..8620aa9d4bd8 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -87131,7 +85563,6 @@ index 708a893a10ad..8620aa9d4bd8 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -87155,6 +85586,7 @@ index 708a893a10ad..8620aa9d4bd8 100644 - 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 @@ -87165,6 +85597,7 @@ index 708a893a10ad..8620aa9d4bd8 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -87177,8 +85610,9 @@ index 708a893a10ad..8620aa9d4bd8 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -87196,12 +85630,14 @@ index 708a893a10ad..8620aa9d4bd8 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -87232,16 +85668,6 @@ index 708a893a10ad..8620aa9d4bd8 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -87250,35 +85676,37 @@ index 708a893a10ad..8620aa9d4bd8 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("stable_target_rate_experiment_gn") diff --git third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build -index 1a6ff46f9057..286569c90089 100644 +index 8b101531d822..00a19d71ea3a 100644 --- third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build +++ third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -87294,12 +85722,13 @@ index 1a6ff46f9057..286569c90089 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -87307,13 +85736,14 @@ index 1a6ff46f9057..286569c90089 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -87325,8 +85755,6 @@ index 1a6ff46f9057..286569c90089 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -87334,12 +85762,12 @@ index 1a6ff46f9057..286569c90089 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -87349,7 +85777,6 @@ index 1a6ff46f9057..286569c90089 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -87373,6 +85800,7 @@ index 1a6ff46f9057..286569c90089 100644 - 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 @@ -87383,6 +85811,7 @@ index 1a6ff46f9057..286569c90089 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -87395,8 +85824,9 @@ index 1a6ff46f9057..286569c90089 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -87414,12 +85844,14 @@ index 1a6ff46f9057..286569c90089 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -87450,16 +85882,6 @@ index 1a6ff46f9057..286569c90089 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -87468,35 +85890,37 @@ index 1a6ff46f9057..286569c90089 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("frequency_tracker_gn") diff --git third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build -index 493edecc9a2c..fd41ef0a21f7 100644 +index 82de9b80ab57..d47c31c251d7 100644 --- third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build +++ third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -87512,12 +85936,13 @@ index 493edecc9a2c..fd41ef0a21f7 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -87525,13 +85950,14 @@ index 493edecc9a2c..fd41ef0a21f7 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -87539,8 +85965,6 @@ index 493edecc9a2c..fd41ef0a21f7 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -87548,12 +85972,12 @@ index 493edecc9a2c..fd41ef0a21f7 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -87563,7 +85987,6 @@ index 493edecc9a2c..fd41ef0a21f7 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -87587,6 +86010,7 @@ index 493edecc9a2c..fd41ef0a21f7 100644 - 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 @@ -87597,13 +86021,15 @@ index 493edecc9a2c..fd41ef0a21f7 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -87617,17 +86043,19 @@ index 493edecc9a2c..fd41ef0a21f7 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -87651,39 +86079,32 @@ index 493edecc9a2c..fd41ef0a21f7 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("gtest_prod_gn") diff --git third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build -index 51e370a925b2..17a7725eb3c0 100644 +index f67e021ff723..304c01970849 100644 --- third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build +++ third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -87699,12 +86120,13 @@ index 51e370a925b2..17a7725eb3c0 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -87712,13 +86134,14 @@ index 51e370a925b2..17a7725eb3c0 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -87730,8 +86153,6 @@ index 51e370a925b2..17a7725eb3c0 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -87739,12 +86160,12 @@ index 51e370a925b2..17a7725eb3c0 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -87754,7 +86175,6 @@ index 51e370a925b2..17a7725eb3c0 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -87778,6 +86198,7 @@ index 51e370a925b2..17a7725eb3c0 100644 - 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 @@ -87788,13 +86209,15 @@ index 51e370a925b2..17a7725eb3c0 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -87812,12 +86235,14 @@ index 51e370a925b2..17a7725eb3c0 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -87848,16 +86273,6 @@ index 51e370a925b2..17a7725eb3c0 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -87866,36 +86281,38 @@ index 51e370a925b2..17a7725eb3c0 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("histogram_percentile_counter_gn") diff --git third_party/libwebrtc/rtc_base/ifaddrs_android_gn/moz.build third_party/libwebrtc/rtc_base/ifaddrs_android_gn/moz.build deleted file mode 100644 -index c4e0aad848a9..000000000000 +index 434a9e341736..000000000000 --- third_party/libwebrtc/rtc_base/ifaddrs_android_gn/moz.build +++ /dev/null -@@ -1,95 +0,0 @@ +@@ -1,94 +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/. @@ -87909,7 +86326,7 @@ index c4e0aad848a9..000000000000 - -DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" -DEFINES["ANDROID"] = True --DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +-DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" -DEFINES["HAVE_SYS_UIO_H"] = True -DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" -DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True @@ -87924,6 +86341,8 @@ index c4e0aad848a9..000000000000 -DEFINES["WEBRTC_POSIX"] = True -DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" -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 - @@ -87963,6 +86382,7 @@ index c4e0aad848a9..000000000000 - - DEFINES["WEBRTC_ARCH_ARM64"] = True - DEFINES["WEBRTC_HAS_NEON"] = True +- DEFINES["__ARM_NEON__"] = "1" - -if CONFIG["TARGET_CPU"] == "arm": - @@ -87974,10 +86394,6 @@ index c4e0aad848a9..000000000000 - DEFINES["WEBRTC_ARCH_ARM_V7"] = True - DEFINES["WEBRTC_HAS_NEON"] = True - -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["TARGET_CPU"] == "x86": - - CXXFLAGS += [ @@ -87992,10 +86408,10 @@ index c4e0aad848a9..000000000000 - -Library("ifaddrs_android_gn") diff --git third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build -index 01c10d595e8b..0b3ff10cc360 100644 +index e831c48bf944..8ae6a91bd52a 100644 --- third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build +++ third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -88011,12 +86427,13 @@ index 01c10d595e8b..0b3ff10cc360 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -88024,13 +86441,14 @@ index 01c10d595e8b..0b3ff10cc360 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -88038,8 +86456,6 @@ index 01c10d595e8b..0b3ff10cc360 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -88047,12 +86463,12 @@ index 01c10d595e8b..0b3ff10cc360 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -88062,7 +86478,6 @@ index 01c10d595e8b..0b3ff10cc360 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -88086,6 +86501,7 @@ index 01c10d595e8b..0b3ff10cc360 100644 - 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 @@ -88096,13 +86512,15 @@ index 01c10d595e8b..0b3ff10cc360 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -88116,17 +86534,19 @@ index 01c10d595e8b..0b3ff10cc360 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -88150,39 +86570,32 @@ index 01c10d595e8b..0b3ff10cc360 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("ignore_wundef_gn") diff --git third_party/libwebrtc/rtc_base/ip_address_gn/moz.build third_party/libwebrtc/rtc_base/ip_address_gn/moz.build -index d949fcc26e8d..7d64e4ef330c 100644 +index 6d3c5967478b..5454e84f852d 100644 --- third_party/libwebrtc/rtc_base/ip_address_gn/moz.build +++ third_party/libwebrtc/rtc_base/ip_address_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -88198,12 +86611,13 @@ index d949fcc26e8d..7d64e4ef330c 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -88211,13 +86625,14 @@ index d949fcc26e8d..7d64e4ef330c 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -88230,8 +86645,6 @@ index d949fcc26e8d..7d64e4ef330c 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -88239,12 +86652,12 @@ index d949fcc26e8d..7d64e4ef330c 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -88254,7 +86667,6 @@ index d949fcc26e8d..7d64e4ef330c 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -88278,6 +86690,7 @@ index d949fcc26e8d..7d64e4ef330c 100644 - 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 @@ -88288,6 +86701,7 @@ index d949fcc26e8d..7d64e4ef330c 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -88299,8 +86713,9 @@ index d949fcc26e8d..7d64e4ef330c 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -88318,12 +86733,14 @@ index d949fcc26e8d..7d64e4ef330c 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -88354,16 +86771,6 @@ index d949fcc26e8d..7d64e4ef330c 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -88372,35 +86779,37 @@ index d949fcc26e8d..7d64e4ef330c 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("ip_address_gn") diff --git third_party/libwebrtc/rtc_base/logging_gn/moz.build third_party/libwebrtc/rtc_base/logging_gn/moz.build -index 2dfe0c2fec46..e391440561dd 100644 +index 2e3439975796..2b70dba63d75 100644 --- third_party/libwebrtc/rtc_base/logging_gn/moz.build +++ third_party/libwebrtc/rtc_base/logging_gn/moz.build -@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -88417,12 +86826,13 @@ index 2dfe0c2fec46..e391440561dd 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,94 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -88430,13 +86840,14 @@ index 2dfe0c2fec46..e391440561dd 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -88448,8 +86859,6 @@ index 2dfe0c2fec46..e391440561dd 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -88457,12 +86866,12 @@ index 2dfe0c2fec46..e391440561dd 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -88472,7 +86881,6 @@ index 2dfe0c2fec46..e391440561dd 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -88496,6 +86904,7 @@ index 2dfe0c2fec46..e391440561dd 100644 - 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 @@ -88506,6 +86915,7 @@ index 2dfe0c2fec46..e391440561dd 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -88518,8 +86928,9 @@ index 2dfe0c2fec46..e391440561dd 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -141,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -88537,12 +86948,14 @@ index 2dfe0c2fec46..e391440561dd 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -88573,16 +86986,6 @@ index 2dfe0c2fec46..e391440561dd 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -88591,35 +86994,37 @@ index 2dfe0c2fec46..e391440561dd 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("logging_gn") diff --git third_party/libwebrtc/rtc_base/macromagic_gn/moz.build third_party/libwebrtc/rtc_base/macromagic_gn/moz.build -index 390b189b0db6..4433ee4394b0 100644 +index a7aa7cf17c05..967ba5155c40 100644 --- third_party/libwebrtc/rtc_base/macromagic_gn/moz.build +++ third_party/libwebrtc/rtc_base/macromagic_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -88635,12 +87040,13 @@ index 390b189b0db6..4433ee4394b0 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -88648,13 +87054,14 @@ index 390b189b0db6..4433ee4394b0 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -88662,8 +87069,6 @@ index 390b189b0db6..4433ee4394b0 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -88671,12 +87076,12 @@ index 390b189b0db6..4433ee4394b0 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -88686,7 +87091,6 @@ index 390b189b0db6..4433ee4394b0 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -88710,6 +87114,7 @@ index 390b189b0db6..4433ee4394b0 100644 - 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 @@ -88720,13 +87125,15 @@ index 390b189b0db6..4433ee4394b0 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -88740,17 +87147,19 @@ index 390b189b0db6..4433ee4394b0 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -88774,39 +87183,32 @@ index 390b189b0db6..4433ee4394b0 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("macromagic_gn") diff --git third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build -index 0a65ef231ef4..4c8711cb2921 100644 +index ad879ed8b81b..b3dc806d992a 100644 --- third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build +++ third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -88822,12 +87224,13 @@ index 0a65ef231ef4..4c8711cb2921 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -88835,13 +87238,14 @@ index 0a65ef231ef4..4c8711cb2921 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -88853,8 +87257,6 @@ index 0a65ef231ef4..4c8711cb2921 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -88862,12 +87264,12 @@ index 0a65ef231ef4..4c8711cb2921 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -88877,7 +87279,6 @@ index 0a65ef231ef4..4c8711cb2921 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -88901,6 +87302,7 @@ index 0a65ef231ef4..4c8711cb2921 100644 - 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 @@ -88911,13 +87313,15 @@ index 0a65ef231ef4..4c8711cb2921 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -88935,12 +87339,14 @@ index 0a65ef231ef4..4c8711cb2921 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -88971,16 +87377,6 @@ index 0a65ef231ef4..4c8711cb2921 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -88989,35 +87385,37 @@ index 0a65ef231ef4..4c8711cb2921 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("aligned_malloc_gn") diff --git third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build -index 61e454135d16..baf4e8a72632 100644 +index 8cdb73a27fd0..c8bec4191f51 100644 --- third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build +++ third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -89033,12 +87431,13 @@ index 61e454135d16..baf4e8a72632 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -89046,13 +87445,14 @@ index 61e454135d16..baf4e8a72632 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -89064,8 +87464,6 @@ index 61e454135d16..baf4e8a72632 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -89073,12 +87471,12 @@ index 61e454135d16..baf4e8a72632 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -89088,7 +87486,6 @@ index 61e454135d16..baf4e8a72632 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -89112,6 +87509,7 @@ index 61e454135d16..baf4e8a72632 100644 - 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 @@ -89122,13 +87520,15 @@ index 61e454135d16..baf4e8a72632 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -89142,17 +87542,19 @@ index 61e454135d16..baf4e8a72632 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -89176,39 +87578,32 @@ index 61e454135d16..baf4e8a72632 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("mod_ops_gn") diff --git third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build -index ec440ef76608..97d948e88c49 100644 +index a49d50e25645..dcfe7182feaf 100644 --- third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build +++ third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -89224,12 +87619,13 @@ index ec440ef76608..97d948e88c49 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -89237,13 +87633,14 @@ index ec440ef76608..97d948e88c49 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -89255,8 +87652,6 @@ index ec440ef76608..97d948e88c49 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -89264,12 +87659,12 @@ index ec440ef76608..97d948e88c49 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -89279,7 +87674,6 @@ index ec440ef76608..97d948e88c49 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -89303,6 +87697,7 @@ index ec440ef76608..97d948e88c49 100644 - 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 @@ -89313,13 +87708,15 @@ index ec440ef76608..97d948e88c49 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -89333,17 +87730,19 @@ index ec440ef76608..97d948e88c49 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -89367,39 +87766,32 @@ index ec440ef76608..97d948e88c49 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("moving_max_counter_gn") diff --git third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build -index 68e7540a5cc6..e2763aae13c2 100644 +index da4038c212c5..63a9046032e6 100644 --- third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build +++ third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -89415,12 +87807,13 @@ index 68e7540a5cc6..e2763aae13c2 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -89428,13 +87821,14 @@ index 68e7540a5cc6..e2763aae13c2 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -89447,8 +87841,6 @@ index 68e7540a5cc6..e2763aae13c2 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -89456,12 +87848,12 @@ index 68e7540a5cc6..e2763aae13c2 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -89471,7 +87863,6 @@ index 68e7540a5cc6..e2763aae13c2 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -89495,6 +87886,7 @@ index 68e7540a5cc6..e2763aae13c2 100644 - 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 @@ -89505,6 +87897,7 @@ index 68e7540a5cc6..e2763aae13c2 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -89516,8 +87909,9 @@ index 68e7540a5cc6..e2763aae13c2 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -89535,12 +87929,14 @@ index 68e7540a5cc6..e2763aae13c2 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -89571,16 +87967,6 @@ index 68e7540a5cc6..e2763aae13c2 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -89589,35 +87975,37 @@ index 68e7540a5cc6..e2763aae13c2 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("net_helpers_gn") diff --git third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build -index 598652874c2f..b08c4ae86174 100644 +index 906e6d8d17f1..18ee5d1fdabc 100644 --- third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build +++ third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -89633,12 +88021,13 @@ index 598652874c2f..b08c4ae86174 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -89646,13 +88035,14 @@ index 598652874c2f..b08c4ae86174 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -89660,8 +88050,6 @@ index 598652874c2f..b08c4ae86174 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -89669,12 +88057,12 @@ index 598652874c2f..b08c4ae86174 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -89684,7 +88072,6 @@ index 598652874c2f..b08c4ae86174 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -89708,6 +88095,7 @@ index 598652874c2f..b08c4ae86174 100644 - 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 @@ -89718,13 +88106,15 @@ index 598652874c2f..b08c4ae86174 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -89738,17 +88128,19 @@ index 598652874c2f..b08c4ae86174 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -89772,39 +88164,32 @@ index 598652874c2f..b08c4ae86174 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("ecn_marking_gn") diff --git third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build -index c285d04f5def..93432583b4da 100644 +index 77fa18cff5a1..d13d002b6880 100644 --- third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build +++ third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -89820,12 +88205,13 @@ index c285d04f5def..93432583b4da 100644 +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" -@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -89833,13 +88219,14 @@ index c285d04f5def..93432583b4da 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -89847,8 +88234,6 @@ index c285d04f5def..93432583b4da 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -89856,12 +88241,12 @@ index c285d04f5def..93432583b4da 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -89871,7 +88256,6 @@ index c285d04f5def..93432583b4da 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -89895,6 +88279,7 @@ index c285d04f5def..93432583b4da 100644 - 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 @@ -89905,13 +88290,15 @@ index c285d04f5def..93432583b4da 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -89929,12 +88316,14 @@ index c285d04f5def..93432583b4da 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -89965,53 +88354,45 @@ index c285d04f5def..93432583b4da 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- OS_LIBS += [ -- "unwind" +- CXXFLAGS += [ +- "-msse2" - ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": -- - CXXFLAGS += [ - "-msse2" - ] - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - -- CXXFLAGS += [ -- "-msse2" -- ] -+if CONFIG["TARGET_CPU"] == "x86_64": +- + CXXFLAGS += [ + "-msse2" + ] +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("sent_packet_gn") diff --git third_party/libwebrtc/rtc_base/network_constants_gn/moz.build third_party/libwebrtc/rtc_base/network_constants_gn/moz.build -index 3b41f5bba9f9..f95b171fdf32 100644 +index d10db84bffe6..545d8dd6e506 100644 --- third_party/libwebrtc/rtc_base/network_constants_gn/moz.build +++ third_party/libwebrtc/rtc_base/network_constants_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -90027,12 +88408,13 @@ index 3b41f5bba9f9..f95b171fdf32 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -90040,13 +88422,14 @@ index 3b41f5bba9f9..f95b171fdf32 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -90058,8 +88441,6 @@ index 3b41f5bba9f9..f95b171fdf32 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -90067,12 +88448,12 @@ index 3b41f5bba9f9..f95b171fdf32 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -90082,7 +88463,6 @@ index 3b41f5bba9f9..f95b171fdf32 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -90106,6 +88486,7 @@ index 3b41f5bba9f9..f95b171fdf32 100644 - 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 @@ -90116,13 +88497,15 @@ index 3b41f5bba9f9..f95b171fdf32 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -90140,12 +88523,14 @@ index 3b41f5bba9f9..f95b171fdf32 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -90176,16 +88561,6 @@ index 3b41f5bba9f9..f95b171fdf32 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -90194,35 +88569,37 @@ index 3b41f5bba9f9..f95b171fdf32 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("network_constants_gn") diff --git third_party/libwebrtc/rtc_base/network_route_gn/moz.build third_party/libwebrtc/rtc_base/network_route_gn/moz.build -index ed2d7204f43b..5f59b36411dd 100644 +index d1712347f0ed..5a166bb0166e 100644 --- third_party/libwebrtc/rtc_base/network_route_gn/moz.build +++ third_party/libwebrtc/rtc_base/network_route_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -90238,12 +88615,13 @@ index ed2d7204f43b..5f59b36411dd 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -90251,13 +88629,14 @@ index ed2d7204f43b..5f59b36411dd 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -90269,8 +88648,6 @@ index ed2d7204f43b..5f59b36411dd 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -90278,12 +88655,12 @@ index ed2d7204f43b..5f59b36411dd 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -90293,7 +88670,6 @@ index ed2d7204f43b..5f59b36411dd 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -90317,6 +88693,7 @@ index ed2d7204f43b..5f59b36411dd 100644 - 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 @@ -90327,13 +88704,15 @@ index ed2d7204f43b..5f59b36411dd 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -90351,12 +88730,14 @@ index ed2d7204f43b..5f59b36411dd 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -90387,16 +88768,6 @@ index ed2d7204f43b..5f59b36411dd 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -90405,35 +88776,37 @@ index ed2d7204f43b..5f59b36411dd 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("network_route_gn") diff --git third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build -index d129b17f1194..cbd1b431f6de 100644 +index 4892dc8a0d94..42b2b3ff1848 100644 --- third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build +++ third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -90449,12 +88822,13 @@ index d129b17f1194..cbd1b431f6de 100644 +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" -@@ -44,187 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,95 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -90462,13 +88836,14 @@ index d129b17f1194..cbd1b431f6de 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -90481,8 +88856,6 @@ index d129b17f1194..cbd1b431f6de 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -90490,12 +88863,12 @@ index d129b17f1194..cbd1b431f6de 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -90505,7 +88878,6 @@ index d129b17f1194..cbd1b431f6de 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -90529,6 +88901,7 @@ index d129b17f1194..cbd1b431f6de 100644 - 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 @@ -90539,6 +88912,7 @@ index d129b17f1194..cbd1b431f6de 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -90551,8 +88925,9 @@ index d129b17f1194..cbd1b431f6de 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -141,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -90570,12 +88945,14 @@ index d129b17f1194..cbd1b431f6de 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -90606,16 +88983,6 @@ index d129b17f1194..cbd1b431f6de 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -90624,35 +88991,37 @@ index d129b17f1194..cbd1b431f6de 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("null_socket_server_gn") diff --git third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build -index 348ef02526a2..74729015b2fb 100644 +index 8119c221d60a..068f1b3320b6 100644 --- third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build +++ third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -90668,12 +89037,13 @@ index 348ef02526a2..74729015b2fb 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -90681,13 +89051,14 @@ index 348ef02526a2..74729015b2fb 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -90699,8 +89070,6 @@ index 348ef02526a2..74729015b2fb 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -90708,12 +89077,12 @@ index 348ef02526a2..74729015b2fb 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -90723,7 +89092,6 @@ index 348ef02526a2..74729015b2fb 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -90747,6 +89115,7 @@ index 348ef02526a2..74729015b2fb 100644 - 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 @@ -90757,13 +89126,15 @@ index 348ef02526a2..74729015b2fb 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -90777,17 +89148,19 @@ index 348ef02526a2..74729015b2fb 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -90811,39 +89184,32 @@ index 348ef02526a2..74729015b2fb 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("one_time_event_gn") diff --git third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build -index 9ad40b93add5..07001c7343ac 100644 +index 849279da99ee..aac4b6fd9e71 100644 --- third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build +++ third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -90859,12 +89225,13 @@ index 9ad40b93add5..07001c7343ac 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -90872,13 +89239,14 @@ index 9ad40b93add5..07001c7343ac 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -90890,8 +89258,6 @@ index 9ad40b93add5..07001c7343ac 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -90899,12 +89265,12 @@ index 9ad40b93add5..07001c7343ac 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -90914,7 +89280,6 @@ index 9ad40b93add5..07001c7343ac 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -90938,6 +89303,7 @@ index 9ad40b93add5..07001c7343ac 100644 - 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 @@ -90948,6 +89314,7 @@ index 9ad40b93add5..07001c7343ac 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -90960,8 +89327,9 @@ index 9ad40b93add5..07001c7343ac 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -90979,12 +89347,14 @@ index 9ad40b93add5..07001c7343ac 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -91015,16 +89385,6 @@ index 9ad40b93add5..07001c7343ac 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -91033,35 +89393,37 @@ index 9ad40b93add5..07001c7343ac 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("platform_thread_gn") diff --git third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build -index 0d132b2957f2..68d9e334d850 100644 +index d1e17013974b..ee88bed9d853 100644 --- third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build +++ third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -91077,12 +89439,13 @@ index 0d132b2957f2..68d9e334d850 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -91090,13 +89453,14 @@ index 0d132b2957f2..68d9e334d850 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -91108,8 +89472,6 @@ index 0d132b2957f2..68d9e334d850 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -91117,12 +89479,12 @@ index 0d132b2957f2..68d9e334d850 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -91132,7 +89494,6 @@ index 0d132b2957f2..68d9e334d850 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -91156,6 +89517,7 @@ index 0d132b2957f2..68d9e334d850 100644 - 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 @@ -91166,13 +89528,15 @@ index 0d132b2957f2..68d9e334d850 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -91190,12 +89554,14 @@ index 0d132b2957f2..68d9e334d850 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -91226,16 +89592,6 @@ index 0d132b2957f2..68d9e334d850 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -91244,35 +89600,37 @@ index 0d132b2957f2..68d9e334d850 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("platform_thread_types_gn") diff --git third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build -index be3e5d165cb6..98b13de31ec0 100644 +index 1647aaa6b043..4fe577234a1d 100644 --- third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build +++ third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -91288,12 +89646,13 @@ index be3e5d165cb6..98b13de31ec0 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -91301,13 +89660,14 @@ index be3e5d165cb6..98b13de31ec0 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -91315,8 +89675,6 @@ index be3e5d165cb6..98b13de31ec0 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -91324,12 +89682,12 @@ index be3e5d165cb6..98b13de31ec0 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -91339,7 +89697,6 @@ index be3e5d165cb6..98b13de31ec0 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -91363,6 +89720,7 @@ index be3e5d165cb6..98b13de31ec0 100644 - 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 @@ -91373,13 +89731,15 @@ index be3e5d165cb6..98b13de31ec0 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -91393,17 +89753,19 @@ index be3e5d165cb6..98b13de31ec0 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -91427,39 +89789,32 @@ index be3e5d165cb6..98b13de31ec0 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("protobuf_utils_gn") diff --git third_party/libwebrtc/rtc_base/race_checker_gn/moz.build third_party/libwebrtc/rtc_base/race_checker_gn/moz.build -index 941e32ae1829..dff9cadb77f1 100644 +index c9fa1320de9d..7f449fc09841 100644 --- third_party/libwebrtc/rtc_base/race_checker_gn/moz.build +++ third_party/libwebrtc/rtc_base/race_checker_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -91475,12 +89830,13 @@ index 941e32ae1829..dff9cadb77f1 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -91488,13 +89844,14 @@ index 941e32ae1829..dff9cadb77f1 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -91506,8 +89863,6 @@ index 941e32ae1829..dff9cadb77f1 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -91515,12 +89870,12 @@ index 941e32ae1829..dff9cadb77f1 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -91530,7 +89885,6 @@ index 941e32ae1829..dff9cadb77f1 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -91554,6 +89908,7 @@ index 941e32ae1829..dff9cadb77f1 100644 - 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 @@ -91564,13 +89919,15 @@ index 941e32ae1829..dff9cadb77f1 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -91588,12 +89945,14 @@ index 941e32ae1829..dff9cadb77f1 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -91624,16 +89983,6 @@ index 941e32ae1829..dff9cadb77f1 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -91642,35 +89991,37 @@ index 941e32ae1829..dff9cadb77f1 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("race_checker_gn") diff --git third_party/libwebrtc/rtc_base/random_gn/moz.build third_party/libwebrtc/rtc_base/random_gn/moz.build -index 9a81a9569ef6..e6faef7d99c2 100644 +index 9ff8f952df81..b059729cb685 100644 --- third_party/libwebrtc/rtc_base/random_gn/moz.build +++ third_party/libwebrtc/rtc_base/random_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -91686,12 +90037,13 @@ index 9a81a9569ef6..e6faef7d99c2 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -91699,13 +90051,14 @@ index 9a81a9569ef6..e6faef7d99c2 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -91717,8 +90070,6 @@ index 9a81a9569ef6..e6faef7d99c2 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -91726,12 +90077,12 @@ index 9a81a9569ef6..e6faef7d99c2 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -91741,7 +90092,6 @@ index 9a81a9569ef6..e6faef7d99c2 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -91765,6 +90115,7 @@ index 9a81a9569ef6..e6faef7d99c2 100644 - 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 @@ -91775,13 +90126,15 @@ index 9a81a9569ef6..e6faef7d99c2 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -91799,12 +90152,14 @@ index 9a81a9569ef6..e6faef7d99c2 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -91835,16 +90190,6 @@ index 9a81a9569ef6..e6faef7d99c2 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -91853,35 +90198,37 @@ index 9a81a9569ef6..e6faef7d99c2 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("random_gn") diff --git third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build -index db17875a1c66..7a2df04c78e3 100644 +index 6458f194937c..4962afa749c1 100644 --- third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build +++ third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -91897,12 +90244,13 @@ index db17875a1c66..7a2df04c78e3 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -91910,13 +90258,14 @@ index db17875a1c66..7a2df04c78e3 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -91928,8 +90277,6 @@ index db17875a1c66..7a2df04c78e3 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -91937,12 +90284,12 @@ index db17875a1c66..7a2df04c78e3 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -91956,7 +90303,6 @@ index db17875a1c66..7a2df04c78e3 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -91980,6 +90326,7 @@ index db17875a1c66..7a2df04c78e3 100644 - 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 @@ -91990,6 +90337,7 @@ index db17875a1c66..7a2df04c78e3 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -92002,8 +90350,9 @@ index db17875a1c66..7a2df04c78e3 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -92021,12 +90370,14 @@ index db17875a1c66..7a2df04c78e3 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -92057,16 +90408,6 @@ index db17875a1c66..7a2df04c78e3 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -92075,35 +90416,37 @@ index db17875a1c66..7a2df04c78e3 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rate_limiter_gn") diff --git third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build -index 6bb56ffbd174..d42bea3f3af5 100644 +index 26d116b0e48c..8c670a919e35 100644 --- third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build +++ third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -92119,12 +90462,13 @@ index 6bb56ffbd174..d42bea3f3af5 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -92132,13 +90476,14 @@ index 6bb56ffbd174..d42bea3f3af5 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -92150,8 +90495,6 @@ index 6bb56ffbd174..d42bea3f3af5 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -92159,12 +90502,12 @@ index 6bb56ffbd174..d42bea3f3af5 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -92174,7 +90517,6 @@ index 6bb56ffbd174..d42bea3f3af5 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -92198,6 +90540,7 @@ index 6bb56ffbd174..d42bea3f3af5 100644 - 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 @@ -92208,6 +90551,7 @@ index 6bb56ffbd174..d42bea3f3af5 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -92220,8 +90564,9 @@ index 6bb56ffbd174..d42bea3f3af5 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -92239,12 +90584,14 @@ index 6bb56ffbd174..d42bea3f3af5 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -92275,16 +90622,6 @@ index 6bb56ffbd174..d42bea3f3af5 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -92293,35 +90630,37 @@ index 6bb56ffbd174..d42bea3f3af5 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rate_statistics_gn") diff --git third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build -index f9532edf05b6..39cdb435615a 100644 +index d146c136ccfc..1e89fe6caec3 100644 --- third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build +++ third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -92337,12 +90676,13 @@ index f9532edf05b6..39cdb435615a 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -92350,13 +90690,14 @@ index f9532edf05b6..39cdb435615a 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -92368,8 +90709,6 @@ index f9532edf05b6..39cdb435615a 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -92377,12 +90716,12 @@ index f9532edf05b6..39cdb435615a 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -92392,7 +90731,6 @@ index f9532edf05b6..39cdb435615a 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -92416,6 +90754,7 @@ index f9532edf05b6..39cdb435615a 100644 - 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 @@ -92426,6 +90765,7 @@ index f9532edf05b6..39cdb435615a 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -92438,8 +90778,9 @@ index f9532edf05b6..39cdb435615a 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -92457,12 +90798,14 @@ index f9532edf05b6..39cdb435615a 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -92493,16 +90836,6 @@ index f9532edf05b6..39cdb435615a 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -92511,35 +90844,37 @@ index f9532edf05b6..39cdb435615a 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rate_tracker_gn") diff --git third_party/libwebrtc/rtc_base/refcount_gn/moz.build third_party/libwebrtc/rtc_base/refcount_gn/moz.build -index 3de678e52f56..dffea650acbd 100644 +index b3a330088e12..ee683704fec2 100644 --- third_party/libwebrtc/rtc_base/refcount_gn/moz.build +++ third_party/libwebrtc/rtc_base/refcount_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -92555,12 +90890,13 @@ index 3de678e52f56..dffea650acbd 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -92568,13 +90904,14 @@ index 3de678e52f56..dffea650acbd 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -92582,8 +90919,6 @@ index 3de678e52f56..dffea650acbd 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -92591,12 +90926,12 @@ index 3de678e52f56..dffea650acbd 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -92606,7 +90941,6 @@ index 3de678e52f56..dffea650acbd 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -92630,6 +90964,7 @@ index 3de678e52f56..dffea650acbd 100644 - 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 @@ -92640,13 +90975,15 @@ index 3de678e52f56..dffea650acbd 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -92660,17 +90997,19 @@ index 3de678e52f56..dffea650acbd 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -92694,39 +91033,32 @@ index 3de678e52f56..dffea650acbd 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("refcount_gn") diff --git third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build -index 01650e82652c..eb46e9e0940e 100644 +index b587c37b604b..c362ce5eaa3b 100644 --- third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build +++ third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -92742,12 +91074,13 @@ index 01650e82652c..eb46e9e0940e 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -92755,13 +91088,14 @@ index 01650e82652c..eb46e9e0940e 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -92773,8 +91107,6 @@ index 01650e82652c..eb46e9e0940e 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -92782,12 +91114,12 @@ index 01650e82652c..eb46e9e0940e 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -92797,7 +91129,6 @@ index 01650e82652c..eb46e9e0940e 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -92821,6 +91152,7 @@ index 01650e82652c..eb46e9e0940e 100644 - 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 @@ -92831,13 +91163,15 @@ index 01650e82652c..eb46e9e0940e 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -92851,17 +91185,19 @@ index 01650e82652c..eb46e9e0940e 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -92885,39 +91221,32 @@ index 01650e82652c..eb46e9e0940e 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("rolling_accumulator_gn") diff --git third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build -index 57d72e2c1e9f..2a64b57441ec 100644 +index c79d22da2bb9..ce078cd78399 100644 --- third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build +++ third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -92933,12 +91262,13 @@ index 57d72e2c1e9f..2a64b57441ec 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -92946,13 +91276,14 @@ index 57d72e2c1e9f..2a64b57441ec 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -92964,8 +91295,6 @@ index 57d72e2c1e9f..2a64b57441ec 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -92973,12 +91302,12 @@ index 57d72e2c1e9f..2a64b57441ec 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -92988,7 +91317,6 @@ index 57d72e2c1e9f..2a64b57441ec 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -93012,6 +91340,7 @@ index 57d72e2c1e9f..2a64b57441ec 100644 - 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 @@ -93022,6 +91351,7 @@ index 57d72e2c1e9f..2a64b57441ec 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -93034,8 +91364,9 @@ index 57d72e2c1e9f..2a64b57441ec 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -93053,12 +91384,14 @@ index 57d72e2c1e9f..2a64b57441ec 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -93089,16 +91422,6 @@ index 57d72e2c1e9f..2a64b57441ec 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -93107,35 +91430,37 @@ index 57d72e2c1e9f..2a64b57441ec 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rtc_event_gn") diff --git third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build -index e5f133fc9924..63aa82161c35 100644 +index 8b800dd4f0ac..71e90bea9fe1 100644 --- third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build +++ third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -93151,12 +91476,13 @@ index e5f133fc9924..63aa82161c35 100644 +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" -@@ -46,179 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -93164,13 +91490,14 @@ index e5f133fc9924..63aa82161c35 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -93182,8 +91509,6 @@ index e5f133fc9924..63aa82161c35 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -93191,12 +91516,12 @@ index e5f133fc9924..63aa82161c35 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -93206,7 +91531,6 @@ index e5f133fc9924..63aa82161c35 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -93230,6 +91554,7 @@ index e5f133fc9924..63aa82161c35 100644 - 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 @@ -93240,13 +91565,15 @@ index e5f133fc9924..63aa82161c35 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -135,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -93264,12 +91591,14 @@ index e5f133fc9924..63aa82161c35 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -93300,16 +91629,6 @@ index e5f133fc9924..63aa82161c35 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -93318,35 +91637,37 @@ index e5f133fc9924..63aa82161c35 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rtc_numerics_gn") diff --git third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build -index a64091f2b704..b5b71363445a 100644 +index c71137580318..cd11316dae92 100644 --- third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build +++ third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -93362,12 +91683,13 @@ index a64091f2b704..b5b71363445a 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -93375,13 +91697,14 @@ index a64091f2b704..b5b71363445a 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -93389,8 +91712,6 @@ index a64091f2b704..b5b71363445a 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -93398,12 +91719,12 @@ index a64091f2b704..b5b71363445a 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -93413,7 +91734,6 @@ index a64091f2b704..b5b71363445a 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -93437,6 +91757,7 @@ index a64091f2b704..b5b71363445a 100644 - 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 @@ -93447,13 +91768,15 @@ index a64091f2b704..b5b71363445a 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -93467,17 +91790,19 @@ index a64091f2b704..b5b71363445a 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -93501,39 +91826,32 @@ index a64091f2b704..b5b71363445a 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("safe_compare_gn") diff --git third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build -index 3041610af6d3..059c8cf3092a 100644 +index d8cc6abaaa62..5803fa4c65a4 100644 --- third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build +++ third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -93549,12 +91867,13 @@ index 3041610af6d3..059c8cf3092a 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -93562,13 +91881,14 @@ index 3041610af6d3..059c8cf3092a 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -93580,8 +91900,6 @@ index 3041610af6d3..059c8cf3092a 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -93589,12 +91907,12 @@ index 3041610af6d3..059c8cf3092a 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -93604,7 +91922,6 @@ index 3041610af6d3..059c8cf3092a 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -93628,6 +91945,7 @@ index 3041610af6d3..059c8cf3092a 100644 - 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 @@ -93638,13 +91956,15 @@ index 3041610af6d3..059c8cf3092a 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -93658,17 +91978,19 @@ index 3041610af6d3..059c8cf3092a 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -93692,39 +92014,32 @@ index 3041610af6d3..059c8cf3092a 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("safe_conversions_gn") diff --git third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build -index 58903e9a4e63..2f50afc26237 100644 +index f6763736acda..fddce9408b17 100644 --- third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build +++ third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -93740,12 +92055,13 @@ index 58903e9a4e63..2f50afc26237 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -93753,13 +92069,14 @@ index 58903e9a4e63..2f50afc26237 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -93771,8 +92088,6 @@ index 58903e9a4e63..2f50afc26237 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -93780,12 +92095,12 @@ index 58903e9a4e63..2f50afc26237 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -93795,7 +92110,6 @@ index 58903e9a4e63..2f50afc26237 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -93819,6 +92133,7 @@ index 58903e9a4e63..2f50afc26237 100644 - 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 @@ -93829,13 +92144,15 @@ index 58903e9a4e63..2f50afc26237 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -93849,17 +92166,19 @@ index 58903e9a4e63..2f50afc26237 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -93883,39 +92202,32 @@ index 58903e9a4e63..2f50afc26237 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("safe_minmax_gn") diff --git third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build -index 8ee16d80ed85..c9bc739d62e9 100644 +index ed5f3a9be8a2..6505e7e52bac 100644 --- third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build +++ third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -93931,12 +92243,13 @@ index 8ee16d80ed85..c9bc739d62e9 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -93944,13 +92257,14 @@ index 8ee16d80ed85..c9bc739d62e9 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -93962,8 +92276,6 @@ index 8ee16d80ed85..c9bc739d62e9 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -93971,12 +92283,12 @@ index 8ee16d80ed85..c9bc739d62e9 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -93986,7 +92298,6 @@ index 8ee16d80ed85..c9bc739d62e9 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -94010,6 +92321,7 @@ index 8ee16d80ed85..c9bc739d62e9 100644 - 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 @@ -94020,13 +92332,15 @@ index 8ee16d80ed85..c9bc739d62e9 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -94044,12 +92358,14 @@ index 8ee16d80ed85..c9bc739d62e9 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -94080,16 +92396,6 @@ index 8ee16d80ed85..c9bc739d62e9 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -94098,35 +92404,37 @@ index 8ee16d80ed85..c9bc739d62e9 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("sample_counter_gn") diff --git third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build -index cbd346e5dc21..980b9765b1de 100644 +index f7903c8db54c..0bebe9378c50 100644 --- third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build +++ third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -94142,12 +92450,13 @@ index cbd346e5dc21..980b9765b1de 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -94155,13 +92464,14 @@ index cbd346e5dc21..980b9765b1de 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -94169,8 +92479,6 @@ index cbd346e5dc21..980b9765b1de 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -94178,12 +92486,12 @@ index cbd346e5dc21..980b9765b1de 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -94193,7 +92501,6 @@ index cbd346e5dc21..980b9765b1de 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -94217,6 +92524,7 @@ index cbd346e5dc21..980b9765b1de 100644 - 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 @@ -94227,13 +92535,15 @@ index cbd346e5dc21..980b9765b1de 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -94247,17 +92557,19 @@ index cbd346e5dc21..980b9765b1de 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -94281,39 +92593,32 @@ index cbd346e5dc21..980b9765b1de 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("sanitizer_gn") diff --git third_party/libwebrtc/rtc_base/socket_address_gn/moz.build third_party/libwebrtc/rtc_base/socket_address_gn/moz.build -index 7dfe5738c998..91e90e92a460 100644 +index cfadf85ec95b..cb58cf9db2f1 100644 --- third_party/libwebrtc/rtc_base/socket_address_gn/moz.build +++ third_party/libwebrtc/rtc_base/socket_address_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -94329,12 +92634,13 @@ index 7dfe5738c998..91e90e92a460 100644 +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" -@@ -44,187 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,95 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -94342,13 +92648,14 @@ index 7dfe5738c998..91e90e92a460 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -94361,8 +92668,6 @@ index 7dfe5738c998..91e90e92a460 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -94370,12 +92675,12 @@ index 7dfe5738c998..91e90e92a460 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -94385,7 +92690,6 @@ index 7dfe5738c998..91e90e92a460 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -94409,6 +92713,7 @@ index 7dfe5738c998..91e90e92a460 100644 - 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 @@ -94419,6 +92724,7 @@ index 7dfe5738c998..91e90e92a460 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -94431,8 +92737,9 @@ index 7dfe5738c998..91e90e92a460 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -141,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -94450,12 +92757,14 @@ index 7dfe5738c998..91e90e92a460 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -94486,16 +92795,6 @@ index 7dfe5738c998..91e90e92a460 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -94504,35 +92803,37 @@ index 7dfe5738c998..91e90e92a460 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("socket_address_gn") diff --git third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build -index 5c4cf0261e1a..4de54ef5649f 100644 +index 0161ebe4c277..652747e02185 100644 --- third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build +++ third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -94548,12 +92849,13 @@ index 5c4cf0261e1a..4de54ef5649f 100644 +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" -@@ -40,120 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,95 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -94561,13 +92863,14 @@ index 5c4cf0261e1a..4de54ef5649f 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -94580,8 +92883,6 @@ index 5c4cf0261e1a..4de54ef5649f 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -94589,12 +92890,12 @@ index 5c4cf0261e1a..4de54ef5649f 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -94604,7 +92905,6 @@ index 5c4cf0261e1a..4de54ef5649f 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -94628,6 +92928,7 @@ index 5c4cf0261e1a..4de54ef5649f 100644 - 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 @@ -94638,6 +92939,7 @@ index 5c4cf0261e1a..4de54ef5649f 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -94650,8 +92952,9 @@ index 5c4cf0261e1a..4de54ef5649f 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -137,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -94665,17 +92968,19 @@ index 5c4cf0261e1a..4de54ef5649f 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -163,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -167,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -94699,39 +93004,32 @@ index 5c4cf0261e1a..4de54ef5649f 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("socket_factory_gn") diff --git third_party/libwebrtc/rtc_base/socket_gn/moz.build third_party/libwebrtc/rtc_base/socket_gn/moz.build -index 43f98b9758bf..27b46ae4f612 100644 +index d427dcab649e..fee4041d1a3a 100644 --- third_party/libwebrtc/rtc_base/socket_gn/moz.build +++ third_party/libwebrtc/rtc_base/socket_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -94747,12 +93045,13 @@ index 43f98b9758bf..27b46ae4f612 100644 +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" -@@ -44,187 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,95 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -94760,13 +93059,14 @@ index 43f98b9758bf..27b46ae4f612 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -94779,8 +93079,6 @@ index 43f98b9758bf..27b46ae4f612 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -94788,12 +93086,12 @@ index 43f98b9758bf..27b46ae4f612 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -94803,7 +93101,6 @@ index 43f98b9758bf..27b46ae4f612 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -94827,6 +93124,7 @@ index 43f98b9758bf..27b46ae4f612 100644 - 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 @@ -94837,6 +93135,7 @@ index 43f98b9758bf..27b46ae4f612 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -94849,8 +93148,9 @@ index 43f98b9758bf..27b46ae4f612 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -141,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -94868,12 +93168,14 @@ index 43f98b9758bf..27b46ae4f612 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -94904,16 +93206,6 @@ index 43f98b9758bf..27b46ae4f612 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -94922,35 +93214,37 @@ index 43f98b9758bf..27b46ae4f612 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("socket_gn") diff --git third_party/libwebrtc/rtc_base/socket_server_gn/moz.build third_party/libwebrtc/rtc_base/socket_server_gn/moz.build -index d24756b4d615..5a576332fb94 100644 +index 39b8b6eb86a6..95b310c97892 100644 --- third_party/libwebrtc/rtc_base/socket_server_gn/moz.build +++ third_party/libwebrtc/rtc_base/socket_server_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -94966,12 +93260,13 @@ index d24756b4d615..5a576332fb94 100644 +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" -@@ -40,120 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,95 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -94979,13 +93274,14 @@ index d24756b4d615..5a576332fb94 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -94998,8 +93294,6 @@ index d24756b4d615..5a576332fb94 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -95007,12 +93301,12 @@ index d24756b4d615..5a576332fb94 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -95022,7 +93316,6 @@ index d24756b4d615..5a576332fb94 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -95046,6 +93339,7 @@ index d24756b4d615..5a576332fb94 100644 - 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 @@ -95056,6 +93350,7 @@ index d24756b4d615..5a576332fb94 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -95068,8 +93363,9 @@ index d24756b4d615..5a576332fb94 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -137,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -95083,17 +93379,19 @@ index d24756b4d615..5a576332fb94 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -163,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -167,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -95117,39 +93415,32 @@ index d24756b4d615..5a576332fb94 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("socket_server_gn") diff --git third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build -index 7df6c9be0d52..37f417671c69 100644 +index 44fd11fdd3bd..2a80ae26ad1a 100644 --- third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build +++ third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -95165,12 +93456,13 @@ index 7df6c9be0d52..37f417671c69 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -95178,13 +93470,14 @@ index 7df6c9be0d52..37f417671c69 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -95192,8 +93485,6 @@ index 7df6c9be0d52..37f417671c69 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -95201,12 +93492,12 @@ index 7df6c9be0d52..37f417671c69 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -95216,7 +93507,6 @@ index 7df6c9be0d52..37f417671c69 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -95240,6 +93530,7 @@ index 7df6c9be0d52..37f417671c69 100644 - 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 @@ -95250,13 +93541,15 @@ index 7df6c9be0d52..37f417671c69 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -95270,17 +93563,19 @@ index 7df6c9be0d52..37f417671c69 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -95304,39 +93599,32 @@ index 7df6c9be0d52..37f417671c69 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("ssl_adapter_gn") diff --git third_party/libwebrtc/rtc_base/ssl_gn/moz.build third_party/libwebrtc/rtc_base/ssl_gn/moz.build -index 3b316011d903..9f73c2a4952a 100644 +index aad7b048f74e..1d0d9089f7b0 100644 --- third_party/libwebrtc/rtc_base/ssl_gn/moz.build +++ third_party/libwebrtc/rtc_base/ssl_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -95352,12 +93640,13 @@ index 3b316011d903..9f73c2a4952a 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -95365,13 +93654,14 @@ index 3b316011d903..9f73c2a4952a 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -95379,8 +93669,6 @@ index 3b316011d903..9f73c2a4952a 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -95388,12 +93676,12 @@ index 3b316011d903..9f73c2a4952a 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -95403,7 +93691,6 @@ index 3b316011d903..9f73c2a4952a 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -95427,6 +93714,7 @@ index 3b316011d903..9f73c2a4952a 100644 - 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 @@ -95437,13 +93725,15 @@ index 3b316011d903..9f73c2a4952a 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -95457,17 +93747,19 @@ index 3b316011d903..9f73c2a4952a 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -95491,39 +93783,32 @@ index 3b316011d903..9f73c2a4952a 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("ssl_gn") diff --git third_party/libwebrtc/rtc_base/stringutils_gn/moz.build third_party/libwebrtc/rtc_base/stringutils_gn/moz.build -index 8968548bc44d..6ae58958a750 100644 +index c88b2439507f..8d6c9871ff19 100644 --- third_party/libwebrtc/rtc_base/stringutils_gn/moz.build +++ third_party/libwebrtc/rtc_base/stringutils_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -95539,12 +93824,13 @@ index 8968548bc44d..6ae58958a750 100644 +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" -@@ -48,179 +57,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -49,87 +58,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -95552,13 +93838,14 @@ index 8968548bc44d..6ae58958a750 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -95570,8 +93857,6 @@ index 8968548bc44d..6ae58958a750 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -95579,12 +93864,12 @@ index 8968548bc44d..6ae58958a750 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -95594,7 +93879,6 @@ index 8968548bc44d..6ae58958a750 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -95618,6 +93902,7 @@ index 8968548bc44d..6ae58958a750 100644 - 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 @@ -95628,13 +93913,15 @@ index 8968548bc44d..6ae58958a750 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -137,88 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -95652,12 +93939,14 @@ index 8968548bc44d..6ae58958a750 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -95688,16 +93977,6 @@ index 8968548bc44d..6ae58958a750 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -95706,35 +93985,37 @@ index 8968548bc44d..6ae58958a750 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("stringutils_gn") diff --git third_party/libwebrtc/rtc_base/strong_alias_gn/moz.build third_party/libwebrtc/rtc_base/strong_alias_gn/moz.build -index 3ca55f387657..3578dca2f457 100644 +index fbec1dfee3b4..4837fc994626 100644 --- third_party/libwebrtc/rtc_base/strong_alias_gn/moz.build +++ third_party/libwebrtc/rtc_base/strong_alias_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -95750,12 +94031,13 @@ index 3ca55f387657..3578dca2f457 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -95763,13 +94045,14 @@ index 3ca55f387657..3578dca2f457 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -95777,8 +94060,6 @@ index 3ca55f387657..3578dca2f457 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -95786,12 +94067,12 @@ index 3ca55f387657..3578dca2f457 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -95801,7 +94082,6 @@ index 3ca55f387657..3578dca2f457 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -95825,6 +94105,7 @@ index 3ca55f387657..3578dca2f457 100644 - 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 @@ -95835,13 +94116,15 @@ index 3ca55f387657..3578dca2f457 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -95855,17 +94138,19 @@ index 3ca55f387657..3578dca2f457 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -95889,39 +94174,32 @@ index 3ca55f387657..3578dca2f457 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("strong_alias_gn") diff --git third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build -index 84aa26f7defe..3b411438cbea 100644 +index a85e8fd3cd0d..54cdd3a87bb6 100644 --- third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build +++ third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -95937,12 +94215,13 @@ index 84aa26f7defe..3b411438cbea 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -95950,13 +94229,14 @@ index 84aa26f7defe..3b411438cbea 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -95968,8 +94248,6 @@ index 84aa26f7defe..3b411438cbea 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -95977,12 +94255,12 @@ index 84aa26f7defe..3b411438cbea 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -95992,7 +94270,6 @@ index 84aa26f7defe..3b411438cbea 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -96016,6 +94293,7 @@ index 84aa26f7defe..3b411438cbea 100644 - 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 @@ -96026,13 +94304,15 @@ index 84aa26f7defe..3b411438cbea 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -96046,17 +94326,19 @@ index 84aa26f7defe..3b411438cbea 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -96080,39 +94362,32 @@ index 84aa26f7defe..3b411438cbea 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("swap_queue_gn") diff --git third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build -index 9ce9d8492bdc..97ba7f1f28a4 100644 +index d37689f4f122..7a4403e8a55c 100644 --- third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build +++ third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -96128,12 +94403,13 @@ index 9ce9d8492bdc..97ba7f1f28a4 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -96141,13 +94417,14 @@ index 9ce9d8492bdc..97ba7f1f28a4 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -96159,8 +94436,6 @@ index 9ce9d8492bdc..97ba7f1f28a4 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -96168,12 +94443,12 @@ index 9ce9d8492bdc..97ba7f1f28a4 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -96183,7 +94458,6 @@ index 9ce9d8492bdc..97ba7f1f28a4 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -96207,6 +94481,7 @@ index 9ce9d8492bdc..97ba7f1f28a4 100644 - 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 @@ -96217,13 +94492,15 @@ index 9ce9d8492bdc..97ba7f1f28a4 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -96237,17 +94514,19 @@ index 9ce9d8492bdc..97ba7f1f28a4 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -96271,39 +94550,32 @@ index 9ce9d8492bdc..97ba7f1f28a4 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("mutex_gn") diff --git third_party/libwebrtc/rtc_base/synchronization/sequence_checker_internal_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/sequence_checker_internal_gn/moz.build -index 3f32dcb1a7a0..2b47834fa63c 100644 +index ff8f90793c1a..6b0a8bd9f8b4 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -96319,12 +94591,13 @@ index 3f32dcb1a7a0..2b47834fa63c 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -96332,13 +94605,14 @@ index 3f32dcb1a7a0..2b47834fa63c 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -96350,8 +94624,6 @@ index 3f32dcb1a7a0..2b47834fa63c 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -96359,12 +94631,12 @@ index 3f32dcb1a7a0..2b47834fa63c 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -96374,7 +94646,6 @@ index 3f32dcb1a7a0..2b47834fa63c 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -96398,6 +94669,7 @@ index 3f32dcb1a7a0..2b47834fa63c 100644 - 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 @@ -96408,13 +94680,15 @@ index 3f32dcb1a7a0..2b47834fa63c 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -96432,12 +94706,14 @@ index 3f32dcb1a7a0..2b47834fa63c 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -96468,16 +94744,6 @@ index 3f32dcb1a7a0..2b47834fa63c 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -96486,35 +94752,37 @@ index 3f32dcb1a7a0..2b47834fa63c 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("sequence_checker_internal_gn") diff --git third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build -index 3e512b9b5730..c09f2aea4cb5 100644 +index aa38d8281a42..87d2544ad6ab 100644 --- third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build +++ third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -96530,12 +94798,13 @@ index 3e512b9b5730..c09f2aea4cb5 100644 +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" -@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -96543,13 +94812,14 @@ index 3e512b9b5730..c09f2aea4cb5 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -96557,8 +94827,6 @@ index 3e512b9b5730..c09f2aea4cb5 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -96566,12 +94834,12 @@ index 3e512b9b5730..c09f2aea4cb5 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -96581,7 +94849,6 @@ index 3e512b9b5730..c09f2aea4cb5 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -96605,6 +94872,7 @@ index 3e512b9b5730..c09f2aea4cb5 100644 - 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 @@ -96615,13 +94883,15 @@ index 3e512b9b5730..c09f2aea4cb5 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -96639,12 +94909,14 @@ index 3e512b9b5730..c09f2aea4cb5 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -96675,53 +94947,45 @@ index 3e512b9b5730..c09f2aea4cb5 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- OS_LIBS += [ -- "unwind" +- CXXFLAGS += [ +- "-msse2" - ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": -- - CXXFLAGS += [ - "-msse2" - ] - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - -- CXXFLAGS += [ -- "-msse2" -- ] -+if CONFIG["TARGET_CPU"] == "x86_64": +- + CXXFLAGS += [ + "-msse2" + ] +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("yield_gn") diff --git third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build -index 3f1dd4f9247c..7269d51420de 100644 +index 3e944be847d3..a3f2dcd8cd24 100644 --- third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build +++ third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -96737,12 +95001,13 @@ index 3f1dd4f9247c..7269d51420de 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -96750,13 +95015,14 @@ index 3f1dd4f9247c..7269d51420de 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -96768,8 +95034,6 @@ index 3f1dd4f9247c..7269d51420de 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -96777,12 +95041,12 @@ index 3f1dd4f9247c..7269d51420de 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -96792,7 +95056,6 @@ index 3f1dd4f9247c..7269d51420de 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -96816,6 +95079,7 @@ index 3f1dd4f9247c..7269d51420de 100644 - 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 @@ -96826,13 +95090,15 @@ index 3f1dd4f9247c..7269d51420de 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -96850,12 +95116,14 @@ index 3f1dd4f9247c..7269d51420de 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -96886,16 +95154,6 @@ index 3f1dd4f9247c..7269d51420de 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -96904,35 +95162,37 @@ index 3f1dd4f9247c..7269d51420de 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("yield_policy_gn") diff --git third_party/libwebrtc/rtc_base/system/arch_gn/moz.build third_party/libwebrtc/rtc_base/system/arch_gn/moz.build -index 4deae9759dba..e7eb27834aca 100644 +index 2561a159f2c1..c09f87b18f1c 100644 --- third_party/libwebrtc/rtc_base/system/arch_gn/moz.build +++ third_party/libwebrtc/rtc_base/system/arch_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -96948,12 +95208,13 @@ index 4deae9759dba..e7eb27834aca 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -96961,13 +95222,14 @@ index 4deae9759dba..e7eb27834aca 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -96975,8 +95237,6 @@ index 4deae9759dba..e7eb27834aca 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -96984,12 +95244,12 @@ index 4deae9759dba..e7eb27834aca 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -96999,7 +95259,6 @@ index 4deae9759dba..e7eb27834aca 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -97023,6 +95282,7 @@ index 4deae9759dba..e7eb27834aca 100644 - 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 @@ -97033,13 +95293,15 @@ index 4deae9759dba..e7eb27834aca 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -97053,17 +95315,19 @@ index 4deae9759dba..e7eb27834aca 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -97087,40 +95351,33 @@ index 4deae9759dba..e7eb27834aca 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("arch_gn") diff --git third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build deleted file mode 100644 -index 0a5db7e1cf27..000000000000 +index 78132c11deb4..000000000000 --- third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build +++ /dev/null -@@ -1,80 +0,0 @@ +@@ -1,75 +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/. @@ -97147,6 +95404,7 @@ index 0a5db7e1cf27..000000000000 -DEFINES["WEBRTC_POSIX"] = True -DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" -DEFINES["_GNU_SOURCE"] = True +-DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" -DEFINES["__STDC_CONSTANT_MACROS"] = True -DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -97176,34 +95434,28 @@ index 0a5db7e1cf27..000000000000 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" - DEFINES["HAVE_SYS_UIO_H"] = True - DEFINES["WEBRTC_ANDROID"] = True - DEFINES["WEBRTC_ANDROID_OPENSLES"] = True -- -- OS_LIBS += [ -- "unwind" -- ] +- DEFINES["__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__"] = True - -if CONFIG["OS_TARGET"] == "Linux": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- -Library("asm_defines_gn") diff --git third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build deleted file mode 100644 -index b151034cb93e..000000000000 +index ba2c50f92c2a..000000000000 --- third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build +++ /dev/null @@ -1,68 +0,0 @@ @@ -97233,8 +95485,7 @@ index b151034cb93e..000000000000 -DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" -DEFINES["WEBRTC_POSIX"] = True -DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" --DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True --DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" +-DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" -DEFINES["__STDC_CONSTANT_MACROS"] = True -DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -97269,6 +95520,7 @@ index b151034cb93e..000000000000 - - DEFINES["WEBRTC_ARCH_ARM64"] = True - DEFINES["WEBRTC_HAS_NEON"] = True +- DEFINES["__ARM_NEON__"] = "1" - -if CONFIG["TARGET_CPU"] == "x86_64": - @@ -97276,10 +95528,10 @@ index b151034cb93e..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 e0f7d039805f..d46c159135e3 100644 +index eba81875e62b..78db823c9245 100644 --- third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build +++ third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -97295,12 +95547,13 @@ index e0f7d039805f..d46c159135e3 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -97308,13 +95561,14 @@ index e0f7d039805f..d46c159135e3 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -97326,8 +95580,6 @@ index e0f7d039805f..d46c159135e3 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -97335,12 +95587,12 @@ index e0f7d039805f..d46c159135e3 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -97350,7 +95602,6 @@ index e0f7d039805f..d46c159135e3 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -97374,6 +95625,7 @@ index e0f7d039805f..d46c159135e3 100644 - 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 @@ -97384,13 +95636,15 @@ index e0f7d039805f..d46c159135e3 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -97408,12 +95662,14 @@ index e0f7d039805f..d46c159135e3 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -97444,16 +95700,6 @@ index e0f7d039805f..d46c159135e3 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -97462,33 +95708,35 @@ index e0f7d039805f..d46c159135e3 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("file_wrapper_gn") diff --git third_party/libwebrtc/rtc_base/system/gcd_helpers_gn/moz.build third_party/libwebrtc/rtc_base/system/gcd_helpers_gn/moz.build deleted file mode 100644 -index 20d7ec25d78c..000000000000 +index 90bb733abfca..000000000000 --- third_party/libwebrtc/rtc_base/system/gcd_helpers_gn/moz.build +++ /dev/null @@ -1,68 +0,0 @@ @@ -97518,8 +95766,7 @@ index 20d7ec25d78c..000000000000 -DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" -DEFINES["WEBRTC_POSIX"] = True -DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" --DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True --DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" +-DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" -DEFINES["__STDC_CONSTANT_MACROS"] = True -DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -97554,6 +95801,7 @@ index 20d7ec25d78c..000000000000 - - DEFINES["WEBRTC_ARCH_ARM64"] = True - DEFINES["WEBRTC_HAS_NEON"] = True +- DEFINES["__ARM_NEON__"] = "1" - -if CONFIG["TARGET_CPU"] == "x86_64": - @@ -97561,10 +95809,10 @@ index 20d7ec25d78c..000000000000 - -Library("gcd_helpers_gn") diff --git third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build -index 6f3525b99ada..c14467e95dc7 100644 +index b04ad87eda04..d2d6215c2366 100644 --- third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build +++ third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -97580,12 +95828,13 @@ index 6f3525b99ada..c14467e95dc7 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -97593,13 +95842,14 @@ index 6f3525b99ada..c14467e95dc7 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -97607,8 +95857,6 @@ index 6f3525b99ada..c14467e95dc7 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -97616,12 +95864,12 @@ index 6f3525b99ada..c14467e95dc7 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -97631,7 +95879,6 @@ index 6f3525b99ada..c14467e95dc7 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -97655,6 +95902,7 @@ index 6f3525b99ada..c14467e95dc7 100644 - 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 @@ -97665,13 +95913,15 @@ index 6f3525b99ada..c14467e95dc7 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -97685,17 +95935,19 @@ index 6f3525b99ada..c14467e95dc7 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -97719,39 +95971,32 @@ index 6f3525b99ada..c14467e95dc7 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("ignore_warnings_gn") diff --git third_party/libwebrtc/rtc_base/system/inline_gn/moz.build third_party/libwebrtc/rtc_base/system/inline_gn/moz.build -index 2cb5fb8f52a9..1e8684bd302d 100644 +index 859e531ae239..c5c6f101f8a1 100644 --- third_party/libwebrtc/rtc_base/system/inline_gn/moz.build +++ third_party/libwebrtc/rtc_base/system/inline_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -97767,12 +96012,13 @@ index 2cb5fb8f52a9..1e8684bd302d 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -97780,13 +96026,14 @@ index 2cb5fb8f52a9..1e8684bd302d 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -97794,8 +96041,6 @@ index 2cb5fb8f52a9..1e8684bd302d 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -97803,12 +96048,12 @@ index 2cb5fb8f52a9..1e8684bd302d 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -97818,7 +96063,6 @@ index 2cb5fb8f52a9..1e8684bd302d 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -97842,6 +96086,7 @@ index 2cb5fb8f52a9..1e8684bd302d 100644 - 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 @@ -97852,13 +96097,15 @@ index 2cb5fb8f52a9..1e8684bd302d 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -97872,17 +96119,19 @@ index 2cb5fb8f52a9..1e8684bd302d 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -97906,39 +96155,32 @@ index 2cb5fb8f52a9..1e8684bd302d 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("inline_gn") diff --git third_party/libwebrtc/rtc_base/system/no_unique_address_gn/moz.build third_party/libwebrtc/rtc_base/system/no_unique_address_gn/moz.build -index e92150e1d709..da652288e143 100644 +index c293849ca78f..0a7f61413e83 100644 --- third_party/libwebrtc/rtc_base/system/no_unique_address_gn/moz.build +++ third_party/libwebrtc/rtc_base/system/no_unique_address_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -97954,12 +96196,13 @@ index e92150e1d709..da652288e143 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -97967,13 +96210,14 @@ index e92150e1d709..da652288e143 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -97981,8 +96225,6 @@ index e92150e1d709..da652288e143 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -97990,12 +96232,12 @@ index e92150e1d709..da652288e143 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -98005,7 +96247,6 @@ index e92150e1d709..da652288e143 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -98029,6 +96270,7 @@ index e92150e1d709..da652288e143 100644 - 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 @@ -98039,13 +96281,15 @@ index e92150e1d709..da652288e143 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -98059,17 +96303,19 @@ index e92150e1d709..da652288e143 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -98093,39 +96339,32 @@ index e92150e1d709..da652288e143 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("no_unique_address_gn") diff --git third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build -index 8a7929181db2..8a2c396a6f97 100644 +index fa852e738efb..c57bf5f1dba8 100644 --- third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build +++ third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -98141,12 +96380,13 @@ index 8a7929181db2..8a2c396a6f97 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -98154,13 +96394,14 @@ index 8a7929181db2..8a2c396a6f97 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -98168,8 +96409,6 @@ index 8a7929181db2..8a2c396a6f97 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -98177,12 +96416,12 @@ index 8a7929181db2..8a2c396a6f97 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -98192,7 +96431,6 @@ index 8a7929181db2..8a2c396a6f97 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -98216,6 +96454,7 @@ index 8a7929181db2..8a2c396a6f97 100644 - 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 @@ -98226,13 +96465,15 @@ index 8a7929181db2..8a2c396a6f97 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -98246,17 +96487,19 @@ index 8a7929181db2..8a2c396a6f97 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -98280,39 +96523,32 @@ index 8a7929181db2..8a2c396a6f97 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("rtc_export_gn") diff --git third_party/libwebrtc/rtc_base/system/unused_gn/moz.build third_party/libwebrtc/rtc_base/system/unused_gn/moz.build -index ca4dda9a2e4d..006c6586f890 100644 +index 0c7379a967ab..968474be87f2 100644 --- third_party/libwebrtc/rtc_base/system/unused_gn/moz.build +++ third_party/libwebrtc/rtc_base/system/unused_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -98328,12 +96564,13 @@ index ca4dda9a2e4d..006c6586f890 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -98341,13 +96578,14 @@ index ca4dda9a2e4d..006c6586f890 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -98355,8 +96593,6 @@ index ca4dda9a2e4d..006c6586f890 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -98364,12 +96600,12 @@ index ca4dda9a2e4d..006c6586f890 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -98379,7 +96615,6 @@ index ca4dda9a2e4d..006c6586f890 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -98403,6 +96638,7 @@ index ca4dda9a2e4d..006c6586f890 100644 - 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 @@ -98413,13 +96649,15 @@ index ca4dda9a2e4d..006c6586f890 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -98433,17 +96671,19 @@ index ca4dda9a2e4d..006c6586f890 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -98467,39 +96707,32 @@ index ca4dda9a2e4d..006c6586f890 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("unused_gn") diff --git third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build -index 39fd02456daa..bf0e8a8cd3f7 100644 +index d1fe3ee32dae..932202f014fc 100644 --- third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build +++ third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -98515,12 +96748,13 @@ index 39fd02456daa..bf0e8a8cd3f7 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -98528,13 +96762,14 @@ index 39fd02456daa..bf0e8a8cd3f7 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -98542,8 +96777,6 @@ index 39fd02456daa..bf0e8a8cd3f7 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -98551,12 +96784,12 @@ index 39fd02456daa..bf0e8a8cd3f7 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -98566,7 +96799,6 @@ index 39fd02456daa..bf0e8a8cd3f7 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -98590,6 +96822,7 @@ index 39fd02456daa..bf0e8a8cd3f7 100644 - 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 @@ -98600,13 +96833,15 @@ index 39fd02456daa..bf0e8a8cd3f7 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -98620,17 +96855,19 @@ index 39fd02456daa..bf0e8a8cd3f7 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -98654,39 +96891,32 @@ index 39fd02456daa..bf0e8a8cd3f7 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("warn_current_thread_is_deadlocked_gn") diff --git third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build -index 087b4c4d88d2..e8429bb53f50 100644 +index c24a2921fb66..64b71d2e5992 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -98702,12 +96932,13 @@ index 087b4c4d88d2..e8429bb53f50 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -98715,13 +96946,14 @@ index 087b4c4d88d2..e8429bb53f50 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -98733,8 +96965,6 @@ index 087b4c4d88d2..e8429bb53f50 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -98742,12 +96972,12 @@ index 087b4c4d88d2..e8429bb53f50 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -98761,7 +96991,6 @@ index 087b4c4d88d2..e8429bb53f50 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -98785,6 +97014,7 @@ index 087b4c4d88d2..e8429bb53f50 100644 - 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 @@ -98795,6 +97025,7 @@ index 087b4c4d88d2..e8429bb53f50 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -98807,8 +97038,9 @@ index 087b4c4d88d2..e8429bb53f50 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -98826,12 +97058,14 @@ index 087b4c4d88d2..e8429bb53f50 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -98862,16 +97096,6 @@ index 087b4c4d88d2..e8429bb53f50 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -98880,35 +97104,37 @@ index 087b4c4d88d2..e8429bb53f50 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("repeating_task_gn") diff --git third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build -index ae1efc51c7bd..6ef27d676626 100644 +index 826243290c5d..1893f0c9c241 100644 --- third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build +++ third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -98924,12 +97150,13 @@ index ae1efc51c7bd..6ef27d676626 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -98937,13 +97164,14 @@ index ae1efc51c7bd..6ef27d676626 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -98955,8 +97183,6 @@ index ae1efc51c7bd..6ef27d676626 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -98964,12 +97190,12 @@ index ae1efc51c7bd..6ef27d676626 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -98979,7 +97205,6 @@ index ae1efc51c7bd..6ef27d676626 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -99003,6 +97228,7 @@ index ae1efc51c7bd..6ef27d676626 100644 - 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 @@ -99013,13 +97239,15 @@ index ae1efc51c7bd..6ef27d676626 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -99037,12 +97265,14 @@ index ae1efc51c7bd..6ef27d676626 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -99073,16 +97303,6 @@ index ae1efc51c7bd..6ef27d676626 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -99091,35 +97311,37 @@ index ae1efc51c7bd..6ef27d676626 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("base64_gn") diff --git third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build -index d5acb89419a4..7c934ab8aa45 100644 +index 00786f101e1c..e19b93cfb89b 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -99135,12 +97357,13 @@ index d5acb89419a4..7c934ab8aa45 100644 +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" -@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -99148,13 +97371,14 @@ index d5acb89419a4..7c934ab8aa45 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -99162,8 +97386,6 @@ index d5acb89419a4..7c934ab8aa45 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -99171,12 +97393,12 @@ index d5acb89419a4..7c934ab8aa45 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -99186,7 +97408,6 @@ index d5acb89419a4..7c934ab8aa45 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -99210,6 +97431,7 @@ index d5acb89419a4..7c934ab8aa45 100644 - 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 @@ -99220,13 +97442,15 @@ index d5acb89419a4..7c934ab8aa45 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -99244,12 +97468,14 @@ index d5acb89419a4..7c934ab8aa45 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -99280,53 +97506,45 @@ index d5acb89419a4..7c934ab8aa45 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- OS_LIBS += [ -- "unwind" +- CXXFLAGS += [ +- "-msse2" - ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": -- - CXXFLAGS += [ - "-msse2" - ] - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - -- CXXFLAGS += [ -- "-msse2" -- ] -+if CONFIG["TARGET_CPU"] == "x86_64": +- + CXXFLAGS += [ + "-msse2" + ] +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("sigslot_gn") diff --git third_party/libwebrtc/rtc_base/threading_gn/moz.build third_party/libwebrtc/rtc_base/threading_gn/moz.build -index 25c10fd9be18..4bbc22347358 100644 +index e0f9f5af07b7..9f36c5a991a5 100644 --- third_party/libwebrtc/rtc_base/threading_gn/moz.build +++ third_party/libwebrtc/rtc_base/threading_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -99342,12 +97560,13 @@ index 25c10fd9be18..4bbc22347358 100644 +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,203 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,111 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -99355,13 +97574,14 @@ index 25c10fd9be18..4bbc22347358 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -99378,8 +97598,6 @@ index 25c10fd9be18..4bbc22347358 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -99391,12 +97609,12 @@ index 25c10fd9be18..4bbc22347358 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -99410,7 +97628,6 @@ index 25c10fd9be18..4bbc22347358 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -99434,6 +97651,7 @@ index 25c10fd9be18..4bbc22347358 100644 - 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 @@ -99444,6 +97662,7 @@ index 25c10fd9be18..4bbc22347358 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -99460,8 +97679,9 @@ index 25c10fd9be18..4bbc22347358 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -160,88 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -99479,12 +97699,14 @@ index 25c10fd9be18..4bbc22347358 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -99515,53 +97737,45 @@ index 25c10fd9be18..4bbc22347358 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- OS_LIBS += [ -- "unwind" +- CXXFLAGS += [ +- "-msse2" - ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": -- - CXXFLAGS += [ - "-msse2" - ] - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - -- CXXFLAGS += [ -- "-msse2" -- ] -+if CONFIG["TARGET_CPU"] == "x86_64": +- + CXXFLAGS += [ + "-msse2" + ] +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("threading_gn") diff --git third_party/libwebrtc/rtc_base/timeutils_gn/moz.build third_party/libwebrtc/rtc_base/timeutils_gn/moz.build -index 4a4eb9a5299d..c44c88674e94 100644 +index a784c5d8bdc5..154d2992d97f 100644 --- third_party/libwebrtc/rtc_base/timeutils_gn/moz.build +++ third_party/libwebrtc/rtc_base/timeutils_gn/moz.build -@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -99578,12 +97792,13 @@ index 4a4eb9a5299d..c44c88674e94 100644 +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" -@@ -46,186 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -99591,13 +97806,14 @@ index 4a4eb9a5299d..c44c88674e94 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -99609,8 +97825,6 @@ index 4a4eb9a5299d..c44c88674e94 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -99618,12 +97832,12 @@ index 4a4eb9a5299d..c44c88674e94 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -99633,7 +97847,6 @@ index 4a4eb9a5299d..c44c88674e94 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -99657,6 +97870,7 @@ index 4a4eb9a5299d..c44c88674e94 100644 - 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 @@ -99667,6 +97881,7 @@ index 4a4eb9a5299d..c44c88674e94 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -99679,8 +97894,9 @@ index 4a4eb9a5299d..c44c88674e94 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -142,88 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -99698,12 +97914,14 @@ index 4a4eb9a5299d..c44c88674e94 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -99734,16 +97952,6 @@ index 4a4eb9a5299d..c44c88674e94 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -99752,35 +97960,37 @@ index 4a4eb9a5299d..c44c88674e94 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("timeutils_gn") diff --git third_party/libwebrtc/rtc_base/type_traits_gn/moz.build third_party/libwebrtc/rtc_base/type_traits_gn/moz.build -index f2f4e6b6ca45..ae4a3a9be6cc 100644 +index 2ef1df8f7220..44432f6f3cc9 100644 --- third_party/libwebrtc/rtc_base/type_traits_gn/moz.build +++ third_party/libwebrtc/rtc_base/type_traits_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -99796,12 +98006,13 @@ index f2f4e6b6ca45..ae4a3a9be6cc 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -99809,13 +98020,14 @@ index f2f4e6b6ca45..ae4a3a9be6cc 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -99823,8 +98035,6 @@ index f2f4e6b6ca45..ae4a3a9be6cc 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -99832,12 +98042,12 @@ index f2f4e6b6ca45..ae4a3a9be6cc 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -99847,7 +98057,6 @@ index f2f4e6b6ca45..ae4a3a9be6cc 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -99871,6 +98080,7 @@ index f2f4e6b6ca45..ae4a3a9be6cc 100644 - 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 @@ -99881,13 +98091,15 @@ index f2f4e6b6ca45..ae4a3a9be6cc 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -99901,17 +98113,19 @@ index f2f4e6b6ca45..ae4a3a9be6cc 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -99935,39 +98149,32 @@ index f2f4e6b6ca45..ae4a3a9be6cc 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("type_traits_gn") diff --git third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build -index e1cd710315ee..7fdf646e5b07 100644 +index 79543bdce841..1cc2ba7d5aaf 100644 --- third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build +++ third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -99983,12 +98190,13 @@ index e1cd710315ee..7fdf646e5b07 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -99996,13 +98204,14 @@ index e1cd710315ee..7fdf646e5b07 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -100010,8 +98219,6 @@ index e1cd710315ee..7fdf646e5b07 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -100019,12 +98226,12 @@ index e1cd710315ee..7fdf646e5b07 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -100034,7 +98241,6 @@ index e1cd710315ee..7fdf646e5b07 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -100058,6 +98264,7 @@ index e1cd710315ee..7fdf646e5b07 100644 - 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 @@ -100068,13 +98275,15 @@ index e1cd710315ee..7fdf646e5b07 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -100088,17 +98297,19 @@ index e1cd710315ee..7fdf646e5b07 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -100122,39 +98333,32 @@ index e1cd710315ee..7fdf646e5b07 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("unique_id_generator_gn") diff --git third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build -index cd430975e933..5415e6422549 100644 +index 0a4faedb8660..0bd9848f7aae 100644 --- third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build +++ third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -100170,12 +98374,13 @@ index cd430975e933..5415e6422549 100644 +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" -@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -100183,13 +98388,14 @@ index cd430975e933..5415e6422549 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -100201,8 +98407,6 @@ index cd430975e933..5415e6422549 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -100210,12 +98414,12 @@ index cd430975e933..5415e6422549 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -100225,7 +98429,6 @@ index cd430975e933..5415e6422549 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -100249,6 +98452,7 @@ index cd430975e933..5415e6422549 100644 - 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 @@ -100259,13 +98463,15 @@ index cd430975e933..5415e6422549 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -100279,17 +98485,19 @@ index cd430975e933..5415e6422549 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -100313,39 +98521,32 @@ index cd430975e933..5415e6422549 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("unit_base_gn") diff --git third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build -index abd3030f27e3..d0ec863efabb 100644 +index f3605a1e68c3..6e53cafca5ee 100644 --- third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build +++ third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -100361,12 +98562,13 @@ index abd3030f27e3..d0ec863efabb 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -100374,13 +98576,14 @@ index abd3030f27e3..d0ec863efabb 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -100392,8 +98595,6 @@ index abd3030f27e3..d0ec863efabb 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -100401,12 +98602,12 @@ index abd3030f27e3..d0ec863efabb 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -100416,7 +98617,6 @@ index abd3030f27e3..d0ec863efabb 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -100440,6 +98640,7 @@ index abd3030f27e3..d0ec863efabb 100644 - 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 @@ -100450,13 +98651,15 @@ index abd3030f27e3..d0ec863efabb 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -100474,12 +98677,14 @@ index abd3030f27e3..d0ec863efabb 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -100510,16 +98715,6 @@ index abd3030f27e3..d0ec863efabb 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -100528,36 +98723,38 @@ index abd3030f27e3..d0ec863efabb 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("weak_ptr_gn") diff --git third_party/libwebrtc/rtc_base/win/create_direct3d_device_gn/moz.build third_party/libwebrtc/rtc_base/win/create_direct3d_device_gn/moz.build deleted file mode 100644 -index 93df4e562812..000000000000 +index 3545b382c70a..000000000000 --- third_party/libwebrtc/rtc_base/win/create_direct3d_device_gn/moz.build +++ /dev/null -@@ -1,86 +0,0 @@ +@@ -1,90 +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/. @@ -100591,16 +98788,19 @@ index 93df4e562812..000000000000 -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["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" -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 - -FINAL_LIBRARY = "xul" @@ -100634,6 +98834,7 @@ index 93df4e562812..000000000000 - - DEFINES["WEBRTC_ARCH_ARM64"] = True - DEFINES["WEBRTC_HAS_NEON"] = True +- DEFINES["__ARM_NEON__"] = "1" - -if CONFIG["TARGET_CPU"] == "x86": - @@ -100646,10 +98847,10 @@ index 93df4e562812..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 8fa6b23b483a..000000000000 +index dacdb75fa74c..000000000000 --- third_party/libwebrtc/rtc_base/win/get_activation_factory_gn/moz.build +++ /dev/null -@@ -1,86 +0,0 @@ +@@ -1,90 +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/. @@ -100683,16 +98884,19 @@ index 8fa6b23b483a..000000000000 -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["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" -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 - -FINAL_LIBRARY = "xul" @@ -100726,6 +98930,7 @@ index 8fa6b23b483a..000000000000 - - DEFINES["WEBRTC_ARCH_ARM64"] = True - DEFINES["WEBRTC_HAS_NEON"] = True +- DEFINES["__ARM_NEON__"] = "1" - -if CONFIG["TARGET_CPU"] == "x86": - @@ -100738,10 +98943,10 @@ index 8fa6b23b483a..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 5578d95daeba..000000000000 +index ef21e7534671..000000000000 --- third_party/libwebrtc/rtc_base/win/hstring_gn/moz.build +++ /dev/null -@@ -1,86 +0,0 @@ +@@ -1,90 +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/. @@ -100775,16 +98980,19 @@ index 5578d95daeba..000000000000 -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["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" -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 - -FINAL_LIBRARY = "xul" @@ -100818,6 +99026,7 @@ index 5578d95daeba..000000000000 - - DEFINES["WEBRTC_ARCH_ARM64"] = True - DEFINES["WEBRTC_HAS_NEON"] = True +- DEFINES["__ARM_NEON__"] = "1" - -if CONFIG["TARGET_CPU"] == "x86": - @@ -100830,10 +99039,10 @@ index 5578d95daeba..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 8875633ae5e1..000000000000 +index 25d37b3b427b..000000000000 --- third_party/libwebrtc/rtc_base/win/windows_version_gn/moz.build +++ /dev/null -@@ -1,86 +0,0 @@ +@@ -1,90 +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/. @@ -100867,16 +99076,19 @@ index 8875633ae5e1..000000000000 -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["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" -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 - -FINAL_LIBRARY = "xul" @@ -100910,6 +99122,7 @@ index 8875633ae5e1..000000000000 - - DEFINES["WEBRTC_ARCH_ARM64"] = True - DEFINES["WEBRTC_HAS_NEON"] = True +- DEFINES["__ARM_NEON__"] = "1" - -if CONFIG["TARGET_CPU"] == "x86": - @@ -100922,10 +99135,10 @@ index 8875633ae5e1..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 cbdb0a0a3d14..000000000000 +index c05055e62909..000000000000 --- third_party/libwebrtc/rtc_base/win32_gn/moz.build +++ /dev/null -@@ -1,93 +0,0 @@ +@@ -1,97 +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/. @@ -100960,16 +99173,19 @@ index cbdb0a0a3d14..000000000000 -DEFINES["WINVER"] = "0x0A00" -DEFINES["_ATL_NO_OPENGL"] = True -DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = 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["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" -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 - -FINAL_LIBRARY = "xul" @@ -101009,6 +99225,7 @@ index cbdb0a0a3d14..000000000000 - - DEFINES["WEBRTC_ARCH_ARM64"] = True - DEFINES["WEBRTC_HAS_NEON"] = True +- DEFINES["__ARM_NEON__"] = "1" - -if CONFIG["TARGET_CPU"] == "x86": - @@ -101020,10 +99237,10 @@ index cbdb0a0a3d14..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 7c022b4d3b00..c5aebb895490 100644 +index 587a67e5a35b..1b4dbb63092c 100644 --- third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build +++ third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -101039,12 +99256,13 @@ index 7c022b4d3b00..c5aebb895490 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -101052,13 +99270,14 @@ index 7c022b4d3b00..c5aebb895490 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -101070,8 +99289,6 @@ index 7c022b4d3b00..c5aebb895490 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -101079,12 +99296,12 @@ index 7c022b4d3b00..c5aebb895490 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -101094,7 +99311,6 @@ index 7c022b4d3b00..c5aebb895490 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -101118,6 +99334,7 @@ index 7c022b4d3b00..c5aebb895490 100644 - 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 @@ -101128,13 +99345,15 @@ index 7c022b4d3b00..c5aebb895490 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -101152,12 +99371,14 @@ index 7c022b4d3b00..c5aebb895490 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -101188,16 +99409,6 @@ index 7c022b4d3b00..c5aebb895490 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -101206,33 +99417,35 @@ index 7c022b4d3b00..c5aebb895490 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("zero_memory_gn") diff --git third_party/libwebrtc/sdk/base_objc_gn/moz.build third_party/libwebrtc/sdk/base_objc_gn/moz.build deleted file mode 100644 -index b717f3d73aea..000000000000 +index 1cd5885b8d54..000000000000 --- third_party/libwebrtc/sdk/base_objc_gn/moz.build +++ /dev/null @@ -1,81 +0,0 @@ @@ -101266,8 +99479,7 @@ index b717f3d73aea..000000000000 -DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" -DEFINES["WEBRTC_POSIX"] = True -DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" --DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True --DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" +-DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" -DEFINES["__STDC_CONSTANT_MACROS"] = True -DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -101311,6 +99523,7 @@ index b717f3d73aea..000000000000 - - DEFINES["WEBRTC_ARCH_ARM64"] = True - DEFINES["WEBRTC_HAS_NEON"] = True +- DEFINES["__ARM_NEON__"] = "1" - -if CONFIG["TARGET_CPU"] == "x86_64": - @@ -101319,7 +99532,7 @@ index b717f3d73aea..000000000000 -Library("base_objc_gn") diff --git third_party/libwebrtc/sdk/helpers_objc_gn/moz.build third_party/libwebrtc/sdk/helpers_objc_gn/moz.build deleted file mode 100644 -index 50505e56c2d0..000000000000 +index a844f7b82ce7..000000000000 --- third_party/libwebrtc/sdk/helpers_objc_gn/moz.build +++ /dev/null @@ -1,76 +0,0 @@ @@ -101353,8 +99566,7 @@ index 50505e56c2d0..000000000000 -DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" -DEFINES["WEBRTC_POSIX"] = True -DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" --DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True --DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" +-DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" -DEFINES["__STDC_CONSTANT_MACROS"] = True -DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -101393,6 +99605,7 @@ index 50505e56c2d0..000000000000 - - DEFINES["WEBRTC_ARCH_ARM64"] = True - DEFINES["WEBRTC_HAS_NEON"] = True +- DEFINES["__ARM_NEON__"] = "1" - -if CONFIG["TARGET_CPU"] == "x86_64": - @@ -101401,7 +99614,7 @@ index 50505e56c2d0..000000000000 -Library("helpers_objc_gn") diff --git third_party/libwebrtc/sdk/videocapture_objc_gn/moz.build third_party/libwebrtc/sdk/videocapture_objc_gn/moz.build deleted file mode 100644 -index 178d8f87063a..000000000000 +index dd3d878fe24f..000000000000 --- third_party/libwebrtc/sdk/videocapture_objc_gn/moz.build +++ /dev/null @@ -1,71 +0,0 @@ @@ -101431,8 +99644,7 @@ index 178d8f87063a..000000000000 -DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" -DEFINES["WEBRTC_POSIX"] = True -DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" --DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True --DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" +-DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" -DEFINES["__STDC_CONSTANT_MACROS"] = True -DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -101470,6 +99682,7 @@ index 178d8f87063a..000000000000 - - DEFINES["WEBRTC_ARCH_ARM64"] = True - DEFINES["WEBRTC_HAS_NEON"] = True +- DEFINES["__ARM_NEON__"] = "1" - -if CONFIG["TARGET_CPU"] == "x86_64": - @@ -101478,7 +99691,7 @@ index 178d8f87063a..000000000000 -Library("videocapture_objc_gn") diff --git third_party/libwebrtc/sdk/videoframebuffer_objc_gn/moz.build third_party/libwebrtc/sdk/videoframebuffer_objc_gn/moz.build deleted file mode 100644 -index 8c659d55bf23..000000000000 +index 1ebf3e72b917..000000000000 --- third_party/libwebrtc/sdk/videoframebuffer_objc_gn/moz.build +++ /dev/null @@ -1,74 +0,0 @@ @@ -101508,8 +99721,7 @@ index 8c659d55bf23..000000000000 -DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" -DEFINES["WEBRTC_POSIX"] = True -DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" --DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True --DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" +-DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" -DEFINES["__STDC_CONSTANT_MACROS"] = True -DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -101550,6 +99762,7 @@ index 8c659d55bf23..000000000000 - - DEFINES["WEBRTC_ARCH_ARM64"] = True - DEFINES["WEBRTC_HAS_NEON"] = True +- DEFINES["__ARM_NEON__"] = "1" - -if CONFIG["TARGET_CPU"] == "x86_64": - @@ -101557,10 +99770,10 @@ index 8c659d55bf23..000000000000 - -Library("videoframebuffer_objc_gn") diff --git third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build -index 8e69f1bd487a..10ca6bd2865c 100644 +index c0b423389d69..cbca359509c1 100644 --- third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build +++ third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -101576,12 +99789,13 @@ index 8e69f1bd487a..10ca6bd2865c 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -101589,13 +99803,14 @@ index 8e69f1bd487a..10ca6bd2865c 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -101607,8 +99822,6 @@ index 8e69f1bd487a..10ca6bd2865c 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -101616,12 +99829,12 @@ index 8e69f1bd487a..10ca6bd2865c 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -101631,7 +99844,6 @@ index 8e69f1bd487a..10ca6bd2865c 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -101655,6 +99867,7 @@ index 8e69f1bd487a..10ca6bd2865c 100644 - 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 @@ -101665,13 +99878,15 @@ index 8e69f1bd487a..10ca6bd2865c 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -101689,12 +99904,14 @@ index 8e69f1bd487a..10ca6bd2865c 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -101725,16 +99942,6 @@ index 8e69f1bd487a..10ca6bd2865c 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -101743,35 +99950,37 @@ index 8e69f1bd487a..10ca6bd2865c 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ 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 2c1b80184520..2982fabad79a 100644 +index e0f452cafa1e..7b851e0a32a5 100644 --- third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build +++ third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -101787,12 +99996,13 @@ index 2c1b80184520..2982fabad79a 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -101800,13 +100010,14 @@ index 2c1b80184520..2982fabad79a 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -101818,8 +100029,6 @@ index 2c1b80184520..2982fabad79a 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -101827,12 +100036,12 @@ index 2c1b80184520..2982fabad79a 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -101842,7 +100051,6 @@ index 2c1b80184520..2982fabad79a 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -101866,6 +100074,7 @@ index 2c1b80184520..2982fabad79a 100644 - 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 @@ -101876,6 +100085,7 @@ index 2c1b80184520..2982fabad79a 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -101888,8 +100098,9 @@ index 2c1b80184520..2982fabad79a 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -101907,12 +100118,14 @@ index 2c1b80184520..2982fabad79a 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -101943,16 +100156,6 @@ index 2c1b80184520..2982fabad79a 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -101961,35 +100164,37 @@ index 2c1b80184520..2982fabad79a 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("field_trial_gn") diff --git third_party/libwebrtc/system_wrappers/metrics_gn/moz.build third_party/libwebrtc/system_wrappers/metrics_gn/moz.build -index 77e78153ea35..ad2149b736c2 100644 +index 2312db610256..5b93c9b5906c 100644 --- third_party/libwebrtc/system_wrappers/metrics_gn/moz.build +++ third_party/libwebrtc/system_wrappers/metrics_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -102005,12 +100210,13 @@ index 77e78153ea35..ad2149b736c2 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -102018,13 +100224,14 @@ index 77e78153ea35..ad2149b736c2 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -102036,8 +100243,6 @@ index 77e78153ea35..ad2149b736c2 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -102045,12 +100250,12 @@ index 77e78153ea35..ad2149b736c2 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -102060,7 +100265,6 @@ index 77e78153ea35..ad2149b736c2 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -102084,6 +100288,7 @@ index 77e78153ea35..ad2149b736c2 100644 - 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 @@ -102094,13 +100299,15 @@ index 77e78153ea35..ad2149b736c2 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -102118,12 +100325,14 @@ index 77e78153ea35..ad2149b736c2 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -102154,16 +100363,6 @@ index 77e78153ea35..ad2149b736c2 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -102172,35 +100371,37 @@ index 77e78153ea35..ad2149b736c2 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("metrics_gn") diff --git third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build -index 639e627348c4..e0895664e27d 100644 +index 9c1d25e913dc..31ae9d0c3730 100644 --- third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build +++ third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -102216,12 +100417,13 @@ index 639e627348c4..e0895664e27d 100644 +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" -@@ -48,200 +57,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -49,108 +58,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -102229,13 +100431,14 @@ index 639e627348c4..e0895664e27d 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -102253,8 +100456,6 @@ index 639e627348c4..e0895664e27d 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -102262,12 +100463,12 @@ index 639e627348c4..e0895664e27d 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -102285,7 +100486,6 @@ index 639e627348c4..e0895664e27d 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -102309,6 +100509,7 @@ index 639e627348c4..e0895664e27d 100644 - 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 @@ -102319,6 +100520,7 @@ index 639e627348c4..e0895664e27d 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -102331,8 +100533,9 @@ index 639e627348c4..e0895664e27d 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -158,88 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -102350,12 +100553,14 @@ index 639e627348c4..e0895664e27d 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -102386,16 +100591,6 @@ index 639e627348c4..e0895664e27d 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -102404,35 +100599,37 @@ index 639e627348c4..e0895664e27d 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("system_wrappers_gn") diff --git third_party/libwebrtc/test/rtp_test_utils_gn/moz.build third_party/libwebrtc/test/rtp_test_utils_gn/moz.build -index 2d610fe2fe88..e290a713c076 100644 +index 61d910096d28..c360ed11a615 100644 --- third_party/libwebrtc/test/rtp_test_utils_gn/moz.build +++ third_party/libwebrtc/test/rtp_test_utils_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -102448,12 +100645,13 @@ index 2d610fe2fe88..e290a713c076 100644 +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" -@@ -40,124 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,99 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -102461,13 +100659,14 @@ index 2d610fe2fe88..e290a713c076 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -102480,8 +100679,6 @@ index 2d610fe2fe88..e290a713c076 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -102489,12 +100686,12 @@ index 2d610fe2fe88..e290a713c076 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -102508,7 +100705,6 @@ index 2d610fe2fe88..e290a713c076 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -102532,6 +100728,7 @@ index 2d610fe2fe88..e290a713c076 100644 - 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 @@ -102542,6 +100739,7 @@ index 2d610fe2fe88..e290a713c076 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -102554,8 +100752,9 @@ index 2d610fe2fe88..e290a713c076 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -141,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -102569,17 +100768,19 @@ index 2d610fe2fe88..e290a713c076 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -167,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -171,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -102603,39 +100804,32 @@ index 2d610fe2fe88..e290a713c076 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("rtp_test_utils_gn") diff --git third_party/libwebrtc/third_party/crc32c/crc32c_arm64_gn/moz.build third_party/libwebrtc/third_party/crc32c/crc32c_arm64_gn/moz.build -index d98bce783d99..8f144a997544 100644 +index 6cb6c4e4d738..ffbf2a8c220e 100644 --- third_party/libwebrtc/third_party/crc32c/crc32c_arm64_gn/moz.build +++ third_party/libwebrtc/third_party/crc32c/crc32c_arm64_gn/moz.build -@@ -14,6 +14,15 @@ DEFINES["CRC32C_TESTS_BUILT_WITH_GLOG"] = "0" +@@ -14,7 +14,16 @@ DEFINES["CRC32C_TESTS_BUILT_WITH_GLOG"] = "0" DEFINES["HAVE_ARM64_CRC32C"] = "0" DEFINES["HAVE_BUILTIN_PREFETCH"] = "1" DEFINES["HAVE_SSE42"] = "0" @@ -102646,12 +100840,13 @@ index d98bce783d99..8f144a997544 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -41,107 +50,23 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -42,110 +51,24 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -102659,11 +100854,12 @@ index d98bce783d99..8f144a997544 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" - DEFINES["HAVE_STRONG_GETAUXVAL"] = "1" - DEFINES["HAVE_SYS_UIO_H"] = True - DEFINES["HAVE_WEAK_GETAUXVAL"] = "1" - DEFINES["_GNU_SOURCE"] = True +- DEFINES["__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__"] = True - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -102671,8 +100867,6 @@ index d98bce783d99..8f144a997544 100644 - - DEFINES["HAVE_STRONG_GETAUXVAL"] = "0" - DEFINES["HAVE_WEAK_GETAUXVAL"] = "0" -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -102682,10 +100876,10 @@ index d98bce783d99..8f144a997544 100644 - DEFINES["HAVE_WEAK_GETAUXVAL"] = "1" - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -102697,7 +100891,6 @@ index d98bce783d99..8f144a997544 100644 - DEFINES["HAVE_WEAK_GETAUXVAL"] = "0" - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["_FILE_OFFSET_BITS"] = "64" - DEFINES["_LARGEFILE64_SOURCE"] = True - DEFINES["_LARGEFILE_SOURCE"] = True @@ -102719,6 +100912,7 @@ index d98bce783d99..8f144a997544 100644 - 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" @@ -102728,12 +100922,14 @@ index d98bce783d99..8f144a997544 100644 - 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["HAVE_MM_PREFETCH"] = "0" + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -102750,17 +100946,19 @@ index d98bce783d99..8f144a997544 100644 if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["HAVE_MM_PREFETCH"] = "0" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "mips64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["HAVE_MM_PREFETCH"] = "0" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "ppc64": -@@ -153,66 +78,18 @@ if CONFIG["TARGET_CPU"] == "riscv64": +@@ -157,60 +80,14 @@ if CONFIG["TARGET_CPU"] == "riscv64": if CONFIG["TARGET_CPU"] == "x86": @@ -102790,53 +100988,45 @@ index d98bce783d99..8f144a997544 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- OS_LIBS += [ -- "unwind" +- CXXFLAGS += [ +- "-msse2" - ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": -- - CXXFLAGS += [ - "-msse2" - ] - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["HAVE_MM_PREFETCH"] = "1" - -- CXXFLAGS += [ -- "-msse2" -- ] -+if CONFIG["TARGET_CPU"] == "x86_64": +- + CXXFLAGS += [ + "-msse2" + ] +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["HAVE_MM_PREFETCH"] = "1" -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["HAVE_MM_PREFETCH"] = "1" Library("crc32c_arm64_gn") diff --git third_party/libwebrtc/third_party/crc32c/crc32c_gn/moz.build third_party/libwebrtc/third_party/crc32c/crc32c_gn/moz.build -index 54cb56e40a71..ea59cd60aa8b 100644 +index d710498a3b2a..97bef2d090d3 100644 --- third_party/libwebrtc/third_party/crc32c/crc32c_gn/moz.build +++ third_party/libwebrtc/third_party/crc32c/crc32c_gn/moz.build -@@ -14,6 +14,15 @@ DEFINES["CRC32C_TESTS_BUILT_WITH_GLOG"] = "0" +@@ -14,7 +14,16 @@ DEFINES["CRC32C_TESTS_BUILT_WITH_GLOG"] = "0" DEFINES["HAVE_ARM64_CRC32C"] = "0" DEFINES["HAVE_BUILTIN_PREFETCH"] = "1" DEFINES["HAVE_SSE42"] = "0" @@ -102847,12 +101037,13 @@ index 54cb56e40a71..ea59cd60aa8b 100644 +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" -@@ -42,107 +51,23 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,110 +52,24 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -102860,11 +101051,12 @@ index 54cb56e40a71..ea59cd60aa8b 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" - DEFINES["HAVE_STRONG_GETAUXVAL"] = "1" - DEFINES["HAVE_SYS_UIO_H"] = True - DEFINES["HAVE_WEAK_GETAUXVAL"] = "1" - DEFINES["_GNU_SOURCE"] = True +- DEFINES["__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__"] = True - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -102872,8 +101064,6 @@ index 54cb56e40a71..ea59cd60aa8b 100644 - - DEFINES["HAVE_STRONG_GETAUXVAL"] = "0" - DEFINES["HAVE_WEAK_GETAUXVAL"] = "0" -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -102883,10 +101073,10 @@ index 54cb56e40a71..ea59cd60aa8b 100644 - DEFINES["HAVE_WEAK_GETAUXVAL"] = "1" - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -102898,7 +101088,6 @@ index 54cb56e40a71..ea59cd60aa8b 100644 - DEFINES["HAVE_WEAK_GETAUXVAL"] = "0" - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["_FILE_OFFSET_BITS"] = "64" - DEFINES["_LARGEFILE64_SOURCE"] = True - DEFINES["_LARGEFILE_SOURCE"] = True @@ -102920,6 +101109,7 @@ index 54cb56e40a71..ea59cd60aa8b 100644 - 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" @@ -102929,12 +101119,14 @@ index 54cb56e40a71..ea59cd60aa8b 100644 - 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["HAVE_MM_PREFETCH"] = "0" + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -102951,17 +101143,19 @@ index 54cb56e40a71..ea59cd60aa8b 100644 if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["HAVE_MM_PREFETCH"] = "0" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "mips64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["HAVE_MM_PREFETCH"] = "0" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "ppc64": -@@ -154,66 +79,18 @@ if CONFIG["TARGET_CPU"] == "riscv64": +@@ -158,60 +81,14 @@ if CONFIG["TARGET_CPU"] == "riscv64": if CONFIG["TARGET_CPU"] == "x86": @@ -102991,53 +101185,45 @@ index 54cb56e40a71..ea59cd60aa8b 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- OS_LIBS += [ -- "unwind" +- CXXFLAGS += [ +- "-msse2" - ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": -- - CXXFLAGS += [ - "-msse2" - ] - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["HAVE_MM_PREFETCH"] = "1" - -- CXXFLAGS += [ -- "-msse2" -- ] -+if CONFIG["TARGET_CPU"] == "x86_64": +- + CXXFLAGS += [ + "-msse2" + ] +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["HAVE_MM_PREFETCH"] = "1" -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["HAVE_MM_PREFETCH"] = "1" Library("crc32c_gn") diff --git third_party/libwebrtc/third_party/crc32c/crc32c_internal_headers_gn/moz.build third_party/libwebrtc/third_party/crc32c/crc32c_internal_headers_gn/moz.build -index 80580f19b47c..f7a92bd53658 100644 +index 3392df8376ac..4f3a92770b9f 100644 --- third_party/libwebrtc/third_party/crc32c/crc32c_internal_headers_gn/moz.build +++ third_party/libwebrtc/third_party/crc32c/crc32c_internal_headers_gn/moz.build -@@ -9,6 +9,14 @@ +@@ -9,7 +9,14 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] AllowCompilerWarnings() @@ -103046,13 +101232,13 @@ index 80580f19b47c..f7a92bd53658 100644 +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" + FINAL_LIBRARY = "xul" -@@ -29,127 +37,10 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -31,127 +38,10 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -103060,16 +101246,15 @@ index 80580f19b47c..f7a92bd53658 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -103077,10 +101262,10 @@ index 80580f19b47c..f7a92bd53658 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -103090,7 +101275,6 @@ index 80580f19b47c..f7a92bd53658 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["_FILE_OFFSET_BITS"] = "64" - DEFINES["_LARGEFILE64_SOURCE"] = True - DEFINES["_LARGEFILE_SOURCE"] = True @@ -103110,6 +101294,7 @@ index 80580f19b47c..f7a92bd53658 100644 - 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" @@ -103119,24 +101304,32 @@ index 80580f19b47c..f7a92bd53658 100644 - 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["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_DEBUG"] = True - +- DEFINES["_DEBUG"] = True +- -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_DEBUG"] = True @@ -103153,39 +101346,32 @@ index 80580f19b47c..f7a92bd53658 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("crc32c_internal_headers_gn") diff --git third_party/libwebrtc/third_party/crc32c/crc32c_sse42_gn/moz.build third_party/libwebrtc/third_party/crc32c/crc32c_sse42_gn/moz.build -index d06b3dade25e..4208f752cbc2 100644 +index 6ac498db8318..bf8169323753 100644 --- third_party/libwebrtc/third_party/crc32c/crc32c_sse42_gn/moz.build +++ third_party/libwebrtc/third_party/crc32c/crc32c_sse42_gn/moz.build -@@ -14,6 +14,15 @@ DEFINES["CRC32C_TESTS_BUILT_WITH_GLOG"] = "0" +@@ -14,7 +14,16 @@ DEFINES["CRC32C_TESTS_BUILT_WITH_GLOG"] = "0" DEFINES["HAVE_ARM64_CRC32C"] = "0" DEFINES["HAVE_BUILTIN_PREFETCH"] = "1" DEFINES["HAVE_SSE42"] = "0" @@ -103196,12 +101382,13 @@ index d06b3dade25e..4208f752cbc2 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -41,107 +50,23 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -42,110 +51,24 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -103209,11 +101396,12 @@ index d06b3dade25e..4208f752cbc2 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" - DEFINES["HAVE_STRONG_GETAUXVAL"] = "1" - DEFINES["HAVE_SYS_UIO_H"] = True - DEFINES["HAVE_WEAK_GETAUXVAL"] = "1" - DEFINES["_GNU_SOURCE"] = True +- DEFINES["__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__"] = True - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -103221,8 +101409,6 @@ index d06b3dade25e..4208f752cbc2 100644 - - DEFINES["HAVE_STRONG_GETAUXVAL"] = "0" - DEFINES["HAVE_WEAK_GETAUXVAL"] = "0" -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -103232,10 +101418,10 @@ index d06b3dade25e..4208f752cbc2 100644 - DEFINES["HAVE_WEAK_GETAUXVAL"] = "1" - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -103247,7 +101433,6 @@ index d06b3dade25e..4208f752cbc2 100644 - DEFINES["HAVE_WEAK_GETAUXVAL"] = "0" - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["_FILE_OFFSET_BITS"] = "64" - DEFINES["_LARGEFILE64_SOURCE"] = True - DEFINES["_LARGEFILE_SOURCE"] = True @@ -103269,6 +101454,7 @@ index d06b3dade25e..4208f752cbc2 100644 - 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" @@ -103278,12 +101464,14 @@ index d06b3dade25e..4208f752cbc2 100644 - 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["HAVE_MM_PREFETCH"] = "0" + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -103300,17 +101488,19 @@ index d06b3dade25e..4208f752cbc2 100644 if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["HAVE_MM_PREFETCH"] = "0" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "mips64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["HAVE_MM_PREFETCH"] = "0" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "ppc64": -@@ -153,66 +78,18 @@ if CONFIG["TARGET_CPU"] == "riscv64": +@@ -157,60 +80,14 @@ if CONFIG["TARGET_CPU"] == "riscv64": if CONFIG["TARGET_CPU"] == "x86": @@ -103340,53 +101530,45 @@ index d06b3dade25e..4208f752cbc2 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- OS_LIBS += [ -- "unwind" +- CXXFLAGS += [ +- "-msse2" - ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": -- - CXXFLAGS += [ - "-msse2" - ] - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["HAVE_MM_PREFETCH"] = "1" - -- CXXFLAGS += [ -- "-msse2" -- ] -+if CONFIG["TARGET_CPU"] == "x86_64": +- + CXXFLAGS += [ + "-msse2" + ] +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["HAVE_MM_PREFETCH"] = "1" -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["HAVE_MM_PREFETCH"] = "1" Library("crc32c_sse42_gn") diff --git third_party/libwebrtc/third_party/dav1d/dav1d_gn/moz.build third_party/libwebrtc/third_party/dav1d/dav1d_gn/moz.build -index 1bfed617a6fe..806fe6e74dc3 100644 +index 2cac64c62eeb..00562bdd7670 100644 --- third_party/libwebrtc/third_party/dav1d/dav1d_gn/moz.build +++ third_party/libwebrtc/third_party/dav1d/dav1d_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -103402,12 +101584,13 @@ index 1bfed617a6fe..806fe6e74dc3 100644 +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" -@@ -42,108 +51,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -103415,13 +101598,14 @@ index 1bfed617a6fe..806fe6e74dc3 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -103429,8 +101613,6 @@ index 1bfed617a6fe..806fe6e74dc3 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -103438,12 +101620,12 @@ index 1bfed617a6fe..806fe6e74dc3 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -103453,7 +101635,6 @@ index 1bfed617a6fe..806fe6e74dc3 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -103477,6 +101658,7 @@ index 1bfed617a6fe..806fe6e74dc3 100644 - 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 @@ -103487,13 +101669,15 @@ index 1bfed617a6fe..806fe6e74dc3 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -127,27 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -103507,17 +101691,19 @@ index 1bfed617a6fe..806fe6e74dc3 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -153,50 +71,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -157,44 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -103541,39 +101727,32 @@ index 1bfed617a6fe..806fe6e74dc3 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("dav1d_gn") diff --git third_party/libwebrtc/third_party/libaom/libaom_gn/moz.build third_party/libwebrtc/third_party/libaom/libaom_gn/moz.build -index 829835d9d69d..f861dd357a02 100644 +index 41198aee8398..13fa2e513f9e 100644 --- third_party/libwebrtc/third_party/libaom/libaom_gn/moz.build +++ third_party/libwebrtc/third_party/libaom/libaom_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -103589,12 +101768,13 @@ index 829835d9d69d..f861dd357a02 100644 +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" -@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -103602,13 +101782,14 @@ index 829835d9d69d..f861dd357a02 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -103616,8 +101797,6 @@ index 829835d9d69d..f861dd357a02 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -103625,12 +101804,12 @@ index 829835d9d69d..f861dd357a02 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -103640,7 +101819,6 @@ index 829835d9d69d..f861dd357a02 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -103664,6 +101842,7 @@ index 829835d9d69d..f861dd357a02 100644 - 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 @@ -103674,13 +101853,15 @@ index 829835d9d69d..f861dd357a02 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -103694,17 +101875,19 @@ index 829835d9d69d..f861dd357a02 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -103728,45 +101911,41 @@ index 829835d9d69d..f861dd357a02 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("aom_gn") diff --git third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build -index 8d148b20dc0d..6ae76c818471 100644 +index b3e66d0ace2d..68d6b58f56c9 100644 --- third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build +++ third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build -@@ -13,20 +13,16 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -10,24 +10,19 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] + AllowCompilerWarnings() + + DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +-DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True -DEFINES["USE_AURA"] = "1" DEFINES["USE_GLIB"] = "1" --DEFINES["USE_NSS_CERTS"] = "1" DEFINES["USE_OZONE"] = "1" -DEFINES["USE_UDEV"] = True +DEFINES["WEBRTC_BSD"] = True @@ -103778,13 +101957,14 @@ index 8d148b20dc0d..6ae76c818471 100644 DEFINES["WEBRTC_POSIX"] = True DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" DEFINES["_FILE_OFFSET_BITS"] = "64" +-DEFINES["_GLIBCXX_ASSERTIONS"] = "1" -DEFINES["_GNU_SOURCE"] = True DEFINES["_LARGEFILE64_SOURCE"] = True DEFINES["_LARGEFILE_SOURCE"] = True - DEFINES["__STDC_CONSTANT_MACROS"] = True -@@ -62,12 +58,6 @@ if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +@@ -65,12 +60,6 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -103795,20 +101975,11 @@ index 8d148b20dc0d..6ae76c818471 100644 if CONFIG["TARGET_CPU"] == "mips32": DEFINES["MIPS32_LE"] = True -@@ -81,7 +71,7 @@ if CONFIG["TARGET_CPU"] == "x86_64": - - DEFINES["WEBRTC_ENABLE_AVX2"] = True - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - diff --git third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build -index 9f0e46f16702..6545a40c6ef1 100644 +index 536014f61691..45bf8033ce45 100644 --- third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build +++ third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -103824,12 +101995,13 @@ index 9f0e46f16702..6545a40c6ef1 100644 +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" -@@ -42,108 +51,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -103837,13 +102009,14 @@ index 9f0e46f16702..6545a40c6ef1 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -103851,8 +102024,6 @@ index 9f0e46f16702..6545a40c6ef1 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -103860,12 +102031,12 @@ index 9f0e46f16702..6545a40c6ef1 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -103875,7 +102046,6 @@ index 9f0e46f16702..6545a40c6ef1 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -103899,6 +102069,7 @@ index 9f0e46f16702..6545a40c6ef1 100644 - 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 @@ -103909,13 +102080,15 @@ index 9f0e46f16702..6545a40c6ef1 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -127,27 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -103929,17 +102102,19 @@ index 9f0e46f16702..6545a40c6ef1 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -153,50 +71,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -157,44 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -103963,39 +102138,32 @@ index 9f0e46f16702..6545a40c6ef1 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("yuv_gn") diff --git third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build -index dc7c06ffc21f..1617e9c2e1bb 100644 +index 14fb0ff89ec7..e555f3c40b9a 100644 --- third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build +++ third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build -@@ -9,6 +9,14 @@ +@@ -9,7 +9,14 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] AllowCompilerWarnings() @@ -104004,13 +102172,13 @@ index dc7c06ffc21f..1617e9c2e1bb 100644 +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" + FINAL_LIBRARY = "xul" -@@ -33,92 +41,19 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -35,98 +42,23 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -104018,16 +102186,15 @@ index dc7c06ffc21f..1617e9c2e1bb 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -104035,10 +102202,10 @@ index dc7c06ffc21f..1617e9c2e1bb 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -104048,7 +102215,6 @@ index dc7c06ffc21f..1617e9c2e1bb 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["_FILE_OFFSET_BITS"] = "64" - DEFINES["_LARGEFILE64_SOURCE"] = True - DEFINES["_LARGEFILE_SOURCE"] = True @@ -104068,6 +102234,7 @@ index dc7c06ffc21f..1617e9c2e1bb 100644 - 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" @@ -104078,15 +102245,20 @@ index dc7c06ffc21f..1617e9c2e1bb 100644 - DEFINES["_USE_MATH_DEFINES"] = 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"] == "arm": - - CFLAGS += [ - "-mfpu=neon" - ] -+ DEFINES["_DEBUG"] = True - +- if CONFIG["TARGET_CPU"] == "loongarch64": DEFINES["PFFFT_SIMD_DISABLE"] = True @@ -104094,17 +102266,19 @@ index dc7c06ffc21f..1617e9c2e1bb 100644 if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["PFFFT_SIMD_DISABLE"] = True - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "mips64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["PFFFT_SIMD_DISABLE"] = True - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "ppc64": -@@ -128,60 +63,14 @@ if CONFIG["TARGET_CPU"] == "riscv64": +@@ -136,54 +68,10 @@ if CONFIG["TARGET_CPU"] == "riscv64": DEFINES["PFFFT_SIMD_DISABLE"] = True @@ -104128,51 +102302,43 @@ index dc7c06ffc21f..1617e9c2e1bb 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- OS_LIBS += [ -- "unwind" +- CFLAGS += [ +- "-msse2" - ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": -+if CONFIG["TARGET_CPU"] == "x86": - - CFLAGS += [ - "-msse2" - ] - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -- -- CFLAGS += [ -- "-msse2" -- ] -- ++if CONFIG["TARGET_CPU"] == "x86": + + CFLAGS += [ + "-msse2" + ] + +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" - +- Library("pffft_gn") diff --git third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build -index 2dfd79a68cf7..3703f7ef3366 100644 +index 6a84a470be08..9e8381b9766a 100644 --- third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build +++ third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build -@@ -9,6 +9,14 @@ +@@ -9,7 +9,14 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] AllowCompilerWarnings() @@ -104181,13 +102347,13 @@ index 2dfd79a68cf7..3703f7ef3366 100644 +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" + FINAL_LIBRARY = "xul" -@@ -33,143 +41,16 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -35,143 +42,16 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -104195,16 +102361,15 @@ index 2dfd79a68cf7..3703f7ef3366 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -104212,10 +102377,10 @@ index 2dfd79a68cf7..3703f7ef3366 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -104225,7 +102390,6 @@ index 2dfd79a68cf7..3703f7ef3366 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["_FILE_OFFSET_BITS"] = "64" - DEFINES["_LARGEFILE64_SOURCE"] = True - DEFINES["_LARGEFILE_SOURCE"] = True @@ -104245,6 +102409,7 @@ index 2dfd79a68cf7..3703f7ef3366 100644 - 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" @@ -104254,8 +102419,14 @@ index 2dfd79a68cf7..3703f7ef3366 100644 - 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"] == "arm": - - CXXFLAGS += [ @@ -104268,10 +102439,12 @@ index 2dfd79a68cf7..3703f7ef3366 100644 - -if CONFIG["TARGET_CPU"] == "mips32": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": @@ -104280,8 +102453,8 @@ index 2dfd79a68cf7..3703f7ef3366 100644 - -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["_DEBUG"] = True - +- DEFINES["_DEBUG"] = True +- -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_DEBUG"] = True @@ -104294,51 +102467,43 @@ index 2dfd79a68cf7..3703f7ef3366 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": -- -- CXXFLAGS += [ -- "-msse2" -- ] -- ++if CONFIG["TARGET_CPU"] == "x86": + + CXXFLAGS += [ + "-msse2" + ] + -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+if CONFIG["TARGET_CPU"] == "x86": - - CXXFLAGS += [ - "-msse2" - ] - +- +- CXXFLAGS += [ +- "-msse2" +- ] +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" - +- 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 2c62e9cbe092..d82fa66a2945 100644 +index 2b14ee7b661b..37572aeea1ca 100644 --- third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build +++ third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -104354,12 +102519,13 @@ index 2c62e9cbe092..d82fa66a2945 100644 +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" -@@ -52,191 +61,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -53,99 +62,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -104367,13 +102533,14 @@ index 2c62e9cbe092..d82fa66a2945 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -104386,8 +102553,6 @@ index 2c62e9cbe092..d82fa66a2945 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -104395,12 +102560,12 @@ index 2c62e9cbe092..d82fa66a2945 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -104414,7 +102579,6 @@ index 2c62e9cbe092..d82fa66a2945 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -104438,6 +102602,7 @@ index 2c62e9cbe092..d82fa66a2945 100644 - 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 @@ -104448,6 +102613,7 @@ index 2c62e9cbe092..d82fa66a2945 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -104460,8 +102626,9 @@ index 2c62e9cbe092..d82fa66a2945 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -153,88 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -104479,12 +102646,14 @@ index 2c62e9cbe092..d82fa66a2945 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -104515,16 +102684,6 @@ index 2c62e9cbe092..d82fa66a2945 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -104533,35 +102692,37 @@ index 2c62e9cbe092..d82fa66a2945 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("video_adaptation_gn") diff --git third_party/libwebrtc/video/config/encoder_config_gn/moz.build third_party/libwebrtc/video/config/encoder_config_gn/moz.build -index 467ca88046db..a7be3784a0df 100644 +index 0f17ba88a0f2..a9657598a267 100644 --- third_party/libwebrtc/video/config/encoder_config_gn/moz.build +++ third_party/libwebrtc/video/config/encoder_config_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -104577,12 +102738,13 @@ index 467ca88046db..a7be3784a0df 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -104590,13 +102752,14 @@ index 467ca88046db..a7be3784a0df 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -104608,8 +102771,6 @@ index 467ca88046db..a7be3784a0df 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -104617,12 +102778,12 @@ index 467ca88046db..a7be3784a0df 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -104636,7 +102797,6 @@ index 467ca88046db..a7be3784a0df 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -104660,6 +102820,7 @@ index 467ca88046db..a7be3784a0df 100644 - 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 @@ -104670,6 +102831,7 @@ index 467ca88046db..a7be3784a0df 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -104682,8 +102844,9 @@ index 467ca88046db..a7be3784a0df 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -104701,12 +102864,14 @@ index 467ca88046db..a7be3784a0df 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -104737,16 +102902,6 @@ index 467ca88046db..a7be3784a0df 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -104755,35 +102910,37 @@ index 467ca88046db..a7be3784a0df 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("encoder_config_gn") diff --git third_party/libwebrtc/video/config/streams_config_gn/moz.build third_party/libwebrtc/video/config/streams_config_gn/moz.build -index f8965ab6f5df..7981a149e1f0 100644 +index 6fbfd5fa2450..56061f5c1074 100644 --- third_party/libwebrtc/video/config/streams_config_gn/moz.build +++ third_party/libwebrtc/video/config/streams_config_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -104799,12 +102956,13 @@ index f8965ab6f5df..7981a149e1f0 100644 +DEFINES["_FILE_OFFSET_BITS"] = "64" +DEFINES["_LARGEFILE64_SOURCE"] = True +DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" +DEFINES["__STDC_CONSTANT_MACROS"] = True +DEFINES["__STDC_FORMAT_MACROS"] = True FINAL_LIBRARY = "xul" -@@ -45,191 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,99 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -104812,13 +102970,14 @@ index f8965ab6f5df..7981a149e1f0 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -104831,8 +102990,6 @@ index f8965ab6f5df..7981a149e1f0 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -104840,12 +102997,12 @@ index f8965ab6f5df..7981a149e1f0 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -104859,7 +103016,6 @@ index f8965ab6f5df..7981a149e1f0 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -104883,6 +103039,7 @@ index f8965ab6f5df..7981a149e1f0 100644 - 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 @@ -104893,6 +103050,7 @@ index f8965ab6f5df..7981a149e1f0 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -104905,8 +103063,9 @@ index f8965ab6f5df..7981a149e1f0 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -146,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -104924,12 +103083,14 @@ index f8965ab6f5df..7981a149e1f0 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -104960,16 +103121,6 @@ index f8965ab6f5df..7981a149e1f0 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -104978,35 +103129,37 @@ index f8965ab6f5df..7981a149e1f0 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("streams_config_gn") diff --git third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build -index 0e4f9c57e0ae..d6e888a454a7 100644 +index cb71ea3162f3..6041881ae0da 100644 --- third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build +++ third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -105022,12 +103175,13 @@ index 0e4f9c57e0ae..d6e888a454a7 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -105035,13 +103189,14 @@ index 0e4f9c57e0ae..d6e888a454a7 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -105053,8 +103208,6 @@ index 0e4f9c57e0ae..d6e888a454a7 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -105062,12 +103215,12 @@ index 0e4f9c57e0ae..d6e888a454a7 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -105077,7 +103230,6 @@ index 0e4f9c57e0ae..d6e888a454a7 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -105101,6 +103253,7 @@ index 0e4f9c57e0ae..d6e888a454a7 100644 - 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 @@ -105111,6 +103264,7 @@ index 0e4f9c57e0ae..d6e888a454a7 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -105123,8 +103277,9 @@ index 0e4f9c57e0ae..d6e888a454a7 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -105142,12 +103297,14 @@ index 0e4f9c57e0ae..d6e888a454a7 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -105178,16 +103335,6 @@ index 0e4f9c57e0ae..d6e888a454a7 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -105196,35 +103343,37 @@ index 0e4f9c57e0ae..d6e888a454a7 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("corruption_classifier_gn") diff --git third_party/libwebrtc/video/corruption_detection/frame_instrumentation_evaluation_gn/moz.build third_party/libwebrtc/video/corruption_detection/frame_instrumentation_evaluation_gn/moz.build -index 5f3217f3222e..610cdfe12383 100644 +index 4e4b2fb81439..9c8136f6e18e 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -105240,12 +103389,13 @@ index 5f3217f3222e..610cdfe12383 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -105253,13 +103403,14 @@ index 5f3217f3222e..610cdfe12383 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -105271,8 +103422,6 @@ index 5f3217f3222e..610cdfe12383 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -105280,12 +103429,12 @@ index 5f3217f3222e..610cdfe12383 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -105295,7 +103444,6 @@ index 5f3217f3222e..610cdfe12383 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -105319,6 +103467,7 @@ index 5f3217f3222e..610cdfe12383 100644 - 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 @@ -105329,6 +103478,7 @@ index 5f3217f3222e..610cdfe12383 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -105341,8 +103491,9 @@ index 5f3217f3222e..610cdfe12383 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -105360,12 +103511,14 @@ index 5f3217f3222e..610cdfe12383 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -105396,16 +103549,6 @@ index 5f3217f3222e..610cdfe12383 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -105414,35 +103557,37 @@ index 5f3217f3222e..610cdfe12383 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("frame_instrumentation_evaluation_gn") diff --git third_party/libwebrtc/video/corruption_detection/frame_instrumentation_generator_gn/moz.build third_party/libwebrtc/video/corruption_detection/frame_instrumentation_generator_gn/moz.build -index 9d03622daa05..81d9185c0a7d 100644 +index e4e084353f66..093bfee381e0 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -105458,12 +103603,13 @@ index 9d03622daa05..81d9185c0a7d 100644 +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" -@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -105471,13 +103617,14 @@ index 9d03622daa05..81d9185c0a7d 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -105490,8 +103637,6 @@ index 9d03622daa05..81d9185c0a7d 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -105499,12 +103644,12 @@ index 9d03622daa05..81d9185c0a7d 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -105518,7 +103663,6 @@ index 9d03622daa05..81d9185c0a7d 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -105542,6 +103686,7 @@ index 9d03622daa05..81d9185c0a7d 100644 - 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 @@ -105552,6 +103697,7 @@ index 9d03622daa05..81d9185c0a7d 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -105564,8 +103710,9 @@ index 9d03622daa05..81d9185c0a7d 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -105583,12 +103730,14 @@ index 9d03622daa05..81d9185c0a7d 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -105619,16 +103768,6 @@ index 9d03622daa05..81d9185c0a7d 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -105637,35 +103776,37 @@ index 9d03622daa05..81d9185c0a7d 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("frame_instrumentation_generator_gn") diff --git third_party/libwebrtc/video/corruption_detection/generic_mapping_functions_gn/moz.build third_party/libwebrtc/video/corruption_detection/generic_mapping_functions_gn/moz.build -index 1596769ef123..166e00c8e94b 100644 +index 3166f335baad..99950751b985 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -105681,12 +103822,13 @@ index 1596769ef123..166e00c8e94b 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -105694,13 +103836,14 @@ index 1596769ef123..166e00c8e94b 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -105712,8 +103855,6 @@ index 1596769ef123..166e00c8e94b 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -105721,12 +103862,12 @@ index 1596769ef123..166e00c8e94b 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -105740,7 +103881,6 @@ index 1596769ef123..166e00c8e94b 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -105764,6 +103904,7 @@ index 1596769ef123..166e00c8e94b 100644 - 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 @@ -105774,6 +103915,7 @@ index 1596769ef123..166e00c8e94b 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -105786,8 +103928,9 @@ index 1596769ef123..166e00c8e94b 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -105805,12 +103948,14 @@ index 1596769ef123..166e00c8e94b 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -105841,16 +103986,6 @@ index 1596769ef123..166e00c8e94b 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -105859,35 +103994,37 @@ index 1596769ef123..166e00c8e94b 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("generic_mapping_functions_gn") diff --git third_party/libwebrtc/video/corruption_detection/halton_frame_sampler_gn/moz.build third_party/libwebrtc/video/corruption_detection/halton_frame_sampler_gn/moz.build -index d1ea963e5731..336c6e382e2f 100644 +index ce51997c6aef..56a644377fec 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -105903,12 +104040,13 @@ index d1ea963e5731..336c6e382e2f 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -105916,13 +104054,14 @@ index d1ea963e5731..336c6e382e2f 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -105934,8 +104073,6 @@ index d1ea963e5731..336c6e382e2f 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -105943,12 +104080,12 @@ index d1ea963e5731..336c6e382e2f 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -105958,7 +104095,6 @@ index d1ea963e5731..336c6e382e2f 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -105982,6 +104118,7 @@ index d1ea963e5731..336c6e382e2f 100644 - 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 @@ -105992,6 +104129,7 @@ index d1ea963e5731..336c6e382e2f 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -106004,8 +104142,9 @@ index d1ea963e5731..336c6e382e2f 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -106023,12 +104162,14 @@ index d1ea963e5731..336c6e382e2f 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -106059,16 +104200,6 @@ index d1ea963e5731..336c6e382e2f 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -106077,35 +104208,37 @@ index d1ea963e5731..336c6e382e2f 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("halton_frame_sampler_gn") diff --git third_party/libwebrtc/video/corruption_detection/halton_sequence_gn/moz.build third_party/libwebrtc/video/corruption_detection/halton_sequence_gn/moz.build -index 2ca4023e96ed..ef1e0a772a9a 100644 +index e1cf49d269d1..b6cc380f5be9 100644 --- third_party/libwebrtc/video/corruption_detection/halton_sequence_gn/moz.build +++ third_party/libwebrtc/video/corruption_detection/halton_sequence_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -106121,12 +104254,13 @@ index 2ca4023e96ed..ef1e0a772a9a 100644 +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" -@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -106134,13 +104268,14 @@ index 2ca4023e96ed..ef1e0a772a9a 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -106152,8 +104287,6 @@ index 2ca4023e96ed..ef1e0a772a9a 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -106161,12 +104294,12 @@ index 2ca4023e96ed..ef1e0a772a9a 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -106176,7 +104309,6 @@ index 2ca4023e96ed..ef1e0a772a9a 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -106200,6 +104332,7 @@ index 2ca4023e96ed..ef1e0a772a9a 100644 - 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 @@ -106210,13 +104343,15 @@ index 2ca4023e96ed..ef1e0a772a9a 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -106234,12 +104369,14 @@ index 2ca4023e96ed..ef1e0a772a9a 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -106270,16 +104407,6 @@ index 2ca4023e96ed..ef1e0a772a9a 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -106288,35 +104415,37 @@ index 2ca4023e96ed..ef1e0a772a9a 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("halton_sequence_gn") diff --git third_party/libwebrtc/video/decode_synchronizer_gn/moz.build third_party/libwebrtc/video/decode_synchronizer_gn/moz.build -index 27a93ff88bdf..4cb2ebd4a0ea 100644 +index 8f5351f63b37..98805baaeda5 100644 --- third_party/libwebrtc/video/decode_synchronizer_gn/moz.build +++ third_party/libwebrtc/video/decode_synchronizer_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -106332,12 +104461,13 @@ index 27a93ff88bdf..4cb2ebd4a0ea 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -106345,13 +104475,14 @@ index 27a93ff88bdf..4cb2ebd4a0ea 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -106363,8 +104494,6 @@ index 27a93ff88bdf..4cb2ebd4a0ea 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -106372,12 +104501,12 @@ index 27a93ff88bdf..4cb2ebd4a0ea 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -106391,7 +104520,6 @@ index 27a93ff88bdf..4cb2ebd4a0ea 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -106415,6 +104543,7 @@ index 27a93ff88bdf..4cb2ebd4a0ea 100644 - 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 @@ -106425,6 +104554,7 @@ index 27a93ff88bdf..4cb2ebd4a0ea 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -106437,8 +104567,9 @@ index 27a93ff88bdf..4cb2ebd4a0ea 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -106456,12 +104587,14 @@ index 27a93ff88bdf..4cb2ebd4a0ea 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -106492,16 +104625,6 @@ index 27a93ff88bdf..4cb2ebd4a0ea 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -106510,35 +104633,37 @@ index 27a93ff88bdf..4cb2ebd4a0ea 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("decode_synchronizer_gn") diff --git third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build -index 6833cde2b29a..94ba7405ba0e 100644 +index cf963493df2e..2006f14005f5 100644 --- third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build +++ third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -106554,12 +104679,13 @@ index 6833cde2b29a..94ba7405ba0e 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -106567,13 +104693,14 @@ index 6833cde2b29a..94ba7405ba0e 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -106585,8 +104712,6 @@ index 6833cde2b29a..94ba7405ba0e 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -106594,12 +104719,12 @@ index 6833cde2b29a..94ba7405ba0e 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -106613,7 +104738,6 @@ index 6833cde2b29a..94ba7405ba0e 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -106637,6 +104761,7 @@ index 6833cde2b29a..94ba7405ba0e 100644 - 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 @@ -106647,6 +104772,7 @@ index 6833cde2b29a..94ba7405ba0e 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -106659,8 +104785,9 @@ index 6833cde2b29a..94ba7405ba0e 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -106678,12 +104805,14 @@ index 6833cde2b29a..94ba7405ba0e 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -106714,16 +104843,6 @@ index 6833cde2b29a..94ba7405ba0e 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -106732,35 +104851,37 @@ index 6833cde2b29a..94ba7405ba0e 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("frame_cadence_adapter_gn") diff --git third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build -index 492e8396d7f1..35c08dd6c9da 100644 +index b38d246cfe02..c63ff91c8847 100644 --- third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build +++ third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -106776,12 +104897,13 @@ index 492e8396d7f1..35c08dd6c9da 100644 +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" -@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -106789,13 +104911,14 @@ index 492e8396d7f1..35c08dd6c9da 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -106807,8 +104930,6 @@ index 492e8396d7f1..35c08dd6c9da 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -106816,12 +104937,12 @@ index 492e8396d7f1..35c08dd6c9da 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -106835,7 +104956,6 @@ index 492e8396d7f1..35c08dd6c9da 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -106859,6 +104979,7 @@ index 492e8396d7f1..35c08dd6c9da 100644 - 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 @@ -106869,6 +104990,7 @@ index 492e8396d7f1..35c08dd6c9da 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -106881,8 +105003,9 @@ index 492e8396d7f1..35c08dd6c9da 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -106896,17 +105019,19 @@ index 492e8396d7f1..35c08dd6c9da 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -106930,39 +105055,32 @@ index 492e8396d7f1..35c08dd6c9da 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("frame_decode_scheduler_gn") diff --git third_party/libwebrtc/video/frame_decode_timing_gn/moz.build third_party/libwebrtc/video/frame_decode_timing_gn/moz.build -index 58a909e8d4b0..f7d64ab60379 100644 +index 7443ba5facca..5de44ce10745 100644 --- third_party/libwebrtc/video/frame_decode_timing_gn/moz.build +++ third_party/libwebrtc/video/frame_decode_timing_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -106978,12 +105096,13 @@ index 58a909e8d4b0..f7d64ab60379 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -106991,13 +105110,14 @@ index 58a909e8d4b0..f7d64ab60379 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -107009,8 +105129,6 @@ index 58a909e8d4b0..f7d64ab60379 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -107018,12 +105136,12 @@ index 58a909e8d4b0..f7d64ab60379 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -107037,7 +105155,6 @@ index 58a909e8d4b0..f7d64ab60379 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -107061,6 +105178,7 @@ index 58a909e8d4b0..f7d64ab60379 100644 - 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 @@ -107071,6 +105189,7 @@ index 58a909e8d4b0..f7d64ab60379 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -107083,8 +105202,9 @@ index 58a909e8d4b0..f7d64ab60379 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -107102,12 +105222,14 @@ index 58a909e8d4b0..f7d64ab60379 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -107138,16 +105260,6 @@ index 58a909e8d4b0..f7d64ab60379 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -107156,35 +105268,37 @@ index 58a909e8d4b0..f7d64ab60379 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("frame_decode_timing_gn") diff --git third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build -index 2b688c034655..566b0c806c68 100644 +index 793305e6fc32..bfa58b1ab40f 100644 --- third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build +++ third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -107200,12 +105314,13 @@ index 2b688c034655..566b0c806c68 100644 +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" -@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -107213,13 +105328,14 @@ index 2b688c034655..566b0c806c68 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -107232,8 +105348,6 @@ index 2b688c034655..566b0c806c68 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -107241,12 +105355,12 @@ index 2b688c034655..566b0c806c68 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -107260,7 +105374,6 @@ index 2b688c034655..566b0c806c68 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -107284,6 +105397,7 @@ index 2b688c034655..566b0c806c68 100644 - 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 @@ -107294,6 +105408,7 @@ index 2b688c034655..566b0c806c68 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -107306,8 +105421,9 @@ index 2b688c034655..566b0c806c68 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -107325,12 +105441,14 @@ index 2b688c034655..566b0c806c68 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -107361,16 +105479,6 @@ index 2b688c034655..566b0c806c68 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -107379,35 +105487,37 @@ index 2b688c034655..566b0c806c68 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("frame_dumping_decoder_gn") diff --git third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build -index 7205ea8c1cf3..dd0edb14e927 100644 +index 0b3ba7c331a3..dcbbde8cb2df 100644 --- third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build +++ third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -107423,12 +105533,13 @@ index 7205ea8c1cf3..dd0edb14e927 100644 +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" -@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -107436,13 +105547,14 @@ index 7205ea8c1cf3..dd0edb14e927 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -107455,8 +105567,6 @@ index 7205ea8c1cf3..dd0edb14e927 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -107464,12 +105574,12 @@ index 7205ea8c1cf3..dd0edb14e927 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -107483,7 +105593,6 @@ index 7205ea8c1cf3..dd0edb14e927 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -107507,6 +105616,7 @@ index 7205ea8c1cf3..dd0edb14e927 100644 - 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 @@ -107517,6 +105627,7 @@ index 7205ea8c1cf3..dd0edb14e927 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -107529,8 +105640,9 @@ index 7205ea8c1cf3..dd0edb14e927 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -107548,12 +105660,14 @@ index 7205ea8c1cf3..dd0edb14e927 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -107584,16 +105698,6 @@ index 7205ea8c1cf3..dd0edb14e927 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -107602,35 +105706,37 @@ index 7205ea8c1cf3..dd0edb14e927 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("frame_dumping_encoder_gn") diff --git third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build -index 4b7bf065fbf1..450ec1241bb6 100644 +index d92ea8fd2fb0..2d57a5612fc2 100644 --- third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build +++ third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -107646,12 +105752,13 @@ index 4b7bf065fbf1..450ec1241bb6 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -107659,13 +105766,14 @@ index 4b7bf065fbf1..450ec1241bb6 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -107677,8 +105785,6 @@ index 4b7bf065fbf1..450ec1241bb6 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -107686,12 +105792,12 @@ index 4b7bf065fbf1..450ec1241bb6 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -107701,7 +105807,6 @@ index 4b7bf065fbf1..450ec1241bb6 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -107725,6 +105830,7 @@ index 4b7bf065fbf1..450ec1241bb6 100644 - 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 @@ -107735,6 +105841,7 @@ index 4b7bf065fbf1..450ec1241bb6 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -107747,8 +105854,9 @@ index 4b7bf065fbf1..450ec1241bb6 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -107766,12 +105874,14 @@ index 4b7bf065fbf1..450ec1241bb6 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -107802,16 +105912,6 @@ index 4b7bf065fbf1..450ec1241bb6 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -107820,35 +105920,37 @@ index 4b7bf065fbf1..450ec1241bb6 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("incoming_video_stream_gn") diff --git third_party/libwebrtc/video/render/video_render_frames_gn/moz.build third_party/libwebrtc/video/render/video_render_frames_gn/moz.build -index 40c2cc0ee11c..afc161293679 100644 +index 4bacccd3cc83..13a253325be3 100644 --- third_party/libwebrtc/video/render/video_render_frames_gn/moz.build +++ third_party/libwebrtc/video/render/video_render_frames_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -107864,12 +105966,13 @@ index 40c2cc0ee11c..afc161293679 100644 +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" -@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,94 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -107877,13 +105980,14 @@ index 40c2cc0ee11c..afc161293679 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -107895,8 +105999,6 @@ index 40c2cc0ee11c..afc161293679 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -107904,12 +106006,12 @@ index 40c2cc0ee11c..afc161293679 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -107919,7 +106021,6 @@ index 40c2cc0ee11c..afc161293679 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -107943,6 +106044,7 @@ index 40c2cc0ee11c..afc161293679 100644 - 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 @@ -107953,6 +106055,7 @@ index 40c2cc0ee11c..afc161293679 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -107965,8 +106068,9 @@ index 40c2cc0ee11c..afc161293679 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -107984,12 +106088,14 @@ index 40c2cc0ee11c..afc161293679 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -108020,16 +106126,6 @@ index 40c2cc0ee11c..afc161293679 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -108038,35 +106134,37 @@ index 40c2cc0ee11c..afc161293679 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("video_render_frames_gn") diff --git third_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build third_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build -index f48a99ae30f0..278644a5eed5 100644 +index d8824c8a1117..5f59cce84c6b 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -108082,12 +106180,13 @@ index f48a99ae30f0..278644a5eed5 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -108095,13 +106194,14 @@ index f48a99ae30f0..278644a5eed5 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -108113,8 +106213,6 @@ index f48a99ae30f0..278644a5eed5 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -108122,12 +106220,12 @@ index f48a99ae30f0..278644a5eed5 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -108141,7 +106239,6 @@ index f48a99ae30f0..278644a5eed5 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -108165,6 +106262,7 @@ index f48a99ae30f0..278644a5eed5 100644 - 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 @@ -108175,6 +106273,7 @@ index f48a99ae30f0..278644a5eed5 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -108187,8 +106286,9 @@ index f48a99ae30f0..278644a5eed5 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -108206,12 +106306,14 @@ index f48a99ae30f0..278644a5eed5 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -108242,16 +106344,6 @@ index f48a99ae30f0..278644a5eed5 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -108260,35 +106352,37 @@ index f48a99ae30f0..278644a5eed5 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("task_queue_frame_decode_scheduler_gn") diff --git third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build -index 44c3fed1208b..feacfc5d5716 100644 +index 24641e05ff5b..d2c9bd811637 100644 --- third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build +++ third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -108304,12 +106398,13 @@ index 44c3fed1208b..feacfc5d5716 100644 +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" -@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -108317,13 +106412,14 @@ index 44c3fed1208b..feacfc5d5716 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -108331,8 +106427,6 @@ index 44c3fed1208b..feacfc5d5716 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -108340,12 +106434,12 @@ index 44c3fed1208b..feacfc5d5716 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -108355,7 +106449,6 @@ index 44c3fed1208b..feacfc5d5716 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -108379,6 +106472,7 @@ index 44c3fed1208b..feacfc5d5716 100644 - 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 @@ -108389,13 +106483,15 @@ index 44c3fed1208b..feacfc5d5716 100644 - 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["WEBRTC_ARCH_ARM64"] = True +@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -108413,12 +106509,14 @@ index 44c3fed1208b..feacfc5d5716 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -108449,53 +106547,45 @@ index 44c3fed1208b..feacfc5d5716 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- OS_LIBS += [ -- "unwind" +- CXXFLAGS += [ +- "-msse2" - ] - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": -- - CXXFLAGS += [ - "-msse2" - ] - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - -- CXXFLAGS += [ -- "-msse2" -- ] -+if CONFIG["TARGET_CPU"] == "x86_64": +- + CXXFLAGS += [ + "-msse2" + ] +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("unique_timestamp_counter_gn") diff --git third_party/libwebrtc/video/video_gn/moz.build third_party/libwebrtc/video/video_gn/moz.build -index 86ce29262eb6..db6309640745 100644 +index 05caea4c5563..e5dcbb1e5a89 100644 --- third_party/libwebrtc/video/video_gn/moz.build +++ third_party/libwebrtc/video/video_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -108511,12 +106601,13 @@ index 86ce29262eb6..db6309640745 100644 +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" -@@ -63,191 +72,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -64,99 +73,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -108524,13 +106615,14 @@ index 86ce29262eb6..db6309640745 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -108543,8 +106635,6 @@ index 86ce29262eb6..db6309640745 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -108552,12 +106642,12 @@ index 86ce29262eb6..db6309640745 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -108571,7 +106661,6 @@ index 86ce29262eb6..db6309640745 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -108595,6 +106684,7 @@ index 86ce29262eb6..db6309640745 100644 - 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 @@ -108605,6 +106695,7 @@ index 86ce29262eb6..db6309640745 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -108617,8 +106708,9 @@ index 86ce29262eb6..db6309640745 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -164,88 +81,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -108636,12 +106728,14 @@ index 86ce29262eb6..db6309640745 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -108672,16 +106766,6 @@ index 86ce29262eb6..db6309640745 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -108690,35 +106774,37 @@ index 86ce29262eb6..db6309640745 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("video_gn") diff --git third_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build third_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build -index 12d0513ca083..a938e5cb2bf2 100644 +index d775b24907c5..3e4e8ecab82f 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,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -108734,12 +106820,13 @@ index 12d0513ca083..a938e5cb2bf2 100644 +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" -@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -108747,13 +106834,14 @@ index 12d0513ca083..a938e5cb2bf2 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -108765,8 +106853,6 @@ index 12d0513ca083..a938e5cb2bf2 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -108774,12 +106860,12 @@ index 12d0513ca083..a938e5cb2bf2 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -108793,7 +106879,6 @@ index 12d0513ca083..a938e5cb2bf2 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -108817,6 +106902,7 @@ index 12d0513ca083..a938e5cb2bf2 100644 - 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 @@ -108827,6 +106913,7 @@ index 12d0513ca083..a938e5cb2bf2 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -108839,8 +106926,9 @@ index 12d0513ca083..a938e5cb2bf2 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -108858,12 +106946,14 @@ index 12d0513ca083..a938e5cb2bf2 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -108894,16 +106984,6 @@ index 12d0513ca083..a938e5cb2bf2 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -108912,35 +106992,37 @@ index 12d0513ca083..a938e5cb2bf2 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("video_receive_stream_timeout_tracker_gn") diff --git third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build -index a197def242bb..84863d3a8c02 100644 +index 22706e0eb25b..60b008ed1819 100644 --- third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build +++ third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -108956,12 +107038,13 @@ index a197def242bb..84863d3a8c02 100644 +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" -@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -45,99 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -108969,13 +107052,14 @@ index a197def242bb..84863d3a8c02 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -108988,8 +107072,6 @@ index a197def242bb..84863d3a8c02 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -108997,12 +107079,12 @@ index a197def242bb..84863d3a8c02 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -109016,7 +107098,6 @@ index a197def242bb..84863d3a8c02 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -109040,6 +107121,7 @@ index a197def242bb..84863d3a8c02 100644 - 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 @@ -109050,6 +107132,7 @@ index a197def242bb..84863d3a8c02 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -109062,8 +107145,9 @@ index a197def242bb..84863d3a8c02 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -145,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -109081,12 +107165,14 @@ index a197def242bb..84863d3a8c02 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -109117,16 +107203,6 @@ index a197def242bb..84863d3a8c02 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -109135,35 +107211,37 @@ index a197def242bb..84863d3a8c02 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("video_stream_buffer_controller_gn") diff --git third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build -index 6ea5c303a15d..c678f28a8343 100644 +index c2ea5bda317c..cbd96f75f639 100644 --- third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build +++ third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -109179,12 +107257,13 @@ index 6ea5c303a15d..c678f28a8343 100644 +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" -@@ -52,191 +61,32 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -53,99 +62,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -109192,13 +107271,14 @@ index 6ea5c303a15d..c678f28a8343 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -109211,8 +107291,6 @@ index 6ea5c303a15d..c678f28a8343 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -109220,12 +107298,12 @@ index 6ea5c303a15d..c678f28a8343 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -109239,7 +107317,6 @@ index 6ea5c303a15d..c678f28a8343 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -109263,6 +107340,7 @@ index 6ea5c303a15d..c678f28a8343 100644 - 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 @@ -109273,6 +107351,7 @@ index 6ea5c303a15d..c678f28a8343 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -109285,8 +107364,9 @@ index 6ea5c303a15d..c678f28a8343 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -153,88 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -109304,12 +107384,14 @@ index 6ea5c303a15d..c678f28a8343 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -109340,16 +107422,6 @@ index 6ea5c303a15d..c678f28a8343 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -- -- DEFINES["USE_X11"] = "1" -- --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - CXXFLAGS += [ @@ -109358,35 +107430,37 @@ index 6ea5c303a15d..c678f28a8343 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": -+ DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- - CXXFLAGS += [ - "-msse2" - ] -+if CONFIG["TARGET_CPU"] == "x86_64": - +- +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": ++if CONFIG["TARGET_CPU"] == "x86_64": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True -+ DEFINES["USE_X11"] = "1" ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("video_stream_encoder_impl_gn") diff --git third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build -index 4ca944df8778..89c31ebae9ee 100644 +index 97b34b12598b..95176917b6fd 100644 --- third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build +++ third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -109402,12 +107476,13 @@ index 4ca944df8778..89c31ebae9ee 100644 +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" -@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,98 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -109415,13 +107490,14 @@ index 4ca944df8778..89c31ebae9ee 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -109433,8 +107509,6 @@ index 4ca944df8778..89c31ebae9ee 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -109442,12 +107516,12 @@ index 4ca944df8778..89c31ebae9ee 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -109461,7 +107535,6 @@ index 4ca944df8778..89c31ebae9ee 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -109485,6 +107558,7 @@ index 4ca944df8778..89c31ebae9ee 100644 - 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 @@ -109495,6 +107569,7 @@ index 4ca944df8778..89c31ebae9ee 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -109507,8 +107582,9 @@ index 4ca944df8778..89c31ebae9ee 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -140,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -109522,17 +107598,19 @@ index 4ca944df8778..89c31ebae9ee 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -170,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -109556,39 +107634,32 @@ index 4ca944df8778..89c31ebae9ee 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - --if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": -+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - - DEFINES["USE_X11"] = "1" - --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("video_stream_encoder_interface_gn") diff --git third_party/libwebrtc/webrtc_gn/moz.build third_party/libwebrtc/webrtc_gn/moz.build -index 0bf8e11b5430..e393c24e9a7b 100644 +index bce5d3837f72..85eb59fb624b 100644 --- third_party/libwebrtc/webrtc_gn/moz.build +++ third_party/libwebrtc/webrtc_gn/moz.build -@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True @@ -109604,12 +107675,13 @@ index 0bf8e11b5430..e393c24e9a7b 100644 +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" -@@ -40,147 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -41,122 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -109617,13 +107689,14 @@ index 0bf8e11b5430..e393c24e9a7b 100644 -if CONFIG["OS_TARGET"] == "Android": - - DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" +- 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 - @@ -109636,8 +107709,6 @@ index 0bf8e11b5430..e393c24e9a7b 100644 - - DEFINES["WEBRTC_MAC"] = True - DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True -- DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0" - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - @@ -109650,12 +107721,12 @@ index 0bf8e11b5430..e393c24e9a7b 100644 - - DEFINES["USE_AURA"] = "1" - DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_NSS_CERTS"] = "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 @@ -109669,7 +107740,6 @@ index 0bf8e11b5430..e393c24e9a7b 100644 - - DEFINES["USE_GLIB"] = "1" - DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_X11"] = "1" - DEFINES["WEBRTC_BSD"] = True - DEFINES["WEBRTC_POSIX"] = True - DEFINES["_FILE_OFFSET_BITS"] = "64" @@ -109703,6 +107773,7 @@ index 0bf8e11b5430..e393c24e9a7b 100644 - 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 @@ -109713,6 +107784,7 @@ index 0bf8e11b5430..e393c24e9a7b 100644 - DEFINES["_UNICODE"] = True - DEFINES["_WIN32_WINNT"] = "0x0A00" - DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True - DEFINES["__STD_C"] = True - - OS_LIBS += [ @@ -109733,8 +107805,9 @@ index 0bf8e11b5430..e393c24e9a7b 100644 if CONFIG["TARGET_CPU"] == "aarch64": - DEFINES["WEBRTC_ARCH_ARM64"] = True +@@ -164,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - @@ -109748,17 +107821,19 @@ index 0bf8e11b5430..e393c24e9a7b 100644 - if CONFIG["TARGET_CPU"] == "mips32": +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -190,27 +69,7 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -194,27 +71,7 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -109785,32 +107860,30 @@ index 0bf8e11b5430..e393c24e9a7b 100644 -if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": +if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": - DEFINES["USE_X11"] = "1" - -@@ -224,26 +83,4 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": + OS_LIBS += [ + "X11", +@@ -226,24 +83,4 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": "Xrender" ] --if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm": -- -- OS_LIBS += [ -- "unwind" -- ] -- -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - +- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("webrtc_gn") diff --git a/www/librewolf/files/patch-third__party_chromium_build_toolchain_toolchain.gni b/www/librewolf/files/patch-third__party_chromium_build_toolchain_toolchain.gni new file mode 100644 index 000000000000..7cfd8c79d2da --- /dev/null +++ b/www/librewolf/files/patch-third__party_chromium_build_toolchain_toolchain.gni @@ -0,0 +1,18 @@ +commit 66fb0f122ef1ddf961b333c8377b84b603d75b27 +Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> + + support FreeBSD as a host platform + +diff --git third_party/chromium/build/toolchain/toolchain.gni third_party/chromium/build/toolchain/toolchain.gni +index 754f0e3bbd7e..238d79631ba8 100644 +--- third_party/chromium/build/toolchain/toolchain.gni ++++ third_party/chromium/build/toolchain/toolchain.gni +@@ -75,7 +75,7 @@ if (host_os == "mac") { + host_shlib_extension = ".dylib" + } else if (host_os == "win") { + host_shlib_extension = ".dll" +-} else if (host_os == "linux" || host_os == "aix" || host_os == "zos") { ++} else if (host_os == "linux" || host_os == "aix" || host_os == "freebsd" || host_os == "zos") { + host_shlib_extension = ".so" + } else { + assert(false, "Host platform not supported") diff --git a/www/librewolf/files/patch-toolkit_xre_nsEmbedFunctions.cpp b/www/librewolf/files/patch-toolkit_xre_nsEmbedFunctions.cpp deleted file mode 100644 index caac874012c9..000000000000 --- a/www/librewolf/files/patch-toolkit_xre_nsEmbedFunctions.cpp +++ /dev/null @@ -1,17 +0,0 @@ -diff --git toolkit/xre/nsEmbedFunctions.cpp toolkit/xre/nsEmbedFunctions.cpp -index 9ce6af94637c..44165558f7ec 100644 ---- toolkit/xre/nsEmbedFunctions.cpp -+++ toolkit/xre/nsEmbedFunctions.cpp -@@ -360,10 +360,12 @@ nsresult XRE_InitChildProcess(int aArgc, char* aArgv[], - static_cast<CrashReporter::ProcessId>(*crashHelperPidArg); - #endif // defined(XP_LINUX) && !defined(MOZ_WIDGET_ANDROID) - -+#if !defined(XP_FREEBSD) - exceptionHandlerIsSet = CrashReporter::SetRemoteExceptionHandler( - std::move(*crashReporterArg), crashHelperPid); - MOZ_ASSERT(exceptionHandlerIsSet, - "Should have been able to set remote exception handler"); -+#endif - - if (!exceptionHandlerIsSet) { - // Bug 684322 will add better visibility into this condition diff --git a/www/links/Makefile b/www/links/Makefile index a08b63bafd21..3cc02931f1d4 100644 --- a/www/links/Makefile +++ b/www/links/Makefile @@ -1,5 +1,6 @@ PORTNAME= links PORTVERSION= 2.30 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= http://links.twibright.com/download/ diff --git a/www/linux-freetube/Makefile b/www/linux-freetube/Makefile index 4b5d0657a753..07713cc8ccba 100644 --- a/www/linux-freetube/Makefile +++ b/www/linux-freetube/Makefile @@ -1,6 +1,6 @@ PORTNAME= freetube DISTVERSIONPREFIX= v -DISTVERSION= 0.23.6-beta +DISTVERSION= 0.23.8-beta PORTREVISION= 0 CATEGORIES= www MASTER_SITES= https://github.com/FreeTubeApp/FreeTube/releases/download/${DISTVERSIONFULL}/ \ diff --git a/www/linux-freetube/distinfo b/www/linux-freetube/distinfo index ca64c04cbc9c..c2dbc0ac22a7 100644 --- a/www/linux-freetube/distinfo +++ b/www/linux-freetube/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1754724801 -SHA256 (freetube-0.23.6-beta-linux-x64-portable.zip) = aa8d82ed257f1daf844fd4657d2f5b5f118555b126200fb42e11fce2d1375937 -SIZE (freetube-0.23.6-beta-linux-x64-portable.zip) = 104149836 +TIMESTAMP = 1756112923 +SHA256 (freetube-0.23.8-beta-linux-x64-portable.zip) = 6cfba8e67740a8d5a6ab85f3694c779dc2a03b4b40610881ba92d7a212a3ceff +SIZE (freetube-0.23.8-beta-linux-x64-portable.zip) = 104150148 SHA256 (linux-freetube-icons-0.1.3.zip) = d76906cce52ac5cc730113a6d8598009467480d70a11e7ad81cbe9655bbd941e SIZE (linux-freetube-icons-0.1.3.zip) = 10580 diff --git a/www/linux-vieb/Makefile b/www/linux-vieb/Makefile index 40c51bd028df..852e32b9679c 100644 --- a/www/linux-vieb/Makefile +++ b/www/linux-vieb/Makefile @@ -1,5 +1,5 @@ PORTNAME= vieb -DISTVERSION= 12.3.0 +DISTVERSION= 12.5.0 PORTREVISION= 0 CATEGORIES= www linux MASTER_SITES= https://github.com/Jelmerro/Vieb/releases/download/${DISTVERSION}/ \ diff --git a/www/linux-vieb/distinfo b/www/linux-vieb/distinfo index 898c5d3e1df7..19d110324f88 100644 --- a/www/linux-vieb/distinfo +++ b/www/linux-vieb/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1747147993 -SHA256 (vieb-12.3.0.tar.gz) = 68aaf4bd9dcfa242e5f6ab46a529601262325e5ee82d392181eb7228e9dc8a5e -SIZE (vieb-12.3.0.tar.gz) = 110829778 -SHA256 (vieb-images-12.3.0.tar.gz) = 78768881d33d2016153e0c5be54b52cd08aed685b4d577e1b9c5f07a50421b42 -SIZE (vieb-images-12.3.0.tar.gz) = 968923 +TIMESTAMP = 1756977118 +SHA256 (vieb-12.5.0.tar.gz) = a87796a3fdf492d6ab2932364be490dd11d90aaba65e630dea4eb7617939a1c7 +SIZE (vieb-12.5.0.tar.gz) = 113930764 +SHA256 (vieb-images-12.5.0.tar.gz) = db8f01c4c894e481ad90dc65ab49f8d3bce6587272bad07e3ba4cede9631a9a7 +SIZE (vieb-images-12.5.0.tar.gz) = 970646 diff --git a/www/loco/Makefile b/www/loco/Makefile index 4e30ec48c0c7..5a7d0232af08 100644 --- a/www/loco/Makefile +++ b/www/loco/Makefile @@ -1,6 +1,7 @@ PORTNAME= loco DISTVERSIONPREFIX= v DISTVERSION= 0.16.3 +PORTREVISION= 1 CATEGORIES= www devel PKGNAMESUFFIX= -web-framework diff --git a/www/luakit-devel/Makefile b/www/luakit-devel/Makefile index 0f025c2da7ab..9c44dd46dc5b 100644 --- a/www/luakit-devel/Makefile +++ b/www/luakit-devel/Makefile @@ -1,7 +1,7 @@ PORTNAME= luakit DISTVERSION= 2.3.6-7 DISTVERSIONSUFFIX= -g0bc0e39 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 2 CATEGORIES= www PKGNAMESUFFIX= -devel diff --git a/www/luakit/Makefile b/www/luakit/Makefile index be5a1d4febcf..2969413cc9f1 100644 --- a/www/luakit/Makefile +++ b/www/luakit/Makefile @@ -1,6 +1,6 @@ PORTNAME= luakit DISTVERSION= 2.4.0 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= www diff --git a/www/lychee/Makefile b/www/lychee/Makefile index a4c5415c038d..1ac1b01bbdfc 100644 --- a/www/lychee/Makefile +++ b/www/lychee/Makefile @@ -1,7 +1,7 @@ PORTNAME= lychee DISTVERSIONPREFIX= lychee-v DISTVERSION= 0.18.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= www net MAINTAINER= pizzamig@FreeBSD.org diff --git a/www/lzr/Makefile b/www/lzr/Makefile index 53405dbbef1c..b420ec30e2ad 100644 --- a/www/lzr/Makefile +++ b/www/lzr/Makefile @@ -1,7 +1,7 @@ PORTNAME= lzr DISTVERSIONPREFIX= v DISTVERSION= 1 -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= www MAINTAINER= yuri@FreeBSD.org diff --git a/www/marmite/Makefile b/www/marmite/Makefile index 179be2852c0e..3c70146b501a 100644 --- a/www/marmite/Makefile +++ b/www/marmite/Makefile @@ -1,5 +1,6 @@ PORTNAME= marmite DISTVERSION= 0.2.6 +PORTREVISION= 1 CATEGORIES= www MAINTAINER= dutra@FreeBSD.org diff --git a/www/mattermost-server/Makefile b/www/mattermost-server/Makefile index 719fde3f7631..c7cf7df1fb87 100644 --- a/www/mattermost-server/Makefile +++ b/www/mattermost-server/Makefile @@ -1,6 +1,6 @@ PORTNAME= mattermost PORTVERSION= 10.5.9 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= LOCAL/decke PKGNAMESUFFIX= -server diff --git a/www/microbin/Makefile b/www/microbin/Makefile index 8d2ccd1d3721..1e171550d54c 100644 --- a/www/microbin/Makefile +++ b/www/microbin/Makefile @@ -1,7 +1,7 @@ PORTNAME= microbin DISTVERSIONPREFIX= v DISTVERSION= 2.0.4 -PORTREVISION= 18 +PORTREVISION= 19 CATEGORIES= www MAINTAINER= yuri@FreeBSD.org diff --git a/www/midori/Makefile b/www/midori/Makefile index d5789c6da118..ce8518e149ef 100644 --- a/www/midori/Makefile +++ b/www/midori/Makefile @@ -1,7 +1,7 @@ PORTNAME= midori PORTVERSION= 9.0 DISTVERSIONPREFIX= v -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= www MAINTAINER= ports@FreeBSD.org diff --git a/www/miniflux/Makefile b/www/miniflux/Makefile index 65426bbda49f..1aac5bfca25d 100644 --- a/www/miniflux/Makefile +++ b/www/miniflux/Makefile @@ -1,6 +1,6 @@ PORTNAME= miniflux DISTVERSION= 2.2.11 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MAINTAINER= krion@FreeBSD.org diff --git a/www/minio-client/Makefile b/www/minio-client/Makefile index c8ded3e6cb12..326e7a9ddb14 100644 --- a/www/minio-client/Makefile +++ b/www/minio-client/Makefile @@ -1,6 +1,6 @@ PORTNAME= minio-client PORTVERSION= ${GH_TAGNAME:S/RELEASE.//:S/Z//:S/T/-/:S/-/./g} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MAINTAINER= jhixson@FreeBSD.org diff --git a/www/minio/Makefile b/www/minio/Makefile index 4182f95b2aa4..af5ba0640cb0 100644 --- a/www/minio/Makefile +++ b/www/minio/Makefile @@ -1,6 +1,6 @@ PORTNAME= minio DISTVERSION= ${GH_TAGNAME:S/RELEASE.//:S/Z//:S/T/-/:S/-/./g} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www DIST_SUBDIR= minio diff --git a/www/miniserve/Makefile b/www/miniserve/Makefile index 2fe9a66cc6fe..0bf28cc49d5f 100644 --- a/www/miniserve/Makefile +++ b/www/miniserve/Makefile @@ -1,6 +1,7 @@ PORTNAME= miniserve DISTVERSIONPREFIX= v DISTVERSION= 0.31.0 +PORTREVISION= 1 CATEGORIES= www MAINTAINER= bofh@FreeBSD.org diff --git a/www/mirrorselect/Makefile b/www/mirrorselect/Makefile index 5bcd6548ad10..87fc3b5c6ba0 100644 --- a/www/mirrorselect/Makefile +++ b/www/mirrorselect/Makefile @@ -1,7 +1,7 @@ PORTNAME= mirrorselect DISTVERSIONPREFIX= v DISTVERSION= 0.9.0 -PORTREVISION= 29 +PORTREVISION= 30 CATEGORIES= www ports-mgmt MAINTAINER= aly@aaronly.me diff --git a/www/moin2/Makefile b/www/moin2/Makefile index 95e3f470ae9b..a83f69aa421e 100644 --- a/www/moin2/Makefile +++ b/www/moin2/Makefile @@ -1,5 +1,6 @@ PORTNAME= moin DISTVERSION= 2.0.0b3 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= https://github.com/moinwiki/moin/releases/download/${DISTVERSION}/ PKGNAMESUFFIX= 2 diff --git a/www/monolith/Makefile b/www/monolith/Makefile index 3b445649bd0f..5c5672205875 100644 --- a/www/monolith/Makefile +++ b/www/monolith/Makefile @@ -1,7 +1,7 @@ PORTNAME= monolith DISTVERSIONPREFIX= v DISTVERSION= 2.8.3 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= www MAINTAINER= lcook@FreeBSD.org diff --git a/www/morty/Makefile b/www/morty/Makefile index 8e58fe9ae772..3f2c91551706 100644 --- a/www/morty/Makefile +++ b/www/morty/Makefile @@ -2,7 +2,7 @@ PORTNAME= morty DISTVERSIONPREFIX= v DISTVERSION= 0.2.0-12 DISTVERSIONSUFFIX= -gfe94d9a -PORTREVISION= 29 +PORTREVISION= 30 CATEGORIES= www net MAINTAINER= yuri@FreeBSD.org diff --git a/www/ncgopher/Makefile b/www/ncgopher/Makefile index 864b044f9b9c..8e0ef4076c5e 100644 --- a/www/ncgopher/Makefile +++ b/www/ncgopher/Makefile @@ -1,7 +1,7 @@ PORTNAME= ncgopher DISTVERSIONPREFIX= v DISTVERSION= 0.4.0 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= www MAINTAINER= beastieboy@beastieboy.net diff --git a/www/newsboat/Makefile b/www/newsboat/Makefile index f08440d81dc1..22b1cd47cf4e 100644 --- a/www/newsboat/Makefile +++ b/www/newsboat/Makefile @@ -1,5 +1,6 @@ PORTNAME= newsboat DISTVERSION= 2.40 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://newsboat.org/releases/${DISTVERSION}/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} diff --git a/www/nextcloud-appointments/Makefile b/www/nextcloud-appointments/Makefile index 131a91b3fe61..b87605e1c779 100644 --- a/www/nextcloud-appointments/Makefile +++ b/www/nextcloud-appointments/Makefile @@ -1,5 +1,5 @@ PORTNAME= appointments -PORTVERSION= 2.4.5 +PORTVERSION= 2.4.6 CATEGORIES= www MASTER_SITES= https://github.com/${GH_ACCOUNT}/${PORTNAME}/raw/${DISTVERSIONPREFIX}${DISTVERSION}/build/artifacts/appstore/ DISTVERSIONPREFIX= v diff --git a/www/nextcloud-appointments/distinfo b/www/nextcloud-appointments/distinfo index 5df4271084d7..bfc4578282d9 100644 --- a/www/nextcloud-appointments/distinfo +++ b/www/nextcloud-appointments/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1749063233 -SHA256 (nextcloud/appointments-2.4.5/appointments.tar.gz) = 104d1e68255af8e6ee27e7e6366e0c9e47ee6db7d878a230854a4c66de2c41f3 -SIZE (nextcloud/appointments-2.4.5/appointments.tar.gz) = 2215252 +TIMESTAMP = 1756904500 +SHA256 (nextcloud/appointments-2.4.6/appointments.tar.gz) = 169f029dbf5e56911cc431462fa767f26e246fba876c4af448616082e97aa8bc +SIZE (nextcloud/appointments-2.4.6/appointments.tar.gz) = 2279382 diff --git a/www/nextcloud-calendar/Makefile b/www/nextcloud-calendar/Makefile index 3908522f26b3..c024b19897a5 100644 --- a/www/nextcloud-calendar/Makefile +++ b/www/nextcloud-calendar/Makefile @@ -1,5 +1,5 @@ PORTNAME= calendar -PORTVERSION= 5.3.8 +PORTVERSION= 5.5.2 DISTVERSIONPREFIX= v CATEGORIES= www diff --git a/www/nextcloud-calendar/distinfo b/www/nextcloud-calendar/distinfo index 15c94d7bb594..27e6414baf7f 100644 --- a/www/nextcloud-calendar/distinfo +++ b/www/nextcloud-calendar/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1753864175 -SHA256 (nextcloud/calendar-v5.3.8.tar.gz) = 4792f4100a0b1abd427f386d1cee057d4b2da91f840ec38876015871c82710c7 -SIZE (nextcloud/calendar-v5.3.8.tar.gz) = 19946107 +TIMESTAMP = 1756904556 +SHA256 (nextcloud/calendar-v5.5.2.tar.gz) = 293d3116d6550729f67d9f3b9dbea13b0f80416ea1eb5ff2b759946c33763d4d +SIZE (nextcloud/calendar-v5.5.2.tar.gz) = 19770469 diff --git a/www/nextcloud-contacts/Makefile b/www/nextcloud-contacts/Makefile index 75993d3398b3..f40ba1d3f697 100644 --- a/www/nextcloud-contacts/Makefile +++ b/www/nextcloud-contacts/Makefile @@ -1,5 +1,5 @@ PORTNAME= contacts -PORTVERSION= 7.2.4 +PORTVERSION= 7.2.6 DISTVERSIONPREFIX= v CATEGORIES= www diff --git a/www/nextcloud-contacts/distinfo b/www/nextcloud-contacts/distinfo index 02846a507995..b0c74cb0dbf3 100644 --- a/www/nextcloud-contacts/distinfo +++ b/www/nextcloud-contacts/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1754503323 -SHA256 (nextcloud/contacts-v7.2.4.tar.gz) = 0f4a7d9f2dca7ae05d5958ab4140dbe20abe782bac64aac3c49f94023109cfce -SIZE (nextcloud/contacts-v7.2.4.tar.gz) = 4409925 +TIMESTAMP = 1756412333 +SHA256 (nextcloud/contacts-v7.2.6.tar.gz) = 20cb06e3f90dca3dbea1c1edb049d0ff5cbe2a18255894e0d2ce56b2283f5f6a +SIZE (nextcloud/contacts-v7.2.6.tar.gz) = 4496148 diff --git a/www/nginx-acme/Makefile b/www/nginx-acme/Makefile new file mode 100644 index 000000000000..5dc148436727 --- /dev/null +++ b/www/nginx-acme/Makefile @@ -0,0 +1,61 @@ +PORTNAME= acme +PORTVERSION= 0.1.1 +PORTREVISION= 1 +CATEGORIES= www +MASTER_SITES= https://github.com/nginx/nginx-${PORTNAME}/releases/download/v${PORTVERSION}/:acme \ + https://nginx.org/download/:nginx +PKGNAMEPREFIX= nginx-devel- +DISTFILES= nginx-${PORTNAME}-${DISTVERSION}.tar.gz:acme \ + nginx-${NGINX_VERSION}.tar.gz + +MAINTAINER= osa@FreeBSD.org +COMMENT= ACME module for NGINX +WWW= https://github.com/nginx/nginx-acme + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS+= libpcre2-8.so:devel/pcre2 + +#FLAVORS= default devel +#FLAVOR?= ${FLAVORS:[2]} +#default_PKGNAMEPREFIX= nginx- +#devel_PKGNAMEPREFIX= nginx-devel- +#default_CONFLICTS_INSTALL= nginx-devel-${PORTNAME} +#devel_CONFLICTS_INSTALL= nginx-${PORTNAME} + +WRKSRC= ${WRKDIR}/nginx-${PORTNAME}-${PORTVERSION} + +#.if ${FLAVOR} == devel +.include "${.CURDIR}/../nginx-devel/version.mk" +RUN_DEPENDS= ${LOCALBASE}/sbin/nginx:www/nginx-devel +#.else +#.include "${.CURDIR}/../nginx/version.mk" +#RUN_DEPENDS= ${LOCALBASE}/sbin/nginx:www/nginx +#.endif + +USES= cargo cpe llvm:lib,noexport ssl + +CPE_VENDOR= f5 +CPE_PRODUCT= nginx-acme + +CARGO_ENV+= NGINX_BUILD_DIR=${WRKDIR}/nginx-${NGINX_VERSION}/objs +NGX_CONFIGURE_ARGS= --with-compat \ + --with-cc-opt="-I ${LOCALBASE}/include" \ + --with-ld-opt="-L ${LOCALBASE}/lib" \ + --with-http_ssl_module + +.include "${.CURDIR}/Makefile.cargo" + +PLIST_FILES= libexec/nginx/ngx_http_acme_module.so + +pre-configure: + ( cd ${WRKDIR}/nginx-${NGINX_VERSION} && \ + ${SETENV} ${CONFIGURE_ENV} ${CONFIGURE_CMD} ${NGX_CONFIGURE_ARGS} ) + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nginx/ + ${INSTALL_DATA} ${WRKDIR}/target/release/libnginx_acme.so \ + ${STAGEDIR}${PREFIX}/libexec/nginx/ngx_http_acme_module.so + +.include <bsd.port.mk> diff --git a/www/nginx-acme/Makefile.cargo b/www/nginx-acme/Makefile.cargo new file mode 100644 index 000000000000..594758b33675 --- /dev/null +++ b/www/nginx-acme/Makefile.cargo @@ -0,0 +1,118 @@ +CARGO_CRATES= addr2line-0.24.2 \ + adler2-2.0.1 \ + aho-corasick-1.1.3 \ + allocator-api2-0.2.21 \ + annotate-snippets-0.9.2 \ + anyhow-1.0.98 \ + async-task-4.7.1 \ + autocfg-1.5.0 \ + backtrace-0.3.75 \ + base64-0.22.1 \ + bindgen-0.69.5 \ + bindgen-0.72.0 \ + bitflags-2.9.1 \ + bytes-1.10.1 \ + cc-1.2.30 \ + cexpr-0.6.0 \ + cfg-if-1.0.1 \ + clang-sys-1.8.1 \ + constcat-0.6.1 \ + dunce-1.0.5 \ + either-1.15.0 \ + errno-0.3.13 \ + fnv-1.0.7 \ + foreign-types-0.3.2 \ + foreign-types-shared-0.1.1 \ + futures-channel-0.3.31 \ + futures-core-0.3.31 \ + futures-task-0.3.31 \ + futures-util-0.3.31 \ + gimli-0.31.1 \ + glob-0.3.2 \ + home-0.5.11 \ + http-1.3.1 \ + http-body-1.0.1 \ + http-body-util-0.1.3 \ + http-serde-2.1.1 \ + httparse-1.10.1 \ + hyper-1.6.0 \ + io-uring-0.7.9 \ + itertools-0.12.1 \ + itertools-0.13.0 \ + itoa-1.0.15 \ + lazy_static-1.5.0 \ + lazycell-1.3.0 \ + libc-0.2.174 \ + libloading-0.8.8 \ + linux-raw-sys-0.4.15 \ + lock_api-0.4.13 \ + log-0.4.27 \ + memchr-2.7.5 \ + minimal-lexical-0.2.1 \ + miniz_oxide-0.8.9 \ + mio-1.0.4 \ + nom-7.1.3 \ + object-0.36.7 \ + once_cell-1.21.3 \ + openssl-0.10.73 \ + openssl-macros-0.1.1 \ + openssl-sys-0.9.109 \ + pin-project-lite-0.2.16 \ + pin-utils-0.1.0 \ + pkg-config-0.3.32 \ + prettyplease-0.2.35 \ + proc-macro2-1.0.95 \ + quote-1.0.40 \ + regex-1.11.1 \ + regex-automata-0.4.9 \ + regex-syntax-0.8.5 \ + rustc-demangle-0.1.26 \ + rustc-hash-1.1.0 \ + rustc-hash-2.1.1 \ + rustix-0.38.44 \ + ryu-1.0.20 \ + scopeguard-1.2.0 \ + serde-1.0.219 \ + serde_derive-1.0.219 \ + serde_json-1.0.142 \ + shlex-1.3.0 \ + siphasher-1.0.1 \ + slab-0.4.11 \ + smallvec-1.15.1 \ + syn-2.0.104 \ + thiserror-2.0.12 \ + thiserror-impl-2.0.12 \ + tokio-1.47.1 \ + try-lock-0.2.5 \ + unicode-ident-1.0.18 \ + unicode-width-0.1.14 \ + vcpkg-0.2.15 \ + want-0.3.1 \ + wasi-0.11.1+wasi-snapshot-preview1 \ + which-4.4.2 \ + winapi-0.3.9 \ + winapi-i686-pc-windows-gnu-0.4.0 \ + winapi-x86_64-pc-windows-gnu-0.4.0 \ + windows-sys-0.59.0 \ + windows-sys-0.60.2 \ + windows-targets-0.52.6 \ + windows-targets-0.53.2 \ + windows_aarch64_gnullvm-0.52.6 \ + windows_aarch64_gnullvm-0.53.0 \ + windows_aarch64_msvc-0.52.6 \ + windows_aarch64_msvc-0.53.0 \ + 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.52.6 \ + windows_i686_msvc-0.53.0 \ + windows_x86_64_gnu-0.52.6 \ + windows_x86_64_gnu-0.53.0 \ + windows_x86_64_gnullvm-0.52.6 \ + windows_x86_64_gnullvm-0.53.0 \ + windows_x86_64_msvc-0.52.6 \ + windows_x86_64_msvc-0.53.0 \ + yansi-term-0.1.2 \ + zeroize-1.8.1 \ + nginx-sys,ngx@git+https://github.com/nginx/ngx-rust?rev=ac60b788cc1b9e9d5e2e92058b54494dcecb1109\#ac60b788cc1b9e9d5e2e92058b54494dcecb1109 diff --git a/www/nginx-acme/distinfo b/www/nginx-acme/distinfo new file mode 100644 index 000000000000..f5c39e4dc226 --- /dev/null +++ b/www/nginx-acme/distinfo @@ -0,0 +1,243 @@ +TIMESTAMP = 1755534627 +SHA256 (nginx-acme-0.1.1.tar.gz) = c2158d7f9baa53a9186c406e82c3068832f03b87a1d1066b0d214a8bf834ddfd +SIZE (nginx-acme-0.1.1.tar.gz) = 77853 +SHA256 (nginx-1.28.0.tar.gz) = c6b5c6b086c0df9d3ca3ff5e084c1d0ef909e6038279c71c1c3e985f576ff76a +SIZE (nginx-1.28.0.tar.gz) = 1280111 +SHA256 (nginx-1.29.1.tar.gz) = c589f7e7ed801ddbd904afbf3de26ae24eb0cce27c7717a2e94df7fb12d6ad27 +SIZE (nginx-1.29.1.tar.gz) = 1285529 +SHA256 (rust/crates/addr2line-0.24.2.crate) = dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1 +SIZE (rust/crates/addr2line-0.24.2.crate) = 39015 +SHA256 (rust/crates/adler2-2.0.1.crate) = 320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa +SIZE (rust/crates/adler2-2.0.1.crate) = 13366 +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/annotate-snippets-0.9.2.crate) = ccaf7e9dfbb6ab22c82e473cd1a8a7bd313c19a5b7e40970f3d89ef5a5c9e81e +SIZE (rust/crates/annotate-snippets-0.9.2.crate) = 32065 +SHA256 (rust/crates/anyhow-1.0.98.crate) = e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487 +SIZE (rust/crates/anyhow-1.0.98.crate) = 53334 +SHA256 (rust/crates/async-task-4.7.1.crate) = 8b75356056920673b02621b35afd0f7dda9306d03c79a30f5c56c44cf256e3de +SIZE (rust/crates/async-task-4.7.1.crate) = 38077 +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/base64-0.22.1.crate) = 72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6 +SIZE (rust/crates/base64-0.22.1.crate) = 81597 +SHA256 (rust/crates/bindgen-0.69.5.crate) = 271383c67ccabffb7381723dea0672a673f292304fcb45c01cc648c7a8d58088 +SIZE (rust/crates/bindgen-0.69.5.crate) = 221128 +SHA256 (rust/crates/bindgen-0.72.0.crate) = 4f72209734318d0b619a5e0f5129918b848c416e122a3c4ce054e03cb87b726f +SIZE (rust/crates/bindgen-0.72.0.crate) = 246019 +SHA256 (rust/crates/bitflags-2.9.1.crate) = 1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967 +SIZE (rust/crates/bitflags-2.9.1.crate) = 47913 +SHA256 (rust/crates/bytes-1.10.1.crate) = d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a +SIZE (rust/crates/bytes-1.10.1.crate) = 76779 +SHA256 (rust/crates/cc-1.2.30.crate) = deec109607ca693028562ed836a5f1c4b8bd77755c4e132fc5ce11b0b6211ae7 +SIZE (rust/crates/cc-1.2.30.crate) = 108550 +SHA256 (rust/crates/cexpr-0.6.0.crate) = 6fac387a98bb7c37292057cffc56d62ecb629900026402633ae9160df93a8766 +SIZE (rust/crates/cexpr-0.6.0.crate) = 17966 +SHA256 (rust/crates/cfg-if-1.0.1.crate) = 9555578bc9e57714c812a1f84e4fc5b4d21fcb063490c624de019f7464c91268 +SIZE (rust/crates/cfg-if-1.0.1.crate) = 8683 +SHA256 (rust/crates/clang-sys-1.8.1.crate) = 0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4 +SIZE (rust/crates/clang-sys-1.8.1.crate) = 44009 +SHA256 (rust/crates/constcat-0.6.1.crate) = 136d3e02915a2cea4d74caa8681e2d44b1c3254bdbf17d11d41d587ff858832c +SIZE (rust/crates/constcat-0.6.1.crate) = 8583 +SHA256 (rust/crates/dunce-1.0.5.crate) = 92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813 +SIZE (rust/crates/dunce-1.0.5.crate) = 8244 +SHA256 (rust/crates/either-1.15.0.crate) = 48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719 +SIZE (rust/crates/either-1.15.0.crate) = 20114 +SHA256 (rust/crates/errno-0.3.13.crate) = 778e2ac28f6c47af28e4907f13ffd1e1ddbd400980a9abd7c8df189bf578a5ad +SIZE (rust/crates/errno-0.3.13.crate) = 12449 +SHA256 (rust/crates/fnv-1.0.7.crate) = 3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1 +SIZE (rust/crates/fnv-1.0.7.crate) = 11266 +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/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-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/gimli-0.31.1.crate) = 07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f +SIZE (rust/crates/gimli-0.31.1.crate) = 279515 +SHA256 (rust/crates/glob-0.3.2.crate) = a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2 +SIZE (rust/crates/glob-0.3.2.crate) = 22359 +SHA256 (rust/crates/home-0.5.11.crate) = 589533453244b0995c858700322199b2becb13b627df2851f64a2775d024abcf +SIZE (rust/crates/home-0.5.11.crate) = 9926 +SHA256 (rust/crates/http-1.3.1.crate) = f4a85d31aea989eead29a3aaf9e1115a180df8282431156e533de47660892565 +SIZE (rust/crates/http-1.3.1.crate) = 106063 +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-serde-2.1.1.crate) = 0f056c8559e3757392c8d091e796416e4649d8e49e88b8d76df6c002f05027fd +SIZE (rust/crates/http-serde-2.1.1.crate) = 6359 +SHA256 (rust/crates/httparse-1.10.1.crate) = 6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87 +SIZE (rust/crates/httparse-1.10.1.crate) = 45190 +SHA256 (rust/crates/hyper-1.6.0.crate) = cc2b571658e38e0c01b1fdca3bbbe93c00d3d71693ff2770043f8c29bc7d6f80 +SIZE (rust/crates/hyper-1.6.0.crate) = 153923 +SHA256 (rust/crates/io-uring-0.7.9.crate) = d93587f37623a1a17d94ef2bc9ada592f5465fe7732084ab7beefabe5c77c0c4 +SIZE (rust/crates/io-uring-0.7.9.crate) = 99792 +SHA256 (rust/crates/itertools-0.12.1.crate) = ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569 +SIZE (rust/crates/itertools-0.12.1.crate) = 137761 +SHA256 (rust/crates/itertools-0.13.0.crate) = 413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186 +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/lazy_static-1.5.0.crate) = bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe +SIZE (rust/crates/lazy_static-1.5.0.crate) = 14025 +SHA256 (rust/crates/lazycell-1.3.0.crate) = 830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55 +SIZE (rust/crates/lazycell-1.3.0.crate) = 12502 +SHA256 (rust/crates/libc-0.2.174.crate) = 1171693293099992e19cddea4e8b849964e9846f4acee11b3948bcc337be8776 +SIZE (rust/crates/libc-0.2.174.crate) = 779933 +SHA256 (rust/crates/libloading-0.8.8.crate) = 07033963ba89ebaf1584d767badaa2e8fcec21aedea6b8c0346d487d49c28667 +SIZE (rust/crates/libloading-0.8.8.crate) = 31345 +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/lock_api-0.4.13.crate) = 96936507f153605bddfcda068dd804796c84324ed2510809e5b2a624c81da765 +SIZE (rust/crates/lock_api-0.4.13.crate) = 28565 +SHA256 (rust/crates/log-0.4.27.crate) = 13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94 +SIZE (rust/crates/log-0.4.27.crate) = 48120 +SHA256 (rust/crates/memchr-2.7.5.crate) = 32a282da65faaf38286cf3be983213fcf1d2e2a58700e808f83f4ea9a4804bc0 +SIZE (rust/crates/memchr-2.7.5.crate) = 97603 +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/nom-7.1.3.crate) = d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a +SIZE (rust/crates/nom-7.1.3.crate) = 117570 +SHA256 (rust/crates/object-0.36.7.crate) = 62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87 +SIZE (rust/crates/object-0.36.7.crate) = 329938 +SHA256 (rust/crates/once_cell-1.21.3.crate) = 42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d +SIZE (rust/crates/once_cell-1.21.3.crate) = 34534 +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-sys-0.9.109.crate) = 90096e2e47630d78b7d1c20952dc621f957103f8bc2c8359ec81290d75238571 +SIZE (rust/crates/openssl-sys-0.9.109.crate) = 78247 +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/pkg-config-0.3.32.crate) = 7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c +SIZE (rust/crates/pkg-config-0.3.32.crate) = 21370 +SHA256 (rust/crates/prettyplease-0.2.35.crate) = 061c1221631e079b26479d25bbf2275bfe5917ae8419cd7e34f13bfc2aa7539a +SIZE (rust/crates/prettyplease-0.2.35.crate) = 71857 +SHA256 (rust/crates/proc-macro2-1.0.95.crate) = 02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778 +SIZE (rust/crates/proc-macro2-1.0.95.crate) = 51820 +SHA256 (rust/crates/quote-1.0.40.crate) = 1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d +SIZE (rust/crates/quote-1.0.40.crate) = 31063 +SHA256 (rust/crates/regex-1.11.1.crate) = b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191 +SIZE (rust/crates/regex-1.11.1.crate) = 254170 +SHA256 (rust/crates/regex-automata-0.4.9.crate) = 809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908 +SIZE (rust/crates/regex-automata-0.4.9.crate) = 618525 +SHA256 (rust/crates/regex-syntax-0.8.5.crate) = 2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c +SIZE (rust/crates/regex-syntax-0.8.5.crate) = 357541 +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/rustix-0.38.44.crate) = fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154 +SIZE (rust/crates/rustix-0.38.44.crate) = 379347 +SHA256 (rust/crates/ryu-1.0.20.crate) = 28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f +SIZE (rust/crates/ryu-1.0.20.crate) = 48738 +SHA256 (rust/crates/scopeguard-1.2.0.crate) = 94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49 +SIZE (rust/crates/scopeguard-1.2.0.crate) = 11619 +SHA256 (rust/crates/serde-1.0.219.crate) = 5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6 +SIZE (rust/crates/serde-1.0.219.crate) = 78983 +SHA256 (rust/crates/serde_derive-1.0.219.crate) = 5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00 +SIZE (rust/crates/serde_derive-1.0.219.crate) = 57798 +SHA256 (rust/crates/serde_json-1.0.142.crate) = 030fedb782600dcbd6f02d479bf0d817ac3bb40d644745b769d6a96bc3afc5a7 +SIZE (rust/crates/serde_json-1.0.142.crate) = 155363 +SHA256 (rust/crates/shlex-1.3.0.crate) = 0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64 +SIZE (rust/crates/shlex-1.3.0.crate) = 18713 +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/syn-2.0.104.crate) = 17b6f705963418cdb9927482fa304bc562ece2fdd4f616084c50b7023b435a40 +SIZE (rust/crates/syn-2.0.104.crate) = 299699 +SHA256 (rust/crates/thiserror-2.0.12.crate) = 567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708 +SIZE (rust/crates/thiserror-2.0.12.crate) = 28693 +SHA256 (rust/crates/thiserror-impl-2.0.12.crate) = 7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d +SIZE (rust/crates/thiserror-impl-2.0.12.crate) = 21141 +SHA256 (rust/crates/tokio-1.47.1.crate) = 89e49afdadebb872d3145a5638b59eb0691ea23e46ca484037cfab3b76b95038 +SIZE (rust/crates/tokio-1.47.1.crate) = 829790 +SHA256 (rust/crates/try-lock-0.2.5.crate) = e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b +SIZE (rust/crates/try-lock-0.2.5.crate) = 4314 +SHA256 (rust/crates/unicode-ident-1.0.18.crate) = 5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512 +SIZE (rust/crates/unicode-ident-1.0.18.crate) = 47743 +SHA256 (rust/crates/unicode-width-0.1.14.crate) = 7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af +SIZE (rust/crates/unicode-width-0.1.14.crate) = 271615 +SHA256 (rust/crates/vcpkg-0.2.15.crate) = accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426 +SIZE (rust/crates/vcpkg-0.2.15.crate) = 228735 +SHA256 (rust/crates/want-0.3.1.crate) = bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e +SIZE (rust/crates/want-0.3.1.crate) = 6398 +SHA256 (rust/crates/wasi-0.11.1+wasi-snapshot-preview1.crate) = ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b +SIZE (rust/crates/wasi-0.11.1+wasi-snapshot-preview1.crate) = 28477 +SHA256 (rust/crates/which-4.4.2.crate) = 87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7 +SIZE (rust/crates/which-4.4.2.crate) = 15953 +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-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-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-targets-0.52.6.crate) = 9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973 +SIZE (rust/crates/windows-targets-0.52.6.crate) = 6403 +SHA256 (rust/crates/windows-targets-0.53.2.crate) = c66f69fcc9ce11da9966ddb31a40968cad001c5bedeb5c2b82ede4253ab48aef +SIZE (rust/crates/windows-targets-0.53.2.crate) = 7046 +SHA256 (rust/crates/windows_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.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.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.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.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.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.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/yansi-term-0.1.2.crate) = fe5c30ade05e61656247b2e334a031dfd0cc466fadef865bdcdea8d537951bf1 +SIZE (rust/crates/yansi-term-0.1.2.crate) = 14342 +SHA256 (rust/crates/zeroize-1.8.1.crate) = ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde +SIZE (rust/crates/zeroize-1.8.1.crate) = 20029 +SHA256 (nginx-ngx-rust-ac60b788cc1b9e9d5e2e92058b54494dcecb1109_GH0.tar.gz) = fa56d9e7956b174acd0f5dc58c69bc98d79b4448f12ee11244a420416b0a5393 +SIZE (nginx-ngx-rust-ac60b788cc1b9e9d5e2e92058b54494dcecb1109_GH0.tar.gz) = 117278 diff --git a/www/nginx-acme/pkg-descr b/www/nginx-acme/pkg-descr new file mode 100644 index 000000000000..28655bae33ab --- /dev/null +++ b/www/nginx-acme/pkg-descr @@ -0,0 +1,2 @@ +ACME shared library for the NGINX OSS server. +This library is the requirement for ACME support. diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile index 1761547744f6..ac2452c94c6f 100644 --- a/www/nginx-devel/Makefile +++ b/www/nginx-devel/Makefile @@ -1,5 +1,7 @@ PORTNAME?= nginx -PORTVERSION= 1.29.1 +PORTVERSION= ${NGINX_VERSION} +.include "version.mk" +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= https://nginx.org/download/ \ LOCAL/osa diff --git a/www/nginx-devel/Makefile.extmod b/www/nginx-devel/Makefile.extmod index a85626300cbf..18273974c667 100644 --- a/www/nginx-devel/Makefile.extmod +++ b/www/nginx-devel/Makefile.extmod @@ -11,7 +11,7 @@ OPTIONS_GROUP_THIRDPARTYGRP= AJP AWS_AUTH BROTLI CACHE_PURGE \ HTTP_PUSH_STREAM HTTP_REDIS HTTP_SLICE_AHEAD HTTP_SUBS_FILTER HTTP_TARANTOOL \ HTTP_UPLOAD HTTP_UPLOAD_PROGRESS HTTP_UPSTREAM_CHECK HTTP_UPSTREAM_FAIR \ HTTP_UPSTREAM_STICKY HTTP_VIDEO_THUMBEXTRACTOR HTTP_ZIP ICONV LET LINK LUA \ - LUASTREAM MEMC MODSECURITY3 NAXSI PASSENGER POSTGRES RDS_CSV RDS_JSON \ + LUASTREAM MEMC MODSECURITY3 NATS NAXSI PASSENGER POSTGRES RDS_CSV RDS_JSON \ REDIS2 RTMP SET_MISC SFLOW SHIBBOLETH SLOWFS_CACHE SRCACHE STS \ VOD VTS XSS WEBSOCKIFY ZSTD @@ -229,6 +229,10 @@ MODSECURITY3_LIB_DEPENDS= libmodsecurity.so:security/modsecurity3 MODSECURITY3_GH_TUPLE= owasp-modsecurity:ModSecurity-nginx:fd28e6a:modsecurity3 MODSECURITY3_VARS= DSO_EXTMODS+=modsecurity3 +NATS_GH_TUPLE= nats-io:nginx-nats:6f7adf1:nats +NATS_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_nats.c +NATS_VARS= DSO_EXTMODS+=nats NATS_SUBDIR=/src + NAXSI_NGINX_VER= 1.7 NAXSI_GH_TUPLE= wargio:naxsi:${NAXSI_NGINX_VER}:naxsi \ libinjection:libinjection:b9fcaaf:libinjection diff --git a/www/nginx-devel/Makefile.options.desc b/www/nginx-devel/Makefile.options.desc index 5e88c02b674e..1c64ea17938e 100644 --- a/www/nginx-devel/Makefile.options.desc +++ b/www/nginx-devel/Makefile.options.desc @@ -87,6 +87,7 @@ MAIL_SMTP_DESC= Enable SMTP proxy module MAIL_SSL_DESC= Enable mail_ssl module MEMC_DESC= 3rd party memc (memcached) module MODSECURITY3_DESC= 3rd party modsecurity3 module +NATS_DESC= 3rd party nats module NAXSI_DESC= 3rd party naxsi module NJS_DESC= Enable javascript (NJS) module OTEL_DESC= Enable OpenTELemetry module diff --git a/www/nginx-devel/distinfo b/www/nginx-devel/distinfo index 7e16c9cce58b..817f95e0210e 100644 --- a/www/nginx-devel/distinfo +++ b/www/nginx-devel/distinfo @@ -1,4 +1,4 @@ -TIMESTAMP = 1755187799 +TIMESTAMP = 1755472140 SHA256 (nginx-1.29.1.tar.gz) = c589f7e7ed801ddbd904afbf3de26ae24eb0cce27c7717a2e94df7fb12d6ad27 SIZE (nginx-1.29.1.tar.gz) = 1285529 SHA256 (nginx_mogilefs_module-1.0.4.tar.gz) = 7ac230d30907f013dff8d435a118619ea6168aa3714dba62c6962d350c6295ae @@ -101,6 +101,8 @@ SHA256 (openresty-memc-nginx-module-v0.20_GH0.tar.gz) = a42dd56dd6e2144755a127bc SIZE (openresty-memc-nginx-module-v0.20_GH0.tar.gz) = 34736 SHA256 (owasp-modsecurity-ModSecurity-nginx-fd28e6a_GH0.tar.gz) = deafee4e4145a73b9369999e261368b34d4f7ff1be2596a559abd9e1d5df5526 SIZE (owasp-modsecurity-ModSecurity-nginx-fd28e6a_GH0.tar.gz) = 1160686 +SHA256 (nats-io-nginx-nats-6f7adf1_GH0.tar.gz) = 2fc9489e85a6d871524dea36ae801b60cbfc2a9f332c91ef3843d5f8e6f79652 +SIZE (nats-io-nginx-nats-6f7adf1_GH0.tar.gz) = 31761 SHA256 (wargio-naxsi-1.7_GH0.tar.gz) = adee817da71913f64a9fb0fca142d9520bb0e5014b1acc797841cd8e31273f4d SIZE (wargio-naxsi-1.7_GH0.tar.gz) = 1132392 SHA256 (libinjection-libinjection-b9fcaaf_GH0.tar.gz) = 7812e1316b61a7a7d3a65a57a07c6d5235ac40fe35e6edda983f31a44661a38e diff --git a/www/nginx-devel/files/extra-patch-ngx_nats.c b/www/nginx-devel/files/extra-patch-ngx_nats.c new file mode 100644 index 000000000000..76c3f2be7864 --- /dev/null +++ b/www/nginx-devel/files/extra-patch-ngx_nats.c @@ -0,0 +1,20 @@ +--- ../nginx-nats-6f7adf1/src/ngx_nats.c.orig 2025-07-25 14:52:57.670444000 -0400 ++++ ../nginx-nats-6f7adf1/src/ngx_nats.c 2025-07-25 14:53:04.538387000 -0400 +@@ -55,7 +55,7 @@ + * we can use for uniqueness and to reach the router in testing. + */ + +-#if (NGX_LINUX) || (NGX_DARWIN) ++#if (NGX_LINUX) || (NGX_DARWIN) || (NGX_FREEBSD) + #include <net/if.h> + #include <ifaddrs.h> + #elif (NGX_WIN32) +@@ -585,7 +585,7 @@ + { + /* TODO: port to Windows when need it, extend to other platforms. */ + +-#if (NGX_LINUX) || (NGX_DARWIN) ++#if (NGX_LINUX) || (NGX_DARWIN) || (NGX_FREEBSD) + + struct ifaddrs *ifaddrs, *ifa; + int rc, family; diff --git a/www/nginx-devel/files/nginx.in b/www/nginx-devel/files/nginx.in index daba266d9192..5ec438dd7342 100644 --- a/www/nginx-devel/files/nginx.in +++ b/www/nginx-devel/files/nginx.in @@ -69,6 +69,7 @@ if [ -n "$2" ]; then required_files="${nginx_configfile}" eval nginx_enable="\${nginx_${profile}_enable:-${nginx_enable}}" eval nginx_flags="\${nginx_${profile}_flags:-${nginx_flags}}" + eval nginx_svcj_options="\${nginx_${profile}_svcj_options:-${nginx_svcj_options}}" eval nginxlimits_enable="\${nginxlimits_${profile}_enable:-${nginxlimits_enable}}" eval nginxlimits_args="\${nginxlimits_${profile}_args:-${nginxlimits_args}}" nginx_flags="-c ${nginx_configfile} -g \"pid ${pidfile};\" ${nginx_flags}" diff --git a/www/nginx-devel/pkg-plist b/www/nginx-devel/pkg-plist index 906d67d94d7c..262046e775dd 100644 --- a/www/nginx-devel/pkg-plist +++ b/www/nginx-devel/pkg-plist @@ -62,6 +62,7 @@ %%DSO%%%%MAIL%%libexec/nginx/ngx_mail_module.so %%DSO%%%%MEMC%%libexec/nginx/ngx_http_memc_module.so %%DSO%%%%MODSECURITY3%%libexec/nginx/ngx_http_modsecurity_module.so +%%DSO%%%%NATS%%libexec/nginx/ngx_nats_module.so %%DSO%%%%NAXSI%%libexec/nginx/ngx_http_naxsi_module.so %%DSO%%%%OTEL%%libexec/nginx/ngx_otel_module.so %%DSO%%%%PASSENGER%%libexec/nginx/ngx_http_passenger_module.so diff --git a/www/nginx-devel/version.mk b/www/nginx-devel/version.mk new file mode 100644 index 000000000000..7b51e340f733 --- /dev/null +++ b/www/nginx-devel/version.mk @@ -0,0 +1 @@ +NGINX_VERSION= 1.29.1 diff --git a/www/nginx-prometheus-exporter/Makefile b/www/nginx-prometheus-exporter/Makefile index 6167ee82436e..5a30c8175be9 100644 --- a/www/nginx-prometheus-exporter/Makefile +++ b/www/nginx-prometheus-exporter/Makefile @@ -1,7 +1,7 @@ PORTNAME= nginx-prometheus-exporter DISTVERSIONPREFIX= v DISTVERSION= 1.4.2 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= www MAINTAINER= arcade@b1t.name diff --git a/www/nginx-vts-exporter/Makefile b/www/nginx-vts-exporter/Makefile index a30cbbe924b2..6e9a22dff444 100644 --- a/www/nginx-vts-exporter/Makefile +++ b/www/nginx-vts-exporter/Makefile @@ -1,7 +1,7 @@ PORTNAME= nginx-vts-exporter DISTVERSIONPREFIX= v DISTVERSION= 0.10.7 -PORTREVISION= 28 +PORTREVISION= 29 CATEGORIES= www MAINTAINER= joneum@FreeBSD.org diff --git a/www/node18/Makefile b/www/node18/Makefile deleted file mode 100644 index 246951a35acb..000000000000 --- a/www/node18/Makefile +++ /dev/null @@ -1,97 +0,0 @@ -PORTNAME= node -PORTVERSION= ${NODEJS_PORTVERSION} -DISTVERSIONPREFIX= v -CATEGORIES= www -MASTER_SITES= https://nodejs.org/dist/v${PORTVERSION}/ -PKGNAMESUFFIX= ${PORTVERSION:R:R} - -MAINTAINER= sunpoet@FreeBSD.org -COMMENT= V8 JavaScript for client and server -WWW= https://nodejs.org/ \ - https://github.com/nodejs/node - -LICENSE= MIT -LICENSE_FILE= ${WRKSRC}/LICENSE - -DEPRECATED= Node.js 18.* has reached its EoL on 2025-04-30. Use Node.js 22.* (www/node22) instead -EXPIRATION_DATE=2025-05-31 -BROKEN_SSL= libressl libressl-devel -BROKEN_SSL_REASON= Node.js ${PORTVERSION:R:R}.x requires OpenSSL or the BUNDLED_SSL option enabled -ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc64 powerpc64le - -BUILD_DEPENDS= brotli>=1.0.9,1:archivers/brotli \ - c-ares>=1.17.2:dns/c-ares \ - libnghttp2>=1.45.1:www/libnghttp2 \ - libuv>=1.42.0:devel/libuv \ - objdump:devel/binutils -LIB_DEPENDS= libbrotlidec.so:archivers/brotli \ - libcares.so:dns/c-ares \ - libnghttp2.so:www/libnghttp2 \ - libuv.so:devel/libuv - -USES= compiler:c++11-lib gmake localbase pkgconfig python:build shebangfix tar:xz - -CONFIGURE_ARGS= --prefix=${PREFIX:S|^${DESTDIR}||} \ - --shared-brotli \ - --shared-cares \ - --shared-libuv \ - --shared-nghttp2 \ - --shared-zlib \ - --without-npm -HAS_CONFIGURE= yes -MAKE_ENV= CC.host="${CCACHE_BIN} ${CC}" \ - CFLAGS.host="${CFLAGS}" \ - CXX.host="${CCACHE_BIN} ${CXX}" \ - CXXFLAGS.host="${CXXFLAGS}" \ - LDFLAGS.host="${LDFLAGS}" \ - LINK.host="${CXX}" -REINPLACE_ARGS= -i '' - -CONFLICTS_INSTALL= node[0-9][0-9] - -SHEBANG_FILES= deps/v8/third_party/inspector_protocol/*.py \ - deps/v8/tools/*.py \ - tools/*.py \ - tools/inspector_protocol/*.py - -OPTIONS_DEFINE= BUNDLED_SSL DOCS ICU JIT -OPTIONS_DEFAULT=ICU JIT -OPTIONS_SUB= yes -BUNDLED_SSL_DESC= Use bundled OpenSSL implementation from node.js -JIT_DESC= Use Just In Time compiler - -BUNDLED_SSL_CONFIGURE_OFF= --openssl-use-def-ca-store --shared-openssl -BUNDLED_SSL_RUN_DEPENDS_OFF= ca_root_nss>=0:security/ca_root_nss -BUNDLED_SSL_USES_OFF= ssl -ICU_BUILD_DEPENDS= icu>=69.1:devel/icu -ICU_CONFIGURE_ON= --with-intl=system-icu -ICU_LIB_DEPENDS= libicui18n.so:devel/icu -JIT_CONFIGURE_OFF= --v8-lite-mode - -.include "Makefile.version" -.include <bsd.port.pre.mk> - -.if ${COMPILER_TYPE} == clang && (${ARCH} == aarch64 || ${ARCH} == armv7 || ${ARCH:Mpowerpc64*}) -CXXFLAGS+= -Wno-error=enum-constexpr-conversion -.endif - -.if ${PORT_OPTIONS:MBUNDLED_SSL} && ${ARCH} != amd64 -CONFIGURE_ARGS+=--openssl-no-asm -.endif - -post-patch: - @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/tools/v8_gypfiles/v8.gyp - -post-configure: - # Post-process Makefile and *.mk files created by node-gyp and remove - # all occurrences of -I${LOCALBASE}/include. C*FLAGS include this - # before all -I../deps/* for bundled code. This can cause build - # breakages if the dependency is installed in ${LOCALBASE}. The - # USES+=localbase # above will ensure that we pick up includes for real - # external dependencies. - ${FIND} ${WRKSRC}/out -type f -print0 | ${XARGS} -0 ${REINPLACE_CMD} -e "s|-I${LOCALBASE}/include||g" - -post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/node - -.include <bsd.port.post.mk> diff --git a/www/node18/Makefile.version b/www/node18/Makefile.version deleted file mode 100644 index 56b46303caec..000000000000 --- a/www/node18/Makefile.version +++ /dev/null @@ -1 +0,0 @@ -NODEJS_PORTVERSION= 18.20.8 diff --git a/www/node18/distinfo b/www/node18/distinfo deleted file mode 100644 index afa8e05297df..000000000000 --- a/www/node18/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1744288758 -SHA256 (node-v18.20.8.tar.xz) = 36a7bf1a76d62ce4badd881ee5974a323c70e1d8d19165732684e145632460d9 -SIZE (node-v18.20.8.tar.xz) = 40654544 diff --git a/www/node18/files/patch-common.gypi b/www/node18/files/patch-common.gypi deleted file mode 100644 index 0f921bf14c8a..000000000000 --- a/www/node18/files/patch-common.gypi +++ /dev/null @@ -1,20 +0,0 @@ ---- common.gypi.orig 2023-09-18 05:18:10 UTC -+++ common.gypi -@@ -426,7 +426,7 @@ - 'ldflags': [ '-m32' ], - }], - [ 'host_arch=="ppc64" and OS not in "aix os400"', { -- 'cflags': [ '-m64', '-mminimal-toc' ], -+ 'cflags': [ '-m64' ], - 'ldflags': [ '-m64' ], - }], - [ 'host_arch=="s390x" and OS=="linux"', { -@@ -450,7 +450,7 @@ - 'ldflags': [ '-m32' ], - }], - [ 'target_arch=="ppc64" and OS not in "aix os400"', { -- 'cflags': [ '-m64', '-mminimal-toc' ], -+ 'cflags': [ '-m64' ], - 'ldflags': [ '-m64' ], - }], - [ 'target_arch=="s390x" and OS=="linux"', { diff --git a/www/node18/files/patch-deps_openssl_config_archs_linux-elf_no-asm_openssl-cl.gypi b/www/node18/files/patch-deps_openssl_config_archs_linux-elf_no-asm_openssl-cl.gypi deleted file mode 100644 index 9a24f1397df0..000000000000 --- a/www/node18/files/patch-deps_openssl_config_archs_linux-elf_no-asm_openssl-cl.gypi +++ /dev/null @@ -1,11 +0,0 @@ ---- deps/openssl/config/archs/linux-elf/no-asm/openssl-cl.gypi.orig 2023-04-12 04:09:13 UTC -+++ deps/openssl/config/archs/linux-elf/no-asm/openssl-cl.gypi -@@ -13,7 +13,7 @@ - '-Wall -O3 -fomit-frame-pointer', - ], - 'openssl_ex_libs_linux-elf': [ -- '-ldl -pthread', -+ '-pthread', - ], - 'openssl_cli_srcs_linux-elf': [ - 'openssl/apps/lib/cmp_mock_srv.c', diff --git a/www/node18/files/patch-deps_openssl_config_archs_linux-elf_no-asm_openssl.gypi b/www/node18/files/patch-deps_openssl_config_archs_linux-elf_no-asm_openssl.gypi deleted file mode 100644 index 43f4e2a7dcaa..000000000000 --- a/www/node18/files/patch-deps_openssl_config_archs_linux-elf_no-asm_openssl.gypi +++ /dev/null @@ -1,11 +0,0 @@ ---- deps/openssl/config/archs/linux-elf/no-asm/openssl.gypi.orig 2023-04-12 04:09:13 UTC -+++ deps/openssl/config/archs/linux-elf/no-asm/openssl.gypi -@@ -977,7 +977,7 @@ - '-Wall -O3 -fomit-frame-pointer', - ], - 'openssl_ex_libs_linux-elf': [ -- '-ldl -pthread', -+ '-pthread', - ], - }, - 'include_dirs': [ diff --git a/www/node18/files/patch-deps_openssl_openssl-cl__no__asm.gypi b/www/node18/files/patch-deps_openssl_openssl-cl__no__asm.gypi deleted file mode 100644 index 0f4e3a84e805..000000000000 --- a/www/node18/files/patch-deps_openssl_openssl-cl__no__asm.gypi +++ /dev/null @@ -1,17 +0,0 @@ ---- deps/openssl/openssl-cl_no_asm.gypi.orig 2024-02-13 21:40:45 UTC -+++ deps/openssl/openssl-cl_no_asm.gypi -@@ -1,4 +1,5 @@ - { -+ 'defines': ['OPENSSL_NO_ASM'], - 'conditions': [ - ['target_arch=="ppc64" and OS in ("aix", "os400")', { - 'includes': ['config/archs/aix64-gcc-as/no-asm/openssl-cl.gypi'], -@@ -45,7 +46,7 @@ - 'includes': ['config/archs/linux64-loongarch64/no-asm/openssl-cl.gypi'], - }, { - # Other architectures don't use assembly -- 'includes': ['config/archs/linux-x86_64/no-asm/openssl-cl.gypi'], -+ 'includes': ['config/archs/linux-elf/no-asm/openssl-cl.gypi'], - }], - ], - } diff --git a/www/node18/files/patch-deps_openssl_openssl__no__asm.gypi b/www/node18/files/patch-deps_openssl_openssl__no__asm.gypi deleted file mode 100644 index aa336fd927fa..000000000000 --- a/www/node18/files/patch-deps_openssl_openssl__no__asm.gypi +++ /dev/null @@ -1,11 +0,0 @@ ---- deps/openssl/openssl_no_asm.gypi.orig 2023-04-12 04:09:14 UTC -+++ deps/openssl/openssl_no_asm.gypi -@@ -44,7 +44,7 @@ - 'includes': ['config/archs/linux64-riscv64/no-asm/openssl.gypi'], - }, { - # Other architectures don't use assembly -- 'includes': ['config/archs/linux-x86_64/no-asm/openssl.gypi'], -+ 'includes': ['config/archs/linux-elf/no-asm/openssl.gypi'], - }], - ], - } diff --git a/www/node18/files/patch-deps_v8_src_base_platform_platform-freebsd.cc b/www/node18/files/patch-deps_v8_src_base_platform_platform-freebsd.cc deleted file mode 100644 index 1983570ba3cc..000000000000 --- a/www/node18/files/patch-deps_v8_src_base_platform_platform-freebsd.cc +++ /dev/null @@ -1,13 +0,0 @@ ---- deps/v8/src/base/platform/platform-freebsd.cc.orig 2023-04-12 04:09:14 UTC -+++ deps/v8/src/base/platform/platform-freebsd.cc -@@ -82,8 +82,8 @@ std::vector<OS::SharedLibraryAddress> OS::GetSharedLib - lib_name = std::string(path); - } - result.push_back(SharedLibraryAddress( -- lib_name, reinterpret_cast<uintptr_t>(map->kve_start), -- reinterpret_cast<uintptr_t>(map->kve_end))); -+ lib_name, static_cast<uintptr_t>(map->kve_start), -+ static_cast<uintptr_t>(map->kve_end))); - } - - start += ssize; diff --git a/www/node18/files/patch-deps_v8_src_codegen_arm_cpu-arm.cc b/www/node18/files/patch-deps_v8_src_codegen_arm_cpu-arm.cc deleted file mode 100644 index 4a34f1968958..000000000000 --- a/www/node18/files/patch-deps_v8_src_codegen_arm_cpu-arm.cc +++ /dev/null @@ -1,18 +0,0 @@ ---- deps/v8/src/codegen/arm/cpu-arm.cc.orig 2023-04-12 04:09:15 UTC -+++ deps/v8/src/codegen/arm/cpu-arm.cc -@@ -2,12 +2,15 @@ - // Use of this source code is governed by a BSD-style license that can be - // found in the LICENSE file. - -+#include "include/v8config.h" -+ - // CPU specific code for arm independent of OS goes here. - #ifdef __arm__ - #ifdef __QNXNTO__ - #include <sys/mman.h> // for cache flushing. - #undef MAP_TYPE - #elif V8_OS_FREEBSD -+#include <sys/cdefs.h> - #include <machine/sysarch.h> // for cache flushing - #include <sys/types.h> - #elif V8_OS_STARBOARD diff --git a/www/node18/files/patch-deps_v8_src_codegen_ppc_constants-ppc.h b/www/node18/files/patch-deps_v8_src_codegen_ppc_constants-ppc.h deleted file mode 100644 index 2bf7c381a87a..000000000000 --- a/www/node18/files/patch-deps_v8_src_codegen_ppc_constants-ppc.h +++ /dev/null @@ -1,20 +0,0 @@ ---- deps/v8/src/codegen/ppc/constants-ppc.h.orig 2023-04-12 04:09:15 UTC -+++ deps/v8/src/codegen/ppc/constants-ppc.h -@@ -36,7 +36,7 @@ - #endif - - #if !(V8_HOST_ARCH_PPC || V8_HOST_ARCH_PPC64) || !V8_TARGET_ARCH_PPC64 || \ -- V8_TARGET_LITTLE_ENDIAN || (defined(_CALL_ELF) && _CALL_ELF == 2) -+ (defined(_CALL_ELF) && _CALL_ELF == 2) - #define ABI_RETURNS_OBJECT_PAIRS_IN_REGS 1 - #else - #define ABI_RETURNS_OBJECT_PAIRS_IN_REGS 0 -@@ -44,7 +44,7 @@ - - #if !(V8_HOST_ARCH_PPC || V8_HOST_ARCH_PPC64) || \ - (V8_TARGET_ARCH_PPC64 && \ -- (V8_TARGET_LITTLE_ENDIAN || (defined(_CALL_ELF) && _CALL_ELF == 2))) -+ (defined(_CALL_ELF) && _CALL_ELF == 2)) - #define ABI_CALL_VIA_IP 1 - #else - #define ABI_CALL_VIA_IP 0 diff --git a/www/node18/files/patch-deps_v8_src_libsampler_sampler.cc b/www/node18/files/patch-deps_v8_src_libsampler_sampler.cc deleted file mode 100644 index 73288a58ab90..000000000000 --- a/www/node18/files/patch-deps_v8_src_libsampler_sampler.cc +++ /dev/null @@ -1,13 +0,0 @@ ---- deps/v8/src/libsampler/sampler.cc.orig 2023-04-12 04:09:15 UTC -+++ deps/v8/src/libsampler/sampler.cc -@@ -497,6 +497,10 @@ void SignalHandler::FillRegisterState(void* context, R - state->pc = reinterpret_cast<void*>(mcontext.__gregs[_REG_PC]); - state->sp = reinterpret_cast<void*>(mcontext.__gregs[_REG_SP]); - state->fp = reinterpret_cast<void*>(mcontext.__gregs[_REG_FP]); -+#elif V8_TARGET_ARCH_PPC64 -+ state->pc = reinterpret_cast<void*>(mcontext.mc_srr0); -+ state->sp = reinterpret_cast<void*>(mcontext.mc_frame[1]); -+ state->fp = reinterpret_cast<void*>(mcontext.mc_frame[31]); - #endif // V8_HOST_ARCH_* - #elif V8_OS_NETBSD - #if V8_HOST_ARCH_IA32 diff --git a/www/node18/files/patch-icu b/www/node18/files/patch-icu deleted file mode 100644 index aef92b469ff6..000000000000 --- a/www/node18/files/patch-icu +++ /dev/null @@ -1,13 +0,0 @@ -Obtained from: https://github.com/nodejs/node/commit/81517faceac86497b3c8717837f491aa29a5e0f9 - ---- configure.py.orig 2024-11-12 00:42:39 UTC -+++ configure.py -@@ -1763,7 +1763,7 @@ def configure_intl(o): - elif with_intl == 'system-icu': - # ICU from pkg-config. - o['variables']['v8_enable_i18n_support'] = 1 -- pkgicu = pkg_config('icu-i18n') -+ pkgicu = pkg_config(['icu-i18n', 'icu-uc']) - if not pkgicu[0]: - error('''Could not load pkg-config data for "icu-i18n". - See above errors or the README.md.''') diff --git a/www/node18/files/patch-libc++19 b/www/node18/files/patch-libc++19 deleted file mode 100644 index 06c023c7028d..000000000000 --- a/www/node18/files/patch-libc++19 +++ /dev/null @@ -1,185 +0,0 @@ -Obtained from: https://chromium.googlesource.com/v8/v8.git/+/182d9c05e78b1ddb1cb8242cd3628a7855a0336f - -commit 182d9c05e78b1ddb1cb8242cd3628a7855a0336f -Author: Andrey Kosyakov <caseq@chromium.org> -Date: 2023-08-17T13:50:11-07:00 - - Define UChar as char16_t - - We used to have UChar defined as uint16_t which does not go along - with STL these days if you try to have an std::basic_string<> of it, - as there are no standard std::char_traits<> specialization for uint16_t. - - This switches UChar to char16_t where practical, introducing a few - compatibility shims to keep CL size small, as (1) this would likely - have to be back-ported and (2) crdtp extensively uses uint16_t for - wide chars. - - Bug: b:296390693 - Change-Id: I66a32d8f0050915225b187de56896c26dd76163d - Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4789966 - Reviewed-by: Jaroslav Sevcik <jarin@chromium.org> - Commit-Queue: Jaroslav Sevcik <jarin@chromium.org> - Auto-Submit: Andrey Kosyakov <caseq@chromium.org> - Cr-Commit-Position: refs/heads/main@{#89559} - -diff --git deps/v8/src/inspector/string-16.cc deps/v8/src/inspector/string-16.cc -index a8b786a8166..6df9963e970 100644 ---- deps/v8/src/inspector/string-16.cc -+++ deps/v8/src/inspector/string-16.cc -@@ -27,7 +27,7 @@ bool isSpaceOrNewLine(UChar c) { - return isASCII(c) && c <= ' ' && (c == ' ' || (c <= 0xD && c >= 0x9)); - } - --int64_t charactersToInteger(const UChar* characters, size_t length, -+int64_t charactersToInteger(const uint16_t* characters, size_t length, - bool* ok = nullptr) { - std::vector<char> buffer; - buffer.reserve(length + 1); -@@ -50,6 +50,8 @@ String16::String16(const UChar* characters, size_t siz - - String16::String16(const UChar* characters, size_t size) - : m_impl(characters, size) {} -+String16::String16(const uint16_t* characters, size_t size) -+ : m_impl(reinterpret_cast<const UChar*>(characters), size) {} - - String16::String16(const UChar* characters) : m_impl(characters) {} - -@@ -231,6 +233,10 @@ String16 String16::fromUTF16LE(const UChar* stringStar - // No need to do anything on little endian machines. - return String16(stringStart, length); - #endif // V8_TARGET_BIG_ENDIAN -+} -+ -+String16 String16::fromUTF16LE(const uint16_t* stringStart, size_t length) { -+ return fromUTF16LE(reinterpret_cast<const UChar*>(stringStart), length); - } - - std::string String16::utf8() const { -diff --git deps/v8/src/inspector/string-16.h deps/v8/src/inspector/string-16.h -index 1678ffb2e1e..d9f6c466ab1 100644 ---- deps/v8/src/inspector/string-16.h -+++ deps/v8/src/inspector/string-16.h -@@ -6,6 +6,7 @@ - #define V8_INSPECTOR_STRING_16_H_ - - #include <stdint.h> -+#include <uchar.h> - - #include <cctype> - #include <climits> -@@ -17,7 +18,7 @@ namespace v8_inspector { - - namespace v8_inspector { - --using UChar = uint16_t; -+using UChar = char16_t; - - class String16 { - public: -@@ -27,6 +28,7 @@ class String16 { - String16(const String16&) V8_NOEXCEPT = default; - String16(String16&&) V8_NOEXCEPT = default; - String16(const UChar* characters, size_t size); -+ String16(const uint16_t* characters, size_t size); - V8_EXPORT String16(const UChar* characters); - V8_EXPORT String16(const char* characters); - String16(const char* characters, size_t size); -@@ -47,7 +49,9 @@ class String16 { - uint64_t toUInt64(bool* ok = nullptr) const; - int toInteger(bool* ok = nullptr) const; - String16 stripWhiteSpace() const; -- const UChar* characters16() const { return m_impl.c_str(); } -+ const uint16_t* characters16() const { -+ return reinterpret_cast<const uint16_t*>(m_impl.c_str()); -+ } - size_t length() const { return m_impl.length(); } - bool isEmpty() const { return !m_impl.length(); } - UChar operator[](size_t index) const { return m_impl[index]; } -@@ -76,6 +80,8 @@ class String16 { - // Instantiates a String16 in native endianness from UTF16 LE. - // On Big endian architectures, byte order needs to be flipped. - V8_EXPORT static String16 fromUTF16LE(const UChar* stringStart, -+ size_t length); -+ V8_EXPORT static String16 fromUTF16LE(const uint16_t* stringStart, - size_t length); - - std::size_t hash() const { -diff --git deps/v8/src/inspector/v8-string-conversions.cc deps/v8/src/inspector/v8-string-conversions.cc -index 0c75e66b972..8cf19be816c 100644 ---- deps/v8/src/inspector/v8-string-conversions.cc -+++ deps/v8/src/inspector/v8-string-conversions.cc -@@ -12,7 +12,7 @@ namespace { - - namespace v8_inspector { - namespace { --using UChar = uint16_t; -+using UChar = char16_t; - using UChar32 = uint32_t; - - bool isASCII(UChar c) { return !(c & ~0x7F); } -@@ -386,7 +386,7 @@ std::basic_string<UChar> UTF8ToUTF16(const char* strin - - std::basic_string<UChar> UTF8ToUTF16(const char* stringStart, size_t length) { - if (!stringStart || !length) return std::basic_string<UChar>(); -- std::vector<uint16_t> buffer(length); -+ std::vector<UChar> buffer(length); - UChar* bufferStart = buffer.data(); - - UChar* bufferCurrent = bufferStart; -@@ -395,7 +395,7 @@ std::basic_string<UChar> UTF8ToUTF16(const char* strin - reinterpret_cast<const char*>(stringStart + length), - &bufferCurrent, bufferCurrent + buffer.size(), nullptr, - true) != conversionOK) -- return std::basic_string<uint16_t>(); -+ return std::basic_string<UChar>(); - size_t utf16Length = bufferCurrent - bufferStart; - return std::basic_string<UChar>(bufferStart, bufferStart + utf16Length); - } -diff --git deps/v8/src/inspector/v8-string-conversions.h deps/v8/src/inspector/v8-string-conversions.h -index eb33c6816a5..1126255dac2 100644 ---- deps/v8/src/inspector/v8-string-conversions.h -+++ deps/v8/src/inspector/v8-string-conversions.h -@@ -5,14 +5,16 @@ - #ifndef V8_INSPECTOR_V8_STRING_CONVERSIONS_H_ - #define V8_INSPECTOR_V8_STRING_CONVERSIONS_H_ - -+#include <uchar.h> -+ - #include <cstdint> - #include <string> - - // Conversion routines between UT8 and UTF16, used by string-16.{h,cc}. You may - // want to use string-16.h directly rather than these. - namespace v8_inspector { --std::basic_string<uint16_t> UTF8ToUTF16(const char* stringStart, size_t length); --std::string UTF16ToUTF8(const uint16_t* stringStart, size_t length); -+std::basic_string<char16_t> UTF8ToUTF16(const char* stringStart, size_t length); -+std::string UTF16ToUTF8(const char16_t* stringStart, size_t length); - } // namespace v8_inspector - - #endif // V8_INSPECTOR_V8_STRING_CONVERSIONS_H_ -diff --git deps/v8/third_party/inspector_protocol/crdtp/test_platform_v8.cc deps/v8/third_party/inspector_protocol/crdtp/test_platform_v8.cc -index c9d89eaa42f..1a46d781b89 100644 ---- deps/v8/third_party/inspector_protocol/crdtp/test_platform_v8.cc -+++ deps/v8/third_party/inspector_protocol/crdtp/test_platform_v8.cc -@@ -11,13 +11,16 @@ std::string UTF16ToUTF8(span<uint16_t> in) { - namespace v8_crdtp { - - std::string UTF16ToUTF8(span<uint16_t> in) { -- return v8_inspector::UTF16ToUTF8(in.data(), in.size()); -+ return v8_inspector::UTF16ToUTF8(reinterpret_cast<const char16_t*>(in.data()), -+ in.size()); - } - - std::vector<uint16_t> UTF8ToUTF16(span<uint8_t> in) { -- std::basic_string<uint16_t> utf16 = v8_inspector::UTF8ToUTF16( -+ std::basic_string<char16_t> utf16 = v8_inspector::UTF8ToUTF16( - reinterpret_cast<const char*>(in.data()), in.size()); -- return std::vector<uint16_t>(utf16.begin(), utf16.end()); -+ return std::vector<uint16_t>( -+ reinterpret_cast<const uint16_t*>(utf16.data()), -+ reinterpret_cast<const uint16_t*>(utf16.data()) + utf16.size()); - } - - } // namespace v8_crdtp diff --git a/www/node18/files/patch-node.gypi b/www/node18/files/patch-node.gypi deleted file mode 100644 index d76ca9efd2f4..000000000000 --- a/www/node18/files/patch-node.gypi +++ /dev/null @@ -1,12 +0,0 @@ ---- node.gypi.orig 2023-04-12 04:09:19 UTC -+++ node.gypi -@@ -349,6 +349,9 @@ - [ 'node_use_openssl=="true"', { - 'defines': [ 'HAVE_OPENSSL=1' ], - 'conditions': [ -+ ['openssl_no_asm==1', { -+ 'defines': [ 'OPENSSL_NO_ASM' ], -+ }], - [ 'node_shared_openssl=="false"', { - 'defines': [ 'OPENSSL_API_COMPAT=0x10100000L', ], - 'dependencies': [ diff --git a/www/node18/files/patch-openssl3 b/www/node18/files/patch-openssl3 deleted file mode 100644 index 9066f5b9df9e..000000000000 --- a/www/node18/files/patch-openssl3 +++ /dev/null @@ -1,15 +0,0 @@ ---- src/crypto/crypto_util.cc.orig 2023-04-12 04:09:19 UTC -+++ src/crypto/crypto_util.cc -@@ -195,10 +195,12 @@ void InitCryptoOnce() { - // No-op with OPENSSL_NO_COMP builds of OpenSSL. - sk_SSL_COMP_zero(SSL_COMP_get_compression_methods()); - -+#if OPENSSL_VERSION_MAJOR < 3 - #ifndef OPENSSL_NO_ENGINE - ERR_load_ENGINE_strings(); - ENGINE_load_builtin_engines(); - #endif // !OPENSSL_NO_ENGINE -+#endif - } - - void GetFipsCrypto(const FunctionCallbackInfo<Value>& args) { diff --git a/www/node18/files/patch-src_cares__wrap.h b/www/node18/files/patch-src_cares__wrap.h deleted file mode 100644 index ab73ea7d2c4e..000000000000 --- a/www/node18/files/patch-src_cares__wrap.h +++ /dev/null @@ -1,11 +0,0 @@ ---- src/cares_wrap.h.orig 2023-04-12 04:09:19 UTC -+++ src/cares_wrap.h -@@ -23,7 +23,7 @@ - # include <netdb.h> - #endif // __POSIX__ - --# include <ares_nameser.h> -+# include <arpa/nameser.h> - - namespace node { - namespace cares_wrap { diff --git a/www/node18/files/patch-tools_install.py b/www/node18/files/patch-tools_install.py deleted file mode 100644 index 3ed0c2a799c5..000000000000 --- a/www/node18/files/patch-tools_install.py +++ /dev/null @@ -1,11 +0,0 @@ ---- tools/install.py.orig 2024-01-30 11:17:06 UTC -+++ tools/install.py -@@ -186,7 +186,7 @@ def files(action): - action(['deps/v8/tools/gdbinit'], 'share/doc/node/') - action(['deps/v8/tools/lldb_commands.py'], 'share/doc/node/') - -- if 'freebsd' in sys.platform or 'openbsd' in sys.platform: -+ if 'openbsd' in sys.platform: - action(['doc/node.1'], 'man/man1/') - else: - action(['doc/node.1'], 'share/man/man1/') diff --git a/www/node18/files/patch-tools_v8__gypfiles_v8.gyp b/www/node18/files/patch-tools_v8__gypfiles_v8.gyp deleted file mode 100644 index 32853c6bfc17..000000000000 --- a/www/node18/files/patch-tools_v8__gypfiles_v8.gyp +++ /dev/null @@ -1,11 +0,0 @@ ---- tools/v8_gypfiles/v8.gyp.orig 2023-04-12 04:09:21 UTC -+++ tools/v8_gypfiles/v8.gyp -@@ -977,7 +977,7 @@ - }], - # Platforms that don't have Compare-And-Swap (CAS) support need to link atomic library - # to implement atomic memory access -- ['v8_current_cpu in ["mips", "mipsel", "mips64", "mips64el", "ppc", "arm", "riscv64", "loong64"]', { -+ ['v8_current_cpu in ["mips", "mipsel", "mips64", "mips64el", "ppc", "riscv64", "loong64"]', { - 'link_settings': { - 'libraries': ['-latomic', ], - }, diff --git a/www/node18/pkg-descr b/www/node18/pkg-descr deleted file mode 100644 index aed88d828d57..000000000000 --- a/www/node18/pkg-descr +++ /dev/null @@ -1,2 +0,0 @@ -Node.js is a free, open-source, cross-platform JavaScript runtime environment -that lets developers create servers, web apps, command line tools and scripts. diff --git a/www/node18/pkg-message b/www/node18/pkg-message deleted file mode 100644 index ddea08386149..000000000000 --- a/www/node18/pkg-message +++ /dev/null @@ -1,7 +0,0 @@ -[ -{ type: install - message: <<EOM -Note: If you need npm (Node Package Manager), please install www/npm. -EOM -} -] diff --git a/www/node18/pkg-plist b/www/node18/pkg-plist deleted file mode 100644 index f872c41dbf15..000000000000 --- a/www/node18/pkg-plist +++ /dev/null @@ -1,2332 +0,0 @@ -bin/corepack -bin/node -include/node/common.gypi -include/node/config.gypi -include/node/cppgc/common.h -include/node/js_native_api.h -include/node/js_native_api_types.h -include/node/libplatform/libplatform-export.h -include/node/libplatform/libplatform.h -include/node/libplatform/v8-tracing.h -include/node/node.h -include/node/node_api.h -include/node/node_api_types.h -include/node/node_buffer.h -include/node/node_object_wrap.h -include/node/node_version.h -%%BUNDLED_SSL%%include/node/openssl/aes.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/asm_avx2/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/no-asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/asm_avx2/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/no-asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/asm_avx2/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/no-asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64-ARM/no-asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/asm_avx2/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/no-asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/asm_avx2/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc-as/no-asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/asm_avx2/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/no-asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/asm_avx2/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-arm64-cc/no-asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/no-asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/asm_avx2/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/no-asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/asm_avx2/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/no-asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/asm_avx2/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/no-asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/asm_avx2/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64le/no-asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/asm_avx2/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/no-asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/asm_avx2/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/no-asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/asm_avx2/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-mips64/no-asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-riscv64/no-asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/asm_avx2/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/no-asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/asm_avx2/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/no-asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/crypto/buildinf.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/crypto/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/crypto/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/progs.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/providers/common/include/prov/der_digests.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/providers/common/include/prov/der_dsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/providers/common/include/prov/der_ec.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/providers/common/include/prov/der_ecx.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/providers/common/include/prov/der_rsa.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/providers/common/include/prov/der_sm2.h -%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/providers/common/include/prov/der_wrap.h -%%BUNDLED_SSL%%include/node/openssl/asn1.h -%%BUNDLED_SSL%%include/node/openssl/asn1_asm.h -%%BUNDLED_SSL%%include/node/openssl/asn1_mac.h -%%BUNDLED_SSL%%include/node/openssl/asn1_no-asm.h -%%BUNDLED_SSL%%include/node/openssl/asn1err.h -%%BUNDLED_SSL%%include/node/openssl/asn1t.h -%%BUNDLED_SSL%%include/node/openssl/asn1t_asm.h -%%BUNDLED_SSL%%include/node/openssl/asn1t_no-asm.h -%%BUNDLED_SSL%%include/node/openssl/async.h -%%BUNDLED_SSL%%include/node/openssl/asyncerr.h -%%BUNDLED_SSL%%include/node/openssl/bio.h -%%BUNDLED_SSL%%include/node/openssl/bio_asm.h -%%BUNDLED_SSL%%include/node/openssl/bio_no-asm.h -%%BUNDLED_SSL%%include/node/openssl/bioerr.h -%%BUNDLED_SSL%%include/node/openssl/blowfish.h -%%BUNDLED_SSL%%include/node/openssl/bn.h -%%BUNDLED_SSL%%include/node/openssl/bn_conf.h -%%BUNDLED_SSL%%include/node/openssl/bn_conf_asm.h -%%BUNDLED_SSL%%include/node/openssl/bn_conf_no-asm.h -%%BUNDLED_SSL%%include/node/openssl/bnerr.h -%%BUNDLED_SSL%%include/node/openssl/buffer.h -%%BUNDLED_SSL%%include/node/openssl/buffererr.h -%%BUNDLED_SSL%%include/node/openssl/camellia.h -%%BUNDLED_SSL%%include/node/openssl/cast.h -%%BUNDLED_SSL%%include/node/openssl/cmac.h -%%BUNDLED_SSL%%include/node/openssl/cmp.h -%%BUNDLED_SSL%%include/node/openssl/cmp_asm.h -%%BUNDLED_SSL%%include/node/openssl/cmp_no-asm.h -%%BUNDLED_SSL%%include/node/openssl/cmp_util.h -%%BUNDLED_SSL%%include/node/openssl/cmperr.h -%%BUNDLED_SSL%%include/node/openssl/cms.h -%%BUNDLED_SSL%%include/node/openssl/cms_asm.h -%%BUNDLED_SSL%%include/node/openssl/cms_no-asm.h -%%BUNDLED_SSL%%include/node/openssl/cmserr.h -%%BUNDLED_SSL%%include/node/openssl/comp.h -%%BUNDLED_SSL%%include/node/openssl/comperr.h -%%BUNDLED_SSL%%include/node/openssl/conf.h -%%BUNDLED_SSL%%include/node/openssl/conf_api.h -%%BUNDLED_SSL%%include/node/openssl/conf_asm.h -%%BUNDLED_SSL%%include/node/openssl/conf_no-asm.h -%%BUNDLED_SSL%%include/node/openssl/conferr.h -%%BUNDLED_SSL%%include/node/openssl/configuration.h -%%BUNDLED_SSL%%include/node/openssl/configuration_asm.h -%%BUNDLED_SSL%%include/node/openssl/configuration_no-asm.h -%%BUNDLED_SSL%%include/node/openssl/conftypes.h -%%BUNDLED_SSL%%include/node/openssl/core.h -%%BUNDLED_SSL%%include/node/openssl/core_dispatch.h -%%BUNDLED_SSL%%include/node/openssl/core_names.h -%%BUNDLED_SSL%%include/node/openssl/core_object.h -%%BUNDLED_SSL%%include/node/openssl/crmf.h -%%BUNDLED_SSL%%include/node/openssl/crmf_asm.h -%%BUNDLED_SSL%%include/node/openssl/crmf_no-asm.h -%%BUNDLED_SSL%%include/node/openssl/crmferr.h -%%BUNDLED_SSL%%include/node/openssl/crypto.h -%%BUNDLED_SSL%%include/node/openssl/crypto_asm.h -%%BUNDLED_SSL%%include/node/openssl/crypto_no-asm.h -%%BUNDLED_SSL%%include/node/openssl/cryptoerr.h -%%BUNDLED_SSL%%include/node/openssl/cryptoerr_legacy.h -%%BUNDLED_SSL%%include/node/openssl/ct.h -%%BUNDLED_SSL%%include/node/openssl/ct_asm.h -%%BUNDLED_SSL%%include/node/openssl/ct_no-asm.h -%%BUNDLED_SSL%%include/node/openssl/cterr.h -%%BUNDLED_SSL%%include/node/openssl/decoder.h -%%BUNDLED_SSL%%include/node/openssl/decodererr.h -%%BUNDLED_SSL%%include/node/openssl/des.h -%%BUNDLED_SSL%%include/node/openssl/dh.h -%%BUNDLED_SSL%%include/node/openssl/dherr.h -%%BUNDLED_SSL%%include/node/openssl/dsa.h -%%BUNDLED_SSL%%include/node/openssl/dsaerr.h -%%BUNDLED_SSL%%include/node/openssl/dso_conf.h -%%BUNDLED_SSL%%include/node/openssl/dso_conf_asm.h -%%BUNDLED_SSL%%include/node/openssl/dso_conf_no-asm.h -%%BUNDLED_SSL%%include/node/openssl/dtls1.h -%%BUNDLED_SSL%%include/node/openssl/e_os2.h -%%BUNDLED_SSL%%include/node/openssl/ebcdic.h -%%BUNDLED_SSL%%include/node/openssl/ec.h -%%BUNDLED_SSL%%include/node/openssl/ecdh.h -%%BUNDLED_SSL%%include/node/openssl/ecdsa.h -%%BUNDLED_SSL%%include/node/openssl/ecerr.h -%%BUNDLED_SSL%%include/node/openssl/encoder.h -%%BUNDLED_SSL%%include/node/openssl/encodererr.h -%%BUNDLED_SSL%%include/node/openssl/engine.h -%%BUNDLED_SSL%%include/node/openssl/engineerr.h -%%BUNDLED_SSL%%include/node/openssl/err.h -%%BUNDLED_SSL%%include/node/openssl/err_asm.h -%%BUNDLED_SSL%%include/node/openssl/err_no-asm.h -%%BUNDLED_SSL%%include/node/openssl/ess.h -%%BUNDLED_SSL%%include/node/openssl/ess_asm.h -%%BUNDLED_SSL%%include/node/openssl/ess_no-asm.h -%%BUNDLED_SSL%%include/node/openssl/esserr.h -%%BUNDLED_SSL%%include/node/openssl/evp.h -%%BUNDLED_SSL%%include/node/openssl/evperr.h -%%BUNDLED_SSL%%include/node/openssl/fips_names.h -%%BUNDLED_SSL%%include/node/openssl/fipskey.h -%%BUNDLED_SSL%%include/node/openssl/fipskey_asm.h -%%BUNDLED_SSL%%include/node/openssl/fipskey_no-asm.h -%%BUNDLED_SSL%%include/node/openssl/hmac.h -%%BUNDLED_SSL%%include/node/openssl/http.h -%%BUNDLED_SSL%%include/node/openssl/httperr.h -%%BUNDLED_SSL%%include/node/openssl/idea.h -%%BUNDLED_SSL%%include/node/openssl/kdf.h -%%BUNDLED_SSL%%include/node/openssl/kdferr.h -%%BUNDLED_SSL%%include/node/openssl/lhash.h -%%BUNDLED_SSL%%include/node/openssl/lhash_asm.h -%%BUNDLED_SSL%%include/node/openssl/lhash_no-asm.h -%%BUNDLED_SSL%%include/node/openssl/macros.h -%%BUNDLED_SSL%%include/node/openssl/md2.h -%%BUNDLED_SSL%%include/node/openssl/md4.h -%%BUNDLED_SSL%%include/node/openssl/md5.h -%%BUNDLED_SSL%%include/node/openssl/mdc2.h -%%BUNDLED_SSL%%include/node/openssl/modes.h -%%BUNDLED_SSL%%include/node/openssl/obj_mac.h -%%BUNDLED_SSL%%include/node/openssl/objects.h -%%BUNDLED_SSL%%include/node/openssl/objectserr.h -%%BUNDLED_SSL%%include/node/openssl/ocsp.h -%%BUNDLED_SSL%%include/node/openssl/ocsp_asm.h -%%BUNDLED_SSL%%include/node/openssl/ocsp_no-asm.h -%%BUNDLED_SSL%%include/node/openssl/ocsperr.h -%%BUNDLED_SSL%%include/node/openssl/opensslconf.h -%%BUNDLED_SSL%%include/node/openssl/opensslconf_asm.h -%%BUNDLED_SSL%%include/node/openssl/opensslv.h -%%BUNDLED_SSL%%include/node/openssl/opensslv_asm.h -%%BUNDLED_SSL%%include/node/openssl/opensslv_no-asm.h -%%BUNDLED_SSL%%include/node/openssl/ossl_typ.h -%%BUNDLED_SSL%%include/node/openssl/param_build.h -%%BUNDLED_SSL%%include/node/openssl/params.h -%%BUNDLED_SSL%%include/node/openssl/pem.h -%%BUNDLED_SSL%%include/node/openssl/pem2.h -%%BUNDLED_SSL%%include/node/openssl/pemerr.h -%%BUNDLED_SSL%%include/node/openssl/pkcs12.h -%%BUNDLED_SSL%%include/node/openssl/pkcs12_asm.h -%%BUNDLED_SSL%%include/node/openssl/pkcs12_no-asm.h -%%BUNDLED_SSL%%include/node/openssl/pkcs12err.h -%%BUNDLED_SSL%%include/node/openssl/pkcs7.h -%%BUNDLED_SSL%%include/node/openssl/pkcs7_asm.h -%%BUNDLED_SSL%%include/node/openssl/pkcs7_no-asm.h -%%BUNDLED_SSL%%include/node/openssl/pkcs7err.h -%%BUNDLED_SSL%%include/node/openssl/prov_ssl.h -%%BUNDLED_SSL%%include/node/openssl/proverr.h -%%BUNDLED_SSL%%include/node/openssl/provider.h -%%BUNDLED_SSL%%include/node/openssl/quic.h -%%BUNDLED_SSL%%include/node/openssl/rand.h -%%BUNDLED_SSL%%include/node/openssl/randerr.h -%%BUNDLED_SSL%%include/node/openssl/rc2.h -%%BUNDLED_SSL%%include/node/openssl/rc4.h -%%BUNDLED_SSL%%include/node/openssl/rc5.h -%%BUNDLED_SSL%%include/node/openssl/ripemd.h -%%BUNDLED_SSL%%include/node/openssl/rsa.h -%%BUNDLED_SSL%%include/node/openssl/rsaerr.h -%%BUNDLED_SSL%%include/node/openssl/safestack.h -%%BUNDLED_SSL%%include/node/openssl/safestack_asm.h -%%BUNDLED_SSL%%include/node/openssl/safestack_no-asm.h -%%BUNDLED_SSL%%include/node/openssl/seed.h -%%BUNDLED_SSL%%include/node/openssl/self_test.h -%%BUNDLED_SSL%%include/node/openssl/sha.h -%%BUNDLED_SSL%%include/node/openssl/srp.h -%%BUNDLED_SSL%%include/node/openssl/srp_asm.h -%%BUNDLED_SSL%%include/node/openssl/srp_no-asm.h -%%BUNDLED_SSL%%include/node/openssl/srtp.h -%%BUNDLED_SSL%%include/node/openssl/ssl.h -%%BUNDLED_SSL%%include/node/openssl/ssl2.h -%%BUNDLED_SSL%%include/node/openssl/ssl3.h -%%BUNDLED_SSL%%include/node/openssl/ssl_asm.h -%%BUNDLED_SSL%%include/node/openssl/ssl_no-asm.h -%%BUNDLED_SSL%%include/node/openssl/sslerr.h -%%BUNDLED_SSL%%include/node/openssl/sslerr_legacy.h -%%BUNDLED_SSL%%include/node/openssl/stack.h -%%BUNDLED_SSL%%include/node/openssl/store.h -%%BUNDLED_SSL%%include/node/openssl/storeerr.h -%%BUNDLED_SSL%%include/node/openssl/symhacks.h -%%BUNDLED_SSL%%include/node/openssl/tls1.h -%%BUNDLED_SSL%%include/node/openssl/trace.h -%%BUNDLED_SSL%%include/node/openssl/ts.h -%%BUNDLED_SSL%%include/node/openssl/tserr.h -%%BUNDLED_SSL%%include/node/openssl/txt_db.h -%%BUNDLED_SSL%%include/node/openssl/types.h -%%BUNDLED_SSL%%include/node/openssl/ui.h -%%BUNDLED_SSL%%include/node/openssl/ui_asm.h -%%BUNDLED_SSL%%include/node/openssl/ui_no-asm.h -%%BUNDLED_SSL%%include/node/openssl/uierr.h -%%BUNDLED_SSL%%include/node/openssl/whrlpool.h -%%BUNDLED_SSL%%include/node/openssl/x509.h -%%BUNDLED_SSL%%include/node/openssl/x509_asm.h -%%BUNDLED_SSL%%include/node/openssl/x509_no-asm.h -%%BUNDLED_SSL%%include/node/openssl/x509_vfy.h -%%BUNDLED_SSL%%include/node/openssl/x509_vfy_asm.h -%%BUNDLED_SSL%%include/node/openssl/x509_vfy_no-asm.h -%%BUNDLED_SSL%%include/node/openssl/x509err.h -%%BUNDLED_SSL%%include/node/openssl/x509v3.h -%%BUNDLED_SSL%%include/node/openssl/x509v3_asm.h -%%BUNDLED_SSL%%include/node/openssl/x509v3_no-asm.h -%%BUNDLED_SSL%%include/node/openssl/x509v3err.h -include/node/v8-array-buffer.h -include/node/v8-callbacks.h -include/node/v8-container.h -include/node/v8-context.h -include/node/v8-data.h -include/node/v8-date.h -include/node/v8-debug.h -include/node/v8-embedder-heap.h -include/node/v8-embedder-state-scope.h -include/node/v8-exception.h -include/node/v8-extension.h -include/node/v8-external.h -include/node/v8-forward.h -include/node/v8-function-callback.h -include/node/v8-function.h -include/node/v8-initialization.h -include/node/v8-internal.h -include/node/v8-isolate.h -include/node/v8-json.h -include/node/v8-local-handle.h -include/node/v8-locker.h -include/node/v8-maybe.h -include/node/v8-memory-span.h -include/node/v8-message.h -include/node/v8-microtask-queue.h -include/node/v8-microtask.h -include/node/v8-object.h -include/node/v8-persistent-handle.h -include/node/v8-platform.h -include/node/v8-primitive-object.h -include/node/v8-primitive.h -include/node/v8-profiler.h -include/node/v8-promise.h -include/node/v8-proxy.h -include/node/v8-regexp.h -include/node/v8-script.h -include/node/v8-snapshot.h -include/node/v8-statistics.h -include/node/v8-template.h -include/node/v8-traced-handle.h -include/node/v8-typed-array.h -include/node/v8-unwinder.h -include/node/v8-value-serializer.h -include/node/v8-value.h -include/node/v8-version.h -include/node/v8-wasm.h -include/node/v8-weak-callback-info.h -include/node/v8.h -include/node/v8config.h -lib/node_modules/corepack/CHANGELOG.md -lib/node_modules/corepack/LICENSE.md -lib/node_modules/corepack/README.md -lib/node_modules/corepack/dist/corepack.js -lib/node_modules/corepack/dist/lib/corepack.cjs -lib/node_modules/corepack/dist/npm.js -lib/node_modules/corepack/dist/npx.js -lib/node_modules/corepack/dist/pnpm.js -lib/node_modules/corepack/dist/pnpx.js -lib/node_modules/corepack/dist/yarn.js -lib/node_modules/corepack/dist/yarnpkg.js -lib/node_modules/corepack/package.json -lib/node_modules/corepack/shims/corepack -lib/node_modules/corepack/shims/corepack.cmd -lib/node_modules/corepack/shims/corepack.ps1 -lib/node_modules/corepack/shims/nodewin/corepack -lib/node_modules/corepack/shims/nodewin/corepack.cmd -lib/node_modules/corepack/shims/nodewin/corepack.ps1 -lib/node_modules/corepack/shims/nodewin/npm -lib/node_modules/corepack/shims/nodewin/npm.cmd -lib/node_modules/corepack/shims/nodewin/npm.ps1 -lib/node_modules/corepack/shims/nodewin/npx -lib/node_modules/corepack/shims/nodewin/npx.cmd -lib/node_modules/corepack/shims/nodewin/npx.ps1 -lib/node_modules/corepack/shims/nodewin/pnpm -lib/node_modules/corepack/shims/nodewin/pnpm.cmd -lib/node_modules/corepack/shims/nodewin/pnpm.ps1 -lib/node_modules/corepack/shims/nodewin/pnpx -lib/node_modules/corepack/shims/nodewin/pnpx.cmd -lib/node_modules/corepack/shims/nodewin/pnpx.ps1 -lib/node_modules/corepack/shims/nodewin/yarn -lib/node_modules/corepack/shims/nodewin/yarn.cmd -lib/node_modules/corepack/shims/nodewin/yarn.ps1 -lib/node_modules/corepack/shims/nodewin/yarnpkg -lib/node_modules/corepack/shims/nodewin/yarnpkg.cmd -lib/node_modules/corepack/shims/nodewin/yarnpkg.ps1 -lib/node_modules/corepack/shims/npm -lib/node_modules/corepack/shims/npm.cmd -lib/node_modules/corepack/shims/npm.ps1 -lib/node_modules/corepack/shims/npx -lib/node_modules/corepack/shims/npx.cmd -lib/node_modules/corepack/shims/npx.ps1 -lib/node_modules/corepack/shims/pnpm -lib/node_modules/corepack/shims/pnpm.cmd -lib/node_modules/corepack/shims/pnpm.ps1 -lib/node_modules/corepack/shims/pnpx -lib/node_modules/corepack/shims/pnpx.cmd -lib/node_modules/corepack/shims/pnpx.ps1 -lib/node_modules/corepack/shims/yarn -lib/node_modules/corepack/shims/yarn.cmd -lib/node_modules/corepack/shims/yarn.ps1 -lib/node_modules/corepack/shims/yarnpkg -lib/node_modules/corepack/shims/yarnpkg.cmd -lib/node_modules/corepack/shims/yarnpkg.ps1 -%%PORTDOCS%%%%DOCSDIR%%/gdbinit -%%PORTDOCS%%%%DOCSDIR%%/lldb_commands.py -@(,,444) share/man/man1/node.1.gz -share/systemtap/tapset/node.stp diff --git a/www/npm-node18/Makefile b/www/npm-node18/Makefile deleted file mode 100644 index c6d909bf0ca2..000000000000 --- a/www/npm-node18/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -DEPRECATED= Depeneds on expired www/node18. Node.js 18.* has reached its EoL on 2025-04-30. -EXPIRATION_DATE=2025-09-01 - -USES= nodejs:18,run - -MASTERDIR= ${.CURDIR}/../npm-node22 - -.include "${MASTERDIR}/Makefile" diff --git a/www/nyxt/Makefile b/www/nyxt/Makefile index 4459a8f14a34..2d23c176f281 100644 --- a/www/nyxt/Makefile +++ b/www/nyxt/Makefile @@ -1,7 +1,7 @@ PORTNAME= nyxt DISTVERSION= 3.12.0 DISTVERSIONSUFFIX= -source-with-submodules -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= https://github.com/atlas-engineer/${PORTNAME}/releases/download/${DISTVERSION}/ diff --git a/www/oneshot/Makefile b/www/oneshot/Makefile index ccad153799dc..994eab1f13ac 100644 --- a/www/oneshot/Makefile +++ b/www/oneshot/Makefile @@ -1,7 +1,7 @@ PORTNAME= oneshot DISTVERSIONPREFIX= v DISTVERSION= 1.5.1 -PORTREVISION= 30 +PORTREVISION= 31 CATEGORIES= www MAINTAINER= lcook@FreeBSD.org diff --git a/www/onlyoffice-documentserver/Makefile b/www/onlyoffice-documentserver/Makefile index fae9b93955d8..a41f0027e3d5 100644 --- a/www/onlyoffice-documentserver/Makefile +++ b/www/onlyoffice-documentserver/Makefile @@ -1,12 +1,12 @@ PORTNAME= onlyoffice-documentserver DISTVERSIONPREFIX= v -DISTVERSION= 9.0.3.31 +DISTVERSION= 9.0.4 CATEGORIES= www MASTER_SITES+= LOCAL/mikael/v8/:source1 \ - https://nodejs.org/dist/v${NODE_VERSION_PKGFETCH}/:source3 \ + https://nodejs.org/dist/v${PKGFETCH_NODE_VERSION}/:source3 \ SF/optipng/OptiPNG/optipng-0.7.8/:source4 DISTFILES+= v8-8.9.255.25_all.tar.gz:source1 \ - node-v${NODE_VERSION_PKGFETCH}.tar.gz:source3 \ + node-v${PKGFETCH_NODE_VERSION}.tar.gz:source3 \ optipng-0.7.8.tar.gz:source4 MAINTAINER= fsbruva@yahoo.com @@ -16,7 +16,13 @@ WWW= https://www.onlyoffice.com/ LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt -BROKEN_i386= fails to build +ONLY_FOR_ARCHS= aarch64 amd64 +ONLY_FOR_ARCHS_REASON= "Upstream only supports amd64 and arm64" + +# node version used with "npm install @yao-pkg/pkg@6.6.0" +# keep in sync with patch-build__tools_scripts_build__server.py and patch-document-server-package_Makefile +PKGFETCH_NODE_VERSION= 20.19.4 +DS_BUILD= 50 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \ boost-libs>0:devel/boost-libs \ @@ -24,16 +30,17 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \ gn:devel/gn \ java:java/openjdk11 \ ninja:devel/ninja \ - npm:www/npm-node20 \ - ${LOCALBASE}/lib/libcrypto.a:security/openssl + npm:www/npm-node20 + LIB_DEPENDS= libboost_regex.so:devel/boost-libs \ libetonyek-0.1.so:graphics/libetonyek01 \ libcurl.so:ftp/curl \ libharfbuzz.so:print/harfbuzz \ libiconv.so:converters/libiconv \ - libicutu.so:devel/icu \ + libicuuc.so:devel/icu \ libodfgen-0.1.so:textproc/libodfgen01 \ librevenge-0.0.so:textproc/librevenge + RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}supervisor>0:sysutils/py-supervisor@${PY_FLAVOR} \ ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss \ gsed:textproc/gsed \ @@ -42,55 +49,60 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}supervisor>0:sysutils/py-supervisor@${PY_FLA rabbitmq>0:net/rabbitmq \ webfonts>=0:x11-fonts/webfonts -USES= autoreconf:build dos2unix fakeroot gmake gnome iconv localbase nodejs:22,build pkgconfig \ - python:3.9+,build qt:5 trigger -USE_QT= qmake:build +USES= autoreconf:build dos2unix fakeroot gmake gnome iconv localbase pkgconfig \ + python:3.9+,build qt:5 ssl:build trigger + +DOS2UNIX_FILES= document-server-package/common/documentserver/nginx/includes/http-common.conf.m4 + USE_GITHUB= yes GH_ACCOUNT= ONLYOFFICE GH_PROJECT= DocumentServer -GH_TAGNAME= v${DISTVERSION:C/^([0-9]+\.[0-9]+\.[0-9]+).*/\1/} -GH_TUPLE= ONLYOFFICE:core:v${DISTVERSION}:core/core \ - ONLYOFFICE:core-fonts:v${DISTVERSION}:corefonts/core-fonts \ - ONLYOFFICE:dictionaries:v${DISTVERSION}:dictionaries/dictionaries \ - ONLYOFFICE:document-server-integration:v${DISTVERSION}:dsi/document-server-integration \ - ONLYOFFICE:document-templates:v${DISTVERSION}:dt/document-templates \ - ONLYOFFICE:sdkjs:v${DISTVERSION}:sdkjs/sdkjs \ - ONLYOFFICE:server:v${DISTVERSION}:server/server \ - ONLYOFFICE:web-apps:v${DISTVERSION}:webapps/web-apps \ - ONLYOFFICE:build_tools:v${DISTVERSION}:buildtools/build_tools \ +DS_TAGNAME= ${DISTVERSIONPREFIX}${DISTVERSION}.${DS_BUILD} +GH_TUPLE= ONLYOFFICE:core:${DS_TAGNAME}:core/core \ + ONLYOFFICE:core-fonts:${DS_TAGNAME}:corefonts/core-fonts \ + ONLYOFFICE:dictionaries:${DS_TAGNAME}:dictionaries/dictionaries \ + ONLYOFFICE:document-server-integration:${DS_TAGNAME}:dsi/document-server-integration \ + ONLYOFFICE:document-templates:${DS_TAGNAME}:dt/document-templates \ + ONLYOFFICE:sdkjs:${DS_TAGNAME}:sdkjs/sdkjs \ + ONLYOFFICE:server:${DS_TAGNAME}:server/server \ + ONLYOFFICE:web-apps:${DS_TAGNAME}:webapps/web-apps \ + ONLYOFFICE:build_tools:${DS_TAGNAME}:buildtools/build_tools \ ONLYOFFICE:DocumentBuilder:626d1e44db3d06ceb8298215a67ef0475912d89a:document_builder/DocumentBuilder \ ONLYOFFICE:onlyoffice.github.io:b26d001664d771df4f663d2d3ba7dd4a188b6cab:sdkjs_plugins_v1/onlyoffice.github.io \ - ONLYOFFICE:document-server-package:v${DISTVERSION}:dsp/document-server-package \ + ONLYOFFICE:document-server-package:${DS_TAGNAME}:dsp/document-server-package \ jasenhuang:katana-parser:be6df45:jasenhuang_katana/core/Common/3dParty/html/katana-parser \ google:gumbo-parser:aa91b27:google_gumbo/core/Common/3dParty/html/gumbo-parser \ + google:brotli:a47d747:google_brotli/core/Common/3dParty/brotli/brotli \ hunspell:hyphen:73dd296:hunspell_hyphen/core/Common/3dParty/hyphen/hyphen \ mity:md4c:481fbfb:mity_md4c/core/Common/3dParty/md/md4c \ - fsbruva:onlyoffice-DS-pkg-cache:v${NODE_VERSION_PKGFETCH}:pkg_cache/ \ - fsbruva:onlyoffice-DS-npm-cache:v${DISTVERSION}-20250721:npm_cache/ + fsbruva:onlyoffice-DS-pkg-cache:v${PKGFETCH_NODE_VERSION}:pkg_cache/ \ + fsbruva:onlyoffice-DS-npm-cache:${DS_TAGNAME}-20250831:npm_cache/ -OPTIONS_SINGLE= DB -OPTIONS_SINGLE_DB= MYSQL PGSQL -OPTIONS_DEFAULT= PGSQL +USE_LDCONFIG= yes +USE_QT= qmake:build -MYSQL_USES+= mysql:client -PGSQL_USES+= pgsql -PGSQL_VARS= WANT_PGSQL=client +MAKE_ENV= BUILD_NUMBER=${DS_BUILD} \ + npm_package_config_node_gyp_nodedir=${LOCALBASE} \ + npm_package_config_node_gyp_python=${PYTHON_CMD} \ + PKG_CACHE_PATH=${WRKDIR}/.pkg-cache \ + PRODUCT_VERSION=${DISTVERSION} \ + PYTHON=${PYTHON_CMD} -BINARY_ALIAS= python=${PYTHON_CMD} \ - strip=true -USE_LDCONFIG= yes +# Don't create __pycache__ directory when executing node-gyp +# This is a workaround to avoid filesystem violations during poudriere build +MAKE_ENV+= PYTHONDONTWRITEBYTECODE=1 -WWWDIR= ${PREFIX}/www/onlyoffice -ETCDIR= ${PREFIX}/etc/onlyoffice +CONFLICTS_BUILD= devel/googletest -DS_USERNAME= onlyoffice -DS_GROUPNAME= onlyoffice +# do not strip docservice, converter, metrics and json +STRIP= -USERS= ${DS_USERNAME} -GROUPS= ${DS_GROUPNAME} +ETCDIR= ${PREFIX}/etc/onlyoffice +WWWDIR= ${PREFIX}/www/onlyoffice + +BINARY_ALIAS= python=${PYTHON_CMD} \ + strip=true -PLIST_SUB= DS_GROUPNAME=${DS_GROUPNAME} \ - DS_USERNAME=${DS_USERNAME} SUB_FILES= pkg-message \ onlyoffice.newsyslog.sample SUB_LIST= DS_GROUPNAME=${DS_GROUPNAME} \ @@ -99,32 +111,32 @@ SUB_LIST= DS_GROUPNAME=${DS_GROUPNAME} \ PREFIX=${PREFIX} \ WWWDIR=${WWWDIR} -# node version used with "npm install @yao-pkg/pkg@6.6.0" -# keep in sync with patch-build__tools_scripts_build__server.py and patch-document-server-package_Makefile -NODE_VERSION_PKGFETCH= 20.19.4 +DS_USERNAME= onlyoffice +DS_GROUPNAME= onlyoffice -MAKE_ENV= BUILD_NUMBER="31" \ - PKG_CACHE_PATH=${WRKDIR}/.pkg-cache \ - PRODUCT_VERSION=${DISTVERSION:C/^([0-9]+\.[0-9]+\.[0-9]+).*/\1/} \ - BUILD_NUMBER=${DISTVERSION:C/^[0-9]+\.[0-9]+\.[0-9]+\.([0-9]+)/\1/} +USERS= ${DS_USERNAME} +GROUPS= ${DS_GROUPNAME} -# Don't create __pycache__ directory when executing node-gyp -# This is a workaround to avoid filesystem violations during poudriere build -MAKE_ENV+= PYTHONDONTWRITEBYTECODE=1 +PLIST_SUB= DS_GROUPNAME=${DS_GROUPNAME} \ + DS_USERNAME=${DS_USERNAME} -DOS2UNIX_FILES= document-server-package/common/documentserver/nginx/includes/http-common.conf.m4 +OPTIONS_DEFAULT= PGSQL +OPTIONS_SINGLE= DB +OPTIONS_SINGLE_DB= MYSQL PGSQL -CONFLICTS_BUILD=devel/googletest +MYSQL_USES+= mysql:client +PGSQL_USES+= pgsql +PGSQL_VARS= WANT_PGSQL=client .include <bsd.port.pre.mk> -.if ${ARCH} == aarch64 || ${ARCH} == armv7 +.if ${ARCH} == aarch64 BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} -BINARY_ALIAS+= cpp=${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} \ - cc=${LOCALBASE}/bin/clang${LLVM_DEFAULT} \ +BINARY_ALIAS+= ar=${LOCALBASE}/bin/llvm-ar${LLVM_DEFAULT} \ c++=${LOCALBASE}/bin/clang++${LLVM_DEFAULT} \ - ar=${LOCALBASE}/bin/llvm-ar${LLVM_DEFAULT} \ - nm=${LOCALBASE}/bin/llvm-nm${LLVM_DEFAULT} \ - ld=${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT} + cc=${LOCALBASE}/bin/clang${LLVM_DEFAULT} \ + cpp=${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} \ + ld=${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT} \ + nm=${LOCALBASE}/bin/llvm-nm${LLVM_DEFAULT} .endif post-extract: @@ -132,7 +144,7 @@ post-extract: @${LN} -s ${WRKSRC_npm_cache} ${WRKDIR}/.npm @${LN} -s ${WRKSRC_pkg_cache} ${WRKDIR}/.pkg-cache - @${CP} ${DISTDIR}/node-v${NODE_VERSION_PKGFETCH}.tar.gz ${WRKDIR}/.pkg-cache/node + @${CP} ${DISTDIR}/node-v${PKGFETCH_NODE_VERSION}.tar.gz ${WRKDIR}/.pkg-cache/node @${MKDIR} ${WRKSRC}/sdkjs-plugins/v1 @${CP} ${WRKSRC}/onlyoffice.github.io/sdkjs-plugins/v1/* ${WRKSRC}/sdkjs-plugins/v1 @@ -147,7 +159,7 @@ post-extract: ${WRKSRC}/document-server-package/common/documentserver/supervisor .endfor -post-patch: +pre-configure: @${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/build_tools/tools/freebsd/automate.py \ ${WRKSRC}/core/Apple/IWork.pro \ @@ -164,7 +176,8 @@ post-patch: ${WRKSRC}/document-server-package/common/documentserver/bin/documentserver-update-securelink.sh.m4 \ ${WRKSRC}/document-server-package/common/documentserver/supervisor/ds-converter.conf \ ${WRKSRC}/document-server-package/common/documentserver/supervisor/ds-docservice.conf \ - ${WRKSRC}/document-server-package/common/documentserver/supervisor/ds-metrics.conf + ${WRKSRC}/document-server-package/common/documentserver/supervisor/ds-metrics.conf \ + ${WRKSRC}/server/Metrics/patches/modern-syslog+1.2.0.patch @${REINPLACE_CMD} -e 's|%%CC%%|${CC}|' -e 's|%%CXX%%|${CXX}|' \ ${WRKSRC}/core/Common/3dParty/v8_89/v8/build/toolchain/gcc_toolchain.gni \ ${WRKSRC}/core/Common/base.pri @@ -174,6 +187,9 @@ post-patch: ${WRKSRC}/build_tools/scripts/build_js.py \ ${WRKSRC}/build_tools/scripts/build_server.py \ ${WRKSRC}/document-server-package/Makefile + @${REINPLACE_CMD} 's|%%PKGFETCH_NODE_MAJOR_VERSION%%|${PKGFETCH_NODE_VERSION:C/^([0-9]+)\..*/\1/}|' \ + ${WRKSRC}/build_tools/scripts/build_server.py \ + ${WRKSRC}/document-server-package/Makefile @${REINPLACE_CMD} -e 's|/var/lib|/var/db|' -e 's|/var/www|${LOCALBASE}/www|' \ -e 's|/usr/share|${LOCALBASE}/share|' -e 's|/etc|${LOCALBASE}/etc|' \ ${WRKSRC}/server/Common/config/production-freebsd.json \ @@ -184,6 +200,7 @@ post-patch: ${WRKSRC}/document-server-package/common/documentserver/bin/documentserver-flush-cache.sh.m4 \ ${WRKSRC}/document-server-package/Makefile @${RM} ${WRKSRC}/web-apps/build/patches/optipng-bin+5.1.0.patch.orig + @${RM} ${WRKSRC}/server/Metrics/patches/modern-syslog+1.2.0.patch.orig @${FIND} ${WRKSRC}/server -type f -name npm-shrinkwrap.json -delete @@ -202,6 +219,10 @@ do-build: @cd ${WRKSRC}/server ; ${SETENV} ${MAKE_ENV} npm install grunt-cli @cd ${WRKSRC}/server ; ${SETENV} ${MAKE_ENV} npm install grunt + @cd ${WRKSRC}/server/Metrics ; ${SETENV} ${MAKE_ENV} npm install modern-syslog@1.2.0 --ignore-scripts + @cd ${WRKSRC}/server/Metrics ; ${SETENV} ${MAKE_ENV} npm install patch-package + @cd ${WRKSRC}/server/Metrics ; node_modules/.bin/patch-package + @cd ${WRKSRC}/server/Metrics/node_modules/modern-syslog ; ${SETENV} ${MAKE_ENV} ${GMAKE} @cd ${WRKSRC}/sdkjs ; ${SETENV} ${MAKE_ENV} npm install grunt-cli @cd ${WRKSRC}/sdkjs ; ${SETENV} ${MAKE_ENV} npm install grunt @@ -210,7 +231,7 @@ do-build: @cd ${WRKSRC}/yao-pkg ; ${SETENV} ${MAKE_ENV} npm install @yao-pkg/pkg@6.6.0 @cd ${WRKSRC} && ${PATCH} -N -s -i ${FILESDIR}/extra-patch-pkg-fetch_lib-es5_build.js || ${TRUE} - @cd ${WRKSRC} && ${PATCH} -N -s -i ${FILESDIR}/extra-patch-pkg-fetch_patches_node.v${NODE_VERSION_PKGFETCH}.cpp.patch || ${TRUE} + @cd ${WRKSRC} && ${PATCH} -N -s -i ${FILESDIR}/extra-patch-pkg-fetch_patches_node.v${PKGFETCH_NODE_VERSION}.cpp.patch || ${TRUE} cd ${WRKSRC}/build_tools/tools/freebsd ; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} automate.py cd ${WRKSRC}/document-server-package ; ${SETENV} ${MAKE_ENV} ${GMAKE} freebsd @@ -236,7 +257,9 @@ do-install: cd ${WRKSRC}/document-server-package/common/documentserver/supervisor && ${COPYTREE_SHARE} . ${STAGEDIR}${ETCDIR}/documentserver/supervisor "-name *\.conf" cd ${WRKSRC}/document-server-package/common/documentserver/logrotate && ${COPYTREE_SHARE} . ${STAGEDIR}${ETCDIR}/documentserver/logrotate "-name *\.conf" @${CP} ${WRKSRC}/document-server-package/common/documentserver/nginx/ds-ssl.conf.tmpl ${WRKSRC}/document-server-package/common/documentserver/nginx/ds-ssl.conf -.for f in ds.conf ds-ssl.conf includes/http-common.conf includes/ds-common.conf includes/ds-docservice.conf includes/ds-letsencrypt.conf includes/ds-mime.types.conf +.for f in ds.conf ds-ssl.conf includes/http-common.conf includes/ds-common.conf \ + includes/ds-docservice.conf includes/ds-letsencrypt.conf \ + includes/ds-mime.types.conf ${INSTALL_DATA} ${WRKSRC}/document-server-package/common/documentserver/nginx/${f} ${STAGEDIR}${ETCDIR}/documentserver/nginx/${f}.sample .endfor @echo "# Production ds-cache.conf is created automatically by documentserver-flush-cache.sh" > ${STAGEDIR}${ETCDIR}/documentserver/nginx/includes/ds-cache.conf.sample @@ -262,9 +285,9 @@ do-install: create-caches-tarball: # do some cleanup first ${RM} -r ${WRKDIR}/.npm/_logs ${WRKDIR}/.npm/_update-notifier-last-checked ${WRKDIR}/.cache/yarn/v6/.tmp ${WRKDIR}/.cache/node-gyp -# ${FIND} ${WRKDIR}/.cache -type f -perm 755 -exec file {} \; | ${EGREP} "ELF|PE32+|Mach-O" | ${AWK} -F ':' '{print $$1}' | ${XARGS} ${RM} - ${FIND} ${WRKDIR}/.pkg-cache -type f -perm 755 -exec file {} \; | ${EGREP} "ELF|PE32+|Mach-O" | ${AWK} -F ':' '{print $$1}' | ${XARGS} ${RM} - ${FIND} ${WRKDIR}/.pkg-cache -type f -perm 644 -exec file {} \; | ${EGREP} -v "${NODE_VERSION_PKGFETCH}" | ${EGREP} "built-v|node-v" | ${EGREP} "tar.gz|sha256sum" | ${AWK} -F ':' '{print $$1}' | ${XARGS} ${RM} +# ${FIND} ${WRKDIR}/.cache -type f -perm 755 -exec ${FILE} {} \; | ${EGREP} "ELF|PE32+|Mach-O" | ${AWK} -F ':' '{print $$1}' | ${XARGS} ${RM} + ${FIND} ${WRKDIR}/.pkg-cache -type f -perm 755 -exec ${FILE} {} \; | ${EGREP} "ELF|PE32+|Mach-O" | ${AWK} -F ':' '{print $$1}' | ${XARGS} ${RM} + ${FIND} ${WRKDIR}/.pkg-cache -type f -perm 644 -exec ${FILE} {} \; | ${EGREP} -v "${PKGFETCH_NODE_VERSION}" | ${EGREP} "built-v|node-v" | ${EGREP} "tar.gz|sha256sum" | ${AWK} -F ':' '{print $$1}' | ${XARGS} ${RM} # cd ${WRKDIR} && \ # ${TAR} czf ${PORTNAME}-${DISTVERSION}_`date +%Y%m%d`-npm-cache.tar.gz .npm .pkg-cache diff --git a/www/onlyoffice-documentserver/distinfo b/www/onlyoffice-documentserver/distinfo index c9bcfbbcf825..7fd9dbac7c4d 100644 --- a/www/onlyoffice-documentserver/distinfo +++ b/www/onlyoffice-documentserver/distinfo @@ -1,45 +1,47 @@ -TIMESTAMP = 1753116846 +TIMESTAMP = 1756745621 SHA256 (v8-8.9.255.25_all.tar.gz) = 54853ef93accc063a82a0dc29457b25c9b6d88315431d62e06ab1f84797c5f80 SIZE (v8-8.9.255.25_all.tar.gz) = 72818814 SHA256 (node-v20.19.4.tar.gz) = cc363c0a90fe5025939175c1c29ab67235f36ebe4b5d78506634da27a73eef5d SIZE (node-v20.19.4.tar.gz) = 89308973 SHA256 (optipng-0.7.8.tar.gz) = 25a3bd68481f21502ccaa0f4c13f84dcf6b20338e4c4e8c51f2cefbd8513398c SIZE (optipng-0.7.8.tar.gz) = 3294014 -SHA256 (ONLYOFFICE-DocumentServer-v9.0.3.31-v9.0.3_GH0.tar.gz) = 9f12f50e2460b1199c24661d4f88ad349385dcc441740291b9f8e110686ef360 -SIZE (ONLYOFFICE-DocumentServer-v9.0.3.31-v9.0.3_GH0.tar.gz) = 973386 -SHA256 (ONLYOFFICE-core-v9.0.3.31_GH0.tar.gz) = fa6b4b2f729b4dd6d7ac6bf5393fd8ed5a3a821f3f7a376dcff891c81a8a59a4 -SIZE (ONLYOFFICE-core-v9.0.3.31_GH0.tar.gz) = 205214176 -SHA256 (ONLYOFFICE-core-fonts-v9.0.3.31_GH0.tar.gz) = 48fbe7bac524f21b9b146d8242ec9968cdb94b825aae6171cc30a285b5dd7189 -SIZE (ONLYOFFICE-core-fonts-v9.0.3.31_GH0.tar.gz) = 95377304 -SHA256 (ONLYOFFICE-dictionaries-v9.0.3.31_GH0.tar.gz) = c23a98195b429d0a8e2ed06d5119c41a3246f585ccf4d1ba5f74af9327e6dec4 -SIZE (ONLYOFFICE-dictionaries-v9.0.3.31_GH0.tar.gz) = 57973415 -SHA256 (ONLYOFFICE-document-server-integration-v9.0.3.31_GH0.tar.gz) = 2af3f3c324ec434e26649f1fa62fb9f01180b196ba44484d5c2be9b67de602b2 -SIZE (ONLYOFFICE-document-server-integration-v9.0.3.31_GH0.tar.gz) = 6129610 -SHA256 (ONLYOFFICE-document-templates-v9.0.3.31_GH0.tar.gz) = 5e12565edaf35cd44b8263fcf8182dcd18b84bb8a9a45404bf2a48cc75e3e9a6 -SIZE (ONLYOFFICE-document-templates-v9.0.3.31_GH0.tar.gz) = 3914552 -SHA256 (ONLYOFFICE-sdkjs-v9.0.3.31_GH0.tar.gz) = c043f08e86218f8b85d3a9e5d9303fa46376959cbcdd9debf02ea74f55fdf886 -SIZE (ONLYOFFICE-sdkjs-v9.0.3.31_GH0.tar.gz) = 37755295 -SHA256 (ONLYOFFICE-server-v9.0.3.31_GH0.tar.gz) = b398762099b6a0a4006bcfb332de22f09be01a83b25352a9f42cc93ae6429246 -SIZE (ONLYOFFICE-server-v9.0.3.31_GH0.tar.gz) = 4082661 -SHA256 (ONLYOFFICE-web-apps-v9.0.3.31_GH0.tar.gz) = 40bdf74edc25934b1b0339e08813bbf891b4c7ca3e4fdfe1752d787b3df31bec -SIZE (ONLYOFFICE-web-apps-v9.0.3.31_GH0.tar.gz) = 443570310 -SHA256 (ONLYOFFICE-build_tools-v9.0.3.31_GH0.tar.gz) = 04a08acf1317ac14c45efea6af565667a64a3aea873e2e0549f695fc6a4b4374 -SIZE (ONLYOFFICE-build_tools-v9.0.3.31_GH0.tar.gz) = 33872416 +SHA256 (ONLYOFFICE-DocumentServer-v9.0.4_GH0.tar.gz) = 3315ceaa8b2e07359838d6119a48bf917e60faca8a4480129d5609a217e96f7d +SIZE (ONLYOFFICE-DocumentServer-v9.0.4_GH0.tar.gz) = 974618 +SHA256 (ONLYOFFICE-core-v9.0.4.50_GH0.tar.gz) = eef733db5a8a1b9dfef972eff1c067ab28d1bc22151a0873dfc46dfcb897f22c +SIZE (ONLYOFFICE-core-v9.0.4.50_GH0.tar.gz) = 205212964 +SHA256 (ONLYOFFICE-core-fonts-v9.0.4.50_GH0.tar.gz) = cde61fa272da392386d4055e9df27175e20e9b8d2a352b4b878746b2159d1a3d +SIZE (ONLYOFFICE-core-fonts-v9.0.4.50_GH0.tar.gz) = 95376498 +SHA256 (ONLYOFFICE-dictionaries-v9.0.4.50_GH0.tar.gz) = 5d001458ca1632fcddcfc9b521047d5c1de443bd1ca458ed323540c592d8a3c6 +SIZE (ONLYOFFICE-dictionaries-v9.0.4.50_GH0.tar.gz) = 57973408 +SHA256 (ONLYOFFICE-document-server-integration-v9.0.4.50_GH0.tar.gz) = 3d000d2e82fed9d65b3642cfaa080178175e166698e218651f56f591cadb8e14 +SIZE (ONLYOFFICE-document-server-integration-v9.0.4.50_GH0.tar.gz) = 6129159 +SHA256 (ONLYOFFICE-document-templates-v9.0.4.50_GH0.tar.gz) = 958ce54f58f0d8f36149e62ee395e7c68e536a7d7320b02b135325d2c297be49 +SIZE (ONLYOFFICE-document-templates-v9.0.4.50_GH0.tar.gz) = 3914529 +SHA256 (ONLYOFFICE-sdkjs-v9.0.4.50_GH0.tar.gz) = fd620863636d6de8c1c7e8643f1b0fc29f3fb19f5128bc06ad06d97796f35d36 +SIZE (ONLYOFFICE-sdkjs-v9.0.4.50_GH0.tar.gz) = 37960532 +SHA256 (ONLYOFFICE-server-v9.0.4.50_GH0.tar.gz) = 14f392a47a6084c4b57bdcf7811577699f9297a54ac43e1ff99fed7508ffdb20 +SIZE (ONLYOFFICE-server-v9.0.4.50_GH0.tar.gz) = 4213827 +SHA256 (ONLYOFFICE-web-apps-v9.0.4.50_GH0.tar.gz) = 3d4e8a7df920ed8eb283bb03fec9fb0785d0f6a201a9980ad4be1893fa39b6f7 +SIZE (ONLYOFFICE-web-apps-v9.0.4.50_GH0.tar.gz) = 444518582 +SHA256 (ONLYOFFICE-build_tools-v9.0.4.50_GH0.tar.gz) = d52aacc9d97ed5a0b1174150e5b5b708e44d72718d6d43707ff76bf8ab56a375 +SIZE (ONLYOFFICE-build_tools-v9.0.4.50_GH0.tar.gz) = 33885000 SHA256 (ONLYOFFICE-DocumentBuilder-626d1e44db3d06ceb8298215a67ef0475912d89a_GH0.tar.gz) = 275c3a8c993528fa56c69aedb11dd74a6fba9c3bd372874004584ae9cbb190b5 SIZE (ONLYOFFICE-DocumentBuilder-626d1e44db3d06ceb8298215a67ef0475912d89a_GH0.tar.gz) = 31659 SHA256 (ONLYOFFICE-onlyoffice.github.io-b26d001664d771df4f663d2d3ba7dd4a188b6cab_GH0.tar.gz) = 347b8f1d3c21b1f61a3f1fcae86f402b27ce4f8b826e18158834251046d83cf5 SIZE (ONLYOFFICE-onlyoffice.github.io-b26d001664d771df4f663d2d3ba7dd4a188b6cab_GH0.tar.gz) = 17009005 -SHA256 (ONLYOFFICE-document-server-package-v9.0.3.31_GH0.tar.gz) = 301068c8feb5a50aa7c8c882099dfea0cb0f99ea155784e95b3870dd71635c38 -SIZE (ONLYOFFICE-document-server-package-v9.0.3.31_GH0.tar.gz) = 186645 +SHA256 (ONLYOFFICE-document-server-package-v9.0.4.50_GH0.tar.gz) = a94e3a4558afc09ff9e7fab1bb4e334015b0e5e0ff723334b714358f820c684a +SIZE (ONLYOFFICE-document-server-package-v9.0.4.50_GH0.tar.gz) = 186664 SHA256 (jasenhuang-katana-parser-be6df45_GH0.tar.gz) = 363ede45ba6d125fdb7323c43d34acd3d0ae9028ac18aec632eb6a623160f09a SIZE (jasenhuang-katana-parser-be6df45_GH0.tar.gz) = 97712 SHA256 (google-gumbo-parser-aa91b27_GH0.tar.gz) = 1360f85c02fb2573a10f00abcddebc8f1ff277a16f66553439193af93afae335 SIZE (google-gumbo-parser-aa91b27_GH0.tar.gz) = 2119417 +SHA256 (google-brotli-a47d747_GH0.tar.gz) = 695f229d346b006a335d0fe38290af986785d57f3b2a42654e2bc103823f5dd8 +SIZE (google-brotli-a47d747_GH0.tar.gz) = 638096 SHA256 (hunspell-hyphen-73dd296_GH0.tar.gz) = 93e80ad69ee7afd507b12f0b58ca34a6a78347dcbb5fe5d9b6f0e19b02397ef7 SIZE (hunspell-hyphen-73dd296_GH0.tar.gz) = 292528 SHA256 (mity-md4c-481fbfb_GH0.tar.gz) = 04e03a69a2783ab5f2449f8864499dabb150092d5f48415a5e423f762a209d54 SIZE (mity-md4c-481fbfb_GH0.tar.gz) = 238753 SHA256 (fsbruva-onlyoffice-DS-pkg-cache-v20.19.4_GH0.tar.gz) = d3b6a1ad3afdfd53b57809980ae83434ae727d421e9e383ae69c32e37a570918 SIZE (fsbruva-onlyoffice-DS-pkg-cache-v20.19.4_GH0.tar.gz) = 1292 -SHA256 (fsbruva-onlyoffice-DS-npm-cache-v9.0.3.31-20250721_GH0.tar.gz) = 7f3f935337e91c1d1d7f8d2b3e0456dbac15b617581ac064ffd322082c488fb7 -SIZE (fsbruva-onlyoffice-DS-npm-cache-v9.0.3.31-20250721_GH0.tar.gz) = 162622276 +SHA256 (fsbruva-onlyoffice-DS-npm-cache-v9.0.4.50-20250831_GH0.tar.gz) = 3f25ca729d9ec2f58342376f4be9e6d545364495f2dce0fc0dd0bdb0d5f7a6f0 +SIZE (fsbruva-onlyoffice-DS-npm-cache-v9.0.4.50-20250831_GH0.tar.gz) = 163105782 diff --git a/www/onlyoffice-documentserver/files/npm b/www/onlyoffice-documentserver/files/npm index 63b3d2d821f1..303b86ba9102 100644 --- a/www/onlyoffice-documentserver/files/npm +++ b/www/onlyoffice-documentserver/files/npm @@ -1,3 +1,3 @@ #!/bin/sh -exec %%LOCALBASE%%/bin/npm --offline --nodedir=%%LOCALBASE%% "$@" -#exec %%LOCALBASE%%/bin/npm --nodedir=%%LOCALBASE%% "$@" +exec %%LOCALBASE%%/bin/npm --offline "$@" +#exec %%LOCALBASE%%/bin/npm "$@" diff --git a/www/onlyoffice-documentserver/files/patch-build__tools_scripts_build__server.py b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_build__server.py index 74dddee61746..4d6a198f38f6 100644 --- a/www/onlyoffice-documentserver/files/patch-build__tools_scripts_build__server.py +++ b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_build__server.py @@ -1,8 +1,11 @@ --- build_tools/scripts/build_server.py.orig 2025-06-11 12:56:35 UTC +++ build_tools/scripts/build_server.py -@@ -41,6 +41,10 @@ def make(): +@@ -39,8 +39,12 @@ + base.copy_file(custom_public_key, server_dir + '/Common/sources') + #node22 packaging has issue https://github.com/yao-pkg/pkg/issues/87 - pkg_target = "node20" +- pkg_target = "node20" ++ pkg_target = "node%%PKGFETCH_NODE_MAJOR_VERSION%%" + if ("freebsd" == base.host_platform()): + pkg_target += "-freebsd" @@ -11,7 +14,7 @@ if ("linux" == base.host_platform()): pkg_target += "-linux" if (-1 != config.option("platform").find("linux_arm64")): -@@ -49,14 +53,15 @@ def make(): +@@ -49,14 +53,15 @@ if ("windows" == base.host_platform()): pkg_target += "-win" diff --git a/www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_make__common.py b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_make__common.py index c1fbe9c44b38..cea340cf686e 100644 --- a/www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_make__common.py +++ b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_make__common.py @@ -1,6 +1,6 @@ ---- build_tools/scripts/core_common/make_common.py.orig 2025-06-11 12:56:35 UTC +--- build_tools/scripts/core_common/make_common.py.orig 2025-08-05 15:06:08 UTC +++ build_tools/scripts/core_common/make_common.py -@@ -8,21 +8,21 @@ import config +@@ -8,22 +8,22 @@ import config import base import glob @@ -22,6 +22,7 @@ +#import hunspell import glew import harfbuzz + import oo_brotli -import hyphen -import googletest +#import hyphen @@ -29,7 +30,7 @@ import libvlc def check_android_ndk_macos_arm(dir): -@@ -38,19 +38,19 @@ def make(): +@@ -39,19 +39,19 @@ def make(): if base.is_dir(toolchain): check_android_ndk_macos_arm(toolchain + "/prebuilt") @@ -54,6 +55,6 @@ - googletest.make() +# hyphen.make() +# googletest.make() + oo_brotli.make() if config.check_option("build-libvlc", "1"): - libvlc.make() diff --git a/www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_modules_iwork.py b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_modules_iwork.py index fc7d27d3fabf..74b86c964128 100644 --- a/www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_modules_iwork.py +++ b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_modules_iwork.py @@ -1,5 +1,5 @@ ---- build_tools/scripts/core_common/modules/iwork.py.orig 2025-03-08 16:01:52.467009000 +0100 -+++ build_tools/scripts/core_common/modules/iwork.py 2025-03-08 16:19:57.046228000 +0100 +--- build_tools/scripts/core_common/modules/iwork.py.orig 2025-08-05 15:06:08 UTC ++++ build_tools/scripts/core_common/modules/iwork.py @@ -30,9 +30,9 @@ def make(use_gperf = True): if use_gperf: cmd_args.append("--gperf") diff --git a/www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_modules_v8.py b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_modules_v8.py index b2204a037714..2b9632e8092f 100644 --- a/www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_modules_v8.py +++ b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_modules_v8.py @@ -1,14 +1,14 @@ ---- build_tools/scripts/core_common/modules/v8.py.orig 2024-02-07 10:44:24.000000000 +0100 -+++ build_tools/scripts/core_common/modules/v8.py 2024-03-01 10:40:07.626578000 +0100 -@@ -9,6 +9,7 @@ def clean(): +--- build_tools/scripts/core_common/modules/v8.py.orig 2025-08-05 15:06:08 UTC ++++ build_tools/scripts/core_common/modules/v8.py +@@ -9,6 +9,7 @@ import subprocess import v8_89 def clean(): + return if base.is_dir("depot_tools"): - base.delete_dir_with_access_error("depot_tools"); + base.delete_dir_with_access_error("depot_tools") base.delete_dir("depot_tools") -@@ -26,6 +27,8 @@ def is_main_platform(): +@@ -26,6 +27,8 @@ def clean(): def is_main_platform(): if (config.check_option("platform", "win_64") or config.check_option("platform", "win_32")): return True @@ -44,7 +44,7 @@ if not base.is_dir("v8"): @@ -121,8 +109,8 @@ def make(): base.delete_dir_with_access_error("v8/buildtools/win") - base.cmd("git", ["config", "--system", "core.longpaths", "true"]) + base.cmd("git", ["config", "--system", "core.longpaths", "true"], True) base.cmd("gclient", ["sync", "--force"], True) - else: - base.cmd("gclient", ["sync"], True) diff --git a/www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_modules_v8__89.py b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_modules_v8__89.py index 187eb0d78e41..23d05d781124 100644 --- a/www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_modules_v8__89.py +++ b/www/onlyoffice-documentserver/files/patch-build__tools_scripts_core__common_modules_v8__89.py @@ -1,6 +1,6 @@ ---- build_tools/scripts/core_common/modules/v8_89.py.orig 2024-02-07 10:44:24.000000000 +0100 -+++ build_tools/scripts/core_common/modules/v8_89.py 2024-03-01 10:42:06.847661000 +0100 -@@ -115,46 +115,7 @@ def make(): +--- build_tools/scripts/core_common/modules/v8_89.py.orig 2025-08-05 15:06:08 UTC ++++ build_tools/scripts/core_common/modules/v8_89.py +@@ -123,46 +123,7 @@ def make(): base.cmd("git", ["config", "--global", "http.postBuffer", "157286400"], True) os.chdir(base_dir) @@ -47,9 +47,9 @@ os.chdir("v8") gn_args = ["v8_static_library=true", -@@ -163,6 +124,11 @@ def make(): +@@ -170,6 +131,11 @@ def make(): + "v8_monolithic=true", "v8_use_external_startup_data=false", - "use_custom_libcxx=false", "treat_warnings_as_errors=false"] + + if config.check_option("platform", "freebsd_64"): diff --git a/www/onlyoffice-documentserver/files/patch-clang19 b/www/onlyoffice-documentserver/files/patch-clang19 index a17acc4bf5f9..b095611d738d 100644 --- a/www/onlyoffice-documentserver/files/patch-clang19 +++ b/www/onlyoffice-documentserver/files/patch-clang19 @@ -21,9 +21,7 @@ Date: 2023-08-17T13:50:11-07:00 Auto-Submit: Andrey Kosyakov <caseq@chromium.org> Cr-Commit-Position: refs/heads/main@{#89559} -diff --git deps/v8/src/inspector/string-16.cc deps/v8/src/inspector/string-16.cc -index a8b786a8166..6df9963e970 100644 ---- core/Common/3dParty/v8_89/v8/src/inspector/string-16.cc +--- core/Common/3dParty/v8_89/v8/src/inspector/string-16.cc.orig 2021-04-12 21:00:33 UTC +++ core/Common/3dParty/v8_89/v8/src/inspector/string-16.cc @@ -27,7 +27,7 @@ bool isSpaceOrNewLine(UChar c) { return isASCII(c) && c <= ' ' && (c == ' ' || (c <= 0xD && c >= 0x9)); @@ -34,7 +32,7 @@ index a8b786a8166..6df9963e970 100644 bool* ok = nullptr) { std::vector<char> buffer; buffer.reserve(length + 1); -@@ -50,6 +50,8 @@ int64_t charactersToInteger(const UChar* characters, size_t length, +@@ -50,6 +50,8 @@ int64_t charactersToInteger(const UChar* characters, s String16::String16(const UChar* characters, size_t size) : m_impl(characters, size) {} @@ -43,21 +41,18 @@ index a8b786a8166..6df9963e970 100644 String16::String16(const UChar* characters) : m_impl(characters) {} -@@ -241,6 +243,10 @@ String16 String16::fromUTF16LE(const UChar* stringStart, size_t length) { +@@ -231,6 +233,10 @@ String16 String16::fromUTF16LE(const UChar* stringStar + // No need to do anything on little endian machines. + return String16(stringStart, length); #endif // V8_TARGET_BIG_ENDIAN - } - -+String16 String16::fromUTF16LE(const uint16_t* stringStart, size_t length) { -+ return fromUTF16LE(reinterpret_cast<const UChar*>(stringStart), length); +} + - std::string String16::utf8() const { - return UTF16ToUTF8(m_impl.data(), m_impl.size()); ++String16 String16::fromUTF16LE(const uint16_t* stringStart, size_t length) { ++ return fromUTF16LE(reinterpret_cast<const UChar*>(stringStart), length); } - -diff --git deps/v8/src/inspector/string-16.h deps/v8/src/inspector/string-16.h -index 1678ffb2e1e..d9f6c466ab1 100644 ---- core/Common/3dParty/v8_89/v8/src/inspector/string-16.h + + std::string String16::utf8() const { +--- core/Common/3dParty/v8_89/v8/src/inspector/string-16.h.orig 2021-04-12 21:00:33 UTC +++ core/Common/3dParty/v8_89/v8/src/inspector/string-16.h @@ -6,6 +6,7 @@ #define V8_INSPECTOR_STRING_16_H_ @@ -67,7 +62,7 @@ index 1678ffb2e1e..d9f6c466ab1 100644 #include <cctype> #include <climits> #include <cstring> -@@ -17,7 +18,7 @@ namespace v8_inspector { +@@ -17,7 +18,7 @@ namespace v8_inspector { @@ -104,10 +99,7 @@ index 1678ffb2e1e..d9f6c466ab1 100644 size_t length); std::size_t hash() const { - -diff --git deps/v8/src/inspector/v8-string-conversions.cc deps/v8/src/inspector/v8-string-conversions.cc -index 0c75e66b972..8cf19be816c 100644 ---- core/Common/3dParty/v8_89/v8/src/inspector/v8-string-conversions.cc +--- core/Common/3dParty/v8_89/v8/src/inspector/v8-string-conversions.cc.orig 2021-04-12 21:00:33 UTC +++ core/Common/3dParty/v8_89/v8/src/inspector/v8-string-conversions.cc @@ -12,7 +12,7 @@ @@ -118,7 +110,7 @@ index 0c75e66b972..8cf19be816c 100644 using UChar32 = uint32_t; bool isASCII(UChar c) { return !(c & ~0x7F); } -@@ -386,7 +386,7 @@ std::string UTF16ToUTF8(const UChar* stringStart, size_t length) { +@@ -389,7 +389,7 @@ std::string UTF16ToUTF8(const UChar* stringStart, size std::basic_string<UChar> UTF8ToUTF16(const char* stringStart, size_t length) { if (!stringStart || !length) return std::basic_string<UChar>(); @@ -127,7 +119,7 @@ index 0c75e66b972..8cf19be816c 100644 UChar* bufferStart = buffer.data(); UChar* bufferCurrent = bufferStart; -@@ -395,7 +395,7 @@ std::basic_string<UChar> UTF8ToUTF16(const char* stringStart, size_t length) { +@@ -398,7 +398,7 @@ std::basic_string<UChar> UTF8ToUTF16(const char* strin reinterpret_cast<const char*>(stringStart + length), &bufferCurrent, bufferCurrent + buffer.size(), nullptr, true) != conversionOK) @@ -136,9 +128,7 @@ index 0c75e66b972..8cf19be816c 100644 size_t utf16Length = bufferCurrent - bufferStart; return std::basic_string<UChar>(bufferStart, bufferStart + utf16Length); } -diff --git deps/v8/src/inspector/v8-string-conversions.h deps/v8/src/inspector/v8-string-conversions.h -index eb33c6816a5..1126255dac2 100644 ---- core/Common/3dParty/v8_89/v8/src/inspector/v8-string-conversions.h +--- core/Common/3dParty/v8_89/v8/src/inspector/v8-string-conversions.h.orig 2021-04-12 21:00:33 UTC +++ core/Common/3dParty/v8_89/v8/src/inspector/v8-string-conversions.h @@ -5,13 +5,15 @@ #ifndef V8_INSPECTOR_V8_STRING_CONVERSIONS_H_ @@ -158,7 +148,7 @@ index eb33c6816a5..1126255dac2 100644 } // namespace v8_inspector #endif // V8_INSPECTOR_V8_STRING_CONVERSIONS_H_ ---- core/Common/3dParty/v8_89/v8/third_party/inspector_protocol/crdtp/test_platform_v8.cc +--- core/Common/3dParty/v8_89/v8/third_party/inspector_protocol/crdtp/test_platform_v8.cc.orig 2021-04-12 21:00:33 UTC +++ core/Common/3dParty/v8_89/v8/third_party/inspector_protocol/crdtp/test_platform_v8.cc @@ -11,13 +11,16 @@ namespace v8_crdtp { diff --git a/www/onlyoffice-documentserver/files/patch-core_Apple_IWork.cpp b/www/onlyoffice-documentserver/files/patch-core_Apple_IWork.cpp index 3ee3b46a22d5..1ff708a7590b 100644 --- a/www/onlyoffice-documentserver/files/patch-core_Apple_IWork.cpp +++ b/www/onlyoffice-documentserver/files/patch-core_Apple_IWork.cpp @@ -1,5 +1,5 @@ ---- core/Apple/IWork.cpp.orig 2025-03-08 16:26:16.590289000 +0100 -+++ core/Apple/IWork.cpp 2025-03-08 16:45:14.932729000 +0100 +--- core/Apple/IWork.cpp.orig 2025-08-02 18:33:34 UTC ++++ core/Apple/IWork.cpp @@ -6,7 +6,8 @@ #include <libodfgen/OdtGenerator.hxx> #include <libodfgen/OdsGenerator.hxx> diff --git a/www/onlyoffice-documentserver/files/patch-core_Apple_IWork.pro b/www/onlyoffice-documentserver/files/patch-core_Apple_IWork.pro index 49dbd6d80585..ae16f66a185b 100644 --- a/www/onlyoffice-documentserver/files/patch-core_Apple_IWork.pro +++ b/www/onlyoffice-documentserver/files/patch-core_Apple_IWork.pro @@ -1,6 +1,6 @@ ---- core/Apple/IWork.pro.orig 2025-03-08 16:31:03.447633000 +0100 -+++ core/Apple/IWork.pro 2025-03-08 17:07:58.170674000 +0100 -@@ -10,6 +10,14 @@ DEFINES += IWORK_USE_DYNAMIC_LIBRARY +--- core/Apple/IWork.pro.orig 2025-08-02 18:33:34 UTC ++++ core/Apple/IWork.pro +@@ -10,6 +10,14 @@ CONFIG += plugin DEFINES += IWORK_USE_DYNAMIC_LIBRARY @@ -15,7 +15,7 @@ CORE_ROOT_DIR = $$PWD/.. PWD_ROOT_DIR = $$PWD include($$CORE_ROOT_DIR/Common/base.pri) -@@ -38,8 +46,8 @@ include($$CORE_ROOT_DIR/Common/3dParty/apple/apple.pri +@@ -38,8 +46,8 @@ include($$PWD/../DesktopEditor/xml/build/qt/libxml2.pr include($$CORE_ROOT_DIR/Common/3dParty/apple/apple.pri) # TEST diff --git a/www/onlyoffice-documentserver/files/patch-core_Apple_StringDocumentHandler.hxx b/www/onlyoffice-documentserver/files/patch-core_Apple_StringDocumentHandler.hxx index 0d72b10783f3..47c1e5bbbbd7 100644 --- a/www/onlyoffice-documentserver/files/patch-core_Apple_StringDocumentHandler.hxx +++ b/www/onlyoffice-documentserver/files/patch-core_Apple_StringDocumentHandler.hxx @@ -1,5 +1,5 @@ ---- core/Apple/StringDocumentHandler.hxx.orig 2025-07-21 00:30:34.163412000 +0000 -+++ core/Apple/StringDocumentHandler.hxx 2025-07-21 03:02:42.802399000 +0000 +--- core/Apple/StringDocumentHandler.hxx.orig 2025-08-08 19:00:43 UTC ++++ core/Apple/StringDocumentHandler.hxx @@ -0,0 +1,154 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ +/* writerperfect diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_brotli_make.py b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_brotli_make.py new file mode 100644 index 000000000000..5313593d9366 --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_brotli_make.py @@ -0,0 +1,11 @@ +--- core/Common/3dParty/brotli/make.py.orig 2025-08-02 18:33:34 UTC ++++ core/Common/3dParty/brotli/make.py +@@ -10,7 +10,7 @@ def clear_module(): + base.delete_dir_with_access_error("brotli") + return + +-base.check_module_version("1", clear_module) ++#base.check_module_version("1", clear_module) + + # fetch harfbuzz + if not base.is_dir("brotli"): diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_openssl_openssl.pri b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_openssl_openssl.pri index dc322326cf8e..bdd57c356f17 100644 --- a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_openssl_openssl.pri +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_openssl_openssl.pri @@ -1,5 +1,5 @@ ---- core/Common/3dParty/openssl/openssl.pri.orig 2023-06-14 14:31:26.960051000 +0200 -+++ core/Common/3dParty/openssl/openssl.pri 2023-06-14 14:31:00.960232000 +0200 +--- core/Common/3dParty/openssl/openssl.pri.orig 2025-08-02 18:33:34 UTC ++++ core/Common/3dParty/openssl/openssl.pri @@ -32,8 +32,8 @@ core_windows { LIBS += $$OPENSSL_LIBS_DIRECTORY/libssl.lib LIBS += $$OPENSSL_LIBS_DIRECTORY/libcrypto.lib diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8__89_v8_build_config_clang_BUILD.gn b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8__89_v8_build_config_clang_BUILD.gn index 179516c183f5..c58ca9dcf1f7 100644 --- a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8__89_v8_build_config_clang_BUILD.gn +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8__89_v8_build_config_clang_BUILD.gn @@ -1,7 +1,7 @@ Fix build with llvm16 ---- core/Common/3dParty/v8_89/v8/build/config/clang/BUILD.gn.orig 2023-07-17 10:46:22.246271000 +0200 -+++ core/Common/3dParty/v8_89/v8/build/config/clang/BUILD.gn 2023-07-17 10:46:59.136940000 +0200 +--- core/Common/3dParty/v8_89/v8/build/config/clang/BUILD.gn.orig 2022-05-13 11:39:36 UTC ++++ core/Common/3dParty/v8_89/v8/build/config/clang/BUILD.gn @@ -38,5 +38,6 @@ config("extra_warnings") { "-Wstring-conversion", diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_src_base_macros.h b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_src_base_macros.h index 156b89cc28f9..2a60db707302 100644 --- a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_src_base_macros.h +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_src_base_macros.h @@ -1,5 +1,5 @@ ---- core/Common/3dParty/v8_89/v8/src/base/macros.h.orig 2021-04-12 21:00:33.000000000 +0000 -+++ core/Common/3dParty/v8_89/v8/src/base/macros.h 2025-06-20 09:42:18.838769000 +0000 +--- core/Common/3dParty/v8_89/v8/src/base/macros.h.orig 2021-04-12 21:00:33 UTC ++++ core/Common/3dParty/v8_89/v8/src/base/macros.h @@ -203,7 +203,8 @@ // base::is_trivially_copyable will differ for these cases. template <typename T> diff --git a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_testing_gmock_BUILD.gn b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_testing_gmock_BUILD.gn index 6cc129f1398e..121d7547862b 100644 --- a/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_testing_gmock_BUILD.gn +++ b/www/onlyoffice-documentserver/files/patch-core_Common_3dParty_v8_v8_testing_gmock_BUILD.gn @@ -1,5 +1,5 @@ ---- core/Common/3dParty/v8_89/v8/testing/gmock/BUILD.gn.orig 2022-05-13 18:53:22.198863000 +0200 -+++ core/Common/3dParty/v8_89/v8/testing/gmock/BUILD.gn 2022-05-13 18:53:05.169357000 +0200 +--- core/Common/3dParty/v8_89/v8/testing/gmock/BUILD.gn.orig 2022-05-13 20:53:22 UTC ++++ core/Common/3dParty/v8_89/v8/testing/gmock/BUILD.gn @@ -15,12 +15,13 @@ source_set("gmock") { "include/gmock/gmock-matchers.h", "include/gmock/gmock.h", diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_common_Directory.cpp b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_common_Directory.cpp index 8677840d1541..b227bfc3e1fa 100644 --- a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_common_Directory.cpp +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_common_Directory.cpp @@ -45,7 +45,7 @@ BYTE* pUtf8 = NULL; LONG lLen = 0; NSFile::CUtf8Converter::GetUtf8StringFromUnicode(strSrc.c_str(), strSrc.length(), pUtf8, lLen, false); -@@ -495,14 +495,14 @@ namespace NSDirectory +@@ -495,7 +495,7 @@ namespace NSDirectory } #if defined(_WIN32) || defined (_WIN64) if (deleteRoot) RemoveDirectoryW(strDirectory.c_str()); @@ -54,11 +54,3 @@ BYTE* pUtf8 = NULL; LONG lLen = 0; NSFile::CUtf8Converter::GetUtf8StringFromUnicode(strDirectory.c_str(), strDirectory.length(), pUtf8, lLen, false); - rmdir((char*)pUtf8); - delete [] pUtf8; - -- if (deleteRoot = false)CreateDirectory(strDirectory); -+ if (deleteRoot == false)CreateDirectory(strDirectory); - #elif MAC - BYTE* pUtf8 = NULL; - LONG lLen = 0; diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_doctrenderer_doctrenderer.pri b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_doctrenderer_doctrenderer.pri index fff991f7c095..a04a6f66f14c 100644 --- a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_doctrenderer_doctrenderer.pri +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_doctrenderer_doctrenderer.pri @@ -1,6 +1,6 @@ ---- ./core/DesktopEditor/doctrenderer/doctrenderer.pri.orig 2025-03-07 15:39:12.468049000 +0100 -+++ ./core/DesktopEditor/doctrenderer/doctrenderer.pri 2025-03-07 15:38:54.771039000 +0100 -@@ -22,6 +22,10 @@ core_android:DEFINES += DISABLE_MEMORY_LIMITATION +--- core/DesktopEditor/doctrenderer/doctrenderer.pri.orig 2025-08-02 18:33:34 UTC ++++ core/DesktopEditor/doctrenderer/doctrenderer.pri +@@ -22,6 +22,10 @@ ADD_DEPENDENCY(graphics, kernel, UnicodeConverter, ker #CONFIG += v8_version_60 core_android:DEFINES += DISABLE_MEMORY_LIMITATION diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_doctrenderer_hash.cpp b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_doctrenderer_hash.cpp index c0d1ba12e105..c3be6a05a0db 100644 --- a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_doctrenderer_hash.cpp +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_doctrenderer_hash.cpp @@ -1,5 +1,5 @@ ---- core/DesktopEditor/doctrenderer/hash.cpp.orig 2023-06-14 12:14:26.656325000 +0200 -+++ core/DesktopEditor/doctrenderer/hash.cpp 2023-06-14 14:23:39.149523000 +0200 +--- core/DesktopEditor/doctrenderer/hash.cpp.orig 2025-08-02 18:33:34 UTC ++++ core/DesktopEditor/doctrenderer/hash.cpp @@ -4,12 +4,12 @@ #include "../common/Base64.h" #endif diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_fontengine_TextShaper.cpp b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_fontengine_TextShaper.cpp index c87f8a976e29..41272dabf360 100644 --- a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_fontengine_TextShaper.cpp +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_fontengine_TextShaper.cpp @@ -1,5 +1,5 @@ ---- core/DesktopEditor/fontengine/TextShaper.cpp.orig 2022-09-27 21:25:17.640269000 +0200 -+++ core/DesktopEditor/fontengine/TextShaper.cpp 2022-09-27 21:21:12.793630000 +0200 +--- core/DesktopEditor/fontengine/TextShaper.cpp.orig 2025-08-02 18:33:34 UTC ++++ core/DesktopEditor/fontengine/TextShaper.cpp @@ -649,9 +649,9 @@ namespace NSShaper #ifdef SUPPORT_HARFBUZZ_SHAPER diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_fontengine_js_cpp_text.cpp b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_fontengine_js_cpp_text.cpp index b25ccec02bb0..7600e5857aae 100644 --- a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_fontengine_js_cpp_text.cpp +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_fontengine_js_cpp_text.cpp @@ -1,6 +1,6 @@ ---- core/DesktopEditor/fontengine/js/cpp/text.cpp.orig 2022-09-27 21:25:17.640548000 +0200 -+++ core/DesktopEditor/fontengine/js/cpp/text.cpp 2022-09-27 21:22:11.216341000 +0200 -@@ -532,9 +532,9 @@ WASM_EXPORT unsigned char* ASC_FT_Get_Glyph_Render_Buf +--- core/DesktopEditor/fontengine/js/cpp/text.cpp.orig 2025-08-02 18:33:34 UTC ++++ core/DesktopEditor/fontengine/js/cpp/text.cpp +@@ -558,9 +558,9 @@ WASM_EXPORT unsigned char* ASC_FT_Get_Glyph_Render_Buf // ------------------------------------------------------------ // HARFBUZZ diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_freetype-2.10.4_src_autofit_afshaper.h b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_freetype-2.10.4_src_autofit_afshaper.h index a8b84e99b90a..aa02570df4ef 100644 --- a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_freetype-2.10.4_src_autofit_afshaper.h +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_freetype-2.10.4_src_autofit_afshaper.h @@ -1,5 +1,5 @@ ---- core/DesktopEditor/freetype-2.10.4/src/autofit/afshaper.h.orig 2022-09-27 21:25:17.639848000 +0200 -+++ core/DesktopEditor/freetype-2.10.4/src/autofit/afshaper.h 2022-09-27 21:21:29.147465000 +0200 +--- core/DesktopEditor/freetype-2.10.4/src/autofit/afshaper.h.orig 2025-08-02 18:33:34 UTC ++++ core/DesktopEditor/freetype-2.10.4/src/autofit/afshaper.h @@ -25,9 +25,9 @@ #ifdef FT_CONFIG_OPTION_USE_HARFBUZZ diff --git a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_pluginsmanager_main.cpp b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_pluginsmanager_main.cpp index 0388d97191e9..2274a7dc29a9 100644 --- a/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_pluginsmanager_main.cpp +++ b/www/onlyoffice-documentserver/files/patch-core_DesktopEditor_pluginsmanager_main.cpp @@ -1,5 +1,5 @@ ---- core/DesktopEditor/pluginsmanager/main.cpp.orig 2023-06-19 10:50:14.262222000 +0200 -+++ core/DesktopEditor/pluginsmanager/main.cpp 2023-06-19 10:50:48.083404000 +0200 +--- core/DesktopEditor/pluginsmanager/main.cpp.orig 2025-08-02 18:33:34 UTC ++++ core/DesktopEditor/pluginsmanager/main.cpp @@ -52,7 +52,7 @@ #undef GetTempPath #endif diff --git a/www/onlyoffice-documentserver/files/patch-core_MsBinaryFile_XlsFile_Format_Logic_Biff__structures_BitMarkedStructs.h b/www/onlyoffice-documentserver/files/patch-core_MsBinaryFile_XlsFile_Format_Logic_Biff__structures_BitMarkedStructs.h index 93c92cc9fcba..9e69da74cb0a 100644 --- a/www/onlyoffice-documentserver/files/patch-core_MsBinaryFile_XlsFile_Format_Logic_Biff__structures_BitMarkedStructs.h +++ b/www/onlyoffice-documentserver/files/patch-core_MsBinaryFile_XlsFile_Format_Logic_Biff__structures_BitMarkedStructs.h @@ -1,5 +1,5 @@ ---- core/MsBinaryFile/XlsFile/Format/Logic/Biff_structures/BitMarkedStructs.h.orig 2023-01-27 21:00:04.000000000 +0100 -+++ core/MsBinaryFile/XlsFile/Format/Logic/Biff_structures/BitMarkedStructs.h 2023-02-13 11:18:01.384933000 +0100 +--- core/MsBinaryFile/XlsFile/Format/Logic/Biff_structures/BitMarkedStructs.h.orig 2025-08-02 18:33:34 UTC ++++ core/MsBinaryFile/XlsFile/Format/Logic/Biff_structures/BitMarkedStructs.h @@ -31,7 +31,7 @@ */ #pragma once diff --git a/www/onlyoffice-documentserver/files/patch-core_OOXML_Base_Types__32.h b/www/onlyoffice-documentserver/files/patch-core_OOXML_Base_Types__32.h index 8e3814ae3609..e81ae497b6ec 100644 --- a/www/onlyoffice-documentserver/files/patch-core_OOXML_Base_Types__32.h +++ b/www/onlyoffice-documentserver/files/patch-core_OOXML_Base_Types__32.h @@ -1,5 +1,5 @@ ---- ./core/OOXML/Base/Types_32.h.orig 2023-02-13 11:19:10.378060000 +0100 -+++ ./core/OOXML/Base/Types_32.h 2023-02-13 11:19:35.144374000 +0100 +--- core/OOXML/Base/Types_32.h.orig 2025-08-02 18:33:34 UTC ++++ core/OOXML/Base/Types_32.h @@ -38,7 +38,7 @@ typedef unsigned __int16 _UINT16; typedef unsigned __int32 _UINT32; diff --git a/www/onlyoffice-documentserver/files/patch-core_OOXML_Binary_Sheets_Reader_ChartFromToBinary.cpp b/www/onlyoffice-documentserver/files/patch-core_OOXML_Binary_Sheets_Reader_ChartFromToBinary.cpp index 839338642d3b..efc36eda738f 100644 --- a/www/onlyoffice-documentserver/files/patch-core_OOXML_Binary_Sheets_Reader_ChartFromToBinary.cpp +++ b/www/onlyoffice-documentserver/files/patch-core_OOXML_Binary_Sheets_Reader_ChartFromToBinary.cpp @@ -1,6 +1,6 @@ ---- core/OOXML/Binary/Sheets/Reader/ChartFromToBinary.cpp.orig 2023-06-14 14:53:55.376306000 +0200 -+++ core/OOXML/Binary/Sheets/Reader/ChartFromToBinary.cpp 2023-06-14 14:54:16.425588000 +0200 -@@ -10010,7 +10010,7 @@ namespace BinXlsxRW +--- core/OOXML/Binary/Sheets/Reader/ChartFromToBinary.cpp.orig 2025-08-02 18:33:34 UTC ++++ core/OOXML/Binary/Sheets/Reader/ChartFromToBinary.cpp +@@ -10121,7 +10121,7 @@ namespace BinXlsxRW WriteCT_String(*oVal.m_gapDepth); m_oBcw.WriteItemEnd(nCurPos); } diff --git a/www/onlyoffice-documentserver/files/patch-core_OOXML_XlsxFormat_Chart_ChartSerialize.cpp b/www/onlyoffice-documentserver/files/patch-core_OOXML_XlsxFormat_Chart_ChartSerialize.cpp index 3e627ca23ed7..74fa1aabd8e0 100644 --- a/www/onlyoffice-documentserver/files/patch-core_OOXML_XlsxFormat_Chart_ChartSerialize.cpp +++ b/www/onlyoffice-documentserver/files/patch-core_OOXML_XlsxFormat_Chart_ChartSerialize.cpp @@ -1,5 +1,5 @@ ---- core/OOXML/XlsxFormat/Chart/ChartSerialize.cpp.orig 2023-06-14 14:33:42.265435000 +0200 -+++ core/OOXML/XlsxFormat/Chart/ChartSerialize.cpp 2023-06-14 14:33:54.354616000 +0200 +--- core/OOXML/XlsxFormat/Chart/ChartSerialize.cpp.orig 2025-08-02 18:33:34 UTC ++++ core/OOXML/XlsxFormat/Chart/ChartSerialize.cpp @@ -1282,7 +1282,7 @@ xmlns:c16r2=\"http://schemas.microsoft.com/office/draw { writer.WriteString(L"<"); diff --git a/www/onlyoffice-documentserver/files/patch-core_OOXML_XlsxFormat_Common.cpp b/www/onlyoffice-documentserver/files/patch-core_OOXML_XlsxFormat_Common.cpp index 7ed08a65819b..b56bb6c6e380 100644 --- a/www/onlyoffice-documentserver/files/patch-core_OOXML_XlsxFormat_Common.cpp +++ b/www/onlyoffice-documentserver/files/patch-core_OOXML_XlsxFormat_Common.cpp @@ -1,5 +1,5 @@ ---- core/OOXML/XlsxFormat/Common.cpp.orig 2023-02-13 11:53:45.780601000 +0100 -+++ core/OOXML/XlsxFormat/Common.cpp 2023-02-13 11:54:15.232608000 +0100 +--- core/OOXML/XlsxFormat/Common.cpp.orig 2025-08-02 18:33:34 UTC ++++ core/OOXML/XlsxFormat/Common.cpp @@ -48,6 +48,10 @@ char* gcvt(double x, int n, char* b) #define _gcvt gcvt #endif diff --git a/www/onlyoffice-documentserver/files/patch-core_OfficeUtils_src_zlib-1.2.11_gzguts.h b/www/onlyoffice-documentserver/files/patch-core_OfficeUtils_src_zlib-1.2.11_gzguts.h index 89f4e678060d..f69125a7034c 100644 --- a/www/onlyoffice-documentserver/files/patch-core_OfficeUtils_src_zlib-1.2.11_gzguts.h +++ b/www/onlyoffice-documentserver/files/patch-core_OfficeUtils_src_zlib-1.2.11_gzguts.h @@ -1,5 +1,5 @@ ---- core/OfficeUtils/src/zlib-1.2.11/gzguts.h.orig 2025-04-16 08:37:24.000000000 +0000 -+++ core/OfficeUtils/src/zlib-1.2.11/gzguts.h 2025-06-19 20:31:01.755367000 +0000 +--- core/OfficeUtils/src/zlib-1.2.11/gzguts.h.orig 2025-04-16 08:37:24 UTC ++++ core/OfficeUtils/src/zlib-1.2.11/gzguts.h @@ -33,6 +33,8 @@ #ifdef _WIN32 diff --git a/www/onlyoffice-documentserver/files/patch-core_PdfFile_PdfFile.pro b/www/onlyoffice-documentserver/files/patch-core_PdfFile_PdfFile.pro index 08b3375f3170..5f6e12410a78 100644 --- a/www/onlyoffice-documentserver/files/patch-core_PdfFile_PdfFile.pro +++ b/www/onlyoffice-documentserver/files/patch-core_PdfFile_PdfFile.pro @@ -1,6 +1,6 @@ ---- core/PdfFile/PdfFile.pro.orig 2023-02-13 12:29:53.978119000 +0100 -+++ core/PdfFile/PdfFile.pro 2023-02-13 12:30:22.230355000 +0100 -@@ -113,6 +113,11 @@ LIBS += -L$$CORE_BUILDS_LIBRARIES_PATH -lCryptoPPLib +--- core/PdfFile/PdfFile.pro.orig 2025-08-02 18:33:34 UTC ++++ core/PdfFile/PdfFile.pro +@@ -110,6 +110,11 @@ DEFINES += CRYPTOPP_DISABLE_ASM \ NOMINMAX LIBS += -L$$CORE_BUILDS_LIBRARIES_PATH -lCryptoPPLib diff --git a/www/onlyoffice-documentserver/files/patch-core_PdfFile_SrcWriter_Types.h b/www/onlyoffice-documentserver/files/patch-core_PdfFile_SrcWriter_Types.h index 7d9f7fb7ca52..19d91074ad5f 100644 --- a/www/onlyoffice-documentserver/files/patch-core_PdfFile_SrcWriter_Types.h +++ b/www/onlyoffice-documentserver/files/patch-core_PdfFile_SrcWriter_Types.h @@ -1,6 +1,6 @@ ---- core/PdfFile/SrcWriter/Types.h.orig 2023-02-13 11:25:36.702286000 +0100 -+++ core/PdfFile/SrcWriter/Types.h 2023-02-13 11:25:55.342494000 +0100 -@@ -46,7 +46,7 @@ +--- core/PdfFile/SrcWriter/Types.h.orig 2025-08-02 18:33:34 UTC ++++ core/PdfFile/SrcWriter/Types.h +@@ -47,7 +47,7 @@ #include <algorithm> #include <math.h> diff --git a/www/onlyoffice-documentserver/files/patch-document-server-package_Makefile b/www/onlyoffice-documentserver/files/patch-document-server-package_Makefile index ba4ae3c069d7..dba479793706 100644 --- a/www/onlyoffice-documentserver/files/patch-document-server-package_Makefile +++ b/www/onlyoffice-documentserver/files/patch-document-server-package_Makefile @@ -1,5 +1,5 @@ ---- document-server-package/Makefile.orig 2024-02-12 13:46:57.000000000 +0100 -+++ document-server-package/Makefile 2024-03-01 10:49:36.212407000 +0100 +--- document-server-package/Makefile.orig 2024-02-12 14:46:57 UTC ++++ document-server-package/Makefile @@ -23,6 +23,7 @@ PACKAGE_VERSION := $(PRODUCT_VERSION)-$(BUILD_NUMBER) PACKAGE_NAME := $(COMPANY_NAME_LOW)-$(PRODUCT_NAME_LOW) PACKAGE_VERSION := $(PRODUCT_VERSION)-$(BUILD_NUMBER) @@ -26,7 +26,7 @@ + DS_FILES := /var/db/$(DS_PREFIX) + DS_EXAMLE := %%LOCALBASE%%/www/$(DS_PREFIX)-example + DEV_NULL := /dev/null -+ PKG_TARGET := node20 ++ PKG_TARGET := node%%PKGFETCH_NODE_MAJOR_VERSION%% + endif ifeq ($(UNAME_S),Linux) PLATFORM := linux diff --git a/www/onlyoffice-documentserver/files/patch-document-server-package_common_documentserver_bin_documentserver-flush-cache.sh.m4 b/www/onlyoffice-documentserver/files/patch-document-server-package_common_documentserver_bin_documentserver-flush-cache.sh.m4 index 92cb656f9917..deea13716080 100644 --- a/www/onlyoffice-documentserver/files/patch-document-server-package_common_documentserver_bin_documentserver-flush-cache.sh.m4 +++ b/www/onlyoffice-documentserver/files/patch-document-server-package_common_documentserver_bin_documentserver-flush-cache.sh.m4 @@ -1,6 +1,6 @@ ---- document-server-package/common/documentserver/bin/documentserver-flush-cache.sh.m4.orig 2024-11-05 14:03:05.897987000 +0100 +--- document-server-package/common/documentserver/bin/documentserver-flush-cache.sh.m4.orig 2025-07-18 12:53:25 UTC +++ document-server-package/common/documentserver/bin/documentserver-flush-cache.sh.m4 -@@ -24,18 +24,16 @@ HASH=${HASH:-$(date +'%Y.%m.%d-%H%M' | openssl md5 | a +@@ -24,18 +24,16 @@ done HASH=${HASH:-$(date +'%Y.%m.%d-%H%M' | openssl md5 | awk '{print $2}')} # Save the hash to a variable in the configuration file diff --git a/www/onlyoffice-documentserver/files/patch-document-server-package_common_documentserver_nginx_includes_ds-mime.types.conf b/www/onlyoffice-documentserver/files/patch-document-server-package_common_documentserver_nginx_includes_ds-mime.types.conf index 6386c904077e..0208f79889d0 100644 --- a/www/onlyoffice-documentserver/files/patch-document-server-package_common_documentserver_nginx_includes_ds-mime.types.conf +++ b/www/onlyoffice-documentserver/files/patch-document-server-package_common_documentserver_nginx_includes_ds-mime.types.conf @@ -1,8 +1,8 @@ https://raw.githubusercontent.com/nginx/nginx/master/conf/mime.types + IWork filetypes ---- document-server-package/common/documentserver/nginx/includes/ds-mime.types.conf.orig 2022-05-15 11:09:53.906141000 +0200 -+++ document-server-package/common/documentserver/nginx/includes/ds-mime.types.conf 2022-05-15 11:10:02.802873000 +0200 +--- document-server-package/common/documentserver/nginx/includes/ds-mime.types.conf.orig 2025-08-08 19:00:44 UTC ++++ document-server-package/common/documentserver/nginx/includes/ds-mime.types.conf @@ -0,0 +1,102 @@ + +types { diff --git a/www/onlyoffice-documentserver/files/patch-server_Metrics_patches_modern-syslog b/www/onlyoffice-documentserver/files/patch-server_Metrics_patches_modern-syslog new file mode 100644 index 000000000000..7a10ecbd0a4e --- /dev/null +++ b/www/onlyoffice-documentserver/files/patch-server_Metrics_patches_modern-syslog @@ -0,0 +1,11 @@ +--- server/Metrics/patches/modern-syslog+1.2.0.patch.orig 2025-08-31 16:23:19 UTC ++++ server/Metrics/patches/modern-syslog+1.2.0.patch +@@ -0,0 +1,8 @@ ++diff --git a/node_modules/modern-syslog/Makefile b/node_modules/modern-syslog/Makefile ++index 8d2ec3a..125d526 100644 ++--- a/node_modules/modern-syslog/Makefile +++++ b/node_modules/modern-syslog/Makefile ++@@ -1,2 +1,2 @@ ++ rebuild: ++- node-gyp rebuild +++ node-gyp --nodedir=%%LOCALBASE%% rebuild diff --git a/www/onlyoffice-documentserver/files/patch-server_package.json b/www/onlyoffice-documentserver/files/patch-server_package.json index d1a485701de7..3fa6a4cd95b3 100644 --- a/www/onlyoffice-documentserver/files/patch-server_package.json +++ b/www/onlyoffice-documentserver/files/patch-server_package.json @@ -1,6 +1,6 @@ --- server/package.json.orig 2025-06-16 18:22:18 UTC +++ server/package.json -@@ -4,6 +4,8 @@ +@@ -4,9 +4,11 @@ "homepage": "https://www.onlyoffice.com", "private": true, "dependencies": { @@ -8,8 +8,12 @@ + "grunt-cli": "^1.5.0", "license-downloader": "1.0.8", "license-report": "6.5.0", - "npm-run-all": "4.1.5" -@@ -25,10 +25,10 @@ +- "npm-run-all": "4.1.5" ++ "concurrently": "^9.2.0" + }, + "devDependencies": { + "@jest/globals": "29.7.0", +@@ -23,10 +25,10 @@ "integration database tests": "cd ./DocService && jest integration/databaseTests --inject-globals=false --config=../tests/jest.config.js", "tests": "cd ./DocService && jest --inject-globals=false --config=../tests/jest.config.js", "tests:dev": "cd ./DocService && jest --inject-globals=false --config=../tests/jest.config.js --watch", @@ -24,3 +28,11 @@ "3d-party-lic-json:Common": "license-report --output=json --package=./Common/package.json --config ./3d-party-lic-report/license-report-config.json > ./3d-party-lic-report/license-report.json", "3d-party-lic-json:DocService": "license-report --output=json --package=./DocService/package.json --config ./3d-party-lic-report/license-report-config.json > ./3d-party-lic-report/license-report.json", "3d-party-lic-json:FileConverter": "license-report --output=json --package=./FileConverter/package.json --config ./3d-party-lic-report/license-report-config.json > ./3d-party-lic-report/license-report.json", +@@ -39,6 +41,6 @@ + "3d-party-lic-report:FileConverter": "run-s 3d-party-lic-json:FileConverter 3d-party-lic-downloader 3d-party-lic-md", + "3d-party-lic-report:Metrics": "run-s 3d-party-lic-json:Metrics 3d-party-lic-downloader 3d-party-lic-md", + "3d-party-lic-report": "run-s 3d-party-lic-md-header 3d-party-lic-report:*", +- "build": "run-p install:*" ++ "build": "concurrently \"npm run install:Common\" \"npm run install:DocService\" \"npm run install:FileConverter\" \"npm run install:Metrics\"" + } + } diff --git a/www/onlyoffice-documentserver/files/pkg-message.in b/www/onlyoffice-documentserver/files/pkg-message.in index 9bf36aae43ac..1e04f7732830 100644 --- a/www/onlyoffice-documentserver/files/pkg-message.in +++ b/www/onlyoffice-documentserver/files/pkg-message.in @@ -59,7 +59,7 @@ files = %%ETCDIR%%/documentserver/supervisor/*.conf include %%ETCDIR%%/documentserver/nginx/ds.conf; NOTE: documentserver-update-securelink.sh will only update ./nginx/ds.conf and local.json under %%ETCDIR%%/documentserver/! - - run documentserver-update-securelink.sh once for creationg a verysecretstring + - run documentserver-update-securelink.sh once for creating a verysecretstring - start nginx: # service nginx start diff --git a/www/onlyoffice-documentserver/pkg-plist b/www/onlyoffice-documentserver/pkg-plist index 4c96e63cd9f7..5f23f55a295f 100644 --- a/www/onlyoffice-documentserver/pkg-plist +++ b/www/onlyoffice-documentserver/pkg-plist @@ -1215,18 +1215,23 @@ lib/libkernel_network.so %%WWWDIR%%/documentserver/server/Metrics/node_modules/modern-syslog/build/Release/core.node %%WWWDIR%%/documentserver/server/dictionaries/update.py %%WWWDIR%%/documentserver/server/info/ai/CHANGELOG.md +%%WWWDIR%%/documentserver/server/info/ai/LICENSE.txt %%WWWDIR%%/documentserver/server/info/ai/aiModelEdit.html %%WWWDIR%%/documentserver/server/info/ai/aiModelsList.html %%WWWDIR%%/documentserver/server/info/ai/chat.html +%%WWWDIR%%/documentserver/server/info/ai/codeDesktop.js %%WWWDIR%%/documentserver/server/info/ai/components/ListView/script.js %%WWWDIR%%/documentserver/server/info/ai/components/ListView/style.css %%WWWDIR%%/documentserver/server/info/ai/components/Tooltip/script.js %%WWWDIR%%/documentserver/server/info/ai/components/Tooltip/style.css %%WWWDIR%%/documentserver/server/info/ai/config.json +%%WWWDIR%%/documentserver/server/info/ai/configDesktop.json %%WWWDIR%%/documentserver/server/info/ai/customProviders.html %%WWWDIR%%/documentserver/server/info/ai/deploy/ai.plugin +%%WWWDIR%%/documentserver/server/info/ai/helper.html %%WWWDIR%%/documentserver/server/info/ai/hyperlink.html %%WWWDIR%%/documentserver/server/info/ai/index.html +%%WWWDIR%%/documentserver/server/info/ai/indexDesktop.html %%WWWDIR%%/documentserver/server/info/ai/resources/dark/icon.png %%WWWDIR%%/documentserver/server/info/ai/resources/dark/icon@1.25x.png %%WWWDIR%%/documentserver/server/info/ai/resources/dark/icon@1.5x.png @@ -1402,6 +1407,11 @@ lib/libkernel_network.so %%WWWDIR%%/documentserver/server/info/ai/resources/icons/dark/info@1.5x.png %%WWWDIR%%/documentserver/server/info/ai/resources/icons/dark/info@1.75x.png %%WWWDIR%%/documentserver/server/info/ai/resources/icons/dark/info@2x.png +%%WWWDIR%%/documentserver/server/info/ai/resources/icons/dark/ocr.png +%%WWWDIR%%/documentserver/server/info/ai/resources/icons/dark/ocr@1.25x.png +%%WWWDIR%%/documentserver/server/info/ai/resources/icons/dark/ocr@1.5x.png +%%WWWDIR%%/documentserver/server/info/ai/resources/icons/dark/ocr@1.75x.png +%%WWWDIR%%/documentserver/server/info/ai/resources/icons/dark/ocr@2x.png %%WWWDIR%%/documentserver/server/info/ai/resources/icons/dark/summarization.png %%WWWDIR%%/documentserver/server/info/ai/resources/icons/dark/summarization@1.25x.png %%WWWDIR%%/documentserver/server/info/ai/resources/icons/dark/summarization@1.5x.png @@ -1597,6 +1607,11 @@ lib/libkernel_network.so %%WWWDIR%%/documentserver/server/info/ai/resources/icons/light/info@1.5x.png %%WWWDIR%%/documentserver/server/info/ai/resources/icons/light/info@1.75x.png %%WWWDIR%%/documentserver/server/info/ai/resources/icons/light/info@2x.png +%%WWWDIR%%/documentserver/server/info/ai/resources/icons/light/ocr.png +%%WWWDIR%%/documentserver/server/info/ai/resources/icons/light/ocr@1.25x.png +%%WWWDIR%%/documentserver/server/info/ai/resources/icons/light/ocr@1.5x.png +%%WWWDIR%%/documentserver/server/info/ai/resources/icons/light/ocr@1.75x.png +%%WWWDIR%%/documentserver/server/info/ai/resources/icons/light/ocr@2x.png %%WWWDIR%%/documentserver/server/info/ai/resources/icons/light/summarization.png %%WWWDIR%%/documentserver/server/info/ai/resources/icons/light/summarization@1.25x.png %%WWWDIR%%/documentserver/server/info/ai/resources/icons/light/summarization@1.5x.png @@ -1714,6 +1729,7 @@ lib/libkernel_network.so %%WWWDIR%%/documentserver/server/info/ai/scripts/engine/providers/internal/google-gemini.js %%WWWDIR%%/documentserver/server/info/ai/scripts/engine/providers/internal/gpt4all.js %%WWWDIR%%/documentserver/server/info/ai/scripts/engine/providers/internal/groq.js +%%WWWDIR%%/documentserver/server/info/ai/scripts/engine/providers/internal/lmstudio.js %%WWWDIR%%/documentserver/server/info/ai/scripts/engine/providers/internal/mistral.js %%WWWDIR%%/documentserver/server/info/ai/scripts/engine/providers/internal/ollama.js %%WWWDIR%%/documentserver/server/info/ai/scripts/engine/providers/internal/open-ai-models.txt @@ -1723,15 +1739,23 @@ lib/libkernel_network.so %%WWWDIR%%/documentserver/server/info/ai/scripts/engine/providers/internal/together-ai-models.txt %%WWWDIR%%/documentserver/server/info/ai/scripts/engine/providers/internal/together.ai.js %%WWWDIR%%/documentserver/server/info/ai/scripts/engine/providers/internal/xAI.js +%%WWWDIR%%/documentserver/server/info/ai/scripts/engine/providers/internal/zhipu.js %%WWWDIR%%/documentserver/server/info/ai/scripts/engine/providers/preinstall-example.json %%WWWDIR%%/documentserver/server/info/ai/scripts/engine/providers/provider.js %%WWWDIR%%/documentserver/server/info/ai/scripts/engine/register.js %%WWWDIR%%/documentserver/server/info/ai/scripts/engine/storage.js +%%WWWDIR%%/documentserver/server/info/ai/scripts/helper.js +%%WWWDIR%%/documentserver/server/info/ai/scripts/helperFuncs.js +%%WWWDIR%%/documentserver/server/info/ai/scripts/helpers/cell.js +%%WWWDIR%%/documentserver/server/info/ai/scripts/helpers/slide.js +%%WWWDIR%%/documentserver/server/info/ai/scripts/helpers/word.js %%WWWDIR%%/documentserver/server/info/ai/scripts/hyperlink.js %%WWWDIR%%/documentserver/server/info/ai/scripts/settings.js %%WWWDIR%%/documentserver/server/info/ai/scripts/summarization.js +%%WWWDIR%%/documentserver/server/info/ai/scripts/utils/theme.js %%WWWDIR%%/documentserver/server/info/ai/settings.html %%WWWDIR%%/documentserver/server/info/ai/summarization.html +%%WWWDIR%%/documentserver/server/info/ai/translations/ar-SA.json %%WWWDIR%%/documentserver/server/info/ai/translations/cs-CS.json %%WWWDIR%%/documentserver/server/info/ai/translations/de-DE.json %%WWWDIR%%/documentserver/server/info/ai/translations/es-ES.json @@ -2469,6 +2493,7 @@ lib/libkernel_network.so %%WWWDIR%%/documentserver/web-apps/apps/documenteditor/main/resources/help/de/images/customtable.png %%WWWDIR%%/documentserver/web-apps/apps/documenteditor/main/resources/help/de/images/darkmode_oform.png %%WWWDIR%%/documentserver/web-apps/apps/documenteditor/main/resources/help/de/images/date_time.png +%%WWWDIR%%/documentserver/web-apps/apps/documenteditor/main/resources/help/de/images/date_time_settings.png %%WWWDIR%%/documentserver/web-apps/apps/documenteditor/main/resources/help/de/images/datecontentcontrol2.png %%WWWDIR%%/documentserver/web-apps/apps/documenteditor/main/resources/help/de/images/datesettings.png %%WWWDIR%%/documentserver/web-apps/apps/documenteditor/main/resources/help/de/images/drawio_diagram.png @@ -8285,6 +8310,7 @@ lib/libkernel_network.so %%WWWDIR%%/documentserver/web-apps/apps/spreadsheeteditor/main/resources/help/de/images/lookup_function.gif %%WWWDIR%%/documentserver/web-apps/apps/spreadsheeteditor/main/resources/help/de/images/lower.png %%WWWDIR%%/documentserver/web-apps/apps/spreadsheeteditor/main/resources/help/de/images/managerules.png +%%WWWDIR%%/documentserver/web-apps/apps/spreadsheeteditor/main/resources/help/de/images/margins.png %%WWWDIR%%/documentserver/web-apps/apps/spreadsheeteditor/main/resources/help/de/images/match.png %%WWWDIR%%/documentserver/web-apps/apps/spreadsheeteditor/main/resources/help/de/images/max.png %%WWWDIR%%/documentserver/web-apps/apps/spreadsheeteditor/main/resources/help/de/images/maxa.png @@ -17705,7 +17731,7 @@ lib/libkernel_network.so %%WWWDIR%%/documentserver/web-apps/apps/spreadsheeteditor/main/resources/img/v2/iconssmall@2.5x.svg %%WWWDIR%%/documentserver/web-apps/apps/spreadsheeteditor/main/resources/img/v2/iconssmall@2x.png %%WWWDIR%%/documentserver/web-apps/apps/spreadsheeteditor/main/resources/symboltable/ru.json -%%WWWDIR%%/documentserver/web-apps/apps/spreadsheeteditor/mobile/css/611.2ad5c287215269bcc9de.css +%%WWWDIR%%/documentserver/web-apps/apps/spreadsheeteditor/mobile/css/611.219690714751ff3c27cf.css %%WWWDIR%%/documentserver/web-apps/apps/spreadsheeteditor/mobile/css/app.43cfb55a2bbb45252e03.css %%WWWDIR%%/documentserver/web-apps/apps/spreadsheeteditor/mobile/css/framework7-rtl.css %%WWWDIR%%/documentserver/web-apps/apps/spreadsheeteditor/mobile/css/framework7.css @@ -17894,9 +17920,12 @@ lib/libkernel_network.so %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/embed/locale/fr.json %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/embed/locale/he.json %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/embed/locale/hu.json +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/embed/locale/hy.json %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/embed/locale/id.json %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/embed/locale/it.json %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/embed/locale/ja.json +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/embed/locale/ko.json +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/embed/locale/pl.json %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/embed/locale/pt.json %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/embed/locale/ro.json %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/embed/locale/ru.json @@ -17914,6 +17943,7 @@ lib/libkernel_network.so %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/index.html %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/index_loader.html %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/locale/ar.json +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/locale/cs.json %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/locale/de.json %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/locale/el.json %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/locale/en.json @@ -17924,6 +17954,8 @@ lib/libkernel_network.so %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/locale/hy.json %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/locale/it.json %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/locale/ja.json +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/locale/ko.json +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/locale/pl.json %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/locale/pt.json %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/locale/ro.json %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/locale/ru.json @@ -17934,18 +17966,46 @@ lib/libkernel_network.so %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/locale/ur.json %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/locale/zh.json %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/css/app.css +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/de/Contents.json +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/de/HelpfulHints/About.htm +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/de/HelpfulHints/AdvancedSettings.htm +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/de/HelpfulHints/Communicating.htm +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/de/HelpfulHints/KeyboardShortcuts.htm +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/de/HelpfulHints/Navigation.htm +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/de/HelpfulHints/SupportedFormats.htm +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/de/ProgramInterface/FileTab.htm +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/de/ProgramInterface/ProgramInterface.htm +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/de/ProgramInterface/ViewTab.htm +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/de/UsageInstructions/SavePrintDownload.htm +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/de/UsageInstructions/ViewDiagramViewerInfo.htm +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/de/callback.js +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/de/images/interface/desktop_editorwindow.png +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/de/images/interface/desktop_filetab.png +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/de/images/interface/desktop_viewtab.png +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/de/images/interface/editorwindow.png +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/de/images/interface/filetab.png +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/de/images/interface/viewtab.png +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/de/images/keytips1.png +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/de/images/keytips2.png +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/de/images/printsettingswindow.png +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/de/search/indexes.js +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/de/search/search.html %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/en/Contents.json %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/en/HelpfulHints/About.htm %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/en/HelpfulHints/AdvancedSettings.htm %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/en/HelpfulHints/Communicating.htm %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/en/HelpfulHints/KeyboardShortcuts.htm %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/en/HelpfulHints/Navigation.htm +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/en/HelpfulHints/SupportedFormats.htm %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/en/ProgramInterface/FileTab.htm %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/en/ProgramInterface/ProgramInterface.htm %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/en/ProgramInterface/ViewTab.htm %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/en/UsageInstructions/SavePrintDownload.htm %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/en/UsageInstructions/ViewDiagramViewerInfo.htm %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/en/callback.js +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/en/images/interface/desktop_editorwindow.png +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/en/images/interface/desktop_filetab.png +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/en/images/interface/desktop_viewtab.png %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/en/images/interface/editorwindow.png %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/en/images/interface/filetab.png %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/main/resources/help/en/images/interface/viewtab.png @@ -18017,6 +18077,8 @@ lib/libkernel_network.so %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/mobile/locale/hy.json %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/mobile/locale/it.json %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/mobile/locale/ja.json +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/mobile/locale/ko.json +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/mobile/locale/pl.json %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/mobile/locale/pt-pt.json %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/mobile/locale/pt.json %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/mobile/locale/ro.json @@ -18025,6 +18087,7 @@ lib/libkernel_network.so %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/mobile/locale/sq.json %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/mobile/locale/sr-cyrl.json %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/mobile/locale/sr.json +%%WWWDIR%%/documentserver/web-apps/apps/visioeditor/mobile/locale/sv.json %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/mobile/locale/ur.json %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/mobile/locale/zh.json %%WWWDIR%%/documentserver/web-apps/apps/visioeditor/mobile/resources/img/about/logo-new-white.svg diff --git a/www/p5-Catalyst-Authentication-Credential-HTTP/Makefile b/www/p5-Catalyst-Authentication-Credential-HTTP/Makefile index c45793b724aa..76c0cf73c4db 100644 --- a/www/p5-Catalyst-Authentication-Credential-HTTP/Makefile +++ b/www/p5-Catalyst-Authentication-Credential-HTTP/Makefile @@ -1,5 +1,5 @@ PORTNAME= Catalyst-Authentication-Credential-HTTP -PORTVERSION= 1.018 +PORTVERSION= 1.019 CATEGORIES= www perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -15,6 +15,7 @@ BUILD_DEPENDS= ${RUN_DEPENDS} RUN_DEPENDS= p5-Catalyst-Plugin-Authentication>=0.10005:www/p5-Catalyst-Plugin-Authentication \ p5-Catalyst-Runtime>0:www/p5-Catalyst-Runtime \ p5-Class-Accessor>0:devel/p5-Class-Accessor \ + p5-Crypt-SysRandom>0:security/p5-Crypt-SysRandom \ p5-Data-UUID>=0.11:devel/p5-Data-UUID \ p5-String-Escape>0:textproc/p5-String-Escape \ p5-URI>0:net/p5-URI @@ -23,8 +24,9 @@ TEST_DEPENDS= p5-HTTP-Message>0:www/p5-HTTP-Message \ p5-Test-MockObject>0:devel/p5-Test-MockObject \ p5-Test-Needs>0:devel/p5-Test-Needs -NO_ARCH= YES USES= perl5 -USE_PERL5= configure +USE_PERL5= modbuildtiny + +NO_ARCH= YES .include <bsd.port.mk> diff --git a/www/p5-Catalyst-Authentication-Credential-HTTP/distinfo b/www/p5-Catalyst-Authentication-Credential-HTTP/distinfo index 4bbdebda184f..6d82799846cf 100644 --- a/www/p5-Catalyst-Authentication-Credential-HTTP/distinfo +++ b/www/p5-Catalyst-Authentication-Credential-HTTP/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1504091860 -SHA256 (Catalyst-Authentication-Credential-HTTP-1.018.tar.gz) = 6fa1816dee644b0db5ea0cc15c5e711dc2ced2083625abce7096521f1d65a529 -SIZE (Catalyst-Authentication-Credential-HTTP-1.018.tar.gz) = 39956 +TIMESTAMP = 1756034076 +SHA256 (Catalyst-Authentication-Credential-HTTP-1.019.tar.gz) = ec81e96c2a3f6586ea41d088ea8e801b1f34001ab19cc9a65def8a38c39a5bda +SIZE (Catalyst-Authentication-Credential-HTTP-1.019.tar.gz) = 39986 diff --git a/www/p5-Dancer2-Plugin-Interchange6/Makefile b/www/p5-Dancer2-Plugin-Interchange6/Makefile deleted file mode 100644 index ff94392639e3..000000000000 --- a/www/p5-Dancer2-Plugin-Interchange6/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -PORTNAME= Dancer2-Plugin-Interchange6 -PORTVERSION= 0.204 -CATEGORIES= www perl5 -MASTER_SITES= CPAN -PKGNAMEPREFIX= p5- - -MAINTAINER= perl@FreeBSD.org -COMMENT= Dancer2 Plugin for Interchange6 Open Source Shop Machine -WWW= https://metacpan.org/release/Dancer2-Plugin-Interchange6 - -LICENSE= ART10 GPLv1+ -LICENSE_COMB= dual - -DEPRECATED= Depends on expired security/p5-Data-Entropy via databases/p5-Interchange6-Schema -EXPIRATION_DATE=2025-09-01 - -BUILD_DEPENDS= ${RUN_DEPENDS} -RUN_DEPENDS= p5-Business-OnlinePayment>=3.04:finance/p5-Business-OnlinePayment \ - p5-Dancer2-Plugin-Auth-Extensible-Provider-DBIC>=0.600:security/p5-Dancer2-Plugin-Auth-Extensible-Provider-DBIC \ - p5-Dancer2-Plugin-Auth-Extensible>=0.600:security/p5-Dancer2-Plugin-Auth-Extensible \ - p5-Dancer2-Plugin-DBIC>=0.0013:databases/p5-Dancer2-Plugin-DBIC \ - p5-Dancer2-Session-DBIC>=0.102:databases/p5-Dancer2-Session-DBIC \ - p5-Dancer2>=0.200002:www/p5-Dancer2 \ - p5-Interchange6-Schema>=0:databases/p5-Interchange6-Schema \ - p5-Interchange6>=0:www/p5-Interchange6 \ - p5-JSON-MaybeXS>=0:converters/p5-JSON-MaybeXS \ - p5-Module-Runtime>=0:devel/p5-Module-Runtime \ - p5-Moo>=2.000000:devel/p5-Moo \ - p5-MooX-HandlesVia>=0:devel/p5-MooX-HandlesVia \ - p5-MooseX-CoverableModifiers>=0:devel/p5-MooseX-CoverableModifiers \ - p5-Net-HTTPS-Any>=0.11:net/p5-Net-HTTPS-Any \ - p5-Safe-Isa>=0:devel/p5-Safe-Isa \ - p5-Type-Tiny>=0:devel/p5-Type-Tiny \ - p5-YAML>=0.86:textproc/p5-YAML -TEST_DEPENDS= p5-DBD-SQLite>=0:databases/p5-DBD-SQLite \ - p5-DBIx-Class-Helpers>=0:databases/p5-DBIx-Class-Helpers \ - p5-Test-WWW-Mechanize-PSGI>=0:devel/p5-Test-WWW-Mechanize-PSGI - -USES= perl5 -USE_PERL5= configure - -NO_ARCH= yes - -.include <bsd.port.mk> diff --git a/www/p5-Dancer2-Plugin-Interchange6/distinfo b/www/p5-Dancer2-Plugin-Interchange6/distinfo deleted file mode 100644 index a0796e10547c..000000000000 --- a/www/p5-Dancer2-Plugin-Interchange6/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1595416777 -SHA256 (Dancer2-Plugin-Interchange6-0.204.tar.gz) = 732474bf66e25f07a4ebf30a9e98ccb14bea74a34c7d2993c7359c8a2b93ac54 -SIZE (Dancer2-Plugin-Interchange6-0.204.tar.gz) = 36429 diff --git a/www/p5-Dancer2-Plugin-Interchange6/pkg-descr b/www/p5-Dancer2-Plugin-Interchange6/pkg-descr deleted file mode 100644 index 271e1545e6f1..000000000000 --- a/www/p5-Dancer2-Plugin-Interchange6/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -Interchange6, the Open Source Shop Machine, -is the Modern Perl ecosystem for online business. - -This plugin turns your Dancer2 site into a shop. diff --git a/www/p5-Dancer2-Plugin-Interchange6/pkg-plist b/www/p5-Dancer2-Plugin-Interchange6/pkg-plist deleted file mode 100644 index d8965a20a509..000000000000 --- a/www/p5-Dancer2-Plugin-Interchange6/pkg-plist +++ /dev/null @@ -1,18 +0,0 @@ -bin/interchange6-expire-sessions -%%SITE_PERL%%/Dancer2/Plugin/Interchange6.pm -%%SITE_PERL%%/Dancer2/Plugin/Interchange6/Business/OnlinePayment.pm -%%SITE_PERL%%/Dancer2/Plugin/Interchange6/Cart.pm -%%SITE_PERL%%/Dancer2/Plugin/Interchange6/Cart/Product.pm -%%SITE_PERL%%/Dancer2/Plugin/Interchange6/Routes.pm -%%SITE_PERL%%/Dancer2/Plugin/Interchange6/Routes/Account.pm -%%SITE_PERL%%/Dancer2/Plugin/Interchange6/Routes/Cart.pm -%%SITE_PERL%%/Dancer2/Plugin/Interchange6/Routes/Checkout.pm -%%PERL5_MAN1%%/interchange6-expire-sessions.1.gz -%%PERL5_MAN3%%/Dancer2::Plugin::Interchange6.3.gz -%%PERL5_MAN3%%/Dancer2::Plugin::Interchange6::Business::OnlinePayment.3.gz -%%PERL5_MAN3%%/Dancer2::Plugin::Interchange6::Cart.3.gz -%%PERL5_MAN3%%/Dancer2::Plugin::Interchange6::Cart::Product.3.gz -%%PERL5_MAN3%%/Dancer2::Plugin::Interchange6::Routes.3.gz -%%PERL5_MAN3%%/Dancer2::Plugin::Interchange6::Routes::Account.3.gz -%%PERL5_MAN3%%/Dancer2::Plugin::Interchange6::Routes::Cart.3.gz -%%PERL5_MAN3%%/Dancer2::Plugin::Interchange6::Routes::Checkout.3.gz diff --git a/www/p5-Interchange6/Makefile b/www/p5-Interchange6/Makefile deleted file mode 100644 index c228247fd875..000000000000 --- a/www/p5-Interchange6/Makefile +++ /dev/null @@ -1,32 +0,0 @@ -PORTNAME= Interchange6 -PORTVERSION= 0.120 -CATEGORIES= www perl5 -MASTER_SITES= CPAN -MASTER_SITE_SUBDIR= CPAN:HORNBURG -PKGNAMEPREFIX= p5- - -MAINTAINER= perl@FreeBSD.org -COMMENT= Open Source Shop Machine -WWW= https://metacpan.org/release/Interchange6 - -LICENSE= ART10 GPLv1+ -LICENSE_COMB= dual - -DEPRECATED= Depends on expired security/p5-Data-Entropy via databases/p5-Interchange6-Schema -EXPIRATION_DATE=2025-09-01 - -BUILD_DEPENDS= ${RUN_DEPENDS} -RUN_DEPENDS= p5-Interchange6-Schema>=0:databases/p5-Interchange6-Schema \ - p5-Module-Runtime>=0:devel/p5-Module-Runtime \ - p5-Moo>=2.000000:devel/p5-Moo \ - p5-Type-Tiny>=0:devel/p5-Type-Tiny \ - p5-Safe-Isa>=0:devel/p5-Safe-Isa \ - p5-MooX-HandlesVia>=0:devel/p5-MooX-HandlesVia \ - p5-MooseX-CoverableModifiers>=0:devel/p5-MooseX-CoverableModifiers \ - p5-aliased>=0:devel/p5-aliased - -NO_ARCH= yes -USES= perl5 -USE_PERL5= configure - -.include <bsd.port.mk> diff --git a/www/p5-Interchange6/distinfo b/www/p5-Interchange6/distinfo deleted file mode 100644 index 5241f69f52d0..000000000000 --- a/www/p5-Interchange6/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1469403635 -SHA256 (Interchange6-0.120.tar.gz) = 40d96dec64ff1cce95eb0389722a74fa4fc9f5d0321a0153ffe39e7507a68c08 -SIZE (Interchange6-0.120.tar.gz) = 21331 diff --git a/www/p5-Interchange6/pkg-descr b/www/p5-Interchange6/pkg-descr deleted file mode 100644 index 5c64db5135bb..000000000000 --- a/www/p5-Interchange6/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -Interchange6, the Open Source Shop Machine, -is the Modern Perl ecosystem for online business. -It uses the DBIx::Class database schema Interchange6::Schema. - -This is a small module, implementing an API, used in Dancer plugins. diff --git a/www/p5-Interchange6/pkg-plist b/www/p5-Interchange6/pkg-plist deleted file mode 100644 index 603a97f35e4f..000000000000 --- a/www/p5-Interchange6/pkg-plist +++ /dev/null @@ -1,12 +0,0 @@ -%%SITE_PERL%%/Interchange6.pm -%%SITE_PERL%%/Interchange6/Cart.pm -%%SITE_PERL%%/Interchange6/Cart/Cost.pm -%%SITE_PERL%%/Interchange6/Cart/Product.pm -%%SITE_PERL%%/Interchange6/Role/Costs.pm -%%SITE_PERL%%/Interchange6/Types.pm -%%PERL5_MAN3%%/Interchange6.3.gz -%%PERL5_MAN3%%/Interchange6::Cart.3.gz -%%PERL5_MAN3%%/Interchange6::Cart::Cost.3.gz -%%PERL5_MAN3%%/Interchange6::Cart::Product.3.gz -%%PERL5_MAN3%%/Interchange6::Role::Costs.3.gz -%%PERL5_MAN3%%/Interchange6::Types.3.gz diff --git a/www/pecl-yaf/Makefile b/www/pecl-yaf/Makefile index 79d1feb3f156..9daef4e1d9da 100644 --- a/www/pecl-yaf/Makefile +++ b/www/pecl-yaf/Makefile @@ -1,5 +1,5 @@ PORTNAME= yaf -PORTVERSION= 3.3.6 +PORTVERSION= 3.3.7 CATEGORIES= www MAINTAINER= sunpoet@freeBSD.org diff --git a/www/pecl-yaf/distinfo b/www/pecl-yaf/distinfo index 515a9d06c86b..e8a7bc64cafa 100644 --- a/www/pecl-yaf/distinfo +++ b/www/pecl-yaf/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1720022756 -SHA256 (PECL/yaf-3.3.6.tgz) = 7056dba64f4a6346402cdcfa228aacfbbc67487b9afa05e689d778300cc8a738 -SIZE (PECL/yaf-3.3.6.tgz) = 134030 +TIMESTAMP = 1755062476 +SHA256 (PECL/yaf-3.3.7.tgz) = 7fcea41c7b4254e6db71132a2591b5ce4c88d4af70231b0ffb560fdd22b43e95 +SIZE (PECL/yaf-3.3.7.tgz) = 134483 diff --git a/www/pecl-yaf/files/patch-php84 b/www/pecl-yaf/files/patch-php84 deleted file mode 100644 index 424a5fdd2554..000000000000 --- a/www/pecl-yaf/files/patch-php84 +++ /dev/null @@ -1,46 +0,0 @@ -Obtained from: https://github.com/laruence/yaf/commit/b1d252c944a8d70f0dc28415b3d67a7b3bbbf7ce - ---- routes/yaf_route_regex.c.orig 2024-06-25 03:13:57 UTC -+++ routes/yaf_route_regex.c -@@ -204,11 +204,18 @@ static int yaf_route_regex_match(yaf_route_regex_objec - #if PHP_VERSION_ID < 70400 - php_pcre_match_impl(pce_regexp, (char*)uri, len, &matches, &subparts /* subpats */, - 0/* global */, 0/* ZEND_NUM_ARGS() >= 4 */, 0/*flags PREG_OFFSET_CAPTURE*/, 0/* start_offset */); --#else -+#elif PHP_VERSION_ID < 80400 - { - zend_string *tmp = zend_string_init(uri, len, 0); - php_pcre_match_impl(pce_regexp, tmp, &matches, &subparts /* subpats */, - 0/* global */, 0/* ZEND_NUM_ARGS() >= 4 */, 0/*flags PREG_OFFSET_CAPTURE*/, 0/* start_offset */); -+ zend_string_release(tmp); -+ } -+#else -+ { -+ zend_string *tmp = zend_string_init(uri, len, 0); -+ php_pcre_match_impl(pce_regexp, tmp, &matches, &subparts /* subpats */, -+ 0/* global */, 0/*flags PREG_OFFSET_CAPTURE*/, 0/* start_offset */); - zend_string_release(tmp); - } - #endif ---- routes/yaf_route_rewrite.c.orig 2024-06-25 03:13:57 UTC -+++ routes/yaf_route_rewrite.c -@@ -209,11 +209,18 @@ static int yaf_route_rewrite_match(yaf_route_rewrite_o - #if PHP_VERSION_ID < 70400 - php_pcre_match_impl(pce_regexp, (char*)uri, len, &matches, &subparts /* subpats */, - 0/* global */, 0/* ZEND_NUM_ARGS() >= 4 */, 0/*flags PREG_OFFSET_CAPTURE*/, 0/* start_offset */); --#else -+#elif PHP_VERSION_ID <80400 - { - zend_string *tmp = zend_string_init(uri, len, 0); - php_pcre_match_impl(pce_regexp, tmp, &matches, &subparts /* subpats */, - 0/* global */, 0/* ZEND_NUM_ARGS() >= 4 */, 0/*flags PREG_OFFSET_CAPTURE*/, 0/* start_offset */); -+ zend_string_release(tmp); -+ } -+#else -+ { -+ zend_string *tmp = zend_string_init(uri, len, 0); -+ php_pcre_match_impl(pce_regexp, tmp, &matches, &subparts /* subpats */, -+ 0/* global */, 0/*flags PREG_OFFSET_CAPTURE*/, 0/* start_offset */); - zend_string_release(tmp); - } - #endif diff --git a/www/pecl-yaf/files/patch-php85 b/www/pecl-yaf/files/patch-php85 deleted file mode 100644 index 1d35ad034c24..000000000000 --- a/www/pecl-yaf/files/patch-php85 +++ /dev/null @@ -1,11 +0,0 @@ ---- yaf_exception.c.orig 2024-06-25 03:13:57 UTC -+++ yaf_exception.c -@@ -73,7 +73,7 @@ zend_class_entry * yaf_get_exception_base(int root) /* - } - #endif - -- return zend_exception_get_default(); -+ return zend_ce_exception; - } - /* }}} */ - diff --git a/www/pecl-yar/Makefile b/www/pecl-yar/Makefile index fffb326988e3..ff5a430c03ef 100644 --- a/www/pecl-yar/Makefile +++ b/www/pecl-yar/Makefile @@ -1,5 +1,5 @@ PORTNAME= yar -PORTVERSION= 2.3.3 +PORTVERSION= 2.3.4 CATEGORIES= www MAINTAINER= sunpoet@FreeBSD.org diff --git a/www/pecl-yar/distinfo b/www/pecl-yar/distinfo index b2555f632ac3..a6e6c137385e 100644 --- a/www/pecl-yar/distinfo +++ b/www/pecl-yar/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1720022758 -SHA256 (PECL/yar-2.3.3.tgz) = e5951c7ac813dbd7dcb5738aa33b74ccdeba8a302a0649cd48affa263017b93a -SIZE (PECL/yar-2.3.3.tgz) = 51333 +TIMESTAMP = 1755062478 +SHA256 (PECL/yar-2.3.4.tgz) = 858a8264c7e8fdd3ae2598bda0bd57e404cbed0d69941edf8bf74f632032dd48 +SIZE (PECL/yar-2.3.4.tgz) = 51365 diff --git a/www/pecl-yar/files/patch-php85 b/www/pecl-yar/files/patch-php85 deleted file mode 100644 index 20c15b01392c..000000000000 --- a/www/pecl-yar/files/patch-php85 +++ /dev/null @@ -1,11 +0,0 @@ ---- yar_exception.c.orig 2024-06-25 08:51:10 UTC -+++ yar_exception.c -@@ -62,7 +62,7 @@ zend_class_entry * php_yar_get_exception_base(int root - } - #endif - -- return zend_exception_get_default(); -+ return zend_ce_exception; - } - /* }}} */ - diff --git a/www/phpfpmtop/Makefile b/www/phpfpmtop/Makefile index 2a9e322a86e8..3f0294df7ed8 100644 --- a/www/phpfpmtop/Makefile +++ b/www/phpfpmtop/Makefile @@ -1,7 +1,7 @@ PORTNAME= phpfpmtop DISTVERSIONPREFIX= v DISTVERSION= 0.2 -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= www devel MAINTAINER= mops@punkt.de diff --git a/www/phpvirtualbox-70/Makefile b/www/phpvirtualbox-70/Makefile index 22e8a6913dbe..b85b31ac272e 100644 --- a/www/phpvirtualbox-70/Makefile +++ b/www/phpvirtualbox-70/Makefile @@ -18,7 +18,8 @@ USE_PHP= session simplexml soap xml ETCDIR= ${WWWDIR} WWWDIR= ${PREFIX}/www/${PORTNAME}${SUFFIX} -EXTRA_PATCHES+= ${.CURDIR}/../phpvirtualbox/files/patch-panes_mediumEncryptionPasswords.html +EXTRA_PATCHES+= ${.CURDIR}/../phpvirtualbox-72/files/patch-endpoints_lib_vboxconnector.php \ + ${.CURDIR}/../phpvirtualbox-72/files/patch-panes_mediumEncryptionPasswords.html NO_ARCH= yes NO_BUILD= yes PORTSCOUT= limit:^7\.0\. diff --git a/www/phpvirtualbox-71/Makefile b/www/phpvirtualbox-71/Makefile index fb05e5b28ffb..9d48563e1730 100644 --- a/www/phpvirtualbox-71/Makefile +++ b/www/phpvirtualbox-71/Makefile @@ -1,12 +1,13 @@ PORTNAME= phpvirtualbox DISTVERSION= 7.1-1 +PORTREVISION= 1 CATEGORIES= www SUFFIX= -71 PKGNAMESUFFIX= ${SUFFIX}${PHP_PKGNAMESUFFIX} MAINTAINER= vbox@FreeBSD.org COMMENT= AJAX Web Interface for VirtualBox -WWW= https://sourceforge.net/projects/phpvirtualbox-7-0/ +WWW= https://github.com/phpvirtualbox/phpvirtualbox/ LICENSE= GPLv3 @@ -16,7 +17,9 @@ USE_PHP= session simplexml soap xml ETCDIR= ${WWWDIR} WWWDIR= ${PREFIX}/www/${PORTNAME}${SUFFIX} -EXTRA_PATCHES+= ${.CURDIR}/../phpvirtualbox/files/patch-panes_mediumEncryptionPasswords.html +EXTRA_PATCHES+= ${.CURDIR}/../phpvirtualbox-72/files/patch-endpoints_lib_config.php \ + ${.CURDIR}/../phpvirtualbox-72/files/patch-endpoints_lib_vboxconnector.php \ + ${.CURDIR}/../phpvirtualbox-72/files/patch-panes_mediumEncryptionPasswords.html NO_ARCH= yes NO_BUILD= yes PORTSCOUT= limit:^7\.1\. diff --git a/www/phpvirtualbox-71/files/patch-endpoints_lib_vboxconnector.php b/www/phpvirtualbox-71/files/patch-endpoints_lib_vboxconnector.php deleted file mode 100644 index 3ce4bd1b67fa..000000000000 --- a/www/phpvirtualbox-71/files/patch-endpoints_lib_vboxconnector.php +++ /dev/null @@ -1,21 +0,0 @@ ---- endpoints/lib/vboxconnector.php.orig 2025-03-09 01:02:03 UTC -+++ endpoints/lib/vboxconnector.php -@@ -113,6 +113,8 @@ class vboxconnector { - */ - var $dsep = null; - -+ var $client = null; -+ - /** - * Obtain configuration settings and set object vars - * @param boolean $useAuthMaster use the authentication master obtained from configuration class -@@ -388,7 +390,8 @@ class vboxconnector { - - // The amount of time we will wait for events is determined by - // the amount of listeners - at least half a second -- $listenerWait = max(100,intval(500/count($this->persistentRequest['vboxEventListeners']))); -+ $listenerCount = count($this->persistentRequest['vboxEventListeners']); -+ $listenerWait = max(100,intval(500/($listenerCount > 0 ? $listenerCount : 1))); - } - - // Get events from each configured event listener diff --git a/www/phpvirtualbox-72/Makefile b/www/phpvirtualbox-72/Makefile new file mode 100644 index 000000000000..5cd673bbf480 --- /dev/null +++ b/www/phpvirtualbox-72/Makefile @@ -0,0 +1,37 @@ +PORTNAME= phpvirtualbox +DISTVERSION= 7.2-1 +PORTREVISION= 1 +CATEGORIES= www +SUFFIX= -72 +PKGNAMESUFFIX= ${SUFFIX}${PHP_PKGNAMESUFFIX} + +MAINTAINER= vbox@FreeBSD.org +COMMENT= AJAX Web Interface for VirtualBox +WWW= https://github.com/phpvirtualbox/phpvirtualbox/ + +LICENSE= GPLv3 + +USES= php:flavors +USE_GITHUB= yes +USE_PHP= session simplexml soap xml + +ETCDIR= ${WWWDIR} +WWWDIR= ${PREFIX}/www/${PORTNAME}${SUFFIX} +NO_ARCH= yes +NO_BUILD= yes +PORTSCOUT= limit:^7\.2\. + +post-patch: + @${MV} ${WRKSRC}/phpvirtualbox.conf ${WRKSRC}/phpvirtualbox${SUFFIX}.conf + @${REINPLACE_CMD} -e 's#Alias /phpvirtualbox#Alias /phpvirtualbox${SUFFIX}#' \ + -e 's#/usr/share/phpvirtualbox#${WWWDIR}#g' \ + ${WRKSRC}/phpvirtualbox${SUFFIX}.conf + +do-install: + ${MKDIR} ${STAGEDIR}${WWWDIR} + (cd ${WRKSRC}/ && ${COPYTREE_SHARE} "*" ${STAGEDIR}${WWWDIR} \ + "-not -name *.orig -not -name config.php-example") + ${INSTALL_DATA} ${WRKSRC}/config.php-example \ + ${STAGEDIR}${WWWDIR}/config.php.sample + +.include <bsd.port.mk> diff --git a/www/phpvirtualbox-72/distinfo b/www/phpvirtualbox-72/distinfo new file mode 100644 index 000000000000..36e164f0de0c --- /dev/null +++ b/www/phpvirtualbox-72/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1756400000 +SHA256 (phpvirtualbox-phpvirtualbox-7.2-1_GH0.tar.gz) = 8025ed6b6af7ab4f32b0ac548fee94621469d5f5bc89d6a8a553a3989ada5ca9 +SIZE (phpvirtualbox-phpvirtualbox-7.2-1_GH0.tar.gz) = 5271540 diff --git a/www/phpvirtualbox-71/files/patch-endpoints_lib_config.php b/www/phpvirtualbox-72/files/patch-endpoints_lib_config.php index 82de95a4947b..82de95a4947b 100644 --- a/www/phpvirtualbox-71/files/patch-endpoints_lib_config.php +++ b/www/phpvirtualbox-72/files/patch-endpoints_lib_config.php diff --git a/www/phpvirtualbox-70/files/patch-endpoints_lib_vboxconnector.php b/www/phpvirtualbox-72/files/patch-endpoints_lib_vboxconnector.php index 3ce4bd1b67fa..3ce4bd1b67fa 100644 --- a/www/phpvirtualbox-70/files/patch-endpoints_lib_vboxconnector.php +++ b/www/phpvirtualbox-72/files/patch-endpoints_lib_vboxconnector.php diff --git a/www/phpvirtualbox-72/files/patch-endpoints_lib_vboxwebService-7.2.wsdl b/www/phpvirtualbox-72/files/patch-endpoints_lib_vboxwebService-7.2.wsdl new file mode 100644 index 000000000000..40b0ff619005 --- /dev/null +++ b/www/phpvirtualbox-72/files/patch-endpoints_lib_vboxwebService-7.2.wsdl @@ -0,0 +1,11 @@ +--- endpoints/lib/vboxwebService-7.2.wsdl.orig 2025-08-28 05:41:35 UTC ++++ endpoints/lib/vboxwebService-7.2.wsdl +@@ -5,7 +5,7 @@ --> + Generator: src/VBox/Main/webservice/websrv-wsdl-service.xsl + --> + <definitions xmlns:interface="urn:vbox" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:vbox="http://www.virtualbox.org/" xmlns="http://schemas.xmlsoap.org/wsdl/" name="VirtualBox" targetNamespace="http://www.virtualbox.org/Service"> +- <import location="vboxweb.wsdl" namespace="http://www.virtualbox.org/"/> ++ <import location="vboxweb-7.2.wsdl" namespace="http://www.virtualbox.org/"/> + <service name="vboxService"> + <port binding="vbox:vboxBinding" name="vboxServicePort"> + <soap:address location="http://localhost:18083/"/> diff --git a/www/phpvirtualbox/files/patch-panes_mediumEncryptionPasswords.html b/www/phpvirtualbox-72/files/patch-panes_mediumEncryptionPasswords.html index 3e8a7c62dfb7..3e8a7c62dfb7 100644 --- a/www/phpvirtualbox/files/patch-panes_mediumEncryptionPasswords.html +++ b/www/phpvirtualbox-72/files/patch-panes_mediumEncryptionPasswords.html diff --git a/www/phpvirtualbox-72/pkg-descr b/www/phpvirtualbox-72/pkg-descr new file mode 100644 index 000000000000..9d1a4ce377ff --- /dev/null +++ b/www/phpvirtualbox-72/pkg-descr @@ -0,0 +1,3 @@ +An open source, AJAX implementation of the VirtualBox user +interface written in PHP. As a modern web interface, it allows +you to access and control remote VirtualBox instances diff --git a/www/phpvirtualbox-72/pkg-plist b/www/phpvirtualbox-72/pkg-plist new file mode 100644 index 000000000000..7e75d2fc12d8 --- /dev/null +++ b/www/phpvirtualbox-72/pkg-plist @@ -0,0 +1,614 @@ +@group www +@owner www +%%WWWDIR%%/CHANGELOG.txt +%%WWWDIR%%/Dockerfile +%%WWWDIR%%/GPLv3.txt +%%WWWDIR%%/LICENSE.txt +%%WWWDIR%%/README.md +@sample %%ETCDIR%%/config.php.sample +%%WWWDIR%%/css/jquery-ui.css +%%WWWDIR%%/css/jquery.projectPlugins.css +%%WWWDIR%%/css/layout.css +%%WWWDIR%%/css/tipped.css +%%WWWDIR%%/docker-compose.yml +%%WWWDIR%%/endpoints/api.php +%%WWWDIR%%/endpoints/config.js +%%WWWDIR%%/endpoints/index.html +%%WWWDIR%%/endpoints/jqueryFileTree.php +%%WWWDIR%%/endpoints/language.php +%%WWWDIR%%/endpoints/lib/auth/ActiveDirectory.php +%%WWWDIR%%/endpoints/lib/auth/Builtin.php +%%WWWDIR%%/endpoints/lib/auth/LDAP.php +%%WWWDIR%%/endpoints/lib/auth/MySQL.php +%%WWWDIR%%/endpoints/lib/auth/OpenMediaVault.php +%%WWWDIR%%/endpoints/lib/auth/WebAuth.php +%%WWWDIR%%/endpoints/lib/auth/index.html +%%WWWDIR%%/endpoints/lib/authinterface.php +%%WWWDIR%%/endpoints/lib/config.php +%%WWWDIR%%/endpoints/lib/index.html +%%WWWDIR%%/endpoints/lib/language.php +%%WWWDIR%%/endpoints/lib/utils.php +%%WWWDIR%%/endpoints/lib/vboxServiceWrappers.php +%%WWWDIR%%/endpoints/lib/vboxconnector.php +%%WWWDIR%%/endpoints/lib/vboxweb-7.2.wsdl +%%WWWDIR%%/endpoints/lib/vboxwebService-7.2.wsdl +%%WWWDIR%%/endpoints/rdp.php +%%WWWDIR%%/endpoints/screen.php +%%WWWDIR%%/images/30white.png +%%WWWDIR%%/images/50px-Question_icon.svg.png +%%WWWDIR%%/images/50px-Warning_icon.svg.png +%%WWWDIR%%/images/arrow_grad_dn.png +%%WWWDIR%%/images/arrow_grad_left.png +%%WWWDIR%%/images/arrow_grad_right.png +%%WWWDIR%%/images/arrow_grad_up.png +%%WWWDIR%%/images/arrow_white_dn.png +%%WWWDIR%%/images/arrow_white_left.png +%%WWWDIR%%/images/arrow_white_right.png +%%WWWDIR%%/images/arrow_white_up.png +%%WWWDIR%%/images/donate.gif +%%WWWDIR%%/images/downArrow.png +%%WWWDIR%%/images/header_grad.png +%%WWWDIR%%/images/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png +%%WWWDIR%%/images/jquery-ui/ui-bg_flat_75_ffffff_40x100.png +%%WWWDIR%%/images/jquery-ui/ui-bg_glass_55_fbf9ee_1x400.png +%%WWWDIR%%/images/jquery-ui/ui-bg_glass_65_ffffff_1x400.png +%%WWWDIR%%/images/jquery-ui/ui-bg_glass_75_dadada_1x400.png +%%WWWDIR%%/images/jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png +%%WWWDIR%%/images/jquery-ui/ui-bg_glass_95_fef1ec_1x400.png +%%WWWDIR%%/images/jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png +%%WWWDIR%%/images/jquery-ui/ui-icons_222222_256x240.png +%%WWWDIR%%/images/jquery-ui/ui-icons_2e83ff_256x240.png +%%WWWDIR%%/images/jquery-ui/ui-icons_454545_256x240.png +%%WWWDIR%%/images/jquery-ui/ui-icons_888888_256x240.png +%%WWWDIR%%/images/jquery-ui/ui-icons_cd0a0a_256x240.png +%%WWWDIR%%/images/jqueryFileTree/directory.png +%%WWWDIR%%/images/jqueryFileTree/file.png +%%WWWDIR%%/images/jqueryFileTree/folder_open.png +%%WWWDIR%%/images/jqueryFileTree/spinner.gif +%%WWWDIR%%/images/monitor_bl.png +%%WWWDIR%%/images/monitor_bottom.png +%%WWWDIR%%/images/monitor_br.png +%%WWWDIR%%/images/monitor_glossy.png +%%WWWDIR%%/images/monitor_left.png +%%WWWDIR%%/images/monitor_right.png +%%WWWDIR%%/images/monitor_tl.png +%%WWWDIR%%/images/monitor_top.png +%%WWWDIR%%/images/monitor_tr.png +%%WWWDIR%%/images/rightArrow.png +%%WWWDIR%%/images/spinner.gif +%%WWWDIR%%/images/treeview-default-line.gif +%%WWWDIR%%/images/treeview-default.gif +%%WWWDIR%%/images/upArrow.png +%%WWWDIR%%/images/vbox/OSE/VirtualBox.icns +%%WWWDIR%%/images/vbox/OSE/VirtualBox_16px.png +%%WWWDIR%%/images/vbox/OSE/VirtualBox_20px.png +%%WWWDIR%%/images/vbox/OSE/VirtualBox_32px.png +%%WWWDIR%%/images/vbox/OSE/VirtualBox_40px.png +%%WWWDIR%%/images/vbox/OSE/VirtualBox_48px.png +%%WWWDIR%%/images/vbox/OSE/VirtualBox_64px.png +%%WWWDIR%%/images/vbox/OSE/VirtualBox_cube_42px.png +%%WWWDIR%%/images/vbox/OSE/VirtualBox_win.ico +%%WWWDIR%%/images/vbox/OSE/about.png +%%WWWDIR%%/images/vbox/OSE/about_16px.png +%%WWWDIR%%/images/vbox/acpi_16px.png +%%WWWDIR%%/images/vbox/acpi_disabled_16px.png +%%WWWDIR%%/images/vbox/add_host_iface_16px.png +%%WWWDIR%%/images/vbox/add_host_iface_disabled_16px.png +%%WWWDIR%%/images/vbox/arrow_down_10px.png +%%WWWDIR%%/images/vbox/arrow_left_10px.png +%%WWWDIR%%/images/vbox/arrow_right_10px.png +%%WWWDIR%%/images/vbox/arrow_up_10px.png +%%WWWDIR%%/images/vbox/attachment_16px.png +%%WWWDIR%%/images/vbox/attachment_add_16px.png +%%WWWDIR%%/images/vbox/attachment_add_disabled_16px.png +%%WWWDIR%%/images/vbox/attachment_disabled_16px.png +%%WWWDIR%%/images/vbox/attachment_remove_16px.png +%%WWWDIR%%/images/vbox/attachment_remove_disabled_16px.png +%%WWWDIR%%/images/vbox/bgnd_sel_2.jpg +%%WWWDIR%%/images/vbox/blank.gif +%%WWWDIR%%/images/vbox/cd_16px.png +%%WWWDIR%%/images/vbox/cd_32px.png +%%WWWDIR%%/images/vbox/cd_add_16px.png +%%WWWDIR%%/images/vbox/cd_add_disabled_16px.png +%%WWWDIR%%/images/vbox/cd_disabled_16px.png +%%WWWDIR%%/images/vbox/cd_disabled_32px.png +%%WWWDIR%%/images/vbox/cd_unmount_16px.png +%%WWWDIR%%/images/vbox/cd_unmount_dis_16px.png +%%WWWDIR%%/images/vbox/cd_unmount_disabled_16px.png +%%WWWDIR%%/images/vbox/chipset_16px.png +%%WWWDIR%%/images/vbox/chipset_disabled_16px.png +%%WWWDIR%%/images/vbox/close_16px.png +%%WWWDIR%%/images/vbox/controller_add_16px.png +%%WWWDIR%%/images/vbox/controller_add_disabled_16px.png +%%WWWDIR%%/images/vbox/controller_remove_16px.png +%%WWWDIR%%/images/vbox/controller_remove_disabled_16px.png +%%WWWDIR%%/images/vbox/cpu_16px.png +%%WWWDIR%%/images/vbox/description_16px.png +%%WWWDIR%%/images/vbox/description_disabled_16px.png +%%WWWDIR%%/images/vbox/description_edit_16px.png +%%WWWDIR%%/images/vbox/description_edit_disabled_16px.png +%%WWWDIR%%/images/vbox/discard_cur_state_16px.png +%%WWWDIR%%/images/vbox/discard_cur_state_22px.png +%%WWWDIR%%/images/vbox/discard_cur_state_dis_16px.png +%%WWWDIR%%/images/vbox/discard_cur_state_dis_22px.png +%%WWWDIR%%/images/vbox/discard_cur_state_snapshot_16px.png +%%WWWDIR%%/images/vbox/discard_cur_state_snapshot_22px.png +%%WWWDIR%%/images/vbox/discard_cur_state_snapshot_dis_16px.png +%%WWWDIR%%/images/vbox/discard_cur_state_snapshot_dis_22px.png +%%WWWDIR%%/images/vbox/diskimage_16px.png +%%WWWDIR%%/images/vbox/exit_16px.png +%%WWWDIR%%/images/vbox/expanding_collapsing_16px.png +%%WWWDIR%%/images/vbox/export_16px.png +%%WWWDIR%%/images/vbox/fd_16px.png +%%WWWDIR%%/images/vbox/fd_32px.png +%%WWWDIR%%/images/vbox/fd_add_16px.png +%%WWWDIR%%/images/vbox/fd_add_disabled_16px.png +%%WWWDIR%%/images/vbox/fd_disabled_16px.png +%%WWWDIR%%/images/vbox/fd_disabled_32px.png +%%WWWDIR%%/images/vbox/fd_unmount_16px.png +%%WWWDIR%%/images/vbox/fd_unmount_dis_16px.png +%%WWWDIR%%/images/vbox/floppy_16px.png +%%WWWDIR%%/images/vbox/floppy_add_16px.png +%%WWWDIR%%/images/vbox/floppy_add_disabled_16px.png +%%WWWDIR%%/images/vbox/floppy_collapse_16px.png +%%WWWDIR%%/images/vbox/floppy_expand_16px.png +%%WWWDIR%%/images/vbox/fullscreen_16px.png +%%WWWDIR%%/images/vbox/global_settings_16px.png +%%WWWDIR%%/images/vbox/global_settings_disabled_16px.png +%%WWWDIR%%/images/vbox/group_abstract_16px.png +%%WWWDIR%%/images/vbox/guesttools_16px.png +%%WWWDIR%%/images/vbox/guesttools_disabled_16px.png +%%WWWDIR%%/images/vbox/hd_16px.png +%%WWWDIR%%/images/vbox/hd_32px.png +%%WWWDIR%%/images/vbox/hd_add_16px.png +%%WWWDIR%%/images/vbox/hd_add_22px.png +%%WWWDIR%%/images/vbox/hd_add_disabled_16px.png +%%WWWDIR%%/images/vbox/hd_add_disabled_22px.png +%%WWWDIR%%/images/vbox/hd_disabled_16px.png +%%WWWDIR%%/images/vbox/hd_disabled_32px.png +%%WWWDIR%%/images/vbox/hd_new_16px.png +%%WWWDIR%%/images/vbox/hd_new_22px.png +%%WWWDIR%%/images/vbox/hd_new_disabled_16px.png +%%WWWDIR%%/images/vbox/hd_new_disabled_22px.png +%%WWWDIR%%/images/vbox/hd_release_16px.png +%%WWWDIR%%/images/vbox/hd_release_22px.png +%%WWWDIR%%/images/vbox/hd_release_disabled_16px.png +%%WWWDIR%%/images/vbox/hd_release_disabled_22px.png +%%WWWDIR%%/images/vbox/hd_remove_16px.png +%%WWWDIR%%/images/vbox/hd_remove_22px.png +%%WWWDIR%%/images/vbox/hd_remove_disabled_16px.png +%%WWWDIR%%/images/vbox/hd_remove_disabled_22px.png +%%WWWDIR%%/images/vbox/help_16px.png +%%WWWDIR%%/images/vbox/ide_16px.png +%%WWWDIR%%/images/vbox/ide_add_16px.png +%%WWWDIR%%/images/vbox/ide_add_disabled_16px.png +%%WWWDIR%%/images/vbox/ide_collapse_16px.png +%%WWWDIR%%/images/vbox/ide_expand_16px.png +%%WWWDIR%%/images/vbox/import_16px.png +%%WWWDIR%%/images/vbox/list_movedown_16px.png +%%WWWDIR%%/images/vbox/list_movedown_disabled_16px.png +%%WWWDIR%%/images/vbox/list_moveup_16px.png +%%WWWDIR%%/images/vbox/list_moveup_disabled_16px.png +%%WWWDIR%%/images/vbox/machine_16px.png +%%WWWDIR%%/images/vbox/machine_32px.png +%%WWWDIR%%/images/vbox/machine_abstract_16px.png +%%WWWDIR%%/images/vbox/machine_disabled_16px.png +%%WWWDIR%%/images/vbox/machine_disabled_32px.png +%%WWWDIR%%/images/vbox/menuArrow.gif +%%WWWDIR%%/images/vbox/menuArrow_w.gif +%%WWWDIR%%/images/vbox/name_16px.png +%%WWWDIR%%/images/vbox/node.gif +%%WWWDIR%%/images/vbox/nw_16px.png +%%WWWDIR%%/images/vbox/nw_32px.png +%%WWWDIR%%/images/vbox/nw_disabled_16px.png +%%WWWDIR%%/images/vbox/nw_disabled_32px.png +%%WWWDIR%%/images/vbox/os_archlinux.png +%%WWWDIR%%/images/vbox/os_archlinux_64.png +%%WWWDIR%%/images/vbox/os_debian.png +%%WWWDIR%%/images/vbox/os_debian_64.png +%%WWWDIR%%/images/vbox/os_dos.png +%%WWWDIR%%/images/vbox/os_fedora.png +%%WWWDIR%%/images/vbox/os_fedora_64.png +%%WWWDIR%%/images/vbox/os_freebsd.png +%%WWWDIR%%/images/vbox/os_freebsd_64.png +%%WWWDIR%%/images/vbox/os_gentoo.png +%%WWWDIR%%/images/vbox/os_gentoo_64.png +%%WWWDIR%%/images/vbox/os_jrockitve.png +%%WWWDIR%%/images/vbox/os_l4.png +%%WWWDIR%%/images/vbox/os_linux.png +%%WWWDIR%%/images/vbox/os_linux22.png +%%WWWDIR%%/images/vbox/os_linux24.png +%%WWWDIR%%/images/vbox/os_linux24_64.png +%%WWWDIR%%/images/vbox/os_linux26.png +%%WWWDIR%%/images/vbox/os_linux26_64.png +%%WWWDIR%%/images/vbox/os_linux_64.png +%%WWWDIR%%/images/vbox/os_linux_other.png +%%WWWDIR%%/images/vbox/os_macosx.png +%%WWWDIR%%/images/vbox/os_macosx_64.png +%%WWWDIR%%/images/vbox/os_mandriva.png +%%WWWDIR%%/images/vbox/os_mandriva_64.png +%%WWWDIR%%/images/vbox/os_netbsd.png +%%WWWDIR%%/images/vbox/os_netbsd_64.png +%%WWWDIR%%/images/vbox/os_netware.png +%%WWWDIR%%/images/vbox/os_openbsd.png +%%WWWDIR%%/images/vbox/os_openbsd_64.png +%%WWWDIR%%/images/vbox/os_opensuse.png +%%WWWDIR%%/images/vbox/os_opensuse_64.png +%%WWWDIR%%/images/vbox/os_oracle.png +%%WWWDIR%%/images/vbox/os_oracle_64.png +%%WWWDIR%%/images/vbox/os_oraclesolaris.png +%%WWWDIR%%/images/vbox/os_oraclesolaris_64.png +%%WWWDIR%%/images/vbox/os_os2_other.png +%%WWWDIR%%/images/vbox/os_os2ecs.png +%%WWWDIR%%/images/vbox/os_os2warp3.png +%%WWWDIR%%/images/vbox/os_os2warp4.png +%%WWWDIR%%/images/vbox/os_os2warp45.png +%%WWWDIR%%/images/vbox/os_other.png +%%WWWDIR%%/images/vbox/os_other_64.png +%%WWWDIR%%/images/vbox/os_qnx.png +%%WWWDIR%%/images/vbox/os_redhat.png +%%WWWDIR%%/images/vbox/os_redhat_64.png +%%WWWDIR%%/images/vbox/os_solaris.png +%%WWWDIR%%/images/vbox/os_solaris_64.png +%%WWWDIR%%/images/vbox/os_turbolinux.png +%%WWWDIR%%/images/vbox/os_turbolinux_64.png +%%WWWDIR%%/images/vbox/os_type_16px.png +%%WWWDIR%%/images/vbox/os_ubuntu.png +%%WWWDIR%%/images/vbox/os_ubuntu_64.png +%%WWWDIR%%/images/vbox/os_virtualbox.png +%%WWWDIR%%/images/vbox/os_win10.png +%%WWWDIR%%/images/vbox/os_win10_64.png +%%WWWDIR%%/images/vbox/os_win11_64.png +%%WWWDIR%%/images/vbox/os_win2k.png +%%WWWDIR%%/images/vbox/os_win2k12_64.png +%%WWWDIR%%/images/vbox/os_win2k16_64.png +%%WWWDIR%%/images/vbox/os_win2k19_64.png +%%WWWDIR%%/images/vbox/os_win2k3.png +%%WWWDIR%%/images/vbox/os_win2k3_64.png +%%WWWDIR%%/images/vbox/os_win2k8.png +%%WWWDIR%%/images/vbox/os_win2k8_64.png +%%WWWDIR%%/images/vbox/os_win31.png +%%WWWDIR%%/images/vbox/os_win7.png +%%WWWDIR%%/images/vbox/os_win7_64.png +%%WWWDIR%%/images/vbox/os_win8.png +%%WWWDIR%%/images/vbox/os_win81.png +%%WWWDIR%%/images/vbox/os_win81_64.png +%%WWWDIR%%/images/vbox/os_win8_64.png +%%WWWDIR%%/images/vbox/os_win95.png +%%WWWDIR%%/images/vbox/os_win98.png +%%WWWDIR%%/images/vbox/os_win_other.png +%%WWWDIR%%/images/vbox/os_win_other_64.png +%%WWWDIR%%/images/vbox/os_winme.png +%%WWWDIR%%/images/vbox/os_winnt4.png +%%WWWDIR%%/images/vbox/os_winvista.png +%%WWWDIR%%/images/vbox/os_winvista_64.png +%%WWWDIR%%/images/vbox/os_winxp.png +%%WWWDIR%%/images/vbox/os_winxp_64.png +%%WWWDIR%%/images/vbox/os_xandros.png +%%WWWDIR%%/images/vbox/os_xandros_64.png +%%WWWDIR%%/images/vbox/parallel_port_16px.png +%%WWWDIR%%/images/vbox/preview_empty_228x168px.png +%%WWWDIR%%/images/vbox/preview_full_228x168px.png +%%WWWDIR%%/images/vbox/progress_clone_90px.png +%%WWWDIR%%/images/vbox/progress_delete_90px.png +%%WWWDIR%%/images/vbox/progress_export_90px.png +%%WWWDIR%%/images/vbox/progress_import_90px.png +%%WWWDIR%%/images/vbox/progress_install_guest_additions_90px.png +%%WWWDIR%%/images/vbox/progress_media_create_90px.png +%%WWWDIR%%/images/vbox/progress_media_delete_90px.png +%%WWWDIR%%/images/vbox/progress_poweroff_90px.png +%%WWWDIR%%/images/vbox/progress_snapshot_create_90px.png +%%WWWDIR%%/images/vbox/progress_snapshot_discard_90px.png +%%WWWDIR%%/images/vbox/progress_snapshot_restore_90px.png +%%WWWDIR%%/images/vbox/progress_start_90px.png +%%WWWDIR%%/images/vbox/progress_state_restore_90px.png +%%WWWDIR%%/images/vbox/progress_state_save_90px.png +%%WWWDIR%%/images/vbox/ram_16px.png +%%WWWDIR%%/images/vbox/refresh_16px.png +%%WWWDIR%%/images/vbox/refresh_22px.png +%%WWWDIR%%/images/vbox/refresh_32px.png +%%WWWDIR%%/images/vbox/refresh_disabled_16px.png +%%WWWDIR%%/images/vbox/refresh_disabled_22px.png +%%WWWDIR%%/images/vbox/refresh_disabled_32px.png +%%WWWDIR%%/images/vbox/register_16px.png +%%WWWDIR%%/images/vbox/remove_host_iface_16px.png +%%WWWDIR%%/images/vbox/remove_host_iface_disabled_16px.png +%%WWWDIR%%/images/vbox/sata_16px.png +%%WWWDIR%%/images/vbox/sata_add_16px.png +%%WWWDIR%%/images/vbox/sata_add_disabled_16px.png +%%WWWDIR%%/images/vbox/sata_collapse_16px.png +%%WWWDIR%%/images/vbox/sata_expand_16px.png +%%WWWDIR%%/images/vbox/scsi_16px.png +%%WWWDIR%%/images/vbox/scsi_add_16px.png +%%WWWDIR%%/images/vbox/scsi_add_disabled_16px.png +%%WWWDIR%%/images/vbox/scsi_collapse_16px.png +%%WWWDIR%%/images/vbox/scsi_expand_16px.png +%%WWWDIR%%/images/vbox/select_file_16px.png +%%WWWDIR%%/images/vbox/select_file_disabled_16px.png +%%WWWDIR%%/images/vbox/serial_port_16px.png +%%WWWDIR%%/images/vbox/serial_port_disabled_16px.png +%%WWWDIR%%/images/vbox/sf_16px.png +%%WWWDIR%%/images/vbox/sf_add_16px.png +%%WWWDIR%%/images/vbox/sf_add_disabled_16px.png +%%WWWDIR%%/images/vbox/sf_disabled_16px.png +%%WWWDIR%%/images/vbox/sf_edit_16px.png +%%WWWDIR%%/images/vbox/sf_edit_disabled_16px.png +%%WWWDIR%%/images/vbox/sf_remove_16px.png +%%WWWDIR%%/images/vbox/sf_remove_disabled_16px.png +%%WWWDIR%%/images/vbox/sf_settings_16px.png +%%WWWDIR%%/images/vbox/sf_settings_disabled_16px.png +%%WWWDIR%%/images/vbox/site_16px.png +%%WWWDIR%%/images/vbox/site_32px.png +%%WWWDIR%%/images/vbox/snapshot_delete_16px.png +%%WWWDIR%%/images/vbox/snapshot_delete_22px.png +%%WWWDIR%%/images/vbox/snapshot_delete_disabled_16px.png +%%WWWDIR%%/images/vbox/snapshot_delete_disabled_22px.png +%%WWWDIR%%/images/vbox/snapshot_offline_16px.png +%%WWWDIR%%/images/vbox/snapshot_online_16px.png +%%WWWDIR%%/images/vbox/snapshot_restore_16px.png +%%WWWDIR%%/images/vbox/snapshot_restore_22px.png +%%WWWDIR%%/images/vbox/snapshot_restore_disabled_16px.png +%%WWWDIR%%/images/vbox/snapshot_restore_disabled_22px.png +%%WWWDIR%%/images/vbox/snapshot_show_details_16px.png +%%WWWDIR%%/images/vbox/snapshot_show_details_22px.png +%%WWWDIR%%/images/vbox/snapshot_show_details_disabled_16px.png +%%WWWDIR%%/images/vbox/snapshot_show_details_disabled_22px.png +%%WWWDIR%%/images/vbox/snapshot_take_16px.png +%%WWWDIR%%/images/vbox/snapshot_take_22px.png +%%WWWDIR%%/images/vbox/snapshot_take_disabled_16px.png +%%WWWDIR%%/images/vbox/snapshot_take_disabled_22px.png +%%WWWDIR%%/images/vbox/sort_16px.png +%%WWWDIR%%/images/vbox/sort_disabled_16px.png +%%WWWDIR%%/images/vbox/sound_16px.png +%%WWWDIR%%/images/vbox/sound_disabled_16px.png +%%WWWDIR%%/images/vbox/state_aborted_16px.png +%%WWWDIR%%/images/vbox/state_discarding_16px.png +%%WWWDIR%%/images/vbox/state_paused_16px.png +%%WWWDIR%%/images/vbox/state_powered_off_16px.png +%%WWWDIR%%/images/vbox/state_restoring_16px.png +%%WWWDIR%%/images/vbox/state_running_16px.png +%%WWWDIR%%/images/vbox/state_saved_16px.png +%%WWWDIR%%/images/vbox/state_saving_16px.png +%%WWWDIR%%/images/vbox/state_stuck_16px.png +%%WWWDIR%%/images/vbox/status_check_16px.png +%%WWWDIR%%/images/vbox/status_error_16px.png +%%WWWDIR%%/images/vbox/usb_16px.png +%%WWWDIR%%/images/vbox/usb_add_16px.png +%%WWWDIR%%/images/vbox/usb_add_disabled_16px.png +%%WWWDIR%%/images/vbox/usb_collapse_16px.png +%%WWWDIR%%/images/vbox/usb_disabled_16px.png +%%WWWDIR%%/images/vbox/usb_expand_16px.png +%%WWWDIR%%/images/vbox/usb_filter_edit_16px.png +%%WWWDIR%%/images/vbox/usb_filter_edit_disabled_16px.png +%%WWWDIR%%/images/vbox/usb_movedown_16px.png +%%WWWDIR%%/images/vbox/usb_movedown_disabled_16px.png +%%WWWDIR%%/images/vbox/usb_moveup_16px.png +%%WWWDIR%%/images/vbox/usb_moveup_disabled_16px.png +%%WWWDIR%%/images/vbox/usb_new_16px.png +%%WWWDIR%%/images/vbox/usb_new_disabled_16px.png +%%WWWDIR%%/images/vbox/usb_remove_16px.png +%%WWWDIR%%/images/vbox/usb_remove_disabled_16px.png +%%WWWDIR%%/images/vbox/usb_unavailable_16px.png +%%WWWDIR%%/images/vbox/usb_unavailable_disabled_16px.png +%%WWWDIR%%/images/vbox/vdm_add_16px.png +%%WWWDIR%%/images/vbox/vdm_add_22px.png +%%WWWDIR%%/images/vbox/vdm_add_disabled_16px.png +%%WWWDIR%%/images/vbox/vdm_add_disabled_22px.png +%%WWWDIR%%/images/vbox/vdm_new_16px.png +%%WWWDIR%%/images/vbox/vdm_new_22px.png +%%WWWDIR%%/images/vbox/vdm_new_disabled_16px.png +%%WWWDIR%%/images/vbox/vdm_new_disabled_22px.png +%%WWWDIR%%/images/vbox/vdm_release_16px.png +%%WWWDIR%%/images/vbox/vdm_release_22px.png +%%WWWDIR%%/images/vbox/vdm_release_disabled_16px.png +%%WWWDIR%%/images/vbox/vdm_release_disabled_22px.png +%%WWWDIR%%/images/vbox/vdm_remove_16px.png +%%WWWDIR%%/images/vbox/vdm_remove_22px.png +%%WWWDIR%%/images/vbox/vdm_remove_disabled_16px.png +%%WWWDIR%%/images/vbox/vdm_remove_disabled_22px.png +%%WWWDIR%%/images/vbox/video_capture_16px.png +%%WWWDIR%%/images/vbox/video_capture_disabled_16px.png +%%WWWDIR%%/images/vbox/video_capture_on_16px.png +%%WWWDIR%%/images/vbox/video_capture_on_disabled_16px.png +%%WWWDIR%%/images/vbox/video_capture_settings_16px.png +%%WWWDIR%%/images/vbox/virtio_scsi_add_16px.png +%%WWWDIR%%/images/vbox/virtio_scsi_add_disabled_16px.png +%%WWWDIR%%/images/vbox/virtio_scsi_collapse_16px.png +%%WWWDIR%%/images/vbox/virtio_scsi_expand_16px.png +%%WWWDIR%%/images/vbox/virtualbox-hdd.png +%%WWWDIR%%/images/vbox/virtualbox-ova.png +%%WWWDIR%%/images/vbox/virtualbox-ovf.png +%%WWWDIR%%/images/vbox/virtualbox-vbox.png +%%WWWDIR%%/images/vbox/virtualbox-vdi.png +%%WWWDIR%%/images/vbox/virtualbox-vhd.png +%%WWWDIR%%/images/vbox/virtualbox-vmdk.png +%%WWWDIR%%/images/vbox/vm_add_16px.png +%%WWWDIR%%/images/vbox/vm_clone_16px.png +%%WWWDIR%%/images/vbox/vm_clone_22px.png +%%WWWDIR%%/images/vbox/vm_clone_disabled_16px.png +%%WWWDIR%%/images/vbox/vm_clone_disabled_22px.png +%%WWWDIR%%/images/vbox/vm_delete_16px.png +%%WWWDIR%%/images/vbox/vm_delete_disabled_16px.png +%%WWWDIR%%/images/vbox/vm_discard_16px.png +%%WWWDIR%%/images/vbox/vm_discard_32px.png +%%WWWDIR%%/images/vbox/vm_discard_disabled_16px.png +%%WWWDIR%%/images/vbox/vm_discard_disabled_32px.png +%%WWWDIR%%/images/vbox/vm_group_create_16px.png +%%WWWDIR%%/images/vbox/vm_group_create_disabled_16px.png +%%WWWDIR%%/images/vbox/vm_group_name_16px.png +%%WWWDIR%%/images/vbox/vm_group_name_disabled_16px.png +%%WWWDIR%%/images/vbox/vm_group_remove_16px.png +%%WWWDIR%%/images/vbox/vm_group_remove_disabled_16px.png +%%WWWDIR%%/images/vbox/vm_new_16px.png +%%WWWDIR%%/images/vbox/vm_new_32px.png +%%WWWDIR%%/images/vbox/vm_new_disabled_32px.png +%%WWWDIR%%/images/vbox/vm_open_filemanager_16px.png +%%WWWDIR%%/images/vbox/vm_open_filemanager_disabled_16px.png +%%WWWDIR%%/images/vbox/vm_pause_16px.png +%%WWWDIR%%/images/vbox/vm_pause_disabled_16px.png +%%WWWDIR%%/images/vbox/vm_pause_on_16px.png +%%WWWDIR%%/images/vbox/vm_pause_on_disabled_16px.png +%%WWWDIR%%/images/vbox/vm_poweroff_16px.png +%%WWWDIR%%/images/vbox/vm_poweroff_32px.png +%%WWWDIR%%/images/vbox/vm_poweroff_disabled_16px.png +%%WWWDIR%%/images/vbox/vm_poweroff_disabled_32px.png +%%WWWDIR%%/images/vbox/vm_reset_16px.png +%%WWWDIR%%/images/vbox/vm_reset_disabled_16px.png +%%WWWDIR%%/images/vbox/vm_save_state_16px.png +%%WWWDIR%%/images/vbox/vm_save_state_disabled_16px.png +%%WWWDIR%%/images/vbox/vm_settings_16px.png +%%WWWDIR%%/images/vbox/vm_settings_32px.png +%%WWWDIR%%/images/vbox/vm_settings_disabled_16px.png +%%WWWDIR%%/images/vbox/vm_settings_disabled_32px.png +%%WWWDIR%%/images/vbox/vm_show_logs_16px.png +%%WWWDIR%%/images/vbox/vm_show_logs_disabled_16px.png +%%WWWDIR%%/images/vbox/vm_shutdown_16px.png +%%WWWDIR%%/images/vbox/vm_shutdown_disabled_16px.png +%%WWWDIR%%/images/vbox/vm_start_16px.png +%%WWWDIR%%/images/vbox/vm_start_32px.png +%%WWWDIR%%/images/vbox/vm_start_disabled_16px.png +%%WWWDIR%%/images/vbox/vm_start_disabled_32px.png +%%WWWDIR%%/images/vbox/vmw_clone_bg.png +%%WWWDIR%%/images/vbox/vmw_first_run_bg.png +%%WWWDIR%%/images/vbox/vmw_new_harddisk_bg.png +%%WWWDIR%%/images/vbox/vmw_new_welcome_bg.png +%%WWWDIR%%/images/vbox/vmw_ovf_export_bg.png +%%WWWDIR%%/images/vbox/vmw_ovf_import_bg.png +%%WWWDIR%%/images/vbox/vrdp_16px.png +%%WWWDIR%%/images/vbox/vrdp_32px.png +%%WWWDIR%%/images/vbox/vrdp_disabled_16px.png +%%WWWDIR%%/images/vbox/vrdp_disabled_32px.png +%%WWWDIR%%/images/vbox/vrdp_on_16px.png +%%WWWDIR%%/images/vbox/vrdp_on_disabled_16px.png +%%WWWDIR%%/images/vbox/vtx_amdv_16px.png +%%WWWDIR%%/images/vbox/vtx_amdv_disabled_16px.png +%%WWWDIR%%/images/vbox/welcome.png +%%WWWDIR%%/images/wizard_bg.png +%%WWWDIR%%/index.html +%%WWWDIR%%/js/canvasimages.js +%%WWWDIR%%/js/chooser.js +%%WWWDIR%%/js/datamediator.js +%%WWWDIR%%/js/dialogs.js +%%WWWDIR%%/js/eventlistener.js +%%WWWDIR%%/js/jquery-3.7.1.min.js +%%WWWDIR%%/js/jquery-ui-1.14.1.min.js +%%WWWDIR%%/js/jquery.jec-1.3.1.js +%%WWWDIR%%/js/jquery.projectPlugins.js +%%WWWDIR%%/js/jquery.scrollTo-min.js +%%WWWDIR%%/js/jquery.tipped-2.1b.min.js +%%WWWDIR%%/js/phpvirtualbox.js +%%WWWDIR%%/js/utils.js +%%WWWDIR%%/languages/cs.xml +%%WWWDIR%%/languages/da.xml +%%WWWDIR%%/languages/de.xml +%%WWWDIR%%/languages/en.xml +%%WWWDIR%%/languages/es.xml +%%WWWDIR%%/languages/fr.xml +%%WWWDIR%%/languages/it.xml +%%WWWDIR%%/languages/ja.xml +%%WWWDIR%%/languages/languages.txt +%%WWWDIR%%/languages/nl.xml +%%WWWDIR%%/languages/pl.xml +%%WWWDIR%%/languages/pt_br.xml +%%WWWDIR%%/languages/ro.xml +%%WWWDIR%%/languages/ru.xml +%%WWWDIR%%/languages/source/ParseVboxLang.inc +%%WWWDIR%%/languages/source/ParseVboxLang.php +%%WWWDIR%%/languages/source/bg.dat +%%WWWDIR%%/languages/source/ca.dat +%%WWWDIR%%/languages/source/ca_va.dat +%%WWWDIR%%/languages/source/cs.dat +%%WWWDIR%%/languages/source/da.dat +%%WWWDIR%%/languages/source/de.dat +%%WWWDIR%%/languages/source/el.dat +%%WWWDIR%%/languages/source/en.dat +%%WWWDIR%%/languages/source/es.dat +%%WWWDIR%%/languages/source/eu.dat +%%WWWDIR%%/languages/source/fa.dat +%%WWWDIR%%/languages/source/fi.dat +%%WWWDIR%%/languages/source/fr.dat +%%WWWDIR%%/languages/source/gl.dat +%%WWWDIR%%/languages/source/he.dat +%%WWWDIR%%/languages/source/hr_hr.dat +%%WWWDIR%%/languages/source/hu.dat +%%WWWDIR%%/languages/source/id.dat +%%WWWDIR%%/languages/source/it.dat +%%WWWDIR%%/languages/source/ja.dat +%%WWWDIR%%/languages/source/km_kh.dat +%%WWWDIR%%/languages/source/ko.dat +%%WWWDIR%%/languages/source/lt.dat +%%WWWDIR%%/languages/source/nl.dat +%%WWWDIR%%/languages/source/pl.dat +%%WWWDIR%%/languages/source/pt.dat +%%WWWDIR%%/languages/source/pt_br.dat +%%WWWDIR%%/languages/source/ro.dat +%%WWWDIR%%/languages/source/ru.dat +%%WWWDIR%%/languages/source/sk.dat +%%WWWDIR%%/languages/source/sl.dat +%%WWWDIR%%/languages/source/sr.dat +%%WWWDIR%%/languages/source/sv.dat +%%WWWDIR%%/languages/source/th.dat +%%WWWDIR%%/languages/source/tr.dat +%%WWWDIR%%/languages/source/uk.dat +%%WWWDIR%%/languages/source/zh_cn.dat +%%WWWDIR%%/languages/source/zh_tw.dat +%%WWWDIR%%/languages/zh_cn.xml +%%WWWDIR%%/languages/zh_tw.xml +%%WWWDIR%%/packaging/install-scripts/install.bash +%%WWWDIR%%/packaging/install-scripts/uninstall.bash +%%WWWDIR%%/panes/about.html +%%WWWDIR%%/panes/chooser.html +%%WWWDIR%%/panes/guestNetAdapters.html +%%WWWDIR%%/panes/login.html +%%WWWDIR%%/panes/mediumEncryptionPasswords.html +%%WWWDIR%%/panes/settingsAudio.html +%%WWWDIR%%/panes/settingsDisplay.html +%%WWWDIR%%/panes/settingsGeneral.html +%%WWWDIR%%/panes/settingsGlobalGeneral.html +%%WWWDIR%%/panes/settingsGlobalLanguage.html +%%WWWDIR%%/panes/settingsGlobalNetwork.html +%%WWWDIR%%/panes/settingsGlobalNetworkNATPortForwarding.html +%%WWWDIR%%/panes/settingsGlobalUsers.html +%%WWWDIR%%/panes/settingsNetwork.html +%%WWWDIR%%/panes/settingsParallelPorts.html +%%WWWDIR%%/panes/settingsPortForwarding.html +%%WWWDIR%%/panes/settingsSerialPorts.html +%%WWWDIR%%/panes/settingsSharedFolders.html +%%WWWDIR%%/panes/settingsStorage.html +%%WWWDIR%%/panes/settingsSystem.html +%%WWWDIR%%/panes/settingsUSB.html +%%WWWDIR%%/panes/tabVMConsole.html +%%WWWDIR%%/panes/tabVMConsoleRDP.html +%%WWWDIR%%/panes/tabVMConsoleVNC.html +%%WWWDIR%%/panes/tabVMDetails.html +%%WWWDIR%%/panes/tabVMSnapshots.html +%%WWWDIR%%/panes/tabs.html +%%WWWDIR%%/panes/toolbar.html +%%WWWDIR%%/panes/topmenu.html +%%WWWDIR%%/panes/userEdit.html +%%WWWDIR%%/panes/vmlogs.html +%%WWWDIR%%/panes/vmm.html +%%WWWDIR%%/panes/vmmISCSI.html +%%WWWDIR%%/panes/vmmModify.html +%%WWWDIR%%/panes/wizardCloneVM.html +%%WWWDIR%%/panes/wizardCloneVMAdvanced.html +%%WWWDIR%%/panes/wizardCopyHD.html +%%WWWDIR%%/panes/wizardCopyHDAdvanced.html +%%WWWDIR%%/panes/wizardExportAppliance.html +%%WWWDIR%%/panes/wizardExportApplianceAdvanced.html +%%WWWDIR%%/panes/wizardFirstRun.html +%%WWWDIR%%/panes/wizardImportAppliance.html +%%WWWDIR%%/panes/wizardImportApplianceAdvanced.html +%%WWWDIR%%/panes/wizardNewHD.html +%%WWWDIR%%/panes/wizardNewHDAdvanced.html +%%WWWDIR%%/panes/wizardNewVM.html +%%WWWDIR%%/panes/wizardNewVMAdvanced.html +%%WWWDIR%%/phpvirtualbox-72.conf +%%WWWDIR%%/rdpweb/RDPClientUI.swf +%%WWWDIR%%/rdpweb/license_3rd.txt +%%WWWDIR%%/rdpweb/swfobject.js +%%WWWDIR%%/rdpweb/webclient.js +%%WWWDIR%%/rdpweb/webclient3.html +%%WWWDIR%%/recovery.php-disabled +%%WWWDIR%%/tightvnc/VncViewer.jar +%%WWWDIR%%/vboxinit diff --git a/www/phpvirtualbox-legacy/Makefile b/www/phpvirtualbox-legacy/Makefile index 5c7c939fe8a5..d1d886b7c58c 100644 --- a/www/phpvirtualbox-legacy/Makefile +++ b/www/phpvirtualbox-legacy/Makefile @@ -1,6 +1,6 @@ PORTNAME= phpvirtualbox DISTVERSION= 5.2-1 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= www SUFFIX= -legacy PKGNAMESUFFIX= ${SUFFIX}${PHP_PKGNAMESUFFIX} @@ -18,8 +18,7 @@ USE_PHP= session simplexml soap xml ETCDIR= ${WWWDIR} WWWDIR= ${PREFIX}/www/${PORTNAME}${SUFFIX} -EXTRA_PATCHES+= ${.CURDIR}/../phpvirtualbox/files/patch-php8 \ - ${.CURDIR}/../phpvirtualbox/files/patch-panes_mediumEncryptionPasswords.html +EXTRA_PATCHES+= ${.CURDIR}/../phpvirtualbox-72/files/patch-panes_mediumEncryptionPasswords.html NO_ARCH= yes NO_BUILD= yes PORTSCOUT= limit:^5\. @@ -29,6 +28,7 @@ post-patch: @${REINPLACE_CMD} -e 's#Alias /phpvirtualbox#Alias /phpvirtualbox-legacy#' \ -e 's#/usr/share/phpvirtualbox#${WWWDIR}#g' \ ${WRKSRC}/phpvirtualbox-legacy.conf + @${REINPLACE_CMD} -e 's#\r#\n#g' ${WRKSRC}/languages/zh_tw.xml do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} diff --git a/www/phpvirtualbox/files/patch-php8 b/www/phpvirtualbox-legacy/files/patch-php8 index 52fe5a6a5b12..52fe5a6a5b12 100644 --- a/www/phpvirtualbox/files/patch-php8 +++ b/www/phpvirtualbox-legacy/files/patch-php8 diff --git a/www/phpvirtualbox/Makefile b/www/phpvirtualbox/Makefile index a0894d3b098f..bcd01b010d36 100644 --- a/www/phpvirtualbox/Makefile +++ b/www/phpvirtualbox/Makefile @@ -1,6 +1,6 @@ PORTNAME= phpvirtualbox DISTVERSION= 6.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= www PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} @@ -17,6 +17,8 @@ GH_TAGNAME= cf82d58f2 USE_PHP= session simplexml soap xml ETCDIR= ${WWWDIR} +EXTRA_PATCHES+= ${.CURDIR}/../phpvirtualbox-72/files/patch-panes_mediumEncryptionPasswords.html \ + ${.CURDIR}/../phpvirtualbox-legacy/files/patch-php8 NO_ARCH= yes NO_BUILD= yes PORTSCOUT= limit:^6\. @@ -24,6 +26,7 @@ PORTSCOUT= limit:^6\. post-patch: @${REINPLACE_CMD} -e 's#/usr/share/phpvirtualbox#${WWWDIR}#g' \ ${WRKSRC}/phpvirtualbox.conf + @${REINPLACE_CMD} -e 's#\r#\n#g' ${WRKSRC}/languages/zh_tw.xml do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} diff --git a/www/pocket-id/Makefile b/www/pocket-id/Makefile index 85f30dc8707c..2706c199ec76 100644 --- a/www/pocket-id/Makefile +++ b/www/pocket-id/Makefile @@ -1,6 +1,7 @@ PORTNAME= pocket-id DISTVERSIONPREFIX= v -DISTVERSION= 1.7.0 +DISTVERSION= 1.10.0 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= LOCAL/dtxdf/${PORTNAME}/ DISTFILES= ${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}.frontend${EXTRACT_SUFX} @@ -13,7 +14,7 @@ LICENSE= BSD2CLAUSE BROKEN_i386= cannot use int64(off) (value of type int64) as int32 value in assignment -USES= go:modules +USES= go:1.25,modules USE_GITHUB= yes USE_RC_SUBR= ${PORTNAME} diff --git a/www/pocket-id/distinfo b/www/pocket-id/distinfo index e2eec517c687..2fed86b8e729 100644 --- a/www/pocket-id/distinfo +++ b/www/pocket-id/distinfo @@ -1,7 +1,7 @@ -TIMESTAMP = 1755306698 -SHA256 (go/www_pocket-id/pocket-id-pocket-id-v1.7.0_GH0/pocket-id-v1.7.0.frontend.tar.gz) = f929f05c5901d543bd292dd635d046e26016e88d2281f82f3e601aaa391c01fc -SIZE (go/www_pocket-id/pocket-id-pocket-id-v1.7.0_GH0/pocket-id-v1.7.0.frontend.tar.gz) = 1026544 -SHA256 (go/www_pocket-id/pocket-id-pocket-id-v1.7.0_GH0/go.mod) = bae92800439a031ba8ecb6baf5ba6e94655674222da714ba457109769b8f4270 -SIZE (go/www_pocket-id/pocket-id-pocket-id-v1.7.0_GH0/go.mod) = 6878 -SHA256 (go/www_pocket-id/pocket-id-pocket-id-v1.7.0_GH0/pocket-id-pocket-id-v1.7.0_GH0.tar.gz) = 3fb3ee7f81a1aa5524a9289d62149021cb84683c94f30d3acf342302aabea295 -SIZE (go/www_pocket-id/pocket-id-pocket-id-v1.7.0_GH0/pocket-id-pocket-id-v1.7.0_GH0.tar.gz) = 5576160 +TIMESTAMP = 1756427787 +SHA256 (go/www_pocket-id/pocket-id-pocket-id-v1.10.0_GH0/pocket-id-v1.10.0.frontend.tar.gz) = d316b82be00d698a820ac115663ae35f6485b885094ca47d430eec174f8cadb2 +SIZE (go/www_pocket-id/pocket-id-pocket-id-v1.10.0_GH0/pocket-id-v1.10.0.frontend.tar.gz) = 1488185 +SHA256 (go/www_pocket-id/pocket-id-pocket-id-v1.10.0_GH0/go.mod) = 407629c8229cd31ee5221adda1ac6926f22a6e1f938b86f73d7b95f3402db75d +SIZE (go/www_pocket-id/pocket-id-pocket-id-v1.10.0_GH0/go.mod) = 7114 +SHA256 (go/www_pocket-id/pocket-id-pocket-id-v1.10.0_GH0/pocket-id-pocket-id-v1.10.0_GH0.tar.gz) = f6fc8cb49b65eae09ee9f46122d25557d141279970b157c5e29141c0080d969c +SIZE (go/www_pocket-id/pocket-id-pocket-id-v1.10.0_GH0/pocket-id-pocket-id-v1.10.0_GH0.tar.gz) = 5638841 diff --git a/www/pomerium/Makefile b/www/pomerium/Makefile index 2f2010958a10..ccf9548ff268 100644 --- a/www/pomerium/Makefile +++ b/www/pomerium/Makefile @@ -1,7 +1,7 @@ PORTNAME= pomerium DISTVERSIONPREFIX= v DISTVERSION= 0.8.4 -PORTREVISION= 13 +PORTREVISION= 14 PORTEPOCH= 1 CATEGORIES= www diff --git a/www/proxygen/Makefile b/www/proxygen/Makefile index 4eb2704e99a5..f6102363d4d7 100644 --- a/www/proxygen/Makefile +++ b/www/proxygen/Makefile @@ -1,7 +1,6 @@ PORTNAME= proxygen DISTVERSIONPREFIX= v -DISTVERSION= 2025.08.04.00 -PORTREVISION= 1 +DISTVERSION= 2025.08.18.00 CATEGORIES= www MAINTAINER= yuri@FreeBSD.org diff --git a/www/proxygen/distinfo b/www/proxygen/distinfo index 378934de87d5..d8d33284f430 100644 --- a/www/proxygen/distinfo +++ b/www/proxygen/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1754411619 -SHA256 (facebook-proxygen-v2025.08.04.00_GH0.tar.gz) = 94e62723bd222f124d853e6d05c19f2f4a886974f03b165a64fe72809c627f85 -SIZE (facebook-proxygen-v2025.08.04.00_GH0.tar.gz) = 1229985 +TIMESTAMP = 1755586120 +SHA256 (facebook-proxygen-v2025.08.18.00_GH0.tar.gz) = 2c28aa692544116fd34224310165e344588922be973164b572b9b1b5e9b24f54 +SIZE (facebook-proxygen-v2025.08.18.00_GH0.tar.gz) = 1236762 diff --git a/www/proxygen/pkg-plist b/www/proxygen/pkg-plist index 4698092a50af..c01f1f77e90f 100644 --- a/www/proxygen/pkg-plist +++ b/www/proxygen/pkg-plist @@ -209,6 +209,7 @@ include/proxygen/lib/http/sink/HTTPTunnelSink.h include/proxygen/lib/http/stats/ConnectionStats.h include/proxygen/lib/http/stats/HTTPCodecStats.h include/proxygen/lib/http/stats/HTTPCodecStatsFilter.h +include/proxygen/lib/http/stats/HttpServerStats.h include/proxygen/lib/http/stats/HeaderCodecStats.h include/proxygen/lib/http/stats/ResponseCodeStatsMinute.h include/proxygen/lib/http/stats/TLResponseCodeStats.h @@ -218,6 +219,7 @@ include/proxygen/lib/http/structuredheaders/StructuredHeadersConstants.h include/proxygen/lib/http/structuredheaders/StructuredHeadersDecoder.h include/proxygen/lib/http/structuredheaders/StructuredHeadersEncoder.h include/proxygen/lib/http/structuredheaders/StructuredHeadersUtilities.h +include/proxygen/lib/http/webtransport/FlowController.h include/proxygen/lib/http/webtransport/HTTPWebTransport.h include/proxygen/lib/http/webtransport/WebTransport.h include/proxygen/lib/http/webtransport/test/FakeSharedWebTransport.h diff --git a/www/py-adblock/Makefile b/www/py-adblock/Makefile index d566dec56c46..129d91a488bb 100644 --- a/www/py-adblock/Makefile +++ b/www/py-adblock/Makefile @@ -1,6 +1,6 @@ PORTNAME= adblock DISTVERSION= 0.6.0 -PORTREVISION= 36 +PORTREVISION= 38 CATEGORIES= www python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-autobahn/Makefile b/www/py-autobahn/Makefile index e233402355de..3872796f650a 100644 --- a/www/py-autobahn/Makefile +++ b/www/py-autobahn/Makefile @@ -1,7 +1,7 @@ PORTNAME= autobahn DISTVERSIONPREFIX= v DISTVERSION= 24.4.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-bokeh/Makefile b/www/py-bokeh/Makefile index 1740858f5450..625e73c11159 100644 --- a/www/py-bokeh/Makefile +++ b/www/py-bokeh/Makefile @@ -1,6 +1,6 @@ PORTNAME= bokeh PORTVERSION= 2.4.3 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-calibreweb/Makefile b/www/py-calibreweb/Makefile index ce288321aefb..e957fa734831 100644 --- a/www/py-calibreweb/Makefile +++ b/www/py-calibreweb/Makefile @@ -1,13 +1,9 @@ PORTNAME= calibreweb -PORTVERSION= 0.6.24 -PORTREVISION= 3 +PORTVERSION= 0.6.25 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -PATCH_SITES= https://github.com/janeczku/calibre-web/commit/ -PATCHFILES= f493d4e4e521b99964c0b2a744d54390fc3b663e.patch:-p1 - MAINTAINER= matthew@wener.org COMMENT= Web interface for viewing and downloading eBooks from a Calibre DB WWW= https://github.com/janeczku/calibre-web @@ -19,6 +15,7 @@ BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}APScheduler>=0:devel/py-apscheduler@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}bleach>=0:www/py-bleach@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}chardet>=0:textproc/py-chardet@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}flask-babel>=0:devel/py-flask-babel@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Flask-HTTPAuth>=0:security/py-flask-httpauth@${PY_FLAVOR} \ @@ -28,6 +25,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}APScheduler>=0:devel/py-apscheduler@${PY_FLA ${PYTHON_PKGNAMEPREFIX}iso-639>=0:textproc/py-iso-639@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml5>=0:devel/py-lxml5@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}netifaces-plus>=0:net/py-netifaces-plus@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pycountry>=0:textproc/py-pycountry@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pypdf>=0:print/py-pypdf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-magic>=0:devel/py-python-magic@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}regex>=0:textproc/py-regex@${PY_FLAVOR} \ @@ -38,8 +36,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}APScheduler>=0:devel/py-apscheduler@${PY_FLA ${PYTHON_PKGNAMEPREFIX}urllib3>=0:net/py-urllib3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Wand>=0:graphics/py-wand@${PY_FLAVOR} -USES= python -USE_PYTHON= autoplist pep517 +USES= python ssl +USE_PYTHON= autoplist cryptography pep517 USE_RC_SUBR= ${PORTNAME} NO_ARCH= yes @@ -50,7 +48,6 @@ SUB_LIST= GROUP=${GROUPS} \ PYTHON_CMD=${PYTHON_CMD} \ RC_NAME=calibreweb \ USER=${USERS} -PATCH_WRKSRC= ${WRKSRC}/src/calibreweb USERS= ${PORTNAME} GROUPS= ${PORTNAME} @@ -58,8 +55,9 @@ GROUPS= ${PORTNAME} POST_PLIST= fix-plist PORTDOCS= PKG-INFO README.md -OPTIONS_DEFINE= CALIBRE COMICS DOCS GDRIVE GMAIL GREADS KOBO LDAP \ - METADATA OAUTH +# GDRIVE option removed due to expired security/py-oauth2client +OPTIONS_DEFINE= CALIBRE COMICS DOCS GMAIL GREADS KOBO LDAP METADATA \ + OAUTH OPTIONS_DEFAULT= IMAGICK7_X11 SQLA20 OPTIONS_SINGLE= IMAGICK SQLA @@ -68,7 +66,6 @@ OPTIONS_SINGLE_SQLA= SQLA14 SQLA20 CALIBRE_DESC= Calibre Desktop Conversion and Metadata Editing COMICS_DESC= Comic Metadata Support -GDRIVE_DESC= Google Drive Support GMAIL_DESC= GMail GREADS_DESC= Goodreads API IMAGICK6_NOX11_DESC= ImageMagick6 without X11 support @@ -87,16 +84,6 @@ SQLA_DESC= SQLAchemy Database Toolkit for Python CALIBRE_RUN_DEPENDS= calibre>=0:deskutils/calibre COMICS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}comicapi>=0:archivers/py-comicapi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}natsort>=0:devel/py-natsort@${PY_FLAVOR} -GDRIVE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gevent>=0:devel/py-gevent@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}google-api-python-client>=0:www/py-google-api-python-client@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}google-auth-httplib2>=0:security/py-google-auth-httplib2@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}greenlet>=0:devel/py-greenlet@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}oauth2client>=0:security/py-oauth2client@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pyasn1-modules>=0:devel/py-pyasn1-modules@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}PyDrive2>=0:www/py-pydrive2@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}rsa>=0:security/py-rsa@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}uritemplate>=0:net/py-uritemplate@${PY_FLAVOR} GMAIL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}google-api-python-client>=0:www/py-google-api-python-client@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}google-auth-oauthlib>=0:security/py-google-auth-oauthlib@${PY_FLAVOR} GREADS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}goodreads>=0:devel/py-goodreads@${PY_FLAVOR} \ @@ -125,9 +112,6 @@ OAUTH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flask-dance>=0:www/py-flask-dance@${PY SQLA14_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlalchemy14>=0:databases/py-sqlalchemy14@${PY_FLAVOR} SQLA20_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlalchemy20>=0:databases/py-sqlalchemy20@${PY_FLAVOR} -post-patch: - ${FIND} ${PATCH_WRKSRC} -name '*.orig' -delete - pre-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} diff --git a/www/py-calibreweb/distinfo b/www/py-calibreweb/distinfo index bc6e49d75283..fedffc2bd2c2 100644 --- a/www/py-calibreweb/distinfo +++ b/www/py-calibreweb/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1731942101 -SHA256 (calibreweb-0.6.24.tar.gz) = 883c956ceb93a9bfa758428904d4122e64a1cf4778e5b6df14b8e50f465b6f9e -SIZE (calibreweb-0.6.24.tar.gz) = 7126198 +TIMESTAMP = 1756041510 +SHA256 (calibreweb-0.6.25.tar.gz) = 27f8c3c2790ac6732a16eda52bd450a0578ad177c21f68b7373e68a3b86379cc +SIZE (calibreweb-0.6.25.tar.gz) = 7199153 SHA256 (f493d4e4e521b99964c0b2a744d54390fc3b663e.patch) = 38a80e7ab18d5f06216b5b0b3fbe45d7cd59c3d43aecea2eb4ba9510d6f118ca SIZE (f493d4e4e521b99964c0b2a744d54390fc3b663e.patch) = 1748 diff --git a/www/py-calibreweb/files/calibreweb.in b/www/py-calibreweb/files/calibreweb.in index ba413bc6e6ff..75fc5a352314 100644 --- a/www/py-calibreweb/files/calibreweb.in +++ b/www/py-calibreweb/files/calibreweb.in @@ -20,11 +20,11 @@ # %%RC_NAME%%_gdrive: Directory and file name of %%RC_NAME%% gdrive # db is stored. # Default: %%PREFIX%%/%%RC_NAME%%/gdrive.db -# %%RC_NAME%%_cert: Directory and file name of %%RC_NAME%% gdrive -# db is stored. +# %%RC_NAME%%_cert: Directory and file name of %%RC_NAME%% +# certificate is stored. # Default: None -# %%RC_NAME%%_key: Directory and file name of %%RC_NAME%% gdrive -# db is stored. +# %%RC_NAME%%_key: Directory and file name of %%RC_NAME%% +# key is stored. # Default: None # %%RC_NAME%%_flags: Additonal flags as needed # Default: None @@ -54,10 +54,10 @@ load_rc_config ${name} : ${%%RC_NAME%%_enable:=NO} : ${%%RC_NAME%%_user:=%%USER%%} : ${%%RC_NAME%%_group:=%%GROUP%%} -: ${%%RC_NAME%%_ip_addr="0.0.0.0"} -: ${%%RC_NAME%%_conf_dir="%%DATADIR%%"} -: ${%%RC_NAME%%_settings="${%%RC_NAME%%_conf_dir}/app.db"} -: ${%%RC_NAME%%_gdrive="${%%RC_NAME%%_conf_dir}/gdrive.db"} +: ${%%RC_NAME%%_ip_addr:="0.0.0.0"} +: ${%%RC_NAME%%_conf_dir:="%%DATADIR%%"} +: ${%%RC_NAME%%_settings:="${%%RC_NAME%%_conf_dir}/app.db"} +: ${%%RC_NAME%%_gdrive:="${%%RC_NAME%%_conf_dir}/gdrive.db"} : ${%%RC_NAME%%_pid:="%%PORTNAME%%.pid"} : ${%%RC_NAME%%_pid_dir:="/var/run/%%PORTNAME%%"} : ${%%RC_NAME%%_log:="%%PORTNAME%%.log"} diff --git a/www/py-daphne/Makefile b/www/py-daphne/Makefile index f0a803e5cc6e..20cf726e2e81 100644 --- a/www/py-daphne/Makefile +++ b/www/py-daphne/Makefile @@ -1,5 +1,6 @@ PORTNAME= daphne PORTVERSION= 4.2.1 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-dj51-django-allauth/Makefile b/www/py-dj51-django-allauth/Makefile index e5d7c9a6d65c..026685cd957d 100644 --- a/www/py-dj51-django-allauth/Makefile +++ b/www/py-dj51-django-allauth/Makefile @@ -1,5 +1,5 @@ PORTNAME= django-allauth -PORTVERSION= 65.10.0 +PORTVERSION= 65.11.1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51- diff --git a/www/py-dj51-django-allauth/distinfo b/www/py-dj51-django-allauth/distinfo index fa006db4661c..3515395a0cff 100644 --- a/www/py-dj51-django-allauth/distinfo +++ b/www/py-dj51-django-allauth/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1753980268 -SHA256 (django_allauth-65.10.0.tar.gz) = 47daa3b0e11a1d75724ea32995de37bd2b8963e9e4cce2b3a7fd64eb6d3b3c48 -SIZE (django_allauth-65.10.0.tar.gz) = 1897777 +TIMESTAMP = 1757006313 +SHA256 (django_allauth-65.11.1.tar.gz) = e95d5234cccaf92273d315e1393cc4626cb88a19d66a1bf0e81f89f7958cfa06 +SIZE (django_allauth-65.11.1.tar.gz) = 1915592 diff --git a/www/py-dj51-django-choices-field/Makefile b/www/py-dj51-django-choices-field/Makefile index c0090e2af7de..738a07fce073 100644 --- a/www/py-dj51-django-choices-field/Makefile +++ b/www/py-dj51-django-choices-field/Makefile @@ -1,5 +1,5 @@ PORTNAME= django-choices-field -DISTVERSION= 2.3.0 +DISTVERSION= 3.0.1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51- diff --git a/www/py-dj51-django-choices-field/distinfo b/www/py-dj51-django-choices-field/distinfo index 7f61f9ac7dde..c6c4cefdf5ca 100644 --- a/www/py-dj51-django-choices-field/distinfo +++ b/www/py-dj51-django-choices-field/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1711885476 -SHA256 (django_choices_field-2.3.0.tar.gz) = bb0c85c79737ab98bfb9c0d9ddf98010d612c0585be767890e25fd192c3d1694 -SIZE (django_choices_field-2.3.0.tar.gz) = 6448 +TIMESTAMP = 1756398970 +SHA256 (django_choices_field-3.0.1.tar.gz) = 5b45f5d3aa2ef3c30a7ff296ac7acc743097fb3185c78f8c4256c6a73854ab20 +SIZE (django_choices_field-3.0.1.tar.gz) = 5717 diff --git a/www/py-dj51-django-netfields/Makefile b/www/py-dj51-django-netfields/Makefile new file mode 100644 index 000000000000..f7e60444aea1 --- /dev/null +++ b/www/py-dj51-django-netfields/Makefile @@ -0,0 +1,24 @@ +PORTNAME= django-netfields +DISTVERSION= 1.3.2 +CATEGORIES= www python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj51- + +MAINTAINER= bofh@FreeBSD.org +COMMENT= Django PostgreSQL netfields implementation +WWW= https://github.com/jimfunk/django-postgresql-netfields + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django51>=5.1:www/py-django51@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}psycopg2>0:databases/py-psycopg2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}netaddr>=0:net/py-netaddr@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/www/py-dj51-django-netfields/distinfo b/www/py-dj51-django-netfields/distinfo new file mode 100644 index 000000000000..7177e06dcd84 --- /dev/null +++ b/www/py-dj51-django-netfields/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1702905399 +SHA256 (django-netfields-1.3.2.tar.gz) = e54943601bb88573b70f8843e7080f5d7327e41f5500ce30a198c384cc325a60 +SIZE (django-netfields-1.3.2.tar.gz) = 36764 diff --git a/www/py-dj51-django-netfields/pkg-descr b/www/py-dj51-django-netfields/pkg-descr new file mode 100644 index 000000000000..9e2b7c61928f --- /dev/null +++ b/www/py-dj51-django-netfields/pkg-descr @@ -0,0 +1,5 @@ +Django netfields makes proper PostgreSQL net related fields for Django. +Custom fields include IP Addresses in CIDR Format, and fields for MAC +Addresses. + +This is specific to Django version 5.1.X. diff --git a/www/py-dj52-django-choices-field/Makefile b/www/py-dj52-django-choices-field/Makefile index 355a02ed97cb..5f4feebdf60d 100644 --- a/www/py-dj52-django-choices-field/Makefile +++ b/www/py-dj52-django-choices-field/Makefile @@ -1,5 +1,5 @@ PORTNAME= django-choices-field -DISTVERSION= 2.3.0 +DISTVERSION= 3.0.1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj52- diff --git a/www/py-dj52-django-choices-field/distinfo b/www/py-dj52-django-choices-field/distinfo index 7f61f9ac7dde..c6c4cefdf5ca 100644 --- a/www/py-dj52-django-choices-field/distinfo +++ b/www/py-dj52-django-choices-field/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1711885476 -SHA256 (django_choices_field-2.3.0.tar.gz) = bb0c85c79737ab98bfb9c0d9ddf98010d612c0585be767890e25fd192c3d1694 -SIZE (django_choices_field-2.3.0.tar.gz) = 6448 +TIMESTAMP = 1756398970 +SHA256 (django_choices_field-3.0.1.tar.gz) = 5b45f5d3aa2ef3c30a7ff296ac7acc743097fb3185c78f8c4256c6a73854ab20 +SIZE (django_choices_field-3.0.1.tar.gz) = 5717 diff --git a/www/py-django-choices-field/Makefile b/www/py-django-choices-field/Makefile index ea749d189df7..bed9bf22985c 100644 --- a/www/py-django-choices-field/Makefile +++ b/www/py-django-choices-field/Makefile @@ -1,6 +1,5 @@ PORTNAME= django-choices-field -DISTVERSION= 2.3.0 -PORTREVISION= 1 +DISTVERSION= 3.0.1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-django-choices-field/distinfo b/www/py-django-choices-field/distinfo index 7f61f9ac7dde..c6c4cefdf5ca 100644 --- a/www/py-django-choices-field/distinfo +++ b/www/py-django-choices-field/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1711885476 -SHA256 (django_choices_field-2.3.0.tar.gz) = bb0c85c79737ab98bfb9c0d9ddf98010d612c0585be767890e25fd192c3d1694 -SIZE (django_choices_field-2.3.0.tar.gz) = 6448 +TIMESTAMP = 1756398970 +SHA256 (django_choices_field-3.0.1.tar.gz) = 5b45f5d3aa2ef3c30a7ff296ac7acc743097fb3185c78f8c4256c6a73854ab20 +SIZE (django_choices_field-3.0.1.tar.gz) = 5717 diff --git a/www/py-django-cms/Makefile b/www/py-django-cms/Makefile index a259ecd7f3d6..5dd87295f7e2 100644 --- a/www/py-django-cms/Makefile +++ b/www/py-django-cms/Makefile @@ -1,5 +1,5 @@ PORTNAME= django-cms -PORTVERSION= 5.0.0 +PORTVERSION= 5.0.2 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-django-cms/distinfo b/www/py-django-cms/distinfo index 23a5dd29c01c..70a3337b50c3 100644 --- a/www/py-django-cms/distinfo +++ b/www/py-django-cms/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1747790352 -SHA256 (django_cms-5.0.0.tar.gz) = 2249129a767f77358e62a5089b704cd507e237688802791b51254fe7a882fc19 -SIZE (django_cms-5.0.0.tar.gz) = 4932664 +TIMESTAMP = 1755765955 +SHA256 (django_cms-5.0.2.tar.gz) = 8caf386bbed6b7a17746632b016d1976772637bb214c890356f7532adcb2d153 +SIZE (django_cms-5.0.2.tar.gz) = 4935418 diff --git a/www/py-django-filer/Makefile b/www/py-django-filer/Makefile index 7352f8181d50..482e0eb902fe 100644 --- a/www/py-django-filer/Makefile +++ b/www/py-django-filer/Makefile @@ -1,6 +1,6 @@ PORTNAME= django-filer PORTVERSION= 3.1.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-django-haystack/Makefile b/www/py-django-haystack/Makefile index ce922a815985..8a66fb2852e1 100644 --- a/www/py-django-haystack/Makefile +++ b/www/py-django-haystack/Makefile @@ -1,9 +1,9 @@ PORTNAME= django-haystack -PORTVERSION= 3.2.1 -PORTREVISION= 2 +PORTVERSION= 3.3.0 CATEGORIES= www databases python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= django_haystack-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Pluggable search for Django @@ -13,10 +13,11 @@ WWW= https://haystacksearch.org/ \ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.2:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.4:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=2.2:www/py-django42@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=3.2:www/py-django42@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent pep517 @@ -27,6 +28,6 @@ OPTIONS_DEFINE= ELASTIC OPTIONS_DEFAULT=ELASTIC ELASTIC_DESC= Elasticsearch support -ELASTIC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}elasticsearch>=5<8:textproc/py-elasticsearch@${PY_FLAVOR} +ELASTIC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}elasticsearch7>=5<8:textproc/py-elasticsearch7@${PY_FLAVOR} .include <bsd.port.mk> diff --git a/www/py-django-haystack/distinfo b/www/py-django-haystack/distinfo index 7786bec6670f..4a7bdaaf52a4 100644 --- a/www/py-django-haystack/distinfo +++ b/www/py-django-haystack/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1652122707 -SHA256 (django-haystack-3.2.1.tar.gz) = 97e3197aefc225fe405b6f17600a2534bf827cb4d6743130c20bc1a06f7293a4 -SIZE (django-haystack-3.2.1.tar.gz) = 466580 +TIMESTAMP = 1755062582 +SHA256 (django_haystack-3.3.0.tar.gz) = e3ceed6b8000625da14d409eb4dac69894905e2ac8ac18f9bfdb59323ca02eab +SIZE (django_haystack-3.3.0.tar.gz) = 467287 diff --git a/www/py-django-markdownx/Makefile b/www/py-django-markdownx/Makefile index 34d1249bc3b9..c55fcbf114e2 100644 --- a/www/py-django-markdownx/Makefile +++ b/www/py-django-markdownx/Makefile @@ -1,5 +1,6 @@ PORTNAME= django-markdownx PORTVERSION= 4.0.9 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-django-photologue/Makefile b/www/py-django-photologue/Makefile index dd2ecf40e56e..5552e8fbeb13 100644 --- a/www/py-django-photologue/Makefile +++ b/www/py-django-photologue/Makefile @@ -1,6 +1,6 @@ PORTNAME= django-photologue PORTVERSION= 3.17 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-django-simple-captcha/Makefile b/www/py-django-simple-captcha/Makefile index a235df392b2f..ee6e97d517f1 100644 --- a/www/py-django-simple-captcha/Makefile +++ b/www/py-django-simple-captcha/Makefile @@ -3,7 +3,7 @@ PORTNAME= django-simple-captcha # updating, it should be first checked whether its consumers, e.g. www/seahub, # have been switched to Django 4.2. PORTVERSION= 0.5.20 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-django42/Makefile b/www/py-django42/Makefile index 1cea19f77ff5..d249be7c2832 100644 --- a/www/py-django42/Makefile +++ b/www/py-django42/Makefile @@ -1,11 +1,10 @@ PORTNAME= django -PORTVERSION= 4.2.23 +PORTVERSION= 4.2.24 CATEGORIES= www python MASTER_SITES= PYPI \ https://media.djangoproject.com/releases/${PORTVERSION:R}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= 42 -#DISTNAME= Django-${PORTVERSION} DIST_SUBDIR= python MAINTAINER= python@FreeBSD.org diff --git a/www/py-django42/distinfo b/www/py-django42/distinfo index b0db05efbcba..ca9b8864bff8 100644 --- a/www/py-django42/distinfo +++ b/www/py-django42/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1749600590 -SHA256 (python/django-4.2.23.tar.gz) = 42fdeaba6e6449d88d4f66de47871015097dc6f1b87910db00a91946295cfae4 -SIZE (python/django-4.2.23.tar.gz) = 10448384 +TIMESTAMP = 1756950750 +SHA256 (python/django-4.2.24.tar.gz) = 40cd7d3f53bc6cd1902eadce23c337e97200888df41e4a73b42d682f23e71d80 +SIZE (python/django-4.2.24.tar.gz) = 10452798 diff --git a/www/py-django51/Makefile b/www/py-django51/Makefile index 9817f62152a5..de260b789463 100644 --- a/www/py-django51/Makefile +++ b/www/py-django51/Makefile @@ -1,5 +1,5 @@ PORTNAME= django -PORTVERSION= 5.1.11 +PORTVERSION= 5.1.12 CATEGORIES= www python MASTER_SITES= PYPI \ https://media.djangoproject.com/releases/${PORTVERSION:R}/ diff --git a/www/py-django51/distinfo b/www/py-django51/distinfo index 5a04e0fb0049..6a9bae727f31 100644 --- a/www/py-django51/distinfo +++ b/www/py-django51/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1749600451 -SHA256 (python/django-5.1.11.tar.gz) = 3bcdbd40e4d4623b5e04f59c28834323f3086df583058e65ebce99f9982385ce -SIZE (python/django-5.1.11.tar.gz) = 10734926 +TIMESTAMP = 1756950698 +SHA256 (python/django-5.1.12.tar.gz) = 8a8991b1ec052ef6a44fefd1ef336ab8daa221287bcb91a4a17d5e1abec5bbcc +SIZE (python/django-5.1.12.tar.gz) = 10737777 SHA256 (python/8b9a2bf34e132ccf0ab0a074440dc55f90c76598.patch) = cb9cde01b6ba13ceaba6de3d9315832b7a4ee4d3bf3d38028ef9169e99310495 SIZE (python/8b9a2bf34e132ccf0ab0a074440dc55f90c76598.patch) = 1803 diff --git a/www/py-django52/Makefile b/www/py-django52/Makefile index 53980cdf6f1b..13ea646dc88b 100644 --- a/www/py-django52/Makefile +++ b/www/py-django52/Makefile @@ -1,5 +1,5 @@ PORTNAME= django -PORTVERSION= 5.2.5 +PORTVERSION= 5.2.6 CATEGORIES= www python MASTER_SITES= PYPI \ https://media.djangoproject.com/releases/${PORTVERSION:R}/ diff --git a/www/py-django52/distinfo b/www/py-django52/distinfo index dfd0cdad8cf3..a76dffb829d5 100644 --- a/www/py-django52/distinfo +++ b/www/py-django52/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1754553970 -SHA256 (python/django-5.2.5.tar.gz) = 0745b25681b129a77aae3d4f6549b62d3913d74407831abaa0d9021a03954bae -SIZE (python/django-5.2.5.tar.gz) = 10859748 +TIMESTAMP = 1756950435 +SHA256 (python/django-5.2.6.tar.gz) = da5e00372763193d73cecbf71084a3848458cecf4cee36b9a1e8d318d114a87b +SIZE (python/django-5.2.6.tar.gz) = 10858861 diff --git a/www/py-djangorestframework/Makefile b/www/py-djangorestframework/Makefile index 355d17e95537..c1906afb909e 100644 --- a/www/py-djangorestframework/Makefile +++ b/www/py-djangorestframework/Makefile @@ -1,5 +1,5 @@ PORTNAME= djangorestframework -DISTVERSION= 3.16.0 +DISTVERSION= 3.16.1 PORTEPOCH= 1 CATEGORIES= www python MASTER_SITES= PYPI diff --git a/www/py-djangorestframework/distinfo b/www/py-djangorestframework/distinfo index c336e0e97c68..d9123228b38d 100644 --- a/www/py-djangorestframework/distinfo +++ b/www/py-djangorestframework/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1744359953 -SHA256 (djangorestframework-3.16.0.tar.gz) = f022ff46613584de994c0c6a4aebbace5fd700555fbe9d33b865ebf173eba6c9 -SIZE (djangorestframework-3.16.0.tar.gz) = 1068408 +TIMESTAMP = 1755333901 +SHA256 (djangorestframework-3.16.1.tar.gz) = 166809528b1aced0a17dc66c24492af18049f2c9420dbd0be29422029cfc3ff7 +SIZE (djangorestframework-3.16.1.tar.gz) = 1089735 diff --git a/www/py-flask/Makefile b/www/py-flask/Makefile index b7c137b698ff..4e3fee0e633d 100644 --- a/www/py-flask/Makefile +++ b/www/py-flask/Makefile @@ -1,5 +1,6 @@ PORTNAME= flask -DISTVERSION= 3.1.1 +DISTVERSION= 3.1.2 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -19,19 +20,24 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}werkzeug>=3.1:www/py-werkzeug@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}blinker>=1.9:devel/py-blinker@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} -USES= cpe python +USES= cpe python:3.10+ CPE_VENDOR= palletsprojects USE_PYTHON= pep517 concurrent autoplist NO_ARCH= yes -do-test: - @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest) +OPTIONS_DEFINE= ASYNC DOTENV +OPTIONS_DEFAULT=ASYNC DOTENV + +ASYNC_DESC= Enable async +ASYNC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asgiref>=3.2:www/py-asgiref@${PY_FLAVOR} -.include <bsd.port.pre.mk> +DOTENV_DESC= Enable dotenv +DOTENV_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-dotenv>=0:www/py-python-dotenv@${PY_FLAVOR} -.if ${PYTHON_REL} < 31000 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=3.6.0:devel/py-importlib-metadata@${PY_FLAVOR} -.endif +.include <bsd.port.options.mk> + +do-test: + @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest) -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/www/py-flask/distinfo b/www/py-flask/distinfo index dd7789fa3a5b..8caaf5eb9819 100644 --- a/www/py-flask/distinfo +++ b/www/py-flask/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1747179697 -SHA256 (flask-3.1.1.tar.gz) = 284c7b8f2f58cb737f0cf1c30fd7eaf0ccfcde196099d24ecede3fc2005aa59e -SIZE (flask-3.1.1.tar.gz) = 753440 +TIMESTAMP = 1755740139 +SHA256 (flask-3.1.2.tar.gz) = bf656c15c80190ed628ad08cdfd3aaa35beb087855e2f494910aa3774cc4fd87 +SIZE (flask-3.1.2.tar.gz) = 720160 diff --git a/www/py-google-api-core/Makefile b/www/py-google-api-core/Makefile index c358c0ae999c..02dece1bf59a 100644 --- a/www/py-google-api-core/Makefile +++ b/www/py-google-api-core/Makefile @@ -25,10 +25,12 @@ USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes -OPTIONS_DEFINE= GRPC GRPCGCP -OPTIONS_DEFAULT=GRPC +OPTIONS_DEFINE= ASYNC_REST GRPC GRPCGCP +OPTIONS_DEFAULT=ASYNC_REST GRPC +ASYNC_REST_DESC=Asynchronous REST support GRPCGCP_DESC= gRPC support for Google Cloud Platform +ASYNC_REST_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}google-auth>=2.35.0<3.0.0:security/py-google-auth@${PY_FLAVOR} GRPC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}grpcio>=1.49.1<2.0.0:devel/py-grpcio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}grpcio-status>=1.49.1<2.0.0:devel/py-grpcio-status@${PY_FLAVOR} GRPCGCP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}grpcio-gcp>=0.2.2<1.0.0:devel/py-grpcio-gcp@${PY_FLAVOR} diff --git a/www/py-google-api-python-client/Makefile b/www/py-google-api-python-client/Makefile index 11bdf6066214..bcd78978e5ff 100644 --- a/www/py-google-api-python-client/Makefile +++ b/www/py-google-api-python-client/Makefile @@ -1,5 +1,5 @@ PORTNAME= google-api-python-client -DISTVERSION= 2.178.0 +DISTVERSION= 2.181.0 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-google-api-python-client/distinfo b/www/py-google-api-python-client/distinfo index cb772162aa06..df96058efcf6 100644 --- a/www/py-google-api-python-client/distinfo +++ b/www/py-google-api-python-client/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1754493909 -SHA256 (google_api_python_client-2.178.0.tar.gz) = 99cba921eb471bb5973b780c653ac54d96eef8a42f1b7375b7ab98f257a4414c -SIZE (google_api_python_client-2.178.0.tar.gz) = 13282628 +TIMESTAMP = 1756973826 +SHA256 (google_api_python_client-2.181.0.tar.gz) = d7060962a274a16a2c6f8fb4b1569324dbff11bfbca8eb050b88ead1dd32261c +SIZE (google_api_python_client-2.181.0.tar.gz) = 13545438 diff --git a/www/py-google-cloud-storage/Makefile b/www/py-google-cloud-storage/Makefile index 7de175cff6fb..b0d1c2f5c88d 100644 --- a/www/py-google-cloud-storage/Makefile +++ b/www/py-google-cloud-storage/Makefile @@ -26,10 +26,12 @@ USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes -OPTIONS_DEFINE= PROTOBUF +OPTIONS_DEFINE= PROTOBUF TRACING OPTIONS_DEFINE= PROTOBUF PROTOBUF_DESC= Protocol buffers support +TRACING_DESC= Generate traces using OpenTelemetry PROTOBUF_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}protobuf>=3.20.2,1<7.0.0,1:devel/py-protobuf@${PY_FLAVOR} +TRACING_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}opentelemetry-api>=1.1.0<2.0.0:devel/py-opentelemetry-api@${PY_FLAVOR} .include <bsd.port.mk> diff --git a/www/py-granian/Makefile b/www/py-granian/Makefile index 52f9e471b519..d5b21d6eff20 100644 --- a/www/py-granian/Makefile +++ b/www/py-granian/Makefile @@ -1,5 +1,5 @@ PORTNAME= granian -PORTVERSION= 2.5.0 +PORTVERSION= 2.5.2 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,6 +14,7 @@ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}maturin>=1.7<2.0:devel/py-maturin@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=8.0:devel/py-click@${PY_FLAVOR} USES= cargo python USE_PYTHON= autoplist concurrent pep517 diff --git a/www/py-granian/Makefile.crates b/www/py-granian/Makefile.crates index 1e70fcd2018c..1f48b849f941 100644 --- a/www/py-granian/Makefile.crates +++ b/www/py-granian/Makefile.crates @@ -1,27 +1,21 @@ -===> License BSD3CLAUSE accepted by the user -===> py311-granian-2.5.0 depends on file: /usr/local/sbin/pkg - found -===> Fetching all distfiles required by py311-granian-2.5.0 for building -===> Extracting for py311-granian-2.5.0 -=> SHA256 Checksum OK for granian-2.5.0.tar.gz. -===> Moving crates to /usr/ports/www/py-granian/work-py311/granian-2.5.0/cargo-crates CARGO_CRATES= addr2line-0.24.2 \ adler2-2.0.1 \ aes-0.8.4 \ - anyhow-1.0.98 \ + anyhow-1.0.99 \ arc-swap-1.7.1 \ atomic-waker-1.1.2 \ autocfg-1.5.0 \ backtrace-0.3.75 \ base64-0.22.1 \ base64ct-1.8.0 \ - bitflags-2.9.1 \ + bitflags-2.9.3 \ block-buffer-0.10.4 \ block-padding-0.3.3 \ bus-2.4.1 \ bytes-1.10.1 \ cbc-0.1.2 \ - cc-1.2.30 \ - cfg-if-1.0.1 \ + cc-1.2.35 \ + cfg-if-1.0.3 \ cipher-0.4.4 \ const-oid-0.9.6 \ cpufeatures-0.2.17 \ @@ -33,6 +27,7 @@ CARGO_CRATES= addr2line-0.24.2 \ digest-0.10.7 \ either-1.15.0 \ equivalent-1.0.2 \ + find-msvc-tools-0.1.0 \ fnv-1.0.7 \ futures-0.3.31 \ futures-channel-0.3.31 \ @@ -47,8 +42,8 @@ CARGO_CRATES= addr2line-0.24.2 \ getrandom-0.2.16 \ getrandom-0.3.3 \ gimli-0.31.1 \ - h2-0.4.11 \ - hashbrown-0.15.4 \ + h2-0.4.12 \ + hashbrown-0.15.5 \ heck-0.5.0 \ hermit-abi-0.5.2 \ hmac-0.12.1 \ @@ -57,21 +52,21 @@ CARGO_CRATES= addr2line-0.24.2 \ http-body-util-0.1.3 \ httparse-1.10.1 \ httpdate-1.0.3 \ - hyper-1.6.0 \ + hyper-1.7.0 \ hyper-util-0.1.16 \ - indexmap-2.10.0 \ + indexmap-2.11.0 \ indoc-2.0.6 \ inout-0.1.4 \ - io-uring-0.7.9 \ + io-uring-0.7.10 \ itertools-0.14.0 \ itoa-1.0.15 \ - libc-0.2.174 \ - libmimalloc-sys-0.1.43 \ + libc-0.2.175 \ + libmimalloc-sys-0.1.44 \ lock_api-0.4.13 \ log-0.4.27 \ memchr-2.7.5 \ memoffset-0.9.1 \ - mimalloc-0.1.47 \ + mimalloc-0.1.48 \ mime-0.3.17 \ mime_guess-2.0.5 \ miniz_oxide-0.8.9 \ @@ -86,14 +81,14 @@ CARGO_CRATES= addr2line-0.24.2 \ parking_lot_core-0.9.11 \ pbkdf2-0.12.2 \ pem-3.0.5 \ - percent-encoding-2.3.1 \ + percent-encoding-2.3.2 \ pin-project-lite-0.2.16 \ pin-utils-0.1.0 \ pkcs5-0.7.1 \ pkcs8-0.10.2 \ portable-atomic-1.11.1 \ ppv-lite86-0.2.21 \ - proc-macro2-1.0.95 \ + proc-macro2-1.0.101 \ pyo3-0.25.1 \ pyo3-build-config-0.25.1 \ pyo3-ffi-0.25.1 \ @@ -122,26 +117,26 @@ CARGO_CRATES= addr2line-0.24.2 \ sha1-0.10.6 \ sha2-0.10.9 \ shlex-1.3.0 \ - signal-hook-registry-1.4.5 \ - slab-0.4.10 \ + signal-hook-registry-1.4.6 \ + slab-0.4.11 \ smallvec-1.15.1 \ socket2-0.6.0 \ spki-0.7.3 \ subtle-2.6.1 \ - syn-2.0.104 \ + syn-2.0.106 \ sysinfo-0.36.1 \ target-lexicon-0.13.2 \ - thiserror-2.0.12 \ - thiserror-impl-2.0.12 \ + thiserror-2.0.16 \ + thiserror-impl-2.0.16 \ tikv-jemalloc-sys-0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7 \ tikv-jemallocator-0.6.0 \ tls-listener-0.11.0 \ - tokio-1.47.0 \ + tokio-1.47.1 \ tokio-macros-2.5.0 \ tokio-rustls-0.26.2 \ tokio-stream-0.1.17 \ tokio-tungstenite-0.27.0 \ - tokio-util-0.7.15 \ + tokio-util-0.7.16 \ tracing-0.1.41 \ tracing-core-0.1.34 \ tungstenite-0.27.0 \ @@ -153,7 +148,7 @@ CARGO_CRATES= addr2line-0.24.2 \ utf-8-0.7.6 \ version_check-0.9.5 \ wasi-0.11.1+wasi-snapshot-preview1 \ - wasi-0.14.2+wasi-0.2.4 \ + wasi-0.14.3+wasi-0.2.4 \ winapi-0.3.9 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-x86_64-pc-windows-gnu-0.4.0 \ @@ -179,7 +174,7 @@ CARGO_CRATES= addr2line-0.24.2 \ windows_x86_64_gnu-0.52.6 \ windows_x86_64_gnullvm-0.52.6 \ windows_x86_64_msvc-0.52.6 \ - wit-bindgen-rt-0.39.0 \ + wit-bindgen-0.45.0 \ zerocopy-0.8.26 \ zerocopy-derive-0.8.26 \ zeroize-1.8.1 diff --git a/www/py-granian/distinfo b/www/py-granian/distinfo index 4e83ff1be8ab..bf60bf1835a0 100644 --- a/www/py-granian/distinfo +++ b/www/py-granian/distinfo @@ -1,14 +1,14 @@ -TIMESTAMP = 1753975319 -SHA256 (granian-2.5.0.tar.gz) = bed0d047c9c0c6c6a5a85ee5b3c7e2683fc63e03ac032eaf3d7654fa96bde102 -SIZE (granian-2.5.0.tar.gz) = 110336 +TIMESTAMP = 1757003794 +SHA256 (granian-2.5.2.tar.gz) = fdaa832a99745f74ca303ee587ae9ad5e3f0ab4a6e5a5d509619faabc7e5b1f0 +SIZE (granian-2.5.2.tar.gz) = 111944 SHA256 (rust/crates/addr2line-0.24.2.crate) = dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1 SIZE (rust/crates/addr2line-0.24.2.crate) = 39015 SHA256 (rust/crates/adler2-2.0.1.crate) = 320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa SIZE (rust/crates/adler2-2.0.1.crate) = 13366 SHA256 (rust/crates/aes-0.8.4.crate) = b169f7a6d4742236a0a00c541b845991d0ac43e546831af1249753ab4c3aa3a0 SIZE (rust/crates/aes-0.8.4.crate) = 124812 -SHA256 (rust/crates/anyhow-1.0.98.crate) = e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487 -SIZE (rust/crates/anyhow-1.0.98.crate) = 53334 +SHA256 (rust/crates/anyhow-1.0.99.crate) = b0674a1ddeecb70197781e945de4b3b8ffb61fa939a5597bcf48503737663100 +SIZE (rust/crates/anyhow-1.0.99.crate) = 53809 SHA256 (rust/crates/arc-swap-1.7.1.crate) = 69f7f8c3906b62b754cd5326047894316021dcfe5a194c8ea52bdd94934a3457 SIZE (rust/crates/arc-swap-1.7.1.crate) = 68512 SHA256 (rust/crates/atomic-waker-1.1.2.crate) = 1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0 @@ -21,8 +21,8 @@ SHA256 (rust/crates/base64-0.22.1.crate) = 72b3254f16251a8381aa12e40e3c4d2f0199f 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/bitflags-2.9.1.crate) = 1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967 -SIZE (rust/crates/bitflags-2.9.1.crate) = 47913 +SHA256 (rust/crates/bitflags-2.9.3.crate) = 34efbcccd345379ca2868b2b2c9d3782e9cc58ba87bc7d79d5b53d9c9ae6f25d +SIZE (rust/crates/bitflags-2.9.3.crate) = 47777 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 @@ -33,10 +33,10 @@ SHA256 (rust/crates/bytes-1.10.1.crate) = d71b6127be86fdcfddb610f7182ac57211d4b1 SIZE (rust/crates/bytes-1.10.1.crate) = 76779 SHA256 (rust/crates/cbc-0.1.2.crate) = 26b52a9543ae338f279b96b0b9fed9c8093744685043739079ce85cd58f289a6 SIZE (rust/crates/cbc-0.1.2.crate) = 23501 -SHA256 (rust/crates/cc-1.2.30.crate) = deec109607ca693028562ed836a5f1c4b8bd77755c4e132fc5ce11b0b6211ae7 -SIZE (rust/crates/cc-1.2.30.crate) = 108550 -SHA256 (rust/crates/cfg-if-1.0.1.crate) = 9555578bc9e57714c812a1f84e4fc5b4d21fcb063490c624de019f7464c91268 -SIZE (rust/crates/cfg-if-1.0.1.crate) = 8683 +SHA256 (rust/crates/cc-1.2.35.crate) = 590f9024a68a8c40351881787f1934dc11afd69090f5edb6831464694d836ea3 +SIZE (rust/crates/cc-1.2.35.crate) = 89972 +SHA256 (rust/crates/cfg-if-1.0.3.crate) = 2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9 +SIZE (rust/crates/cfg-if-1.0.3.crate) = 8719 SHA256 (rust/crates/cipher-0.4.4.crate) = 773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad SIZE (rust/crates/cipher-0.4.4.crate) = 19073 SHA256 (rust/crates/const-oid-0.9.6.crate) = c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8 @@ -59,6 +59,8 @@ SHA256 (rust/crates/either-1.15.0.crate) = 48c757948c5ede0e46177b7add2e67155f70e SIZE (rust/crates/either-1.15.0.crate) = 20114 SHA256 (rust/crates/equivalent-1.0.2.crate) = 877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f SIZE (rust/crates/equivalent-1.0.2.crate) = 7419 +SHA256 (rust/crates/find-msvc-tools-0.1.0.crate) = e178e4fba8a2726903f6ba98a6d221e76f9c12c650d5dc0e6afdc50677b49650 +SIZE (rust/crates/find-msvc-tools-0.1.0.crate) = 29903 SHA256 (rust/crates/fnv-1.0.7.crate) = 3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1 SIZE (rust/crates/fnv-1.0.7.crate) = 11266 SHA256 (rust/crates/futures-0.3.31.crate) = 65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876 @@ -87,10 +89,10 @@ SHA256 (rust/crates/getrandom-0.3.3.crate) = 26145e563e54f2cadc477553f1ec5ee650b SIZE (rust/crates/getrandom-0.3.3.crate) = 49493 SHA256 (rust/crates/gimli-0.31.1.crate) = 07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f SIZE (rust/crates/gimli-0.31.1.crate) = 279515 -SHA256 (rust/crates/h2-0.4.11.crate) = 17da50a276f1e01e0ba6c029e47b7100754904ee8a278f886546e98575380785 -SIZE (rust/crates/h2-0.4.11.crate) = 175810 -SHA256 (rust/crates/hashbrown-0.15.4.crate) = 5971ac85611da7067dbfcabef3c70ebb5606018acd9e2a3903a0da507521e0d5 -SIZE (rust/crates/hashbrown-0.15.4.crate) = 140447 +SHA256 (rust/crates/h2-0.4.12.crate) = f3c0b69cfcb4e1b9f1bf2f53f95f766e4661169728ec61cd3fe5a0166f2d1386 +SIZE (rust/crates/h2-0.4.12.crate) = 176264 +SHA256 (rust/crates/hashbrown-0.15.5.crate) = 9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1 +SIZE (rust/crates/hashbrown-0.15.5.crate) = 140908 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 @@ -107,26 +109,26 @@ SHA256 (rust/crates/httparse-1.10.1.crate) = 6dbf3de79e51f3d586ab4cb9d5c3e2c14aa SIZE (rust/crates/httparse-1.10.1.crate) = 45190 SHA256 (rust/crates/httpdate-1.0.3.crate) = df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9 SIZE (rust/crates/httpdate-1.0.3.crate) = 10639 -SHA256 (rust/crates/hyper-1.6.0.crate) = cc2b571658e38e0c01b1fdca3bbbe93c00d3d71693ff2770043f8c29bc7d6f80 -SIZE (rust/crates/hyper-1.6.0.crate) = 153923 +SHA256 (rust/crates/hyper-1.7.0.crate) = eb3aa54a13a0dfe7fbe3a59e0c76093041720fdc77b110cc0fc260fafb4dc51e +SIZE (rust/crates/hyper-1.7.0.crate) = 157006 SHA256 (rust/crates/hyper-util-0.1.16.crate) = 8d9b05277c7e8da2c93a568989bb6207bef0112e8d17df7a6eda4a3cf143bc5e SIZE (rust/crates/hyper-util-0.1.16.crate) = 101184 -SHA256 (rust/crates/indexmap-2.10.0.crate) = fe4cd85333e22411419a0bcae1297d25e58c9443848b11dc6a86fefe8c78a661 -SIZE (rust/crates/indexmap-2.10.0.crate) = 95836 +SHA256 (rust/crates/indexmap-2.11.0.crate) = f2481980430f9f78649238835720ddccc57e52df14ffce1c6f37391d61b563e9 +SIZE (rust/crates/indexmap-2.11.0.crate) = 99851 SHA256 (rust/crates/indoc-2.0.6.crate) = f4c7245a08504955605670dbf141fceab975f15ca21570696aebe9d2e71576bd SIZE (rust/crates/indoc-2.0.6.crate) = 17164 SHA256 (rust/crates/inout-0.1.4.crate) = 879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01 SIZE (rust/crates/inout-0.1.4.crate) = 11280 -SHA256 (rust/crates/io-uring-0.7.9.crate) = d93587f37623a1a17d94ef2bc9ada592f5465fe7732084ab7beefabe5c77c0c4 -SIZE (rust/crates/io-uring-0.7.9.crate) = 99792 +SHA256 (rust/crates/io-uring-0.7.10.crate) = 046fa2d4d00aea763528b4950358d0ead425372445dc8ff86312b3c69ff7727b +SIZE (rust/crates/io-uring-0.7.10.crate) = 103070 SHA256 (rust/crates/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/libc-0.2.174.crate) = 1171693293099992e19cddea4e8b849964e9846f4acee11b3948bcc337be8776 -SIZE (rust/crates/libc-0.2.174.crate) = 779933 -SHA256 (rust/crates/libmimalloc-sys-0.1.43.crate) = bf88cd67e9de251c1781dbe2f641a1a3ad66eaae831b8a2c38fbdc5ddae16d4d -SIZE (rust/crates/libmimalloc-sys-0.1.43.crate) = 226498 +SHA256 (rust/crates/libc-0.2.175.crate) = 6a82ae493e598baaea5209805c49bbf2ea7de956d50d7da0da1164f9c6d28543 +SIZE (rust/crates/libc-0.2.175.crate) = 788728 +SHA256 (rust/crates/libmimalloc-sys-0.1.44.crate) = 667f4fec20f29dfc6bc7357c582d91796c169ad7e2fce709468aefeb2c099870 +SIZE (rust/crates/libmimalloc-sys-0.1.44.crate) = 451625 SHA256 (rust/crates/lock_api-0.4.13.crate) = 96936507f153605bddfcda068dd804796c84324ed2510809e5b2a624c81da765 SIZE (rust/crates/lock_api-0.4.13.crate) = 28565 SHA256 (rust/crates/log-0.4.27.crate) = 13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94 @@ -135,8 +137,8 @@ SHA256 (rust/crates/memchr-2.7.5.crate) = 32a282da65faaf38286cf3be983213fcf1d2e2 SIZE (rust/crates/memchr-2.7.5.crate) = 97603 SHA256 (rust/crates/memoffset-0.9.1.crate) = 488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a SIZE (rust/crates/memoffset-0.9.1.crate) = 9032 -SHA256 (rust/crates/mimalloc-0.1.47.crate) = b1791cbe101e95af5764f06f20f6760521f7158f69dbf9d6baf941ee1bf6bc40 -SIZE (rust/crates/mimalloc-0.1.47.crate) = 4594 +SHA256 (rust/crates/mimalloc-0.1.48.crate) = e1ee66a4b64c74f4ef288bcbb9192ad9c3feaad75193129ac8509af543894fd8 +SIZE (rust/crates/mimalloc-0.1.48.crate) = 4742 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 @@ -165,8 +167,8 @@ SHA256 (rust/crates/pbkdf2-0.12.2.crate) = f8ed6a7761f76e3b9f92dfb0a60a6a6477c61 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/percent-encoding-2.3.1.crate) = e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e -SIZE (rust/crates/percent-encoding-2.3.1.crate) = 10235 +SHA256 (rust/crates/percent-encoding-2.3.2.crate) = 9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220 +SIZE (rust/crates/percent-encoding-2.3.2.crate) = 11583 SHA256 (rust/crates/pin-project-lite-0.2.16.crate) = 3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b SIZE (rust/crates/pin-project-lite-0.2.16.crate) = 30504 SHA256 (rust/crates/pin-utils-0.1.0.crate) = 8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184 @@ -179,8 +181,8 @@ SHA256 (rust/crates/portable-atomic-1.11.1.crate) = f84267b20a16ea918e43c6a88433 SIZE (rust/crates/portable-atomic-1.11.1.crate) = 185506 SHA256 (rust/crates/ppv-lite86-0.2.21.crate) = 85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9 SIZE (rust/crates/ppv-lite86-0.2.21.crate) = 22522 -SHA256 (rust/crates/proc-macro2-1.0.95.crate) = 02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778 -SIZE (rust/crates/proc-macro2-1.0.95.crate) = 51820 +SHA256 (rust/crates/proc-macro2-1.0.101.crate) = 89ae43fd86e4158d6db51ad8e2b80f313af9cc74f5c0e03ccb87de09998732de +SIZE (rust/crates/proc-macro2-1.0.101.crate) = 53886 SHA256 (rust/crates/pyo3-0.25.1.crate) = 8970a78afe0628a3e3430376fc5fd76b6b45c4d43360ffd6cdd40bdde72b682a SIZE (rust/crates/pyo3-0.25.1.crate) = 1121993 SHA256 (rust/crates/pyo3-build-config-0.25.1.crate) = 458eb0c55e7ece017adeba38f2248ff3ac615e53660d7c71a238d7d2a01c7598 @@ -237,10 +239,10 @@ SHA256 (rust/crates/sha2-0.10.9.crate) = a7507d819769d01a365ab707794a4084392c824 SIZE (rust/crates/sha2-0.10.9.crate) = 29271 SHA256 (rust/crates/shlex-1.3.0.crate) = 0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64 SIZE (rust/crates/shlex-1.3.0.crate) = 18713 -SHA256 (rust/crates/signal-hook-registry-1.4.5.crate) = 9203b8055f63a2a00e2f593bb0510367fe707d7ff1e5c872de2f537b339e5410 -SIZE (rust/crates/signal-hook-registry-1.4.5.crate) = 19004 -SHA256 (rust/crates/slab-0.4.10.crate) = 04dc19736151f35336d325007ac991178d504a119863a2fcb3758cdb5e52c50d -SIZE (rust/crates/slab-0.4.10.crate) = 17810 +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/slab-0.4.11.crate) = 7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589 +SIZE (rust/crates/slab-0.4.11.crate) = 18549 SHA256 (rust/crates/smallvec-1.15.1.crate) = 67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03 SIZE (rust/crates/smallvec-1.15.1.crate) = 38116 SHA256 (rust/crates/socket2-0.6.0.crate) = 233504af464074f9d066d7b5416c5f9b894a5862a6506e306f7b816cdd6f1807 @@ -249,24 +251,24 @@ SHA256 (rust/crates/spki-0.7.3.crate) = d91ed6c858b01f942cd56b37a94b3e0a17982903 SIZE (rust/crates/spki-0.7.3.crate) = 16409 SHA256 (rust/crates/subtle-2.6.1.crate) = 13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292 SIZE (rust/crates/subtle-2.6.1.crate) = 14562 -SHA256 (rust/crates/syn-2.0.104.crate) = 17b6f705963418cdb9927482fa304bc562ece2fdd4f616084c50b7023b435a40 -SIZE (rust/crates/syn-2.0.104.crate) = 299699 +SHA256 (rust/crates/syn-2.0.106.crate) = ede7c438028d4436d71104916910f5bb611972c5cfd7f89b8300a8186e6fada6 +SIZE (rust/crates/syn-2.0.106.crate) = 301514 SHA256 (rust/crates/sysinfo-0.36.1.crate) = 252800745060e7b9ffb7b2badbd8b31cfa4aa2e61af879d0a3bf2a317c20217d SIZE (rust/crates/sysinfo-0.36.1.crate) = 213643 SHA256 (rust/crates/target-lexicon-0.13.2.crate) = e502f78cdbb8ba4718f566c418c52bc729126ffd16baee5baa718cf25dd5a69a SIZE (rust/crates/target-lexicon-0.13.2.crate) = 27923 -SHA256 (rust/crates/thiserror-2.0.12.crate) = 567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708 -SIZE (rust/crates/thiserror-2.0.12.crate) = 28693 -SHA256 (rust/crates/thiserror-impl-2.0.12.crate) = 7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d -SIZE (rust/crates/thiserror-impl-2.0.12.crate) = 21141 +SHA256 (rust/crates/thiserror-2.0.16.crate) = 3467d614147380f2e4e374161426ff399c91084acd2363eaf549172b3d5e60c0 +SIZE (rust/crates/thiserror-2.0.16.crate) = 29095 +SHA256 (rust/crates/thiserror-impl-2.0.16.crate) = 6c5e1be1c48b9172ee610da68fd9cd2770e7a4056cb3fc98710ee6906f0c7960 +SIZE (rust/crates/thiserror-impl-2.0.16.crate) = 21214 SHA256 (rust/crates/tikv-jemalloc-sys-0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7.crate) = cd3c60906412afa9c2b5b5a48ca6a5abe5736aec9eb48ad05037a677e52e4e2d SIZE (rust/crates/tikv-jemalloc-sys-0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7.crate) = 897133 SHA256 (rust/crates/tikv-jemallocator-0.6.0.crate) = 4cec5ff18518d81584f477e9bfdf957f5bb0979b0bac3af4ca30b5b3ae2d2865 SIZE (rust/crates/tikv-jemallocator-0.6.0.crate) = 13700 SHA256 (rust/crates/tls-listener-0.11.0.crate) = ab41256c16d6fc2b3021545f20bf77a73200b18bd54040ac656dddfca6205bfa SIZE (rust/crates/tls-listener-0.11.0.crate) = 48235 -SHA256 (rust/crates/tokio-1.47.0.crate) = 43864ed400b6043a4757a25c7a64a8efde741aed79a056a2fb348a406701bb35 -SIZE (rust/crates/tokio-1.47.0.crate) = 828980 +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-rustls-0.26.2.crate) = 8e727b36a1a0e8b74c376ac2211e40c2c8af09fb4013c60d910495810f008e9b @@ -275,8 +277,8 @@ SHA256 (rust/crates/tokio-stream-0.1.17.crate) = eca58d7bba4a75707817a2c44174253 SIZE (rust/crates/tokio-stream-0.1.17.crate) = 38477 SHA256 (rust/crates/tokio-tungstenite-0.27.0.crate) = 489a59b6730eda1b0171fcfda8b121f4bee2b35cba8645ca35c5f7ba3eb736c1 SIZE (rust/crates/tokio-tungstenite-0.27.0.crate) = 29756 -SHA256 (rust/crates/tokio-util-0.7.15.crate) = 66a539a9ad6d5d281510d5bd368c973d636c02dbf8a67300bfb6b950696ad7df -SIZE (rust/crates/tokio-util-0.7.15.crate) = 124255 +SHA256 (rust/crates/tokio-util-0.7.16.crate) = 14307c986784f72ef81c89db7d9e28d6ac26d16213b109ea501696195e6e3ce5 +SIZE (rust/crates/tokio-util-0.7.16.crate) = 127775 SHA256 (rust/crates/tracing-0.1.41.crate) = 784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0 SIZE (rust/crates/tracing-0.1.41.crate) = 82448 SHA256 (rust/crates/tracing-core-0.1.34.crate) = b9d12581f227e93f094d3af2ae690a574abb8a2b9b7a96e7cfe9647b2b617678 @@ -299,8 +301,8 @@ 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.2+wasi-0.2.4.crate) = 9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3 -SIZE (rust/crates/wasi-0.14.2+wasi-0.2.4.crate) = 140921 +SHA256 (rust/crates/wasi-0.14.3+wasi-0.2.4.crate) = 6a51ae83037bdd272a9e28ce236db8c07016dd0d50c27038b3f407533c030c95 +SIZE (rust/crates/wasi-0.14.3+wasi-0.2.4.crate) = 144010 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 @@ -351,8 +353,8 @@ SHA256 (rust/crates/windows_x86_64_gnullvm-0.52.6.crate) = 24d5b23dc417412679681 SIZE (rust/crates/windows_x86_64_gnullvm-0.52.6.crate) = 435707 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/wit-bindgen-rt-0.39.0.crate) = 6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1 -SIZE (rust/crates/wit-bindgen-rt-0.39.0.crate) = 12241 +SHA256 (rust/crates/wit-bindgen-0.45.0.crate) = 052283831dbae3d879dc7f51f3d92703a316ca49f91540417d38591826127814 +SIZE (rust/crates/wit-bindgen-0.45.0.crate) = 60405 SHA256 (rust/crates/zerocopy-0.8.26.crate) = 1039dd0d3c310cf05de012d8a39ff557cb0d23087fd44cad61df08fc31907a2f SIZE (rust/crates/zerocopy-0.8.26.crate) = 249223 SHA256 (rust/crates/zerocopy-derive-0.8.26.crate) = 9ecf5b4cc5364572d7f4c329661bcc82724222973f2cab6f050a4e5c22f75181 diff --git a/www/py-grimoirelab/Makefile b/www/py-grimoirelab/Makefile index fa3998018a52..1b991200c976 100644 --- a/www/py-grimoirelab/Makefile +++ b/www/py-grimoirelab/Makefile @@ -1,5 +1,6 @@ PORTNAME= grimoirelab DISTVERSION= 1.9.2 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-gunicorn/Makefile b/www/py-gunicorn/Makefile index 3fe09753c57d..29a2828b1fe3 100644 --- a/www/py-gunicorn/Makefile +++ b/www/py-gunicorn/Makefile @@ -1,6 +1,6 @@ PORTNAME= gunicorn DISTVERSION= 23.0.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-gunicorn/files/gunicorn.in b/www/py-gunicorn/files/gunicorn.in index 62e1fb68f56d..cb2c8dabaa8e 100644 --- a/www/py-gunicorn/files/gunicorn.in +++ b/www/py-gunicorn/files/gunicorn.in @@ -6,9 +6,14 @@ # KEYWORD: shutdown # # Add the following lines to /etc/rc.conf to enable gunicorn: -# gunicorn_enable (bool): Set to "NO" by default. -# Set it to "YES" to enable gunicorn. +# gunicorn_enable (bool): Set to "NO" by default. +# Set it to "YES" to enable gunicorn. # +# gunicorn_config (str): Path to gunicorn config file. +# +# gunicorn_user (str): User to run gunicorn as. +# +# gunicorn_group (str): Group to run gunicorn as. . /etc/rc.subr @@ -20,9 +25,9 @@ rcvar=gunicorn_enable load_rc_config $name : ${gunicorn_enable:=NO} -: ${gunicorn_config=%%PREFIX%%/etc/gunicorn/gunicorn.conf.py} -: ${gunicorn_user=%%USERS%%} -: ${gunicorn_group=%%GROUPS%%} +: ${gunicorn_config:=%%PREFIX%%/etc/gunicorn/gunicorn.conf.py} +: ${gunicorn_user:=%%USERS%%} +: ${gunicorn_group:=%%GROUPS%%} pidfile="/var/run/${name}.pid" cpidfile="/var/run/${name}-worker.pid" diff --git a/www/py-httpx-retries/Makefile b/www/py-httpx-retries/Makefile index bc3702d822c4..f1ebfa0c72d6 100644 --- a/www/py-httpx-retries/Makefile +++ b/www/py-httpx-retries/Makefile @@ -1,5 +1,5 @@ PORTNAME= httpx-retries -DISTVERSION= 0.4.0 +DISTVERSION= 0.4.2 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-httpx-retries/distinfo b/www/py-httpx-retries/distinfo index 4ef455958702..a5dfc02794df 100644 --- a/www/py-httpx-retries/distinfo +++ b/www/py-httpx-retries/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1747637137 -SHA256 (httpx_retries-0.4.0.tar.gz) = a7aa513e3f1eef347aac69adecfad9f421210a84df88c88f935ec130f98e6642 -SIZE (httpx_retries-0.4.0.tar.gz) = 12571 +TIMESTAMP = 1756942183 +SHA256 (httpx_retries-0.4.2.tar.gz) = 8c32b781cf18dc9d67fc380792bf465cde107831ec1c1c504a7df6c80f06536c +SIZE (httpx_retries-0.4.2.tar.gz) = 12607 diff --git a/www/py-jh2/Makefile b/www/py-jh2/Makefile index bf1c5fa4c7e2..8f4f89b14998 100644 --- a/www/py-jh2/Makefile +++ b/www/py-jh2/Makefile @@ -1,6 +1,6 @@ PORTNAME= jh2 PORTVERSION= 5.0.9 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www python MASTER_SITES= PYPI \ https://github.com/jawah/h2/releases/download/v${PORTVERSION}/ diff --git a/www/py-nh3/Makefile b/www/py-nh3/Makefile index a4c1fbd05cc2..4d0476a6e715 100644 --- a/www/py-nh3/Makefile +++ b/www/py-nh3/Makefile @@ -1,5 +1,6 @@ PORTNAME= nh3 DISTVERSION= 0.3.0 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-nicegui-highcharts/Makefile b/www/py-nicegui-highcharts/Makefile index 260d583ab633..498ee00ce1f9 100644 --- a/www/py-nicegui-highcharts/Makefile +++ b/www/py-nicegui-highcharts/Makefile @@ -1,5 +1,6 @@ PORTNAME= nicegui-highcharts DISTVERSION= 2.1.0 +PORTREVISION= 1 CATEGORIES= www graphics python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-nicegui/Makefile b/www/py-nicegui/Makefile index 1054306a9cbf..8c547622db3f 100644 --- a/www/py-nicegui/Makefile +++ b/www/py-nicegui/Makefile @@ -1,5 +1,6 @@ PORTNAME= nicegui -DISTVERSION= 2.22.1 +DISTVERSION= 2.23.3 +PORTREVISION= 1 CATEGORIES= www graphics python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-nicegui/distinfo b/www/py-nicegui/distinfo index e9494ba80649..4ab63ccd99a0 100644 --- a/www/py-nicegui/distinfo +++ b/www/py-nicegui/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1754112814 -SHA256 (nicegui-2.22.1.tar.gz) = 226c56299cb1e427c28aa1d042ec808ce83944e46583f396885e799331688caa -SIZE (nicegui-2.22.1.tar.gz) = 13107328 +TIMESTAMP = 1756499959 +SHA256 (nicegui-2.23.3.tar.gz) = 7fc99bc40d1682b37c54eda6275f77db863b9c7bcc7ad15006c507b69a30d22c +SIZE (nicegui-2.23.3.tar.gz) = 13108186 diff --git a/www/py-niquests/Makefile b/www/py-niquests/Makefile index 9403a9ab91fd..285df8582a47 100644 --- a/www/py-niquests/Makefile +++ b/www/py-niquests/Makefile @@ -1,5 +1,5 @@ PORTNAME= niquests -PORTVERSION= 3.14.1 +PORTVERSION= 3.15.0 CATEGORIES= www python MASTER_SITES= PYPI \ https://github.com/jawah/niquests/releases/download/v${PORTVERSION}/ @@ -15,8 +15,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.6.0<2:devel/py-hatchling@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}charset-normalizer>=2<4:textproc/py-charset-normalizer@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}urllib3-future>=2.12.900<3:net/py-urllib3-future@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}wassima>=1.0.1<2:security/py-wassima@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}urllib3-future>=2.13.903<3:net/py-urllib3-future@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wassima>=1.0.1<3:security/py-wassima@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent pep517 diff --git a/www/py-niquests/distinfo b/www/py-niquests/distinfo index 9a41894b4586..5d2c54a7ca35 100644 --- a/www/py-niquests/distinfo +++ b/www/py-niquests/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1748495869 -SHA256 (niquests-3.14.1.tar.gz) = f1dbf2c028223e97839f5b467f875376a014abf51e8f9b284be799fc9a10791c -SIZE (niquests-3.14.1.tar.gz) = 975279 +TIMESTAMP = 1755062584 +SHA256 (niquests-3.15.0.tar.gz) = 6da62be32fc1cb5c3200a749631ab860f5e3c139f1af4505bd8d10cbaa930ef1 +SIZE (niquests-3.15.0.tar.gz) = 973962 diff --git a/www/py-planet/Makefile b/www/py-planet/Makefile index 7438963a6717..cb22132e848d 100644 --- a/www/py-planet/Makefile +++ b/www/py-planet/Makefile @@ -1,5 +1,5 @@ PORTNAME= planet -PORTVERSION= 2.22.1 +PORTVERSION= 2.23.1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-planet/distinfo b/www/py-planet/distinfo index 6fd7b0a49479..9f4e4987f9f7 100644 --- a/www/py-planet/distinfo +++ b/www/py-planet/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1751375071 -SHA256 (planet-2.22.1.tar.gz) = 706582bfb1fef4f9c5f4d0a421e9e3dea9e0c3e83ff492e4e88e26725361e316 -SIZE (planet-2.22.1.tar.gz) = 3369752 +TIMESTAMP = 1755062586 +SHA256 (planet-2.23.1.tar.gz) = 1bc008e1c10db31d01ebb73f3c134a3558411d2dbd071102a97a00b42ff8176f +SIZE (planet-2.23.1.tar.gz) = 3380751 diff --git a/www/py-playwright/Makefile b/www/py-playwright/Makefile new file mode 100644 index 000000000000..057b2947048e --- /dev/null +++ b/www/py-playwright/Makefile @@ -0,0 +1,91 @@ +PORTNAME= playwright +DISTVERSIONPREFIX= v +DISTVERSION= 1.55.0 +CATEGORIES= www python +#MASTER_SITES= PYPI # no tarball +MASTER_SITES+= https://playwright.azureedge.net/builds/driver/next/:driver # zip archive with JS scripts called "driver" are bundled with the Python module +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTFILES= playwright-${DISTVERSION}-beta-1756314050000-linux.zip:driver +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} # do not extract the JS scripts archive + +MAINTAINER= yuri@FreeBSD.org +COMMENT= High-level API to automate web browsers +WWW= https://playwright.dev/python/ \ + https://github.com/Microsoft/playwright-python + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0.45.1:devel/py-wheel@${PY_FLAVOR} \ + curl:ftp/curl +LINUX_DEPENDS= linux-${LINUX_BASE}-alsa-lib>0:audio/linux-${LINUX_BASE}-alsa-lib \ + linux-${LINUX_BASE}-at-spi2-atk>0:accessibility/linux-${LINUX_BASE}-at-spi2-atk \ + linux-${LINUX_BASE}-atk>0:accessibility/linux-${LINUX_BASE}-atk \ + linux-${LINUX_BASE}-cairo>0:graphics/linux-${LINUX_BASE}-cairo \ + linux-${LINUX_BASE}-cups-libs>0:print/linux-${LINUX_BASE}-cups-libs \ + linux-${LINUX_BASE}-dbus-libs>0:devel/linux-${LINUX_BASE}-dbus-libs \ + linux-${LINUX_BASE}-dri>0:graphics/linux-${LINUX_BASE}-dri \ + linux-${LINUX_BASE}-gstreamer1>0:multimedia/linux-${LINUX_BASE}-gstreamer1 \ + linux-${LINUX_BASE}-libxkbcommon>0:x11/linux-${LINUX_BASE}-libxkbcommon \ + linux-${LINUX_BASE}-nspr>0:devel/linux-${LINUX_BASE}-nspr \ + linux-${LINUX_BASE}-nss>0:security/linux-${LINUX_BASE}-nss \ + linux-${LINUX_BASE}-pango>0:x11-toolkits/linux-${LINUX_BASE}-pango +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}greenlet>=3.1.1:devel/py-greenlet@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyee>=13:devel/py-pyee@${PY_FLAVOR} +RUN_DEPENDS+= node24>0:www/node24 \ + ${LINUX_DEPENDS} + +USES= linux:rl9 python +USE_PYTHON= pep517 concurrent autoplist + +USE_GITHUB= yes +GH_ACCOUNT= Microsoft +GH_PROJECT= playwright-python + +LINUX_BASE= ${linux_ARGS} + +MAKE_ENV= SETUPTOOLS_SCM_PRETEND_VERSION=${PORTVERSION} + +XARCH:= ${ARCH:S/amd64/x64/} + +NO_ARCH= yes + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +post-patch: # replace URL in JS scripts with DISTDIR + @${REINPLACE_CMD} \ + -e 's|url = "https://playwright.azureedge.net/builds/driver/"|url = "file://${DISTDIR}/"|' \ + ${WRKSRC}/setup.py + +post-install: + # replace node binary from the zip archive with JS scripts with the FreeBSD native binary + @cd ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/playwright/driver && \ + ${RM} node && \ + ${LN} -s ${LOCALBASE}/bin/node + # patch JS scripts: process.platform + @${GREP} -rl 'process.platform === "linux"' ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} | \ + ${GREP} "\.js$$" | \ + ${XARGS} ${REINPLACE_CMD} -i '' \ + -e 's/process.platform === "linux"/(process.platform === "linux" || process.platform === "freebsd")/' + @${GREP} -rl 'process.platform !== "linux"' ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} | \ + ${GREP} "\.js$$" | \ + ${XARGS} ${REINPLACE_CMD} -i '' \ + -e 's/process.platform !== "linux"/(process.platform !== "linux" \&\& process.platform !== "freebsd")/' + # patch JS scripts: env var PLAYWRIGHT_HOST_PLATFORM_OVERRIDE + @${REINPLACE_CMD} \ + -i '' -e 's/if (process.env.PLAYWRIGHT_HOST_PLATFORM_OVERRIDE) {/if (true) {/' \ + ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/playwright/driver/package/lib/server/utils/hostPlatform.js + @${REINPLACE_CMD} \ + -i '' -e 's/process.env.PLAYWRIGHT_HOST_PLATFORM_OVERRIDE/"ubuntu24.04-${XARCH}"/' \ + ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/playwright/driver/package/lib/server/utils/hostPlatform.js + +do-test: + @${SETENV} ${TEST_ENV} ${STAGEDIR}${PREFIX}/bin/playwright install +.for test in test-sync.py test-async.py + @cd ${TEST_WRKSRC} && \ + ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${FILESDIR}/${test} +.endfor + +.include <bsd.port.mk> diff --git a/www/py-playwright/distinfo b/www/py-playwright/distinfo new file mode 100644 index 000000000000..501588f73d6f --- /dev/null +++ b/www/py-playwright/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1756920881 +SHA256 (playwright-1.55.0-beta-1756314050000-linux.zip) = 12d54c1be52afeb66fd386e14abceaa75bdff79005f50275a4dbac0abf4efba5 +SIZE (playwright-1.55.0-beta-1756314050000-linux.zip) = 45573547 +SHA256 (Microsoft-playwright-python-v1.55.0_GH0.tar.gz) = adda41b4a6c02f414d535b7a0e03bc5f4c4f77fb3d4ef3028f8b609ca71f3613 +SIZE (Microsoft-playwright-python-v1.55.0_GH0.tar.gz) = 1343981 diff --git a/www/py-playwright/files/patch-pyproject.toml b/www/py-playwright/files/patch-pyproject.toml new file mode 100644 index 000000000000..7991fde60245 --- /dev/null +++ b/www/py-playwright/files/patch-pyproject.toml @@ -0,0 +1,17 @@ +--- pyproject.toml.orig 2025-09-02 18:47:12 UTC ++++ pyproject.toml +@@ -1,5 +1,5 @@ + [build-system]
+-requires = ["setuptools==80.9.0", "setuptools-scm==8.3.1", "wheel==0.45.1", "auditwheel==6.2.0"]
++requires = ["setuptools", "setuptools-scm", "wheel"]
+ build-backend = "setuptools.build_meta"
+
+ [project]
+@@ -9,7 +9,6 @@ readme = "README.md"
+ {name = "Microsoft Corporation"}
+ ]
+ readme = "README.md"
+-license = "Apache-2.0"
+ dynamic = ["version"]
+ requires-python = ">=3.9"
+ # Please when changing dependencies run the following commands to update requirements.txt:
diff --git a/www/py-playwright/files/patch-setup.py b/www/py-playwright/files/patch-setup.py new file mode 100644 index 000000000000..1b7831869548 --- /dev/null +++ b/www/py-playwright/files/patch-setup.py @@ -0,0 +1,28 @@ +--- setup.py.orig 2025-08-28 09:27:29 UTC ++++ setup.py +@@ -74,6 +74,16 @@ base_wheel_bundles = [ + }, + ] + ++# override for FreeBSD: use the Linux one and update the node binary in it ++base_wheel_bundles = [ ++ { ++ "wheel": "manylinux1_x86_64.whl", ++ "machine": platform.machine().lower(), ++ "platform": sys.platform, ++ "zip_name": "linux", ++ } ++] ++ + if len(sys.argv) == 2 and sys.argv[1] == "--list-wheels": + for bundle in base_wheel_bundles: + print(bundle["wheel"]) +@@ -108,7 +118,7 @@ def download_driver(zip_name: str) -> None: + or "-beta" in driver_version + or "-next" in driver_version + ): +- url = url + "next/" ++ pass # do not alter the URL + url = url + zip_file + temp_destination_path = destination_path + ".tmp" + print(f"Fetching {url}") diff --git a/www/py-playwright/files/test-async.py b/www/py-playwright/files/test-async.py new file mode 100644 index 000000000000..f047304580c0 --- /dev/null +++ b/www/py-playwright/files/test-async.py @@ -0,0 +1,14 @@ +import asyncio +from playwright.async_api import async_playwright + +async def main(): + async with async_playwright() as p: + #for browser_type in [p.chromium, p.firefox, p.webkit]: + for browser_type in [p.firefox]: + browser = await browser_type.launch() + page = await browser.new_page() + await page.goto('http://playwright.dev') + await page.screenshot(path=f'example-{browser_type.name}-async.png') + await browser.close() + +asyncio.run(main()) diff --git a/www/py-playwright/files/test-sync.py b/www/py-playwright/files/test-sync.py new file mode 100644 index 000000000000..19e028c11173 --- /dev/null +++ b/www/py-playwright/files/test-sync.py @@ -0,0 +1,11 @@ +from playwright.sync_api import sync_playwright + +with sync_playwright() as p: + #for browser_type in [p.chromium, p.firefox, p.webkit]: + for browser_type in [p.firefox]: + browser = browser_type.launch() + page = browser.new_page() + page.goto('http://playwright.dev') + page.screenshot(path=f'example-{browser_type.name}-sync.png') + browser.close() + diff --git a/www/py-playwright/pkg-descr b/www/py-playwright/pkg-descr new file mode 100644 index 000000000000..70f80f94f54e --- /dev/null +++ b/www/py-playwright/pkg-descr @@ -0,0 +1,3 @@ +Playwright is a Python library to automate Chromium, Firefox and WebKit browsers +with a single API. Playwright delivers automation that is ever-green, capable, +reliable and fast. diff --git a/www/py-playwright/pkg-message b/www/py-playwright/pkg-message new file mode 100644 index 000000000000..1a8265fbce37 --- /dev/null +++ b/www/py-playwright/pkg-message @@ -0,0 +1,21 @@ +[ +{ type: install + message: <<EOM +You installed playwright: API to automate web browsers. + +playright expects Linuxlator to be initialized because it +downloads and runs Linux binaries for web browsers and +ffmpeg. +playwright is known to work with linux_base-rl9. + +playright is supposed to work with 3 browsers: Chrome, Firefox, WebKit. + +Chrome is currently broken: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289285 +WebKit is also broken due to missing dependencies. + +You are expected to run the command 'playwright install' to download +browser binaries before you can use playwright. + +EOM +} +] diff --git a/www/py-puppetboard/Makefile b/www/py-puppetboard/Makefile index e57ee218dd1b..0b60ff8d18b7 100644 --- a/www/py-puppetboard/Makefile +++ b/www/py-puppetboard/Makefile @@ -1,6 +1,5 @@ PORTNAME= puppetboard -PORTVERSION= 4.2.6 -PORTREVISION= 2 +PORTVERSION= 6.0.1 DISTVERSIONPREFIX= v CATEGORIES= www python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,18 +11,27 @@ WWW= https://github.com/voxpupuli/puppetboard LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}CommonMark>=0.9.1:textproc/py-CommonMark@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}flask_wtf>=0:www/py-flask-wtf@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}flask>=2:www/py-flask@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}Jinja2>=3:devel/py-Jinja2@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}itsdangerous>=2:security/py-itsdangerous@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}markupsafe>=2:textproc/py-markupsafe@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}packaging>=21.3:devel/py-packaging@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pyparsing>=3.0.9:devel/py-pyparsing@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pypuppetdb>=0.3.3:databases/py-pypuppetdb@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}requests>=2.13.0:www/py-requests@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}werkzeug>=2:www/py-werkzeug@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}wtforms>=0:textproc/py-wtforms@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>=2025.4.26:security/py-certifi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}charset-normalizer>=3.4.2:textproc/py-charset-normalizer@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click>=8.1.7:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}CommonMark>=0.9.1:textproc/py-CommonMark@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}flask-apscheduler>=1.13.1:www/py-flask-apscheduler@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}flask-caching>=2.2.0:www/py-flask-caching@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}flask_wtf>=1.2.1:www/py-flask-wtf@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}flask>=3.1.1:www/py-flask@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}idna>=3.10:dns/py-idna@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}itsdangerous>=2.2.0:security/py-itsdangerous@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.6:devel/py-Jinja2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}markupsafe>=3.0.2:textproc/py-markupsafe@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}packaging>=25.0:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyparsing>=3.2.3:devel/py-pyparsing@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pypuppetdb>=3.2.0:databases/py-pypuppetdb@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.32.0:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.13.2:devel/py-typing-extensions@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}urllib3>=1.26.20:net/py-urllib3@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}werkzeug>=3.1.3:www/py-werkzeug@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wtforms>=3.1.2:textproc/py-wtforms@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}zipp>=3.21.0:devel/py-zipp@${PY_FLAVOR} USES= python USE_GITHUB= yes @@ -41,6 +49,8 @@ PLIST_FILES= "@sample etc/puppetboard/settings.py.sample" \ post-patch: ${REINPLACE_CMD} -e '/requirements_for_tests/,+2d' \ ${WRKSRC}/setup.py + ${REINPLACE_CMD} -e "s,importlib.metadata.version('puppetboard'),'${PORTVERSION}'," \ + ${WRKSRC}/puppetboard/version.py post-install: ${MKDIR} ${STAGEDIR}${ETCDIR} diff --git a/www/py-puppetboard/distinfo b/www/py-puppetboard/distinfo index 1e59ff5c672d..853baea9a5da 100644 --- a/www/py-puppetboard/distinfo +++ b/www/py-puppetboard/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1676086691 -SHA256 (voxpupuli-puppetboard-v4.2.6_GH0.tar.gz) = 32b674c42f7f5007fc0e07aff94b296de62b079c4dc56ab51423f1c9232eb998 -SIZE (voxpupuli-puppetboard-v4.2.6_GH0.tar.gz) = 5440413 +TIMESTAMP = 1754031902 +SHA256 (voxpupuli-puppetboard-v6.0.1_GH0.tar.gz) = bce1d5f2241fa874eabe4d1ed12e618ed39e4a6d94efdfd4f21a8d3b372109f6 +SIZE (voxpupuli-puppetboard-v6.0.1_GH0.tar.gz) = 5788498 diff --git a/www/py-pywebview-gtk/Makefile b/www/py-pywebview-gtk/Makefile index 6298e370e715..ea9d11fed224 100644 --- a/www/py-pywebview-gtk/Makefile +++ b/www/py-pywebview-gtk/Makefile @@ -1,6 +1,6 @@ PORTNAME= pywebview DISTVERSION= 5.3.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-pywry/Makefile b/www/py-pywry/Makefile index cb065e411fbf..6572b74857ef 100644 --- a/www/py-pywry/Makefile +++ b/www/py-pywry/Makefile @@ -1,6 +1,6 @@ PORTNAME= pywry DISTVERSION= 0.6.2 -PORTREVISION= 15 +PORTREVISION= 17 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-qh3/Makefile b/www/py-qh3/Makefile index ca733378634e..f22c32a0442d 100644 --- a/www/py-qh3/Makefile +++ b/www/py-qh3/Makefile @@ -1,7 +1,7 @@ PORTNAME= qh3 DISTVERSIONPREFIX= v DISTVERSION= 1.0.9 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= www python #MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-searxng-devel/Makefile b/www/py-searxng-devel/Makefile index dc759595d471..a2f8006c78c2 100644 --- a/www/py-searxng-devel/Makefile +++ b/www/py-searxng-devel/Makefile @@ -1,6 +1,5 @@ PORTNAME= searxng -DISTVERSION= 20250711 -PORTREVISION= 1 +DISTVERSION= 20250819 CATEGORIES= www python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= -devel @@ -38,11 +37,12 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=0:devel/py-babel@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tomli>=0:textproc/py-tomli@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typer>=0:devel/py-typer@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}uvloop>=0:devel/py-uvloop@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}valkey>=0:databases/py-valkey@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}valkey>=0:databases/py-valkey@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}whitenoise>=0:www/py-whitenoise@${PY_FLAVOR} USES= python USE_GITHUB= yes -GH_TAGNAME= d5743398539263f2c0cac676e073a08cb3eb6eb8 +GH_TAGNAME= 25647c20d1904840d089892bb118390f46c66984 USE_PYTHON= autoplist distutils USE_RC_SUBR= searxng diff --git a/www/py-searxng-devel/distinfo b/www/py-searxng-devel/distinfo index 250538c4bcdc..aa0baa156201 100644 --- a/www/py-searxng-devel/distinfo +++ b/www/py-searxng-devel/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1752528993 -SHA256 (searxng-searxng-20250711-d5743398539263f2c0cac676e073a08cb3eb6eb8_GH0.tar.gz) = d1fc242ddd14b2caf0a5a6f4e291a41fe1388628e44524854953ce78fd7a47c7 -SIZE (searxng-searxng-20250711-d5743398539263f2c0cac676e073a08cb3eb6eb8_GH0.tar.gz) = 5478189 +TIMESTAMP = 1755629208 +SHA256 (searxng-searxng-20250819-25647c20d1904840d089892bb118390f46c66984_GH0.tar.gz) = 9fa3831333cddfc27de8d5d1a20643669bbb4c2624133493ba6b40bbe13d5097 +SIZE (searxng-searxng-20250819-25647c20d1904840d089892bb118390f46c66984_GH0.tar.gz) = 5839091 diff --git a/www/py-searxng-devel/files/patch-searx_version.py b/www/py-searxng-devel/files/patch-searx_version.py new file mode 100644 index 000000000000..7b9b32f09608 --- /dev/null +++ b/www/py-searxng-devel/files/patch-searx_version.py @@ -0,0 +1,18 @@ +--- searx/version.py.orig 2025-08-19 19:13:19 UTC ++++ searx/version.py +@@ -91,15 +91,6 @@ def get_information(): + git_url = GIT_URL + git_branch = GIT_BRANCH + +- try: +- version_string, version_tag, docker_tag = get_git_version() +- except subprocess.CalledProcessError as ex: +- logger.error("Error while getting the version: %s", ex.stderr) +- try: +- git_url, git_branch = get_git_url_and_branch() +- except subprocess.CalledProcessError as ex: +- logger.error("Error while getting the git URL & branch: %s", ex.stderr) +- + return version_string, version_tag, docker_tag, git_url, git_branch + + diff --git a/www/py-sentinelhub/Makefile b/www/py-sentinelhub/Makefile index 9d1eabfff377..8cd75048494f 100644 --- a/www/py-sentinelhub/Makefile +++ b/www/py-sentinelhub/Makefile @@ -1,5 +1,6 @@ PORTNAME= sentinelhub PORTVERSION= 3.11.1 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-streamlit/Makefile b/www/py-streamlit/Makefile index 2599da53bfee..cf3acf340433 100644 --- a/www/py-streamlit/Makefile +++ b/www/py-streamlit/Makefile @@ -1,5 +1,6 @@ PORTNAME= streamlit DISTVERSION= 1.45.1 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-textile/Makefile b/www/py-textile/Makefile index 783fed7171f5..1be4d2066141 100644 --- a/www/py-textile/Makefile +++ b/www/py-textile/Makefile @@ -1,5 +1,6 @@ PORTNAME= textile DISTVERSION= 4.0.3 +PORTREVISION= 1 CATEGORIES= www textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-wagtail-2fa/Makefile b/www/py-wagtail-2fa/Makefile index 80df48f2d472..1fc77a26d3e3 100644 --- a/www/py-wagtail-2fa/Makefile +++ b/www/py-wagtail-2fa/Makefile @@ -1,6 +1,6 @@ PORTNAME= wagtail-2fa PORTVERSION= 1.6.9 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-wagtail-airtable/Makefile b/www/py-wagtail-airtable/Makefile index 5769d86125bf..b6e164c8a368 100644 --- a/www/py-wagtail-airtable/Makefile +++ b/www/py-wagtail-airtable/Makefile @@ -1,6 +1,6 @@ PORTNAME= wagtail-airtable PORTVERSION= 1.0.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-wagtail-bakery/Makefile b/www/py-wagtail-bakery/Makefile index 26950905e72b..25230eefa58f 100644 --- a/www/py-wagtail-bakery/Makefile +++ b/www/py-wagtail-bakery/Makefile @@ -1,6 +1,6 @@ PORTNAME= wagtail-bakery PORTVERSION= 0.8.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-wagtail-factories/Makefile b/www/py-wagtail-factories/Makefile index 0cf4a6aa65e4..9a8e5ea2eee8 100644 --- a/www/py-wagtail-factories/Makefile +++ b/www/py-wagtail-factories/Makefile @@ -1,6 +1,6 @@ PORTNAME= wagtail-factories PORTVERSION= 4.1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-wagtail-localize/Makefile b/www/py-wagtail-localize/Makefile index d5dadb4e222a..94ccd8ad9112 100644 --- a/www/py-wagtail-localize/Makefile +++ b/www/py-wagtail-localize/Makefile @@ -1,5 +1,6 @@ PORTNAME= wagtail-localize PORTVERSION= 1.12 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= PYPI DISTNAME= wagtail_localize-${PORTVERSION} diff --git a/www/py-wagtail-transfer/Makefile b/www/py-wagtail-transfer/Makefile index 8d989e76d0f1..fbed14d9138a 100644 --- a/www/py-wagtail-transfer/Makefile +++ b/www/py-wagtail-transfer/Makefile @@ -1,6 +1,7 @@ PORTNAME= wagtail-transfer PORTVERSION= 0.9.4 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= www python #MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-wagtail/Makefile b/www/py-wagtail/Makefile index 89b36df3ce0f..e26c2018a975 100644 --- a/www/py-wagtail/Makefile +++ b/www/py-wagtail/Makefile @@ -1,5 +1,5 @@ PORTNAME= wagtail -PORTVERSION= 7.0.2 +PORTVERSION= 7.1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -21,7 +21,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}anyascii>=0.1.5:textproc/py-anyascii@${PY_FL ${PYTHON_PKGNAMEPREFIX}django-modelcluster>=6.2.1<7.0:www/py-django-modelcluster@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django-permissionedforms>=0.1<1.0:www/py-django-permissionedforms@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django-taggit>=5.0<7:www/py-django-taggit@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}django-tasks>=0.7:www/py-django-tasks@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}django-tasks>=0.8<0.9:www/py-django-tasks@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}django-treebeard>=4.5.1<5.0:www/py-django-treebeard@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}djangorestframework>=3.15.1,1<4.0,1:www/py-djangorestframework@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}draftjs-exporter>=2.1.5<6.0:www/py-draftjs-exporter@${PY_FLAVOR} \ diff --git a/www/py-wagtail/distinfo b/www/py-wagtail/distinfo index 767bc90973e8..e2f47a4cc15c 100644 --- a/www/py-wagtail/distinfo +++ b/www/py-wagtail/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1753369406 -SHA256 (wagtail-7.0.2.tar.gz) = 053c8dfa3d41979eb8bb5d76e82b1b251926fa263766744f33e452b00e82fe68 -SIZE (wagtail-7.0.2.tar.gz) = 6671984 +TIMESTAMP = 1755062588 +SHA256 (wagtail-7.1.tar.gz) = e1de2af82b62cbf4d3b77a93c55779bc67ad7b3179b6b4f824ec4f214d570c01 +SIZE (wagtail-7.1.tar.gz) = 6771177 diff --git a/www/py-wagtail/files/patch-pyproject.toml b/www/py-wagtail/files/patch-pyproject.toml index 5214779d6bb6..a9dceaec1cf2 100644 --- a/www/py-wagtail/files/patch-pyproject.toml +++ b/www/py-wagtail/files/patch-pyproject.toml @@ -1,4 +1,4 @@ ---- pyproject.toml.orig 2025-06-12 15:29:53 UTC +--- pyproject.toml.orig 2025-08-04 15:00:13 UTC +++ pyproject.toml @@ -1,5 +1,5 @@ [build-system] @@ -17,12 +17,3 @@ authors = [ { name = "Wagtail core team + contributors", email = "hello@wagtail.org" }, ] -@@ -50,7 +49,7 @@ dependencies = [ - "anyascii>=0.1.5", - "telepath>=0.3.1,<1", - "laces>=0.1,<0.2", -- "django-tasks>=0.7,<0.8", -+ "django-tasks>=0.7", - ] - - [project.urls] diff --git a/www/py-woob-qt/Makefile b/www/py-woob-qt/Makefile index 5431c9ed37b8..97249e4fe609 100644 --- a/www/py-woob-qt/Makefile +++ b/www/py-woob-qt/Makefile @@ -1,6 +1,6 @@ PORTNAME= woob-qt DISTVERSION= 2.0-27 -PORTREVISION= 4 +PORTREVISION= 5 DISTVERSIONSUFFIX= -g958a79c2 CATEGORIES= www python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-woob/Makefile b/www/py-woob/Makefile index dd47c81fd32e..7d29c4a2c166 100644 --- a/www/py-woob/Makefile +++ b/www/py-woob/Makefile @@ -1,6 +1,6 @@ PORTNAME= woob PORTVERSION= 3.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-wsgidav/Makefile b/www/py-wsgidav/Makefile index 839c933ebc85..21b9489313a3 100644 --- a/www/py-wsgidav/Makefile +++ b/www/py-wsgidav/Makefile @@ -1,9 +1,9 @@ PORTNAME= WsgiDAV -DISTVERSION= 4.3.2 -PORTREVISION= 2 +DISTVERSION= 4.3.3 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:tl}-${DISTVERSION} MAINTAINER= ultima@FreeBSD.org COMMENT= WSGI based WebDAV server for sharing resources @@ -21,13 +21,19 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}defusedxml>=0.5:devel/py-defusedxml@${PY_FLA ${PYTHON_PKGNAMEPREFIX}six>=1.12:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=3.2:devel/py-pyyaml@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cheroot>=6.0:www/py-cheroot@${PY_FLAVOR} \ +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}CouchDB>=1.1:databases/py-couchdb@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cheroot>=6.0:www/py-cheroot@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pymongo>=3.13:databases/py-pymongo@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mysqlclient>=2.2:databases/py-mysqlclient@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=2.7:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-cov>=1.8:devel/py-pytest-cov@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-html>=1.8:devel/py-pytest-html@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}python-pam>=1.8:security/py-python-pam@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}redis>=6.2:databases/py-redis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tox>=2.0:devel/py-tox@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}webtest>=2.0:www/py-webtest@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}webtest>=2.0:www/py-webtest@${PY_FLAVOR} \ + mercurial>=0:devel/mercurial USES= python USE_PYTHON= distutils autoplist diff --git a/www/py-wsgidav/distinfo b/www/py-wsgidav/distinfo index 15316e92e385..2d99414ce925 100644 --- a/www/py-wsgidav/distinfo +++ b/www/py-wsgidav/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1718387273 -SHA256 (WsgiDAV-4.3.2.tar.gz) = 4c3c24ac01b656a9edcb0014f31717ca8b9a3ec7d7cd9adc39d9ce1b00bfe759 -SIZE (WsgiDAV-4.3.2.tar.gz) = 167847 +TIMESTAMP = 1754464002 +SHA256 (wsgidav-4.3.3.tar.gz) = 5f0ad71bea72def3018b6ba52da3bcb83f61e0873c27225344582805d6e52b9e +SIZE (wsgidav-4.3.3.tar.gz) = 168118 diff --git a/www/py-yt-dlp/Makefile b/www/py-yt-dlp/Makefile index d39391dcb7a5..68c03806a0fe 100644 --- a/www/py-yt-dlp/Makefile +++ b/www/py-yt-dlp/Makefile @@ -1,5 +1,5 @@ PORTNAME= yt-dlp # www/py-yt-dlp is for extending yt-dlp, www/yt-dlp is an application for the end user -DISTVERSION= 2025.06.09 +DISTVERSION= 2025.08.27 CATEGORIES= www MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-yt-dlp/distinfo b/www/py-yt-dlp/distinfo index f251e6d60e99..ea73dbf540f6 100644 --- a/www/py-yt-dlp/distinfo +++ b/www/py-yt-dlp/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1749518944 -SHA256 (yt-dlp/2025.06.09/yt-dlp.tar.gz) = 46497ade23be173595d0bbdb41553873733696e0272fec5918cdcaebe17549aa -SIZE (yt-dlp/2025.06.09/yt-dlp.tar.gz) = 6025016 +TIMESTAMP = 1756373628 +SHA256 (yt-dlp/2025.08.27/yt-dlp.tar.gz) = a30442902fadf97280b91c24c4c2191c8ba17515b8a5dd835efc991c03b5bb7b +SIZE (yt-dlp/2025.08.27/yt-dlp.tar.gz) = 6018553 diff --git a/www/py-yt-dlp/pkg-plist b/www/py-yt-dlp/pkg-plist index d1fb5a3e94a3..72e34780a72c 100644 --- a/www/py-yt-dlp/pkg-plist +++ b/www/py-yt-dlp/pkg-plist @@ -81,7 +81,6 @@ bin/yt-dlp-devel %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/archiveorg.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/arcpublishing.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/ard.py -%%PYTHON_SITELIBDIR%%/yt_dlp/extractor/arkena.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/arnes.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/art19.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/arte.py @@ -101,7 +100,6 @@ bin/yt-dlp-devel %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/azmedien.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/baidu.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/banbye.py -%%PYTHON_SITELIBDIR%%/yt_dlp/extractor/bandaichannel.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/bandcamp.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/bandlab.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/bannedvideo.py @@ -111,7 +109,6 @@ bin/yt-dlp-devel %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/beatport.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/beeg.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/behindkink.py -%%PYTHON_SITELIBDIR%%/yt_dlp/extractor/bellmedia.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/berufetv.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/bet.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/bfi.py @@ -141,6 +138,7 @@ bin/yt-dlp-devel %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/breitbart.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/brightcove.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/brilliantpala.py +%%PYTHON_SITELIBDIR%%/yt_dlp/extractor/btvplus.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/bundesliga.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/bundestag.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/bunnycdn.py @@ -192,7 +190,6 @@ bin/yt-dlp-devel %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/cloudycdn.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/clubic.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/clyp.py -%%PYTHON_SITELIBDIR%%/yt_dlp/extractor/cmt.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/cnbc.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/cnn.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/comedycentral.py @@ -213,7 +210,6 @@ bin/yt-dlp-devel %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/crtvg.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/cspan.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/ctsnews.py -%%PYTHON_SITELIBDIR%%/yt_dlp/extractor/ctv.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/ctvnews.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/cultureunplugged.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/curiositystream.py @@ -258,7 +254,6 @@ bin/yt-dlp-devel %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/duoplay.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/dvtv.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/dw.py -%%PYTHON_SITELIBDIR%%/yt_dlp/extractor/eagleplatform.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/ebaumsworld.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/ebay.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/egghead.py @@ -291,6 +286,7 @@ bin/yt-dlp-devel %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/facebook.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/fancode.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/fathom.py +%%PYTHON_SITELIBDIR%%/yt_dlp/extractor/faulio.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/faz.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/fc2.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/fczenit.py @@ -419,11 +415,9 @@ bin/yt-dlp-devel %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/jamendo.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/japandiet.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/jeuxvideo.py -%%PYTHON_SITELIBDIR%%/yt_dlp/extractor/jiocinema.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/jiosaavn.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/jixie.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/joj.py -%%PYTHON_SITELIBDIR%%/yt_dlp/extractor/joqrag.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/jove.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/jstream.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/jtbc.py @@ -469,7 +463,6 @@ bin/yt-dlp-devel %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/libsyn.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/lifenews.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/likee.py -%%PYTHON_SITELIBDIR%%/yt_dlp/extractor/limelight.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/linkedin.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/liputan6.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/listennotes.py @@ -498,6 +491,7 @@ bin/yt-dlp-devel %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/massengeschmacktv.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/masters.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/matchtv.py +%%PYTHON_SITELIBDIR%%/yt_dlp/extractor/mave.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/mbn.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/mdr.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/medaltv.py @@ -519,12 +513,14 @@ bin/yt-dlp-devel %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/microsoftstream.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/minds.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/minoto.py +%%PYTHON_SITELIBDIR%%/yt_dlp/extractor/mir24tv.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/mirrativ.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/mirrorcouk.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/mit.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/mitele.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/mixch.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/mixcloud.py +%%PYTHON_SITELIBDIR%%/yt_dlp/extractor/mixlr.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/mlb.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/mlssoccer.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/mocha.py @@ -590,7 +586,6 @@ bin/yt-dlp-devel %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/noice.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/nonktube.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/noodlemagazine.py -%%PYTHON_SITELIBDIR%%/yt_dlp/extractor/noovo.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/nosnl.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/nova.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/novaplay.py @@ -659,9 +654,9 @@ bin/yt-dlp-devel %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/pinterest.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/piramidetv.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/pixivsketch.py -%%PYTHON_SITELIBDIR%%/yt_dlp/extractor/pladform.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/planetmarathi.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/platzi.py +%%PYTHON_SITELIBDIR%%/yt_dlp/extractor/playerfm.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/playplustv.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/playsuisse.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/playtvak.py @@ -669,6 +664,7 @@ bin/yt-dlp-devel %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/pluralsight.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/plutotv.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/plvideo.py +%%PYTHON_SITELIBDIR%%/yt_dlp/extractor/plyr.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/podbayfm.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/podchaser.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/podomatic.py @@ -756,6 +752,7 @@ bin/yt-dlp-devel %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/saitosan.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/samplefocus.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/sapo.py +%%PYTHON_SITELIBDIR%%/yt_dlp/extractor/sauceplus.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/sbs.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/sbscokr.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/screen9.py @@ -779,6 +776,7 @@ bin/yt-dlp-devel %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/sharepoint.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/sharevideos.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/shemaroome.py +%%PYTHON_SITELIBDIR%%/yt_dlp/extractor/shiey.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/showroomlive.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/sibnet.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/simplecast.py @@ -805,7 +803,6 @@ bin/yt-dlp-devel %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/sovietscloset.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/spankbang.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/spiegel.py -%%PYTHON_SITELIBDIR%%/yt_dlp/extractor/spike.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/sport5.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/sportbox.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/sportdeutschland.py @@ -869,6 +866,7 @@ bin/yt-dlp-devel %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/tf1.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/tfo.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/theguardian.py +%%PYTHON_SITELIBDIR%%/yt_dlp/extractor/thehighwire.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/theholetv.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/theintercept.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/theplatform.py @@ -898,7 +896,6 @@ bin/yt-dlp-devel %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/trueid.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/trunews.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/truth.py -%%PYTHON_SITELIBDIR%%/yt_dlp/extractor/trutv.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/tube8.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/tubetugraz.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/tubitv.py @@ -918,7 +915,6 @@ bin/yt-dlp-devel %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/tver.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/tvigle.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/tviplayer.py -%%PYTHON_SITELIBDIR%%/yt_dlp/extractor/tvland.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/tvn24.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/tvnoe.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/tvopengr.py @@ -941,6 +937,7 @@ bin/yt-dlp-devel %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/uliza.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/umg.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/unistra.py +%%PYTHON_SITELIBDIR%%/yt_dlp/extractor/unitednations.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/unity.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/unsupported.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/uol.py @@ -956,7 +953,6 @@ bin/yt-dlp-devel %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/vbox7.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/veo.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/vesti.py -%%PYTHON_SITELIBDIR%%/yt_dlp/extractor/vevo.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/vgtv.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/vh1.py %%PYTHON_SITELIBDIR%%/yt_dlp/extractor/vice.py @@ -1103,6 +1099,8 @@ bin/yt-dlp-devel %%PYTHON_SITELIBDIR%%/yt_dlp/utils/_deprecated.py %%PYTHON_SITELIBDIR%%/yt_dlp/utils/_legacy.py %%PYTHON_SITELIBDIR%%/yt_dlp/utils/_utils.py +%%PYTHON_SITELIBDIR%%/yt_dlp/utils/jslib/__init__.py +%%PYTHON_SITELIBDIR%%/yt_dlp/utils/jslib/devalue.py %%PYTHON_SITELIBDIR%%/yt_dlp/utils/networking.py %%PYTHON_SITELIBDIR%%/yt_dlp/utils/progress.py %%PYTHON_SITELIBDIR%%/yt_dlp/utils/traversal.py diff --git a/www/pydio-cells/Makefile b/www/pydio-cells/Makefile index 25564406ef64..798a88d3ca11 100644 --- a/www/pydio-cells/Makefile +++ b/www/pydio-cells/Makefile @@ -1,7 +1,7 @@ PORTNAME= cells DISTVERSIONPREFIX= v DISTVERSION= 4.4.14 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= www PKGNAMEPREFIX= pydio- diff --git a/www/qt5-webengine/Makefile b/www/qt5-webengine/Makefile index 1e7143faccb2..acaab60994f2 100644 --- a/www/qt5-webengine/Makefile +++ b/www/qt5-webengine/Makefile @@ -75,7 +75,7 @@ SNDIO_VARS_OFF= QMAKE_CONFIGURE_ARGS+=-no-sndio # We pass `norecursive' to USES=qmake because src/plugins/plugins.pro checks # whether webenginewidgets is available, which fails when qmake processes all # .pro files at once. -USES= gl gnome gperf jpeg minizip ninja:build nodejs:build,lts \ +USES= gl gnome gperf jpeg minizip ninja:build \ perl5 pkgconfig python:build qmake:norecursive,outsource \ qt-dist:5,webengine shebangfix xorg USE_GL= gl @@ -117,7 +117,13 @@ MAKE_ENV+= CC="${CC}" CXX="${CXX}" \ QT_BINARIES= yes -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> + +.if ${ARCH:Mi386} +USES+= nodejs:build,20 +.else +USES+= nodejs:build,lts +.endif .if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} PLIST_SUB+= BE="" LE="@comment " @@ -177,4 +183,4 @@ post-install: ${BRANDELF} -t FreeBSD $$lib ; \ done -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/www/qt6-httpserver/distinfo b/www/qt6-httpserver/distinfo index 48782c3db88e..38c80b869b89 100644 --- a/www/qt6-httpserver/distinfo +++ b/www/qt6-httpserver/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1749162746 -SHA256 (KDE/Qt/6.9.1/qthttpserver-everywhere-src-6.9.1.tar.xz) = bfc7b511e2bbc365f11027ae8d7d2e33f3ff63591b866df9a880c51363f02b53 -SIZE (KDE/Qt/6.9.1/qthttpserver-everywhere-src-6.9.1.tar.xz) = 189852 +TIMESTAMP = 1756198097 +SHA256 (KDE/Qt/6.9.2/qthttpserver-everywhere-src-6.9.2.tar.xz) = 1343fa1d1d6dfda9b9de4a1ff36471b6ff4bd16f9ee7c19deb098c15e4714019 +SIZE (KDE/Qt/6.9.2/qthttpserver-everywhere-src-6.9.2.tar.xz) = 175292 diff --git a/www/qt6-webchannel/distinfo b/www/qt6-webchannel/distinfo index 4dcc026aaef9..0664bc0955ec 100644 --- a/www/qt6-webchannel/distinfo +++ b/www/qt6-webchannel/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1749159379 -SHA256 (KDE/Qt/6.9.1/qtwebchannel-everywhere-src-6.9.1.tar.xz) = 19b401d9210afc416c4080b189b0c9940e90d1f7444f5d046f3d8b1ab5fcf9c0 -SIZE (KDE/Qt/6.9.1/qtwebchannel-everywhere-src-6.9.1.tar.xz) = 209516 +TIMESTAMP = 1756198104 +SHA256 (KDE/Qt/6.9.2/qtwebchannel-everywhere-src-6.9.2.tar.xz) = 878a6337ad4d2c2a1de5bedb28c36b05b2733242d10f6c3d0eae55c5433c8e65 +SIZE (KDE/Qt/6.9.2/qtwebchannel-everywhere-src-6.9.2.tar.xz) = 193888 diff --git a/www/qt6-webengine/Makefile b/www/qt6-webengine/Makefile index e363ec6cf930..9939ff2dc4d5 100644 --- a/www/qt6-webengine/Makefile +++ b/www/qt6-webengine/Makefile @@ -12,22 +12,25 @@ PORTNAME?= webengine DISTVERSION= ${QT6_VERSION} -PORTREVISION?= 2 # Master port for print/qt7-pdf. Please keep this line. +# This is the parent port of print/qt6-pdf. Please always keep 'PORTREVISION?=' +# and reset the value to '0' only after increasing QT6_VERSION in Mk/Uses/qt.mk. +PORTREVISION?= 0 CATEGORIES?= www PKGNAMEPREFIX= qt6- MAINTAINER= kde@FreeBSD.org COMMENT?= Qt 6 library to render web content -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} \ - ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers +# 32-bit platforms are not supported by upstream, but we're limping them along. +ONLY_FOR_ARCHS= aarch64 amd64 armv7 i386 + +BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers LIB_DEPENDS= libfreetype.so:print/freetype2 \ libnss3.so:security/nss \ libopenjp2.so:graphics/openjpeg \ libxkbcommon.so:x11/libxkbcommon -USES= bison cmake compiler:c++20-lang gl gperf \ - localbase:ldflags ninja:build nodejs:build,lts \ +USES= cmake compiler:c++20-lang gl localbase:ldflags ninja:build \ pkgconfig python:build qt-dist:6,webengine USE_GL= opengl USE_QT= base declarative tools @@ -45,7 +48,8 @@ CMAKE_OFF+= QT_FEATURE_qtwebengine_build SYS_LIBS= freetype .else -BUILD_DEPENDS+= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat +BUILD_DEPENDS+= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \ + ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} LIB_DEPENDS+= libabsl_base.so:devel/abseil \ libavcodec.so:multimedia/ffmpeg \ libdbus-1.so:devel/dbus \ @@ -68,7 +72,7 @@ LIB_DEPENDS+= libabsl_base.so:devel/abseil \ libvpx.so:multimedia/libvpx \ libwebp.so:graphics/webp -USES+= gnome jpeg minizip xorg +USES+= bison gnome gperf jpeg minizip xorg USE_GL+= gbm USE_QT+= positioning quick3d:build webchannel USE_GNOME+= glib20 libxml2 libxslt @@ -139,6 +143,16 @@ SNDIO_CMAKE_ON= -DQT_FEATURE_webengine_system_sndio:BOOL=ON SNDIO_CMAKE_OFF= -DQT_FEATURE_webengine_system_sndio:BOOL=OFF .endif +.include <bsd.port.options.mk> + +.if !defined(BUILD_QTPDF) +. if ${ARCH:Mi386} +USES+= nodejs:build,20 +. else +USES+= nodejs:build,lts +. endif +.endif + post-extract: @${MKDIR} ${WRKSRC}/src/3rdparty/chromium/media/audio/sndio \ ${WRKSRC}/src/3rdparty/chromium/sandbox/policy/freebsd \ diff --git a/www/qt6-webengine/distinfo b/www/qt6-webengine/distinfo index d4d0b5b8184a..1937cd5f2816 100644 --- a/www/qt6-webengine/distinfo +++ b/www/qt6-webengine/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1749159742 -SHA256 (KDE/Qt/6.9.1/qtwebengine-everywhere-src-6.9.1.tar.xz) = 787dfde22b348f6d620f2207ed7e32ad0a5389373182614272de28ff3f91c26c -SIZE (KDE/Qt/6.9.1/qtwebengine-everywhere-src-6.9.1.tar.xz) = 672204388 +TIMESTAMP = 1756198709 +SHA256 (KDE/Qt/6.9.2/qtwebengine-everywhere-src-6.9.2.tar.xz) = 99cb0792abc2e39b299d73d8e2aa076b9ebcd55c3f4a4b5fd514eef5a62d03ab +SIZE (KDE/Qt/6.9.2/qtwebengine-everywhere-src-6.9.2.tar.xz) = 672191852 diff --git a/www/qt6-webengine/files/patch-cmake_Functions.cmake b/www/qt6-webengine/files/patch-cmake_Functions.cmake index 8264af9b3658..8bb309145150 100644 --- a/www/qt6-webengine/files/patch-cmake_Functions.cmake +++ b/www/qt6-webengine/files/patch-cmake_Functions.cmake @@ -1,4 +1,4 @@ ---- cmake/Functions.cmake.orig 2025-05-29 01:27:28 UTC +--- cmake/Functions.cmake.orig 2025-08-18 00:53:11 UTC +++ cmake/Functions.cmake @@ -103,7 +103,7 @@ function(add_linker_options target buildDir completeSt set(libs_rsp "${buildDir}/${ninjaTarget}_libs.rsp") @@ -9,7 +9,7 @@ get_gn_arch(cpu ${TEST_architecture_arch}) if(CMAKE_CROSSCOMPILING AND cpu STREQUAL "arm" AND ${config} STREQUAL "Debug") target_link_options(${cmakeTarget} PRIVATE "LINKER:--long-plt") -@@ -370,6 +370,20 @@ function(add_gn_build_artifacts_to_target) +@@ -373,6 +373,20 @@ function(add_gn_build_artifacts_to_target) set_target_properties(${arg_CMAKE_TARGET} PROPERTIES LINK_DEPENDS ${arg_BUILDDIR}/${config}/${arch}/${arg_NINJA_STAMP} ) diff --git a/www/qt6-webengine/files/patch-cmake_QtToolchainHelpers.cmake b/www/qt6-webengine/files/patch-cmake_QtToolchainHelpers.cmake index 4417cdb8a943..b732070f2d7e 100644 --- a/www/qt6-webengine/files/patch-cmake_QtToolchainHelpers.cmake +++ b/www/qt6-webengine/files/patch-cmake_QtToolchainHelpers.cmake @@ -1,4 +1,4 @@ ---- cmake/QtToolchainHelpers.cmake.orig 2025-05-29 01:27:28 UTC +--- cmake/QtToolchainHelpers.cmake.orig 2025-08-18 00:53:11 UTC +++ cmake/QtToolchainHelpers.cmake @@ -95,6 +95,8 @@ function(get_gn_os result) set(${result} "mac" PARENT_SCOPE) @@ -9,7 +9,7 @@ else() message(DEBUG "Unrecognized OS") endif() -@@ -310,7 +312,7 @@ macro(append_build_type_setup) +@@ -323,7 +325,7 @@ macro(append_build_type_setup) extend_gn_list(gnArgArg ARGS enable_precompiled_headers @@ -18,7 +18,7 @@ ) extend_gn_list(gnArgArg ARGS dcheck_always_on -@@ -402,7 +404,7 @@ macro(append_compiler_linker_sdk_setup) +@@ -415,7 +417,7 @@ macro(append_compiler_linker_sdk_setup) use_libcxx=true ) endif() @@ -27,7 +27,7 @@ extend_gn_list(gnArgArg ARGS use_libcxx CONDITION QT_FEATURE_stdlib_libcpp ) -@@ -443,7 +445,7 @@ macro(append_compiler_linker_sdk_setup) +@@ -456,7 +458,7 @@ macro(append_compiler_linker_sdk_setup) ) endif() get_gn_arch(cpu ${TEST_architecture_arch}) @@ -36,7 +36,7 @@ extend_gn_list_cflag(gnArgArg ARG arm_tune -@@ -548,7 +550,7 @@ macro(append_toolchain_setup) +@@ -561,7 +563,7 @@ macro(append_toolchain_setup) endif() unset(host_cpu) unset(target_cpu) diff --git a/www/qt6-webengine/files/patch-configure.cmake b/www/qt6-webengine/files/patch-configure.cmake index 5505a55e5e3c..b9217899f331 100644 --- a/www/qt6-webengine/files/patch-configure.cmake +++ b/www/qt6-webengine/files/patch-configure.cmake @@ -1,11 +1,11 @@ ---- configure.cmake.orig 2025-02-21 12:29:33 UTC +--- configure.cmake.orig 2025-08-18 00:53:11 UTC +++ configure.cmake -@@ -292,12 +292,12 @@ qt_webengine_configure_check("supported-platform" +@@ -291,12 +291,12 @@ qt_webengine_configure_check("supported-platform" qt_webengine_configure_check("supported-platform" MODULES QtWebEngine -- CONDITION LINUX OR (WIN32 AND NOT (WIN_ARM_64 AND DEFINED ENV{COIN_PLATFORM_ID})) OR MACOS -+ CONDITION LINUX OR (WIN32 AND NOT (WIN_ARM_64 AND DEFINED ENV{COIN_PLATFORM_ID})) OR MACOS OR FREEBSD +- CONDITION LINUX OR WIN32 OR MACOS ++ CONDITION LINUX OR WIN32 OR MACOS OR FREEBSD MESSAGE "Build can be done only on Linux, Windows or macOS." ) qt_webengine_configure_check("supported-platform" @@ -15,7 +15,7 @@ MESSAGE "Build can be done only on Linux, Windows, macO, iOS and Android." ) -@@ -317,15 +317,6 @@ qt_webengine_configure_check("static-build" +@@ -316,15 +316,6 @@ qt_webengine_configure_check("static-build" MESSAGE "Static build is not supported." ) @@ -31,7 +31,7 @@ qt_webengine_configure_check("python3" MODULES QtWebEngine QtPdf CONDITION Python3_FOUND -@@ -448,6 +439,8 @@ qt_webengine_configure_check("compiler" +@@ -455,6 +446,8 @@ qt_webengine_configure_check("compiler" CONDITION MSVC OR (LINUX AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR (LINUX AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang") OR @@ -40,7 +40,7 @@ (MACOS AND CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang") MESSAGE "${CMAKE_CXX_COMPILER_ID} compiler is not supported." -@@ -457,6 +450,8 @@ qt_webengine_configure_check("compiler" +@@ -464,6 +457,8 @@ qt_webengine_configure_check("compiler" CONDITION MSVC OR (LINUX AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR (LINUX AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang") OR @@ -49,7 +49,7 @@ (APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang") OR (ANDROID AND CMAKE_CXX_COMPILER_ID STREQUAL "Clang") OR (MINGW AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR -@@ -709,7 +704,7 @@ qt_feature("webengine-ozone-x11" PRIVATE +@@ -725,7 +720,7 @@ qt_feature("webengine-ozone-x11" PRIVATE qt_feature("webengine-ozone-x11" PRIVATE LABEL "Support X11 on qpa-xcb" diff --git a/www/qt6-webengine/files/patch-security-rollup b/www/qt6-webengine/files/patch-security-rollup new file mode 100644 index 000000000000..8955c1fb52d9 --- /dev/null +++ b/www/qt6-webengine/files/patch-security-rollup @@ -0,0 +1,246 @@ +Security patches since 6.9.2 release + +CVE-2025-8879: Heap buffer overflow in libaom +CVE-2025-8880: Race in V8 +CVE-2025-8881: Inappropriate implementation in File Picker +CVE-2025-8901: Out of bounds write in ANGLE + +https://github.com/qt/qtwebengine-chromium/compare/136d7fe8aa41c9d4cd764a6b890af9699f5141dd..130-based.diff + +diff --git a/chromium/content/browser/web_contents/file_chooser_impl.cc b/chromium/content/browser/web_contents/file_chooser_impl.cc +index 7e2391bd1afd..d366c5d26bba 100644 +--- src/3rdparty/chromium/content/browser/web_contents/file_chooser_impl.cc ++++ src/3rdparty/chromium/content/browser/web_contents/file_chooser_impl.cc +@@ -169,6 +169,12 @@ void FileChooserImpl::OpenFileChooser(blink::mojom::FileChooserParamsPtr params, + return; + } + ++ // Do not allow open dialogs to have renderer-controlled default_file_name. ++ // See https://crbug.com/433800617 for context. ++ if (params->mode != blink::mojom::FileChooserParams::Mode::kSave) { ++ params->default_file_name = base::FilePath(); ++ } ++ + // Don't allow page with open FileChooser to enter BackForwardCache to avoid + // any unexpected behaviour from BackForwardCache. + BackForwardCache::DisableForRenderFrameHost( +diff --git a/chromium/media/audio/audio_input_device.cc b/chromium/media/audio/audio_input_device.cc +index a7d8e1098241..44abd451c397 100644 +--- src/3rdparty/chromium/media/audio/audio_input_device.cc ++++ src/3rdparty/chromium/media/audio/audio_input_device.cc +@@ -482,7 +482,7 @@ void AudioInputDevice::AudioThreadCallback::Process(uint32_t pending_data) { + const base::TimeTicks capture_time = + base::TimeTicks() + base::Microseconds(buffer->params.capture_time_us); + const base::TimeTicks now_time = base::TimeTicks::Now(); +- DCHECK_GE(now_time, capture_time); ++ // DCHECK_GE(now_time, capture_time); + + AudioGlitchInfo glitch_info{ + .duration = base::Microseconds(buffer->params.glitch_duration_us), +diff --git a/chromium/third_party/angle/src/compiler/translator/Compiler.cpp b/chromium/third_party/angle/src/compiler/translator/Compiler.cpp +index 107f61cf4603..04b698b7fc08 100644 +--- src/3rdparty/chromium/third_party/angle/src/compiler/translator/Compiler.cpp ++++ src/3rdparty/chromium/third_party/angle/src/compiler/translator/Compiler.cpp +@@ -775,24 +775,6 @@ bool TCompiler::checkAndSimplifyAST(TIntermBlock *root, + return false; + } + +- // For now, rewrite pixel local storage before collecting variables or any operations on images. +- // +- // TODO(anglebug.com/40096838): +- // Should this actually run after collecting variables? +- // Do we need more introspection? +- // Do we want to hide rewritten shader image uniforms from glGetActiveUniform? +- if (hasPixelLocalStorageUniforms()) +- { +- ASSERT( +- IsExtensionEnabled(mExtensionBehavior, TExtension::ANGLE_shader_pixel_local_storage)); +- if (!RewritePixelLocalStorage(this, root, getSymbolTable(), compileOptions, +- getShaderVersion())) +- { +- mDiagnostics.globalError("internal compiler error translating pixel local storage"); +- return false; +- } +- } +- + if (shouldRunLoopAndIndexingValidation(compileOptions) && + !ValidateLimitations(root, mShaderType, &mSymbolTable, &mDiagnostics)) + { +@@ -939,6 +921,24 @@ bool TCompiler::checkAndSimplifyAST(TIntermBlock *root, + return false; + } + ++ // For now, rewrite pixel local storage before collecting variables or any operations on images. ++ // ++ // TODO(anglebug.com/40096838): ++ // Should this actually run after collecting variables? ++ // Do we need more introspection? ++ // Do we want to hide rewritten shader image uniforms from glGetActiveUniform? ++ if (hasPixelLocalStorageUniforms()) ++ { ++ ASSERT( ++ IsExtensionEnabled(mExtensionBehavior, TExtension::ANGLE_shader_pixel_local_storage)); ++ if (!RewritePixelLocalStorage(this, root, getSymbolTable(), compileOptions, ++ getShaderVersion())) ++ { ++ mDiagnostics.globalError("internal compiler error translating pixel local storage"); ++ return false; ++ } ++ } ++ + // Clamping uniform array bounds needs to happen after validateLimitations pass. + if (compileOptions.clampIndirectArrayBounds) + { +diff --git a/chromium/third_party/angle/src/compiler/translator/ValidateOutputs.cpp b/chromium/third_party/angle/src/compiler/translator/ValidateOutputs.cpp +index 927783db73f6..d3481f1a4d1f 100644 +--- src/3rdparty/chromium/third_party/angle/src/compiler/translator/ValidateOutputs.cpp ++++ src/3rdparty/chromium/third_party/angle/src/compiler/translator/ValidateOutputs.cpp +@@ -72,15 +72,19 @@ ValidateOutputsTraverser::ValidateOutputsTraverser(const TExtensionBehavior &ext + void ValidateOutputsTraverser::visitSymbol(TIntermSymbol *symbol) + { + if (symbol->variable().symbolType() == SymbolType::Empty) ++ { + return; ++ } + + if (mVisitedSymbols.count(symbol->uniqueId().get()) == 1) ++ { + return; ++ } + + mVisitedSymbols.insert(symbol->uniqueId().get()); + + TQualifier qualifier = symbol->getQualifier(); +- if (qualifier == EvqFragmentOut) ++ if (qualifier == EvqFragmentOut || qualifier == EvqFragmentInOut) + { + const TLayoutQualifier &layoutQualifier = symbol->getType().getLayoutQualifier(); + if (layoutQualifier.location != -1) +diff --git a/chromium/third_party/blink/public/mojom/choosers/file_chooser.mojom b/chromium/third_party/blink/public/mojom/choosers/file_chooser.mojom +index 22ccb9cc709f..f323fa2aa2eb 100644 +--- src/3rdparty/chromium/third_party/blink/public/mojom/choosers/file_chooser.mojom ++++ src/3rdparty/chromium/third_party/blink/public/mojom/choosers/file_chooser.mojom +@@ -25,7 +25,7 @@ struct FileChooserParams { + kUploadFolder, + + // Allows picking a nonexistent file, and prompts to overwrite if the file +- // already exists. This is not for Blink but for PPAPI. ++ // already exists. + kSave, + }; + Mode mode = kOpen; +@@ -34,7 +34,8 @@ struct FileChooserParams { + // which will be either "Open" or "Save" depending on the mode. + mojo_base.mojom.String16 title; + +- // Default file name to select in the dialog with kSave mode. ++ // Default file name to select in the dialog with kSave mode. This value ++ // is cleared if mode is not kSave. + mojo_base.mojom.FilePath default_file_name; + + // |selected_files| has filenames which a file upload control already +diff --git a/chromium/third_party/libaom/source/libaom/av1/encoder/ratectrl.c b/chromium/third_party/libaom/source/libaom/av1/encoder/ratectrl.c +index 4fd5ec6bf54b..82a48c39cb10 100644 +--- src/3rdparty/chromium/third_party/libaom/source/libaom/av1/encoder/ratectrl.c ++++ src/3rdparty/chromium/third_party/libaom/source/libaom/av1/encoder/ratectrl.c +@@ -3236,8 +3236,9 @@ static void rc_scene_detection_onepass_rt(AV1_COMP *cpi, + // non-zero sad exists along bottom border even though source is static. + const int border = + rc->prev_frame_is_dropped || cpi->svc.number_temporal_layers > 1; +- // Store blkwise SAD for later use +- if (width == cm->render_width && height == cm->render_height) { ++ // Store blkwise SAD for later use. Disable for spatial layers for now. ++ if (width == cm->render_width && height == cm->render_height && ++ cpi->svc.number_spatial_layers == 1) { + if (cpi->src_sad_blk_64x64 == NULL) { + CHECK_MEM_ERROR(cm, cpi->src_sad_blk_64x64, + (uint64_t *)aom_calloc(sb_cols * sb_rows, +diff --git a/chromium/v8/src/wasm/streaming-decoder.cc b/chromium/v8/src/wasm/streaming-decoder.cc +index f3745b4c055a..ce5dad96d52f 100644 +--- src/3rdparty/chromium/v8/src/wasm/streaming-decoder.cc ++++ src/3rdparty/chromium/v8/src/wasm/streaming-decoder.cc +@@ -230,45 +230,61 @@ class V8_EXPORT_PRIVATE AsyncStreamingDecoder : public StreamingDecoder { + }; + + void AsyncStreamingDecoder::OnBytesReceived(base::Vector<const uint8_t> bytes) { +- DCHECK(!full_wire_bytes_.empty()); ++ TRACE_STREAMING("OnBytesReceived(%zu bytes)\n", bytes.size()); ++ ++ // Note: The bytes are passed by the embedder, and they might point into the ++ // sandbox. Hence we copy them once and then process those copied bytes, to ++ // avoid being vulnerable to concurrent modification. ++ // Since we might not be able to store the bytes contiguously in memory, ++ // remember up to two byte vectors to process after copying. ++ base::Vector<const uint8_t> copied_bytes[2] = {{}, {}}; ++ + // Fill the previous vector, growing up to 16kB. After that, allocate new + // vectors on overflow. ++ DCHECK(!full_wire_bytes_.empty()); ++ std::vector<uint8_t>* last_wire_byte_vector = &full_wire_bytes_.back(); ++ size_t existing_vector_size = last_wire_byte_vector->size(); + size_t remaining_capacity = +- std::max(full_wire_bytes_.back().capacity(), size_t{16} * KB) - +- full_wire_bytes_.back().size(); ++ std::max(last_wire_byte_vector->capacity(), size_t{16} * KB) - ++ existing_vector_size; + size_t bytes_for_existing_vector = std::min(remaining_capacity, bytes.size()); +- full_wire_bytes_.back().insert(full_wire_bytes_.back().end(), bytes.data(), +- bytes.data() + bytes_for_existing_vector); ++ last_wire_byte_vector->insert(last_wire_byte_vector->end(), bytes.data(), ++ bytes.data() + bytes_for_existing_vector); ++ copied_bytes[0] = ++ base::VectorOf(last_wire_byte_vector->data() + existing_vector_size, ++ bytes_for_existing_vector); + if (bytes.size() > bytes_for_existing_vector) { + // The previous vector's capacity is not enough to hold all new bytes, and + // it's bigger than 16kB, so expensive to copy. Allocate a new vector for + // the remaining bytes, growing exponentially. + size_t new_capacity = std::max(bytes.size() - bytes_for_existing_vector, +- 2 * full_wire_bytes_.back().capacity()); ++ 2 * last_wire_byte_vector->capacity()); + full_wire_bytes_.emplace_back(); +- full_wire_bytes_.back().reserve(new_capacity); +- full_wire_bytes_.back().insert(full_wire_bytes_.back().end(), +- bytes.data() + bytes_for_existing_vector, +- bytes.end()); ++ last_wire_byte_vector = &full_wire_bytes_.back(); ++ last_wire_byte_vector->reserve(new_capacity); ++ last_wire_byte_vector->insert(last_wire_byte_vector->end(), ++ bytes.data() + bytes_for_existing_vector, ++ bytes.end()); ++ copied_bytes[1] = base::VectorOf(*last_wire_byte_vector); + } ++ // Do not access `bytes` any more after copying. ++ DCHECK_EQ(bytes.size(), copied_bytes[0].size() + copied_bytes[1].size()); ++ bytes = {}; + + if (deserializing()) return; + +- TRACE_STREAMING("OnBytesReceived(%zu bytes)\n", bytes.size()); +- +- size_t current = 0; +- while (ok() && current < bytes.size()) { +- size_t num_bytes = +- state_->ReadBytes(this, bytes.SubVector(current, bytes.size())); +- current += num_bytes; +- module_offset_ += num_bytes; +- if (state_->offset() == state_->buffer().size()) { +- state_ = state_->Next(this); ++ for (base::Vector<const uint8_t> vec : copied_bytes) { ++ size_t current = 0; ++ while (ok() && current < vec.size()) { ++ size_t num_bytes = state_->ReadBytes(this, vec.SubVectorFrom(current)); ++ current += num_bytes; ++ module_offset_ += num_bytes; ++ if (state_->offset() == state_->buffer().size()) { ++ state_ = state_->Next(this); ++ } + } + } +- if (ok()) { +- processor_->OnFinishedChunk(); +- } ++ if (ok()) processor_->OnFinishedChunk(); + } + + size_t AsyncStreamingDecoder::DecodingState::ReadBytes( diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_signin_profile__picker__handler.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_signin_profile__picker__handler.cc index 36e6cd423191..f4c2e1339c83 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_signin_profile__picker__handler.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_chrome_browser_ui_webui_signin_profile__picker__handler.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/chrome/browser/ui/webui/signin/profile_picker_handler.cc.orig 2024-10-22 08:31:56 UTC +--- src/3rdparty/chromium/chrome/browser/ui/webui/signin/profile_picker_handler.cc.orig 2025-08-18 00:53:11 UTC +++ src/3rdparty/chromium/chrome/browser/ui/webui/signin/profile_picker_handler.cc @@ -209,7 +209,7 @@ base::Value::Dict CreateProfileEntry(const ProfileAttr @@ -9,7 +9,7 @@ } else if (base::FeatureList::IsEnabled( supervised_user::kShowKiteForSupervisedUsers) && entry->IsSupervised()) { -@@ -1224,7 +1224,7 @@ void ProfilePickerHandler::BeginFirstWebContentsProfil +@@ -1222,7 +1222,7 @@ void ProfilePickerHandler::MaybeUpdateGuestMode() { } void ProfilePickerHandler::MaybeUpdateGuestMode() { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_ipc_service_gpu__init.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_ipc_service_gpu__init.cc index ac3ee9a58d74..a5c5e3cf4a66 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_ipc_service_gpu__init.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_gpu_ipc_service_gpu__init.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/gpu/ipc/service/gpu_init.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/gpu/ipc/service/gpu_init.cc.orig 2025-08-18 00:53:11 UTC +++ src/3rdparty/chromium/gpu/ipc/service/gpu_init.cc -@@ -403,7 +403,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL +@@ -401,7 +401,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL enable_watchdog = false; #endif @@ -9,7 +9,7 @@ bool gpu_sandbox_start_early = gpu_preferences_.gpu_sandbox_start_early; #else // !(BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)) // For some reasons MacOSX's VideoToolbox might crash when called after -@@ -440,7 +440,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL +@@ -438,7 +438,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL } bool attempted_startsandbox = false; @@ -18,7 +18,7 @@ // On Chrome OS ARM Mali, GPU driver userspace creates threads when // initializing a GL context, so start the sandbox early. // TODO(zmo): Need to collect OS version before this. -@@ -544,7 +544,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL +@@ -542,7 +542,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL gpu_preferences_.gr_context_type = GrContextType::kGL; } @@ -27,7 +27,7 @@ // The ContentSandboxHelper is currently the only one implementation of // GpuSandboxHelper and it has no dependency. Except on Linux where // VaapiWrapper checks the GL implementation to determine which display -@@ -626,7 +626,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL +@@ -624,7 +624,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL command_line, gpu_feature_info_, gpu_preferences_.disable_software_rasterizer, false); if (gl_use_swiftshader_) { @@ -36,7 +36,7 @@ VLOG(1) << "Quit GPU process launch to fallback to SwiftShader cleanly " << "on Linux"; return false; -@@ -777,7 +777,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL +@@ -775,7 +775,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL InitializePlatformOverlaySettings(&gpu_info_, gpu_feature_info_); @@ -45,7 +45,7 @@ // Driver may create a compatibility profile context when collect graphics // information on Linux platform. Try to collect graphics information // based on core profile context after disabling platform extensions. -@@ -832,7 +832,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL +@@ -830,7 +830,7 @@ bool GpuInit::InitializeAndStartSandbox(base::CommandL } } } @@ -54,7 +54,7 @@ (BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_CHROMEOS_DEVICE)) if (!gl_disabled && !gl_use_swiftshader_ && std::getenv("RUNNING_UNDER_RR")) { // https://rr-project.org/ is a Linux-only record-and-replay debugger that -@@ -1017,7 +1017,7 @@ void GpuInit::InitializeInProcess(base::CommandLine* c +@@ -1015,7 +1015,7 @@ void GpuInit::InitializeInProcess(base::CommandLine* c } bool gl_disabled = gl::GetGLImplementation() == gl::kGLImplementationDisabled; @@ -63,7 +63,7 @@ (BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_CHROMEOS_DEVICE)) if (!gl_disabled && !gl_use_swiftshader_ && std::getenv("RUNNING_UNDER_RR")) { // https://rr-project.org/ is a Linux-only record-and-replay debugger that -@@ -1078,7 +1078,7 @@ void GpuInit::InitializeInProcess(base::CommandLine* c +@@ -1076,7 +1076,7 @@ void GpuInit::InitializeInProcess(base::CommandLine* c } } diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_build_scripts_gperf.py b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_build_scripts_gperf.py deleted file mode 100644 index d42d489f943d..000000000000 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_build_scripts_gperf.py +++ /dev/null @@ -1,27 +0,0 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/build/scripts/gperf.py.orig 2025-03-29 00:50:57 UTC -+++ src/3rdparty/chromium/third_party/blink/renderer/build/scripts/gperf.py -@@ -28,24 +28,6 @@ def generate_gperf(gperf_path, gperf_input, gperf_args - stdout=subprocess.PIPE, - universal_newlines=True) - gperf_output = gperf.communicate(gperf_input)[0] -- # Massage gperf output to be more palatable for modern compilers. -- # TODO(thakis): Upstream these to gperf so we don't need massaging. -- # `register` is deprecated in C++11 and removed in C++17, so remove -- # it from gperf's output. -- # https://savannah.gnu.org/bugs/index.php?53028 -- gperf_output = re.sub(r'\bregister ', '', gperf_output) -- # -Wimplicit-fallthrough needs an explicit fallthrough statement, -- # so replace gperf's /*FALLTHROUGH*/ comment with the statement. -- # https://savannah.gnu.org/bugs/index.php?53029 -- gperf_output = gperf_output.replace('/*FALLTHROUGH*/', -- ' [[fallthrough]];') -- # -Wpointer-to-int-cast warns about casting pointers to smaller ints -- # Replace {(int)(long)&(foo), bar} with -- # {static_cast<int>(reinterpret_cast<uintptr_t>(&(foo)), bar} -- gperf_output = re.sub( -- r'\(int\)\(long\)(.*?),', -- r'static_cast<int>(reinterpret_cast<uintptr_t>(\1)),', -- gperf_output) - script = 'third_party/blink/renderer/build/scripts/gperf.py' - return '// Generated by %s\n' % script + gperf_output - except OSError: diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_runtime__enabled__features.json5 b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_runtime__enabled__features.json5 index 04a903bd35f2..b3b99e8e202e 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_runtime__enabled__features.json5 +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_runtime__enabled__features.json5 @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/third_party/blink/renderer/platform/runtime_enabled_features.json5.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/third_party/blink/renderer/platform/runtime_enabled_features.json5.orig 2025-08-18 00:53:11 UTC +++ src/3rdparty/chromium/third_party/blink/renderer/platform/runtime_enabled_features.json5 @@ -384,7 +384,7 @@ name: "AppTitle", @@ -36,7 +36,7 @@ status: "stable", public: true, base_feature: "none", -@@ -4313,7 +4313,7 @@ +@@ -4320,7 +4320,7 @@ name: "UnrestrictedSharedArrayBuffer", base_feature: "none", origin_trial_feature_name: "UnrestrictedSharedArrayBuffer", @@ -45,7 +45,7 @@ }, // Enables using policy-controlled feature "usb-unrestricted" to allow // isolated context to access protected USB interface classes and to -@@ -4460,7 +4460,7 @@ +@@ -4467,7 +4467,7 @@ { name: "WebAppScopeExtensions", origin_trial_feature_name: "WebAppScopeExtensions", @@ -54,7 +54,7 @@ status: "experimental", base_feature: "none", }, -@@ -4503,7 +4503,7 @@ +@@ -4510,7 +4510,7 @@ status: "experimental", base_feature: "none", origin_trial_feature_name: "WebAppUrlHandling", diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_dragdrop_os__exchange__data__provider__non__backed.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_dragdrop_os__exchange__data__provider__non__backed.cc index 9008177cfd17..577dde022f49 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_dragdrop_os__exchange__data__provider__non__backed.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_dragdrop_os__exchange__data__provider__non__backed.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/base/dragdrop/os_exchange_data_provider_non_backed.cc.orig 2024-04-19 13:02:56 UTC +--- src/3rdparty/chromium/ui/base/dragdrop/os_exchange_data_provider_non_backed.cc.orig 2025-08-18 00:53:11 UTC +++ src/3rdparty/chromium/ui/base/dragdrop/os_exchange_data_provider_non_backed.cc -@@ -99,7 +99,7 @@ void OSExchangeDataProviderNonBacked::SetPickledData( +@@ -101,7 +101,7 @@ std::optional<std::u16string> OSExchangeDataProviderNo std::optional<std::u16string> OSExchangeDataProviderNonBacked::GetString() const { diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ui__base__features.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ui__base__features.cc index 05f2a3caf372..38b6dcc88c83 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ui__base__features.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ui__base__features.cc @@ -1,4 +1,4 @@ ---- src/3rdparty/chromium/ui/base/ui_base_features.cc.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/ui/base/ui_base_features.cc.orig 2025-08-18 00:53:11 UTC +++ src/3rdparty/chromium/ui/base/ui_base_features.cc @@ -165,7 +165,7 @@ BASE_FEATURE(kWaylandTextInputV3, base::FEATURE_DISABLED_BY_DEFAULT); @@ -18,7 +18,7 @@ (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS_ASH) && \ !BUILDFLAG(IS_CHROMEOS_LACROS)) BASE_FEATURE(kExperimentalFlingAnimation, -@@ -385,7 +385,7 @@ bool IsForcedColorsEnabled() { +@@ -389,7 +389,7 @@ bool IsForcedColorsEnabled() { // and Linux. This feature will be released for other platforms in later // milestones. #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || \ diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ui__base__features.h b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ui__base__features.h index 2aca842bce0d..0cdc36728a12 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ui__base__features.h +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_base_ui__base__features.h @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/base/ui_base_features.h.orig 2025-02-21 12:29:33 UTC +--- src/3rdparty/chromium/ui/base/ui_base_features.h.orig 2025-08-18 00:53:11 UTC +++ src/3rdparty/chromium/ui/base/ui_base_features.h -@@ -143,7 +143,7 @@ BASE_DECLARE_FEATURE(kWaylandTextInputV3); +@@ -146,7 +146,7 @@ BASE_DECLARE_FEATURE(kWaylandTextInputV3); BASE_DECLARE_FEATURE(kWaylandTextInputV3); #endif // BUILDFLAG(IS_OZONE) diff --git a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_linux_gbm__wrapper.cc b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_linux_gbm__wrapper.cc index 2a4d92824384..b48a98195aeb 100644 --- a/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_linux_gbm__wrapper.cc +++ b/www/qt6-webengine/files/patch-src_3rdparty_chromium_ui_gfx_linux_gbm__wrapper.cc @@ -1,6 +1,6 @@ ---- src/3rdparty/chromium/ui/gfx/linux/gbm_wrapper.cc.orig 2024-09-30 07:45:04 UTC +--- src/3rdparty/chromium/ui/gfx/linux/gbm_wrapper.cc.orig 2025-08-18 00:53:11 UTC +++ src/3rdparty/chromium/ui/gfx/linux/gbm_wrapper.cc -@@ -319,7 +319,7 @@ class Device final : public ui::GbmDevice { +@@ -331,7 +331,7 @@ class Device final : public ui::GbmDevice { // of 1x1 BOs which are destroyed before creating the final BO creation used // to instantiate the returned GbmBuffer. gfx::Size size_for_verification = diff --git a/www/qt6-webengine/files/patch-src_core_CMakeLists.txt b/www/qt6-webengine/files/patch-src_core_CMakeLists.txt index 4c6f56a2e4e2..f04b00dfc8d5 100644 --- a/www/qt6-webengine/files/patch-src_core_CMakeLists.txt +++ b/www/qt6-webengine/files/patch-src_core_CMakeLists.txt @@ -1,4 +1,4 @@ ---- src/core/CMakeLists.txt.orig 2025-03-09 19:36:47 UTC +--- src/core/CMakeLists.txt.orig 2025-08-18 00:53:11 UTC +++ src/core/CMakeLists.txt @@ -21,7 +21,7 @@ add_subdirectory(tools/qwebengine_convert_dict) # TOOLCHAIN SETUP @@ -9,7 +9,7 @@ setup_toolchains() endif() -@@ -200,7 +200,7 @@ foreach(arch ${archs}) +@@ -205,7 +205,7 @@ foreach(arch ${archs}) accessibility_activation_observer.cpp accessibility_activation_observer.h ) @@ -18,7 +18,7 @@ SOURCES ozone/gl_ozone_angle_qt.cpp ozone/gl_ozone_angle_qt.h ozone/ozone_util_qt.cpp ozone/ozone_util_qt.h -@@ -208,17 +208,17 @@ foreach(arch ${archs}) +@@ -213,17 +213,17 @@ foreach(arch ${archs}) ozone/surface_factory_qt.cpp ozone/surface_factory_qt.h ) @@ -39,7 +39,7 @@ SOURCES ozone/egl_helper.cpp ozone/egl_helper.h ) -@@ -438,7 +438,7 @@ foreach(arch ${archs}) +@@ -443,7 +443,7 @@ foreach(arch ${archs}) CONDITION QT_FEATURE_webenginedriver ) @@ -48,7 +48,7 @@ list(APPEND gnArgArg angle_enable_gl=true use_gtk=false # GTK toolkit bindings -@@ -505,6 +505,10 @@ foreach(arch ${archs}) +@@ -510,6 +510,10 @@ foreach(arch ${archs}) extend_gn_list(gnArgArg ARGS use_pulseaudio CONDITION QT_FEATURE_webengine_system_pulseaudio diff --git a/www/qt6-webengine/files/patch-src_core_api_configure.cmake b/www/qt6-webengine/files/patch-src_core_api_configure.cmake index 05e20daffc73..3988f9c60e8f 100644 --- a/www/qt6-webengine/files/patch-src_core_api_configure.cmake +++ b/www/qt6-webengine/files/patch-src_core_api_configure.cmake @@ -1,4 +1,4 @@ ---- src/core/api/configure.cmake.orig 2025-02-21 12:29:33 UTC +--- src/core/api/configure.cmake.orig 2025-08-18 00:53:11 UTC +++ src/core/api/configure.cmake @@ -10,6 +10,7 @@ if(NOT QT_CONFIGURE_RUNNING) if(PkgConfig_FOUND AND QT_FEATURE_pkg_config) @@ -8,7 +8,7 @@ pkg_check_modules(XDAMAGE xdamage) pkg_check_modules(GBM gbm) pkg_check_modules(LIBVA libva>=1.14) -@@ -76,6 +77,11 @@ qt_feature("webengine-printing-and-pdf" PRIVATE +@@ -90,6 +91,11 @@ qt_feature("webengine-printing-and-pdf" PRIVATE AUTODETECT NOT QT_FEATURE_webengine_embedded_build CONDITION TARGET Qt::PrintSupport AND QT_FEATURE_printer ) @@ -20,7 +20,7 @@ qt_feature("webengine-pepper-plugins" PRIVATE LABEL "Pepper Plugins" PURPOSE "Enables use of Pepper plugins." -@@ -157,7 +163,7 @@ qt_feature("webengine-vaapi" PRIVATE +@@ -171,7 +177,7 @@ qt_feature("webengine-vaapi" PRIVATE PURPOSE "Enables support for VA-API hardware acceleration" AUTODETECT GBM_FOUND AND LIBVA_FOUND AND QT_FEATURE_vulkan # hardware accelerated encoding requires bundled libvpx @@ -29,7 +29,7 @@ ) list(LENGTH CMAKE_OSX_ARCHITECTURES osx_arch_count) qt_feature("webenginedriver" PUBLIC -@@ -196,15 +202,19 @@ qt_configure_add_summary_entry( +@@ -214,15 +220,19 @@ qt_configure_add_summary_entry( ) qt_configure_add_summary_entry( ARGS "webengine-vaapi" diff --git a/www/qt6-webengine/files/patch-src_core_compositor_native__skia__output__device__opengl.cpp b/www/qt6-webengine/files/patch-src_core_compositor_native__skia__output__device__opengl.cpp index 079bb283b405..07a5f9437eea 100644 --- a/www/qt6-webengine/files/patch-src_core_compositor_native__skia__output__device__opengl.cpp +++ b/www/qt6-webengine/files/patch-src_core_compositor_native__skia__output__device__opengl.cpp @@ -1,6 +1,6 @@ ---- src/core/compositor/native_skia_output_device_opengl.cpp.orig 2025-03-09 19:36:47 UTC +--- src/core/compositor/native_skia_output_device_opengl.cpp.orig 2025-08-18 00:53:11 UTC +++ src/core/compositor/native_skia_output_device_opengl.cpp -@@ -247,7 +247,7 @@ QSGTexture *NativeSkiaOutputDeviceOpenGL::texture(QQui +@@ -248,7 +248,7 @@ QSGTexture *NativeSkiaOutputDeviceOpenGL::texture(QQui EGL_LINUX_DRM_FOURCC_EXT, drmFormat, EGL_DMA_BUF_PLANE0_FD_EXT, scopedFd.get(), EGL_DMA_BUF_PLANE0_OFFSET_EXT, static_cast<EGLAttrib>(nativePixmap->GetDmaBufOffset(0)), diff --git a/www/qt6-websockets/distinfo b/www/qt6-websockets/distinfo index 821443cc1d80..2856471e5674 100644 --- a/www/qt6-websockets/distinfo +++ b/www/qt6-websockets/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1749159745 -SHA256 (KDE/Qt/6.9.1/qtwebsockets-everywhere-src-6.9.1.tar.xz) = 98be8c863b7f02cc98eedc0b6eac07544c10a9d2fa11c685fd61f6b243f748f5 -SIZE (KDE/Qt/6.9.1/qtwebsockets-everywhere-src-6.9.1.tar.xz) = 462284 +TIMESTAMP = 1756198713 +SHA256 (KDE/Qt/6.9.2/qtwebsockets-everywhere-src-6.9.2.tar.xz) = be833f667ed8d6c2f41c0b9d1f8addf20b8d2b11c3a9466ec6d70c62121708ee +SIZE (KDE/Qt/6.9.2/qtwebsockets-everywhere-src-6.9.2.tar.xz) = 447432 diff --git a/www/qt6-webview/distinfo b/www/qt6-webview/distinfo index 64a0a82d21c9..a623e0ab91f3 100644 --- a/www/qt6-webview/distinfo +++ b/www/qt6-webview/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1749159748 -SHA256 (KDE/Qt/6.9.1/qtwebview-everywhere-src-6.9.1.tar.xz) = c29ad4fbb8f7a2042c4941bef88bb13bd04757eed94d6937ae69e0e4ea0d59a5 -SIZE (KDE/Qt/6.9.1/qtwebview-everywhere-src-6.9.1.tar.xz) = 141260 +TIMESTAMP = 1756198717 +SHA256 (KDE/Qt/6.9.2/qtwebview-everywhere-src-6.9.2.tar.xz) = 4ccfd14ae68222d5709e54c970da51d7f0b4cf58af045a96935dfcc34f1b1ff1 +SIZE (KDE/Qt/6.9.2/qtwebview-everywhere-src-6.9.2.tar.xz) = 125560 diff --git a/www/rearx/Makefile b/www/rearx/Makefile index fc71d35a2022..62153391188e 100644 --- a/www/rearx/Makefile +++ b/www/rearx/Makefile @@ -1,7 +1,7 @@ PORTNAME= rearx DISTVERSIONPREFIX= v DISTVERSION= 0.1.4 -PORTREVISION= 40 +PORTREVISION= 41 CATEGORIES= www MAINTAINER= yuri@FreeBSD.org diff --git a/www/reddsaver/Makefile b/www/reddsaver/Makefile index d483f4206ef5..745404e9d47d 100644 --- a/www/reddsaver/Makefile +++ b/www/reddsaver/Makefile @@ -1,7 +1,7 @@ PORTNAME= reddsaver DISTVERSIONPREFIX= v DISTVERSION= 0.4.0 -PORTREVISION= 23 +PORTREVISION= 24 CATEGORIES= www MAINTAINER= yuri@FreeBSD.org diff --git a/www/remark42/Makefile b/www/remark42/Makefile index 58480ef4f8a6..a803109bc7e3 100644 --- a/www/remark42/Makefile +++ b/www/remark42/Makefile @@ -1,7 +1,7 @@ PORTNAME= remark42 DISTVERSIONPREFIX= v DISTVERSION= 1.14.0 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= www MASTER_SITES= LOCAL/delphij:npmcache DISTFILES= ${PORTNAME}-npm-cache-${DISTVERSION}${EXTRACT_SUFX}:npmcache diff --git a/www/rt60/Makefile b/www/rt60/Makefile index e5829a5ef289..e0f7525d1a8d 100644 --- a/www/rt60/Makefile +++ b/www/rt60/Makefile @@ -1,8 +1,7 @@ PORTNAME= rt -DISTVERSION= 6.0.0 -PORTREVISION= 1 +DISTVERSION= 6.0.1 CATEGORIES= www -MASTER_SITES= http://download.bestpractical.com/pub/rt/release/ +MASTER_SITES= https://download.bestpractical.com/pub/rt/release/ PKGNAMESUFFIX= 60 MAINTAINER= einar@isnic.is diff --git a/www/rt60/distinfo b/www/rt60/distinfo index 876487b677e4..07d5a001cf2e 100644 --- a/www/rt60/distinfo +++ b/www/rt60/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1748688715 -SHA256 (rt-6.0.0.tar.gz) = 508f9a08f17b20ae8c96faf16da4a0b51e74a5332a69146ccfd3f4596eb5db2d -SIZE (rt-6.0.0.tar.gz) = 13965180 +TIMESTAMP = 1754419109 +SHA256 (rt-6.0.1.tar.gz) = 716650ddcb5fc5e87a6422bd341c70e56f28b276e9df0d2402ff1aa24b6dd260 +SIZE (rt-6.0.1.tar.gz) = 13904188 diff --git a/www/rt60/pkg-plist b/www/rt60/pkg-plist index 8c2577b7117a..6bc2ce40b8b4 100644 --- a/www/rt60/pkg-plist +++ b/www/rt60/pkg-plist @@ -808,6 +808,7 @@ sbin/standalone_httpd %%DOCSDIR%%/upgrade/5.9.7/schema.Oracle %%DOCSDIR%%/upgrade/5.9.7/schema.Pg %%DOCSDIR%%/upgrade/5.9.7/schema.mysql +%%DOCSDIR%%/upgrade/6.0.1/content %%DOCSDIR%%/upgrade/generate-rtaddressregexp %%DOCSDIR%%/upgrade/reset-sequences %%DOCSDIR%%/upgrade/sanity-check-stylesheets @@ -1633,6 +1634,7 @@ sbin/standalone_httpd %%DATADIR%%/html/Ticket/Widgets/Display/Times %%DATADIR%%/html/Ticket/Widgets/Update/Basics %%DATADIR%%/html/Ticket/Widgets/Update/CustomFieldCustomGroupings +%%DATADIR%%/html/Ticket/Widgets/Update/Dates %%DATADIR%%/html/Ticket/Widgets/Update/Description %%DATADIR%%/html/Ticket/Widgets/Update/Message %%DATADIR%%/html/Ticket/Widgets/Update/PreviewScrips @@ -1747,7 +1749,6 @@ sbin/standalone_httpd %%DATADIR%%/po/pl.po %%DATADIR%%/po/pt.po %%DATADIR%%/po/pt_BR.po -%%DATADIR%%/po/pt_PT.po %%DATADIR%%/po/rt.pot %%DATADIR%%/po/ru.po %%DATADIR%%/po/sk.po diff --git a/www/rubygem-hamlit/Makefile b/www/rubygem-hamlit/Makefile index 30fda4903ee9..7d6497d525fb 100644 --- a/www/rubygem-hamlit/Makefile +++ b/www/rubygem-hamlit/Makefile @@ -1,5 +1,5 @@ PORTNAME= hamlit -PORTVERSION= 2.15.2 +PORTVERSION= 3.0.3 CATEGORIES= www rubygems MASTER_SITES= RG diff --git a/www/rubygem-hamlit/distinfo b/www/rubygem-hamlit/distinfo index 3ee8401bcab1..521ed4d81fbe 100644 --- a/www/rubygem-hamlit/distinfo +++ b/www/rubygem-hamlit/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1651316837 -SHA256 (rubygem/hamlit-2.15.2.gem) = 894344b3a0f9795edea2c9045617bfcacf1fa9acb5237cf159de8d094ab0c82a -SIZE (rubygem/hamlit-2.15.2.gem) = 66560 +TIMESTAMP = 1755675057 +SHA256 (rubygem/hamlit-3.0.3.gem) = 5beafd7834a0f99fd3c041a7dfd3cfa3688159bddc905083c1866f2519f5ceea +SIZE (rubygem/hamlit-3.0.3.gem) = 66048 diff --git a/www/rubygem-kubeclient/Makefile b/www/rubygem-kubeclient/Makefile index 3e88e477f441..893abfee8471 100644 --- a/www/rubygem-kubeclient/Makefile +++ b/www/rubygem-kubeclient/Makefile @@ -1,6 +1,5 @@ PORTNAME= kubeclient -PORTVERSION= 4.11.0 -PORTREVISION= 2 +PORTVERSION= 4.12.0 CATEGORIES= www rubygems MASTER_SITES= RG diff --git a/www/rubygem-kubeclient/distinfo b/www/rubygem-kubeclient/distinfo index a18cc4603e88..9c9e0fbad22a 100644 --- a/www/rubygem-kubeclient/distinfo +++ b/www/rubygem-kubeclient/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1681107507 -SHA256 (rubygem/kubeclient-4.11.0.gem) = 4985fcd749fb8c364a668a8350a49821647f03aa52d9ee6cbc582beb8e883fcc -SIZE (rubygem/kubeclient-4.11.0.gem) = 36864 +TIMESTAMP = 1755676140 +SHA256 (rubygem/kubeclient-4.12.0.gem) = 8610b90f8c767303a633b0aafa53d9f61af03f5d9fca96fc0f21380843c309bd +SIZE (rubygem/kubeclient-4.12.0.gem) = 37376 diff --git a/www/rubygem-puma/Makefile b/www/rubygem-puma/Makefile index a3ccf8725f9c..23257073aa77 100644 --- a/www/rubygem-puma/Makefile +++ b/www/rubygem-puma/Makefile @@ -1,5 +1,5 @@ PORTNAME= puma -PORTVERSION= 6.6.0 +PORTVERSION= 6.6.1 CATEGORIES= www rubygems MASTER_SITES= RG diff --git a/www/rubygem-puma/distinfo b/www/rubygem-puma/distinfo index b935f8349d79..42714ba48d5a 100644 --- a/www/rubygem-puma/distinfo +++ b/www/rubygem-puma/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1738606707 -SHA256 (rubygem/puma-6.6.0.gem) = f25c06873eb3d5de5f0a4ebc783acc81a4ccfe580c760cfe323497798018ad87 -SIZE (rubygem/puma-6.6.0.gem) = 238080 +TIMESTAMP = 1755676001 +SHA256 (rubygem/puma-6.6.1.gem) = b9b56e4a4ea75d1bfa6d9e1972ee2c9f43d0883f011826d914e8e37b3694ea1e +SIZE (rubygem/puma-6.6.1.gem) = 239104 diff --git a/www/rustypaste-cli/Makefile b/www/rustypaste-cli/Makefile index 046da52aa0de..33b274c61a25 100644 --- a/www/rustypaste-cli/Makefile +++ b/www/rustypaste-cli/Makefile @@ -1,7 +1,7 @@ PORTNAME= rustypaste-cli DISTVERSIONPREFIX= v DISTVERSION= 0.9.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MAINTAINER= dtxdf@FreeBSD.org diff --git a/www/rustypaste/Makefile b/www/rustypaste/Makefile index 85660877a5ea..5522714fb504 100644 --- a/www/rustypaste/Makefile +++ b/www/rustypaste/Makefile @@ -1,7 +1,7 @@ PORTNAME= rustypaste DISTVERSIONPREFIX= v DISTVERSION= 0.16.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MAINTAINER= dtxdf@FreeBSD.org diff --git a/www/s/Makefile b/www/s/Makefile index 2a75e4599a87..e80c927d4f14 100644 --- a/www/s/Makefile +++ b/www/s/Makefile @@ -1,7 +1,7 @@ PORTNAME= s DISTVERSIONPREFIX= v DISTVERSION= 0.7.1 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= www MAINTAINER= yuri@FreeBSD.org diff --git a/www/seahub/Makefile b/www/seahub/Makefile index 901956f77fa7..441c5bab61de 100644 --- a/www/seahub/Makefile +++ b/www/seahub/Makefile @@ -2,6 +2,7 @@ PORTNAME= seahub DISTVERSIONPREFIX= v DISTVERSION= ${SEAHUB_VER} DISTVERSIONSUFFIX= -server +PORTREVISION= 1 CATEGORIES= www MAINTAINER= ultima@FreeBSD.org diff --git a/www/so/Makefile b/www/so/Makefile index 214f2f741674..fa1d70febd15 100644 --- a/www/so/Makefile +++ b/www/so/Makefile @@ -1,7 +1,7 @@ PORTNAME= so DISTVERSIONPREFIX= v DISTVERSION= 0.4.6 -PORTREVISION= 29 +PORTREVISION= 30 CATEGORIES= www MAINTAINER= sec.research.2005@gmail.com diff --git a/www/sqlpage/Makefile b/www/sqlpage/Makefile index df3ebf408cdb..02c50fdab87f 100644 --- a/www/sqlpage/Makefile +++ b/www/sqlpage/Makefile @@ -1,6 +1,7 @@ PORTNAME= sqlpage DISTVERSIONPREFIX= v DISTVERSION= 0.36.1 +PORTREVISION= 1 CATEGORIES= www databases MASTER_SITES= https://cdn.jsdelivr.net/npm/:npm DISTFILES= ${NPM_DISTFILES} diff --git a/www/stork/Makefile b/www/stork/Makefile index 5b52336b2d56..0a90175afddf 100644 --- a/www/stork/Makefile +++ b/www/stork/Makefile @@ -1,7 +1,7 @@ PORTNAME= stork DISTVERSIONPREFIX= v DISTVERSION= 1.6.0 -PORTREVISION= 21 +PORTREVISION= 22 CATEGORIES= www MAINTAINER= yuri@FreeBSD.org diff --git a/www/surf/Makefile b/www/surf/Makefile index f5f193a9e39c..44f90a5751b5 100644 --- a/www/surf/Makefile +++ b/www/surf/Makefile @@ -1,6 +1,6 @@ PORTNAME= surf DISTVERSION= 2.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= www MASTER_SITES= http://dl.suckless.org/${PORTNAME}/ PKGNAMESUFFIX= -browser diff --git a/www/tailwindcss4/Makefile b/www/tailwindcss4/Makefile index 8cf337126107..de8c18482c60 100644 --- a/www/tailwindcss4/Makefile +++ b/www/tailwindcss4/Makefile @@ -1,5 +1,5 @@ PORTNAME= tailwindcss4 -DISTVERSION= 4.1.10 +DISTVERSION= 4.1.11 CATEGORIES= www devel MASTER_SITES= LOCAL/dch/${PORTNAME}/:npm DISTFILES= ${PORTNAME}-npm-cache-${DISTVERSION}${EXTRACT_SUFX}:npm @@ -17,7 +17,7 @@ USES= nodejs:24,build,run python:build tar:txz CONFLICTS_INSTALL= tailwindcss* -_DAISYUI_VER= 5.0.43 +_DAISYUI_VER= 5.0.46 _FORMS_VER= 0.5.10 _POSTCSS_VER= 8.5.5 _TWCLI_VER= ${DISTVERSION} @@ -32,9 +32,12 @@ do-extract: ${TAR} -xf ${DISTDIR}/${_NPM_ARCHIVE} -C ${_NPM_CACHE} do-build: + ${MKDIR} -p ${WRKDIR} # because nodejs is fiddly we can't build & then install .if !defined(MAINTAINER_MODE) ${ECHO_CMD} offline=true > ${WRKDIR}/.npmrc +.else + ${ECHO_CMD} > ${WRKDIR}/.npmrc .endif do-install: @@ -68,6 +71,7 @@ do-install: ${RM} -rf ${STAGEDIR}${PREFIX}/lib/node_modules/@parcel/watcher/build/${file} .endfor +# first, run `make -DMAINTAINER_MODE do-build`, then `make _tarball` _tarball: do-install ${TAR} -caf ${DISTDIR}/${_NPM_ARCHIVE} -C ${_NPM_CACHE} _cacache ${CHMOD} 644 ${DISTDIR}/${_NPM_ARCHIVE} diff --git a/www/tailwindcss4/distinfo b/www/tailwindcss4/distinfo index 63a862a15d08..475a21e4040e 100644 --- a/www/tailwindcss4/distinfo +++ b/www/tailwindcss4/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1750709626 -SHA256 (tailwindcss4-npm-cache-4.1.10.txz) = 55e43ed950e7207fba51c0e8bc6d65f6668b52f636c64b5cad11ae9b7b63ab42 -SIZE (tailwindcss4-npm-cache-4.1.10.txz) = 15398368 +TIMESTAMP = 1753116914 +SHA256 (tailwindcss4-npm-cache-4.1.11.txz) = 591863c616aafa61751b91bb6d8221a5cb227c0188731f8a714c0a6298b8af84 +SIZE (tailwindcss4-npm-cache-4.1.11.txz) = 15533636 diff --git a/www/tailwindcss4/pkg-plist b/www/tailwindcss4/pkg-plist index d0b9a04ded1f..1dafb8ad8498 100644 --- a/www/tailwindcss4/pkg-plist +++ b/www/tailwindcss4/pkg-plist @@ -158,10 +158,27 @@ lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/gen-mapping/dist/gen- lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs.map lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js.map -lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts -lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts -lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/gen-mapping/dist/types/types.d.ts lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/gen-mapping/package.json +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/gen-mapping/src/gen-mapping.ts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/gen-mapping/src/set-array.ts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/gen-mapping/src/sourcemap-segment.ts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/gen-mapping/src/types.ts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/gen-mapping/types/gen-mapping.d.cts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/gen-mapping/types/gen-mapping.d.cts.map +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/gen-mapping/types/gen-mapping.d.mts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/gen-mapping/types/gen-mapping.d.mts.map +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/gen-mapping/types/set-array.d.cts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/gen-mapping/types/set-array.d.cts.map +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/gen-mapping/types/set-array.d.mts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/gen-mapping/types/set-array.d.mts.map +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/gen-mapping/types/sourcemap-segment.d.cts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/gen-mapping/types/sourcemap-segment.d.cts.map +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/gen-mapping/types/sourcemap-segment.d.mts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/gen-mapping/types/sourcemap-segment.d.mts.map +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/gen-mapping/types/types.d.cts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/gen-mapping/types/types.d.cts.map +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/gen-mapping/types/types.d.mts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/gen-mapping/types/types.d.mts.map lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/resolve-uri/LICENSE lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/resolve-uri/README.md lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.mjs @@ -170,41 +187,85 @@ lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/resolve-uri/dist/reso lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js.map lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/resolve-uri/dist/types/resolve-uri.d.ts lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/resolve-uri/package.json -lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/set-array/LICENSE -lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/set-array/README.md -lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/set-array/dist/set-array.mjs -lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/set-array/dist/set-array.mjs.map -lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/set-array/dist/set-array.umd.js -lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/set-array/dist/set-array.umd.js.map -lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/set-array/dist/types/set-array.d.ts -lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/set-array/package.json lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/sourcemap-codec/LICENSE lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/sourcemap-codec/README.md lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map -lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/sourcemap-codec/dist/types/scopes.d.ts -lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/sourcemap-codec/dist/types/sourcemap-codec.d.ts -lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/sourcemap-codec/dist/types/strings.d.ts -lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/sourcemap-codec/dist/types/vlq.d.ts lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/sourcemap-codec/package.json +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/sourcemap-codec/src/scopes.ts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/sourcemap-codec/src/sourcemap-codec.ts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/sourcemap-codec/src/strings.ts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/sourcemap-codec/src/vlq.ts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.cts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.cts.map +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.mts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.mts.map +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.cts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.cts.map +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts.map +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/sourcemap-codec/types/strings.d.cts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/sourcemap-codec/types/strings.d.cts.map +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/sourcemap-codec/types/strings.d.mts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/sourcemap-codec/types/strings.d.mts.map +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.cts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.cts.map +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts.map lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/LICENSE lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/README.md lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.map lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.map -lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/dist/types/any-map.d.ts -lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/dist/types/binary-search.d.ts -lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/dist/types/by-source.d.ts -lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/dist/types/resolve.d.ts -lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/dist/types/sort.d.ts -lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/dist/types/sourcemap-segment.d.ts -lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/dist/types/strip-filename.d.ts -lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/dist/types/trace-mapping.d.ts -lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/dist/types/types.d.ts lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/package.json +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/src/binary-search.ts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/src/by-source.ts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/src/flatten-map.ts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/src/resolve.ts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/src/sort.ts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/src/sourcemap-segment.ts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/src/strip-filename.ts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/src/trace-mapping.ts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/src/types.ts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/binary-search.d.cts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/binary-search.d.cts.map +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/binary-search.d.mts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/binary-search.d.mts.map +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/by-source.d.cts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/by-source.d.cts.map +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/by-source.d.mts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/by-source.d.mts.map +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/flatten-map.d.cts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/flatten-map.d.cts.map +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/flatten-map.d.mts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/flatten-map.d.mts.map +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/resolve.d.cts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/resolve.d.cts.map +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/resolve.d.mts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/resolve.d.mts.map +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/sort.d.cts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/sort.d.cts.map +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/sort.d.mts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/sort.d.mts.map +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/sourcemap-segment.d.cts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/sourcemap-segment.d.cts.map +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/sourcemap-segment.d.mts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/sourcemap-segment.d.mts.map +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/strip-filename.d.cts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/strip-filename.d.cts.map +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/strip-filename.d.mts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/strip-filename.d.mts.map +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/trace-mapping.d.cts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/trace-mapping.d.cts.map +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/trace-mapping.d.mts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/trace-mapping.d.mts.map +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/types.d.cts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/types.d.cts.map +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/types.d.mts +lib/node_modules/@tailwindcss/cli/node_modules/@jridgewell/trace-mapping/types/types.d.mts.map lib/node_modules/@tailwindcss/cli/node_modules/@tailwindcss/node/LICENSE lib/node_modules/@tailwindcss/cli/node_modules/@tailwindcss/node/README.md lib/node_modules/@tailwindcss/cli/node_modules/@tailwindcss/node/dist/esm-cache.loader.d.mts @@ -2194,7 +2255,7 @@ lib/node_modules/postcss/node_modules/source-map-js/source-map.js lib/node_modules/postcss/package.json lib/node_modules/tailwindcss/LICENSE lib/node_modules/tailwindcss/README.md -lib/node_modules/tailwindcss/dist/chunk-E562WLSY.mjs +lib/node_modules/tailwindcss/dist/chunk-4WXWQT6Y.mjs lib/node_modules/tailwindcss/dist/chunk-G32FJCSR.mjs lib/node_modules/tailwindcss/dist/chunk-HTB5LLOP.mjs lib/node_modules/tailwindcss/dist/colors-b_6i0Oi7.d.ts diff --git a/www/tdom/Makefile b/www/tdom/Makefile index 876af17248ff..01ebe84c51c1 100644 --- a/www/tdom/Makefile +++ b/www/tdom/Makefile @@ -1,6 +1,5 @@ PORTNAME= tDOM -DISTVERSION= 0.9.5 -PORTREVISION= 1 +DISTVERSION= 0.9.6 CATEGORIES= www MASTER_SITES= http://tdom.org/downloads/ DISTNAME= ${PORTNAME:tl}-${DISTVERSION}-src diff --git a/www/tdom/distinfo b/www/tdom/distinfo index 11e2cad75820..a60e0e3ec664 100644 --- a/www/tdom/distinfo +++ b/www/tdom/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1729089057 -SHA256 (tdom-0.9.5-src.tar.gz) = ce22e3f42da9f89718688bf413b82fbf079b40252ba4dd7f2a0e752232bb67e8 -SIZE (tdom-0.9.5-src.tar.gz) = 1512934 +TIMESTAMP = 1756798827 +SHA256 (tdom-0.9.6-src.tar.gz) = 6d24734aef46d1dc16f3476685414794d6a4e65f48079e1029374477104e8319 +SIZE (tdom-0.9.6-src.tar.gz) = 1530711 diff --git a/www/tdom/pkg-descr b/www/tdom/pkg-descr index 997aafe36a81..b0186834b385 100644 --- a/www/tdom/pkg-descr +++ b/www/tdom/pkg-descr @@ -5,4 +5,4 @@ tDOM should be one of the fastest ways to manipulate XML with a scripting language and uses very few memory (for example the DOM tree of the XML recommendation in XML (160K) needs only about 450K in memory)! -Configured for OpenACS (http://openacs.org) +Configured for OpenACS (openacs.org) diff --git a/www/tdom/pkg-plist b/www/tdom/pkg-plist index be41a865f330..c981d9b35631 100644 --- a/www/tdom/pkg-plist +++ b/www/tdom/pkg-plist @@ -13,6 +13,7 @@ share/man/mann/pullparser.n.gz share/man/mann/schema.n.gz share/man/mann/tdomcmd.n.gz share/man/mann/tnc.n.gz +share/man/mann/xpathFunc.n.gz %%PORTDOCS%%%%DOCSDIR%%/html/category-index.html %%PORTDOCS%%%%DOCSDIR%%/html/dom.html %%PORTDOCS%%%%DOCSDIR%%/html/domDoc.html @@ -25,5 +26,6 @@ share/man/mann/tnc.n.gz %%PORTDOCS%%%%DOCSDIR%%/html/schema.html %%PORTDOCS%%%%DOCSDIR%%/html/tdomcmd.html %%PORTDOCS%%%%DOCSDIR%%/html/tnc.html +%%PORTDOCS%%%%DOCSDIR%%/html/xpathFunc.html %%PORTDOCS%%%%DOCSDIR%%/CHANGES %%PORTDOCS%%%%DOCSDIR%%/README.md diff --git a/www/tgpt/Makefile b/www/tgpt/Makefile index 75320e10bccb..6e9c16d90fc2 100644 --- a/www/tgpt/Makefile +++ b/www/tgpt/Makefile @@ -1,6 +1,7 @@ PORTNAME= tgpt DISTVERSIONPREFIX= v DISTVERSION= 2.11.0 +PORTREVISION= 1 CATEGORIES= www MAINTAINER= nxjoseph@protonmail.com diff --git a/www/tor-browser/Makefile b/www/tor-browser/Makefile index f99e3cb04891..3a8fc4e7a8c2 100644 --- a/www/tor-browser/Makefile +++ b/www/tor-browser/Makefile @@ -1,8 +1,8 @@ PORTNAME= tor-browser -DISTVERSION= 15.0a1 +DISTVERSION= 15.0a2 CATEGORIES= www net security wayland -TAG_BASE= 96a559c7c1f7b9231db2b5cece7ecae980ae835d -TAG_TOR= 3becb908fbf68aa77accc1f2e03e2c29f4fe40e2 +TAG_BASE= 948fad2286cb59fe168a949009b67d986fd9c153 +TAG_TOR= ec17987af29cb2614d114789996a3b4a09cbc3e7 MASTER_SITES= TOR \ LOCAL/vvd \ https://build-sources.tbb.torproject.org/:source1 \ @@ -17,9 +17,9 @@ MASTER_SITES= TOR \ LOCAL/vvd:source5 MASTER_SITE_SUBDIR= torbrowser/${DISTVERSION}/:DEFAULT \ download/releases/:source3 -DISTNAME= src-firefox-tor-browser-140.1.0esr-15.0-1-build3 +DISTNAME= src-firefox-tor-browser-140.2.0esr-15.0-1-build3 MANUAL= manual_215922.zip -NOSCRIPT= noscript-13.0.8.xpi +NOSCRIPT= noscript-13.0.9.xpi DISTFILES= ${DISTNAME}.tar.xz \ ${MANUAL}:source1 \ fonts-3--4348e1.tar.zst:source2 \ @@ -56,7 +56,7 @@ USES= compiler:c++11-lib libtool localbase:ldflags perl5 pkgconfig \ python shebangfix tar:xz USE_GECKO= gecko USE_GITHUB= nodefault -TAG_L10N= fcd0300e8478d1ec4d1c097a073ddb8e1e0351e3 +TAG_L10N= 468bb10 GH_TUPLE= mozilla-l10n:firefox-l10n:${TAG_L10N}:ffl10n USE_MOZILLA= -sqlite diff --git a/www/tor-browser/distinfo b/www/tor-browser/distinfo index a23a19b33259..83d48d660499 100644 --- a/www/tor-browser/distinfo +++ b/www/tor-browser/distinfo @@ -1,15 +1,15 @@ -TIMESTAMP = 1753901678 -SHA256 (src-firefox-tor-browser-140.1.0esr-15.0-1-build3.tar.xz) = cb3621465038e833c69e783f6725b1cd5e81ec8b15dcfcf2ad8607bf67a6c259 -SIZE (src-firefox-tor-browser-140.1.0esr-15.0-1-build3.tar.xz) = 691078808 +TIMESTAMP = 1756751668 +SHA256 (src-firefox-tor-browser-140.2.0esr-15.0-1-build3.tar.xz) = 7bfe41e4a0f384069b876e3556ff04f83c93a14cf715df10704987fdbe7a1083 +SIZE (src-firefox-tor-browser-140.2.0esr-15.0-1-build3.tar.xz) = 691093416 SHA256 (manual_215922.zip) = b5ed703f54d52e9f197320f3698e936d585a3fed23cc4f9fbf59edce2869f885 SIZE (manual_215922.zip) = 28305786 SHA256 (fonts-3--4348e1.tar.zst) = 7fbbecece6de777f196982f6eb567970a6d8e7ac2bf5b1ad6b90e1ea36374032 SIZE (fonts-3--4348e1.tar.zst) = 27441580 -SHA256 (noscript-13.0.8.xpi) = 9d978cfe083cb9cce120b5ee41e8933d752d7ab4680bf517c5ec4b29c4cfd2dc -SIZE (noscript-13.0.8.xpi) = 993143 -SHA256 (tpo-translation-96a559c7c1f7b9231db2b5cece7ecae980ae835d_GL0.tar.gz) = c58379e5f2db0275e470bfaaa07ddb4b4fcf5567e8e7a345a6c8ca04eba5d509 -SIZE (tpo-translation-96a559c7c1f7b9231db2b5cece7ecae980ae835d_GL0.tar.gz) = 912336 -SHA256 (tpo-translation-3becb908fbf68aa77accc1f2e03e2c29f4fe40e2_GL0.tar.gz) = 9424f0fd015cbecf21525b55ef1a9ae35564c235ea3fcf333f339632e2daa7ca -SIZE (tpo-translation-3becb908fbf68aa77accc1f2e03e2c29f4fe40e2_GL0.tar.gz) = 2837662 -SHA256 (mozilla-l10n-firefox-l10n-fcd0300e8478d1ec4d1c097a073ddb8e1e0351e3_GH0.tar.gz) = d07ecc7fe021998b523357849f71d52c9cb5248cb79bba29793e1ba353bae5bb -SIZE (mozilla-l10n-firefox-l10n-fcd0300e8478d1ec4d1c097a073ddb8e1e0351e3_GH0.tar.gz) = 68409826 +SHA256 (noscript-13.0.9.xpi) = 525ab61aff21f67d10c3e20965a86ed479631549908a658f54692adc47d771f5 +SIZE (noscript-13.0.9.xpi) = 994397 +SHA256 (tpo-translation-948fad2286cb59fe168a949009b67d986fd9c153_GL0.tar.gz) = d6ec26c3d942b147d661c43eb3055857e0f65b32a94f80ebf970a665ad7e5b8a +SIZE (tpo-translation-948fad2286cb59fe168a949009b67d986fd9c153_GL0.tar.gz) = 961619 +SHA256 (tpo-translation-ec17987af29cb2614d114789996a3b4a09cbc3e7_GL0.tar.gz) = 98322858c27f9da141bec04a577ab60c4e1f6ca65ce6390a153e01017df720cf +SIZE (tpo-translation-ec17987af29cb2614d114789996a3b4a09cbc3e7_GL0.tar.gz) = 2850321 +SHA256 (mozilla-l10n-firefox-l10n-468bb10_GH0.tar.gz) = f4fa857e29371568c41c9c8a3298c086ffc4df73085a93ec6a1cc6be8a17a3e3 +SIZE (mozilla-l10n-firefox-l10n-468bb10_GH0.tar.gz) = 71046393 diff --git a/www/tor-browser/files/patch-bug1876366 b/www/tor-browser/files/patch-bug1876366 deleted file mode 100644 index 78483c3fbab7..000000000000 --- a/www/tor-browser/files/patch-bug1876366 +++ /dev/null @@ -1,23 +0,0 @@ -commit 46a89fb0319d673b3139a068e3d89aed9f44fc16 -Author: Christoph Moench-Tegeder <cmt@burggraben.net> - - use gdk legacy cursor interface by default - - Upstream https://bugzilla.mozilla.org/show_bug.cgi?id=1876366#c16 - hints that we could re-test this once we have GTK 3.24.42 (with the - now-current gtk3-3.24.41 the original problem is still reproducable, - but toggling this flag does fix it for me) - -diff --git modules/libpref/init/StaticPrefList.yaml modules/libpref/init/StaticPrefList.yaml -index 835450712a12..f2249006c36d 100644 ---- modules/libpref/init/StaticPrefList.yaml -+++ modules/libpref/init/StaticPrefList.yaml -@@ -16070,7 +16070,7 @@ - # Whether to use gtk legacy cursor API. - - name: widget.gtk.legacy-cursors.enabled - type: bool -- value: false -+ value: true - mirror: always - - # Whether to use gtk high contrast themes to disable content styling like on diff --git a/www/trac-accountmanager/Makefile b/www/trac-accountmanager/Makefile index f896c00a2c91..098bb8e7ca76 100644 --- a/www/trac-accountmanager/Makefile +++ b/www/trac-accountmanager/Makefile @@ -1,6 +1,6 @@ PORTNAME= accountmanager PORTVERSION= 0.6.${REV} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www devel python MASTER_SITES= https://trac-hacks.org/browser/accountmanagerplugin/ PKGNAMEPREFIX= trac- diff --git a/www/trac-markdownmacro/Makefile b/www/trac-markdownmacro/Makefile index ca7ad7b4431c..4378ff05fead 100644 --- a/www/trac-markdownmacro/Makefile +++ b/www/trac-markdownmacro/Makefile @@ -1,6 +1,6 @@ PORTNAME= markdownmacro PORTVERSION= 0.11.10r${REV} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www devel python MASTER_SITES= https://trac-hacks.org/browser/markdownmacro/ PKGNAMEPREFIX= trac- diff --git a/www/trac-spamfilter/Makefile b/www/trac-spamfilter/Makefile index 6ad566ec58bc..b61d40c0b16b 100644 --- a/www/trac-spamfilter/Makefile +++ b/www/trac-spamfilter/Makefile @@ -1,6 +1,6 @@ PORTNAME= spamfilter PORTVERSION= 1.5.1r${REV} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www devel python MASTER_SITES= https://trac.edgewall.org/browser/plugins/trunk/ PKGNAMEPREFIX= trac- diff --git a/www/trac-tocmacro/Makefile b/www/trac-tocmacro/Makefile index 67a53ba22463..8a050499a5cc 100644 --- a/www/trac-tocmacro/Makefile +++ b/www/trac-tocmacro/Makefile @@ -1,6 +1,6 @@ PORTNAME= tocmacro PORTVERSION= 12.0.0r${REV} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www devel python MASTER_SITES= https://trac-hacks.org/browser/tocmacro/ PKGNAMEPREFIX= trac- diff --git a/www/trac/Makefile b/www/trac/Makefile index efff520c8540..926932f3a528 100644 --- a/www/trac/Makefile +++ b/www/trac/Makefile @@ -1,6 +1,6 @@ PORTNAME= trac DISTVERSION= 1.6 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= www devel python MASTER_SITES= http://ftp.edgewall.com/pub/trac/ \ ftp://ftp.edgewall.com/pub/trac/ diff --git a/www/trunk/Makefile b/www/trunk/Makefile index b3cb5f230018..2fca2149a147 100644 --- a/www/trunk/Makefile +++ b/www/trunk/Makefile @@ -1,7 +1,7 @@ PORTNAME= trunk DISTVERSIONPREFIX= v DISTVERSION= 0.21.14 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www devel MAINTAINER= yuri@FreeBSD.org diff --git a/www/tuifeed/Makefile b/www/tuifeed/Makefile index a8f574bdfe50..bed7f1c8fa3b 100644 --- a/www/tuifeed/Makefile +++ b/www/tuifeed/Makefile @@ -1,7 +1,7 @@ PORTNAME= tuifeed DISTVERSIONPREFIX= v DISTVERSION= 0.4.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= www MAINTAINER= driesm@FreeBSD.org diff --git a/www/tusc/Makefile b/www/tusc/Makefile index a8f33a4ccc6a..8a016f623c97 100644 --- a/www/tusc/Makefile +++ b/www/tusc/Makefile @@ -1,6 +1,6 @@ PORTNAME= tusc DISTVERSION= 0.4.7 -PORTREVISION= 28 +PORTREVISION= 29 CATEGORIES= www MAINTAINER= osa@FreeBSD.org diff --git a/www/tusd/Makefile b/www/tusd/Makefile index 1b57c49fb9eb..47ed7c9dbc26 100644 --- a/www/tusd/Makefile +++ b/www/tusd/Makefile @@ -1,7 +1,7 @@ PORTNAME= tusd DISTVERSIONPREFIX= v DISTVERSION= 2.0.0 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= www MAINTAINER= mm@FreeBSD.org diff --git a/www/twms/Makefile b/www/twms/Makefile index 3fa9ba50e454..dd1a335fb794 100644 --- a/www/twms/Makefile +++ b/www/twms/Makefile @@ -1,6 +1,6 @@ PORTNAME= twms PORTVERSION= 0.06y -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www astro MAINTAINER= ports@FreeBSD.org diff --git a/www/uchiwa/Makefile b/www/uchiwa/Makefile index 3a260fa56aa1..a794b98cfcfb 100644 --- a/www/uchiwa/Makefile +++ b/www/uchiwa/Makefile @@ -1,6 +1,6 @@ PORTNAME= uchiwa PORTVERSION= 0.18.2 -PORTREVISION= 29 +PORTREVISION= 30 CATEGORIES= www MASTER_SITES= http://uchiwa.io/ diff --git a/www/ungoogled-chromium/Makefile b/www/ungoogled-chromium/Makefile index 4eee72e83634..c0d58a5566d7 100644 --- a/www/ungoogled-chromium/Makefile +++ b/www/ungoogled-chromium/Makefile @@ -1,6 +1,6 @@ PORTNAME= ungoogled-chromium PORTVERSION= 137.0.7151.103 -PORTREVISION= 3 +PORTREVISION= 5 PULSEMV= 16 PULSEV= ${PULSEMV}.1 UGVERSION= ${DISTVERSION}-1 diff --git a/www/ungoogled-chromium/files/patch-build_rust_allocator_lib.rs b/www/ungoogled-chromium/files/patch-build_rust_allocator_lib.rs new file mode 100644 index 000000000000..508b657a5761 --- /dev/null +++ b/www/ungoogled-chromium/files/patch-build_rust_allocator_lib.rs @@ -0,0 +1,17 @@ +https://chromium.googlesource.com/chromium/src/+/8393b61ba876c8e1614275c97767f9b06b889f48 +https://chromium.googlesource.com/chromium/src/+/6aae0e2353c857d98980ff677bf304288d7c58de + +--- build/rust/allocator/lib.rs.orig 2025-06-18 14:17:42.000000000 +0200 ++++ build/rust/allocator/lib.rs 2025-08-24 10:57:12.002293000 +0200 +@@ -89,9 +89,8 @@ mod both_allocators { + /// As part of rustc's contract for using `#[global_allocator]` without + /// rustc-generated shims we must define this symbol, since we are opting in + /// to unstable functionality. See https://github.com/rust-lang/rust/issues/123015 +- #[no_mangle] +- #[linkage = "weak"] +- static __rust_no_alloc_shim_is_unstable: u8 = 0; ++ #[rustc_std_internal_symbol] ++ fn __rust_no_alloc_shim_is_unstable_v2() {} + + // Mangle the symbol name as rustc expects. + #[rustc_std_internal_symbol] diff --git a/www/ungoogled-chromium/files/patch-net_dns_BUILD.gn b/www/ungoogled-chromium/files/patch-net_dns_BUILD.gn index 6646c9edc97b..e1fd322aea84 100644 --- a/www/ungoogled-chromium/files/patch-net_dns_BUILD.gn +++ b/www/ungoogled-chromium/files/patch-net_dns_BUILD.gn @@ -1,6 +1,6 @@ ---- net/dns/BUILD.gn.orig 2025-02-20 09:59:21 UTC +--- net/dns/BUILD.gn.orig 2025-03-29 00:50:57 UTC +++ net/dns/BUILD.gn -@@ -140,7 +140,7 @@ source_set("dns") { +@@ -138,7 +138,7 @@ source_set("dns") { "dns_config_service_android.cc", "dns_config_service_android.h", ] @@ -9,7 +9,17 @@ sources += [ "dns_config_service_linux.cc", "dns_config_service_linux.h", -@@ -181,6 +181,7 @@ source_set("dns") { +@@ -172,6 +172,9 @@ source_set("dns") { + } + + deps = [ "//net:net_deps" ] ++ if (is_bsd) { ++ deps += [ "//services/screen_ai/buildflags" ] ++ } + + public_deps = [ + ":dns_client", +@@ -179,6 +182,7 @@ source_set("dns") { ":host_resolver_manager", ":mdns_client", "//net:net_public_deps", @@ -17,7 +27,7 @@ ] allow_circular_includes_from = [ -@@ -450,9 +451,9 @@ source_set("tests") { +@@ -447,9 +451,9 @@ source_set("tests") { if (is_android) { sources += [ "dns_config_service_android_unittest.cc" ] diff --git a/www/ungoogled-chromium/pkg-plist b/www/ungoogled-chromium/pkg-plist index f776fe8af2e6..0b62fc2db62d 100644 --- a/www/ungoogled-chromium/pkg-plist +++ b/www/ungoogled-chromium/pkg-plist @@ -8,22 +8,32 @@ bin/ungoogled-chromium %%DATADIR%%/libGLESv2.so %%DATADIR%%/libVkICD_mock_icd.so %%DATADIR%%/libvulkan.so +%%DATADIR%%/locales/af.pak +%%DATADIR%%/locales/af.pak.info %%DATADIR%%/locales/am.pak %%DATADIR%%/locales/am.pak.info %%DATADIR%%/locales/ar.pak %%DATADIR%%/locales/ar.pak.info %%DEBUG%%%%DATADIR%%/locales/ar-XB.pak %%DEBUG%%%%DATADIR%%/locales/ar-XB.pak.info -%%DATADIR%%/locales/af.pak -%%DATADIR%%/locales/af.pak.info +%%DATADIR%%/locales/as.pak +%%DATADIR%%/locales/as.pak.info +%%DATADIR%%/locales/az.pak +%%DATADIR%%/locales/az.pak.info +%%DATADIR%%/locales/be.pak +%%DATADIR%%/locales/be.pak.info %%DATADIR%%/locales/bg.pak %%DATADIR%%/locales/bg.pak.info %%DATADIR%%/locales/bn.pak %%DATADIR%%/locales/bn.pak.info +%%DATADIR%%/locales/bs.pak +%%DATADIR%%/locales/bs.pak.info %%DATADIR%%/locales/ca.pak %%DATADIR%%/locales/ca.pak.info %%DATADIR%%/locales/cs.pak %%DATADIR%%/locales/cs.pak.info +%%DATADIR%%/locales/cy.pak +%%DATADIR%%/locales/cy.pak.info %%DATADIR%%/locales/da.pak %%DATADIR%%/locales/da.pak.info %%DATADIR%%/locales/de.pak @@ -42,14 +52,20 @@ bin/ungoogled-chromium %%DATADIR%%/locales/es.pak.info %%DATADIR%%/locales/et.pak %%DATADIR%%/locales/et.pak.info +%%DATADIR%%/locales/eu.pak +%%DATADIR%%/locales/eu.pak.info %%DATADIR%%/locales/fa.pak %%DATADIR%%/locales/fa.pak.info %%DATADIR%%/locales/fi.pak %%DATADIR%%/locales/fi.pak.info %%DATADIR%%/locales/fil.pak %%DATADIR%%/locales/fil.pak.info +%%DATADIR%%/locales/fr-CA.pak +%%DATADIR%%/locales/fr-CA.pak.info %%DATADIR%%/locales/fr.pak %%DATADIR%%/locales/fr.pak.info +%%DATADIR%%/locales/gl.pak +%%DATADIR%%/locales/gl.pak.info %%DATADIR%%/locales/gu.pak %%DATADIR%%/locales/gu.pak.info %%DATADIR%%/locales/he.pak @@ -60,30 +76,56 @@ bin/ungoogled-chromium %%DATADIR%%/locales/hr.pak.info %%DATADIR%%/locales/hu.pak %%DATADIR%%/locales/hu.pak.info +%%DATADIR%%/locales/hy.pak +%%DATADIR%%/locales/hy.pak.info %%DATADIR%%/locales/id.pak %%DATADIR%%/locales/id.pak.info +%%DATADIR%%/locales/is.pak +%%DATADIR%%/locales/is.pak.info %%DATADIR%%/locales/it.pak %%DATADIR%%/locales/it.pak.info %%DATADIR%%/locales/ja.pak %%DATADIR%%/locales/ja.pak.info +%%DATADIR%%/locales/ka.pak +%%DATADIR%%/locales/ka.pak.info +%%DATADIR%%/locales/kk.pak +%%DATADIR%%/locales/kk.pak.info +%%DATADIR%%/locales/km.pak +%%DATADIR%%/locales/km.pak.info %%DATADIR%%/locales/kn.pak %%DATADIR%%/locales/kn.pak.info %%DATADIR%%/locales/ko.pak %%DATADIR%%/locales/ko.pak.info +%%DATADIR%%/locales/ky.pak +%%DATADIR%%/locales/ky.pak.info +%%DATADIR%%/locales/lo.pak +%%DATADIR%%/locales/lo.pak.info %%DATADIR%%/locales/lt.pak %%DATADIR%%/locales/lt.pak.info %%DATADIR%%/locales/lv.pak %%DATADIR%%/locales/lv.pak.info +%%DATADIR%%/locales/mk.pak +%%DATADIR%%/locales/mk.pak.info %%DATADIR%%/locales/ml.pak %%DATADIR%%/locales/ml.pak.info +%%DATADIR%%/locales/mn.pak +%%DATADIR%%/locales/mn.pak.info %%DATADIR%%/locales/mr.pak %%DATADIR%%/locales/mr.pak.info %%DATADIR%%/locales/ms.pak %%DATADIR%%/locales/ms.pak.info +%%DATADIR%%/locales/my.pak +%%DATADIR%%/locales/my.pak.info %%DATADIR%%/locales/nb.pak %%DATADIR%%/locales/nb.pak.info +%%DATADIR%%/locales/ne.pak +%%DATADIR%%/locales/ne.pak.info %%DATADIR%%/locales/nl.pak %%DATADIR%%/locales/nl.pak.info +%%DATADIR%%/locales/or.pak +%%DATADIR%%/locales/or.pak.info +%%DATADIR%%/locales/pa.pak +%%DATADIR%%/locales/pa.pak.info %%DATADIR%%/locales/pl.pak %%DATADIR%%/locales/pl.pak.info %%DATADIR%%/locales/pt-BR.pak @@ -94,10 +136,16 @@ bin/ungoogled-chromium %%DATADIR%%/locales/ro.pak.info %%DATADIR%%/locales/ru.pak %%DATADIR%%/locales/ru.pak.info +%%DATADIR%%/locales/si.pak +%%DATADIR%%/locales/si.pak.info %%DATADIR%%/locales/sk.pak %%DATADIR%%/locales/sk.pak.info %%DATADIR%%/locales/sl.pak %%DATADIR%%/locales/sl.pak.info +%%DATADIR%%/locales/sq.pak +%%DATADIR%%/locales/sq.pak.info +%%DATADIR%%/locales/sr-Latn.pak +%%DATADIR%%/locales/sr-Latn.pak.info %%DATADIR%%/locales/sr.pak %%DATADIR%%/locales/sr.pak.info %%DATADIR%%/locales/sv.pak @@ -116,12 +164,18 @@ bin/ungoogled-chromium %%DATADIR%%/locales/uk.pak.info %%DATADIR%%/locales/ur.pak %%DATADIR%%/locales/ur.pak.info +%%DATADIR%%/locales/uz.pak +%%DATADIR%%/locales/uz.pak.info %%DATADIR%%/locales/vi.pak %%DATADIR%%/locales/vi.pak.info %%DATADIR%%/locales/zh-CN.pak %%DATADIR%%/locales/zh-CN.pak.info +%%DATADIR%%/locales/zh-HK.pak +%%DATADIR%%/locales/zh-HK.pak.info %%DATADIR%%/locales/zh-TW.pak %%DATADIR%%/locales/zh-TW.pak.info +%%DATADIR%%/locales/zu.pak +%%DATADIR%%/locales/zu.pak.info %%DATADIR%%/mksnapshot %%DATADIR%%/product_logo_48.png %%DATADIR%%/protoc diff --git a/www/unit-java/distinfo b/www/unit-java/distinfo index fd7dad50ac58..bb42721054d1 100644 --- a/www/unit-java/distinfo +++ b/www/unit-java/distinfo @@ -1,4 +1,4 @@ -TIMESTAMP = 1741021809 +TIMESTAMP = 1756784428 SHA256 (unit-1.34.2.tar.gz) = 49ffb49d7ead1b9e64602f07f8b615839c099a9324943dedad40d057ce109504 SIZE (unit-1.34.2.tar.gz) = 1054961 SHA256 (classgraph-4.8.179.jar) = 16558357f234052370109127a45d69a9bd6d8646925594792634486dc48b159d @@ -29,3 +29,5 @@ SHA256 (tomcat-util-9.0.98.jar) = 53b1cc1957bf977a6c148d1616e2db98cf61fb457104e8 SIZE (tomcat-util-9.0.98.jar) = 234073 SHA256 (tomcat-util-scan-9.0.98.jar) = e913f286446c267c92923b1432f248a052cf3fef4138db05e0108795b8f2cf69 SIZE (tomcat-util-scan-9.0.98.jar) = 228085 +SHA256 (08e552581d2f56d56ad369a222497138a4e41eff.patch) = 70dc6605efec0fa228230655944f7c2b12ad549602985120853e2dfe17112a1f +SIZE (08e552581d2f56d56ad369a222497138a4e41eff.patch) = 1694 diff --git a/www/unit/Makefile b/www/unit/Makefile index f4d4b544b295..bc95e8aa24db 100644 --- a/www/unit/Makefile +++ b/www/unit/Makefile @@ -1,10 +1,13 @@ PORTNAME= unit PORTVERSION= ${UNIT_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MASTER_SITES?= https://unit.nginx.org/download/ DISTFILES?= ${PORTNAME}-${PORTVERSION}.tar.gz +PATCH_SITES= https://github.com/nginx/unit/commit/ +PATCHFILES= 08e552581d2f56d56ad369a222497138a4e41eff.patch:-p1 + MAINTAINER= osa@FreeBSD.org COMMENT?= Dynamic web application server WWW= https://unit.nginx.org diff --git a/www/unit/distinfo b/www/unit/distinfo index 5886c570613b..3cba21e77207 100644 --- a/www/unit/distinfo +++ b/www/unit/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1741021688 +TIMESTAMP = 1756603194 SHA256 (unit-1.34.2.tar.gz) = 49ffb49d7ead1b9e64602f07f8b615839c099a9324943dedad40d057ce109504 SIZE (unit-1.34.2.tar.gz) = 1054961 +SHA256 (08e552581d2f56d56ad369a222497138a4e41eff.patch) = 70dc6605efec0fa228230655944f7c2b12ad549602985120853e2dfe17112a1f +SIZE (08e552581d2f56d56ad369a222497138a4e41eff.patch) = 1694 diff --git a/www/varnish-libvmod-fileserver/Makefile b/www/varnish-libvmod-fileserver/Makefile index 3d46c583a9c5..db2b62567e31 100644 --- a/www/varnish-libvmod-fileserver/Makefile +++ b/www/varnish-libvmod-fileserver/Makefile @@ -1,6 +1,6 @@ PORTNAME= libvmod-fileserver PORTVERSION= 0.0.9 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www PKGNAMEPREFIX= varnish- diff --git a/www/varnish7/Makefile b/www/varnish7/Makefile index df6c34829a40..8b934d86784e 100644 --- a/www/varnish7/Makefile +++ b/www/varnish7/Makefile @@ -1,5 +1,5 @@ PORTNAME= varnish -DISTVERSION= 7.7.2 +DISTVERSION= 7.7.3 CATEGORIES= www MASTER_SITES= https://varnish-cache.org/downloads/ PKGNAMESUFFIX= 7 diff --git a/www/varnish7/distinfo b/www/varnish7/distinfo index 5891ac988daf..a0c5ff3bbcdb 100644 --- a/www/varnish7/distinfo +++ b/www/varnish7/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1755099065 -SHA256 (varnish-7.7.2.tgz) = fda7750e1281a20e9cccc6c666481d2437fa7c0d816592c86e4fb7ba7fc464ad -SIZE (varnish-7.7.2.tgz) = 4235482 +TIMESTAMP = 1755785467 +SHA256 (varnish-7.7.3.tgz) = e96eeafc4cfe2a558ed2fb54f1e22be3a3d995f46f8c00da545d583aaef80236 +SIZE (varnish-7.7.3.tgz) = 4235804 diff --git a/www/varnish_exporter/Makefile b/www/varnish_exporter/Makefile index 335537f36c4e..95d4045f011a 100644 --- a/www/varnish_exporter/Makefile +++ b/www/varnish_exporter/Makefile @@ -1,6 +1,6 @@ PORTNAME= varnish_exporter PORTVERSION= 1.6 -PORTREVISION= 28 +PORTREVISION= 29 CATEGORIES= www MAINTAINER= ports@zx23.net diff --git a/www/vigil/Makefile b/www/vigil/Makefile index 41f773cf28f9..d945cf42d71e 100644 --- a/www/vigil/Makefile +++ b/www/vigil/Makefile @@ -1,7 +1,7 @@ PORTNAME= vigil DISTVERSIONPREFIX= v DISTVERSION= 1.27.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= www MAINTAINER= yuri@FreeBSD.org diff --git a/www/vimb/Makefile b/www/vimb/Makefile index 68440b389036..8166c2535e84 100644 --- a/www/vimb/Makefile +++ b/www/vimb/Makefile @@ -1,6 +1,6 @@ PORTNAME= vimb DISTVERSION= 3.7.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= www MAINTAINER= mew14930xvi@inbox.lv diff --git a/www/vultr-cli/Makefile b/www/vultr-cli/Makefile index 9d718ba12ab8..1f93ecfc7c64 100644 --- a/www/vultr-cli/Makefile +++ b/www/vultr-cli/Makefile @@ -1,7 +1,7 @@ PORTNAME= vultr-cli DISTVERSIONPREFIX= v -DISTVERSION= 2.17.0 -PORTREVISION= 16 +DISTVERSION= 3.6.0 +PORTREVISION= 1 CATEGORIES= www MAINTAINER= antranigv@freebsd.am @@ -15,33 +15,29 @@ USES= go:modules USE_GITHUB= yes GH_ACCOUNT= vultr GH_TUPLE= \ - fsnotify:fsnotify:v1.6.0:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \ + fsnotify:fsnotify:v1.8.0:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \ go-check:check:10cb98267c6c:go_check_check/vendor/gopkg.in/check.v1 \ - go-ini:ini:v1.67.0:go_ini_ini/vendor/gopkg.in/ini.v1 \ + go-viper:mapstructure:v2.3.0:go_viper_mapstructure_v2/vendor/github.com/go-viper/mapstructure/v2 \ go-yaml:yaml:v3.0.1:go_yaml_yaml/vendor/gopkg.in/yaml.v3 \ - golang:appengine:v1.6.7:golang_appengine/vendor/google.golang.org/appengine \ - golang:net:v0.11.0:golang_net/vendor/golang.org/x/net \ - golang:oauth2:v0.9.0:golang_oauth2/vendor/golang.org/x/oauth2 \ - golang:protobuf:v1.5.3:golang_protobuf/vendor/github.com/golang/protobuf \ - golang:sys:v0.9.0:golang_sys/vendor/golang.org/x/sys \ - golang:text:v0.10.0:golang_text/vendor/golang.org/x/text \ + golang:oauth2:v0.30.0:golang_oauth2/vendor/golang.org/x/oauth2 \ + golang:sys:v0.29.0:golang_sys/vendor/golang.org/x/sys \ + golang:text:v0.21.0:golang_text/vendor/golang.org/x/text \ google:go-querystring:v1.1.0:google_go_querystring/vendor/github.com/google/go-querystring \ hashicorp:go-cleanhttp:v0.5.2:hashicorp_go_cleanhttp/vendor/github.com/hashicorp/go-cleanhttp \ - hashicorp:go-retryablehttp:v0.7.4:hashicorp_go_retryablehttp/vendor/github.com/hashicorp/go-retryablehttp \ - hashicorp:hcl:v1.0.0:hashicorp_hcl/vendor/github.com/hashicorp/hcl \ + hashicorp:go-retryablehttp:v0.7.8:hashicorp_go_retryablehttp/vendor/github.com/hashicorp/go-retryablehttp \ inconshreveable:mousetrap:v1.1.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap \ - magiconair:properties:v1.8.7:magiconair_properties/vendor/github.com/magiconair/properties \ - mitchellh:mapstructure:v1.5.0:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure \ - pelletier:go-toml:v2.0.8:pelletier_go_toml_v2/vendor/github.com/pelletier/go-toml/v2 \ - protocolbuffers:protobuf-go:v1.30.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \ - spf13:afero:v1.9.5:spf13_afero/vendor/github.com/spf13/afero \ - spf13:cast:v1.5.1:spf13_cast/vendor/github.com/spf13/cast \ - spf13:cobra:v1.7.0:spf13_cobra/vendor/github.com/spf13/cobra \ - spf13:jwalterweatherman:v1.1.0:spf13_jwalterweatherman/vendor/github.com/spf13/jwalterweatherman \ - spf13:pflag:v1.0.5:spf13_pflag/vendor/github.com/spf13/pflag \ - spf13:viper:v1.16.0:spf13_viper/vendor/github.com/spf13/viper \ - subosito:gotenv:v1.4.2:subosito_gotenv/vendor/github.com/subosito/gotenv \ - vultr:govultr:v3.0.3:vultr_govultr_v3/vendor/github.com/vultr/govultr/v3 + pelletier:go-toml:v2.2.3:pelletier_go_toml_v2/vendor/github.com/pelletier/go-toml/v2 \ + sagikazarmark:locafero:v0.7.0:sagikazarmark_locafero/vendor/github.com/sagikazarmark/locafero \ + sourcegraph:conc:v0.3.0:sourcegraph_conc/vendor/github.com/sourcegraph/conc \ + spf13:afero:v1.12.0:spf13_afero/vendor/github.com/spf13/afero \ + spf13:cast:v1.7.1:spf13_cast/vendor/github.com/spf13/cast \ + spf13:cobra:v1.9.1:spf13_cobra/vendor/github.com/spf13/cobra \ + spf13:pflag:v1.0.6:spf13_pflag/vendor/github.com/spf13/pflag \ + spf13:viper:v1.20.1:spf13_viper/vendor/github.com/spf13/viper \ + subosito:gotenv:v1.6.0:subosito_gotenv/vendor/github.com/subosito/gotenv \ + uber-go:atomic:v1.9.0:uber_go_atomic/vendor/go.uber.org/atomic \ + uber-go:multierr:v1.9.0:uber_go_multierr/vendor/go.uber.org/multierr \ + vultr:govultr:v3.21.1:vultr_govultr_v3/vendor/github.com/vultr/govultr/v3 PLIST_FILES= bin/${PORTNAME} PORTDOCS= CHANGELOG.md README.md @@ -49,6 +45,9 @@ PORTDOCS= CHANGELOG.md README.md OPTIONS_DEFINE= DOCS OPTIONS_DEFAULT= DOCS +post-extract: + ${CP} ${FILESDIR}/modules.txt ${WRKSRC}/vendor + post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} diff --git a/www/vultr-cli/distinfo b/www/vultr-cli/distinfo index 9f2c380cc674..ba41b10f7b82 100644 --- a/www/vultr-cli/distinfo +++ b/www/vultr-cli/distinfo @@ -1,57 +1,49 @@ -TIMESTAMP = 1690616586 -SHA256 (vultr-vultr-cli-v2.17.0_GH0.tar.gz) = b8ebad96ed9f3377756c8dabbf058db9a3acbac83a46bc55b447a0b5c9093290 -SIZE (vultr-vultr-cli-v2.17.0_GH0.tar.gz) = 84918 -SHA256 (fsnotify-fsnotify-v1.6.0_GH0.tar.gz) = 583b2b399709d04807c5c3185e7d4dc0543d532af91fdeb85eeaf803a0b7703b -SIZE (fsnotify-fsnotify-v1.6.0_GH0.tar.gz) = 46044 +TIMESTAMP = 1754262111 +SHA256 (vultr-vultr-cli-v3.6.0_GH0.tar.gz) = b45592d8bce6539b6b35e405f71a3ac4bb6fa3ef5ad4ec8b6a1f31c31f17cdc7 +SIZE (vultr-vultr-cli-v3.6.0_GH0.tar.gz) = 129743 +SHA256 (fsnotify-fsnotify-v1.8.0_GH0.tar.gz) = 3c4cbec6225307397717f18bb87ffc496e59d0f802a41fff572bf09e5dbf6e2b +SIZE (fsnotify-fsnotify-v1.8.0_GH0.tar.gz) = 72325 SHA256 (go-check-check-10cb98267c6c_GH0.tar.gz) = 0a42d9d5a49ebc30174e5840238e446f5fb16899bfaa6a6f63d12ab9953df293 SIZE (go-check-check-10cb98267c6c_GH0.tar.gz) = 32375 -SHA256 (go-ini-ini-v1.67.0_GH0.tar.gz) = 06ba51234140118d1b6064f1817aa89cc971c6e7ce04cb9d286e6660d89296c8 -SIZE (go-ini-ini-v1.67.0_GH0.tar.gz) = 53531 +SHA256 (go-viper-mapstructure-v2.3.0_GH0.tar.gz) = 6d5780ca64898cef340eeeb128f1201dbb970c74727d4daeb554427a1a8475a4 +SIZE (go-viper-mapstructure-v2.3.0_GH0.tar.gz) = 43412 SHA256 (go-yaml-yaml-v3.0.1_GH0.tar.gz) = cf05411540d3e6ef8f1fd88434b34f94cedaceb540329031d80e23b74540c4e5 SIZE (go-yaml-yaml-v3.0.1_GH0.tar.gz) = 91173 -SHA256 (golang-appengine-v1.6.7_GH0.tar.gz) = c623d81235f7c9699e299b328191d813337dd57dcc800d7afdb5130e8c321a8f -SIZE (golang-appengine-v1.6.7_GH0.tar.gz) = 333007 -SHA256 (golang-net-v0.11.0_GH0.tar.gz) = 9e1d564ac60aab2eee5e9fc6ceae0e6f6bd72d7d9c1bb461c9027b7205788a07 -SIZE (golang-net-v0.11.0_GH0.tar.gz) = 1283925 -SHA256 (golang-oauth2-v0.9.0_GH0.tar.gz) = 4bbdcba2ded2a4aeaec73148bfe26151a0cd7a853a5d1aaa0f1fa7e278fe675d -SIZE (golang-oauth2-v0.9.0_GH0.tar.gz) = 88633 -SHA256 (golang-protobuf-v1.5.3_GH0.tar.gz) = 48457a6a9e8c78a7556ff5ff4a4c77d7df9bf70e882491ee0f3f1ff06db2bfaa -SIZE (golang-protobuf-v1.5.3_GH0.tar.gz) = 171822 -SHA256 (golang-sys-v0.9.0_GH0.tar.gz) = c729ead5fa2667cff07132a153ae965ba315c97d8ea39eaa4f9bf91f73a50eac -SIZE (golang-sys-v0.9.0_GH0.tar.gz) = 1439449 -SHA256 (golang-text-v0.10.0_GH0.tar.gz) = 4ee3d9f4113c817f4aad05195f1642e1122266c369013d38d72967b13ba9b118 -SIZE (golang-text-v0.10.0_GH0.tar.gz) = 8360805 +SHA256 (golang-oauth2-v0.30.0_GH0.tar.gz) = e42798d91e143032f6abfc9e97d84949f7f22c160981ccd3b09f2d4dbb5aba16 +SIZE (golang-oauth2-v0.30.0_GH0.tar.gz) = 100381 +SHA256 (golang-sys-v0.29.0_GH0.tar.gz) = 7bac3e0a686a05d0e86ca110917b45f60553d6c146dba8a4cdafb911486428e7 +SIZE (golang-sys-v0.29.0_GH0.tar.gz) = 1519988 +SHA256 (golang-text-v0.21.0_GH0.tar.gz) = d64dbf40a8ae06c4805895e48553ecdadaed07089d8ed2168a0d61551d17ff22 +SIZE (golang-text-v0.21.0_GH0.tar.gz) = 8964782 SHA256 (google-go-querystring-v1.1.0_GH0.tar.gz) = a5641dee688eb2c733608ce5a88d8181c93ad9f5083fd97fadbccb91afad9a56 SIZE (google-go-querystring-v1.1.0_GH0.tar.gz) = 10423 SHA256 (hashicorp-go-cleanhttp-v0.5.2_GH0.tar.gz) = 091d90c479401bc9047454c25f91a97a6707e6a279ce778e4881cf6b0191a47f SIZE (hashicorp-go-cleanhttp-v0.5.2_GH0.tar.gz) = 8094 -SHA256 (hashicorp-go-retryablehttp-v0.7.4_GH0.tar.gz) = ec50511b4cfb20bc8f5538a40d96194dc36d2496abec752f95bb2c5292ebeca4 -SIZE (hashicorp-go-retryablehttp-v0.7.4_GH0.tar.gz) = 22115 -SHA256 (hashicorp-hcl-v1.0.0_GH0.tar.gz) = 50632428210503070fd2fde748c88b7414bf84a6a0eadebf9d8e596a033bead2 -SIZE (hashicorp-hcl-v1.0.0_GH0.tar.gz) = 70658 +SHA256 (hashicorp-go-retryablehttp-v0.7.8_GH0.tar.gz) = a556692913b852c228fbfca680bb6660bc851485155dd2c1c5f4017497398823 +SIZE (hashicorp-go-retryablehttp-v0.7.8_GH0.tar.gz) = 26980 SHA256 (inconshreveable-mousetrap-v1.1.0_GH0.tar.gz) = ab23e7c5cbf42564eb0190ee051b7217c04fd2599d2f26e9ebe205db75963141 SIZE (inconshreveable-mousetrap-v1.1.0_GH0.tar.gz) = 5338 -SHA256 (magiconair-properties-v1.8.7_GH0.tar.gz) = 09e950df1970975400edc7f6c2f9e3edace4e1ea49f823006387d130fb0f4f03 -SIZE (magiconair-properties-v1.8.7_GH0.tar.gz) = 31425 -SHA256 (mitchellh-mapstructure-v1.5.0_GH0.tar.gz) = 81106cbac93000812c194b4a2069dd32913ec18819b1e99e8436595ce4939413 -SIZE (mitchellh-mapstructure-v1.5.0_GH0.tar.gz) = 30123 -SHA256 (pelletier-go-toml-v2.0.8_GH0.tar.gz) = d310cafad463460c8a5e64147c163afcaa824ea776627cd247edca03870a7d77 -SIZE (pelletier-go-toml-v2.0.8_GH0.tar.gz) = 896130 -SHA256 (protocolbuffers-protobuf-go-v1.30.0_GH0.tar.gz) = 3279a16ec3bdd7c53fe1599134de298ed90d9f3b6ec1c1eb5f3b76ba5aaa9f0c -SIZE (protocolbuffers-protobuf-go-v1.30.0_GH0.tar.gz) = 1298988 -SHA256 (spf13-afero-v1.9.5_GH0.tar.gz) = e5cfd78a03a3137fe206580f6c01625df02e087fccf5ec520986ecdfbc583e20 -SIZE (spf13-afero-v1.9.5_GH0.tar.gz) = 94085 -SHA256 (spf13-cast-v1.5.1_GH0.tar.gz) = 445aa5b0e61b67ccd0d14fe38cd473d73775f1bec4b58fe83b16e3b0cab08a9a -SIZE (spf13-cast-v1.5.1_GH0.tar.gz) = 15524 -SHA256 (spf13-cobra-v1.7.0_GH0.tar.gz) = efce686c813c787d8fc650f5bd1bbe903c168c8400003c3eafb8724a4a2d65c8 -SIZE (spf13-cobra-v1.7.0_GH0.tar.gz) = 187161 -SHA256 (spf13-jwalterweatherman-v1.1.0_GH0.tar.gz) = 4fd850a792c5738954c4801cf549d8d0bf53edd17139cd39d179aa5abf7ec68d -SIZE (spf13-jwalterweatherman-v1.1.0_GH0.tar.gz) = 6871 -SHA256 (spf13-pflag-v1.0.5_GH0.tar.gz) = 9a2cae1f8e8ab0d2cc8ebe468e871af28d9ac0962cf0520999e3ba85f0c7b808 -SIZE (spf13-pflag-v1.0.5_GH0.tar.gz) = 50796 -SHA256 (spf13-viper-v1.16.0_GH0.tar.gz) = 337d52e795d94faf2b2188ee378ce3a58d97a3b53133f354de099e68b1447100 -SIZE (spf13-viper-v1.16.0_GH0.tar.gz) = 163952 -SHA256 (subosito-gotenv-v1.4.2_GH0.tar.gz) = b7bafced91bfb64f2f80a78b7c343f0a16099aa0a4049ea6e4d0fa5d62be1741 -SIZE (subosito-gotenv-v1.4.2_GH0.tar.gz) = 10641 -SHA256 (vultr-govultr-v3.0.3_GH0.tar.gz) = 564f55c7c63f764e472bb28301a5ed5bdc26f4dffcdb885963c8aa3163f79c43 -SIZE (vultr-govultr-v3.0.3_GH0.tar.gz) = 65756 +SHA256 (pelletier-go-toml-v2.2.3_GH0.tar.gz) = 3a5dfdc1e543efd6032813cb27a5b06d66bbefbbcc88bb664f69d605725c42af +SIZE (pelletier-go-toml-v2.2.3_GH0.tar.gz) = 909237 +SHA256 (sagikazarmark-locafero-v0.7.0_GH0.tar.gz) = e0a40a0ba8dda6b160fef8da52dbedc665e120b5b47420283366c16f183c76c5 +SIZE (sagikazarmark-locafero-v0.7.0_GH0.tar.gz) = 11258 +SHA256 (sourcegraph-conc-v0.3.0_GH0.tar.gz) = c20a36ef6e8cd4721b8824d3e0a590d78f56ce72ace53ec7fdd2f7a978e9240f +SIZE (sourcegraph-conc-v0.3.0_GH0.tar.gz) = 23021 +SHA256 (spf13-afero-v1.12.0_GH0.tar.gz) = 5f58b518e8fe8ace3ac82d08a3b9ae0d5a25b2ad8c4640a43e242b16685f8022 +SIZE (spf13-afero-v1.12.0_GH0.tar.gz) = 93686 +SHA256 (spf13-cast-v1.7.1_GH0.tar.gz) = 582dcd8edee06058dde613d3e9cea2c721a26e8afa7aa782d7d24075798579f3 +SIZE (spf13-cast-v1.7.1_GH0.tar.gz) = 15743 +SHA256 (spf13-cobra-v1.9.1_GH0.tar.gz) = 4026e019a940b70e59aa8d07184314969888a75adc77adba0be008b1106558af +SIZE (spf13-cobra-v1.9.1_GH0.tar.gz) = 197816 +SHA256 (spf13-pflag-v1.0.6_GH0.tar.gz) = b6beba1d0a8ce6e0827567931ff9b1b1c93b0fb4b091e825aa09bf0310664ff7 +SIZE (spf13-pflag-v1.0.6_GH0.tar.gz) = 52840 +SHA256 (spf13-viper-v1.20.1_GH0.tar.gz) = 171694407d00dd0e1a262ee236171d06c24d9987935cdac4aafc223179d4dd2b +SIZE (spf13-viper-v1.20.1_GH0.tar.gz) = 122213 +SHA256 (subosito-gotenv-v1.6.0_GH0.tar.gz) = 51a5a8e36f30ddd97866779e93c4e93b0d4958a60fabd1d17fc2226bfe7823db +SIZE (subosito-gotenv-v1.6.0_GH0.tar.gz) = 11470 +SHA256 (uber-go-atomic-v1.9.0_GH0.tar.gz) = a6b11bb77c479298cdfdfdf2132975dbd975322b619451378cbdf731facd874a +SIZE (uber-go-atomic-v1.9.0_GH0.tar.gz) = 21331 +SHA256 (uber-go-multierr-v1.9.0_GH0.tar.gz) = 0664e6c869ca2bef1851b77b9384d8fb1a5f41514b4b174da340e31c616da028 +SIZE (uber-go-multierr-v1.9.0_GH0.tar.gz) = 15662 +SHA256 (vultr-govultr-v3.21.1_GH0.tar.gz) = 33bf586c870e15425c96face1f2e2628c85e557d483446672761792142533631 +SIZE (vultr-govultr-v3.21.1_GH0.tar.gz) = 92318 diff --git a/www/vultr-cli/files/modules.txt b/www/vultr-cli/files/modules.txt new file mode 100644 index 000000000000..08da16ed2242 --- /dev/null +++ b/www/vultr-cli/files/modules.txt @@ -0,0 +1,93 @@ +# github.com/fsnotify/fsnotify v1.8.0 +## explicit; go 1.17 +github.com/fsnotify/fsnotify +github.com/fsnotify/fsnotify/internal +# github.com/go-viper/mapstructure/v2 v2.3.0 +## explicit; go 1.18 +github.com/go-viper/mapstructure/v2 +github.com/go-viper/mapstructure/v2/internal/errors +# github.com/google/go-querystring v1.1.0 +## explicit; go 1.10 +github.com/google/go-querystring/query +# github.com/hashicorp/go-cleanhttp v0.5.2 +## explicit; go 1.13 +github.com/hashicorp/go-cleanhttp +# github.com/hashicorp/go-retryablehttp v0.7.8 +## explicit; go 1.23 +github.com/hashicorp/go-retryablehttp +# github.com/inconshreveable/mousetrap v1.1.0 +## explicit; go 1.18 +github.com/inconshreveable/mousetrap +# github.com/pelletier/go-toml/v2 v2.2.3 +## explicit; go 1.21.0 +github.com/pelletier/go-toml/v2 +github.com/pelletier/go-toml/v2/internal/characters +github.com/pelletier/go-toml/v2/internal/danger +github.com/pelletier/go-toml/v2/internal/tracker +github.com/pelletier/go-toml/v2/unstable +# github.com/sagikazarmark/locafero v0.7.0 +## explicit; go 1.21 +github.com/sagikazarmark/locafero +# github.com/sourcegraph/conc v0.3.0 +## explicit; go 1.19 +github.com/sourcegraph/conc +github.com/sourcegraph/conc/internal/multierror +github.com/sourcegraph/conc/iter +github.com/sourcegraph/conc/panics +# github.com/spf13/afero v1.12.0 +## explicit; go 1.21 +github.com/spf13/afero +github.com/spf13/afero/internal/common +github.com/spf13/afero/mem +# github.com/spf13/cast v1.7.1 +## explicit; go 1.19 +github.com/spf13/cast +# github.com/spf13/cobra v1.9.1 +## explicit; go 1.15 +github.com/spf13/cobra +# github.com/spf13/pflag v1.0.6 +## explicit; go 1.12 +github.com/spf13/pflag +# github.com/spf13/viper v1.20.1 +## explicit; go 1.21.0 +github.com/spf13/viper +github.com/spf13/viper/internal/encoding/dotenv +github.com/spf13/viper/internal/encoding/json +github.com/spf13/viper/internal/encoding/toml +github.com/spf13/viper/internal/encoding/yaml +github.com/spf13/viper/internal/features +# github.com/subosito/gotenv v1.6.0 +## explicit; go 1.18 +github.com/subosito/gotenv +# github.com/vultr/govultr/v3 v3.21.1 +## explicit; go 1.23 +github.com/vultr/govultr/v3 +# go.uber.org/atomic v1.9.0 +## explicit; go 1.13 +go.uber.org/atomic +# go.uber.org/multierr v1.9.0 +## explicit; go 1.19 +go.uber.org/multierr +# golang.org/x/oauth2 v0.30.0 +## explicit; go 1.23.0 +golang.org/x/oauth2 +golang.org/x/oauth2/internal +# golang.org/x/sys v0.29.0 +## explicit; go 1.18 +golang.org/x/sys/unix +golang.org/x/sys/windows +# golang.org/x/text v0.21.0 +## explicit; go 1.18 +golang.org/x/text/encoding +golang.org/x/text/encoding/internal +golang.org/x/text/encoding/internal/identifier +golang.org/x/text/encoding/unicode +golang.org/x/text/internal/utf8internal +golang.org/x/text/runes +golang.org/x/text/transform +golang.org/x/text/unicode/norm +# gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c +## explicit; go 1.11 +# gopkg.in/yaml.v3 v3.0.1 +## explicit +gopkg.in/yaml.v3 diff --git a/www/w3m/Makefile b/www/w3m/Makefile index e9309c8d979c..dde1168e14f7 100644 --- a/www/w3m/Makefile +++ b/www/w3m/Makefile @@ -1,8 +1,8 @@ PORTNAME= w3m -PORTVERSION= 0.5.3.${SNAPDATE} -PORTREVISION= 1 +DISTVERSIONPREFIX= v +DISTVERSION= 0.5.5 CATEGORIES+= www -MASTER_SITES= https://git.sr.ht/~rkta/${PORTNAME}/archive/${COMMIT_HASH}${EXTRACT_SUFX}?dummy=/ +MASTER_SITES= https://git.sr.ht/~rkta/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ MAINTAINER?= nobutaka@FreeBSD.org COMMENT?= Pager/text-based WWW browser @@ -22,9 +22,6 @@ USES= cpe iconv pkgconfig perl5 ssl CPE_VENDOR= w3m_project MAKE_JOBS_UNSAFE= yes -SNAPDATE= 20250305 -COMMIT_HASH= 32193d61e3938518c0d454022d165b236f26f153 -WRKSRC= ${WRKDIR}/${PORTNAME}-${COMMIT_HASH} CONFLICTS?= ja-w3m-0.5.* ja-w3m-img-0.5.* w3m-img-0.5.* GNU_CONFIGURE= yes diff --git a/www/w3m/distinfo b/www/w3m/distinfo index 6bd4b771044e..fc5127b88e12 100644 --- a/www/w3m/distinfo +++ b/www/w3m/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1741250071 -SHA256 (w3m-0.5.3.20250305.tar.gz) = ef69a46d3acd231de1ab815d8230db2d0b3b1f2b37ba5905e479ae4478524510 -SIZE (w3m-0.5.3.20250305.tar.gz) = 2324317 +TIMESTAMP = 1756289172 +SHA256 (w3m-v0.5.5.tar.gz) = b271c86b13be2207700230cb3f9061271ea37fd1ace199f48b72ea542a529a0f +SIZE (w3m-v0.5.5.tar.gz) = 2307438 diff --git a/www/wasm-bindgen-cli/Makefile b/www/wasm-bindgen-cli/Makefile index c0f9efef3fae..1e0cad62742e 100644 --- a/www/wasm-bindgen-cli/Makefile +++ b/www/wasm-bindgen-cli/Makefile @@ -1,6 +1,6 @@ PORTNAME= wasm-bindgen-cli DISTVERSION= 0.2.95 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MAINTAINER= aokblast@FreeBSD.org diff --git a/www/wasm-pack/Makefile b/www/wasm-pack/Makefile index 084992803fd2..b8adb23893c6 100644 --- a/www/wasm-pack/Makefile +++ b/www/wasm-pack/Makefile @@ -1,7 +1,7 @@ PORTNAME= wasm-pack DISTVERSIONPREFIX= v DISTVERSION= 0.13.1 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= www MAINTAINER= yuri@FreeBSD.org diff --git a/www/waterfox/Makefile b/www/waterfox/Makefile index 204883440353..1fe7e3c65761 100644 --- a/www/waterfox/Makefile +++ b/www/waterfox/Makefile @@ -1,5 +1,6 @@ PORTNAME= waterfox -DISTVERSION= 6.6.0-beta-6 +DISTVERSION= 6.6.2 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= www @@ -31,7 +32,7 @@ BUILD_DEPENDS= nspr>=4.32:devel/nspr \ USE_GECKO= gecko USE_GITHUB= yes GH_ACCOUNT= BrowserWorks -GH_TUPLE= BrowserWorks:l10n:3046738:l10n/waterfox/browser/locales +GH_TUPLE= BrowserWorks:l10n:394dfec:l10n/waterfox/browser/locales USE_MOZILLA= -sqlite # work around bindgen not finding ICU, e.g. # dist/include/mozilla/intl/ICU4CGlue.h:8:10: fatal error: 'unicode/uenum.h' file not found, err: true diff --git a/www/waterfox/distinfo b/www/waterfox/distinfo index 36a01b8b2443..033a8be82fe8 100644 --- a/www/waterfox/distinfo +++ b/www/waterfox/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1755193903 -SHA256 (BrowserWorks-waterfox-6.6.0-beta-6_GH0.tar.gz) = b906b3de5d2c4e24e83acce38cb4713350aac310f628f0046fd029a14e4077eb -SIZE (BrowserWorks-waterfox-6.6.0-beta-6_GH0.tar.gz) = 919514150 -SHA256 (BrowserWorks-l10n-3046738_GH0.tar.gz) = f9a16202b73558188af3157d427845153a89b3f3b3269c1e5d8ebc9e60eb9bd1 -SIZE (BrowserWorks-l10n-3046738_GH0.tar.gz) = 19480746 +TIMESTAMP = 1756464808 +SHA256 (BrowserWorks-waterfox-6.6.2_GH0.tar.gz) = 2492b86359d433b800d2f4786619037679202cafefb1295897edd58f56ef9db5 +SIZE (BrowserWorks-waterfox-6.6.2_GH0.tar.gz) = 919738463 +SHA256 (BrowserWorks-l10n-394dfec_GH0.tar.gz) = 79f5f995c918f9768c7f7d6c38bbd131e1faa631575f18fcc862bc1bdb119ed6 +SIZE (BrowserWorks-l10n-394dfec_GH0.tar.gz) = 23704241 diff --git a/www/waterfox/files/patch-toolkit_xre_nsEmbedFunctions.cpp b/www/waterfox/files/patch-toolkit_xre_nsEmbedFunctions.cpp deleted file mode 100644 index caac874012c9..000000000000 --- a/www/waterfox/files/patch-toolkit_xre_nsEmbedFunctions.cpp +++ /dev/null @@ -1,17 +0,0 @@ -diff --git toolkit/xre/nsEmbedFunctions.cpp toolkit/xre/nsEmbedFunctions.cpp -index 9ce6af94637c..44165558f7ec 100644 ---- toolkit/xre/nsEmbedFunctions.cpp -+++ toolkit/xre/nsEmbedFunctions.cpp -@@ -360,10 +360,12 @@ nsresult XRE_InitChildProcess(int aArgc, char* aArgv[], - static_cast<CrashReporter::ProcessId>(*crashHelperPidArg); - #endif // defined(XP_LINUX) && !defined(MOZ_WIDGET_ANDROID) - -+#if !defined(XP_FREEBSD) - exceptionHandlerIsSet = CrashReporter::SetRemoteExceptionHandler( - std::move(*crashReporterArg), crashHelperPid); - MOZ_ASSERT(exceptionHandlerIsSet, - "Should have been able to set remote exception handler"); -+#endif - - if (!exceptionHandlerIsSet) { - // Bug 684322 will add better visibility into this condition diff --git a/www/web2ldap/Makefile b/www/web2ldap/Makefile index d5e5ea1dfa21..6df3c31126e2 100644 --- a/www/web2ldap/Makefile +++ b/www/web2ldap/Makefile @@ -1,6 +1,6 @@ PORTNAME= web2ldap PORTVERSION= 1.8.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www python MASTER_SITES= PYPI https://www.web2ldap.de/download/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/webhook/Makefile b/www/webhook/Makefile index 87bc03d0a511..014db9a7bb91 100644 --- a/www/webhook/Makefile +++ b/www/webhook/Makefile @@ -1,6 +1,6 @@ PORTNAME= webhook DISTVERSION= 2.8.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www MAINTAINER= stb@lassitu.de diff --git a/www/webkit2-gtk/Makefile b/www/webkit2-gtk/Makefile index 13f217e5ba6e..b3e724a51676 100644 --- a/www/webkit2-gtk/Makefile +++ b/www/webkit2-gtk/Makefile @@ -1,6 +1,6 @@ PORTNAME= webkit DISTVERSION= 2.46.6 -PORTREVISION= 1 +PORTREVISION= 4 CATEGORIES= www MASTER_SITES= https://webkitgtk.org/releases/ PKGNAMESUFFIX= 2-gtk_${FLAVOR} diff --git a/www/websocat/Makefile b/www/websocat/Makefile index 35330756049c..77650a029958 100644 --- a/www/websocat/Makefile +++ b/www/websocat/Makefile @@ -1,7 +1,7 @@ PORTNAME= websocat DISTVERSIONPREFIX= v DISTVERSION= 1.14.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= www MAINTAINER= osa@FreeBSD.org diff --git a/www/websocketd/Makefile b/www/websocketd/Makefile index 67dea8e2abed..7e0322ca86e0 100644 --- a/www/websocketd/Makefile +++ b/www/websocketd/Makefile @@ -1,7 +1,7 @@ PORTNAME= websocketd PORTVERSION= 0.4.1 DISTVERSIONPREFIX= v -PORTREVISION= 29 +PORTREVISION= 30 CATEGORIES= www MAINTAINER= sunpoet@FreeBSD.org diff --git a/www/wiki-tui/Makefile b/www/wiki-tui/Makefile index 6d4754a68bab..7df50e3b4b89 100644 --- a/www/wiki-tui/Makefile +++ b/www/wiki-tui/Makefile @@ -1,7 +1,7 @@ PORTNAME= wiki-tui DISTVERSIONPREFIX= v DISTVERSION= 0.9.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= www MAINTAINER= eduardo@FreeBSD.org diff --git a/www/writeas-cli/Makefile b/www/writeas-cli/Makefile index 0c7dec4b7a7f..911e648bd276 100644 --- a/www/writeas-cli/Makefile +++ b/www/writeas-cli/Makefile @@ -1,7 +1,7 @@ PORTNAME= writeas-cli DISTVERSIONPREFIX= v DISTVERSION= 2.0.0-wf -PORTREVISION= 29 +PORTREVISION= 30 CATEGORIES= www textproc MASTER_SITES= https://code.as/core/socks/archive/v1.0.0.tar.gz?dummy=/:core_socks DISTFILES= core-socks-v1.0.0.tar.gz:core_socks diff --git a/www/writefreely/Makefile b/www/writefreely/Makefile index e4a14c189865..157fcf88245d 100644 --- a/www/writefreely/Makefile +++ b/www/writefreely/Makefile @@ -1,7 +1,7 @@ PORTNAME= writefreely DISTVERSIONPREFIX= v -DISTVERSION= 0.15.1 -PORTREVISION= 6 +DISTVERSION= 0.16.0 +PORTREVISION= 1 CATEGORIES= www textproc MAINTAINER= fuz@FreeBSD.org diff --git a/www/writefreely/distinfo b/www/writefreely/distinfo index d4456f595f7d..927e343ad5e3 100644 --- a/www/writefreely/distinfo +++ b/www/writefreely/distinfo @@ -1,9 +1,9 @@ -TIMESTAMP = 1728158522 -SHA256 (go/www_writefreely/writefreely-v0.15.1/writefreely-css-0.15.1.tar.gz) = a0f767c5335edc3ea3f3a6f193110472094e23a829d141e6c8119ebbc6e908e3 -SIZE (go/www_writefreely/writefreely-v0.15.1/writefreely-css-0.15.1.tar.gz) = 13213 -SHA256 (go/www_writefreely/writefreely-v0.15.1/v0.15.1.mod) = 60779332ef44c9e4866c8f003cbdd7a37214239e018576bb6f5af7a9c1d281a1 -SIZE (go/www_writefreely/writefreely-v0.15.1/v0.15.1.mod) = 4246 -SHA256 (go/www_writefreely/writefreely-v0.15.1/v0.15.1.zip) = 492eab1c79e1d77e1e509fd3db78b0475afd303df32d18d2e9724d44509fd982 -SIZE (go/www_writefreely/writefreely-v0.15.1/v0.15.1.zip) = 3711764 -SHA256 (go/www_writefreely/writefreely-v0.15.1/writefreely-documentation-v0.15.1_GH0.tar.gz) = a019f241484c491e8befc190f7c705773fe1e12dffb52d349bc8983eb0e68d15 -SIZE (go/www_writefreely/writefreely-v0.15.1/writefreely-documentation-v0.15.1_GH0.tar.gz) = 27500 +TIMESTAMP = 1756547401 +SHA256 (go/www_writefreely/writefreely-v0.16.0/writefreely-css-0.16.0.tar.gz) = f134d132db0599325f515db46ad930e4c4ff2878c1840528f226beb603ccada4 +SIZE (go/www_writefreely/writefreely-v0.16.0/writefreely-css-0.16.0.tar.gz) = 12715 +SHA256 (go/www_writefreely/writefreely-v0.16.0/v0.16.0.mod) = 4c9b37a84f255fe8400a18d3a0305a1d489420112a61e40c8f0ae6db7588f0e5 +SIZE (go/www_writefreely/writefreely-v0.16.0/v0.16.0.mod) = 4439 +SHA256 (go/www_writefreely/writefreely-v0.16.0/v0.16.0.zip) = c1a2dc72b97111c8bc4851650ccf63d2dc5d1850d04069dad9bb6eb432318b01 +SIZE (go/www_writefreely/writefreely-v0.16.0/v0.16.0.zip) = 3724073 +SHA256 (go/www_writefreely/writefreely-v0.16.0/writefreely-documentation-v0.16.0_GH0.tar.gz) = 5d39e165f935df92f4305d5ab7a62384658392bc9b1f099de9c615ab98cdaf19 +SIZE (go/www_writefreely/writefreely-v0.16.0/writefreely-documentation-v0.16.0_GH0.tar.gz) = 28005 diff --git a/www/writefreely/pkg-plist b/www/writefreely/pkg-plist index e06d75cf93c0..fde87cada7cf 100644 --- a/www/writefreely/pkg-plist +++ b/www/writefreely/pkg-plist @@ -2,6 +2,7 @@ bin/writefreely %%PORTDOCS%%%%DOCSDIR%%/admin/chorus.md %%PORTDOCS%%%%DOCSDIR%%/admin/commands.md %%PORTDOCS%%%%DOCSDIR%%/admin/config.md +%%PORTDOCS%%%%DOCSDIR%%/admin/design.md %%PORTDOCS%%%%DOCSDIR%%/admin/docker.md %%PORTDOCS%%%%DOCSDIR%%/admin/moderation.md %%PORTDOCS%%%%DOCSDIR%%/developer/database.md @@ -341,6 +342,7 @@ bin/writefreely %%WWWDIR%%/templates/chorus-collection-post.tmpl %%WWWDIR%%/templates/chorus-collection.tmpl %%WWWDIR%%/templates/classic.tmpl +%%WWWDIR%%/templates/collection-archive.tmpl %%WWWDIR%%/templates/collection-post.tmpl %%WWWDIR%%/templates/collection-tags.tmpl %%WWWDIR%%/templates/collection.tmpl diff --git a/www/wslay/Makefile b/www/wslay/Makefile index dbac3828d03d..8646a926c82a 100644 --- a/www/wslay/Makefile +++ b/www/wslay/Makefile @@ -2,6 +2,7 @@ PORTNAME= wslay DISTVERSIONPREFIX= release- DISTVERSION= 1.1.1-22 DISTVERSIONSUFFIX= -g45d2258 +PORTREVISION= 1 CATEGORIES= www devel MAINTAINER= yuri@FreeBSD.org @@ -23,4 +24,7 @@ CMAKE_OFF= WSLAY_STATIC CMAKE_TESTING_ON= WSLAY_TESTS +post-extract: + ${CP} ${FILESDIR}/wslay.pc.cmake.in ${WRKSRC} + .include <bsd.port.mk> diff --git a/www/wslay/files/patch-CMakeLists.txt b/www/wslay/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..ac649aafdd1f --- /dev/null +++ b/www/wslay/files/patch-CMakeLists.txt @@ -0,0 +1,13 @@ +--- CMakeLists.txt.orig 2021-01-15 10:48:52 UTC ++++ CMakeLists.txt +@@ -35,4 +35,10 @@ if (WSLAY_CONFIGURE_INSTALL) + configure_file(wslay-config.cmake.in wslay-config.cmake @ONLY) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/wslay-config.cmake + DESTINATION ${INSTALL_CMAKE_DIR}) ++ ++ set(INSTALL_LIB_DIR ${CMAKE_INSTALL_PREFIX}/lib) ++ set(INSTALL_INC_DIR ${CMAKE_INSTALL_PREFIX}/include) ++ configure_file(wslay.pc.cmake.in libwslay.pc @ONLY) ++ set(INSTALL_PKGCONFIG_DIR "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig" CACHE PATH "Installation directory for pkgconfig (.pc) files") ++ install(FILES ${CMAKE_BINARY_DIR}/libwslay.pc DESTINATION "${INSTALL_PKGCONFIG_DIR}") + endif() diff --git a/www/wslay/files/wslay.pc.cmake.in b/www/wslay/files/wslay.pc.cmake.in new file mode 100644 index 000000000000..11ea4f98366a --- /dev/null +++ b/www/wslay/files/wslay.pc.cmake.in @@ -0,0 +1,13 @@ +prefix=@CMAKE_INSTALL_PREFIX@ +exec_prefix=@CMAKE_INSTALL_PREFIX@ +libdir=@INSTALL_LIB_DIR@ +sharedlibdir=@INSTALL_LIB_DIR@ +includedir=@INSTALL_INC_DIR@ + +Name: wslay +Description: The WebSocket library in C +Version: @PACKAGE_VERSION@ + +Requires: +Libs: -L${libdir} -L${sharedlibdir} -lwslay_shared +Cflags: -I${includedir} diff --git a/www/wslay/pkg-plist b/www/wslay/pkg-plist index df71549a96c7..3258ab761a41 100644 --- a/www/wslay/pkg-plist +++ b/www/wslay/pkg-plist @@ -4,3 +4,4 @@ lib/cmake/wslay/wslay-config.cmake lib/cmake/wslay/wslay-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/wslay/wslay.cmake lib/libwslay_shared.so +libdata/pkgconfig/libwslay.pc diff --git a/www/wuzz/Makefile b/www/wuzz/Makefile index 59c78c63ea4a..bcce837a2720 100644 --- a/www/wuzz/Makefile +++ b/www/wuzz/Makefile @@ -1,7 +1,7 @@ PORTNAME= wuzz DISTVERSIONPREFIX= v DISTVERSION= 0.5.0 -PORTREVISION= 29 +PORTREVISION= 30 CATEGORIES= www MAINTAINER= yuri@FreeBSD.org diff --git a/www/xcaddy/Makefile b/www/xcaddy/Makefile index 1a25c3c54912..187f164624d7 100644 --- a/www/xcaddy/Makefile +++ b/www/xcaddy/Makefile @@ -1,7 +1,7 @@ PORTNAME= xcaddy DISTVERSIONPREFIX= v DISTVERSION= 0.4.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www DIST_SUBDIR= xcaddy diff --git a/www/xh/Makefile b/www/xh/Makefile index 9ed1ee76c9ca..528620023a69 100644 --- a/www/xh/Makefile +++ b/www/xh/Makefile @@ -1,7 +1,7 @@ PORTNAME= xh DISTVERSIONPREFIX= v DISTVERSION= 0.24.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= www MAINTAINER= lcook@FreeBSD.org diff --git a/www/xist/Makefile b/www/xist/Makefile index e88a6233b951..5e3156b332d3 100644 --- a/www/xist/Makefile +++ b/www/xist/Makefile @@ -1,6 +1,6 @@ PORTNAME= xist PORTVERSION= 5.34 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www python MASTER_SITES= PYPI \ http://ftp.livinglogic.de/xist/ diff --git a/www/yarn-node18/Makefile b/www/yarn-node18/Makefile deleted file mode 100644 index 7453fabbe0cf..000000000000 --- a/www/yarn-node18/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -DEPRECATED= Depeneds on expired www/node18. Node.js 18.* has reached its EoL on 2025-04-30. -EXPIRATION_DATE=2025-09-01 - -USES= nodejs:18,run - -MASTERDIR= ${.CURDIR}/../yarn-node22 - -.include "${MASTERDIR}/Makefile" diff --git a/www/yt-dlp/Makefile b/www/yt-dlp/Makefile index 130275e303e7..2f02907ee90f 100644 --- a/www/yt-dlp/Makefile +++ b/www/yt-dlp/Makefile @@ -1,5 +1,5 @@ PORTNAME= yt-dlp -DISTVERSION= 2025.06.09 +DISTVERSION= 2025.08.27 CATEGORIES= www MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/ DISTNAME= ${PORTNAME} diff --git a/www/yt-dlp/distinfo b/www/yt-dlp/distinfo index fac82680ab98..13754cb479a7 100644 --- a/www/yt-dlp/distinfo +++ b/www/yt-dlp/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1749518754 -SHA256 (yt-dlp/2025.06.09/yt-dlp.tar.gz) = 46497ade23be173595d0bbdb41553873733696e0272fec5918cdcaebe17549aa -SIZE (yt-dlp/2025.06.09/yt-dlp.tar.gz) = 6025016 +TIMESTAMP = 1756371665 +SHA256 (yt-dlp/2025.08.27/yt-dlp.tar.gz) = a30442902fadf97280b91c24c4c2191c8ba17515b8a5dd835efc991c03b5bb7b +SIZE (yt-dlp/2025.08.27/yt-dlp.tar.gz) = 6018553 diff --git a/www/zgrab2/Makefile b/www/zgrab2/Makefile index ca41786b0e9a..a18fa165f6c0 100644 --- a/www/zgrab2/Makefile +++ b/www/zgrab2/Makefile @@ -1,7 +1,7 @@ PORTNAME= zgrab2 DISTVERSIONPREFIX= v DISTVERSION= 0.1.8 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= www MAINTAINER= yuri@FreeBSD.org diff --git a/www/zola/Makefile b/www/zola/Makefile index 353327c51a3c..c7fdfb18f503 100644 --- a/www/zola/Makefile +++ b/www/zola/Makefile @@ -1,6 +1,7 @@ PORTNAME= zola DISTVERSIONPREFIX= v DISTVERSION= 0.21.0 +PORTREVISION= 1 CATEGORIES= www MAINTAINER= bofh@FreeBSD.org |