Date: Thu, 04 Dec 2025 20:10:35 +0000 From: Christoph Moench-Tegeder <cmt@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org Subject: git: c05a5430ac25 - 2025Q4 - mail/thunderbird: update to 146.0 (rc1) Message-ID: <6931eabb.26f73.3a70d0b9@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch 2025Q4 has been updated by cmt: URL: https://cgit.FreeBSD.org/ports/commit/?id=c05a5430ac25b0bd485beae5083b5e81d633ebc1 commit c05a5430ac25b0bd485beae5083b5e81d633ebc1 Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> AuthorDate: 2025-12-04 20:08:41 +0000 Commit: Christoph Moench-Tegeder <cmt@FreeBSD.org> CommitDate: 2025-12-04 20:10:21 +0000 mail/thunderbird: update to 146.0 (rc1) Releaes Notes: https://www.thunderbird.net/en-US/thunderbird/146.0/releasenotes/ (cherry picked from commit bcbde69a5a8499cd75c453eb88bf7fcfbe718771) --- mail/thunderbird/Makefile | 8 +- mail/thunderbird/distinfo | 6 +- mail/thunderbird/files/patch-libwebrtc-generated | 6983 +++++++++----------- ...arty_libwebrtc_modules_portal_pipewire__utils.h | 19 + 4 files changed, 3268 insertions(+), 3748 deletions(-) diff --git a/mail/thunderbird/Makefile b/mail/thunderbird/Makefile index 3d728eac648f..e5c18e088691 100644 --- a/mail/thunderbird/Makefile +++ b/mail/thunderbird/Makefile @@ -1,9 +1,9 @@ PORTNAME= thunderbird -DISTVERSION= 145.0 -PORTREVISION= 2 +DISTVERSION= 146.0 + CATEGORIES= mail news net-im wayland MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}${DISTVERSIONSUFFIX}/source \ - MOZILLA/${PORTNAME}/candidates/${DISTVERSION}${DISTVERSIONSUFFIX}-candidates/build2/source + MOZILLA/${PORTNAME}/candidates/${DISTVERSION}${DISTVERSIONSUFFIX}-candidates/build1/source DISTFILES= ${DISTNAME}.source${EXTRACT_SUFX} MAINTAINER= gecko@FreeBSD.org @@ -11,7 +11,7 @@ COMMENT= Mozilla Thunderbird is standalone mail and news that stands above WWW= https://www.thunderbird.net/ BUILD_DEPENDS= nspr>=4.32:devel/nspr \ - nss>=3.117:security/nss \ + nss>=3.118: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 9d7c97edee62..f92b7201b100 100644 --- a/mail/thunderbird/distinfo +++ b/mail/thunderbird/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1763060464 -SHA256 (thunderbird-145.0.source.tar.xz) = 4c24f99c45ac909e79f71072549ffcc2866097a6f5fab1dfd41c51918978b9b1 -SIZE (thunderbird-145.0.source.tar.xz) = 782126204 +TIMESTAMP = 1764876162 +SHA256 (thunderbird-146.0.source.tar.xz) = bd28bba1a10a709709eeaff40d605d523f58daf9f7c0d46798107129c1190c08 +SIZE (thunderbird-146.0.source.tar.xz) = 775218464 diff --git a/mail/thunderbird/files/patch-libwebrtc-generated b/mail/thunderbird/files/patch-libwebrtc-generated index c09d5d546918..870dbd0fc349 100644 --- a/mail/thunderbird/files/patch-libwebrtc-generated +++ b/mail/thunderbird/files/patch-libwebrtc-generated @@ -1,13 +1,14 @@ -commit 2cc9257c2e654c532598271ed04efddda1e5f082 +commit 91d5feee32ac273c405d11b7533478e125ba1b28 Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> +Date: Tue Nov 25 22:46:47 2025 +0000 - regenerate FreeBSD libwebrtc patch for gecko 145 + regenerate FreeBSD libwebrtc patch for gecko 146 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 34349a80d52b..fa28d93f2ce7 100644 +index aee79e4f8762..53fb767b2713 100644 --- third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build +++ third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build -@@ -9,17 +9,30 @@ +@@ -9,16 +9,29 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] AllowCompilerWarnings() @@ -21,7 +22,6 @@ index 34349a80d52b..fa28d93f2ce7 100644 DEFINES["RTC_ENABLE_VP9"] = True +DEFINES["USE_GLIB"] = "1" +DEFINES["USE_OZONE"] = "1" - DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True +DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" DEFINES["WEBRTC_LIBRARY_IMPL"] = True @@ -38,7 +38,7 @@ index 34349a80d52b..fa28d93f2ce7 100644 FINAL_LIBRARY = "xul" -@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,107 +59,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -147,7 +147,7 @@ index 34349a80d52b..fa28d93f2ce7 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -154,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -234,16 +234,15 @@ index 34349a80d52b..fa28d93f2ce7 100644 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 aba4df15e70d..940c0813b07b 100644 +index bd1db8d43c59..b9b8f890ae52 100644 --- third_party/libwebrtc/api/array_view_gn/moz.build +++ third_party/libwebrtc/api/array_view_gn/moz.build -@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True +DEFINES["USE_GLIB"] = "1" +DEFINES["USE_OZONE"] = "1" - DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True +DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" DEFINES["WEBRTC_LIBRARY_IMPL"] = True @@ -260,7 +259,7 @@ index aba4df15e70d..940c0813b07b 100644 FINAL_LIBRARY = "xul" -@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -42,87 +51,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -349,7 +348,7 @@ index aba4df15e70d..940c0813b07b 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -130,25 +59,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -375,7 +374,7 @@ index aba4df15e70d..940c0813b07b 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -158,40 +72,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -417,16 +416,15 @@ index aba4df15e70d..940c0813b07b 100644 - 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 7071eaa2c55c..d06057bdb4c7 100644 +index 02d940bac470..eaca805506ef 100644 --- third_party/libwebrtc/api/async_dns_resolver_gn/moz.build +++ third_party/libwebrtc/api/async_dns_resolver_gn/moz.build -@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True +DEFINES["USE_GLIB"] = "1" +DEFINES["USE_OZONE"] = "1" - DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True +DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" DEFINES["WEBRTC_LIBRARY_IMPL"] = True @@ -443,7 +441,7 @@ index 7071eaa2c55c..d06057bdb4c7 100644 FINAL_LIBRARY = "xul" -@@ -43,95 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -42,95 +51,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -540,7 +538,7 @@ index 7071eaa2c55c..d06057bdb4c7 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -139,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -138,25 +59,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -566,7 +564,7 @@ index 7071eaa2c55c..d06057bdb4c7 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -167,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -166,40 +72,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -608,10 +606,10 @@ index 7071eaa2c55c..d06057bdb4c7 100644 - Library("async_dns_resolver_gn") diff --git third_party/libwebrtc/api/audio/aec3_config_gn/moz.build third_party/libwebrtc/api/audio/aec3_config_gn/moz.build -index 9d1275357cc4..63a660cb0be8 100644 +index 9281d07ae0fd..6b5d596ace4a 100644 --- third_party/libwebrtc/api/audio/aec3_config_gn/moz.build +++ third_party/libwebrtc/api/audio/aec3_config_gn/moz.build -@@ -9,17 +9,30 @@ +@@ -9,16 +9,29 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] AllowCompilerWarnings() @@ -625,7 +623,6 @@ index 9d1275357cc4..63a660cb0be8 100644 DEFINES["RTC_ENABLE_VP9"] = True +DEFINES["USE_GLIB"] = "1" +DEFINES["USE_OZONE"] = "1" - DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True +DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" DEFINES["WEBRTC_LIBRARY_IMPL"] = True @@ -642,7 +639,7 @@ index 9d1275357cc4..63a660cb0be8 100644 FINAL_LIBRARY = "xul" -@@ -47,107 +60,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,107 +59,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -751,7 +748,7 @@ index 9d1275357cc4..63a660cb0be8 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -155,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -154,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -838,10 +835,10 @@ index 9d1275357cc4..63a660cb0be8 100644 Library("aec3_config_gn") diff --git third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build -index 0da503561773..35a17e7b8dd2 100644 +index 21a38089fa53..9edfe25c428b 100644 --- third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build +++ third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build -@@ -9,18 +9,31 @@ +@@ -9,17 +9,30 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] AllowCompilerWarnings() @@ -855,7 +852,6 @@ index 0da503561773..35a17e7b8dd2 100644 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" @@ -873,7 +869,7 @@ index 0da503561773..35a17e7b8dd2 100644 FINAL_LIBRARY = "xul" -@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -989,7 +985,7 @@ index 0da503561773..35a17e7b8dd2 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -1076,16 +1072,15 @@ index 0da503561773..35a17e7b8dd2 100644 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 4adeb31f19ea..dcaf6e34ca7f 100644 +index ec9e287800f9..8406c1f27370 100644 --- third_party/libwebrtc/api/audio/audio_device_gn/moz.build +++ third_party/libwebrtc/api/audio/audio_device_gn/moz.build -@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True +DEFINES["USE_GLIB"] = "1" +DEFINES["USE_OZONE"] = "1" - DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True +DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" DEFINES["WEBRTC_LIBRARY_IMPL"] = True @@ -1102,7 +1097,7 @@ index 4adeb31f19ea..dcaf6e34ca7f 100644 FINAL_LIBRARY = "xul" -@@ -43,87 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -42,87 +51,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -1191,7 +1186,7 @@ index 4adeb31f19ea..dcaf6e34ca7f 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -131,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -130,25 +59,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -1217,7 +1212,7 @@ index 4adeb31f19ea..dcaf6e34ca7f 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -159,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -158,40 +72,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -1259,10 +1254,10 @@ index 4adeb31f19ea..dcaf6e34ca7f 100644 - Library("audio_device_gn") diff --git third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build -index e3f1eeca0543..a66627db589f 100644 +index 48004d56d26c..eead287814ee 100644 --- third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build +++ third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build -@@ -9,17 +9,30 @@ +@@ -9,16 +9,29 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] AllowCompilerWarnings() @@ -1276,7 +1271,6 @@ index e3f1eeca0543..a66627db589f 100644 DEFINES["RTC_ENABLE_VP9"] = True +DEFINES["USE_GLIB"] = "1" +DEFINES["USE_OZONE"] = "1" - DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True +DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" DEFINES["WEBRTC_LIBRARY_IMPL"] = True @@ -1293,7 +1287,7 @@ index e3f1eeca0543..a66627db589f 100644 FINAL_LIBRARY = "xul" -@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -1409,7 +1403,7 @@ index e3f1eeca0543..a66627db589f 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -1496,16 +1490,15 @@ index e3f1eeca0543..a66627db589f 100644 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 4ade24b607cf..a862046a5e03 100644 +index e24b887aca02..afe5ea321104 100644 --- third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build +++ third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build -@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True +DEFINES["USE_GLIB"] = "1" +DEFINES["USE_OZONE"] = "1" - DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True +DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" DEFINES["WEBRTC_LIBRARY_IMPL"] = True @@ -1522,7 +1515,7 @@ index 4ade24b607cf..a862046a5e03 100644 FINAL_LIBRARY = "xul" -@@ -43,83 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -42,83 +51,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -1607,7 +1600,7 @@ index 4ade24b607cf..a862046a5e03 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -127,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -126,25 +59,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -1633,7 +1626,7 @@ index 4ade24b607cf..a862046a5e03 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -155,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -154,40 +72,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -1675,16 +1668,15 @@ index 4ade24b607cf..a862046a5e03 100644 - 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 e09b103e5937..e4f8ac284c15 100644 +index c71e4aefc473..d5094f32fe87 100644 --- third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build +++ third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build -@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True +DEFINES["USE_GLIB"] = "1" +DEFINES["USE_OZONE"] = "1" - DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True +DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" DEFINES["WEBRTC_LIBRARY_IMPL"] = True @@ -1701,7 +1693,7 @@ index e09b103e5937..e4f8ac284c15 100644 FINAL_LIBRARY = "xul" -@@ -43,94 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -42,94 +51,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -1797,7 +1789,7 @@ index e09b103e5937..e4f8ac284c15 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -137,25 +59,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -1823,7 +1815,7 @@ index e09b103e5937..e4f8ac284c15 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -165,40 +72,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -1865,10 +1857,10 @@ index e09b103e5937..e4f8ac284c15 100644 - Library("audio_mixer_api_gn") diff --git third_party/libwebrtc/api/audio/audio_processing_gn/moz.build third_party/libwebrtc/api/audio/audio_processing_gn/moz.build -index e051e02a6d30..a4acafe34678 100644 +index d978579b2abd..8ca9f207ec62 100644 --- third_party/libwebrtc/api/audio/audio_processing_gn/moz.build +++ third_party/libwebrtc/api/audio/audio_processing_gn/moz.build -@@ -9,17 +9,30 @@ +@@ -9,16 +9,29 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] AllowCompilerWarnings() @@ -1882,7 +1874,6 @@ index e051e02a6d30..a4acafe34678 100644 DEFINES["RTC_ENABLE_VP9"] = True +DEFINES["USE_GLIB"] = "1" +DEFINES["USE_OZONE"] = "1" - DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True +DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" DEFINES["WEBRTC_LIBRARY_IMPL"] = True @@ -1899,7 +1890,7 @@ index e051e02a6d30..a4acafe34678 100644 FINAL_LIBRARY = "xul" -@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,114 +59,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -2015,7 +2006,7 @@ index e051e02a6d30..a4acafe34678 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -161,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -2102,10 +2093,10 @@ index e051e02a6d30..a4acafe34678 100644 Library("audio_processing_gn") diff --git third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build -index 0914f0e18b89..a56412ac2f5a 100644 +index bcbad6855330..fc175bc15db7 100644 --- third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build +++ third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build -@@ -9,17 +9,30 @@ +@@ -9,16 +9,29 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] AllowCompilerWarnings() @@ -2119,7 +2110,6 @@ index 0914f0e18b89..a56412ac2f5a 100644 DEFINES["RTC_ENABLE_VP9"] = True +DEFINES["USE_GLIB"] = "1" +DEFINES["USE_OZONE"] = "1" - DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True +DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" DEFINES["WEBRTC_LIBRARY_IMPL"] = True @@ -2136,7 +2126,7 @@ index 0914f0e18b89..a56412ac2f5a 100644 FINAL_LIBRARY = "xul" -@@ -47,103 +60,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,103 +59,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -2241,7 +2231,7 @@ index 0914f0e18b89..a56412ac2f5a 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -151,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -150,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -2328,10 +2318,10 @@ index 0914f0e18b89..a56412ac2f5a 100644 Library("audio_processing_statistics_gn") diff --git third_party/libwebrtc/api/audio/builtin_audio_processing_builder_gn/moz.build third_party/libwebrtc/api/audio/builtin_audio_processing_builder_gn/moz.build -index 87b27f4ee9fd..08b604c3e8ad 100644 +index 91819267ea18..190da4597629 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 -@@ -9,18 +9,31 @@ +@@ -9,17 +9,30 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] AllowCompilerWarnings() @@ -2345,7 +2335,6 @@ index 87b27f4ee9fd..08b604c3e8ad 100644 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" @@ -2363,7 +2352,7 @@ index 87b27f4ee9fd..08b604c3e8ad 100644 FINAL_LIBRARY = "xul" -@@ -48,114 +61,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -2479,7 +2468,7 @@ index 87b27f4ee9fd..08b604c3e8ad 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -163,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -2566,16 +2555,15 @@ index 87b27f4ee9fd..08b604c3e8ad 100644 Library("builtin_audio_processing_builder_gn") diff --git third_party/libwebrtc/api/audio/echo_control_gn/moz.build third_party/libwebrtc/api/audio/echo_control_gn/moz.build -index 62ebaabf6d01..d6be6247afbe 100644 +index 0447b43cda76..e63333ff3a68 100644 --- third_party/libwebrtc/api/audio/echo_control_gn/moz.build +++ third_party/libwebrtc/api/audio/echo_control_gn/moz.build -@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" +@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True DEFINES["RTC_ENABLE_VP9"] = True +DEFINES["USE_GLIB"] = "1" +DEFINES["USE_OZONE"] = "1" - DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True +DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" DEFINES["WEBRTC_LIBRARY_IMPL"] = True @@ -2592,7 +2580,7 @@ index 62ebaabf6d01..d6be6247afbe 100644 FINAL_LIBRARY = "xul" -@@ -43,94 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -42,94 +51,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -2688,7 +2676,7 @@ index 62ebaabf6d01..d6be6247afbe 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -137,25 +59,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -2714,7 +2702,7 @@ index 62ebaabf6d01..d6be6247afbe 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -165,40 +72,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -2756,10 +2744,10 @@ index 62ebaabf6d01..d6be6247afbe 100644 - Library("echo_control_gn") diff --git third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build -index eb476bf4e811..0ca908fc006c 100644 +index ddc08b43582a..3474430e39d6 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 -@@ -9,17 +9,30 @@ +@@ -9,16 +9,29 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] AllowCompilerWarnings() @@ -2773,7 +2761,6 @@ index eb476bf4e811..0ca908fc006c 100644 DEFINES["RTC_ENABLE_VP9"] = True +DEFINES["USE_GLIB"] = "1" +DEFINES["USE_OZONE"] = "1" - DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True +DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" DEFINES["WEBRTC_LIBRARY_IMPL"] = True @@ -2790,7 +2777,7 @@ index eb476bf4e811..0ca908fc006c 100644 FINAL_LIBRARY = "xul" -@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -46,114 +59,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -2906,7 +2893,7 @@ index eb476bf4e811..0ca908fc006c 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -162,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -161,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -2993,10 +2980,246 @@ index eb476bf4e811..0ca908fc006c 100644 Library("audio_decoder_L16_gn") diff --git third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build -index f8b716d152d9..128a13fa8b29 100644 +index 4f20b35f175a..c897f5d972c6 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 -@@ -9,17 +9,30 @@ +@@ -9,16 +9,29 @@ + COMPILE_FLAGS["OS_INCLUDES"] = [] + AllowCompilerWarnings() + ++CXXFLAGS += [ ++ "-std=gnu++20" ++] ++ + DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" + DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" + DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True + DEFINES["RTC_ENABLE_VP9"] = True ++DEFINES["USE_GLIB"] = "1" ++DEFINES["USE_OZONE"] = "1" ++DEFINES["WEBRTC_BSD"] = True + DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" + DEFINES["WEBRTC_LIBRARY_IMPL"] = True + DEFINES["WEBRTC_MOZILLA_BUILD"] = True + DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" ++DEFINES["WEBRTC_POSIX"] = True + DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" ++DEFINES["_FILE_OFFSET_BITS"] = "64" ++DEFINES["_LARGEFILE64_SOURCE"] = True ++DEFINES["_LARGEFILE_SOURCE"] = True + DEFINES["_LIBCPP_HARDENING_MODE"] = "_LIBCPP_HARDENING_MODE_NONE" ++DEFINES["__STDC_CONSTANT_MACROS"] = True ++DEFINES["__STDC_FORMAT_MACROS"] = True + + FINAL_LIBRARY = "xul" + +@@ -46,114 +59,7 @@ if not CONFIG["MOZ_DEBUG"]: + if CONFIG["MOZ_DEBUG"] == "1": + + DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" +- +-if CONFIG["OS_TARGET"] == "Android": +- +- CXXFLAGS += [ +- "-std=gnu++20" +- ] +- +- DEFINES["ANDROID"] = True +- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" +- DEFINES["HAVE_SYS_UIO_H"] = True +- DEFINES["WEBRTC_ANDROID"] = True +- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True +- DEFINES["WEBRTC_LINUX"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["_GNU_SOURCE"] = True +- DEFINES["__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +- OS_LIBS += [ +- "log" +- ] +- +-if CONFIG["OS_TARGET"] == "Darwin": +- +- CXXFLAGS += [ +- "-std=gnu++20" +- ] +- +- DEFINES["WEBRTC_MAC"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +-if CONFIG["OS_TARGET"] == "Linux": +- +- CXXFLAGS += [ +- "-std=gnu++20" +- ] +- +- DEFINES["USE_AURA"] = "1" +- DEFINES["USE_GLIB"] = "1" +- DEFINES["USE_OZONE"] = "1" +- DEFINES["USE_UDEV"] = True +- DEFINES["WEBRTC_LINUX"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["_FILE_OFFSET_BITS"] = "64" +- DEFINES["_GLIBCXX_ASSERTIONS"] = "1" +- DEFINES["_LARGEFILE64_SOURCE"] = True +- DEFINES["_LARGEFILE_SOURCE"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +-if CONFIG["OS_TARGET"] == "OpenBSD": +- +- CXXFLAGS += [ +- "-std=gnu++20" +- ] +- +- DEFINES["USE_GLIB"] = "1" +- DEFINES["USE_OZONE"] = "1" +- DEFINES["WEBRTC_BSD"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["_FILE_OFFSET_BITS"] = "64" +- DEFINES["_LARGEFILE64_SOURCE"] = True +- DEFINES["_LARGEFILE_SOURCE"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +-if CONFIG["OS_TARGET"] == "WINNT": +- +- CXXFLAGS += [ +- "-std:c++20" +- ] +- +- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True +- DEFINES["NOMINMAX"] = True +- DEFINES["NTDDI_VERSION"] = "0x0A000000" +- DEFINES["PSAPI_VERSION"] = "2" +- DEFINES["RTC_ENABLE_WIN_WGC"] = True +- DEFINES["UNICODE"] = True +- DEFINES["USE_AURA"] = "1" +- DEFINES["WEBRTC_WIN"] = True +- DEFINES["WIN32"] = True +- DEFINES["WIN32_LEAN_AND_MEAN"] = True +- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" +- DEFINES["WINVER"] = "0x0A00" +- DEFINES["_ATL_NO_OPENGL"] = True +- DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True +- DEFINES["_CRT_RAND_S"] = True +- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True +- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True +- DEFINES["_HAS_EXCEPTIONS"] = "0" +- DEFINES["_HAS_NODISCARD"] = True +- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True +- DEFINES["_SECURE_ATL"] = True +- DEFINES["_UNICODE"] = True +- DEFINES["_WIN32_WINNT"] = "0x0A00" +- DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True +- DEFINES["__STD_C"] = True +- +- OS_LIBS += [ +- "crypt32", +- "iphlpapi", +- "secur32", +- "winmm" +- ] ++ DEFINES["_DEBUG"] = True + + if CONFIG["TARGET_CPU"] == "aarch64": + +@@ -161,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": + DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" + +-if CONFIG["TARGET_CPU"] == "arm": +- +- CXXFLAGS += [ +- "-mfpu=neon" +- ] +- +- DEFINES["WEBRTC_ARCH_ARM"] = True +- DEFINES["WEBRTC_ARCH_ARM_V7"] = True +- DEFINES["WEBRTC_HAS_NEON"] = True +- +-if CONFIG["TARGET_CPU"] == "loongarch64": +- +- DEFINES["_GNU_SOURCE"] = True +- + if CONFIG["TARGET_CPU"] == "mips32": + + DEFINES["MIPS32_LE"] = True + DEFINES["MIPS_FPU_LE"] = True +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["TARGET_CPU"] == "mips64": +- +- DEFINES["_GNU_SOURCE"] = True + + if CONFIG["TARGET_CPU"] == "x86": + +- DEFINES["WEBRTC_ENABLE_AVX2"] = True +- +-if CONFIG["TARGET_CPU"] == "x86_64": +- +- DEFINES["WEBRTC_ENABLE_AVX2"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": +- +- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" +- +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": +- +- CXXFLAGS += [ +- "-msse2" +- ] +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": +- +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": +- +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": +- + CXXFLAGS += [ + "-msse2" + ] + +- DEFINES["_GNU_SOURCE"] = True ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True + +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": ++if CONFIG["TARGET_CPU"] == "x86_64": + +- DEFINES["_GNU_SOURCE"] = True ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True + + Library("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 34219b497edb..f92b57a92fad 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 +@@ -9,16 +9,29 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] AllowCompilerWarnings() @@ -3010,7 +3233,6 @@ index f8b716d152d9..128a13fa8b29 100644 DEFINES["RTC_ENABLE_VP9"] = True +DEFINES["USE_GLIB"] = "1" +DEFINES["USE_OZONE"] = "1" - DEFINES["WEBRTC_ALLOW_DEPRECATED_NAMESPACES"] = True +DEFINES["WEBRTC_BSD"] = True DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" DEFINES["WEBRTC_LIBRARY_IMPL"] = True @@ -3027,244 +3249,7 @@ index f8b716d152d9..128a13fa8b29 100644 FINAL_LIBRARY = "xul" -@@ -47,114 +60,7 @@ if not CONFIG["MOZ_DEBUG"]: - if CONFIG["MOZ_DEBUG"] == "1": - - DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" -- --if CONFIG["OS_TARGET"] == "Android": -- -- CXXFLAGS += [ -- "-std=gnu++20" -- ] -- -- DEFINES["ANDROID"] = True -- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" -- DEFINES["HAVE_SYS_UIO_H"] = True -- DEFINES["WEBRTC_ANDROID"] = True -- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True -- DEFINES["WEBRTC_LINUX"] = True -- DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_GNU_SOURCE"] = True -- DEFINES["__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__"] = True -- DEFINES["__STDC_CONSTANT_MACROS"] = True -- DEFINES["__STDC_FORMAT_MACROS"] = True -- -- OS_LIBS += [ -- "log" -- ] -- --if CONFIG["OS_TARGET"] == "Darwin": -- -- CXXFLAGS += [ -- "-std=gnu++20" -- ] -- -- DEFINES["WEBRTC_MAC"] = True -- DEFINES["WEBRTC_POSIX"] = True -- DEFINES["__STDC_CONSTANT_MACROS"] = True -- DEFINES["__STDC_FORMAT_MACROS"] = True -- --if CONFIG["OS_TARGET"] == "Linux": -- -- CXXFLAGS += [ -- "-std=gnu++20" -- ] -- -- DEFINES["USE_AURA"] = "1" -- DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_OZONE"] = "1" -- DEFINES["USE_UDEV"] = True -- DEFINES["WEBRTC_LINUX"] = True -- DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_FILE_OFFSET_BITS"] = "64" -- DEFINES["_GLIBCXX_ASSERTIONS"] = "1" -- DEFINES["_LARGEFILE64_SOURCE"] = True -- DEFINES["_LARGEFILE_SOURCE"] = True -- DEFINES["__STDC_CONSTANT_MACROS"] = True -- DEFINES["__STDC_FORMAT_MACROS"] = True -- --if CONFIG["OS_TARGET"] == "OpenBSD": -- -- CXXFLAGS += [ -- "-std=gnu++20" -- ] -- -- DEFINES["USE_GLIB"] = "1" -- DEFINES["USE_OZONE"] = "1" -- DEFINES["WEBRTC_BSD"] = True -- DEFINES["WEBRTC_POSIX"] = True -- DEFINES["_FILE_OFFSET_BITS"] = "64" *** 22508 LINES SKIPPED ***help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6931eabb.26f73.3a70d0b9>
