git: a61a4309e6e6 - main - mail/thunderbird: update to 143.0 (rc1)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 11 Sep 2025 20:07:05 UTC
The branch main has been updated by cmt: URL: https://cgit.FreeBSD.org/ports/commit/?id=a61a4309e6e6de0520b526f2d7beb41d945bdb02 commit a61a4309e6e6de0520b526f2d7beb41d945bdb02 Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> AuthorDate: 2025-09-11 20:06:26 +0000 Commit: Christoph Moench-Tegeder <cmt@FreeBSD.org> CommitDate: 2025-09-11 20:06:26 +0000 mail/thunderbird: update to 143.0 (rc1) Release Notes (soon): https://www.thunderbird.net/en-US/thunderbird/143.0/releasenotes/ --- mail/thunderbird/Makefile | 5 +- mail/thunderbird/distinfo | 6 +- mail/thunderbird/files/patch-bug1874059 | 25 - mail/thunderbird/files/patch-bug1876632 | 35 - ...dom_media_webrtc_libwebrtc__overrides_moz.build | 18 + mail/thunderbird/files/patch-libwebrtc-generated | 8996 +++++++------------- 6 files changed, 2969 insertions(+), 6116 deletions(-) diff --git a/mail/thunderbird/Makefile b/mail/thunderbird/Makefile index 8dc975b738eb..2deb373d9cac 100644 --- a/mail/thunderbird/Makefile +++ b/mail/thunderbird/Makefile @@ -1,6 +1,5 @@ PORTNAME= thunderbird -DISTVERSION= 142.0 -PORTREVISION= 2 +DISTVERSION= 143.0 CATEGORIES= mail news net-im wayland MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}${DISTVERSIONSUFFIX}/source \ MOZILLA/${PORTNAME}/candidates/${DISTVERSION}${DISTVERSIONSUFFIX}-candidates/build1/source @@ -11,7 +10,7 @@ COMMENT= Mozilla Thunderbird is standalone mail and news that stands above WWW= https://www.thunderbird.net/ BUILD_DEPENDS= nspr>=4.32:devel/nspr \ - nss>=3.114:security/nss \ + nss>=3.115.1:security/nss \ libevent>=2.1.8:devel/libevent \ harfbuzz>=10.1.0:print/harfbuzz \ graphite2>=1.3.14:graphics/graphite2 \ diff --git a/mail/thunderbird/distinfo b/mail/thunderbird/distinfo index 5a693d4b66b0..4619534dcff0 100644 --- a/mail/thunderbird/distinfo +++ b/mail/thunderbird/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1755122675 -SHA256 (thunderbird-142.0.source.tar.xz) = 18f625452d2001ef1b5a1b47a77521c73c83e1bae824f783a0965d229c434e37 -SIZE (thunderbird-142.0.source.tar.xz) = 766056040 +TIMESTAMP = 1757612880 +SHA256 (thunderbird-143.0.source.tar.xz) = 6848eecfd0c5ce71fc21ecd3efbc503d019d3a1c7d8327bc416bcb20671bcad7 +SIZE (thunderbird-143.0.source.tar.xz) = 765829552 diff --git a/mail/thunderbird/files/patch-bug1874059 b/mail/thunderbird/files/patch-bug1874059 deleted file mode 100644 index 3fa954ef9def..000000000000 --- a/mail/thunderbird/files/patch-bug1874059 +++ /dev/null @@ -1,25 +0,0 @@ -commit 56c888446600991803fd92d668349101ad4bf160 -Author: Christoph Moench-Tegeder <cmt@burggraben.net> -Date: Tue Feb 6 22:51:27 2024 +0100 - - switch to -fvisibility flags - - this fixes linkage with llvm18 (which does not like the former - approach via the #pragma in gcc_hidden.h - - PR: 276746 - Submitted by: dim@ - -diff --git build/moz.configure/toolchain.configure build/moz.configure/toolchain.configure -index d08b748db250..4696f69153f6 100644 ---- build/moz.configure/toolchain.configure -+++ build/moz.configure/toolchain.configure -@@ -2186,7 +2186,7 @@ set_define("_LIBCPP_HIDE_FROM_ABI", libcxx_override_visibility.hide_from_abi) - @depends(target, build_environment) - def visibility_flags(target, env): - if target.os != "WINNT": -- if target.kernel == "Darwin": -+ if target.kernel == "Darwin" or target.kernel == "FreeBSD": - return ("-fvisibility=hidden", "-fvisibility-inlines-hidden") - return ( - "-I%s/system_wrappers" % os.path.join(env.dist), diff --git a/mail/thunderbird/files/patch-bug1876632 b/mail/thunderbird/files/patch-bug1876632 deleted file mode 100644 index 3932b1deccc9..000000000000 --- a/mail/thunderbird/files/patch-bug1876632 +++ /dev/null @@ -1,35 +0,0 @@ -commit 4f531ca86d24be5d4de673f6e652ed899151d20c -Author: Jesper Schmitz Mouridsen <jesper@schmitz.computer> -Date: Wed Jul 23 22:01:31 2025 +0000 - - Bug 1876632 Fix aslr allocations on FreeBSD r=spidermonkey-reviewers,sfink - - Without the alignment flag the desired address - gets randomized by aslr in a way which causes it to not - be aligned. Furthermore the TryToAlignChunk almost always - fails. With this fix it never gets to TryToAlignChunk - because the flag guarantees upfront alignment. - - Differential Revision: https://phabricator.services.mozilla.com/D257824 - -diff --git js/src/gc/Memory.cpp js/src/gc/Memory.cpp -index e790f1784ede..13639c9a6eb4 100644 ---- js/src/gc/Memory.cpp -+++ js/src/gc/Memory.cpp -@@ -608,7 +608,16 @@ static void* MapAlignedPagesRandom(size_t length, size_t alignment) { - for (size_t i = 1; i <= 1024; ++i) { - if (i & 0xf) { - uint64_t desired = alignment * GetNumberInRange(minNum, maxNum); -+# if defined(__FreeBSD__) && defined(__aarch64__) -+ int flags = MAP_PRIVATE | MAP_ANON | -+ MAP_ALIGNED(mozilla::CeilingLog2Size(alignment)); -+ region = MozTaggedAnonymousMmap((void*)(uintptr_t)desired, length, -+ int(PageAccess::ReadWrite), flags, -1, 0, -+ "js-gc-heap"); -+# else - region = MapMemoryAtFuzzy(reinterpret_cast<void*>(desired), length); -+ -+# endif - if (!region) { - continue; - } diff --git a/mail/thunderbird/files/patch-dom_media_webrtc_libwebrtc__overrides_moz.build b/mail/thunderbird/files/patch-dom_media_webrtc_libwebrtc__overrides_moz.build new file mode 100644 index 000000000000..d9dde78484f2 --- /dev/null +++ b/mail/thunderbird/files/patch-dom_media_webrtc_libwebrtc__overrides_moz.build @@ -0,0 +1,18 @@ +commit 18ea032974539d7f4db64d21a87fd174333b9e2c +Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> + + build XErrorTrap for FreeBSD, too + +diff --git dom/media/webrtc/libwebrtc_overrides/moz.build dom/media/webrtc/libwebrtc_overrides/moz.build +index ed9c450e5649..1ac213e48b28 100644 +--- dom/media/webrtc/libwebrtc_overrides/moz.build ++++ dom/media/webrtc/libwebrtc_overrides/moz.build +@@ -34,7 +34,7 @@ UNIFIED_SOURCES += [ + "call/call_basic_stats.cc", + ] + +-if CONFIG["OS_TARGET"] == "OpenBSD": ++if CONFIG["OS_TARGET"] in ("FreeBSD", "OpenBSD"): + CXXFLAGS += CONFIG["MOZ_X11_CFLAGS"] + UNIFIED_SOURCES += [ + "modules/desktop_capture/linux/x11/x_error_trap.cc", diff --git a/mail/thunderbird/files/patch-libwebrtc-generated b/mail/thunderbird/files/patch-libwebrtc-generated index e8c87e3227b3..5621fe23cf21 100644 --- a/mail/thunderbird/files/patch-libwebrtc-generated +++ b/mail/thunderbird/files/patch-libwebrtc-generated @@ -1,18 +1,19 @@ -commit e5b021e52acc5acc4c5c629bd51d9d23f76a6fa3 +commit b9b52a94471b7d6930b5c295c16ccf1512e6c86b Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> - regenerate FreeBSD libwebrtc patch for gecko 142 + regenerate FreeBSD libwebrtc patch for gecko 143 diff --git third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build -index 8311adfac314..8f928780f912 100644 +index 536af3b634ce..8dd2dcdb638b 100644 --- third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build +++ third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build -@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True +DEFINES["USE_GLIB"] = "1" +DEFINES["USE_OZONE"] = "1" + DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True +DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" DEFINES["WEBRTC_LIBRARY_IMPL"] = True @@ -29,7 +30,7 @@ index 8311adfac314..8f928780f912 100644 FINAL_LIBRARY = "xul" -@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -118,7 +119,7 @@ index 8311adfac314..8f928780f912 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -138,14 +139,12 @@ index 8311adfac314..8f928780f912 100644 - if CONFIG["TARGET_CPU"] == "mips32": -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -184,12 +183,10 @@ index 8311adfac314..8f928780f912 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": @@ -198,28 +195,27 @@ index 8311adfac314..8f928780f912 100644 - "-msse2" - ] - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": +if CONFIG["TARGET_CPU"] == "x86_64": -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("resource_adaptation_api_gn") diff --git third_party/libwebrtc/api/array_view_gn/moz.build third_party/libwebrtc/api/array_view_gn/moz.build -index 135d99581ad8..9d2850332b47 100644 +index aba4df15e70d..940c0813b07b 100644 --- third_party/libwebrtc/api/array_view_gn/moz.build +++ third_party/libwebrtc/api/array_view_gn/moz.build -@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True +DEFINES["USE_GLIB"] = "1" +DEFINES["USE_OZONE"] = "1" + DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True +DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" DEFINES["WEBRTC_LIBRARY_IMPL"] = True @@ -236,7 +232,7 @@ index 135d99581ad8..9d2850332b47 100644 FINAL_LIBRARY = "xul" -@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -325,7 +321,7 @@ index 135d99581ad8..9d2850332b47 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -341,19 +337,17 @@ index 135d99581ad8..9d2850332b47 100644 - if CONFIG["TARGET_CPU"] == "mips32": -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -379,35 +373,32 @@ index 135d99581ad8..9d2850332b47 100644 - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("array_view_gn") diff --git third_party/libwebrtc/api/async_dns_resolver_gn/moz.build third_party/libwebrtc/api/async_dns_resolver_gn/moz.build -index ef6f064da624..1e2e771f29ca 100644 +index 7071eaa2c55c..d06057bdb4c7 100644 --- third_party/libwebrtc/api/async_dns_resolver_gn/moz.build +++ third_party/libwebrtc/api/async_dns_resolver_gn/moz.build -@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True +DEFINES["USE_GLIB"] = "1" +DEFINES["USE_OZONE"] = "1" + DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True +DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" DEFINES["WEBRTC_LIBRARY_IMPL"] = True @@ -424,7 +415,7 @@ index ef6f064da624..1e2e771f29ca 100644 FINAL_LIBRARY = "xul" -@@ -41,95 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,95 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -521,7 +512,7 @@ index ef6f064da624..1e2e771f29ca 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -139,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -537,19 +528,17 @@ index ef6f064da624..1e2e771f29ca 100644 - if CONFIG["TARGET_CPU"] == "mips32": -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -167,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -167,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -575,35 +564,32 @@ index ef6f064da624..1e2e771f29ca 100644 - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("async_dns_resolver_gn") diff --git third_party/libwebrtc/api/audio/aec3_config_gn/moz.build third_party/libwebrtc/api/audio/aec3_config_gn/moz.build -index 2b26428acdeb..0e19e0930385 100644 +index f45b24581d13..8d009c9065e7 100644 --- third_party/libwebrtc/api/audio/aec3_config_gn/moz.build +++ third_party/libwebrtc/api/audio/aec3_config_gn/moz.build -@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True +DEFINES["USE_GLIB"] = "1" +DEFINES["USE_OZONE"] = "1" + DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True +DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" DEFINES["WEBRTC_LIBRARY_IMPL"] = True @@ -620,7 +606,7 @@ index 2b26428acdeb..0e19e0930385 100644 FINAL_LIBRARY = "xul" -@@ -45,87 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,87 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -709,7 +695,7 @@ index 2b26428acdeb..0e19e0930385 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -133,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -135,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -729,14 +715,12 @@ index 2b26428acdeb..0e19e0930385 100644 - if CONFIG["TARGET_CPU"] == "mips32": -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -775,12 +759,10 @@ index 2b26428acdeb..0e19e0930385 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": @@ -789,28 +771,27 @@ index 2b26428acdeb..0e19e0930385 100644 - "-msse2" - ] - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": +if CONFIG["TARGET_CPU"] == "x86_64": -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("aec3_config_gn") diff --git third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build -index b23d7d9d9c17..e43e72bb81ed 100644 +index 876aa9af22a9..af845805eb4a 100644 --- third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build +++ third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build -@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True +DEFINES["USE_GLIB"] = "1" +DEFINES["USE_OZONE"] = "1" + DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1" +DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" @@ -828,7 +809,7 @@ index b23d7d9d9c17..e43e72bb81ed 100644 FINAL_LIBRARY = "xul" -@@ -46,98 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -928,7 +909,7 @@ index b23d7d9d9c17..e43e72bb81ed 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -145,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -948,14 +929,12 @@ index b23d7d9d9c17..e43e72bb81ed 100644 - if CONFIG["TARGET_CPU"] == "mips32": -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -994,12 +973,10 @@ index b23d7d9d9c17..e43e72bb81ed 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": @@ -1008,28 +985,27 @@ index b23d7d9d9c17..e43e72bb81ed 100644 - "-msse2" - ] - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": +if CONFIG["TARGET_CPU"] == "x86_64": -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("aec3_factory_gn") diff --git third_party/libwebrtc/api/audio/audio_device_gn/moz.build third_party/libwebrtc/api/audio/audio_device_gn/moz.build -index 98aeebf3a0ff..4b9c82612b4f 100644 +index 4adeb31f19ea..dcaf6e34ca7f 100644 --- third_party/libwebrtc/api/audio/audio_device_gn/moz.build +++ third_party/libwebrtc/api/audio/audio_device_gn/moz.build -@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True +DEFINES["USE_GLIB"] = "1" +DEFINES["USE_OZONE"] = "1" + DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True +DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" DEFINES["WEBRTC_LIBRARY_IMPL"] = True @@ -1046,7 +1022,7 @@ index 98aeebf3a0ff..4b9c82612b4f 100644 FINAL_LIBRARY = "xul" -@@ -41,87 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -1135,7 +1111,7 @@ index 98aeebf3a0ff..4b9c82612b4f 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -129,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -1151,19 +1127,17 @@ index 98aeebf3a0ff..4b9c82612b4f 100644 - if CONFIG["TARGET_CPU"] == "mips32": -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -159,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -1189,35 +1163,32 @@ index 98aeebf3a0ff..4b9c82612b4f 100644 - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("audio_device_gn") diff --git third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build -index 4afb8112be80..ff3fe8f8a5ba 100644 +index b48e1554ff0c..4a0992b45863 100644 --- third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build +++ third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build -@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True +DEFINES["USE_GLIB"] = "1" +DEFINES["USE_OZONE"] = "1" + DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True +DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" DEFINES["WEBRTC_LIBRARY_IMPL"] = True @@ -1234,7 +1205,7 @@ index 4afb8112be80..ff3fe8f8a5ba 100644 FINAL_LIBRARY = "xul" -@@ -46,94 +55,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,94 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -1330,7 +1301,7 @@ index 4afb8112be80..ff3fe8f8a5ba 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,88 +63,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -143,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -1350,14 +1321,12 @@ index 4afb8112be80..ff3fe8f8a5ba 100644 - if CONFIG["TARGET_CPU"] == "mips32": -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -1396,12 +1365,10 @@ index 4afb8112be80..ff3fe8f8a5ba 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": @@ -1410,28 +1377,27 @@ index 4afb8112be80..ff3fe8f8a5ba 100644 - "-msse2" - ] - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": +if CONFIG["TARGET_CPU"] == "x86_64": -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("audio_frame_api_gn") diff --git third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build -index da677c9e1b98..107a73150225 100644 +index 4ade24b607cf..a862046a5e03 100644 --- third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build +++ third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build -@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True +DEFINES["USE_GLIB"] = "1" +DEFINES["USE_OZONE"] = "1" + DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True +DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" DEFINES["WEBRTC_LIBRARY_IMPL"] = True @@ -1448,7 +1414,7 @@ index da677c9e1b98..107a73150225 100644 FINAL_LIBRARY = "xul" -@@ -41,83 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -1533,7 +1499,7 @@ index da677c9e1b98..107a73150225 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -125,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -1549,19 +1515,17 @@ index da677c9e1b98..107a73150225 100644 - if CONFIG["TARGET_CPU"] == "mips32": -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -155,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -1587,35 +1551,32 @@ index da677c9e1b98..107a73150225 100644 - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("audio_frame_processor_gn") diff --git third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build -index 6b76e07f5f25..652ded4059f8 100644 +index e09b103e5937..e4f8ac284c15 100644 --- third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build +++ third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build -@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True +DEFINES["USE_GLIB"] = "1" +DEFINES["USE_OZONE"] = "1" + DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True +DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" DEFINES["WEBRTC_LIBRARY_IMPL"] = True @@ -1632,7 +1593,7 @@ index 6b76e07f5f25..652ded4059f8 100644 FINAL_LIBRARY = "xul" -@@ -41,94 +50,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,94 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -1728,7 +1689,7 @@ index 6b76e07f5f25..652ded4059f8 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -136,27 +58,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -1744,19 +1705,17 @@ index 6b76e07f5f25..652ded4059f8 100644 - if CONFIG["TARGET_CPU"] == "mips32": -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": -@@ -166,44 +71,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -1782,35 +1741,32 @@ index 6b76e07f5f25..652ded4059f8 100644 - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - Library("audio_mixer_api_gn") diff --git third_party/libwebrtc/api/audio/audio_processing_gn/moz.build third_party/libwebrtc/api/audio/audio_processing_gn/moz.build -index 0ec4e1d61792..ef24358b9306 100644 +index f4aae5e715d8..d7a94ce58f8f 100644 --- third_party/libwebrtc/api/audio/audio_processing_gn/moz.build +++ third_party/libwebrtc/api/audio/audio_processing_gn/moz.build -@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True +DEFINES["USE_GLIB"] = "1" +DEFINES["USE_OZONE"] = "1" + DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True +DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" DEFINES["WEBRTC_LIBRARY_IMPL"] = True @@ -1827,7 +1783,7 @@ index 0ec4e1d61792..ef24358b9306 100644 FINAL_LIBRARY = "xul" -@@ -45,98 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -1927,7 +1883,7 @@ index 0ec4e1d61792..ef24358b9306 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -144,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -1947,14 +1903,12 @@ index 0ec4e1d61792..ef24358b9306 100644 - if CONFIG["TARGET_CPU"] == "mips32": -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["TARGET_CPU"] == "mips64": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True if CONFIG["TARGET_CPU"] == "x86": @@ -1993,12 +1947,10 @@ index 0ec4e1d61792..ef24358b9306 100644 -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": @@ -2007,28 +1959,27 @@ index 0ec4e1d61792..ef24358b9306 100644 - "-msse2" - ] - -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": +if CONFIG["TARGET_CPU"] == "x86_64": -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("audio_processing_gn") diff --git third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build -index de14dfdb12f8..292973c3234d 100644 +index 7e5b71d14cb2..28ea7419731a 100644 --- third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build +++ third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build -@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True +DEFINES["USE_GLIB"] = "1" +DEFINES["USE_OZONE"] = "1" + DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True +DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" DEFINES["WEBRTC_LIBRARY_IMPL"] = True @@ -2045,7 +1996,7 @@ index de14dfdb12f8..292973c3234d 100644 FINAL_LIBRARY = "xul" -@@ -45,83 +54,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,83 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -2130,7 +2081,7 @@ index de14dfdb12f8..292973c3234d 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -129,88 +62,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -131,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -2150,14 +2101,12 @@ index de14dfdb12f8..292973c3234d 100644 - if CONFIG["TARGET_CPU"] == "mips32": -- DEFINES["CR_SYSROOT_KEY"] = "20250129T203412Z-1" DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True - DEFINES["_GNU_SOURCE"] = True - *** 40405 LINES SKIPPED ***