FreeBSD Bugzilla – Attachment 259267 Details for
Bug 285842
www/librewolf: update to 137.0-1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-librewolf-update-to-137.0-1.patch
0001-librewolf-update-to-137.0-1.patch (text/plain), 726.62 KB, created by
Martin Filla
on 2025-04-02 08:34:34 UTC
(
hide
)
Description:
0001-librewolf-update-to-137.0-1.patch
Filename:
MIME Type:
Creator:
Martin Filla
Created:
2025-04-02 08:34:34 UTC
Size:
726.62 KB
patch
obsolete
>From 499618086bf4566bbcd6a810039652f63487651a Mon Sep 17 00:00:00 2001 >From: Martin Filla <freebsd@sysctl.cz> >Date: Wed, 2 Apr 2025 09:46:33 +0200 >Subject: [PATCH] librewolf: update to 137.0-1 > >--- > www/librewolf/Makefile | 4 +- > www/librewolf/distinfo | 6 +- > www/librewolf/files/patch-bug1948776 | 8 +- > ...cessor.py => patch-build_gn__processor.py} | 20 +- > www/librewolf/files/patch-libwebrtc-generated | 7444 +++++++++++------ > 5 files changed, 4989 insertions(+), 2493 deletions(-) > rename www/librewolf/files/{patch-python_mozbuild_mozbuild_gn__processor.py => patch-build_gn__processor.py} (76%) > >diff --git a/www/librewolf/Makefile b/www/librewolf/Makefile >index f78783a15397..b6bbf1ff68dc 100644 >--- a/www/librewolf/Makefile >+++ b/www/librewolf/Makefile >@@ -1,5 +1,5 @@ > PORTNAME= librewolf >-DISTVERSION= 136.0.4 >+DISTVERSION= 137.0 > DISTVERSIONSUFFIX= -1.source > CATEGORIES= www wayland > MASTER_SITES= https://gitlab.com/api/v4/projects/32320088/packages/generic/${PORTNAME}-source/${DISTVERSION}-1/ >@@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE > BROKEN_armv7= error: could not compile `gkrust` (lib) > > BUILD_DEPENDS= nspr>=4.32:devel/nspr \ >- nss>=3.108:security/nss \ >+ nss>=3.109:security/nss \ > libevent>=2.1.8:devel/libevent \ > harfbuzz>=10.1.0:print/harfbuzz \ > graphite2>=1.3.14:graphics/graphite2 \ >diff --git a/www/librewolf/distinfo b/www/librewolf/distinfo >index 1d3d0e4b53fa..700ed7daf2da 100644 >--- a/www/librewolf/distinfo >+++ b/www/librewolf/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1743145664 >-SHA256 (librewolf-136.0.4-1.source.tar.gz) = cd362353d4f856a3309adae9d922bc05ca165d4031f02e526ad488ef8f8130a5 >-SIZE (librewolf-136.0.4-1.source.tar.gz) = 974932364 >+TIMESTAMP = 1743578731 >+SHA256 (librewolf-137.0-1.source.tar.gz) = 9ff46d1294210d7f617c81d560e9ba507f9acf88195fabefc2cc5b6cd55bcbc1 >+SIZE (librewolf-137.0-1.source.tar.gz) = 985571896 >diff --git a/www/librewolf/files/patch-bug1948776 b/www/librewolf/files/patch-bug1948776 >index 86953f4e4472..d969a28a0dec 100644 >--- a/www/librewolf/files/patch-bug1948776 >+++ b/www/librewolf/files/patch-bug1948776 >@@ -21,9 +21,9 @@ index 61121bcbaf8d..b31f2200e8e6 100644 > - void* memory = mmap(nullptr, aSize, PROT_NONE, > - MAP_ANONYMOUS | MAP_NORESERVE | MAP_PRIVATE, -1, 0); > +#ifndef __FreeBSD__ >-+ int flags = MAP_ANONYMOUS | MAP_NORESERVE | MAP_PRIVATE; >++ constexpr int flags = MAP_ANONYMOUS | MAP_NORESERVE | MAP_PRIVATE; > +#else >-+ int flags = MAP_ANONYMOUS | MAP_PRIVATE; >++ constexpr int flags = MAP_ANONYMOUS | MAP_PRIVATE; > +#endif > + void* memory = mmap(nullptr, aSize, PROT_NONE, flags, -1, 0); > if (memory == MAP_FAILED) { >@@ -40,9 +40,9 @@ index da279f469237..9ed83af4b1f2 100644 > - void* memory = mmap(nullptr, size, PROT_NONE, > - MAP_ANONYMOUS | MAP_NORESERVE | MAP_PRIVATE, -1, 0); > +#ifndef __FreeBSD__ >-+ int flags = MAP_ANONYMOUS | MAP_NORESERVE | MAP_PRIVATE; >++ constexpr int flags = MAP_ANONYMOUS | MAP_NORESERVE | MAP_PRIVATE; > +#else >-+ int flags = MAP_ANONYMOUS | MAP_PRIVATE; >++ constexpr int flags = MAP_ANONYMOUS | MAP_PRIVATE; > +#endif > + void* memory = mmap(nullptr, size, PROT_NONE, flags, -1, 0); > if (memory == MAP_FAILED) { >diff --git a/www/librewolf/files/patch-python_mozbuild_mozbuild_gn__processor.py b/www/librewolf/files/patch-build_gn__processor.py >similarity index 76% >rename from www/librewolf/files/patch-python_mozbuild_mozbuild_gn__processor.py >rename to www/librewolf/files/patch-build_gn__processor.py >index 94584d8b160b..be5e10347483 100644 >--- a/www/librewolf/files/patch-python_mozbuild_mozbuild_gn__processor.py >+++ b/www/librewolf/files/patch-build_gn__processor.py >@@ -1,13 +1,13 @@ >-commit 6bfdff4afcc9e3843b9c3a5d7e884e281a305398 >+commit 0e5bcbefae64b35a5c8df360e3980258a565fa72 > Author: Christoph Moench-Tegeder <cmt@burggraben.net> > >- chase gn_processor.py changes >+ chase gn_processor.py move > >-diff --git python/mozbuild/mozbuild/gn_processor.py python/mozbuild/mozbuild/gn_processor.py >-index a77b6c7759f1..e5498ac5e9df 100644 >---- python/mozbuild/mozbuild/gn_processor.py >-+++ python/mozbuild/mozbuild/gn_processor.py >-@@ -185,6 +185,7 @@ def filter_gn_config(path, gn_result, sandbox_vars, input_vars, gn_target): >+diff --git build/gn_processor.py build/gn_processor.py >+index 2ba8b92c2751..91170efb9a5d 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): > } > oses = { > "android": "Android", >@@ -15,7 +15,7 @@ index a77b6c7759f1..e5498ac5e9df 100644 > "linux": "Linux", > "mac": "Darwin", > "openbsd": "OpenBSD", >-@@ -742,17 +743,17 @@ def main(): >+@@ -780,17 +781,17 @@ def main(): > > vars_set = [] > for is_debug in (True, False): >@@ -35,10 +35,10 @@ index a77b6c7759f1..e5498ac5e9df 100644 > target_cpus.append("riscv64") > - if target_os == "linux": > + if target_os in ("freebsd", "linux"): >- target_cpus.extend(["ppc64", "mipsel", "mips64el"]) >+ target_cpus.extend(["loong64", "ppc64", "mipsel", "mips64el"]) > for target_cpu in target_cpus: > vars = { >-@@ -761,7 +762,7 @@ def main(): >+@@ -799,7 +800,7 @@ def main(): > "target_cpu": target_cpu, > "target_os": target_os, > } >diff --git a/www/librewolf/files/patch-libwebrtc-generated b/www/librewolf/files/patch-libwebrtc-generated >index 7cc3320ba596..9158e070322c 100644 >--- a/www/librewolf/files/patch-libwebrtc-generated >+++ b/www/librewolf/files/patch-libwebrtc-generated >@@ -1,10 +1,10 @@ >-commit 05e619ebbe49c70dab8273ff9769da63ea1d8631 >+commit 03ad892364d95687b41b0eabd6031c4d3e081db4 > Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> > >- regenerate FreeBSD libwebrtc patch for Firefox 136 >+ regenerate FreeBSD libwebrtc patch for Firefox 137 > > 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 31e5e0cb14be..d54f6dbed565 100644 >+index 655ef59cba4b..d54f6dbed565 100644 > --- third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build > +++ third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -28,7 +28,7 @@ index 31e5e0cb14be..d54f6dbed565 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -129,6 +129,10 @@ index 31e5e0cb14be..d54f6dbed565 100644 > - 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": > >@@ -211,7 +215,7 @@ index 31e5e0cb14be..d54f6dbed565 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 84878ba9f99f..0a1c7b839dda 100644 >+index d4382d1df1cc..0a1c7b839dda 100644 > --- third_party/libwebrtc/api/array_view_gn/moz.build > +++ third_party/libwebrtc/api/array_view_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -235,7 +239,7 @@ index 84878ba9f99f..0a1c7b839dda 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -332,6 +336,10 @@ index 84878ba9f99f..0a1c7b839dda 100644 > - 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": > >@@ -345,7 +353,7 @@ index 84878ba9f99f..0a1c7b839dda 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -398,7 +406,7 @@ index 84878ba9f99f..0a1c7b839dda 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 f8804e882e6e..b6efeac78e76 100644 >+index e935019626ad..b6efeac78e76 100644 > --- third_party/libwebrtc/api/async_dns_resolver_gn/moz.build > +++ third_party/libwebrtc/api/async_dns_resolver_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -422,7 +430,7 @@ index f8804e882e6e..b6efeac78e76 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,116 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,120 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -527,6 +535,10 @@ index f8804e882e6e..b6efeac78e76 100644 > - 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": > >@@ -540,7 +552,7 @@ index f8804e882e6e..b6efeac78e76 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -158,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -162,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -593,7 +605,7 @@ index f8804e882e6e..b6efeac78e76 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 f79ef5c75c4d..daf2b9c13beb 100644 >+index cfb3b6961c8e..daf2b9c13beb 100644 > --- third_party/libwebrtc/api/audio/aec3_config_gn/moz.build > +++ third_party/libwebrtc/api/audio/aec3_config_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -617,7 +629,7 @@ index f79ef5c75c4d..daf2b9c13beb 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -718,6 +730,10 @@ index f79ef5c75c4d..daf2b9c13beb 100644 > - 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": > >@@ -800,7 +816,7 @@ index f79ef5c75c4d..daf2b9c13beb 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 4f58b0dfae3e..9311473ef1a8 100644 >+index 589d5a72ef9b..9311473ef1a8 100644 > --- third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build > +++ third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build > @@ -12,12 +12,21 @@ AllowCompilerWarnings() >@@ -825,7 +841,7 @@ index 4f58b0dfae3e..9311473ef1a8 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -937,6 +953,10 @@ index 4f58b0dfae3e..9311473ef1a8 100644 > - 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": > >@@ -1019,7 +1039,7 @@ index 4f58b0dfae3e..9311473ef1a8 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 acf6fe8822f4..956114463750 100644 >+index a727e70ec91d..956114463750 100644 > --- third_party/libwebrtc/api/audio/audio_device_gn/moz.build > +++ third_party/libwebrtc/api/audio/audio_device_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -1043,7 +1063,7 @@ index acf6fe8822f4..956114463750 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -1140,6 +1160,10 @@ index acf6fe8822f4..956114463750 100644 > - 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": > >@@ -1153,7 +1177,7 @@ index acf6fe8822f4..956114463750 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -1206,7 +1230,7 @@ index acf6fe8822f4..956114463750 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 5506b2b799c0..f121290ac495 100644 >+index 0cf70f6a0a66..f121290ac495 100644 > --- third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build > +++ third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -1230,7 +1254,7 @@ index 5506b2b799c0..f121290ac495 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,182 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -1338,6 +1362,10 @@ index 5506b2b799c0..f121290ac495 100644 > - 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": > >@@ -1420,7 +1448,7 @@ index 5506b2b799c0..f121290ac495 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 3b9b2a2dd8f1..f34df50bef47 100644 >+index d9e237b4c753..f34df50bef47 100644 > --- third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build > +++ third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -1444,7 +1472,7 @@ index 3b9b2a2dd8f1..f34df50bef47 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -1537,6 +1565,10 @@ index 3b9b2a2dd8f1..f34df50bef47 100644 > - 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": > >@@ -1550,7 +1582,7 @@ index 3b9b2a2dd8f1..f34df50bef47 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -1603,7 +1635,7 @@ index 3b9b2a2dd8f1..f34df50bef47 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 13f69cf28328..aca2a4d6a37f 100644 >+index 9576084c2bfb..aca2a4d6a37f 100644 > --- third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build > +++ third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -1627,7 +1659,7 @@ index 13f69cf28328..aca2a4d6a37f 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,115 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -1731,6 +1763,10 @@ index 13f69cf28328..aca2a4d6a37f 100644 > - 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": > >@@ -1744,7 +1780,7 @@ index 13f69cf28328..aca2a4d6a37f 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -157,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -1797,7 +1833,7 @@ index 13f69cf28328..aca2a4d6a37f 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 c7c012a9aa21..fb9329509240 100644 >+index 2e7d38d911f4..fb9329509240 100644 > --- third_party/libwebrtc/api/audio/audio_processing_gn/moz.build > +++ third_party/libwebrtc/api/audio/audio_processing_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -1821,7 +1857,7 @@ index c7c012a9aa21..fb9329509240 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -1922,6 +1958,10 @@ index c7c012a9aa21..fb9329509240 100644 > - 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": > >@@ -2004,7 +2044,7 @@ index c7c012a9aa21..fb9329509240 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 064122654c6f..9275b9e39050 100644 >+index 0400bcf1bdfc..9275b9e39050 100644 > --- third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build > +++ third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -2028,7 +2068,7 @@ index 064122654c6f..9275b9e39050 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,171 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -2125,6 +2165,10 @@ index 064122654c6f..9275b9e39050 100644 > - 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": > >@@ -2206,16 +2250,17 @@ index 064122654c6f..9275b9e39050 100644 > + DEFINES["USE_X11"] = "1" > > Library("audio_processing_statistics_gn") >-diff --git third_party/libwebrtc/api/audio/echo_control_gn/moz.build third_party/libwebrtc/api/audio/echo_control_gn/moz.build >-index 67e90d93f334..9bb9eff44ed7 100644 >---- third_party/libwebrtc/api/audio/echo_control_gn/moz.build >-+++ third_party/libwebrtc/api/audio/echo_control_gn/moz.build >-@@ -12,11 +12,20 @@ AllowCompilerWarnings() >+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 af681d4d0d28..dd6059825208 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 >+@@ -12,12 +12,21 @@ AllowCompilerWarnings() > DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" > DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True > DEFINES["RTC_ENABLE_VP9"] = True > +DEFINES["USE_GLIB"] = "1" > +DEFINES["USE_OZONE"] = "1" >+ DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1" > +DEFINES["WEBRTC_BSD"] = True > DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" > DEFINES["WEBRTC_LIBRARY_IMPL"] = True >@@ -2231,7 +2276,7 @@ index 67e90d93f334..9bb9eff44ed7 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -2277,6 +2322,10 @@ index 67e90d93f334..9bb9eff44ed7 100644 > - DEFINES["__STDC_CONSTANT_MACROS"] = True > - DEFINES["__STDC_FORMAT_MACROS"] = True > - >+- OS_LIBS += [ >+- "rt" >+- ] >+- > -if CONFIG["OS_TARGET"] == "OpenBSD": > - > - DEFINES["USE_GLIB"] = "1" >@@ -2316,6 +2365,13 @@ index 67e90d93f334..9bb9eff44ed7 100644 > - DEFINES["_WIN32_WINNT"] = "0x0A00" > - DEFINES["_WINDOWS"] = True > - DEFINES["__STD_C"] = True >+- >+- OS_LIBS += [ >+- "crypt32", >+- "iphlpapi", >+- "secur32", >+- "winmm" >+- ] > + DEFINES["_DEBUG"] = True > > if CONFIG["TARGET_CPU"] == "aarch64": >@@ -2325,9 +2381,17 @@ index 67e90d93f334..9bb9eff44ed7 100644 > > -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": > >@@ -2341,10 +2405,12 @@ index 67e90d93f334..9bb9eff44ed7 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >- >- DEFINES["WEBRTC_ENABLE_AVX2"] = True >- >+- DEFINES["WEBRTC_ENABLE_AVX2"] = True >+- >+-if CONFIG["TARGET_CPU"] == "x86_64": >+- >+- DEFINES["WEBRTC_ENABLE_AVX2"] = True >+- > -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": > - > - DEFINES["_DEBUG"] = True >@@ -2366,16 +2432,21 @@ index 67e90d93f334..9bb9eff44ed7 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" >- >+- >+- DEFINES["USE_X11"] = "1" >+- > -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["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": > - > - DEFINES["_GNU_SOURCE"] = True >@@ -2385,18 +2456,27 @@ index 67e90d93f334..9bb9eff44ed7 100644 > - DEFINES["_GNU_SOURCE"] = True > - > -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": >-- >++ DEFINES["WEBRTC_ENABLE_AVX2"] = True >+ >+- CXXFLAGS += [ >+- "-msse2" >+- ] >++if CONFIG["TARGET_CPU"] == "x86_64": >+ > - DEFINES["_GNU_SOURCE"] = True >-- >++ DEFINES["WEBRTC_ENABLE_AVX2"] = True >+ > -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": >-- >++if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >+ > - 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 f639c8e6aa50..b7d03e2fb268 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 >++ DEFINES["USE_X11"] = "1" >+ >+ 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 904a224b5a88..9bb9eff44ed7 100644 >+--- third_party/libwebrtc/api/audio/echo_control_gn/moz.build >++++ third_party/libwebrtc/api/audio/echo_control_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() > DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" > DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True >@@ -2418,7 +2498,7 @@ index f639c8e6aa50..b7d03e2fb268 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -2503,13 +2583,6 @@ index f639c8e6aa50..b7d03e2fb268 100644 > - DEFINES["_WIN32_WINNT"] = "0x0A00" > - DEFINES["_WINDOWS"] = True > - DEFINES["__STD_C"] = True >-- >-- OS_LIBS += [ >-- "crypt32", >-- "iphlpapi", >-- "secur32", >-- "winmm" >-- ] > + DEFINES["_DEBUG"] = True > > if CONFIG["TARGET_CPU"] == "aarch64": >@@ -2519,13 +2592,13 @@ index f639c8e6aa50..b7d03e2fb268 100644 > > -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": > >@@ -2539,12 +2612,10 @@ index f639c8e6aa50..b7d03e2fb268 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-- DEFINES["WEBRTC_ENABLE_AVX2"] = True >-- >--if CONFIG["TARGET_CPU"] == "x86_64": >-- >-- DEFINES["WEBRTC_ENABLE_AVX2"] = True >-- >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+ >+ DEFINES["WEBRTC_ENABLE_AVX2"] = True >+ > -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": > - > - DEFINES["_DEBUG"] = True >@@ -2566,21 +2637,16 @@ index f639c8e6aa50..b7d03e2fb268 100644 > - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" > - > -if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": >-- >-- DEFINES["USE_X11"] = "1" >-- >++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"] == "Android" and CONFIG["TARGET_CPU"] == "x86": >-- >- CXXFLAGS += [ >- "-msse2" >- ] >- > -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": > - > - DEFINES["_GNU_SOURCE"] = True >@@ -2590,27 +2656,18 @@ index f639c8e6aa50..b7d03e2fb268 100644 > - DEFINES["_GNU_SOURCE"] = True > - > -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": >-+ DEFINES["WEBRTC_ENABLE_AVX2"] = True >- >-- CXXFLAGS += [ >-- "-msse2" >-- ] >-+if CONFIG["TARGET_CPU"] == "x86_64": >- >+- > - DEFINES["_GNU_SOURCE"] = True >-+ DEFINES["WEBRTC_ENABLE_AVX2"] = True >- >+- > -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": >-+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >- >+- > - DEFINES["_GNU_SOURCE"] = True >-+ DEFINES["USE_X11"] = "1" >- >- 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 38eb1e438940..5c76a4bbb10f 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 >+- >+ 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 ae4047c15bad..b7d03e2fb268 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() > DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" > DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True >@@ -2632,7 +2689,7 @@ index 38eb1e438940..5c76a4bbb10f 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -2740,6 +2797,10 @@ index 38eb1e438940..5c76a4bbb10f 100644 > - 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": > >@@ -2820,11 +2881,11 @@ index 38eb1e438940..5c76a4bbb10f 100644 > - DEFINES["_GNU_SOURCE"] = True > + DEFINES["USE_X11"] = "1" > >- 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 3b733727d4f6..475c29ae92d2 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 >+ 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 9007bea06a57..5c76a4bbb10f 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() > DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" > DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True >@@ -2846,7 +2907,7 @@ index 3b733727d4f6..475c29ae92d2 100644 > > FINAL_LIBRARY = "xul" > >-@@ -46,182 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -2954,6 +3015,10 @@ index 3b733727d4f6..475c29ae92d2 100644 > - 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": > >@@ -3034,12 +3099,12 @@ index 3b733727d4f6..475c29ae92d2 100644 > - DEFINES["_GNU_SOURCE"] = True > + DEFINES["USE_X11"] = "1" > >- 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 23378fd83171..517b3b57ed6b 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 >-@@ -12,12 +12,21 @@ AllowCompilerWarnings() >+ 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 1de066daa01e..475c29ae92d2 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 >+@@ -12,11 +12,20 @@ AllowCompilerWarnings() > DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" > DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True > DEFINES["RTC_ENABLE_VP9"] = True >@@ -3052,7 +3117,6 @@ index 23378fd83171..517b3b57ed6b 100644 > DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" > +DEFINES["WEBRTC_POSIX"] = True > DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" >- DEFINES["WEBRTC_USE_BUILTIN_OPUS"] = "1" > +DEFINES["_FILE_OFFSET_BITS"] = "64" > +DEFINES["_LARGEFILE64_SOURCE"] = True > +DEFINES["_LARGEFILE_SOURCE"] = True >@@ -3061,7 +3125,7 @@ index 23378fd83171..517b3b57ed6b 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -46,186 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -3107,10 +3171,6 @@ index 23378fd83171..517b3b57ed6b 100644 > - DEFINES["__STDC_CONSTANT_MACROS"] = True > - DEFINES["__STDC_FORMAT_MACROS"] = True > - >-- OS_LIBS += [ >-- "rt" >-- ] >-- > -if CONFIG["OS_TARGET"] == "OpenBSD": > - > - DEFINES["USE_GLIB"] = "1" >@@ -3173,6 +3233,10 @@ index 23378fd83171..517b3b57ed6b 100644 > - 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": > >@@ -3253,11 +3317,11 @@ index 23378fd83171..517b3b57ed6b 100644 > - DEFINES["_GNU_SOURCE"] = True > + DEFINES["USE_X11"] = "1" > >- 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 f58bac277b45..4c5f8099504f 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 >+ 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 be74a5a11b8d..517b3b57ed6b 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 > @@ -12,12 +12,21 @@ AllowCompilerWarnings() > DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" > DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True >@@ -3280,7 +3344,7 @@ index f58bac277b45..4c5f8099504f 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -3392,6 +3456,10 @@ index f58bac277b45..4c5f8099504f 100644 > - 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": > >@@ -3472,12 +3540,12 @@ index f58bac277b45..4c5f8099504f 100644 > - DEFINES["_GNU_SOURCE"] = True > + DEFINES["USE_X11"] = "1" > >- 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 cb227d9c44a9..c883304f6928 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 >-@@ -12,11 +12,20 @@ AllowCompilerWarnings() >+ 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 f6a0d16b0b5c..4c5f8099504f 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 >+@@ -12,12 +12,21 @@ AllowCompilerWarnings() > DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" > DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True > DEFINES["RTC_ENABLE_VP9"] = True >@@ -3490,6 +3558,7 @@ index cb227d9c44a9..c883304f6928 100644 > DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" > +DEFINES["WEBRTC_POSIX"] = True > DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" >+ DEFINES["WEBRTC_USE_BUILTIN_OPUS"] = "1" > +DEFINES["_FILE_OFFSET_BITS"] = "64" > +DEFINES["_LARGEFILE64_SOURCE"] = True > +DEFINES["_LARGEFILE_SOURCE"] = True >@@ -3498,7 +3567,7 @@ index cb227d9c44a9..c883304f6928 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -3544,6 +3613,10 @@ index cb227d9c44a9..c883304f6928 100644 > - DEFINES["__STDC_CONSTANT_MACROS"] = True > - DEFINES["__STDC_FORMAT_MACROS"] = True > - >+- OS_LIBS += [ >+- "rt" >+- ] >+- > -if CONFIG["OS_TARGET"] == "OpenBSD": > - > - DEFINES["USE_GLIB"] = "1" >@@ -3606,6 +3679,10 @@ index cb227d9c44a9..c883304f6928 100644 > - 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": > >@@ -3686,11 +3763,11 @@ index cb227d9c44a9..c883304f6928 100644 > - DEFINES["_GNU_SOURCE"] = True > + DEFINES["USE_X11"] = "1" > >- 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 d25ce578888b..0399f439f107 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 >+ 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 58fffb2e22d1..c883304f6928 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() > DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" > DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True >@@ -3712,7 +3789,7 @@ index d25ce578888b..0399f439f107 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -3820,6 +3897,228 @@ index d25ce578888b..0399f439f107 100644 > - 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["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": >+- >+- DEFINES["USE_X11"] = "1" >+- >+-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["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": >+- >+- DEFINES["_GNU_SOURCE"] = True >+- >+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": >+- >+- DEFINES["_GNU_SOURCE"] = True >+- >+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": >++ DEFINES["WEBRTC_ENABLE_AVX2"] = True >+ >+- CXXFLAGS += [ >+- "-msse2" >+- ] >++if CONFIG["TARGET_CPU"] == "x86_64": >+ >+- DEFINES["_GNU_SOURCE"] = True >++ DEFINES["WEBRTC_ENABLE_AVX2"] = True >+ >+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": >++if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >+ >+- DEFINES["_GNU_SOURCE"] = True >++ DEFINES["USE_X11"] = "1" >+ >+ 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 7f12ebe49f01..0399f439f107 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 >+@@ -12,11 +12,20 @@ AllowCompilerWarnings() >+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" >+ 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["__STDC_CONSTANT_MACROS"] = True >++DEFINES["__STDC_FORMAT_MACROS"] = True >+ >+ FINAL_LIBRARY = "xul" >+ >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+ if CONFIG["MOZ_DEBUG"] == "1": >+ >+ DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >+- >+-if CONFIG["OS_TARGET"] == "Android": >+- >+- DEFINES["ANDROID"] = True >+- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" >+- DEFINES["HAVE_SYS_UIO_H"] = True >+- DEFINES["WEBRTC_ANDROID"] = True >+- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True >+- DEFINES["WEBRTC_LINUX"] = True >+- DEFINES["WEBRTC_POSIX"] = True >+- DEFINES["_GNU_SOURCE"] = True >+- DEFINES["__STDC_CONSTANT_MACROS"] = True >+- DEFINES["__STDC_FORMAT_MACROS"] = True >+- >+- OS_LIBS += [ >+- "log" >+- ] >+- >+-if CONFIG["OS_TARGET"] == "Darwin": >+- >+- DEFINES["WEBRTC_MAC"] = True >+- DEFINES["WEBRTC_POSIX"] = True >+- DEFINES["_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["USE_AURA"] = "1" >+- DEFINES["USE_GLIB"] = "1" >+- DEFINES["USE_NSS_CERTS"] = "1" >+- DEFINES["USE_OZONE"] = "1" >+- DEFINES["USE_UDEV"] = True >+- DEFINES["WEBRTC_LINUX"] = 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"] == "OpenBSD": >+- >+- DEFINES["USE_GLIB"] = "1" >+- DEFINES["USE_OZONE"] = "1" >+- DEFINES["USE_X11"] = "1" >+- DEFINES["WEBRTC_BSD"] = True >+- DEFINES["WEBRTC_POSIX"] = True >+- DEFINES["_FILE_OFFSET_BITS"] = "64" >+- DEFINES["_LARGEFILE64_SOURCE"] = True >+- DEFINES["_LARGEFILE_SOURCE"] = True >+- DEFINES["__STDC_CONSTANT_MACROS"] = True >+- DEFINES["__STDC_FORMAT_MACROS"] = True >+- >+-if CONFIG["OS_TARGET"] == "WINNT": >+- >+- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+- DEFINES["NOMINMAX"] = True >+- DEFINES["NTDDI_VERSION"] = "0x0A000000" >+- DEFINES["PSAPI_VERSION"] = "2" >+- DEFINES["RTC_ENABLE_WIN_WGC"] = True >+- DEFINES["UNICODE"] = True >+- DEFINES["USE_AURA"] = "1" >+- DEFINES["WEBRTC_WIN"] = True >+- DEFINES["WIN32"] = True >+- DEFINES["WIN32_LEAN_AND_MEAN"] = True >+- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" >+- DEFINES["WINVER"] = "0x0A00" >+- DEFINES["_ATL_NO_OPENGL"] = True >+- DEFINES["_CRT_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["__STD_C"] = True >+- >+- OS_LIBS += [ >+- "crypt32", >+- "iphlpapi", >+- "secur32", >+- "winmm" >+- ] >++ DEFINES["_DEBUG"] = True >+ >+ if CONFIG["TARGET_CPU"] == "aarch64": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+ DEFINES["WEBRTC_HAS_NEON"] = True >+ >+-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": > >@@ -3902,7 +4201,7 @@ index d25ce578888b..0399f439f107 100644 > > Library("audio_encoder_g711_gn") > diff --git third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build >-index 70a5175c80b8..d9457426de70 100644 >+index e808e4298249..d9457426de70 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -3926,7 +4225,7 @@ index 70a5175c80b8..d9457426de70 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -4034,6 +4333,10 @@ index 70a5175c80b8..d9457426de70 100644 > - 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": > >@@ -4116,7 +4419,7 @@ index 70a5175c80b8..d9457426de70 100644 > > Library("audio_decoder_g722_gn") > diff --git third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build >-index bc2f347b5d5f..724106b4aea7 100644 >+index 5e4da695b94a..724106b4aea7 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -4140,7 +4443,7 @@ index bc2f347b5d5f..724106b4aea7 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,115 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -4244,6 +4547,10 @@ index bc2f347b5d5f..724106b4aea7 100644 > - 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": > >@@ -4257,7 +4564,7 @@ index bc2f347b5d5f..724106b4aea7 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -157,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -4310,7 +4617,7 @@ index bc2f347b5d5f..724106b4aea7 100644 > - > Library("audio_encoder_g722_config_gn") > diff --git third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build >-index 593c04d9bd47..4d8340d021cd 100644 >+index 1ea3e2809c53..4d8340d021cd 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -4334,7 +4641,7 @@ index 593c04d9bd47..4d8340d021cd 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -4442,6 +4749,10 @@ index 593c04d9bd47..4d8340d021cd 100644 > - 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": > >@@ -4524,7 +4835,7 @@ index 593c04d9bd47..4d8340d021cd 100644 > > Library("audio_encoder_g722_gn") > diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build >-index 073323eeed09..abf91648be19 100644 >+index 37f380708aa3..abf91648be19 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -4548,7 +4859,7 @@ index 073323eeed09..abf91648be19 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,182 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -4656,6 +4967,10 @@ index 073323eeed09..abf91648be19 100644 > - 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": > >@@ -4738,7 +5053,7 @@ index 073323eeed09..abf91648be19 100644 > > Library("audio_decoder_multiopus_gn") > diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build >-index a00c9021364a..ec98b9e1da9d 100644 >+index 38ae3cb77d4a..ec98b9e1da9d 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -4762,7 +5077,7 @@ index a00c9021364a..ec98b9e1da9d 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,115 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -4866,6 +5181,10 @@ index a00c9021364a..ec98b9e1da9d 100644 > - 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": > >@@ -4879,7 +5198,7 @@ index a00c9021364a..ec98b9e1da9d 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -157,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -4932,7 +5251,7 @@ index a00c9021364a..ec98b9e1da9d 100644 > - > Library("audio_decoder_opus_config_gn") > diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build >-index e118829b3861..1ef54111434a 100644 >+index 7c496999196d..1ef54111434a 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -4956,7 +5275,7 @@ index e118829b3861..1ef54111434a 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -5068,6 +5387,10 @@ index e118829b3861..1ef54111434a 100644 > - 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": > >@@ -5150,7 +5473,7 @@ index e118829b3861..1ef54111434a 100644 > > Library("audio_decoder_opus_gn") > diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build >-index 103d5ffcfe05..233f98cf79a9 100644 >+index 089a1a45e301..233f98cf79a9 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -5174,7 +5497,7 @@ index 103d5ffcfe05..233f98cf79a9 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,182 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -5282,6 +5605,10 @@ index 103d5ffcfe05..233f98cf79a9 100644 > - 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": > >@@ -5364,7 +5691,7 @@ index 103d5ffcfe05..233f98cf79a9 100644 > > Library("audio_encoder_multiopus_gn") > diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build >-index de3909cda981..2d9efa02ffa4 100644 >+index a51951b06a09..2d9efa02ffa4 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 > @@ -12,12 +12,21 @@ AllowCompilerWarnings() >@@ -5389,7 +5716,7 @@ index de3909cda981..2d9efa02ffa4 100644 > > FINAL_LIBRARY = "xul" > >-@@ -48,171 +57,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -48,175 +57,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -5486,6 +5813,10 @@ index de3909cda981..2d9efa02ffa4 100644 > - 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": > >@@ -5568,7 +5899,7 @@ index de3909cda981..2d9efa02ffa4 100644 > > Library("audio_encoder_opus_config_gn") > diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build >-index 2579cbe7f8d4..1d68afeb665c 100644 >+index 8b4a7d737129..1d68afeb665c 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -5592,7 +5923,7 @@ index 2579cbe7f8d4..1d68afeb665c 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -5704,6 +6035,10 @@ index 2579cbe7f8d4..1d68afeb665c 100644 > - 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": > >@@ -5786,7 +6121,7 @@ index 2579cbe7f8d4..1d68afeb665c 100644 > > Library("audio_encoder_opus_gn") > diff --git third_party/libwebrtc/api/audio_codecs/opus_audio_decoder_factory_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus_audio_decoder_factory_gn/moz.build >-index 6a00bc0eac21..a8566871ce2d 100644 >+index 394c4633e5be..a8566871ce2d 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -5810,7 +6145,7 @@ index 6a00bc0eac21..a8566871ce2d 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -5922,6 +6257,10 @@ index 6a00bc0eac21..a8566871ce2d 100644 > - 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": > >@@ -6004,7 +6343,7 @@ index 6a00bc0eac21..a8566871ce2d 100644 > > Library("opus_audio_decoder_factory_gn") > diff --git third_party/libwebrtc/api/audio_options_api_gn/moz.build third_party/libwebrtc/api/audio_options_api_gn/moz.build >-index 1ef9e1e010a6..c8cc49dfc388 100644 >+index f3d9e0c5c619..c8cc49dfc388 100644 > --- third_party/libwebrtc/api/audio_options_api_gn/moz.build > +++ third_party/libwebrtc/api/audio_options_api_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -6028,7 +6367,7 @@ index 1ef9e1e010a6..c8cc49dfc388 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -6129,6 +6468,10 @@ index 1ef9e1e010a6..c8cc49dfc388 100644 > - 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": > >@@ -6211,7 +6554,7 @@ index 1ef9e1e010a6..c8cc49dfc388 100644 > > 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 1ed7f3f9a6e1..1125b25cc2fe 100644 >+index 5afb81f93349..1125b25cc2fe 100644 > --- third_party/libwebrtc/api/bitrate_allocation_gn/moz.build > +++ third_party/libwebrtc/api/bitrate_allocation_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -6235,7 +6578,7 @@ index 1ed7f3f9a6e1..1125b25cc2fe 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -6332,6 +6675,10 @@ index 1ed7f3f9a6e1..1125b25cc2fe 100644 > - 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": > >@@ -6345,7 +6692,7 @@ index 1ed7f3f9a6e1..1125b25cc2fe 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -6398,7 +6745,7 @@ index 1ed7f3f9a6e1..1125b25cc2fe 100644 > - > 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 6489b5f50786..abcfd171700e 100644 >+index 87ce5be77f85..abcfd171700e 100644 > --- third_party/libwebrtc/api/call_api_gn/moz.build > +++ third_party/libwebrtc/api/call_api_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -6422,7 +6769,7 @@ index 6489b5f50786..abcfd171700e 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -6515,6 +6862,10 @@ index 6489b5f50786..abcfd171700e 100644 > - 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": > >@@ -6528,7 +6879,7 @@ index 6489b5f50786..abcfd171700e 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -6581,7 +6932,7 @@ index 6489b5f50786..abcfd171700e 100644 > - > 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 d274248ca9bd..d7c73ce42b03 100644 >+index f04389690b02..d7c73ce42b03 100644 > --- third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build > +++ third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -6605,7 +6956,7 @@ index d274248ca9bd..d7c73ce42b03 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -6702,6 +7053,10 @@ index d274248ca9bd..d7c73ce42b03 100644 > - 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": > >@@ -6715,7 +7070,7 @@ index d274248ca9bd..d7c73ce42b03 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -6768,7 +7123,7 @@ index d274248ca9bd..d7c73ce42b03 100644 > - > 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 818fa9a815fb..2388275f9ba6 100644 >+index 4085a759f65d..2388275f9ba6 100644 > --- third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build > +++ third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -6792,7 +7147,7 @@ index 818fa9a815fb..2388275f9ba6 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -6889,6 +7244,10 @@ index 818fa9a815fb..2388275f9ba6 100644 > - 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": > >@@ -6902,7 +7261,7 @@ index 818fa9a815fb..2388275f9ba6 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -6955,7 +7314,7 @@ index 818fa9a815fb..2388275f9ba6 100644 > - > Library("frame_encryptor_interface_gn") > diff --git third_party/libwebrtc/api/crypto/options_gn/moz.build third_party/libwebrtc/api/crypto/options_gn/moz.build >-index 7f5d4ff687ed..82a22cce2ccd 100644 >+index 924a8c8bad70..82a22cce2ccd 100644 > --- third_party/libwebrtc/api/crypto/options_gn/moz.build > +++ third_party/libwebrtc/api/crypto/options_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -6979,7 +7338,7 @@ index 7f5d4ff687ed..82a22cce2ccd 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -7080,6 +7439,10 @@ index 7f5d4ff687ed..82a22cce2ccd 100644 > - 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": > >@@ -7162,7 +7525,7 @@ index 7f5d4ff687ed..82a22cce2ccd 100644 > > Library("options_gn") > diff --git third_party/libwebrtc/api/environment/environment_factory_gn/moz.build third_party/libwebrtc/api/environment/environment_factory_gn/moz.build >-index b3fb7ffec1c9..debb1ddd5c3a 100644 >+index 76d8ff92e999..debb1ddd5c3a 100644 > --- third_party/libwebrtc/api/environment/environment_factory_gn/moz.build > +++ third_party/libwebrtc/api/environment/environment_factory_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -7186,7 +7549,7 @@ index b3fb7ffec1c9..debb1ddd5c3a 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -7298,6 +7661,10 @@ index b3fb7ffec1c9..debb1ddd5c3a 100644 > - 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": > >@@ -7380,7 +7747,7 @@ index b3fb7ffec1c9..debb1ddd5c3a 100644 > > Library("environment_factory_gn") > diff --git third_party/libwebrtc/api/environment/environment_gn/moz.build third_party/libwebrtc/api/environment/environment_gn/moz.build >-index d2dfe8d7a673..000242d51165 100644 >+index 0bb75b315e5a..000242d51165 100644 > --- third_party/libwebrtc/api/environment/environment_gn/moz.build > +++ third_party/libwebrtc/api/environment/environment_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -7404,7 +7771,7 @@ index d2dfe8d7a673..000242d51165 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -7497,6 +7864,10 @@ index d2dfe8d7a673..000242d51165 100644 > - 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": > >@@ -7510,7 +7881,7 @@ index d2dfe8d7a673..000242d51165 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -7563,7 +7934,7 @@ index d2dfe8d7a673..000242d51165 100644 > - > Library("environment_gn") > diff --git third_party/libwebrtc/api/fec_controller_api_gn/moz.build third_party/libwebrtc/api/fec_controller_api_gn/moz.build >-index 16d29fad0737..d83eac28dd73 100644 >+index fef918e83259..d83eac28dd73 100644 > --- third_party/libwebrtc/api/fec_controller_api_gn/moz.build > +++ third_party/libwebrtc/api/fec_controller_api_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -7587,7 +7958,7 @@ index 16d29fad0737..d83eac28dd73 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -7684,6 +8055,10 @@ index 16d29fad0737..d83eac28dd73 100644 > - 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": > >@@ -7697,7 +8072,7 @@ index 16d29fad0737..d83eac28dd73 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -7750,7 +8125,7 @@ index 16d29fad0737..d83eac28dd73 100644 > - > 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 32487051452b..27d919a95bd9 100644 >+index 8e25c5f0af23..27d919a95bd9 100644 > --- third_party/libwebrtc/api/field_trials_registry_gn/moz.build > +++ third_party/libwebrtc/api/field_trials_registry_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -7774,7 +8149,7 @@ index 32487051452b..27d919a95bd9 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -7882,6 +8257,10 @@ index 32487051452b..27d919a95bd9 100644 > - 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": > >@@ -7964,7 +8343,7 @@ index 32487051452b..27d919a95bd9 100644 > > 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 550bffb5840d..935aaf609f1e 100644 >+index 3b251e442736..935aaf609f1e 100644 > --- third_party/libwebrtc/api/field_trials_view_gn/moz.build > +++ third_party/libwebrtc/api/field_trials_view_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -7988,7 +8367,7 @@ index 550bffb5840d..935aaf609f1e 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -8081,6 +8460,10 @@ index 550bffb5840d..935aaf609f1e 100644 > - 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": > >@@ -8094,7 +8477,7 @@ index 550bffb5840d..935aaf609f1e 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -8147,7 +8530,7 @@ index 550bffb5840d..935aaf609f1e 100644 > - > 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 e4dae03fd4ba..7bd0919f032f 100644 >+index f4f1de37c757..7bd0919f032f 100644 > --- third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build > +++ third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -8171,7 +8554,7 @@ index e4dae03fd4ba..7bd0919f032f 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -8279,6 +8662,10 @@ index e4dae03fd4ba..7bd0919f032f 100644 > - 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": > >@@ -8361,7 +8748,7 @@ index e4dae03fd4ba..7bd0919f032f 100644 > > 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 26753bb2ae11..6f7ba527bf72 100644 >+index ead33463bfc3..6f7ba527bf72 100644 > --- third_party/libwebrtc/api/function_view_gn/moz.build > +++ third_party/libwebrtc/api/function_view_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -8385,7 +8772,7 @@ index 26753bb2ae11..6f7ba527bf72 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -8482,6 +8869,10 @@ index 26753bb2ae11..6f7ba527bf72 100644 > - 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": > >@@ -8495,7 +8886,7 @@ index 26753bb2ae11..6f7ba527bf72 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -8548,7 +8939,7 @@ index 26753bb2ae11..6f7ba527bf72 100644 > - > 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 ce0844e03a6a..451b3e815625 100644 >+index d7611c9edebe..451b3e815625 100644 > --- third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build > +++ third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -8572,7 +8963,7 @@ index ce0844e03a6a..451b3e815625 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -8665,6 +9056,10 @@ index ce0844e03a6a..451b3e815625 100644 > - 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": > >@@ -8678,7 +9073,7 @@ index ce0844e03a6a..451b3e815625 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -8731,7 +9126,7 @@ index ce0844e03a6a..451b3e815625 100644 > - > 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 6b19999e8b9f..381fb63fcfbf 100644 >+index 8b5a49c259d0..381fb63fcfbf 100644 > --- third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build > +++ third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -8755,7 +9150,7 @@ index 6b19999e8b9f..381fb63fcfbf 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -8848,6 +9243,10 @@ index 6b19999e8b9f..381fb63fcfbf 100644 > - 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": > >@@ -8861,7 +9260,7 @@ index 6b19999e8b9f..381fb63fcfbf 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -8914,7 +9313,7 @@ index 6b19999e8b9f..381fb63fcfbf 100644 > - > Library("jingle_peerconnection_api_gn") > diff --git third_party/libwebrtc/api/location_gn/moz.build third_party/libwebrtc/api/location_gn/moz.build >-index 591dac50066c..9c6045f7715e 100644 >+index cae29c6f01cd..9c6045f7715e 100644 > --- third_party/libwebrtc/api/location_gn/moz.build > +++ third_party/libwebrtc/api/location_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -8938,7 +9337,7 @@ index 591dac50066c..9c6045f7715e 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -9032,188 +9431,9 @@ index 591dac50066c..9c6045f7715e 100644 > - DEFINES["WEBRTC_ARCH_ARM_V7"] = True > - DEFINES["WEBRTC_HAS_NEON"] = 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": >- >-@@ -146,50 +68,8 @@ 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["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["_GNU_SOURCE"] = True >-- >--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": >+-if CONFIG["TARGET_CPU"] == "loongarch64": > - > - DEFINES["_GNU_SOURCE"] = True >-- >--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": >-- >-- DEFINES["_GNU_SOURCE"] = True >-- >--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": >-- >-- DEFINES["_GNU_SOURCE"] = True >-- >- Library("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 8494cfdb2de4..23fb60720340 100644 >---- third_party/libwebrtc/api/make_ref_counted_gn/moz.build >-+++ third_party/libwebrtc/api/make_ref_counted_gn/moz.build >-@@ -12,11 +12,20 @@ AllowCompilerWarnings() >- DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" >- 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["__STDC_CONSTANT_MACROS"] = True >-+DEFINES["__STDC_FORMAT_MACROS"] = True >- >- FINAL_LIBRARY = "xul" >- >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >- if CONFIG["MOZ_DEBUG"] == "1": >- >- DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >-- >--if CONFIG["OS_TARGET"] == "Android": >-- >-- DEFINES["ANDROID"] = True >-- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" >-- DEFINES["HAVE_SYS_UIO_H"] = True >-- DEFINES["WEBRTC_ANDROID"] = True >-- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True >-- DEFINES["WEBRTC_LINUX"] = True >-- DEFINES["WEBRTC_POSIX"] = True >-- DEFINES["_GNU_SOURCE"] = True >-- DEFINES["__STDC_CONSTANT_MACROS"] = True >-- DEFINES["__STDC_FORMAT_MACROS"] = True >-- >--if CONFIG["OS_TARGET"] == "Darwin": >-- >-- DEFINES["WEBRTC_MAC"] = True >-- DEFINES["WEBRTC_POSIX"] = True >-- DEFINES["_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["USE_AURA"] = "1" >-- DEFINES["USE_GLIB"] = "1" >-- DEFINES["USE_NSS_CERTS"] = "1" >-- DEFINES["USE_OZONE"] = "1" >-- DEFINES["USE_UDEV"] = True >-- DEFINES["WEBRTC_LINUX"] = 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"] == "OpenBSD": >-- >-- DEFINES["USE_GLIB"] = "1" >-- DEFINES["USE_OZONE"] = "1" >-- DEFINES["USE_X11"] = "1" >-- DEFINES["WEBRTC_BSD"] = True >-- DEFINES["WEBRTC_POSIX"] = True >-- DEFINES["_FILE_OFFSET_BITS"] = "64" >-- DEFINES["_LARGEFILE64_SOURCE"] = True >-- DEFINES["_LARGEFILE_SOURCE"] = True >-- DEFINES["__STDC_CONSTANT_MACROS"] = True >-- DEFINES["__STDC_FORMAT_MACROS"] = True >-- >--if CONFIG["OS_TARGET"] == "WINNT": >-- >-- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >-- DEFINES["NOMINMAX"] = True >-- DEFINES["NTDDI_VERSION"] = "0x0A000000" >-- DEFINES["PSAPI_VERSION"] = "2" >-- DEFINES["RTC_ENABLE_WIN_WGC"] = True >-- DEFINES["UNICODE"] = True >-- DEFINES["USE_AURA"] = "1" >-- DEFINES["WEBRTC_WIN"] = True >-- DEFINES["WIN32"] = True >-- DEFINES["WIN32_LEAN_AND_MEAN"] = True >-- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" >-- DEFINES["WINVER"] = "0x0A00" >-- DEFINES["_ATL_NO_OPENGL"] = True >-- DEFINES["_CRT_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["__STD_C"] = True >-+ DEFINES["_DEBUG"] = True >- >- if CONFIG["TARGET_CPU"] == "aarch64": >- >- DEFINES["WEBRTC_ARCH_ARM64"] = True >- DEFINES["WEBRTC_HAS_NEON"] = True >- >--if CONFIG["TARGET_CPU"] == "arm": >-- >-- DEFINES["WEBRTC_ARCH_ARM"] = True >-- DEFINES["WEBRTC_ARCH_ARM_V7"] = True >-- DEFINES["WEBRTC_HAS_NEON"] = True > - > if CONFIG["TARGET_CPU"] == "mips32": > >@@ -9227,7 +9447,194 @@ index 8494cfdb2de4..23fb60720340 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ 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["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["_GNU_SOURCE"] = True >+- >+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": >+- >+- DEFINES["_GNU_SOURCE"] = True >+- >+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": >+- >+- DEFINES["_GNU_SOURCE"] = True >+- >+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": >+- >+- DEFINES["_GNU_SOURCE"] = True >+- >+ Library("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 e7975c529738..23fb60720340 100644 >+--- third_party/libwebrtc/api/make_ref_counted_gn/moz.build >++++ third_party/libwebrtc/api/make_ref_counted_gn/moz.build >+@@ -12,11 +12,20 @@ AllowCompilerWarnings() >+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" >+ 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["__STDC_CONSTANT_MACROS"] = True >++DEFINES["__STDC_FORMAT_MACROS"] = True >+ >+ FINAL_LIBRARY = "xul" >+ >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+ if CONFIG["MOZ_DEBUG"] == "1": >+ >+ DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >+- >+-if CONFIG["OS_TARGET"] == "Android": >+- >+- DEFINES["ANDROID"] = True >+- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" >+- DEFINES["HAVE_SYS_UIO_H"] = True >+- DEFINES["WEBRTC_ANDROID"] = True >+- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True >+- DEFINES["WEBRTC_LINUX"] = True >+- DEFINES["WEBRTC_POSIX"] = True >+- DEFINES["_GNU_SOURCE"] = True >+- DEFINES["__STDC_CONSTANT_MACROS"] = True >+- DEFINES["__STDC_FORMAT_MACROS"] = True >+- >+-if CONFIG["OS_TARGET"] == "Darwin": >+- >+- DEFINES["WEBRTC_MAC"] = True >+- DEFINES["WEBRTC_POSIX"] = True >+- DEFINES["_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["USE_AURA"] = "1" >+- DEFINES["USE_GLIB"] = "1" >+- DEFINES["USE_NSS_CERTS"] = "1" >+- DEFINES["USE_OZONE"] = "1" >+- DEFINES["USE_UDEV"] = True >+- DEFINES["WEBRTC_LINUX"] = 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"] == "OpenBSD": >+- >+- DEFINES["USE_GLIB"] = "1" >+- DEFINES["USE_OZONE"] = "1" >+- DEFINES["USE_X11"] = "1" >+- DEFINES["WEBRTC_BSD"] = True >+- DEFINES["WEBRTC_POSIX"] = True >+- DEFINES["_FILE_OFFSET_BITS"] = "64" >+- DEFINES["_LARGEFILE64_SOURCE"] = True >+- DEFINES["_LARGEFILE_SOURCE"] = True >+- DEFINES["__STDC_CONSTANT_MACROS"] = True >+- DEFINES["__STDC_FORMAT_MACROS"] = True >+- >+-if CONFIG["OS_TARGET"] == "WINNT": >+- >+- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+- DEFINES["NOMINMAX"] = True >+- DEFINES["NTDDI_VERSION"] = "0x0A000000" >+- DEFINES["PSAPI_VERSION"] = "2" >+- DEFINES["RTC_ENABLE_WIN_WGC"] = True >+- DEFINES["UNICODE"] = True >+- DEFINES["USE_AURA"] = "1" >+- DEFINES["WEBRTC_WIN"] = True >+- DEFINES["WIN32"] = True >+- DEFINES["WIN32_LEAN_AND_MEAN"] = True >+- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" >+- DEFINES["WINVER"] = "0x0A00" >+- DEFINES["_ATL_NO_OPENGL"] = True >+- DEFINES["_CRT_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["__STD_C"] = True >++ DEFINES["_DEBUG"] = True >+ >+ if CONFIG["TARGET_CPU"] == "aarch64": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+ DEFINES["WEBRTC_HAS_NEON"] = True >+ >+-if CONFIG["TARGET_CPU"] == "arm": >+- >+- DEFINES["WEBRTC_ARCH_ARM"] = True >+- DEFINES["WEBRTC_ARCH_ARM_V7"] = True >+- DEFINES["WEBRTC_HAS_NEON"] = True >+- >+-if CONFIG["TARGET_CPU"] == "loongarch64": >+- >+- DEFINES["_GNU_SOURCE"] = True >+- >+ if CONFIG["TARGET_CPU"] == "mips32": >+ >+ DEFINES["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": >+ >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -9280,7 +9687,7 @@ index 8494cfdb2de4..23fb60720340 100644 > - > Library("make_ref_counted_gn") > diff --git third_party/libwebrtc/api/media_stream_interface_gn/moz.build third_party/libwebrtc/api/media_stream_interface_gn/moz.build >-index ee75970953e7..a29d14c3f815 100644 >+index 5b64e7f79ad8..a29d14c3f815 100644 > --- third_party/libwebrtc/api/media_stream_interface_gn/moz.build > +++ third_party/libwebrtc/api/media_stream_interface_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -9304,7 +9711,7 @@ index ee75970953e7..a29d14c3f815 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -9412,6 +9819,10 @@ index ee75970953e7..a29d14c3f815 100644 > - 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": > >@@ -9494,7 +9905,7 @@ index ee75970953e7..a29d14c3f815 100644 > > 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 dc91d8587b3b..de97bbbba76f 100644 >+index dcd60714813d..de97bbbba76f 100644 > --- third_party/libwebrtc/api/metronome/metronome_gn/moz.build > +++ third_party/libwebrtc/api/metronome/metronome_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -9518,7 +9929,7 @@ index dc91d8587b3b..de97bbbba76f 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -9615,6 +10026,10 @@ index dc91d8587b3b..de97bbbba76f 100644 > - 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": > >@@ -9628,7 +10043,7 @@ index dc91d8587b3b..de97bbbba76f 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -9681,7 +10096,7 @@ index dc91d8587b3b..de97bbbba76f 100644 > - > Library("metronome_gn") > diff --git third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build >-index 24dfe847b745..2a03f232a3f2 100644 >+index ebb57e97affb..2a03f232a3f2 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -9705,7 +10120,7 @@ index 24dfe847b745..2a03f232a3f2 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -9817,6 +10232,10 @@ index 24dfe847b745..2a03f232a3f2 100644 > - 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": > >@@ -9899,7 +10318,7 @@ index 24dfe847b745..2a03f232a3f2 100644 > > Library("default_neteq_controller_factory_gn") > diff --git third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build >-index 1a0743f608e3..02e6017182d4 100644 >+index 96f2fffa5e33..02e6017182d4 100644 > --- third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build > +++ third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -9923,7 +10342,7 @@ index 1a0743f608e3..02e6017182d4 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -10035,6 +10454,10 @@ index 1a0743f608e3..02e6017182d4 100644 > - 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": > >@@ -10117,7 +10540,7 @@ index 1a0743f608e3..02e6017182d4 100644 > > Library("default_neteq_factory_gn") > diff --git third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build >-index bf109c0750b4..b4bd72fd9699 100644 >+index e619d4fb5ab9..b4bd72fd9699 100644 > --- third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build > +++ third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -10141,7 +10564,7 @@ index bf109c0750b4..b4bd72fd9699 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -10249,6 +10672,10 @@ index bf109c0750b4..b4bd72fd9699 100644 > - 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": > >@@ -10331,7 +10758,7 @@ index bf109c0750b4..b4bd72fd9699 100644 > > Library("neteq_api_gn") > diff --git third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build >-index 6c9c7e83a278..32fc005477ae 100644 >+index 9baed43dc5ab..32fc005477ae 100644 > --- third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build > +++ third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -10355,7 +10782,7 @@ index 6c9c7e83a278..32fc005477ae 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,115 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -10459,6 +10886,10 @@ index 6c9c7e83a278..32fc005477ae 100644 > - 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": > >@@ -10472,7 +10903,7 @@ index 6c9c7e83a278..32fc005477ae 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -157,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -10525,7 +10956,7 @@ index 6c9c7e83a278..32fc005477ae 100644 > - > Library("neteq_controller_api_gn") > diff --git third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build >-index ec476535c82d..df6cea066912 100644 >+index a0ca1dd76f9a..df6cea066912 100644 > --- third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build > +++ third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -10549,7 +10980,7 @@ index ec476535c82d..df6cea066912 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -10650,6 +11081,10 @@ index ec476535c82d..df6cea066912 100644 > - 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": > >@@ -10732,7 +11167,7 @@ index ec476535c82d..df6cea066912 100644 > > 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 ef3abcb4e453..9c5e0ac36215 100644 >+index 348bf16eecf1..9c5e0ac36215 100644 > --- third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build > +++ third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -10756,7 +11191,7 @@ index ef3abcb4e453..9c5e0ac36215 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -10849,6 +11284,10 @@ index ef3abcb4e453..9c5e0ac36215 100644 > - 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": > >@@ -10862,7 +11301,7 @@ index ef3abcb4e453..9c5e0ac36215 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -10915,7 +11354,7 @@ index ef3abcb4e453..9c5e0ac36215 100644 > - > Library("network_state_predictor_api_gn") > diff --git third_party/libwebrtc/api/priority_gn/moz.build third_party/libwebrtc/api/priority_gn/moz.build >-index 6dbab628c8b5..81b1938a5747 100644 >+index bae63c2cb1cc..81b1938a5747 100644 > --- third_party/libwebrtc/api/priority_gn/moz.build > +++ third_party/libwebrtc/api/priority_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -10939,7 +11378,7 @@ index 6dbab628c8b5..81b1938a5747 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -11036,6 +11475,10 @@ index 6dbab628c8b5..81b1938a5747 100644 > - 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": > >@@ -11049,7 +11492,7 @@ index 6dbab628c8b5..81b1938a5747 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -11102,7 +11545,7 @@ index 6dbab628c8b5..81b1938a5747 100644 > - > Library("priority_gn") > diff --git third_party/libwebrtc/api/ref_count_gn/moz.build third_party/libwebrtc/api/ref_count_gn/moz.build >-index 03722c2f1170..dc07e0f1d07f 100644 >+index 02086e698dc8..dc07e0f1d07f 100644 > --- third_party/libwebrtc/api/ref_count_gn/moz.build > +++ third_party/libwebrtc/api/ref_count_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -11126,7 +11569,7 @@ index 03722c2f1170..dc07e0f1d07f 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -11219,6 +11662,10 @@ index 03722c2f1170..dc07e0f1d07f 100644 > - 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": > >@@ -11232,7 +11679,7 @@ index 03722c2f1170..dc07e0f1d07f 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -11285,7 +11732,7 @@ index 03722c2f1170..dc07e0f1d07f 100644 > - > Library("ref_count_gn") > diff --git third_party/libwebrtc/api/refcountedbase_gn/moz.build third_party/libwebrtc/api/refcountedbase_gn/moz.build >-index 393d437bf612..bc3c0a28cb23 100644 >+index 52fcc299027f..bc3c0a28cb23 100644 > --- third_party/libwebrtc/api/refcountedbase_gn/moz.build > +++ third_party/libwebrtc/api/refcountedbase_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -11309,7 +11756,7 @@ index 393d437bf612..bc3c0a28cb23 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -11402,6 +11849,10 @@ index 393d437bf612..bc3c0a28cb23 100644 > - 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": > >@@ -11415,7 +11866,7 @@ index 393d437bf612..bc3c0a28cb23 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -11468,7 +11919,7 @@ index 393d437bf612..bc3c0a28cb23 100644 > - > Library("refcountedbase_gn") > diff --git third_party/libwebrtc/api/rtc_error_gn/moz.build third_party/libwebrtc/api/rtc_error_gn/moz.build >-index 76c3a2dcfaac..14dc0fc7363c 100644 >+index 236d348fb3da..14dc0fc7363c 100644 > --- third_party/libwebrtc/api/rtc_error_gn/moz.build > +++ third_party/libwebrtc/api/rtc_error_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -11492,7 +11943,7 @@ index 76c3a2dcfaac..14dc0fc7363c 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -11600,6 +12051,10 @@ index 76c3a2dcfaac..14dc0fc7363c 100644 > - 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": > >@@ -11682,7 +12137,7 @@ index 76c3a2dcfaac..14dc0fc7363c 100644 > > Library("rtc_error_gn") > diff --git third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build >-index f7f70d5d31ec..729beed1bc12 100644 >+index 711bf9c77efb..729beed1bc12 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -11706,7 +12161,7 @@ index f7f70d5d31ec..729beed1bc12 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,182 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -11814,6 +12269,10 @@ index f7f70d5d31ec..729beed1bc12 100644 > - 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": > >@@ -11896,7 +12355,7 @@ index f7f70d5d31ec..729beed1bc12 100644 > > Library("rtc_event_log_gn") > diff --git third_party/libwebrtc/api/rtp_headers_gn/moz.build third_party/libwebrtc/api/rtp_headers_gn/moz.build >-index 030007c62918..8336baf5c775 100644 >+index 41c4e99db55e..8336baf5c775 100644 > --- third_party/libwebrtc/api/rtp_headers_gn/moz.build > +++ third_party/libwebrtc/api/rtp_headers_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -11920,7 +12379,7 @@ index 030007c62918..8336baf5c775 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -12028,6 +12487,10 @@ index 030007c62918..8336baf5c775 100644 > - 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": > >@@ -12110,7 +12573,7 @@ index 030007c62918..8336baf5c775 100644 > > Library("rtp_headers_gn") > diff --git third_party/libwebrtc/api/rtp_packet_info_gn/moz.build third_party/libwebrtc/api/rtp_packet_info_gn/moz.build >-index 72e4029ec026..49697fe94030 100644 >+index 9c1735f23770..49697fe94030 100644 > --- third_party/libwebrtc/api/rtp_packet_info_gn/moz.build > +++ third_party/libwebrtc/api/rtp_packet_info_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -12134,7 +12597,7 @@ index 72e4029ec026..49697fe94030 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -12242,6 +12705,10 @@ index 72e4029ec026..49697fe94030 100644 > - 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": > >@@ -12324,7 +12791,7 @@ index 72e4029ec026..49697fe94030 100644 > > 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 61c7b71eb043..00fa8cacf263 100644 >+index 0496394c6b64..00fa8cacf263 100644 > --- third_party/libwebrtc/api/rtp_packet_sender_gn/moz.build > +++ third_party/libwebrtc/api/rtp_packet_sender_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -12348,7 +12815,7 @@ index 61c7b71eb043..00fa8cacf263 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -12441,6 +12908,10 @@ index 61c7b71eb043..00fa8cacf263 100644 > - 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": > >@@ -12454,7 +12925,7 @@ index 61c7b71eb043..00fa8cacf263 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -12507,7 +12978,7 @@ index 61c7b71eb043..00fa8cacf263 100644 > - > Library("rtp_packet_sender_gn") > diff --git third_party/libwebrtc/api/rtp_parameters_gn/moz.build third_party/libwebrtc/api/rtp_parameters_gn/moz.build >-index d41a3d480f0c..c163c9cf05b9 100644 >+index 08553627768d..c163c9cf05b9 100644 > --- third_party/libwebrtc/api/rtp_parameters_gn/moz.build > +++ third_party/libwebrtc/api/rtp_parameters_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -12531,7 +13002,7 @@ index d41a3d480f0c..c163c9cf05b9 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -12632,6 +13103,10 @@ index d41a3d480f0c..c163c9cf05b9 100644 > - 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": > >@@ -12714,7 +13189,7 @@ index d41a3d480f0c..c163c9cf05b9 100644 > > 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 12d98cc46987..362c773c7fd2 100644 >+index 3b12029bdc36..362c773c7fd2 100644 > --- third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build > +++ third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -12738,7 +13213,7 @@ index 12d98cc46987..362c773c7fd2 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -12831,6 +13306,10 @@ index 12d98cc46987..362c773c7fd2 100644 > - 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": > >@@ -12844,7 +13323,7 @@ index 12d98cc46987..362c773c7fd2 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -12897,7 +13376,7 @@ index 12d98cc46987..362c773c7fd2 100644 > - > Library("rtp_sender_interface_gn") > diff --git third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build >-index 890cfb7df025..ea214198799a 100644 >+index cea07d6922c0..ea214198799a 100644 > --- third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build > +++ third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -12921,7 +13400,7 @@ index 890cfb7df025..ea214198799a 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -13029,6 +13508,10 @@ index 890cfb7df025..ea214198799a 100644 > - 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": > >@@ -13111,7 +13594,7 @@ index 890cfb7df025..ea214198799a 100644 > > 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 412223b12caa..1090214b4d41 100644 >+index b80b352927ed..1090214b4d41 100644 > --- third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build > +++ third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -13135,7 +13618,7 @@ index 412223b12caa..1090214b4d41 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -13228,6 +13711,10 @@ index 412223b12caa..1090214b4d41 100644 > - 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": > >@@ -13241,7 +13728,7 @@ index 412223b12caa..1090214b4d41 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -13294,7 +13781,7 @@ index 412223b12caa..1090214b4d41 100644 > - > 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 8b738f77061d..05723cb68f60 100644 >+index 562cb4ae55f8..05723cb68f60 100644 > --- third_party/libwebrtc/api/scoped_refptr_gn/moz.build > +++ third_party/libwebrtc/api/scoped_refptr_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -13318,7 +13805,7 @@ index 8b738f77061d..05723cb68f60 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -13411,6 +13898,10 @@ index 8b738f77061d..05723cb68f60 100644 > - 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": > >@@ -13424,7 +13915,7 @@ index 8b738f77061d..05723cb68f60 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -13477,7 +13968,7 @@ index 8b738f77061d..05723cb68f60 100644 > - > 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 33287277eb09..42cf01fa9d47 100644 >+index 191ccae1f939..42cf01fa9d47 100644 > --- third_party/libwebrtc/api/sequence_checker_gn/moz.build > +++ third_party/libwebrtc/api/sequence_checker_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -13501,7 +13992,7 @@ index 33287277eb09..42cf01fa9d47 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -13598,6 +14089,10 @@ index 33287277eb09..42cf01fa9d47 100644 > - 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": > >@@ -13611,7 +14106,7 @@ index 33287277eb09..42cf01fa9d47 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -13664,7 +14159,7 @@ index 33287277eb09..42cf01fa9d47 100644 > - > Library("sequence_checker_gn") > diff --git third_party/libwebrtc/api/simulated_network_api_gn/moz.build third_party/libwebrtc/api/simulated_network_api_gn/moz.build >-index 13cd4ab4804a..d5b1312c38f6 100644 >+index 558f8ca50fda..d5b1312c38f6 100644 > --- third_party/libwebrtc/api/simulated_network_api_gn/moz.build > +++ third_party/libwebrtc/api/simulated_network_api_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -13688,7 +14183,7 @@ index 13cd4ab4804a..d5b1312c38f6 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -13785,6 +14280,10 @@ index 13cd4ab4804a..d5b1312c38f6 100644 > - 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": > >@@ -13798,7 +14297,7 @@ index 13cd4ab4804a..d5b1312c38f6 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -13851,7 +14350,7 @@ index 13cd4ab4804a..d5b1312c38f6 100644 > - > Library("simulated_network_api_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 a24351f6f897..46673406c667 100644 >+index 6a4453ac73ee..46673406c667 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -13875,7 +14374,7 @@ index a24351f6f897..46673406c667 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -13968,6 +14467,10 @@ index a24351f6f897..46673406c667 100644 > - 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": > >@@ -13981,7 +14484,7 @@ index a24351f6f897..46673406c667 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -14034,7 +14537,7 @@ index a24351f6f897..46673406c667 100644 > - > Library("default_task_queue_factory_gn") > diff --git third_party/libwebrtc/api/task_queue/pending_task_safety_flag_gn/moz.build third_party/libwebrtc/api/task_queue/pending_task_safety_flag_gn/moz.build >-index 203b904ca14e..c519cfaeab49 100644 >+index beda60da9198..c519cfaeab49 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -14058,7 +14561,7 @@ index 203b904ca14e..c519cfaeab49 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -14159,6 +14662,10 @@ index 203b904ca14e..c519cfaeab49 100644 > - 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": > >@@ -14241,7 +14748,7 @@ index 203b904ca14e..c519cfaeab49 100644 > > Library("pending_task_safety_flag_gn") > diff --git third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build >-index 4bfa92ca5bb4..7734743729b9 100644 >+index 3ea55a8b7684..7734743729b9 100644 > --- third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build > +++ third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -14265,7 +14772,7 @@ index 4bfa92ca5bb4..7734743729b9 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -14366,6 +14873,10 @@ index 4bfa92ca5bb4..7734743729b9 100644 > - 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": > >@@ -14448,7 +14959,7 @@ index 4bfa92ca5bb4..7734743729b9 100644 > > 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 37a5138463ec..3c4c34510df6 100644 >+index 63460f387b3a..3c4c34510df6 100644 > --- third_party/libwebrtc/api/transport/bandwidth_estimation_settings_gn/moz.build > +++ third_party/libwebrtc/api/transport/bandwidth_estimation_settings_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -14472,7 +14983,7 @@ index 37a5138463ec..3c4c34510df6 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -14565,6 +15076,10 @@ index 37a5138463ec..3c4c34510df6 100644 > - 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": > >@@ -14578,7 +15093,7 @@ index 37a5138463ec..3c4c34510df6 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -14631,7 +15146,7 @@ index 37a5138463ec..3c4c34510df6 100644 > - > 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 5371775e5c04..8b2281068103 100644 >+index 7e80ecfe46b3..8b2281068103 100644 > --- third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build > +++ third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -14655,7 +15170,7 @@ index 5371775e5c04..8b2281068103 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -14748,6 +15263,10 @@ index 5371775e5c04..8b2281068103 100644 > - 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": > >@@ -14761,7 +15280,7 @@ index 5371775e5c04..8b2281068103 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -14814,7 +15333,7 @@ index 5371775e5c04..8b2281068103 100644 > - > Library("bandwidth_usage_gn") > diff --git third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build >-index 546ef3df9c6c..c3027c3972c5 100644 >+index 25a3c741839e..c3027c3972c5 100644 > --- third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build > +++ third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -14838,210 +15357,214 @@ index 546ef3df9c6c..c3027c3972c5 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,171 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >- if CONFIG["MOZ_DEBUG"] == "1": >- >- DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >-- >--if CONFIG["OS_TARGET"] == "Android": >-- >-- DEFINES["ANDROID"] = True >-- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" >-- DEFINES["HAVE_SYS_UIO_H"] = True >-- DEFINES["WEBRTC_ANDROID"] = True >-- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True >-- DEFINES["WEBRTC_LINUX"] = True >-- DEFINES["WEBRTC_POSIX"] = True >-- DEFINES["_GNU_SOURCE"] = True >-- DEFINES["__STDC_CONSTANT_MACROS"] = True >-- DEFINES["__STDC_FORMAT_MACROS"] = True >-- >--if CONFIG["OS_TARGET"] == "Darwin": >-- >-- DEFINES["WEBRTC_MAC"] = True >-- DEFINES["WEBRTC_POSIX"] = True >-- DEFINES["_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["USE_AURA"] = "1" >-- DEFINES["USE_GLIB"] = "1" >-- DEFINES["USE_NSS_CERTS"] = "1" >-- DEFINES["USE_OZONE"] = "1" >-- DEFINES["USE_UDEV"] = True >-- DEFINES["WEBRTC_LINUX"] = 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"] == "OpenBSD": >-- >-- DEFINES["USE_GLIB"] = "1" >-- DEFINES["USE_OZONE"] = "1" >-- DEFINES["USE_X11"] = "1" >-- DEFINES["WEBRTC_BSD"] = True >-- DEFINES["WEBRTC_POSIX"] = True >-- DEFINES["_FILE_OFFSET_BITS"] = "64" >-- DEFINES["_LARGEFILE64_SOURCE"] = True >-- DEFINES["_LARGEFILE_SOURCE"] = True >-- DEFINES["__STDC_CONSTANT_MACROS"] = True >-- DEFINES["__STDC_FORMAT_MACROS"] = True >-- >--if CONFIG["OS_TARGET"] == "WINNT": >-- >-- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >-- DEFINES["NOMINMAX"] = True >-- DEFINES["NTDDI_VERSION"] = "0x0A000000" >-- DEFINES["PSAPI_VERSION"] = "2" >-- DEFINES["RTC_ENABLE_WIN_WGC"] = True >-- DEFINES["UNICODE"] = True >-- DEFINES["USE_AURA"] = "1" >-- DEFINES["WEBRTC_WIN"] = True >-- DEFINES["WIN32"] = True >-- DEFINES["WIN32_LEAN_AND_MEAN"] = True >-- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" >-- DEFINES["WINVER"] = "0x0A00" >-- DEFINES["_ATL_NO_OPENGL"] = True >-- DEFINES["_CRT_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["__STD_C"] = True >-+ DEFINES["_DEBUG"] = True >- >- if CONFIG["TARGET_CPU"] == "aarch64": >- >- DEFINES["WEBRTC_ARCH_ARM64"] = True >- DEFINES["WEBRTC_HAS_NEON"] = True >- >--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"] == "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["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": >-- >-- DEFINES["USE_X11"] = "1" >-- >--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["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": >-- >-- DEFINES["_GNU_SOURCE"] = True >-- >--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": >-- >-- DEFINES["_GNU_SOURCE"] = True >-- >--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": >-+ DEFINES["WEBRTC_ENABLE_AVX2"] = True >- >-- CXXFLAGS += [ >-- "-msse2" >-- ] >-+if CONFIG["TARGET_CPU"] == "x86_64": >- >-- DEFINES["_GNU_SOURCE"] = True >-+ DEFINES["WEBRTC_ENABLE_AVX2"] = True >- >--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": >-+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >- >-- DEFINES["_GNU_SOURCE"] = True >-+ DEFINES["USE_X11"] = "1" >- >- 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 fd68a016d9c0..19c008c92ffe 100644 >---- third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build >-+++ third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build >-@@ -12,11 +12,20 @@ AllowCompilerWarnings() >- DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" >- 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["__STDC_CONSTANT_MACROS"] = True >-+DEFINES["__STDC_FORMAT_MACROS"] = True >- >- FINAL_LIBRARY = "xul" >- >-@@ -39,115 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+ if CONFIG["MOZ_DEBUG"] == "1": >+ >+ DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >+- >+-if CONFIG["OS_TARGET"] == "Android": >+- >+- DEFINES["ANDROID"] = True >+- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" >+- DEFINES["HAVE_SYS_UIO_H"] = True >+- DEFINES["WEBRTC_ANDROID"] = True >+- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True >+- DEFINES["WEBRTC_LINUX"] = True >+- DEFINES["WEBRTC_POSIX"] = True >+- DEFINES["_GNU_SOURCE"] = True >+- DEFINES["__STDC_CONSTANT_MACROS"] = True >+- DEFINES["__STDC_FORMAT_MACROS"] = True >+- >+-if CONFIG["OS_TARGET"] == "Darwin": >+- >+- DEFINES["WEBRTC_MAC"] = True >+- DEFINES["WEBRTC_POSIX"] = True >+- DEFINES["_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["USE_AURA"] = "1" >+- DEFINES["USE_GLIB"] = "1" >+- DEFINES["USE_NSS_CERTS"] = "1" >+- DEFINES["USE_OZONE"] = "1" >+- DEFINES["USE_UDEV"] = True >+- DEFINES["WEBRTC_LINUX"] = 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"] == "OpenBSD": >+- >+- DEFINES["USE_GLIB"] = "1" >+- DEFINES["USE_OZONE"] = "1" >+- DEFINES["USE_X11"] = "1" >+- DEFINES["WEBRTC_BSD"] = True >+- DEFINES["WEBRTC_POSIX"] = True >+- DEFINES["_FILE_OFFSET_BITS"] = "64" >+- DEFINES["_LARGEFILE64_SOURCE"] = True >+- DEFINES["_LARGEFILE_SOURCE"] = True >+- DEFINES["__STDC_CONSTANT_MACROS"] = True >+- DEFINES["__STDC_FORMAT_MACROS"] = True >+- >+-if CONFIG["OS_TARGET"] == "WINNT": >+- >+- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+- DEFINES["NOMINMAX"] = True >+- DEFINES["NTDDI_VERSION"] = "0x0A000000" >+- DEFINES["PSAPI_VERSION"] = "2" >+- DEFINES["RTC_ENABLE_WIN_WGC"] = True >+- DEFINES["UNICODE"] = True >+- DEFINES["USE_AURA"] = "1" >+- DEFINES["WEBRTC_WIN"] = True >+- DEFINES["WIN32"] = True >+- DEFINES["WIN32_LEAN_AND_MEAN"] = True >+- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" >+- DEFINES["WINVER"] = "0x0A00" >+- DEFINES["_ATL_NO_OPENGL"] = True >+- DEFINES["_CRT_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["__STD_C"] = True >++ DEFINES["_DEBUG"] = True >+ >+ if CONFIG["TARGET_CPU"] == "aarch64": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+ DEFINES["WEBRTC_HAS_NEON"] = True >+ >+-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["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": >+- >+- DEFINES["USE_X11"] = "1" >+- >+-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["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": >+- >+- DEFINES["_GNU_SOURCE"] = True >+- >+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": >+- >+- DEFINES["_GNU_SOURCE"] = True >+- >+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": >++ DEFINES["WEBRTC_ENABLE_AVX2"] = True >+ >+- CXXFLAGS += [ >+- "-msse2" >+- ] >++if CONFIG["TARGET_CPU"] == "x86_64": >+ >+- DEFINES["_GNU_SOURCE"] = True >++ DEFINES["WEBRTC_ENABLE_AVX2"] = True >+ >+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": >++if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >+ >+- DEFINES["_GNU_SOURCE"] = True >++ DEFINES["USE_X11"] = "1" >+ >+ 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 b11138679c25..19c008c92ffe 100644 >+--- third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build >++++ third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build >+@@ -12,11 +12,20 @@ AllowCompilerWarnings() >+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" >+ 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["__STDC_CONSTANT_MACROS"] = True >++DEFINES["__STDC_FORMAT_MACROS"] = True >+ >+ FINAL_LIBRARY = "xul" >+ >+@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -15145,6 +15668,10 @@ index fd68a016d9c0..19c008c92ffe 100644 > - 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": > >@@ -15158,7 +15685,7 @@ index fd68a016d9c0..19c008c92ffe 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -157,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -15211,7 +15738,7 @@ index fd68a016d9c0..19c008c92ffe 100644 > - > 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 e143fc3b344e..bc515fc5c103 100644 >+index 6c4cd224b98b..bc515fc5c103 100644 > --- third_party/libwebrtc/api/transport/ecn_marking_gn/moz.build > +++ third_party/libwebrtc/api/transport/ecn_marking_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -15235,7 +15762,7 @@ index e143fc3b344e..bc515fc5c103 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -15328,6 +15855,10 @@ index e143fc3b344e..bc515fc5c103 100644 > - 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": > >@@ -15341,7 +15872,7 @@ index e143fc3b344e..bc515fc5c103 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -15394,7 +15925,7 @@ index e143fc3b344e..bc515fc5c103 100644 > - > Library("ecn_marking_gn") > diff --git third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build >-index c6ea6555bdee..842473731ca0 100644 >+index c47158aa87fe..842473731ca0 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -15418,7 +15949,7 @@ index c6ea6555bdee..842473731ca0 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -15526,6 +16057,10 @@ index c6ea6555bdee..842473731ca0 100644 > - 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": > >@@ -15608,7 +16143,7 @@ index c6ea6555bdee..842473731ca0 100644 > > Library("field_trial_based_config_gn") > diff --git third_party/libwebrtc/api/transport/goog_cc_gn/moz.build third_party/libwebrtc/api/transport/goog_cc_gn/moz.build >-index 4e5cc4043e40..6e7e204ba661 100644 >+index 89be00e883b4..6e7e204ba661 100644 > --- third_party/libwebrtc/api/transport/goog_cc_gn/moz.build > +++ third_party/libwebrtc/api/transport/goog_cc_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -15632,7 +16167,7 @@ index 4e5cc4043e40..6e7e204ba661 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,187 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -15745,6 +16280,10 @@ index 4e5cc4043e40..6e7e204ba661 100644 > - 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": > >@@ -15827,7 +16366,7 @@ index 4e5cc4043e40..6e7e204ba661 100644 > > Library("goog_cc_gn") > diff --git third_party/libwebrtc/api/transport/network_control_gn/moz.build third_party/libwebrtc/api/transport/network_control_gn/moz.build >-index 405677c03cdd..d79bb6509222 100644 >+index 7ae9e4b54679..d79bb6509222 100644 > --- third_party/libwebrtc/api/transport/network_control_gn/moz.build > +++ third_party/libwebrtc/api/transport/network_control_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -15851,7 +16390,7 @@ index 405677c03cdd..d79bb6509222 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -15959,6 +16498,10 @@ index 405677c03cdd..d79bb6509222 100644 > - 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": > >@@ -16041,7 +16584,7 @@ index 405677c03cdd..d79bb6509222 100644 > > Library("network_control_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 571df664b6d9..a2bad5bb1bca 100644 >+index fa5f3fb195e6..a2bad5bb1bca 100644 > --- third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build > +++ third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -16065,7 +16608,7 @@ index 571df664b6d9..a2bad5bb1bca 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -16166,6 +16709,10 @@ index 571df664b6d9..a2bad5bb1bca 100644 > - 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": > >@@ -16248,7 +16795,7 @@ index 571df664b6d9..a2bad5bb1bca 100644 > > 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 bd462e15c453..8986e9975515 100644 >+index 34b4824b5f54..8986e9975515 100644 > --- third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build > +++ third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -16272,7 +16819,7 @@ index bd462e15c453..8986e9975515 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,115 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -16376,6 +16923,10 @@ index bd462e15c453..8986e9975515 100644 > - 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": > >@@ -16389,7 +16940,7 @@ index bd462e15c453..8986e9975515 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -157,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -16442,7 +16993,7 @@ index bd462e15c453..8986e9975515 100644 > - > 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 236799789f21..eb2eea46c3a1 100644 >+index 865d9643a41c..eb2eea46c3a1 100644 > --- third_party/libwebrtc/api/transport/stun_types_gn/moz.build > +++ third_party/libwebrtc/api/transport/stun_types_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -16466,7 +17017,7 @@ index 236799789f21..eb2eea46c3a1 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -16559,6 +17110,10 @@ index 236799789f21..eb2eea46c3a1 100644 > - 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": > >@@ -16572,7 +17127,7 @@ index 236799789f21..eb2eea46c3a1 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -16625,7 +17180,7 @@ index 236799789f21..eb2eea46c3a1 100644 > - > Library("stun_types_gn") > diff --git third_party/libwebrtc/api/transport_api_gn/moz.build third_party/libwebrtc/api/transport_api_gn/moz.build >-index fd6c47703205..d2dee618fe31 100644 >+index 7f3192c2bcfd..d2dee618fe31 100644 > --- third_party/libwebrtc/api/transport_api_gn/moz.build > +++ third_party/libwebrtc/api/transport_api_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -16649,7 +17204,7 @@ index fd6c47703205..d2dee618fe31 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -16750,6 +17305,10 @@ index fd6c47703205..d2dee618fe31 100644 > - 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": > >@@ -16832,7 +17391,7 @@ index fd6c47703205..d2dee618fe31 100644 > > Library("transport_api_gn") > diff --git third_party/libwebrtc/api/units/data_rate_gn/moz.build third_party/libwebrtc/api/units/data_rate_gn/moz.build >-index 41006145b925..40749dda50cc 100644 >+index 720807906a65..40749dda50cc 100644 > --- third_party/libwebrtc/api/units/data_rate_gn/moz.build > +++ third_party/libwebrtc/api/units/data_rate_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -16856,7 +17415,7 @@ index 41006145b925..40749dda50cc 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -16957,6 +17516,10 @@ index 41006145b925..40749dda50cc 100644 > - 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": > >@@ -17039,7 +17602,7 @@ index 41006145b925..40749dda50cc 100644 > > Library("data_rate_gn") > diff --git third_party/libwebrtc/api/units/data_size_gn/moz.build third_party/libwebrtc/api/units/data_size_gn/moz.build >-index 160343108513..861ba03b8ee4 100644 >+index 3c005ff583f4..861ba03b8ee4 100644 > --- third_party/libwebrtc/api/units/data_size_gn/moz.build > +++ third_party/libwebrtc/api/units/data_size_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -17063,7 +17626,7 @@ index 160343108513..861ba03b8ee4 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -17164,6 +17727,10 @@ index 160343108513..861ba03b8ee4 100644 > - 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": > >@@ -17246,7 +17813,7 @@ index 160343108513..861ba03b8ee4 100644 > > Library("data_size_gn") > diff --git third_party/libwebrtc/api/units/frequency_gn/moz.build third_party/libwebrtc/api/units/frequency_gn/moz.build >-index bc600cc4e875..df8a867d45be 100644 >+index 7e1b55def133..df8a867d45be 100644 > --- third_party/libwebrtc/api/units/frequency_gn/moz.build > +++ third_party/libwebrtc/api/units/frequency_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -17270,7 +17837,7 @@ index bc600cc4e875..df8a867d45be 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -17371,6 +17938,10 @@ index bc600cc4e875..df8a867d45be 100644 > - 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": > >@@ -17453,7 +18024,7 @@ index bc600cc4e875..df8a867d45be 100644 > > Library("frequency_gn") > diff --git third_party/libwebrtc/api/units/time_delta_gn/moz.build third_party/libwebrtc/api/units/time_delta_gn/moz.build >-index 1fc089290fab..09ebe7ab3b88 100644 >+index aebee68119cb..09ebe7ab3b88 100644 > --- third_party/libwebrtc/api/units/time_delta_gn/moz.build > +++ third_party/libwebrtc/api/units/time_delta_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -17477,7 +18048,7 @@ index 1fc089290fab..09ebe7ab3b88 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -17578,6 +18149,10 @@ index 1fc089290fab..09ebe7ab3b88 100644 > - 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": > >@@ -17660,7 +18235,7 @@ index 1fc089290fab..09ebe7ab3b88 100644 > > Library("time_delta_gn") > diff --git third_party/libwebrtc/api/units/timestamp_gn/moz.build third_party/libwebrtc/api/units/timestamp_gn/moz.build >-index e16a15586146..7b73258ae847 100644 >+index d80b973f5ee3..7b73258ae847 100644 > --- third_party/libwebrtc/api/units/timestamp_gn/moz.build > +++ third_party/libwebrtc/api/units/timestamp_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -17684,7 +18259,7 @@ index e16a15586146..7b73258ae847 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -17785,6 +18360,10 @@ index e16a15586146..7b73258ae847 100644 > - 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": > >@@ -17867,7 +18446,7 @@ index e16a15586146..7b73258ae847 100644 > > Library("timestamp_gn") > diff --git third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build >-index f87e82de30e8..383a9f5f8f65 100644 >+index a4ec365080f6..383a9f5f8f65 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -17891,7 +18470,7 @@ index f87e82de30e8..383a9f5f8f65 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,187 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -18004,6 +18583,10 @@ index f87e82de30e8..383a9f5f8f65 100644 > - 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": > >@@ -18085,8 +18668,195 @@ index f87e82de30e8..383a9f5f8f65 100644 > + DEFINES["USE_X11"] = "1" > > 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 5d7da48cc742..300e8ee3846f 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 >+@@ -12,11 +12,20 @@ AllowCompilerWarnings() >+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" >+ 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["__STDC_CONSTANT_MACROS"] = True >++DEFINES["__STDC_FORMAT_MACROS"] = True >+ >+ FINAL_LIBRARY = "xul" >+ >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+ if CONFIG["MOZ_DEBUG"] == "1": >+ >+ DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >+- >+-if CONFIG["OS_TARGET"] == "Android": >+- >+- DEFINES["ANDROID"] = True >+- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" >+- DEFINES["HAVE_SYS_UIO_H"] = True >+- DEFINES["WEBRTC_ANDROID"] = True >+- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True >+- DEFINES["WEBRTC_LINUX"] = True >+- DEFINES["WEBRTC_POSIX"] = True >+- DEFINES["_GNU_SOURCE"] = True >+- DEFINES["__STDC_CONSTANT_MACROS"] = True >+- DEFINES["__STDC_FORMAT_MACROS"] = True >+- >+-if CONFIG["OS_TARGET"] == "Darwin": >+- >+- DEFINES["WEBRTC_MAC"] = True >+- DEFINES["WEBRTC_POSIX"] = True >+- DEFINES["_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["USE_AURA"] = "1" >+- DEFINES["USE_GLIB"] = "1" >+- DEFINES["USE_NSS_CERTS"] = "1" >+- DEFINES["USE_OZONE"] = "1" >+- DEFINES["USE_UDEV"] = True >+- DEFINES["WEBRTC_LINUX"] = 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"] == "OpenBSD": >+- >+- DEFINES["USE_GLIB"] = "1" >+- DEFINES["USE_OZONE"] = "1" >+- DEFINES["USE_X11"] = "1" >+- DEFINES["WEBRTC_BSD"] = True >+- DEFINES["WEBRTC_POSIX"] = True >+- DEFINES["_FILE_OFFSET_BITS"] = "64" >+- DEFINES["_LARGEFILE64_SOURCE"] = True >+- DEFINES["_LARGEFILE_SOURCE"] = True >+- DEFINES["__STDC_CONSTANT_MACROS"] = True >+- DEFINES["__STDC_FORMAT_MACROS"] = True >+- >+-if CONFIG["OS_TARGET"] == "WINNT": >+- >+- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+- DEFINES["NOMINMAX"] = True >+- DEFINES["NTDDI_VERSION"] = "0x0A000000" >+- DEFINES["PSAPI_VERSION"] = "2" >+- DEFINES["RTC_ENABLE_WIN_WGC"] = True >+- DEFINES["UNICODE"] = True >+- DEFINES["USE_AURA"] = "1" >+- DEFINES["WEBRTC_WIN"] = True >+- DEFINES["WIN32"] = True >+- DEFINES["WIN32_LEAN_AND_MEAN"] = True >+- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" >+- DEFINES["WINVER"] = "0x0A00" >+- DEFINES["_ATL_NO_OPENGL"] = True >+- DEFINES["_CRT_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["__STD_C"] = True >++ DEFINES["_DEBUG"] = True >+ >+ if CONFIG["TARGET_CPU"] == "aarch64": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+ DEFINES["WEBRTC_HAS_NEON"] = True >+ >+-if CONFIG["TARGET_CPU"] == "arm": >+- >+- DEFINES["WEBRTC_ARCH_ARM"] = True >+- DEFINES["WEBRTC_ARCH_ARM_V7"] = True >+- DEFINES["WEBRTC_HAS_NEON"] = True >+- >+-if CONFIG["TARGET_CPU"] == "loongarch64": >+- >+- DEFINES["_GNU_SOURCE"] = True >+- >+ if CONFIG["TARGET_CPU"] == "mips32": >+ >+ DEFINES["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": >+ >+@@ -150,50 +68,8 @@ 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["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["_GNU_SOURCE"] = True >+- >+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": >+- >+- DEFINES["_GNU_SOURCE"] = True >+- >+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": >+- >+- DEFINES["_GNU_SOURCE"] = True >+- >+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": >+- >+- DEFINES["_GNU_SOURCE"] = True >+- >+ Library("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 5ed6278b5d83..6ce825420c3d 100644 >+index 1727272f7e0f..6ce825420c3d 100644 > --- third_party/libwebrtc/api/video/encoded_frame_gn/moz.build > +++ third_party/libwebrtc/api/video/encoded_frame_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -18110,7 +18880,7 @@ index 5ed6278b5d83..6ce825420c3d 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -18218,6 +18988,10 @@ index 5ed6278b5d83..6ce825420c3d 100644 > - 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": > >@@ -18300,7 +19074,7 @@ index 5ed6278b5d83..6ce825420c3d 100644 > > Library("encoded_frame_gn") > diff --git third_party/libwebrtc/api/video/encoded_image_gn/moz.build third_party/libwebrtc/api/video/encoded_image_gn/moz.build >-index ff946d65fd63..0213de1b0ebb 100644 >+index 52b2c556a941..0213de1b0ebb 100644 > --- third_party/libwebrtc/api/video/encoded_image_gn/moz.build > +++ third_party/libwebrtc/api/video/encoded_image_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -18324,7 +19098,7 @@ index ff946d65fd63..0213de1b0ebb 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -18432,6 +19206,10 @@ index ff946d65fd63..0213de1b0ebb 100644 > - 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": > >@@ -18514,7 +19292,7 @@ index ff946d65fd63..0213de1b0ebb 100644 > > Library("encoded_image_gn") > diff --git third_party/libwebrtc/api/video/frame_buffer_gn/moz.build third_party/libwebrtc/api/video/frame_buffer_gn/moz.build >-index 79bdd813a027..d2f349ceca3b 100644 >+index 384cb719cb2f..d2f349ceca3b 100644 > --- third_party/libwebrtc/api/video/frame_buffer_gn/moz.build > +++ third_party/libwebrtc/api/video/frame_buffer_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -18538,7 +19316,7 @@ index 79bdd813a027..d2f349ceca3b 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,187 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -18651,6 +19429,10 @@ index 79bdd813a027..d2f349ceca3b 100644 > - 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": > >@@ -18733,7 +19515,7 @@ index 79bdd813a027..d2f349ceca3b 100644 > > 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 8541f8940efa..c56e910a6a20 100644 >+index b0f0ce639337..c56e910a6a20 100644 > --- third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build > +++ third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -18757,7 +19539,7 @@ index 8541f8940efa..c56e910a6a20 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,115 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -18861,6 +19643,10 @@ index 8541f8940efa..c56e910a6a20 100644 > - 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": > >@@ -18874,7 +19660,7 @@ index 8541f8940efa..c56e910a6a20 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -157,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -18927,7 +19713,7 @@ index 8541f8940efa..c56e910a6a20 100644 > - > 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 3c6d24b1af84..136648ce930d 100644 >+index 0af4d7d36209..136648ce930d 100644 > --- third_party/libwebrtc/api/video/render_resolution_gn/moz.build > +++ third_party/libwebrtc/api/video/render_resolution_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -18951,7 +19737,7 @@ index 3c6d24b1af84..136648ce930d 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -19044,6 +19830,10 @@ index 3c6d24b1af84..136648ce930d 100644 > - 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": > >@@ -19057,7 +19847,7 @@ index 3c6d24b1af84..136648ce930d 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -19110,7 +19900,7 @@ index 3c6d24b1af84..136648ce930d 100644 > - > 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 cc886ec4db61..aa69c5c25fd4 100644 >+index 74a183e25263..aa69c5c25fd4 100644 > --- third_party/libwebrtc/api/video/resolution_gn/moz.build > +++ third_party/libwebrtc/api/video/resolution_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -19134,7 +19924,7 @@ index cc886ec4db61..aa69c5c25fd4 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -19227,6 +20017,10 @@ index cc886ec4db61..aa69c5c25fd4 100644 > - 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": > >@@ -19240,7 +20034,7 @@ index cc886ec4db61..aa69c5c25fd4 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -19293,7 +20087,7 @@ index cc886ec4db61..aa69c5c25fd4 100644 > - > Library("resolution_gn") > diff --git third_party/libwebrtc/api/video/video_adaptation_gn/moz.build third_party/libwebrtc/api/video/video_adaptation_gn/moz.build >-index 2865b09d7199..5118a4fd59c2 100644 >+index cf8c377621aa..5118a4fd59c2 100644 > --- third_party/libwebrtc/api/video/video_adaptation_gn/moz.build > +++ third_party/libwebrtc/api/video/video_adaptation_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -19317,7 +20111,7 @@ index 2865b09d7199..5118a4fd59c2 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -19418,6 +20212,10 @@ index 2865b09d7199..5118a4fd59c2 100644 > - 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": > >@@ -19500,7 +20298,7 @@ index 2865b09d7199..5118a4fd59c2 100644 > > Library("video_adaptation_gn") > diff --git third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build >-index 1c89b66d81eb..71b911ecfde6 100644 >+index 6f16ff5da34f..71b911ecfde6 100644 > --- third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build > +++ third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -19524,7 +20322,7 @@ index 1c89b66d81eb..71b911ecfde6 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -19625,6 +20423,10 @@ index 1c89b66d81eb..71b911ecfde6 100644 > - 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": > >@@ -19707,7 +20509,7 @@ index 1c89b66d81eb..71b911ecfde6 100644 > > Library("video_bitrate_allocation_gn") > diff --git third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build >-index ba63c4617370..77a13b931813 100644 >+index 1ff1aaa06a61..77a13b931813 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -19731,7 +20533,7 @@ index ba63c4617370..77a13b931813 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,115 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -19835,6 +20637,10 @@ index ba63c4617370..77a13b931813 100644 > - 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": > >@@ -19848,7 +20654,7 @@ index ba63c4617370..77a13b931813 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -157,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -19901,7 +20707,7 @@ index ba63c4617370..77a13b931813 100644 > - > Library("video_bitrate_allocator_factory_gn") > diff --git third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build >-index 2b73f70373b3..2280ad344922 100644 >+index bd4e602db36e..2280ad344922 100644 > --- third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build > +++ third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -19925,7 +20731,7 @@ index 2b73f70373b3..2280ad344922 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -20026,6 +20832,10 @@ index 2b73f70373b3..2280ad344922 100644 > - 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": > >@@ -20108,7 +20918,7 @@ index 2b73f70373b3..2280ad344922 100644 > > 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 12abc9b02c95..bd3794236930 100644 >+index 0b0d1a059d94..bd3794236930 100644 > --- third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build > +++ third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -20132,7 +20942,7 @@ index 12abc9b02c95..bd3794236930 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -20225,6 +21035,10 @@ index 12abc9b02c95..bd3794236930 100644 > - 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": > >@@ -20238,7 +21052,7 @@ index 12abc9b02c95..bd3794236930 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -20291,7 +21105,7 @@ index 12abc9b02c95..bd3794236930 100644 > - > Library("video_codec_constants_gn") > diff --git third_party/libwebrtc/api/video/video_frame_gn/moz.build third_party/libwebrtc/api/video/video_frame_gn/moz.build >-index 49ce8c842d84..7fc4f4ab76f0 100644 >+index 5c42b97b37a9..7fc4f4ab76f0 100644 > --- third_party/libwebrtc/api/video/video_frame_gn/moz.build > +++ third_party/libwebrtc/api/video/video_frame_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -20315,7 +21129,7 @@ index 49ce8c842d84..7fc4f4ab76f0 100644 > > FINAL_LIBRARY = "xul" > >-@@ -54,182 +63,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -54,186 +63,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -20423,6 +21237,10 @@ index 49ce8c842d84..7fc4f4ab76f0 100644 > - 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": > >@@ -20505,7 +21323,7 @@ index 49ce8c842d84..7fc4f4ab76f0 100644 > > Library("video_frame_gn") > diff --git third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build >-index 3c42917a7bf4..4cfb3cc01351 100644 >+index 961ffc81e65b..4cfb3cc01351 100644 > --- third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build > +++ third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -20529,7 +21347,7 @@ index 3c42917a7bf4..4cfb3cc01351 100644 > > FINAL_LIBRARY = "xul" > >-@@ -50,182 +59,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -50,186 +59,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -20637,6 +21455,10 @@ index 3c42917a7bf4..4cfb3cc01351 100644 > - 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": > >@@ -20719,7 +21541,7 @@ index 3c42917a7bf4..4cfb3cc01351 100644 > > Library("video_frame_i010_gn") > diff --git third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build >-index 00e9ac717ee7..6f1776416d79 100644 >+index d81fad8e90ec..6f1776416d79 100644 > --- third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build > +++ third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -20743,7 +21565,7 @@ index 00e9ac717ee7..6f1776416d79 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -20851,6 +21673,10 @@ index 00e9ac717ee7..6f1776416d79 100644 > - 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": > >@@ -20933,7 +21759,7 @@ index 00e9ac717ee7..6f1776416d79 100644 > > 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 df4f2515a9f7..72dadbd449b5 100644 >+index 35cbbb6faf29..72dadbd449b5 100644 > --- third_party/libwebrtc/api/video/video_frame_type_gn/moz.build > +++ third_party/libwebrtc/api/video/video_frame_type_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -20957,7 +21783,7 @@ index df4f2515a9f7..72dadbd449b5 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -21054,6 +21880,10 @@ index df4f2515a9f7..72dadbd449b5 100644 > - 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": > >@@ -21067,7 +21897,7 @@ index df4f2515a9f7..72dadbd449b5 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -21120,7 +21950,7 @@ index df4f2515a9f7..72dadbd449b5 100644 > - > 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 a2f6e5d80fd2..00846604156c 100644 >+index 087e4d2b3b38..00846604156c 100644 > --- third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build > +++ third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -21144,7 +21974,7 @@ index a2f6e5d80fd2..00846604156c 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -21241,6 +22071,10 @@ index a2f6e5d80fd2..00846604156c 100644 > - 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": > >@@ -21254,7 +22088,7 @@ index a2f6e5d80fd2..00846604156c 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -21307,7 +22141,7 @@ index a2f6e5d80fd2..00846604156c 100644 > - > Library("video_layers_allocation_gn") > diff --git third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build >-index cee210f81a20..67af495f375a 100644 >+index 9795785a7286..67af495f375a 100644 > --- third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build > +++ third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -21331,7 +22165,7 @@ index cee210f81a20..67af495f375a 100644 > > FINAL_LIBRARY = "xul" > >-@@ -46,182 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -46,186 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -21439,6 +22273,10 @@ index cee210f81a20..67af495f375a 100644 > - 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": > >@@ -21521,7 +22359,7 @@ index cee210f81a20..67af495f375a 100644 > > Library("video_rtp_headers_gn") > diff --git third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build >-index 52ece0234c3b..98abab04b82a 100644 >+index e35fcc49d5aa..98abab04b82a 100644 > --- third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build > +++ third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -21545,7 +22383,7 @@ index 52ece0234c3b..98abab04b82a 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,115 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -21649,6 +22487,10 @@ index 52ece0234c3b..98abab04b82a 100644 > - 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": > >@@ -21662,7 +22504,7 @@ index 52ece0234c3b..98abab04b82a 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -157,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -21715,7 +22557,7 @@ index 52ece0234c3b..98abab04b82a 100644 > - > 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 2a2652d25809..b9317d51313f 100644 >+index 298a78c8a844..b9317d51313f 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -21739,7 +22581,7 @@ index 2a2652d25809..b9317d51313f 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -21836,6 +22678,10 @@ index 2a2652d25809..b9317d51313f 100644 > - 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": > >@@ -21849,7 +22695,7 @@ index 2a2652d25809..b9317d51313f 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -21902,7 +22748,7 @@ index 2a2652d25809..b9317d51313f 100644 > - > Library("bitstream_parser_api_gn") > diff --git third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build >-index 39ebc147a0f1..d4dfd0c7a10b 100644 >+index e79ca13c7d5b..d4dfd0c7a10b 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -21926,7 +22772,7 @@ index 39ebc147a0f1..d4dfd0c7a10b 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,187 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -22039,6 +22885,10 @@ index 39ebc147a0f1..d4dfd0c7a10b 100644 > - 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": > >@@ -22121,7 +22971,7 @@ index 39ebc147a0f1..d4dfd0c7a10b 100644 > > Library("builtin_video_decoder_factory_gn") > diff --git third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build >-index 1f75ce9bbb39..e50a808f3a90 100644 >+index f503a3b205df..e50a808f3a90 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -22145,7 +22995,7 @@ index 1f75ce9bbb39..e50a808f3a90 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,187 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -22258,6 +23108,10 @@ index 1f75ce9bbb39..e50a808f3a90 100644 > - 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": > >@@ -22340,7 +23194,7 @@ index 1f75ce9bbb39..e50a808f3a90 100644 > > Library("rtc_software_fallback_wrappers_gn") > diff --git third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build >-index 8d986676c497..7e8b6e8cfa6c 100644 >+index 15814eeed8b6..7e8b6e8cfa6c 100644 > --- third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build > +++ third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -22364,7 +23218,7 @@ index 8d986676c497..7e8b6e8cfa6c 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -22465,6 +23319,10 @@ index 8d986676c497..7e8b6e8cfa6c 100644 > - 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": > >@@ -22547,7 +23405,7 @@ index 8d986676c497..7e8b6e8cfa6c 100644 > > Library("scalability_mode_gn") > diff --git third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build >-index 5eee86605c4d..04ad9ac19993 100644 >+index 7e065afaab4e..04ad9ac19993 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -22571,7 +23429,7 @@ index 5eee86605c4d..04ad9ac19993 100644 > > FINAL_LIBRARY = "xul" > >-@@ -53,182 +62,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -53,186 +62,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -22679,6 +23537,10 @@ index 5eee86605c4d..04ad9ac19993 100644 > - 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": > >@@ -22761,7 +23623,7 @@ index 5eee86605c4d..04ad9ac19993 100644 > > Library("video_codecs_api_gn") > diff --git third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_gn/moz.build third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_gn/moz.build >-index 7b82268539e1..bb5aeb6b5d3d 100644 >+index 5dad1e3674d2..bb5aeb6b5d3d 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -22785,7 +23647,7 @@ index 7b82268539e1..bb5aeb6b5d3d 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,115 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -22889,6 +23751,10 @@ index 7b82268539e1..bb5aeb6b5d3d 100644 > - 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": > >@@ -22902,7 +23768,7 @@ index 7b82268539e1..bb5aeb6b5d3d 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -157,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -22955,7 +23821,7 @@ index 7b82268539e1..bb5aeb6b5d3d 100644 > - > Library("video_encoder_factory_template_gn") > diff --git third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libaom_av1_adapter_gn/moz.build third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libaom_av1_adapter_gn/moz.build >-index 9b4826d6387b..b8e0b45c28a2 100644 >+index 70cf72d1ea8f..b8e0b45c28a2 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -22979,7 +23845,7 @@ index 9b4826d6387b..b8e0b45c28a2 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,123 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -23087,6 +23953,10 @@ index 9b4826d6387b..b8e0b45c28a2 100644 > - 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": > >@@ -23100,7 +23970,7 @@ index 9b4826d6387b..b8e0b45c28a2 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -165,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -23153,7 +24023,7 @@ index 9b4826d6387b..b8e0b45c28a2 100644 > - > Library("video_encoder_factory_template_libaom_av1_adapter_gn") > diff --git third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp8_adapter_gn/moz.build third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp8_adapter_gn/moz.build >-index ce79eb359ad8..57f83fc9486b 100644 >+index 5a44aee34808..57f83fc9486b 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -23177,7 +24047,7 @@ index ce79eb359ad8..57f83fc9486b 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,120 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,124 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -23286,6 +24156,10 @@ index ce79eb359ad8..57f83fc9486b 100644 > - 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": > >@@ -23299,7 +24173,7 @@ index ce79eb359ad8..57f83fc9486b 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -162,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -166,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -23352,7 +24226,7 @@ index ce79eb359ad8..57f83fc9486b 100644 > - > Library("video_encoder_factory_template_libvpx_vp8_adapter_gn") > diff --git third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp9_adapter_gn/moz.build third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp9_adapter_gn/moz.build >-index 39ea1c90a3f1..c0ffd9aab90f 100644 >+index 268c7c01b2dd..c0ffd9aab90f 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -23376,7 +24250,7 @@ index 39ea1c90a3f1..c0ffd9aab90f 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,120 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,124 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -23485,6 +24359,10 @@ index 39ea1c90a3f1..c0ffd9aab90f 100644 > - 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": > >@@ -23498,7 +24376,7 @@ index 39ea1c90a3f1..c0ffd9aab90f 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -162,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -166,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -23551,7 +24429,7 @@ index 39ea1c90a3f1..c0ffd9aab90f 100644 > - > Library("video_encoder_factory_template_libvpx_vp9_adapter_gn") > diff --git third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_open_h264_adapter_gn/moz.build third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_open_h264_adapter_gn/moz.build >-index cb5bef223acb..7237fb0ba38b 100644 >+index 3046da6a470f..7237fb0ba38b 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -23575,7 +24453,7 @@ index cb5bef223acb..7237fb0ba38b 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,120 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,124 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -23684,6 +24562,10 @@ index cb5bef223acb..7237fb0ba38b 100644 > - 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": > >@@ -23697,7 +24579,7 @@ index cb5bef223acb..7237fb0ba38b 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -162,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -166,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -23750,7 +24632,7 @@ index cb5bef223acb..7237fb0ba38b 100644 > - > Library("video_encoder_factory_template_open_h264_adapter_gn") > diff --git third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build >-index 8ce733a785ff..2fe2304cb942 100644 >+index 487c0d9471e1..2fe2304cb942 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -23774,7 +24656,7 @@ index 8ce733a785ff..2fe2304cb942 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,187 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -23887,6 +24769,10 @@ index 8ce733a785ff..2fe2304cb942 100644 > - 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": > >@@ -23969,7 +24855,7 @@ index 8ce733a785ff..2fe2304cb942 100644 > > 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 1266e221a450..a9bb083e07d3 100644 >+index eed553ce968c..a9bb083e07d3 100644 > --- third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build > +++ third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -23993,7 +24879,7 @@ index 1266e221a450..a9bb083e07d3 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -24086,6 +24972,10 @@ index 1266e221a450..a9bb083e07d3 100644 > - 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": > >@@ -24099,7 +24989,7 @@ index 1266e221a450..a9bb083e07d3 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -24152,7 +25042,7 @@ index 1266e221a450..a9bb083e07d3 100644 > - > Library("video_track_source_constraints_gn") > diff --git third_party/libwebrtc/audio/audio_gn/moz.build third_party/libwebrtc/audio/audio_gn/moz.build >-index a48a96b230f5..570c4597d2ab 100644 >+index c52d2d8ec5d5..570c4597d2ab 100644 > --- third_party/libwebrtc/audio/audio_gn/moz.build > +++ third_party/libwebrtc/audio/audio_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -24176,7 +25066,7 @@ index a48a96b230f5..570c4597d2ab 100644 > > FINAL_LIBRARY = "xul" > >-@@ -55,187 +64,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -55,191 +64,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -24289,6 +25179,10 @@ index a48a96b230f5..570c4597d2ab 100644 > - 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": > >@@ -24371,7 +25265,7 @@ index a48a96b230f5..570c4597d2ab 100644 > > Library("audio_gn") > diff --git third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build >-index ba769595e3a2..80914acd5839 100644 >+index 41ec2166f76b..80914acd5839 100644 > --- third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build > +++ third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -24395,7 +25289,7 @@ index ba769595e3a2..80914acd5839 100644 > > FINAL_LIBRARY = "xul" > >-@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -24507,6 +25401,10 @@ index ba769595e3a2..80914acd5839 100644 > - 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": > >@@ -24589,7 +25487,7 @@ index ba769595e3a2..80914acd5839 100644 > > Library("audio_frame_operations_gn") > diff --git third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build >-index a141c723e16a..0115d47e0857 100644 >+index b47b7f67124e..0115d47e0857 100644 > --- third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build > +++ third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -24613,7 +25511,7 @@ index a141c723e16a..0115d47e0857 100644 > > FINAL_LIBRARY = "xul" > >-@@ -52,187 +61,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -52,191 +61,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -24726,6 +25624,10 @@ index a141c723e16a..0115d47e0857 100644 > - 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": > >@@ -24808,7 +25710,7 @@ index a141c723e16a..0115d47e0857 100644 > > 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 60b1d4d180d2..1e65cb180fd1 100644 >+index 64613d5febf2..1e65cb180fd1 100644 > --- third_party/libwebrtc/call/audio_sender_interface_gn/moz.build > +++ third_party/libwebrtc/call/audio_sender_interface_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -24832,7 +25734,7 @@ index 60b1d4d180d2..1e65cb180fd1 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,115 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -24936,6 +25838,10 @@ index 60b1d4d180d2..1e65cb180fd1 100644 > - 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": > >@@ -24949,7 +25855,7 @@ index 60b1d4d180d2..1e65cb180fd1 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -157,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -25002,7 +25908,7 @@ index 60b1d4d180d2..1e65cb180fd1 100644 > - > Library("audio_sender_interface_gn") > diff --git third_party/libwebrtc/call/bitrate_allocator_gn/moz.build third_party/libwebrtc/call/bitrate_allocator_gn/moz.build >-index cf934c740ef4..0f207f759b9d 100644 >+index f881adeec2c7..0f207f759b9d 100644 > --- third_party/libwebrtc/call/bitrate_allocator_gn/moz.build > +++ third_party/libwebrtc/call/bitrate_allocator_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -25026,7 +25932,7 @@ index cf934c740ef4..0f207f759b9d 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -25138,6 +26044,10 @@ index cf934c740ef4..0f207f759b9d 100644 > - 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": > >@@ -25220,7 +26130,7 @@ index cf934c740ef4..0f207f759b9d 100644 > > Library("bitrate_allocator_gn") > diff --git third_party/libwebrtc/call/bitrate_configurator_gn/moz.build third_party/libwebrtc/call/bitrate_configurator_gn/moz.build >-index c9e04ea78802..9d7cd391892f 100644 >+index 1c8d60c87c7d..9d7cd391892f 100644 > --- third_party/libwebrtc/call/bitrate_configurator_gn/moz.build > +++ third_party/libwebrtc/call/bitrate_configurator_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -25244,7 +26154,7 @@ index c9e04ea78802..9d7cd391892f 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -25356,6 +26266,10 @@ index c9e04ea78802..9d7cd391892f 100644 > - 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": > >@@ -25438,7 +26352,7 @@ index c9e04ea78802..9d7cd391892f 100644 > > Library("bitrate_configurator_gn") > diff --git third_party/libwebrtc/call/call_gn/moz.build third_party/libwebrtc/call/call_gn/moz.build >-index d6494e1c2448..b1723ba1715c 100644 >+index 554f25cfb490..b1723ba1715c 100644 > --- third_party/libwebrtc/call/call_gn/moz.build > +++ third_party/libwebrtc/call/call_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -25462,7 +26376,7 @@ index d6494e1c2448..b1723ba1715c 100644 > > FINAL_LIBRARY = "xul" > >-@@ -45,187 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -45,191 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -25575,6 +26489,10 @@ index d6494e1c2448..b1723ba1715c 100644 > - 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": > >@@ -25657,7 +26575,7 @@ index d6494e1c2448..b1723ba1715c 100644 > > Library("call_gn") > diff --git third_party/libwebrtc/call/call_interfaces_gn/moz.build third_party/libwebrtc/call/call_interfaces_gn/moz.build >-index 86d4a86725d7..1f5bb9bae089 100644 >+index 01a07308c01b..1f5bb9bae089 100644 > --- third_party/libwebrtc/call/call_interfaces_gn/moz.build > +++ third_party/libwebrtc/call/call_interfaces_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -25681,7 +26599,7 @@ index 86d4a86725d7..1f5bb9bae089 100644 > > FINAL_LIBRARY = "xul" > >-@@ -49,187 +58,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -49,191 +58,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -25794,6 +26712,10 @@ index 86d4a86725d7..1f5bb9bae089 100644 > - 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": > >@@ -25876,7 +26798,7 @@ index 86d4a86725d7..1f5bb9bae089 100644 > > Library("call_interfaces_gn") > diff --git third_party/libwebrtc/call/payload_type_gn/moz.build third_party/libwebrtc/call/payload_type_gn/moz.build >-index 4c566ddd34b3..a56032559c58 100644 >+index 4ee6afa8af43..a56032559c58 100644 > --- third_party/libwebrtc/call/payload_type_gn/moz.build > +++ third_party/libwebrtc/call/payload_type_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -25900,7 +26822,7 @@ index 4c566ddd34b3..a56032559c58 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,115 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -26004,6 +26926,10 @@ index 4c566ddd34b3..a56032559c58 100644 > - 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": > >@@ -26017,7 +26943,7 @@ index 4c566ddd34b3..a56032559c58 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -157,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -26070,7 +26996,7 @@ index 4c566ddd34b3..a56032559c58 100644 > - > Library("payload_type_gn") > diff --git third_party/libwebrtc/call/payload_type_picker_gn/moz.build third_party/libwebrtc/call/payload_type_picker_gn/moz.build >-index a05901f90b3e..7c7bf3c21180 100644 >+index 9882d5dcd22c..7c7bf3c21180 100644 > --- third_party/libwebrtc/call/payload_type_picker_gn/moz.build > +++ third_party/libwebrtc/call/payload_type_picker_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -26094,7 +27020,7 @@ index a05901f90b3e..7c7bf3c21180 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -26202,6 +27128,10 @@ index a05901f90b3e..7c7bf3c21180 100644 > - 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": > >@@ -26284,7 +27214,7 @@ index a05901f90b3e..7c7bf3c21180 100644 > > Library("payload_type_picker_gn") > diff --git third_party/libwebrtc/call/receive_stream_interface_gn/moz.build third_party/libwebrtc/call/receive_stream_interface_gn/moz.build >-index cdb233a7b858..19c896a21aa4 100644 >+index c7fa9954fd8a..19c896a21aa4 100644 > --- third_party/libwebrtc/call/receive_stream_interface_gn/moz.build > +++ third_party/libwebrtc/call/receive_stream_interface_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -26308,7 +27238,7 @@ index cdb233a7b858..19c896a21aa4 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,123 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -26416,6 +27346,10 @@ index cdb233a7b858..19c896a21aa4 100644 > - 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": > >@@ -26429,7 +27363,7 @@ index cdb233a7b858..19c896a21aa4 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -165,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -26482,7 +27416,7 @@ index cdb233a7b858..19c896a21aa4 100644 > - > Library("receive_stream_interface_gn") > diff --git third_party/libwebrtc/call/rtp_interfaces_gn/moz.build third_party/libwebrtc/call/rtp_interfaces_gn/moz.build >-index 4a2592e10236..20ac430288cf 100644 >+index 6fb2e359fbd9..20ac430288cf 100644 > --- third_party/libwebrtc/call/rtp_interfaces_gn/moz.build > +++ third_party/libwebrtc/call/rtp_interfaces_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -26506,7 +27440,7 @@ index 4a2592e10236..20ac430288cf 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -26618,6 +27552,10 @@ index 4a2592e10236..20ac430288cf 100644 > - 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": > >@@ -26700,7 +27638,7 @@ index 4a2592e10236..20ac430288cf 100644 > > Library("rtp_interfaces_gn") > diff --git third_party/libwebrtc/call/rtp_receiver_gn/moz.build third_party/libwebrtc/call/rtp_receiver_gn/moz.build >-index 29c6d7e8dc45..824177307e7b 100644 >+index 2541c2cae1b1..824177307e7b 100644 > --- third_party/libwebrtc/call/rtp_receiver_gn/moz.build > +++ third_party/libwebrtc/call/rtp_receiver_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -26724,7 +27662,7 @@ index 29c6d7e8dc45..824177307e7b 100644 > > FINAL_LIBRARY = "xul" > >-@@ -45,187 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -45,191 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -26837,6 +27775,10 @@ index 29c6d7e8dc45..824177307e7b 100644 > - 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": > >@@ -26919,7 +27861,7 @@ index 29c6d7e8dc45..824177307e7b 100644 > > Library("rtp_receiver_gn") > diff --git third_party/libwebrtc/call/rtp_sender_gn/moz.build third_party/libwebrtc/call/rtp_sender_gn/moz.build >-index 4a311ea46bc7..399904c3e24e 100644 >+index aa3c0bba6685..399904c3e24e 100644 > --- third_party/libwebrtc/call/rtp_sender_gn/moz.build > +++ third_party/libwebrtc/call/rtp_sender_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -26943,7 +27885,7 @@ index 4a311ea46bc7..399904c3e24e 100644 > > FINAL_LIBRARY = "xul" > >-@@ -45,187 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -45,191 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -27056,6 +27998,10 @@ index 4a311ea46bc7..399904c3e24e 100644 > - 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": > >@@ -27138,7 +28084,7 @@ index 4a311ea46bc7..399904c3e24e 100644 > > Library("rtp_sender_gn") > diff --git third_party/libwebrtc/call/version_gn/moz.build third_party/libwebrtc/call/version_gn/moz.build >-index ed2b5ac1d914..4eec2fd5233b 100644 >+index e7398c80eac7..4eec2fd5233b 100644 > --- third_party/libwebrtc/call/version_gn/moz.build > +++ third_party/libwebrtc/call/version_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -27162,7 +28108,7 @@ index ed2b5ac1d914..4eec2fd5233b 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,171 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -27259,6 +28205,10 @@ index ed2b5ac1d914..4eec2fd5233b 100644 > - 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": > >@@ -27341,7 +28291,7 @@ index ed2b5ac1d914..4eec2fd5233b 100644 > > Library("version_gn") > diff --git third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build >-index f359b8b7b83c..f5eea9cb37bc 100644 >+index 51f7c9ac299d..f5eea9cb37bc 100644 > --- third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build > +++ third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -27365,7 +28315,7 @@ index f359b8b7b83c..f5eea9cb37bc 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -27477,6 +28427,10 @@ index f359b8b7b83c..f5eea9cb37bc 100644 > - 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": > >@@ -27559,7 +28513,7 @@ index f359b8b7b83c..f5eea9cb37bc 100644 > > Library("video_receive_stream_api_gn") > diff --git third_party/libwebrtc/call/video_send_stream_api_gn/moz.build third_party/libwebrtc/call/video_send_stream_api_gn/moz.build >-index 136f19b696d1..f509a3a7a968 100644 >+index 0742e20b1bd4..f509a3a7a968 100644 > --- third_party/libwebrtc/call/video_send_stream_api_gn/moz.build > +++ third_party/libwebrtc/call/video_send_stream_api_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -27583,7 +28537,7 @@ index 136f19b696d1..f509a3a7a968 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -27695,6 +28649,10 @@ index 136f19b696d1..f509a3a7a968 100644 > - 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": > >@@ -27941,7 +28899,7 @@ index 4c10d5cbee0e..8ba51fa2944b 100644 > > 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 de634ef22a0c..76bf1b4c5a97 100644 >+index 0707d29fb62f..76bf1b4c5a97 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -27965,7 +28923,7 @@ index de634ef22a0c..76bf1b4c5a97 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,109 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,113 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -28063,6 +29021,10 @@ index de634ef22a0c..76bf1b4c5a97 100644 > - "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse_arm.S", > - "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12_armv7.S" > - ] >+- >+-if CONFIG["TARGET_CPU"] == "loongarch64": >+- >+- DEFINES["_GNU_SOURCE"] = True > - > if CONFIG["TARGET_CPU"] == "mips32": > >@@ -28076,7 +29038,7 @@ index de634ef22a0c..76bf1b4c5a97 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -151,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -155,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -28129,7 +29091,7 @@ index de634ef22a0c..76bf1b4c5a97 100644 > - > Library("common_audio_c_arm_asm_gn") > diff --git third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build >-index 3dd5b47ef00c..c369f0505e58 100644 >+index d3ade0886cb0..1c75c3e95d87 100644 > --- third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build > +++ third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -28272,7 +29234,7 @@ index 3dd5b47ef00c..c369f0505e58 100644 > > UNIFIED_SOURCES += [ > "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c", >-@@ -195,26 +102,10 @@ if CONFIG["OS_TARGET"] == "WINNT": >+@@ -195,25 +102,8 @@ if CONFIG["OS_TARGET"] == "WINNT": > "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c" > ] > >@@ -28291,7 +29253,14 @@ index 3dd5b47ef00c..c369f0505e58 100644 > - DEFINES["WEBRTC_ARCH_ARM_V7"] = True > - DEFINES["WEBRTC_HAS_NEON"] = True > - >- if CONFIG["TARGET_CPU"] == "mips32": >+ if CONFIG["TARGET_CPU"] == "loongarch64": >+ >+- 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", >+@@ -224,7 +114,6 @@ if CONFIG["TARGET_CPU"] == "mips32": > > DEFINES["MIPS32_LE"] = True > DEFINES["MIPS_FPU_LE"] = True >@@ -28299,7 +29268,7 @@ index 3dd5b47ef00c..c369f0505e58 100644 > > SOURCES += [ > "/third_party/libwebrtc/common_audio/signal_processing/resample_by_2_mips.c" >-@@ -231,8 +122,6 @@ if CONFIG["TARGET_CPU"] == "mips32": >+@@ -241,8 +130,6 @@ if CONFIG["TARGET_CPU"] == "mips32": > > if CONFIG["TARGET_CPU"] == "mips64": > >@@ -28308,7 +29277,7 @@ index 3dd5b47ef00c..c369f0505e58 100644 > UNIFIED_SOURCES += [ > "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c", > "/third_party/libwebrtc/common_audio/signal_processing/complex_fft.c", >-@@ -247,88 +136,21 @@ if CONFIG["TARGET_CPU"] == "ppc64": >+@@ -257,88 +144,21 @@ if CONFIG["TARGET_CPU"] == "ppc64": > "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c" > ] > >@@ -28401,7 +29370,7 @@ index 3dd5b47ef00c..c369f0505e58 100644 > > UNIFIED_SOURCES += [ > "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c", >-@@ -336,13 +158,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "riscv64": >+@@ -346,13 +166,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "riscv64": > "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c" > ] > >@@ -28417,7 +29386,7 @@ index 3dd5b47ef00c..c369f0505e58 100644 > > UNIFIED_SOURCES += [ > "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c", >-@@ -350,14 +168,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": >+@@ -360,14 +176,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": > "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c" > ] > >@@ -28435,7 +29404,7 @@ index 3dd5b47ef00c..c369f0505e58 100644 > > Library("common_audio_c_gn") > 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 8ae2488b3f71..b4d70cc2f54e 100644 >+index c023b7c150b1..b4d70cc2f54e 100644 > --- third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build > +++ third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -28459,7 +29428,7 @@ index 8ae2488b3f71..b4d70cc2f54e 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -28571,6 +29540,10 @@ index 8ae2488b3f71..b4d70cc2f54e 100644 > - 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": > >@@ -28653,7 +29626,7 @@ index 8ae2488b3f71..b4d70cc2f54e 100644 > > Library("common_audio_cc_gn") > diff --git third_party/libwebrtc/common_audio/common_audio_gn/moz.build third_party/libwebrtc/common_audio/common_audio_gn/moz.build >-index 2adb05db1da2..3b2da1e0df87 100644 >+index 8a6ffa09aba0..3b2da1e0df87 100644 > --- third_party/libwebrtc/common_audio/common_audio_gn/moz.build > +++ third_party/libwebrtc/common_audio/common_audio_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -28677,7 +29650,7 @@ index 2adb05db1da2..3b2da1e0df87 100644 > > FINAL_LIBRARY = "xul" > >-@@ -56,186 +65,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -56,190 +65,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -28789,6 +29762,10 @@ index 2adb05db1da2..3b2da1e0df87 100644 > - 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": > >@@ -29412,7 +30389,7 @@ index 51912d444a2a..3cbf748ca212 100644 > > 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 7feb4c9425a7..2e23cff0927c 100644 >+index 2e171bb7a6e1..2e23cff0927c 100644 > --- third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build > +++ third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -29436,7 +30413,7 @@ index 7feb4c9425a7..2e23cff0927c 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -29548,6 +30525,10 @@ index 7feb4c9425a7..2e23cff0927c 100644 > - 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": > >@@ -29630,7 +30611,7 @@ index 7feb4c9425a7..2e23cff0927c 100644 > > 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 737328806dee..1c7ccb98989b 100644 >+index 5ecdb1c5a628..1c7ccb98989b 100644 > --- third_party/libwebrtc/common_audio/fir_filter_gn/moz.build > +++ third_party/libwebrtc/common_audio/fir_filter_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -29654,7 +30635,7 @@ index 737328806dee..1c7ccb98989b 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -29747,6 +30728,10 @@ index 737328806dee..1c7ccb98989b 100644 > - 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": > >@@ -29760,7 +30745,7 @@ index 737328806dee..1c7ccb98989b 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -29813,7 +30798,7 @@ index 737328806dee..1c7ccb98989b 100644 > - > Library("fir_filter_gn") > diff --git third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build >-index 30b5d4b7f2ba..2ddc2629d15a 100644 >+index 7119bb2e4faf..2ddc2629d15a 100644 > --- third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build > +++ third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -29837,7 +30822,7 @@ index 30b5d4b7f2ba..2ddc2629d15a 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,123 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -29945,6 +30930,10 @@ index 30b5d4b7f2ba..2ddc2629d15a 100644 > - 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": > >@@ -29958,7 +30947,7 @@ index 30b5d4b7f2ba..2ddc2629d15a 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -165,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -30011,7 +31000,7 @@ index 30b5d4b7f2ba..2ddc2629d15a 100644 > - > Library("sinc_resampler_gn") > diff --git third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build >-index 97936c8f4634..94878277903b 100644 >+index 61b2490a0073..94878277903b 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -30135,7 +31124,7 @@ index 97936c8f4634..94878277903b 100644 > > if CONFIG["TARGET_CPU"] == "aarch64": > >-@@ -145,128 +63,42 @@ if CONFIG["TARGET_CPU"] == "aarch64": >+@@ -145,132 +63,42 @@ if CONFIG["TARGET_CPU"] == "aarch64": > "/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128/ooura_fft_neon.cc" > ] > >@@ -30152,6 +31141,10 @@ index 97936c8f4634..94878277903b 100644 > - UNIFIED_SOURCES += [ > - "/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128/ooura_fft_neon.cc" > - ] >+- >+-if CONFIG["TARGET_CPU"] == "loongarch64": >+- >+- DEFINES["_GNU_SOURCE"] = True > - > if CONFIG["TARGET_CPU"] == "mips32": > >@@ -30274,7 +31267,7 @@ index 97936c8f4634..94878277903b 100644 > > Library("fft_size_128_gn") > diff --git third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build >-index 71d18f809068..93632857ca94 100644 >+index 78925ad820e1..93632857ca94 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -30298,7 +31291,7 @@ index 71d18f809068..93632857ca94 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,171 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -30395,6 +31388,10 @@ index 71d18f809068..93632857ca94 100644 > - 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": > >@@ -30477,7 +31474,7 @@ index 71d18f809068..93632857ca94 100644 > > 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 57536e5ed91f..a1cf748e22fd 100644 >+index a6269cbd5a3f..7c59eb325f1f 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -30501,7 +31498,7 @@ index 57536e5ed91f..a1cf748e22fd 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,116 +48,21 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,115 +48,19 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -30613,7 +31610,14 @@ index 57536e5ed91f..a1cf748e22fd 100644 > + "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c" > ] > >- if CONFIG["TARGET_CPU"] == "mips32": >+ if CONFIG["TARGET_CPU"] == "loongarch64": >+ >+- DEFINES["_GNU_SOURCE"] = True >+- >+ UNIFIED_SOURCES += [ >+ "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c" >+ ] >+@@ -156,7 +69,6 @@ if CONFIG["TARGET_CPU"] == "mips32": > > DEFINES["MIPS32_LE"] = True > DEFINES["MIPS_FPU_LE"] = True >@@ -30621,7 +31625,7 @@ index 57536e5ed91f..a1cf748e22fd 100644 > > UNIFIED_SOURCES += [ > "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_mips.c" >-@@ -156,8 +70,6 @@ if CONFIG["TARGET_CPU"] == "mips32": >+@@ -164,8 +76,6 @@ if CONFIG["TARGET_CPU"] == "mips32": > > if CONFIG["TARGET_CPU"] == "mips64": > >@@ -30630,7 +31634,7 @@ index 57536e5ed91f..a1cf748e22fd 100644 > UNIFIED_SOURCES += [ > "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c" > ] >-@@ -168,102 +80,34 @@ if CONFIG["TARGET_CPU"] == "ppc64": >+@@ -176,102 +86,34 @@ if CONFIG["TARGET_CPU"] == "ppc64": > "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c" > ] > >@@ -30741,7 +31745,7 @@ index 57536e5ed91f..a1cf748e22fd 100644 > > Library("spl_sqrt_floor_gn") > diff --git third_party/libwebrtc/common_video/common_video_gn/moz.build third_party/libwebrtc/common_video/common_video_gn/moz.build >-index 04e8ee331779..611b579b4f25 100644 >+index cb40e064282d..611b579b4f25 100644 > --- third_party/libwebrtc/common_video/common_video_gn/moz.build > +++ third_party/libwebrtc/common_video/common_video_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -30765,7 +31769,7 @@ index 04e8ee331779..611b579b4f25 100644 > > FINAL_LIBRARY = "xul" > >-@@ -55,182 +64,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -55,186 +64,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -30873,6 +31877,10 @@ index 04e8ee331779..611b579b4f25 100644 > - 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": > >@@ -30955,7 +31963,7 @@ index 04e8ee331779..611b579b4f25 100644 > > Library("common_video_gn") > diff --git third_party/libwebrtc/common_video/corruption_detection_converters_gn/moz.build third_party/libwebrtc/common_video/corruption_detection_converters_gn/moz.build >-index 733c0e05c2ef..0db4ddb79920 100644 >+index 9cb9225a87fc..0db4ddb79920 100644 > --- third_party/libwebrtc/common_video/corruption_detection_converters_gn/moz.build > +++ third_party/libwebrtc/common_video/corruption_detection_converters_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -30979,7 +31987,7 @@ index 733c0e05c2ef..0db4ddb79920 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -31080,6 +32088,10 @@ index 733c0e05c2ef..0db4ddb79920 100644 > - 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": > >@@ -31162,7 +32174,7 @@ index 733c0e05c2ef..0db4ddb79920 100644 > > Library("corruption_detection_converters_gn") > diff --git third_party/libwebrtc/common_video/corruption_detection_message_gn/moz.build third_party/libwebrtc/common_video/corruption_detection_message_gn/moz.build >-index a471c6b88e84..915f17ef72d7 100644 >+index 5c94efb78495..915f17ef72d7 100644 > --- third_party/libwebrtc/common_video/corruption_detection_message_gn/moz.build > +++ third_party/libwebrtc/common_video/corruption_detection_message_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -31186,7 +32198,7 @@ index a471c6b88e84..915f17ef72d7 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -31283,6 +32295,10 @@ index a471c6b88e84..915f17ef72d7 100644 > - 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": > >@@ -31296,7 +32312,7 @@ index a471c6b88e84..915f17ef72d7 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -31349,7 +32365,7 @@ index a471c6b88e84..915f17ef72d7 100644 > - > Library("corruption_detection_message_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 96efd5afee04..7581bd78b6c5 100644 >+index fc3bafbb64b4..7581bd78b6c5 100644 > --- third_party/libwebrtc/common_video/corruption_score_calculator_gn/moz.build > +++ third_party/libwebrtc/common_video/corruption_score_calculator_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -31373,7 +32389,7 @@ index 96efd5afee04..7581bd78b6c5 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,115 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -31477,6 +32493,10 @@ index 96efd5afee04..7581bd78b6c5 100644 > - 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": > >@@ -31490,7 +32510,7 @@ index 96efd5afee04..7581bd78b6c5 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -157,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -31543,7 +32563,7 @@ index 96efd5afee04..7581bd78b6c5 100644 > - > 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 c8a0214f9730..9a2f65ea66c5 100644 >+index 8fc0726fff58..9a2f65ea66c5 100644 > --- third_party/libwebrtc/common_video/frame_counts_gn/moz.build > +++ third_party/libwebrtc/common_video/frame_counts_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -31567,7 +32587,7 @@ index c8a0214f9730..9a2f65ea66c5 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -31660,6 +32680,10 @@ index c8a0214f9730..9a2f65ea66c5 100644 > - 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": > >@@ -31673,7 +32697,7 @@ index c8a0214f9730..9a2f65ea66c5 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -31726,7 +32750,7 @@ index c8a0214f9730..9a2f65ea66c5 100644 > - > 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 e168f9ab348c..2e666f70cf8c 100644 >+index 6f415251ad95..2e666f70cf8c 100644 > --- third_party/libwebrtc/common_video/frame_instrumentation_data_gn/moz.build > +++ third_party/libwebrtc/common_video/frame_instrumentation_data_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -31750,7 +32774,7 @@ index e168f9ab348c..2e666f70cf8c 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -31843,6 +32867,10 @@ index e168f9ab348c..2e666f70cf8c 100644 > - 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": > >@@ -31856,7 +32884,7 @@ index e168f9ab348c..2e666f70cf8c 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -31909,7 +32937,7 @@ index e168f9ab348c..2e666f70cf8c 100644 > - > Library("frame_instrumentation_data_gn") > diff --git third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build >-index 228f15d136c9..7652e895de75 100644 >+index d36cf57dacd5..7652e895de75 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -31933,7 +32961,7 @@ index 228f15d136c9..7652e895de75 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -32034,6 +33062,10 @@ index 228f15d136c9..7652e895de75 100644 > - 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": > >@@ -32116,7 +33148,7 @@ index 228f15d136c9..7652e895de75 100644 > > Library("generic_frame_descriptor_gn") > diff --git third_party/libwebrtc/dcsctp_gn/moz.build third_party/libwebrtc/dcsctp_gn/moz.build >-index e7fd89aa1df3..b555230e9bce 100644 >+index 2f940fd7bec3..b555230e9bce 100644 > --- third_party/libwebrtc/dcsctp_gn/moz.build > +++ third_party/libwebrtc/dcsctp_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -32140,7 +33172,7 @@ index e7fd89aa1df3..b555230e9bce 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,115 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -32244,6 +33276,10 @@ index e7fd89aa1df3..b555230e9bce 100644 > - 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": > >@@ -32257,7 +33293,7 @@ index e7fd89aa1df3..b555230e9bce 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -157,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -32310,7 +33346,7 @@ index e7fd89aa1df3..b555230e9bce 100644 > - > 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 da682dbf4cc8..679a78a96f89 100644 >+index 216472255063..679a78a96f89 100644 > --- third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build > +++ third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -32334,7 +33370,7 @@ index da682dbf4cc8..679a78a96f89 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -32427,6 +33463,10 @@ index da682dbf4cc8..679a78a96f89 100644 > - 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": > >@@ -32440,7 +33480,7 @@ index da682dbf4cc8..679a78a96f89 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -32507,7 +33547,7 @@ 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 f697998dc03a..0da1f97cbafd 100644 >+index a6629977f400..0da1f97cbafd 100644 > --- third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build > +++ third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -32531,7 +33571,7 @@ index f697998dc03a..0da1f97cbafd 100644 > > FINAL_LIBRARY = "xul" > >-@@ -47,182 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -47,186 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -32639,6 +33679,10 @@ index f697998dc03a..0da1f97cbafd 100644 > - 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": > >@@ -32721,7 +33765,7 @@ index f697998dc03a..0da1f97cbafd 100644 > > Library("rtc_event_audio_gn") > diff --git third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build >-index 7cc2e6f4578a..aca9e63b106b 100644 >+index f5dbb588ce9d..aca9e63b106b 100644 > --- third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build > +++ third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -32745,7 +33789,7 @@ index 7cc2e6f4578a..aca9e63b106b 100644 > > FINAL_LIBRARY = "xul" > >-@@ -48,182 +57,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -48,186 +57,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -32853,6 +33897,10 @@ index 7cc2e6f4578a..aca9e63b106b 100644 > - 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": > >@@ -32935,7 +33983,7 @@ index 7cc2e6f4578a..aca9e63b106b 100644 > > Library("rtc_event_bwe_gn") > diff --git third_party/libwebrtc/logging/rtc_event_field_gn/moz.build third_party/libwebrtc/logging/rtc_event_field_gn/moz.build >-index 091619887ac0..4a8b29c731a2 100644 >+index f121198a0800..4a8b29c731a2 100644 > --- third_party/libwebrtc/logging/rtc_event_field_gn/moz.build > +++ third_party/libwebrtc/logging/rtc_event_field_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -32959,7 +34007,7 @@ index 091619887ac0..4a8b29c731a2 100644 > > FINAL_LIBRARY = "xul" > >-@@ -46,182 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -46,186 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -33067,6 +34115,10 @@ index 091619887ac0..4a8b29c731a2 100644 > - 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": > >@@ -33149,7 +34201,7 @@ index 091619887ac0..4a8b29c731a2 100644 > > 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 c8a88a8c0dc7..7288ed35abad 100644 >+index 2348f29e3310..7288ed35abad 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -33173,7 +34225,7 @@ index c8a88a8c0dc7..7288ed35abad 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -33270,6 +34322,10 @@ index c8a88a8c0dc7..7288ed35abad 100644 > - 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": > >@@ -33283,7 +34339,7 @@ index c8a88a8c0dc7..7288ed35abad 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -33336,7 +34392,7 @@ index c8a88a8c0dc7..7288ed35abad 100644 > - > Library("rtc_event_log_parse_status_gn") > diff --git third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build >-index e6e2fbc11a2c..ee2f0cd421d7 100644 >+index 524cb78d4918..ee2f0cd421d7 100644 > --- third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build > +++ third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -33360,7 +34416,7 @@ index e6e2fbc11a2c..ee2f0cd421d7 100644 > > FINAL_LIBRARY = "xul" > >-@@ -45,175 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -45,179 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -33461,6 +34517,10 @@ index e6e2fbc11a2c..ee2f0cd421d7 100644 > - 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": > >@@ -33543,7 +34603,7 @@ index e6e2fbc11a2c..ee2f0cd421d7 100644 > > Library("rtc_event_number_encodings_gn") > diff --git third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build >-index 48ee880d88bd..824c9abdf3d0 100644 >+index 6dc6484494da..824c9abdf3d0 100644 > --- third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build > +++ third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -33567,7 +34627,7 @@ index 48ee880d88bd..824c9abdf3d0 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -33675,6 +34735,10 @@ index 48ee880d88bd..824c9abdf3d0 100644 > - 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": > >@@ -33757,7 +34821,7 @@ index 48ee880d88bd..824c9abdf3d0 100644 > > Library("rtc_event_pacing_gn") > diff --git third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build >-index edc863915cb9..0ba912e5dbeb 100644 >+index 8cc1177e82ef..0ba912e5dbeb 100644 > --- third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build > +++ third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -33781,7 +34845,7 @@ index edc863915cb9..0ba912e5dbeb 100644 > > FINAL_LIBRARY = "xul" > >-@@ -46,186 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -46,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -33893,6 +34957,10 @@ index edc863915cb9..0ba912e5dbeb 100644 > - 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": > >@@ -33975,7 +35043,7 @@ index edc863915cb9..0ba912e5dbeb 100644 > > Library("rtc_event_rtp_rtcp_gn") > diff --git third_party/libwebrtc/logging/rtc_event_video_gn/moz.build third_party/libwebrtc/logging/rtc_event_video_gn/moz.build >-index f1836eb8d6a5..5dfce62b3b3e 100644 >+index 3f8e25f66cf1..5dfce62b3b3e 100644 > --- third_party/libwebrtc/logging/rtc_event_video_gn/moz.build > +++ third_party/libwebrtc/logging/rtc_event_video_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -33999,7 +35067,7 @@ index f1836eb8d6a5..5dfce62b3b3e 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,182 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -34107,6 +35175,10 @@ index f1836eb8d6a5..5dfce62b3b3e 100644 > - 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": > >@@ -34189,7 +35261,7 @@ index f1836eb8d6a5..5dfce62b3b3e 100644 > > Library("rtc_event_video_gn") > diff --git third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build >-index 0f31a36f300d..abd1c123b85a 100644 >+index 604a99340ea1..abd1c123b85a 100644 > --- third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build > +++ third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -34213,7 +35285,7 @@ index 0f31a36f300d..abd1c123b85a 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -34321,6 +35393,10 @@ index 0f31a36f300d..abd1c123b85a 100644 > - 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": > >@@ -34403,7 +35479,7 @@ index 0f31a36f300d..abd1c123b85a 100644 > > Library("rtc_stream_config_gn") > diff --git third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build >-index 5c5a8393220a..bdfcd97c39a7 100644 >+index 9cd35674dc77..bdfcd97c39a7 100644 > --- third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build > +++ third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -34427,7 +35503,7 @@ index 5c5a8393220a..bdfcd97c39a7 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -34535,6 +35611,10 @@ index 5c5a8393220a..bdfcd97c39a7 100644 > - 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": > >@@ -34617,7 +35697,7 @@ index 5c5a8393220a..bdfcd97c39a7 100644 > > 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 fb289118f9d5..c62c06c2e274 100644 >+index 1241f267c6b3..c62c06c2e274 100644 > --- third_party/libwebrtc/media/audio_source_gn/moz.build > +++ third_party/libwebrtc/media/audio_source_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -34641,7 +35721,7 @@ index fb289118f9d5..c62c06c2e274 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -34734,6 +35814,10 @@ index fb289118f9d5..c62c06c2e274 100644 > - 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": > >@@ -34747,7 +35831,7 @@ index fb289118f9d5..c62c06c2e274 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -34800,7 +35884,7 @@ index fb289118f9d5..c62c06c2e274 100644 > - > Library("audio_source_gn") > diff --git third_party/libwebrtc/media/codec_gn/moz.build third_party/libwebrtc/media/codec_gn/moz.build >-index 6812d637e583..6123ce9afcd7 100644 >+index 51c9e2fdf274..6123ce9afcd7 100644 > --- third_party/libwebrtc/media/codec_gn/moz.build > +++ third_party/libwebrtc/media/codec_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -34824,7 +35908,7 @@ index 6812d637e583..6123ce9afcd7 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,182 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -34932,6 +36016,10 @@ index 6812d637e583..6123ce9afcd7 100644 > - 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": > >@@ -35014,7 +36102,7 @@ index 6812d637e583..6123ce9afcd7 100644 > > Library("codec_gn") > diff --git third_party/libwebrtc/media/media_channel_gn/moz.build third_party/libwebrtc/media/media_channel_gn/moz.build >-index 4854c0cba2d2..2b0ddb90290f 100644 >+index 948e34ca808b..2b0ddb90290f 100644 > --- third_party/libwebrtc/media/media_channel_gn/moz.build > +++ third_party/libwebrtc/media/media_channel_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -35038,7 +36126,7 @@ index 4854c0cba2d2..2b0ddb90290f 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,120 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,124 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -35147,6 +36235,10 @@ index 4854c0cba2d2..2b0ddb90290f 100644 > - 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": > >@@ -35160,7 +36252,7 @@ index 4854c0cba2d2..2b0ddb90290f 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -162,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -166,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -35213,7 +36305,7 @@ index 4854c0cba2d2..2b0ddb90290f 100644 > - > 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 00553c09863b..52f88e43cc57 100644 >+index fc55532a8011..52f88e43cc57 100644 > --- third_party/libwebrtc/media/media_channel_impl_gn/moz.build > +++ third_party/libwebrtc/media/media_channel_impl_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -35237,7 +36329,7 @@ index 00553c09863b..52f88e43cc57 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -35330,6 +36422,10 @@ index 00553c09863b..52f88e43cc57 100644 > - 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": > >@@ -35343,7 +36439,7 @@ index 00553c09863b..52f88e43cc57 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -35396,7 +36492,7 @@ index 00553c09863b..52f88e43cc57 100644 > - > Library("media_channel_impl_gn") > diff --git third_party/libwebrtc/media/media_constants_gn/moz.build third_party/libwebrtc/media/media_constants_gn/moz.build >-index e5e108aaa416..423d08736d64 100644 >+index 513ae136c7c4..423d08736d64 100644 > --- third_party/libwebrtc/media/media_constants_gn/moz.build > +++ third_party/libwebrtc/media/media_constants_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -35420,7 +36516,7 @@ index e5e108aaa416..423d08736d64 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,171 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -35517,6 +36613,10 @@ index e5e108aaa416..423d08736d64 100644 > - 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": > >@@ -35599,7 +36699,7 @@ index e5e108aaa416..423d08736d64 100644 > > Library("media_constants_gn") > diff --git third_party/libwebrtc/media/media_engine_gn/moz.build third_party/libwebrtc/media/media_engine_gn/moz.build >-index 86697b490e75..5c5db0c2817b 100644 >+index f2f90903dcce..5c5db0c2817b 100644 > --- third_party/libwebrtc/media/media_engine_gn/moz.build > +++ third_party/libwebrtc/media/media_engine_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -35623,7 +36723,7 @@ index 86697b490e75..5c5db0c2817b 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,120 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,124 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -35732,6 +36832,10 @@ index 86697b490e75..5c5db0c2817b 100644 > - 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": > >@@ -35745,7 +36849,7 @@ index 86697b490e75..5c5db0c2817b 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -162,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -166,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -35798,7 +36902,7 @@ index 86697b490e75..5c5db0c2817b 100644 > - > Library("media_engine_gn") > diff --git third_party/libwebrtc/media/rid_description_gn/moz.build third_party/libwebrtc/media/rid_description_gn/moz.build >-index 82a78e20a626..cc43c08f4956 100644 >+index 1985b87ded83..cc43c08f4956 100644 > --- third_party/libwebrtc/media/rid_description_gn/moz.build > +++ third_party/libwebrtc/media/rid_description_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -35822,7 +36926,7 @@ index 82a78e20a626..cc43c08f4956 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,171 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -35919,6 +37023,10 @@ index 82a78e20a626..cc43c08f4956 100644 > - 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": > >@@ -36001,7 +37109,7 @@ index 82a78e20a626..cc43c08f4956 100644 > > Library("rid_description_gn") > diff --git third_party/libwebrtc/media/rtc_audio_video_gn/moz.build third_party/libwebrtc/media/rtc_audio_video_gn/moz.build >-index 098fdf4d6b73..06a37c4a10e1 100644 >+index 90168a773453..06a37c4a10e1 100644 > --- third_party/libwebrtc/media/rtc_audio_video_gn/moz.build > +++ third_party/libwebrtc/media/rtc_audio_video_gn/moz.build > @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" >@@ -36025,7 +37133,7 @@ index 098fdf4d6b73..06a37c4a10e1 100644 > > FINAL_LIBRARY = "xul" > >-@@ -45,125 +54,23 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -45,129 +54,23 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -36145,6 +37253,10 @@ index 098fdf4d6b73..06a37c4a10e1 100644 > - 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": > >@@ -36155,7 +37267,7 @@ index 098fdf4d6b73..06a37c4a10e1 100644 > > LOCAL_INCLUDES += [ > "/third_party/pipewire/" >-@@ -172,7 +79,6 @@ if CONFIG["TARGET_CPU"] == "mips32": >+@@ -176,7 +79,6 @@ if CONFIG["TARGET_CPU"] == "mips32": > if CONFIG["TARGET_CPU"] == "mips64": > > DEFINES["WEBRTC_USE_PIPEWIRE"] = True >@@ -36163,7 +37275,7 @@ index 098fdf4d6b73..06a37c4a10e1 100644 > > LOCAL_INCLUDES += [ > "/third_party/pipewire/" >-@@ -180,86 +86,28 @@ if CONFIG["TARGET_CPU"] == "mips64": >+@@ -184,86 +86,28 @@ if CONFIG["TARGET_CPU"] == "mips64": > > if CONFIG["TARGET_CPU"] == "x86": > >@@ -36256,7 +37368,7 @@ index 098fdf4d6b73..06a37c4a10e1 100644 > > Library("rtc_audio_video_gn") > diff --git third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build >-index 4c6e3dc5cc88..2c9bb96060fb 100644 >+index 1adaccb51489..2c9bb96060fb 100644 > --- third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build > +++ third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build > @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" >@@ -36280,7 +37392,7 @@ index 4c6e3dc5cc88..2c9bb96060fb 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,187 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -36393,6 +37505,10 @@ index 4c6e3dc5cc88..2c9bb96060fb 100644 > - 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": > >@@ -36475,7 +37591,7 @@ index 4c6e3dc5cc88..2c9bb96060fb 100644 > > Library("rtc_internal_video_codecs_gn") > diff --git third_party/libwebrtc/media/rtc_media_base_gn/moz.build third_party/libwebrtc/media/rtc_media_base_gn/moz.build >-index b762b960213d..a857149705a7 100644 >+index 64266d40b4d4..a857149705a7 100644 > --- third_party/libwebrtc/media/rtc_media_base_gn/moz.build > +++ third_party/libwebrtc/media/rtc_media_base_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -36499,7 +37615,7 @@ index b762b960213d..a857149705a7 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,120 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,124 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -36546,10 +37662,204 @@ index b762b960213d..a857149705a7 100644 > - DEFINES["__STDC_CONSTANT_MACROS"] = True > - DEFINES["__STDC_FORMAT_MACROS"] = True > - >-- OS_LIBS += [ >-- "rt" >-- ] >-- >+- OS_LIBS += [ >+- "rt" >+- ] >+- >+-if CONFIG["OS_TARGET"] == "OpenBSD": >+- >+- DEFINES["USE_GLIB"] = "1" >+- DEFINES["USE_OZONE"] = "1" >+- DEFINES["USE_X11"] = "1" >+- DEFINES["WEBRTC_BSD"] = True >+- DEFINES["WEBRTC_POSIX"] = True >+- DEFINES["_FILE_OFFSET_BITS"] = "64" >+- DEFINES["_LARGEFILE64_SOURCE"] = True >+- DEFINES["_LARGEFILE_SOURCE"] = True >+- DEFINES["__STDC_CONSTANT_MACROS"] = True >+- DEFINES["__STDC_FORMAT_MACROS"] = True >+- >+-if CONFIG["OS_TARGET"] == "WINNT": >+- >+- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+- DEFINES["NOMINMAX"] = True >+- DEFINES["NTDDI_VERSION"] = "0x0A000000" >+- DEFINES["PSAPI_VERSION"] = "2" >+- DEFINES["RTC_ENABLE_WIN_WGC"] = True >+- DEFINES["UNICODE"] = True >+- DEFINES["USE_AURA"] = "1" >+- DEFINES["WEBRTC_WIN"] = True >+- DEFINES["WIN32"] = True >+- DEFINES["WIN32_LEAN_AND_MEAN"] = True >+- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" >+- DEFINES["WINVER"] = "0x0A00" >+- DEFINES["_ATL_NO_OPENGL"] = True >+- DEFINES["_CRT_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["__STD_C"] = True >+- >+- OS_LIBS += [ >+- "crypt32", >+- "iphlpapi", >+- "secur32", >+- "winmm" >+- ] >++ DEFINES["_DEBUG"] = True >+ >+ if CONFIG["TARGET_CPU"] == "aarch64": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+ DEFINES["WEBRTC_HAS_NEON"] = True >+ >+-if CONFIG["TARGET_CPU"] == "arm": >+- >+- DEFINES["WEBRTC_ARCH_ARM"] = True >+- DEFINES["WEBRTC_ARCH_ARM_V7"] = True >+- DEFINES["WEBRTC_HAS_NEON"] = True >+- >+-if CONFIG["TARGET_CPU"] == "loongarch64": >+- >+- DEFINES["_GNU_SOURCE"] = True >+- >+ if CONFIG["TARGET_CPU"] == "mips32": >+ >+ DEFINES["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": >+ >+@@ -166,50 +68,8 @@ 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["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["_GNU_SOURCE"] = True >+- >+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": >+- >+- DEFINES["_GNU_SOURCE"] = True >+- >+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": >+- >+- DEFINES["_GNU_SOURCE"] = True >+- >+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": >+- >+- DEFINES["_GNU_SOURCE"] = True >+- >+ Library("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 1b6f1e5f819e..dd752363d357 100644 >+--- third_party/libwebrtc/media/rtc_media_config_gn/moz.build >++++ third_party/libwebrtc/media/rtc_media_config_gn/moz.build >+@@ -12,11 +12,20 @@ AllowCompilerWarnings() >+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" >+ 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["__STDC_CONSTANT_MACROS"] = True >++DEFINES["__STDC_FORMAT_MACROS"] = True >+ >+ FINAL_LIBRARY = "xul" >+ >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+ if CONFIG["MOZ_DEBUG"] == "1": >+ >+ DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >+- >+-if CONFIG["OS_TARGET"] == "Android": >+- >+- DEFINES["ANDROID"] = True >+- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" >+- DEFINES["HAVE_SYS_UIO_H"] = True >+- DEFINES["WEBRTC_ANDROID"] = True >+- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True >+- DEFINES["WEBRTC_LINUX"] = True >+- DEFINES["WEBRTC_POSIX"] = True >+- DEFINES["_GNU_SOURCE"] = True >+- DEFINES["__STDC_CONSTANT_MACROS"] = True >+- DEFINES["__STDC_FORMAT_MACROS"] = True >+- >+-if CONFIG["OS_TARGET"] == "Darwin": >+- >+- DEFINES["WEBRTC_MAC"] = True >+- DEFINES["WEBRTC_POSIX"] = True >+- DEFINES["_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["USE_AURA"] = "1" >+- DEFINES["USE_GLIB"] = "1" >+- DEFINES["USE_NSS_CERTS"] = "1" >+- DEFINES["USE_OZONE"] = "1" >+- DEFINES["USE_UDEV"] = True >+- DEFINES["WEBRTC_LINUX"] = 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"] == "OpenBSD": > - > - DEFINES["USE_GLIB"] = "1" >@@ -36589,13 +37899,6 @@ index b762b960213d..a857149705a7 100644 > - DEFINES["_WIN32_WINNT"] = "0x0A00" > - DEFINES["_WINDOWS"] = True > - DEFINES["__STD_C"] = True >-- >-- OS_LIBS += [ >-- "crypt32", >-- "iphlpapi", >-- "secur32", >-- "winmm" >-- ] > + DEFINES["_DEBUG"] = True > > if CONFIG["TARGET_CPU"] == "aarch64": >@@ -36609,188 +37912,9 @@ index b762b960213d..a857149705a7 100644 > - DEFINES["WEBRTC_ARCH_ARM_V7"] = True > - DEFINES["WEBRTC_HAS_NEON"] = True > - >- if CONFIG["TARGET_CPU"] == "mips32": >- >- DEFINES["MIPS32_LE"] = True >- DEFINES["MIPS_FPU_LE"] = True >-- DEFINES["_GNU_SOURCE"] = True >-- >--if CONFIG["TARGET_CPU"] == "mips64": >+-if CONFIG["TARGET_CPU"] == "loongarch64": > - > - DEFINES["_GNU_SOURCE"] = True >- >- if CONFIG["TARGET_CPU"] == "x86": >- >-@@ -162,50 +68,8 @@ 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["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["_GNU_SOURCE"] = True >-- >--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": >-- >-- DEFINES["_GNU_SOURCE"] = True >-- >--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": >-- >-- DEFINES["_GNU_SOURCE"] = True >-- >--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": >-- >-- DEFINES["_GNU_SOURCE"] = True >-- >- Library("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 dd16a773fd4d..dd752363d357 100644 >---- third_party/libwebrtc/media/rtc_media_config_gn/moz.build >-+++ third_party/libwebrtc/media/rtc_media_config_gn/moz.build >-@@ -12,11 +12,20 @@ AllowCompilerWarnings() >- DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" >- 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["__STDC_CONSTANT_MACROS"] = True >-+DEFINES["__STDC_FORMAT_MACROS"] = True >- >- FINAL_LIBRARY = "xul" >- >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >- if CONFIG["MOZ_DEBUG"] == "1": >- >- DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >-- >--if CONFIG["OS_TARGET"] == "Android": >-- >-- DEFINES["ANDROID"] = True >-- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" >-- DEFINES["HAVE_SYS_UIO_H"] = True >-- DEFINES["WEBRTC_ANDROID"] = True >-- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True >-- DEFINES["WEBRTC_LINUX"] = True >-- DEFINES["WEBRTC_POSIX"] = True >-- DEFINES["_GNU_SOURCE"] = True >-- DEFINES["__STDC_CONSTANT_MACROS"] = True >-- DEFINES["__STDC_FORMAT_MACROS"] = True >-- >--if CONFIG["OS_TARGET"] == "Darwin": >-- >-- DEFINES["WEBRTC_MAC"] = True >-- DEFINES["WEBRTC_POSIX"] = True >-- DEFINES["_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["USE_AURA"] = "1" >-- DEFINES["USE_GLIB"] = "1" >-- DEFINES["USE_NSS_CERTS"] = "1" >-- DEFINES["USE_OZONE"] = "1" >-- DEFINES["USE_UDEV"] = True >-- DEFINES["WEBRTC_LINUX"] = 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"] == "OpenBSD": >-- >-- DEFINES["USE_GLIB"] = "1" >-- DEFINES["USE_OZONE"] = "1" >-- DEFINES["USE_X11"] = "1" >-- DEFINES["WEBRTC_BSD"] = True >-- DEFINES["WEBRTC_POSIX"] = True >-- DEFINES["_FILE_OFFSET_BITS"] = "64" >-- DEFINES["_LARGEFILE64_SOURCE"] = True >-- DEFINES["_LARGEFILE_SOURCE"] = True >-- DEFINES["__STDC_CONSTANT_MACROS"] = True >-- DEFINES["__STDC_FORMAT_MACROS"] = True >-- >--if CONFIG["OS_TARGET"] == "WINNT": >-- >-- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >-- DEFINES["NOMINMAX"] = True >-- DEFINES["NTDDI_VERSION"] = "0x0A000000" >-- DEFINES["PSAPI_VERSION"] = "2" >-- DEFINES["RTC_ENABLE_WIN_WGC"] = True >-- DEFINES["UNICODE"] = True >-- DEFINES["USE_AURA"] = "1" >-- DEFINES["WEBRTC_WIN"] = True >-- DEFINES["WIN32"] = True >-- DEFINES["WIN32_LEAN_AND_MEAN"] = True >-- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" >-- DEFINES["WINVER"] = "0x0A00" >-- DEFINES["_ATL_NO_OPENGL"] = True >-- DEFINES["_CRT_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["__STD_C"] = True >-+ DEFINES["_DEBUG"] = True >- >- if CONFIG["TARGET_CPU"] == "aarch64": >- >- DEFINES["WEBRTC_ARCH_ARM64"] = True >- DEFINES["WEBRTC_HAS_NEON"] = True >- >--if CONFIG["TARGET_CPU"] == "arm": >-- >-- DEFINES["WEBRTC_ARCH_ARM"] = True >-- DEFINES["WEBRTC_ARCH_ARM_V7"] = True >-- DEFINES["WEBRTC_HAS_NEON"] = True > - > if CONFIG["TARGET_CPU"] == "mips32": > >@@ -36804,7 +37928,7 @@ index dd16a773fd4d..dd752363d357 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -36857,7 +37981,7 @@ index dd16a773fd4d..dd752363d357 100644 > - > Library("rtc_media_config_gn") > diff --git third_party/libwebrtc/media/rtc_media_gn/moz.build third_party/libwebrtc/media/rtc_media_gn/moz.build >-index 1b269b89cbf6..2a6276fa89f1 100644 >+index d1ab590e0b6a..2a6276fa89f1 100644 > --- third_party/libwebrtc/media/rtc_media_gn/moz.build > +++ third_party/libwebrtc/media/rtc_media_gn/moz.build > @@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" >@@ -36881,7 +38005,7 @@ index 1b269b89cbf6..2a6276fa89f1 100644 > > FINAL_LIBRARY = "xul" > >-@@ -40,124 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -40,128 +49,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -36994,6 +38118,10 @@ index 1b269b89cbf6..2a6276fa89f1 100644 > - 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": > >@@ -37007,7 +38135,7 @@ index 1b269b89cbf6..2a6276fa89f1 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -167,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -171,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -37060,7 +38188,7 @@ index 1b269b89cbf6..2a6276fa89f1 100644 > - > Library("rtc_media_gn") > diff --git third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build >-index 786f085bf8c4..fe3ca3871764 100644 >+index 1e630fef1e9c..fe3ca3871764 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -37084,7 +38212,7 @@ index 786f085bf8c4..fe3ca3871764 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -37192,6 +38320,10 @@ index 786f085bf8c4..fe3ca3871764 100644 > - 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": > >@@ -37274,7 +38406,7 @@ index 786f085bf8c4..fe3ca3871764 100644 > > Library("rtc_sdp_video_format_utils_gn") > diff --git third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build >-index c5defab97e42..f610f31e77da 100644 >+index 28bddfa3df6c..f610f31e77da 100644 > --- third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build > +++ third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -37298,7 +38430,7 @@ index c5defab97e42..f610f31e77da 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,187 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -37411,6 +38543,10 @@ index c5defab97e42..f610f31e77da 100644 > - 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": > >@@ -37493,7 +38629,7 @@ index c5defab97e42..f610f31e77da 100644 > > 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 75d0cfe84b4f..3de425bdbccc 100644 >+index fb6bf035b541..3de425bdbccc 100644 > --- third_party/libwebrtc/media/rtp_utils_gn/moz.build > +++ third_party/libwebrtc/media/rtp_utils_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -37517,7 +38653,7 @@ index 75d0cfe84b4f..3de425bdbccc 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -37610,6 +38746,10 @@ index 75d0cfe84b4f..3de425bdbccc 100644 > - 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": > >@@ -37623,7 +38763,7 @@ index 75d0cfe84b4f..3de425bdbccc 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -37676,7 +38816,7 @@ index 75d0cfe84b4f..3de425bdbccc 100644 > - > 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 d18746b1a1d6..04e834b5bc39 100644 >+index fc9cfc7fec48..04e834b5bc39 100644 > --- third_party/libwebrtc/media/stream_params_gn/moz.build > +++ third_party/libwebrtc/media/stream_params_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -37700,7 +38840,7 @@ index d18746b1a1d6..04e834b5bc39 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -37793,6 +38933,10 @@ index d18746b1a1d6..04e834b5bc39 100644 > - 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": > >@@ -37806,7 +38950,7 @@ index d18746b1a1d6..04e834b5bc39 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -37859,7 +39003,7 @@ index d18746b1a1d6..04e834b5bc39 100644 > - > Library("stream_params_gn") > diff --git third_party/libwebrtc/media/video_adapter_gn/moz.build third_party/libwebrtc/media/video_adapter_gn/moz.build >-index d2959771455c..0ed1988aa44e 100644 >+index 01d68b1953aa..0ed1988aa44e 100644 > --- third_party/libwebrtc/media/video_adapter_gn/moz.build > +++ third_party/libwebrtc/media/video_adapter_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -37883,7 +39027,7 @@ index d2959771455c..0ed1988aa44e 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -37991,6 +39135,10 @@ index d2959771455c..0ed1988aa44e 100644 > - 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": > >@@ -38073,7 +39221,7 @@ index d2959771455c..0ed1988aa44e 100644 > > Library("video_adapter_gn") > diff --git third_party/libwebrtc/media/video_broadcaster_gn/moz.build third_party/libwebrtc/media/video_broadcaster_gn/moz.build >-index 94ab6f7e96e2..f3a9666e381e 100644 >+index c009305537a3..f3a9666e381e 100644 > --- third_party/libwebrtc/media/video_broadcaster_gn/moz.build > +++ third_party/libwebrtc/media/video_broadcaster_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -38097,7 +39245,7 @@ index 94ab6f7e96e2..f3a9666e381e 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -38205,6 +39353,10 @@ index 94ab6f7e96e2..f3a9666e381e 100644 > - 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": > >@@ -38287,7 +39439,7 @@ index 94ab6f7e96e2..f3a9666e381e 100644 > > Library("video_broadcaster_gn") > diff --git third_party/libwebrtc/media/video_common_gn/moz.build third_party/libwebrtc/media/video_common_gn/moz.build >-index 3f00d449dddf..157142b5b25e 100644 >+index 9fdf90d2eab1..157142b5b25e 100644 > --- third_party/libwebrtc/media/video_common_gn/moz.build > +++ third_party/libwebrtc/media/video_common_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -38311,7 +39463,7 @@ index 3f00d449dddf..157142b5b25e 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -38419,6 +39571,10 @@ index 3f00d449dddf..157142b5b25e 100644 > - 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": > >@@ -38501,7 +39657,7 @@ index 3f00d449dddf..157142b5b25e 100644 > > Library("video_common_gn") > diff --git third_party/libwebrtc/media/video_source_base_gn/moz.build third_party/libwebrtc/media/video_source_base_gn/moz.build >-index 963a423a88bd..81956c111ea3 100644 >+index 98060ff1d3a0..81956c111ea3 100644 > --- third_party/libwebrtc/media/video_source_base_gn/moz.build > +++ third_party/libwebrtc/media/video_source_base_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -38525,7 +39681,7 @@ index 963a423a88bd..81956c111ea3 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -38633,6 +39789,10 @@ index 963a423a88bd..81956c111ea3 100644 > - 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": > >@@ -38715,7 +39875,7 @@ index 963a423a88bd..81956c111ea3 100644 > > Library("video_source_base_gn") > diff --git third_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build third_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build >-index 7762bf605bbb..e5fc71a9fce0 100644 >+index fa5724cd7b6d..e5fc71a9fce0 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -38739,7 +39899,7 @@ index 7762bf605bbb..e5fc71a9fce0 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -38847,6 +40007,10 @@ index 7762bf605bbb..e5fc71a9fce0 100644 > - 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": > >@@ -38929,7 +40093,7 @@ index 7762bf605bbb..e5fc71a9fce0 100644 > > Library("async_audio_processing_gn") > diff --git third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build >-index 9f1cf10559c6..56ace0cdef4a 100644 >+index 942ca391253e..56ace0cdef4a 100644 > --- third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build > +++ third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -38953,7 +40117,7 @@ index 9f1cf10559c6..56ace0cdef4a 100644 > > FINAL_LIBRARY = "xul" > >-@@ -46,186 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -46,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -39065,6 +40229,10 @@ index 9f1cf10559c6..56ace0cdef4a 100644 > - 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": > >@@ -39147,7 +40315,7 @@ index 9f1cf10559c6..56ace0cdef4a 100644 > > 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 6dd063805166..07bc360e04be 100644 >+index 722f61ffeb62..07bc360e04be 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -39171,7 +40339,7 @@ index 6dd063805166..07bc360e04be 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -39264,6 +40432,10 @@ index 6dd063805166..07bc360e04be 100644 > - 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": > >@@ -39277,7 +40449,7 @@ index 6dd063805166..07bc360e04be 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -39330,7 +40502,7 @@ index 6dd063805166..07bc360e04be 100644 > - > Library("audio_coding_module_typedefs_gn") > diff --git third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build >-index 0aa3a5c13a02..836cd7d4259d 100644 >+index 3179e363d16c..836cd7d4259d 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -39354,7 +40526,7 @@ index 0aa3a5c13a02..836cd7d4259d 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -39462,6 +40634,10 @@ index 0aa3a5c13a02..836cd7d4259d 100644 > - 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": > >@@ -39544,7 +40720,7 @@ index 0aa3a5c13a02..836cd7d4259d 100644 > > Library("audio_coding_opus_common_gn") > diff --git third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build >-index 0067c3f98e48..dfd43bdcc3ab 100644 >+index 29c2f1ad4f99..dfd43bdcc3ab 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -39568,7 +40744,7 @@ index 0067c3f98e48..dfd43bdcc3ab 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -39680,6 +40856,10 @@ index 0067c3f98e48..dfd43bdcc3ab 100644 > - 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": > >@@ -39762,7 +40942,7 @@ index 0067c3f98e48..dfd43bdcc3ab 100644 > > Library("audio_encoder_cng_gn") > diff --git third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build >-index b2d1b4dc33b5..c23d12cc0979 100644 >+index 469146e9acdc..c23d12cc0979 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -39786,7 +40966,7 @@ index b2d1b4dc33b5..c23d12cc0979 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,171 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -39883,6 +41063,10 @@ index b2d1b4dc33b5..c23d12cc0979 100644 > - 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": > >@@ -39965,7 +41149,7 @@ index b2d1b4dc33b5..c23d12cc0979 100644 > > Library("audio_network_adaptor_config_gn") > diff --git third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build >-index 9d528d53ef4d..d4173377c188 100644 >+index 520c1d24293a..d4173377c188 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -39989,7 +41173,7 @@ index 9d528d53ef4d..d4173377c188 100644 > > FINAL_LIBRARY = "xul" > >-@@ -53,186 +62,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -53,190 +62,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -40101,6 +41285,10 @@ index 9d528d53ef4d..d4173377c188 100644 > - 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": > >@@ -40183,7 +41371,7 @@ index 9d528d53ef4d..d4173377c188 100644 > > 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 a6410efb20d4..80b14354a709 100644 >+index 0093dc4e6a29..80b14354a709 100644 > --- third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build > +++ third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -40207,7 +41395,7 @@ index a6410efb20d4..80b14354a709 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,171 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -40304,6 +41492,10 @@ index a6410efb20d4..80b14354a709 100644 > - 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": > >@@ -40386,7 +41578,7 @@ index a6410efb20d4..80b14354a709 100644 > > Library("g711_c_gn") > diff --git third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build >-index 7a05e0fef8e9..5ea9245960d3 100644 >+index 1883839bf2f6..5ea9245960d3 100644 > --- third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build > +++ third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -40410,7 +41602,7 @@ index 7a05e0fef8e9..5ea9245960d3 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,182 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -40518,6 +41710,10 @@ index 7a05e0fef8e9..5ea9245960d3 100644 > - 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": > >@@ -40600,7 +41796,7 @@ index 7a05e0fef8e9..5ea9245960d3 100644 > > 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 50d116f354ed..36607b5052fe 100644 >+index e529107882e3..36607b5052fe 100644 > --- third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build > +++ third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -40624,7 +41820,7 @@ index 50d116f354ed..36607b5052fe 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,171 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -40721,6 +41917,10 @@ index 50d116f354ed..36607b5052fe 100644 > - 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": > >@@ -40803,7 +42003,7 @@ index 50d116f354ed..36607b5052fe 100644 > > Library("g722_c_gn") > diff --git third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build >-index 11b9938daa8a..7b6097e2aed1 100644 >+index 1edb33c02700..7b6097e2aed1 100644 > --- third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build > +++ third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -40827,7 +42027,7 @@ index 11b9938daa8a..7b6097e2aed1 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,182 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -40935,6 +42135,10 @@ index 11b9938daa8a..7b6097e2aed1 100644 > - 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": > >@@ -41017,7 +42221,7 @@ index 11b9938daa8a..7b6097e2aed1 100644 > > 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 288572236170..48d6a8238c65 100644 >+index 9b461b1c25af..48d6a8238c65 100644 > --- third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build > +++ third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -41041,7 +42245,7 @@ index 288572236170..48d6a8238c65 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -41134,6 +42338,10 @@ index 288572236170..48d6a8238c65 100644 > - 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": > >@@ -41147,7 +42355,7 @@ index 288572236170..48d6a8238c65 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -41200,7 +42408,7 @@ index 288572236170..48d6a8238c65 100644 > - > 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 fe126a48ae75..74726ce2c3fa 100644 >+index 4aa8ad903cb2..74726ce2c3fa 100644 > --- third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build > +++ third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -41224,7 +42432,7 @@ index fe126a48ae75..74726ce2c3fa 100644 > > FINAL_LIBRARY = "xul" > >-@@ -46,171 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -46,175 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -41321,6 +42529,10 @@ index fe126a48ae75..74726ce2c3fa 100644 > - 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": > >@@ -41403,7 +42615,7 @@ index fe126a48ae75..74726ce2c3fa 100644 > > Library("isac_vad_gn") > diff --git third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build >-index 0b9286ae510a..059cbe1c221b 100644 >+index 1dfa3e67f353..059cbe1c221b 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -41427,7 +42639,7 @@ index 0b9286ae510a..059cbe1c221b 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -41535,6 +42747,10 @@ index 0b9286ae510a..059cbe1c221b 100644 > - 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": > >@@ -41617,7 +42833,7 @@ index 0b9286ae510a..059cbe1c221b 100644 > > Library("legacy_encoded_audio_frame_gn") > diff --git third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build >-index 9805e561dcb2..38c391c65bcd 100644 >+index 08f8439eb07b..38c391c65bcd 100644 > --- third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build > +++ third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -41641,7 +42857,7 @@ index 9805e561dcb2..38c391c65bcd 100644 > > FINAL_LIBRARY = "xul" > >-@@ -78,186 +87,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -78,190 +87,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -41753,6 +42969,10 @@ index 9805e561dcb2..38c391c65bcd 100644 > - 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": > >@@ -41835,7 +43055,7 @@ index 9805e561dcb2..38c391c65bcd 100644 > > 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 04415c3d81c9..0e172820621f 100644 >+index 1f357c4fb65d..0e172820621f 100644 > --- third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build > +++ third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -41859,7 +43079,7 @@ index 04415c3d81c9..0e172820621f 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,171 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -41956,6 +43176,10 @@ index 04415c3d81c9..0e172820621f 100644 > - 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": > >@@ -42038,7 +43262,7 @@ index 04415c3d81c9..0e172820621f 100644 > > Library("pcm16b_c_gn") > diff --git third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build >-index 973b836b33f7..437ca5438b62 100644 >+index 3ea40d6df74d..437ca5438b62 100644 > --- third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build > +++ third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -42062,7 +43286,7 @@ index 973b836b33f7..437ca5438b62 100644 > > FINAL_LIBRARY = "xul" > >-@@ -45,182 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -42170,6 +43394,10 @@ index 973b836b33f7..437ca5438b62 100644 > - 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": > >@@ -42252,7 +43480,7 @@ index 973b836b33f7..437ca5438b62 100644 > > Library("pcm16b_gn") > diff --git third_party/libwebrtc/modules/audio_coding/red_gn/moz.build third_party/libwebrtc/modules/audio_coding/red_gn/moz.build >-index 4c73b57a9078..8d208793ff79 100644 >+index 90cfee8f5214..8d208793ff79 100644 > --- third_party/libwebrtc/modules/audio_coding/red_gn/moz.build > +++ third_party/libwebrtc/modules/audio_coding/red_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -42276,7 +43504,229 @@ index 4c73b57a9078..8d208793ff79 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+ if CONFIG["MOZ_DEBUG"] == "1": >+ >+ DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >+- >+-if CONFIG["OS_TARGET"] == "Android": >+- >+- DEFINES["ANDROID"] = True >+- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" >+- DEFINES["HAVE_SYS_UIO_H"] = True >+- DEFINES["WEBRTC_ANDROID"] = True >+- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True >+- DEFINES["WEBRTC_LINUX"] = True >+- DEFINES["WEBRTC_POSIX"] = True >+- DEFINES["_GNU_SOURCE"] = True >+- DEFINES["__STDC_CONSTANT_MACROS"] = True >+- DEFINES["__STDC_FORMAT_MACROS"] = True >+- >+- OS_LIBS += [ >+- "log" >+- ] >+- >+-if CONFIG["OS_TARGET"] == "Darwin": >+- >+- DEFINES["WEBRTC_MAC"] = True >+- DEFINES["WEBRTC_POSIX"] = True >+- DEFINES["_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["USE_AURA"] = "1" >+- DEFINES["USE_GLIB"] = "1" >+- DEFINES["USE_NSS_CERTS"] = "1" >+- DEFINES["USE_OZONE"] = "1" >+- DEFINES["USE_UDEV"] = True >+- DEFINES["WEBRTC_LINUX"] = 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 >+- >+- OS_LIBS += [ >+- "rt" >+- ] >+- >+-if CONFIG["OS_TARGET"] == "OpenBSD": >+- >+- DEFINES["USE_GLIB"] = "1" >+- DEFINES["USE_OZONE"] = "1" >+- DEFINES["USE_X11"] = "1" >+- DEFINES["WEBRTC_BSD"] = True >+- DEFINES["WEBRTC_POSIX"] = True >+- DEFINES["_FILE_OFFSET_BITS"] = "64" >+- DEFINES["_LARGEFILE64_SOURCE"] = True >+- DEFINES["_LARGEFILE_SOURCE"] = True >+- DEFINES["__STDC_CONSTANT_MACROS"] = True >+- DEFINES["__STDC_FORMAT_MACROS"] = True >+- >+-if CONFIG["OS_TARGET"] == "WINNT": >+- >+- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+- DEFINES["NOMINMAX"] = True >+- DEFINES["NTDDI_VERSION"] = "0x0A000000" >+- DEFINES["PSAPI_VERSION"] = "2" >+- DEFINES["RTC_ENABLE_WIN_WGC"] = True >+- DEFINES["UNICODE"] = True >+- DEFINES["USE_AURA"] = "1" >+- DEFINES["WEBRTC_WIN"] = True >+- DEFINES["WIN32"] = True >+- DEFINES["WIN32_LEAN_AND_MEAN"] = True >+- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" >+- DEFINES["WINVER"] = "0x0A00" >+- DEFINES["_ATL_NO_OPENGL"] = True >+- DEFINES["_CRT_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["__STD_C"] = True >+- >+- OS_LIBS += [ >+- "crypt32", >+- "iphlpapi", >+- "secur32", >+- "winmm" >+- ] >++ DEFINES["_DEBUG"] = True >+ >+ if CONFIG["TARGET_CPU"] == "aarch64": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+ DEFINES["WEBRTC_HAS_NEON"] = True >+ >+-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["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": >+- >+- DEFINES["USE_X11"] = "1" >+- >+-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["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": >+- >+- DEFINES["_GNU_SOURCE"] = True >+- >+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": >+- >+- DEFINES["_GNU_SOURCE"] = True >+- >+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": >++ DEFINES["WEBRTC_ENABLE_AVX2"] = True >+ >+- CXXFLAGS += [ >+- "-msse2" >+- ] >++if CONFIG["TARGET_CPU"] == "x86_64": >+ >+- DEFINES["_GNU_SOURCE"] = True >++ DEFINES["WEBRTC_ENABLE_AVX2"] = True >+ >+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": >++if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >+ >+- DEFINES["_GNU_SOURCE"] = True >++ DEFINES["USE_X11"] = "1" >+ >+ 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 9a4452803747..1feff6421a4c 100644 >+--- third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build >++++ third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build >+@@ -12,11 +12,20 @@ AllowCompilerWarnings() >+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" >+ 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["__STDC_CONSTANT_MACROS"] = True >++DEFINES["__STDC_FORMAT_MACROS"] = True >+ >+ FINAL_LIBRARY = "xul" >+ >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -42389,223 +43839,9 @@ index 4c73b57a9078..8d208793ff79 100644 > - DEFINES["WEBRTC_ARCH_ARM_V7"] = True > - DEFINES["WEBRTC_HAS_NEON"] = True > - >- if CONFIG["TARGET_CPU"] == "mips32": >- >- DEFINES["MIPS32_LE"] = True >- DEFINES["MIPS_FPU_LE"] = True >-- DEFINES["_GNU_SOURCE"] = True >-- >--if CONFIG["TARGET_CPU"] == "mips64": >+-if CONFIG["TARGET_CPU"] == "loongarch64": > - > - 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["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": >-- >-- DEFINES["USE_X11"] = "1" >-- >--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["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": >-- >-- DEFINES["_GNU_SOURCE"] = True >-- >--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": >-- >-- DEFINES["_GNU_SOURCE"] = True >-- >--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": >-+ DEFINES["WEBRTC_ENABLE_AVX2"] = True >- >-- CXXFLAGS += [ >-- "-msse2" >-- ] >-+if CONFIG["TARGET_CPU"] == "x86_64": >- >-- DEFINES["_GNU_SOURCE"] = True >-+ DEFINES["WEBRTC_ENABLE_AVX2"] = True >- >--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": >-+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >- >-- DEFINES["_GNU_SOURCE"] = True >-+ DEFINES["USE_X11"] = "1" >- >- 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 c8ae0caf04f3..1feff6421a4c 100644 >---- third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build >-+++ third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build >-@@ -12,11 +12,20 @@ AllowCompilerWarnings() >- DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" >- 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["__STDC_CONSTANT_MACROS"] = True >-+DEFINES["__STDC_FORMAT_MACROS"] = True >- >- FINAL_LIBRARY = "xul" >- >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >- if CONFIG["MOZ_DEBUG"] == "1": >- >- DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >-- >--if CONFIG["OS_TARGET"] == "Android": >-- >-- DEFINES["ANDROID"] = True >-- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" >-- DEFINES["HAVE_SYS_UIO_H"] = True >-- DEFINES["WEBRTC_ANDROID"] = True >-- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True >-- DEFINES["WEBRTC_LINUX"] = True >-- DEFINES["WEBRTC_POSIX"] = True >-- DEFINES["_GNU_SOURCE"] = True >-- DEFINES["__STDC_CONSTANT_MACROS"] = True >-- DEFINES["__STDC_FORMAT_MACROS"] = True >-- >-- OS_LIBS += [ >-- "log" >-- ] >-- >--if CONFIG["OS_TARGET"] == "Darwin": >-- >-- DEFINES["WEBRTC_MAC"] = True >-- DEFINES["WEBRTC_POSIX"] = True >-- DEFINES["_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["USE_AURA"] = "1" >-- DEFINES["USE_GLIB"] = "1" >-- DEFINES["USE_NSS_CERTS"] = "1" >-- DEFINES["USE_OZONE"] = "1" >-- DEFINES["USE_UDEV"] = True >-- DEFINES["WEBRTC_LINUX"] = 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 >-- >-- OS_LIBS += [ >-- "rt" >-- ] >-- >--if CONFIG["OS_TARGET"] == "OpenBSD": >-- >-- DEFINES["USE_GLIB"] = "1" >-- DEFINES["USE_OZONE"] = "1" >-- DEFINES["USE_X11"] = "1" >-- DEFINES["WEBRTC_BSD"] = True >-- DEFINES["WEBRTC_POSIX"] = True >-- DEFINES["_FILE_OFFSET_BITS"] = "64" >-- DEFINES["_LARGEFILE64_SOURCE"] = True >-- DEFINES["_LARGEFILE_SOURCE"] = True >-- DEFINES["__STDC_CONSTANT_MACROS"] = True >-- DEFINES["__STDC_FORMAT_MACROS"] = True >-- >--if CONFIG["OS_TARGET"] == "WINNT": >-- >-- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >-- DEFINES["NOMINMAX"] = True >-- DEFINES["NTDDI_VERSION"] = "0x0A000000" >-- DEFINES["PSAPI_VERSION"] = "2" >-- DEFINES["RTC_ENABLE_WIN_WGC"] = True >-- DEFINES["UNICODE"] = True >-- DEFINES["USE_AURA"] = "1" >-- DEFINES["WEBRTC_WIN"] = True >-- DEFINES["WIN32"] = True >-- DEFINES["WIN32_LEAN_AND_MEAN"] = True >-- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" >-- DEFINES["WINVER"] = "0x0A00" >-- DEFINES["_ATL_NO_OPENGL"] = True >-- DEFINES["_CRT_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["__STD_C"] = True >-- >-- OS_LIBS += [ >-- "crypt32", >-- "iphlpapi", >-- "secur32", >-- "winmm" >-- ] >-+ DEFINES["_DEBUG"] = True >- >- if CONFIG["TARGET_CPU"] == "aarch64": >- >- DEFINES["WEBRTC_ARCH_ARM64"] = True >- DEFINES["WEBRTC_HAS_NEON"] = True >- >--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"] == "mips32": > >@@ -42688,7 +43924,7 @@ index c8ae0caf04f3..1feff6421a4c 100644 > > Library("webrtc_cng_gn") > diff --git third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build >-index 71be9125e7f7..bb4eca518817 100644 >+index 62e6d99b0499..bb4eca518817 100644 > --- third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build > +++ third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build > @@ -12,13 +12,22 @@ AllowCompilerWarnings() >@@ -42714,7 +43950,7 @@ index 71be9125e7f7..bb4eca518817 100644 > > FINAL_LIBRARY = "xul" > >-@@ -47,182 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -47,186 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -42822,6 +44058,10 @@ index 71be9125e7f7..bb4eca518817 100644 > - 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": > >@@ -42904,7 +44144,7 @@ index 71be9125e7f7..bb4eca518817 100644 > > Library("webrtc_multiopus_gn") > diff --git third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build >-index b8d07f941646..90011b5c16e2 100644 >+index a540a00469f3..90011b5c16e2 100644 > --- third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build > +++ third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build > @@ -12,13 +12,22 @@ AllowCompilerWarnings() >@@ -42930,7 +44170,7 @@ index b8d07f941646..90011b5c16e2 100644 > > FINAL_LIBRARY = "xul" > >-@@ -47,186 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -47,190 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -43042,6 +44282,10 @@ index b8d07f941646..90011b5c16e2 100644 > - 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": > >@@ -43124,7 +44368,7 @@ index b8d07f941646..90011b5c16e2 100644 > > Library("webrtc_opus_gn") > diff --git third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build >-index 8589e2deba3f..64721c4655fb 100644 >+index 8970c596ba17..64721c4655fb 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 > @@ -12,13 +12,22 @@ AllowCompilerWarnings() >@@ -43150,7 +44394,7 @@ index 8589e2deba3f..64721c4655fb 100644 > > FINAL_LIBRARY = "xul" > >-@@ -46,175 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -46,179 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -43251,6 +44495,10 @@ index 8589e2deba3f..64721c4655fb 100644 > - 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": > >@@ -43333,7 +44581,7 @@ index 8589e2deba3f..64721c4655fb 100644 > > 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 461a79c230d0..956114463750 100644 >+index 0bd773f44928..956114463750 100644 > --- third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build > +++ third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -43357,7 +44605,7 @@ index 461a79c230d0..956114463750 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -43450,6 +44698,10 @@ index 461a79c230d0..956114463750 100644 > - 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": > >@@ -43463,7 +44715,7 @@ index 461a79c230d0..956114463750 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -43516,7 +44768,7 @@ index 461a79c230d0..956114463750 100644 > - > 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 68d0cbc635aa..b7a55333da6b 100644 >+index ec77b35b94a4..b7a55333da6b 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -43540,7 +44792,7 @@ index 68d0cbc635aa..b7a55333da6b 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -43633,6 +44885,10 @@ index 68d0cbc635aa..b7a55333da6b 100644 > - 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": > >@@ -43646,7 +44902,7 @@ index 68d0cbc635aa..b7a55333da6b 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -43699,7 +44955,7 @@ index 68d0cbc635aa..b7a55333da6b 100644 > - > 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 e0dbde0dec34..c7a666de4c41 100644 >+index 1a1300027eb4..c7a666de4c41 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -43723,7 +44979,7 @@ index e0dbde0dec34..c7a666de4c41 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -43835,6 +45091,10 @@ index e0dbde0dec34..c7a666de4c41 100644 > - 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": > >@@ -43917,7 +45177,7 @@ index e0dbde0dec34..c7a666de4c41 100644 > > Library("audio_frame_manipulator_gn") > diff --git third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build >-index 3f24bc615d5a..77161a5e662b 100644 >+index 1f38d95be5ec..77161a5e662b 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 > @@ -12,12 +12,21 @@ AllowCompilerWarnings() >@@ -43942,7 +45202,7 @@ index 3f24bc615d5a..77161a5e662b 100644 > > FINAL_LIBRARY = "xul" > >-@@ -46,186 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -46,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -44054,6 +45314,10 @@ index 3f24bc615d5a..77161a5e662b 100644 > - 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": > >@@ -44136,7 +45400,7 @@ index 3f24bc615d5a..77161a5e662b 100644 > > 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 3f4cb13e3208..8b643a359c70 100644 >+index 5cf655eb9246..8b643a359c70 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -44160,7 +45424,7 @@ index 3f4cb13e3208..8b643a359c70 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -44257,6 +45521,10 @@ index 3f4cb13e3208..8b643a359c70 100644 > - 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": > >@@ -44270,7 +45538,7 @@ index 3f4cb13e3208..8b643a359c70 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -44323,7 +45591,7 @@ index 3f4cb13e3208..8b643a359c70 100644 > - > Library("adaptive_fir_filter_erl_gn") > diff --git third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build >-index ede73916b98a..fe1e34fdfc49 100644 >+index 497676ffe622..fe1e34fdfc49 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -44347,7 +45615,7 @@ index ede73916b98a..fe1e34fdfc49 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,123 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -44455,6 +45723,10 @@ index ede73916b98a..fe1e34fdfc49 100644 > - 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": > >@@ -44468,7 +45740,7 @@ index ede73916b98a..fe1e34fdfc49 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -165,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -44686,7 +45958,7 @@ index ed02ca92381c..46c86f3568d0 100644 > > 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 95a0a39a6cea..281b817e914c 100644 >+index 3fb0ea8a2c6a..281b817e914c 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -44710,7 +45982,7 @@ index 95a0a39a6cea..281b817e914c 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -44803,6 +46075,10 @@ index 95a0a39a6cea..281b817e914c 100644 > - 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": > >@@ -44816,7 +46092,7 @@ index 95a0a39a6cea..281b817e914c 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -44869,7 +46145,7 @@ index 95a0a39a6cea..281b817e914c 100644 > - > Library("aec3_common_gn") > diff --git third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build >-index 97d1e13178a2..b7ed821a08d2 100644 >+index 4900eca9532f..b7ed821a08d2 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -44893,7 +46169,7 @@ index 97d1e13178a2..b7ed821a08d2 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,123 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -45001,6 +46277,10 @@ index 97d1e13178a2..b7ed821a08d2 100644 > - 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": > >@@ -45014,7 +46294,7 @@ index 97d1e13178a2..b7ed821a08d2 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -165,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -45067,7 +46347,7 @@ index 97d1e13178a2..b7ed821a08d2 100644 > - > Library("aec3_fft_gn") > diff --git third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build >-index 9134c2257cf2..45252f2e5ce8 100644 >+index 53b983a22fa7..45252f2e5ce8 100644 > --- third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build > +++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build > @@ -12,12 +12,21 @@ AllowCompilerWarnings() >@@ -45092,7 +46372,7 @@ index 9134c2257cf2..45252f2e5ce8 100644 > > FINAL_LIBRARY = "xul" > >-@@ -100,186 +109,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -100,190 +109,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -45204,6 +46484,10 @@ index 9134c2257cf2..45252f2e5ce8 100644 > - 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": > >@@ -45286,7 +46570,7 @@ index 9134c2257cf2..45252f2e5ce8 100644 > > 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 1bf09532e613..0c9cc569430d 100644 >+index 5310e43a1d89..0c9cc569430d 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -45310,7 +46594,7 @@ index 1bf09532e613..0c9cc569430d 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -45407,6 +46691,10 @@ index 1bf09532e613..0c9cc569430d 100644 > - 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": > >@@ -45420,7 +46708,7 @@ index 1bf09532e613..0c9cc569430d 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -45473,7 +46761,7 @@ index 1bf09532e613..0c9cc569430d 100644 > - > 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 f045aab9c5bf..433d161cb781 100644 >+index 16305e915fb6..433d161cb781 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -45497,7 +46785,7 @@ index f045aab9c5bf..433d161cb781 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -45594,6 +46882,10 @@ index f045aab9c5bf..433d161cb781 100644 > - 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": > >@@ -45607,7 +46899,7 @@ index f045aab9c5bf..433d161cb781 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -45660,7 +46952,7 @@ index f045aab9c5bf..433d161cb781 100644 > - > 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 e29b99df43b0..ee2869af9930 100644 >+index 107439b1d3d8..ee2869af9930 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -45684,7 +46976,7 @@ index e29b99df43b0..ee2869af9930 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -45781,6 +47073,10 @@ index e29b99df43b0..ee2869af9930 100644 > - 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": > >@@ -45794,7 +47090,7 @@ index e29b99df43b0..ee2869af9930 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -45847,7 +47143,7 @@ index e29b99df43b0..ee2869af9930 100644 > - > 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 6679b52489bc..8420c2a67ee0 100644 >+index 727984504717..8420c2a67ee0 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -45871,7 +47167,7 @@ index 6679b52489bc..8420c2a67ee0 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -45968,6 +47264,10 @@ index 6679b52489bc..8420c2a67ee0 100644 > - 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": > >@@ -45981,7 +47281,7 @@ index 6679b52489bc..8420c2a67ee0 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -46034,7 +47334,7 @@ index 6679b52489bc..8420c2a67ee0 100644 > - > Library("vector_math_gn") > diff --git third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build >-index 550a88477169..2426c14c0008 100644 >+index 2fa8e61caaf6..2426c14c0008 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -46058,7 +47358,7 @@ index 550a88477169..2426c14c0008 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,115 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -46162,6 +47462,10 @@ index 550a88477169..2426c14c0008 100644 > - 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": > >@@ -46175,7 +47479,7 @@ index 550a88477169..2426c14c0008 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -157,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -46228,7 +47532,7 @@ index 550a88477169..2426c14c0008 100644 > - > Library("aec_dump_gn") > diff --git third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build >-index 36f213d21439..b3959e4726fd 100644 >+index f4a57f1fbac8..b3959e4726fd 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -46252,7 +47556,7 @@ index 36f213d21439..b3959e4726fd 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -46360,6 +47664,10 @@ index 36f213d21439..b3959e4726fd 100644 > - 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": > >@@ -46442,7 +47750,7 @@ index 36f213d21439..b3959e4726fd 100644 > > Library("null_aec_dump_factory_gn") > diff --git third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build >-index 2ae72fd85979..91b70f2ef1b6 100644 >+index 6196d6ff4ff0..91b70f2ef1b6 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -46466,7 +47774,7 @@ index 2ae72fd85979..91b70f2ef1b6 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -46574,6 +47882,10 @@ index 2ae72fd85979..91b70f2ef1b6 100644 > - 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": > >@@ -46656,7 +47968,7 @@ index 2ae72fd85979..91b70f2ef1b6 100644 > > Library("aec_dump_interface_gn") > diff --git third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build >-index 00b431d1e029..6115a80adc3a 100644 >+index a884cffa8f5f..2d6f110d04dc 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -46796,7 +48108,7 @@ index 00b431d1e029..6115a80adc3a 100644 > > if CONFIG["TARGET_CPU"] == "aarch64": > >-@@ -159,20 +61,7 @@ if CONFIG["TARGET_CPU"] == "aarch64": >+@@ -159,27 +61,12 @@ if CONFIG["TARGET_CPU"] == "aarch64": > DEFINES["WEBRTC_HAS_NEON"] = True > > SOURCES += [ >@@ -46818,7 +48130,14 @@ index 00b431d1e029..6115a80adc3a 100644 > "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_neon.cc" > ] > >-@@ -180,7 +69,6 @@ if CONFIG["TARGET_CPU"] == "mips32": >+ if CONFIG["TARGET_CPU"] == "loongarch64": >+ >+- DEFINES["_GNU_SOURCE"] = True >+- >+ SOURCES += [ >+ "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc" >+ ] >+@@ -188,7 +75,6 @@ if CONFIG["TARGET_CPU"] == "mips32": > > DEFINES["MIPS32_LE"] = True > DEFINES["MIPS_FPU_LE"] = True >@@ -46826,7 +48145,7 @@ index 00b431d1e029..6115a80adc3a 100644 > > SOURCES += [ > "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_mips.cc" >-@@ -188,8 +76,6 @@ if CONFIG["TARGET_CPU"] == "mips32": >+@@ -196,8 +82,6 @@ if CONFIG["TARGET_CPU"] == "mips32": > > if CONFIG["TARGET_CPU"] == "mips64": > >@@ -46835,7 +48154,7 @@ index 00b431d1e029..6115a80adc3a 100644 > SOURCES += [ > "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc" > ] >-@@ -200,90 +86,34 @@ if CONFIG["TARGET_CPU"] == "ppc64": >+@@ -208,90 +92,34 @@ if CONFIG["TARGET_CPU"] == "ppc64": > "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc" > ] > >@@ -46894,18 +48213,18 @@ index 00b431d1e029..6115a80adc3a 100644 > -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": > - > - 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": > >@@ -46936,7 +48255,7 @@ index 00b431d1e029..6115a80adc3a 100644 > + > 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 0c04fca7ed30..ac4803f3488f 100644 >+index c456275f855a..ac4803f3488f 100644 > --- third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build > +++ third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build > @@ -12,12 +12,21 @@ AllowCompilerWarnings() >@@ -46961,7 +48280,7 @@ index 0c04fca7ed30..ac4803f3488f 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -47073,6 +48392,10 @@ index 0c04fca7ed30..ac4803f3488f 100644 > - 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": > >@@ -47155,7 +48478,7 @@ index 0c04fca7ed30..ac4803f3488f 100644 > > 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 d407622a9dbc..e18a5ed5f14e 100644 >+index 456421e167ea..e18a5ed5f14e 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -47179,7 +48502,7 @@ index d407622a9dbc..e18a5ed5f14e 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -47272,6 +48595,10 @@ index d407622a9dbc..e18a5ed5f14e 100644 > - 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": > >@@ -47285,7 +48612,7 @@ index d407622a9dbc..e18a5ed5f14e 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -47338,7 +48665,7 @@ index d407622a9dbc..e18a5ed5f14e 100644 > - > Library("gain_control_interface_gn") > diff --git third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build >-index dfcf770d48b7..38bee0b95eaa 100644 >+index ab1285e34d37..38bee0b95eaa 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -47362,7 +48689,7 @@ index dfcf770d48b7..38bee0b95eaa 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -47474,6 +48801,10 @@ index dfcf770d48b7..38bee0b95eaa 100644 > - 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": > >@@ -47556,7 +48887,7 @@ index dfcf770d48b7..38bee0b95eaa 100644 > > Library("legacy_agc_gn") > diff --git third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build >-index 0a7c634fae9f..bacac4da045d 100644 >+index 14e35c2e0246..bacac4da045d 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -47580,7 +48911,7 @@ index 0a7c634fae9f..bacac4da045d 100644 > > FINAL_LIBRARY = "xul" > >-@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -47692,6 +49023,10 @@ index 0a7c634fae9f..bacac4da045d 100644 > - 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": > >@@ -47774,7 +49109,7 @@ index 0a7c634fae9f..bacac4da045d 100644 > > Library("level_estimation_gn") > diff --git third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build >-index e0d4933eda47..ec062dd8dcca 100644 >+index a926bba44729..ec062dd8dcca 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 > @@ -12,12 +12,21 @@ AllowCompilerWarnings() >@@ -47799,7 +49134,7 @@ index e0d4933eda47..ec062dd8dcca 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -47911,6 +49246,10 @@ index e0d4933eda47..ec062dd8dcca 100644 > - 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": > >@@ -47993,7 +49332,7 @@ index e0d4933eda47..ec062dd8dcca 100644 > > Library("adaptive_digital_gain_controller_gn") > diff --git third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build >-index 4793841f0a02..4c4aea313a76 100644 >+index 2ccf23b32856..4c4aea313a76 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -48017,7 +49356,7 @@ index 4793841f0a02..4c4aea313a76 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -48118,6 +49457,10 @@ index 4793841f0a02..4c4aea313a76 100644 > - 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": > >@@ -48200,7 +49543,7 @@ index 4793841f0a02..4c4aea313a76 100644 > > Library("biquad_filter_gn") > diff --git third_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build >-index 2d23932bca05..978fca187767 100644 >+index b7bfe444b7fb..978fca187767 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -48224,7 +49567,7 @@ index 2d23932bca05..978fca187767 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -48336,6 +49679,10 @@ index 2d23932bca05..978fca187767 100644 > - 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": > >@@ -48418,7 +49765,7 @@ index 2d23932bca05..978fca187767 100644 > > 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 65c439c2312c..1d1718c4a270 100644 >+index 138354dbc46a..1d1718c4a270 100644 > --- third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build > +++ third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -48442,7 +49789,7 @@ index 65c439c2312c..1d1718c4a270 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -48535,6 +49882,10 @@ index 65c439c2312c..1d1718c4a270 100644 > - 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": > >@@ -48548,7 +49899,7 @@ index 65c439c2312c..1d1718c4a270 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -48601,7 +49952,7 @@ index 65c439c2312c..1d1718c4a270 100644 > - > Library("common_gn") > diff --git third_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build >-index c8b21bb6ad6b..50c4819481af 100644 >+index 2f40304afaee..50c4819481af 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -48625,7 +49976,7 @@ index c8b21bb6ad6b..50c4819481af 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -48737,6 +50088,10 @@ index c8b21bb6ad6b..50c4819481af 100644 > - 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": > >@@ -48819,7 +50174,7 @@ index c8b21bb6ad6b..50c4819481af 100644 > > Library("cpu_features_gn") > diff --git third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build >-index f860fd328ddd..edbdcc79c315 100644 >+index f5c615e7c144..edbdcc79c315 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 > @@ -12,12 +12,21 @@ AllowCompilerWarnings() >@@ -48844,7 +50199,7 @@ index f860fd328ddd..edbdcc79c315 100644 > > FINAL_LIBRARY = "xul" > >-@@ -46,186 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -46,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -48956,6 +50311,10 @@ index f860fd328ddd..edbdcc79c315 100644 > - 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": > >@@ -49038,7 +50397,7 @@ index f860fd328ddd..edbdcc79c315 100644 > > Library("fixed_digital_gn") > diff --git third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build >-index f7812fce9d53..16bd1dcb8f4d 100644 >+index 336fbad968e3..16bd1dcb8f4d 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -49062,7 +50421,7 @@ index f7812fce9d53..16bd1dcb8f4d 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -49170,6 +50529,10 @@ index f7812fce9d53..16bd1dcb8f4d 100644 > - 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": > >@@ -49252,7 +50615,7 @@ index f7812fce9d53..16bd1dcb8f4d 100644 > > 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 b5f7a1f95fd9..205ef2fa8610 100644 >+index a542386830ea..205ef2fa8610 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -49276,7 +50639,7 @@ index b5f7a1f95fd9..205ef2fa8610 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -49369,6 +50732,10 @@ index b5f7a1f95fd9..205ef2fa8610 100644 > - 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": > >@@ -49382,7 +50749,7 @@ index b5f7a1f95fd9..205ef2fa8610 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -49435,7 +50802,7 @@ index b5f7a1f95fd9..205ef2fa8610 100644 > - > Library("gain_map_gn") > diff --git third_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build >-index 1fa533024516..a953fa94c99a 100644 >+index f5be716a8bc5..a953fa94c99a 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 > @@ -12,12 +12,21 @@ AllowCompilerWarnings() >@@ -49460,7 +50827,7 @@ index 1fa533024516..a953fa94c99a 100644 > > FINAL_LIBRARY = "xul" > >-@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -49572,6 +50939,10 @@ index 1fa533024516..a953fa94c99a 100644 > - 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": > >@@ -49654,7 +51025,7 @@ index 1fa533024516..a953fa94c99a 100644 > > Library("input_volume_controller_gn") > diff --git third_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build >-index 6cd3184136d9..d06082663d6a 100644 >+index feb82f3997c9..d06082663d6a 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -49678,7 +51049,7 @@ index 6cd3184136d9..d06082663d6a 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -49786,6 +51157,10 @@ index 6cd3184136d9..d06082663d6a 100644 > - 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": > >@@ -49868,7 +51243,7 @@ index 6cd3184136d9..d06082663d6a 100644 > > Library("input_volume_stats_reporter_gn") > diff --git third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build >-index 448d79a8013e..82e5e8f4333b 100644 >+index e90d9910bf62..82e5e8f4333b 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 > @@ -12,12 +12,21 @@ AllowCompilerWarnings() >@@ -49893,7 +51268,7 @@ index 448d79a8013e..82e5e8f4333b 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -50005,6 +51380,10 @@ index 448d79a8013e..82e5e8f4333b 100644 > - 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": > >@@ -50087,7 +51466,7 @@ index 448d79a8013e..82e5e8f4333b 100644 > > Library("noise_level_estimator_gn") > diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build >-index b73e7d948d1b..171732e1f557 100644 >+index 24079e9ae6d1..171732e1f557 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -50111,7 +51490,7 @@ index b73e7d948d1b..171732e1f557 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -50223,6 +51602,10 @@ index b73e7d948d1b..171732e1f557 100644 > - 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": > >@@ -50305,7 +51688,7 @@ index b73e7d948d1b..171732e1f557 100644 > > Library("rnn_vad_auto_correlation_gn") > diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_common_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_common_gn/moz.build >-index 972ca8adce4a..32c5af366c7d 100644 >+index 49c7c7762c63..32c5af366c7d 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -50329,7 +51712,7 @@ index 972ca8adce4a..32c5af366c7d 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,123 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -50437,6 +51820,10 @@ index 972ca8adce4a..32c5af366c7d 100644 > - 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": > >@@ -50450,7 +51837,7 @@ index 972ca8adce4a..32c5af366c7d 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -165,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -50503,7 +51890,7 @@ index 972ca8adce4a..32c5af366c7d 100644 > - > Library("rnn_vad_common_gn") > diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build >-index cc8f174d720b..696f0ee96b59 100644 >+index 26a7d3b891a7..696f0ee96b59 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -50527,7 +51914,7 @@ index cc8f174d720b..696f0ee96b59 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -50639,6 +52026,10 @@ index cc8f174d720b..696f0ee96b59 100644 > - 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": > >@@ -50721,7 +52112,7 @@ index cc8f174d720b..696f0ee96b59 100644 > > Library("rnn_vad_gn") > diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build >-index 25a5c06ea9d1..413755876901 100644 >+index 04a1e7cc555a..413755876901 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -50745,7 +52136,7 @@ index 25a5c06ea9d1..413755876901 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -50857,6 +52248,10 @@ index 25a5c06ea9d1..413755876901 100644 > - 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": > >@@ -50939,7 +52334,7 @@ index 25a5c06ea9d1..413755876901 100644 > > Library("rnn_vad_layers_gn") > diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_lp_residual_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_lp_residual_gn/moz.build >-index 1e2ab7fc16e4..58978d7f3e35 100644 >+index 98019531c7f9..58978d7f3e35 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -50963,7 +52358,7 @@ index 1e2ab7fc16e4..58978d7f3e35 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -51064,6 +52459,10 @@ index 1e2ab7fc16e4..58978d7f3e35 100644 > - 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": > >@@ -51146,7 +52545,7 @@ index 1e2ab7fc16e4..58978d7f3e35 100644 > > Library("rnn_vad_lp_residual_gn") > diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build >-index c6be5c632c28..56c167cc8561 100644 >+index 7d650f259e13..56c167cc8561 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -51170,7 +52569,7 @@ index c6be5c632c28..56c167cc8561 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -51282,6 +52681,10 @@ index c6be5c632c28..56c167cc8561 100644 > - 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": > >@@ -51364,7 +52767,7 @@ index c6be5c632c28..56c167cc8561 100644 > > 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 10138f6acafd..4591b6d57ed8 100644 >+index 0eb74a400fb0..4591b6d57ed8 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -51388,7 +52791,7 @@ index 10138f6acafd..4591b6d57ed8 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -51485,6 +52888,10 @@ index 10138f6acafd..4591b6d57ed8 100644 > - 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": > >@@ -51498,7 +52905,7 @@ index 10138f6acafd..4591b6d57ed8 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -51551,7 +52958,7 @@ index 10138f6acafd..4591b6d57ed8 100644 > - > 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 901f9fb816ec..0fa750093bb2 100644 >+index 2df8bb1943ed..0fa750093bb2 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -51575,7 +52982,7 @@ index 901f9fb816ec..0fa750093bb2 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -51672,6 +53079,10 @@ index 901f9fb816ec..0fa750093bb2 100644 > - 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": > >@@ -51685,7 +53096,7 @@ index 901f9fb816ec..0fa750093bb2 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -51738,7 +53149,7 @@ index 901f9fb816ec..0fa750093bb2 100644 > - > Library("rnn_vad_sequence_buffer_gn") > diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build >-index fde639fb8e2a..4936229921d9 100644 >+index be92010f91fa..4936229921d9 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -51762,7 +53173,7 @@ index fde639fb8e2a..4936229921d9 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -51874,6 +53285,10 @@ index fde639fb8e2a..4936229921d9 100644 > - 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": > >@@ -51956,7 +53371,7 @@ index fde639fb8e2a..4936229921d9 100644 > > 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 ed0646b64e62..0976324eb70d 100644 >+index 709fac2fabc4..0976324eb70d 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -51980,7 +53395,7 @@ index ed0646b64e62..0976324eb70d 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -52077,6 +53492,10 @@ index ed0646b64e62..0976324eb70d 100644 > - 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": > >@@ -52090,7 +53509,7 @@ index ed0646b64e62..0976324eb70d 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -52307,7 +53726,7 @@ index b24d7b4742f2..c956363856eb 100644 > > 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 20fc3cd717c3..8420c2a67ee0 100644 >+index edc37cfec66d..8420c2a67ee0 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -52331,7 +53750,7 @@ index 20fc3cd717c3..8420c2a67ee0 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,123 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -52439,6 +53858,10 @@ index 20fc3cd717c3..8420c2a67ee0 100644 > - 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": > >@@ -52452,7 +53875,7 @@ index 20fc3cd717c3..8420c2a67ee0 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -165,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -52505,7 +53928,7 @@ index 20fc3cd717c3..8420c2a67ee0 100644 > - > Library("vector_math_gn") > diff --git third_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build >-index 6498b2c8411e..795d8ebb9737 100644 >+index d71b31c270e2..795d8ebb9737 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 > @@ -12,12 +12,21 @@ AllowCompilerWarnings() >@@ -52530,7 +53953,7 @@ index 6498b2c8411e..795d8ebb9737 100644 > > FINAL_LIBRARY = "xul" > >-@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -52642,6 +54065,10 @@ index 6498b2c8411e..795d8ebb9737 100644 > - 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": > >@@ -52724,7 +54151,7 @@ index 6498b2c8411e..795d8ebb9737 100644 > > Library("saturation_protector_gn") > diff --git third_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build >-index 317475790b9f..c87eec7a75bd 100644 >+index 1e8ce8cdd78c..c87eec7a75bd 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 > @@ -12,12 +12,21 @@ AllowCompilerWarnings() >@@ -52749,7 +54176,7 @@ index 317475790b9f..c87eec7a75bd 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -52861,6 +54288,10 @@ index 317475790b9f..c87eec7a75bd 100644 > - 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": > >@@ -52943,7 +54374,7 @@ index 317475790b9f..c87eec7a75bd 100644 > > Library("speech_level_estimator_gn") > diff --git third_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build >-index a4db725932c1..5c95e03997df 100644 >+index ef605c387ad5..5c95e03997df 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -52967,7 +54398,7 @@ index a4db725932c1..5c95e03997df 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -53079,6 +54510,10 @@ index a4db725932c1..5c95e03997df 100644 > - 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": > >@@ -53161,7 +54596,7 @@ index a4db725932c1..5c95e03997df 100644 > > Library("vad_wrapper_gn") > diff --git third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build >-index ee282cd0ce76..5be7419cee20 100644 >+index f74ce8a70dc4..5be7419cee20 100644 > --- third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build > +++ third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build > @@ -12,12 +12,21 @@ AllowCompilerWarnings() >@@ -53186,7 +54621,7 @@ index ee282cd0ce76..5be7419cee20 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -53298,6 +54733,10 @@ index ee282cd0ce76..5be7419cee20 100644 > - 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": > >@@ -53380,7 +54819,7 @@ index ee282cd0ce76..5be7419cee20 100644 > > Library("apm_logging_gn") > diff --git third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build >-index 84b06af35b8b..bd926084a6ce 100644 >+index 17db8ead56a7..bd926084a6ce 100644 > --- third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build > +++ third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build > @@ -12,12 +12,21 @@ AllowCompilerWarnings() >@@ -53405,7 +54844,7 @@ index 84b06af35b8b..bd926084a6ce 100644 > > FINAL_LIBRARY = "xul" > >-@@ -46,186 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -46,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -53517,6 +54956,10 @@ index 84b06af35b8b..bd926084a6ce 100644 > - 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": > >@@ -53599,7 +55042,7 @@ index 84b06af35b8b..bd926084a6ce 100644 > > Library("audio_buffer_gn") > diff --git third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build >-index c06465293bfd..a21ed67082b0 100644 >+index 8c5816304747..a21ed67082b0 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -53623,7 +55066,7 @@ index c06465293bfd..a21ed67082b0 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -53731,6 +55174,10 @@ index c06465293bfd..a21ed67082b0 100644 > - 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": > >@@ -53813,7 +55260,7 @@ index c06465293bfd..a21ed67082b0 100644 > > 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 32c531779586..cd71f405e9a4 100644 >+index f011e41ad837..cd71f405e9a4 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -53837,7 +55284,7 @@ index 32c531779586..cd71f405e9a4 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,115 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -53941,6 +55388,10 @@ index 32c531779586..cd71f405e9a4 100644 > - 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": > >@@ -53954,7 +55405,7 @@ index 32c531779586..cd71f405e9a4 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -157,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -54007,7 +55458,7 @@ index 32c531779586..cd71f405e9a4 100644 > - > Library("audio_frame_view_gn") > diff --git third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build >-index 6fab98d6612a..55349fa226b6 100644 >+index 95c38f0a6293..bf2444058ce4 100644 > --- third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build > +++ third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build > @@ -12,12 +12,21 @@ AllowCompilerWarnings() >@@ -54032,7 +55483,7 @@ index 6fab98d6612a..55349fa226b6 100644 > > FINAL_LIBRARY = "xul" > >-@@ -50,186 +59,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -49,190 +58,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -54144,6 +55595,10 @@ index 6fab98d6612a..55349fa226b6 100644 > - 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": > >@@ -54226,7 +55681,7 @@ index 6fab98d6612a..55349fa226b6 100644 > > Library("audio_processing_gn") > diff --git third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build >-index cea193ed2de6..057ed5008fe2 100644 >+index bfb581bfc19a..057ed5008fe2 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -54250,7 +55705,7 @@ index cea193ed2de6..057ed5008fe2 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -54362,6 +55817,10 @@ index cea193ed2de6..057ed5008fe2 100644 > - 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": > >@@ -54444,7 +55903,7 @@ index cea193ed2de6..057ed5008fe2 100644 > > Library("capture_levels_adjuster_gn") > diff --git third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build >-index 1fe4be81df00..4190f76f185c 100644 >+index 04d5bf230b3e..4190f76f185c 100644 > --- third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build > +++ third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build > @@ -12,12 +12,21 @@ AllowCompilerWarnings() >@@ -54469,7 +55928,7 @@ index 1fe4be81df00..4190f76f185c 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -54581,6 +56040,10 @@ index 1fe4be81df00..4190f76f185c 100644 > - 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": > >@@ -54663,7 +56126,7 @@ index 1fe4be81df00..4190f76f185c 100644 > > Library("gain_controller2_gn") > diff --git third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build >-index 91df727896eb..44c2749058fa 100644 >+index d8f32b688d0b..44c2749058fa 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -54687,7 +56150,7 @@ index 91df727896eb..44c2749058fa 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -54799,6 +56262,10 @@ index 91df727896eb..44c2749058fa 100644 > - 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": > >@@ -54881,7 +56348,7 @@ index 91df727896eb..44c2749058fa 100644 > > Library("high_pass_filter_gn") > diff --git third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build >-index 6ba4f90ef51e..4d8edc876b34 100644 >+index cdb283be4f2b..4d8edc876b34 100644 > --- third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build > +++ third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build > @@ -12,12 +12,21 @@ AllowCompilerWarnings() >@@ -54906,7 +56373,7 @@ index 6ba4f90ef51e..4d8edc876b34 100644 > > FINAL_LIBRARY = "xul" > >-@@ -56,186 +65,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -56,190 +65,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -55018,6 +56485,10 @@ index 6ba4f90ef51e..4d8edc876b34 100644 > - 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": > >@@ -55100,7 +56571,7 @@ index 6ba4f90ef51e..4d8edc876b34 100644 > > 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 f2be2db9bb3e..5cec24215df9 100644 >+index 35578fe55223..5cec24215df9 100644 > --- third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build > +++ third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -55124,7 +56595,7 @@ index f2be2db9bb3e..5cec24215df9 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -55225,6 +56696,10 @@ index f2be2db9bb3e..5cec24215df9 100644 > - 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": > >@@ -55307,7 +56782,7 @@ index f2be2db9bb3e..5cec24215df9 100644 > > 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 461c8e3493fd..cc9aa8a23789 100644 >+index 21cda458a6ce..cc9aa8a23789 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -55331,7 +56806,7 @@ index 461c8e3493fd..cc9aa8a23789 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -55432,6 +56907,10 @@ index 461c8e3493fd..cc9aa8a23789 100644 > - 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": > >@@ -55514,7 +56993,7 @@ index 461c8e3493fd..cc9aa8a23789 100644 > > 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 f5b33d513b32..334ae5fcb19e 100644 >+index f3d2ab4734e6..334ae5fcb19e 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -55538,7 +57017,7 @@ index f5b33d513b32..334ae5fcb19e 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -55639,6 +57118,10 @@ index f5b33d513b32..334ae5fcb19e 100644 > - 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": > >@@ -55721,7 +57204,7 @@ index f5b33d513b32..334ae5fcb19e 100644 > > 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 e2be6bcbe388..614e69397e87 100644 >+index f56c3da34118..614e69397e87 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -55745,7 +57228,7 @@ index e2be6bcbe388..614e69397e87 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -55846,6 +57329,10 @@ index e2be6bcbe388..614e69397e87 100644 > - 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": > >@@ -55928,7 +57415,7 @@ index e2be6bcbe388..614e69397e87 100644 > > 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 c3240758c1a9..970ceced4e0c 100644 >+index bbef9ef6246b..970ceced4e0c 100644 > --- third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build > +++ third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -55952,7 +57439,7 @@ index c3240758c1a9..970ceced4e0c 100644 > > FINAL_LIBRARY = "xul" > >-@@ -50,186 +59,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -50,190 +59,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -56064,6 +57551,10 @@ index c3240758c1a9..970ceced4e0c 100644 > - 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": > >@@ -56146,7 +57637,7 @@ index c3240758c1a9..970ceced4e0c 100644 > > 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 f236c2472bf0..539536626c14 100644 >+index 4389423238bc..539536626c14 100644 > --- third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build > +++ third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -56170,7 +57661,7 @@ index f236c2472bf0..539536626c14 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,187 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -56283,6 +57774,10 @@ index f236c2472bf0..539536626c14 100644 > - 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": > >@@ -56365,7 +57860,7 @@ index f236c2472bf0..539536626c14 100644 > > 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 b31018b430f7..00d812745382 100644 >+index c4ea2411dd35..00d812745382 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -56389,7 +57884,7 @@ index b31018b430f7..00d812745382 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -56497,6 +57992,10 @@ index b31018b430f7..00d812745382 100644 > - 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": > >@@ -56579,7 +58078,7 @@ index b31018b430f7..00d812745382 100644 > > 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 85a0fb08f484..b299425379f1 100644 >+index b6288b8b9dba..b299425379f1 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -56603,7 +58102,7 @@ index 85a0fb08f484..b299425379f1 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,187 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -56716,6 +58215,10 @@ index 85a0fb08f484..b299425379f1 100644 > - 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": > >@@ -56798,7 +58301,7 @@ index 85a0fb08f484..b299425379f1 100644 > > 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 a626c945ab32..c7ad21c9a567 100644 >+index 7b91bffbc132..c7ad21c9a567 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -56822,7 +58325,7 @@ index a626c945ab32..c7ad21c9a567 100644 > > FINAL_LIBRARY = "xul" > >-@@ -48,186 +57,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -48,190 +57,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -56934,6 +58437,10 @@ index a626c945ab32..c7ad21c9a567 100644 > - 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": > >@@ -57016,7 +58523,7 @@ index a626c945ab32..c7ad21c9a567 100644 > > 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 16443891a0a8..252a984262aa 100644 >+index 31f5270f937c..252a984262aa 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -57040,7 +58547,7 @@ index 16443891a0a8..252a984262aa 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,187 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -57153,6 +58660,10 @@ index 16443891a0a8..252a984262aa 100644 > - 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": > >@@ -57235,7 +58746,7 @@ index 16443891a0a8..252a984262aa 100644 > > 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 1acbe66d2d59..809519d72971 100644 >+index d34cc09be9ab..809519d72971 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -57259,7 +58770,7 @@ index 1acbe66d2d59..809519d72971 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -57360,6 +58871,10 @@ index 1acbe66d2d59..809519d72971 100644 > - 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": > >@@ -57442,7 +58957,7 @@ index 1acbe66d2d59..809519d72971 100644 > > 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 2b18aff56d85..50730ce0d2ae 100644 >+index 6be492d21600..50730ce0d2ae 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -57466,7 +58981,7 @@ index 2b18aff56d85..50730ce0d2ae 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -57574,6 +59089,10 @@ index 2b18aff56d85..50730ce0d2ae 100644 > - 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": > >@@ -57656,7 +59175,7 @@ index 2b18aff56d85..50730ce0d2ae 100644 > > 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 c5104757054d..faba241a563f 100644 >+index cc47dffd8409..faba241a563f 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -57680,7 +59199,7 @@ index c5104757054d..faba241a563f 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -57792,6 +59311,10 @@ index c5104757054d..faba241a563f 100644 > - 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": > >@@ -57874,7 +59397,7 @@ index c5104757054d..faba241a563f 100644 > > Library("loss_based_bwe_v2_gn") > diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build >-index b7f3486f5b44..f22d4ec35dad 100644 >+index 342ac79b6a57..f22d4ec35dad 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -57898,7 +59421,7 @@ index b7f3486f5b44..f22d4ec35dad 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -58006,6 +59529,10 @@ index b7f3486f5b44..f22d4ec35dad 100644 > - 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": > >@@ -58088,7 +59615,7 @@ index b7f3486f5b44..f22d4ec35dad 100644 > > Library("probe_controller_gn") > diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build >-index c819080f7c7e..011e410cf1ee 100644 >+index b04648d2b179..011e410cf1ee 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -58112,7 +59639,7 @@ index c819080f7c7e..011e410cf1ee 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -58220,6 +59747,10 @@ index c819080f7c7e..011e410cf1ee 100644 > - 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": > >@@ -58302,7 +59833,7 @@ index c819080f7c7e..011e410cf1ee 100644 > > Library("pushback_controller_gn") > diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build >-index 797d8fe170ac..c8199d07d582 100644 >+index fd539cda7a7c..c8199d07d582 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -58326,7 +59857,7 @@ index 797d8fe170ac..c8199d07d582 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -58438,6 +59969,10 @@ index 797d8fe170ac..c8199d07d582 100644 > - 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": > >@@ -58520,7 +60055,7 @@ index 797d8fe170ac..c8199d07d582 100644 > > Library("send_side_bwe_gn") > diff --git third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build >-index bf977b77c904..66924e80dc84 100644 >+index d749ed805f5f..66924e80dc84 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -58544,7 +60079,7 @@ index bf977b77c904..66924e80dc84 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,187 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -58657,6 +60192,10 @@ index bf977b77c904..66924e80dc84 100644 > - 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": > >@@ -58739,7 +60278,7 @@ index bf977b77c904..66924e80dc84 100644 > > Library("control_handler_gn") > diff --git third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build >-index ac7e0dc89aac..b1b80eca85cc 100644 >+index 28fb2063158d..b1b80eca85cc 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -58763,7 +60302,7 @@ index ac7e0dc89aac..b1b80eca85cc 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -58875,6 +60414,10 @@ index ac7e0dc89aac..b1b80eca85cc 100644 > - 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": > >@@ -59100,7 +60643,7 @@ index 9cbeb68d6f40..0feadf987590 100644 > - > Library("desktop_capture_differ_sse2_gn") > 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 28583632f9e3..8bf8764ac914 100644 >+index 60ff9cd6526d..c14bbe8d54c3 100644 > --- third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build > +++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build > @@ -14,11 +14,20 @@ AllowCompilerWarnings() >@@ -59322,18 +60865,47 @@ index 28583632f9e3..8bf8764ac914 100644 > ] > > UNIFIED_SOURCES += [ >-@@ -272,7 +109,9 @@ if CONFIG["TARGET_CPU"] == "arm": >+@@ -272,36 +109,9 @@ if CONFIG["TARGET_CPU"] == "arm": > "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc", > "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc", > "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc", > - "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc" >+- ] >+- >+-if CONFIG["TARGET_CPU"] == "loongarch64": >+- >+- DEFINES["USE_X11"] = "1" >+- DEFINES["WEBRTC_USE_X11"] = True >+- DEFINES["_GNU_SOURCE"] = True >+- >+- OS_LIBS += [ >+- "X11", >+- "Xcomposite", >+- "Xdamage", >+- "Xext", >+- "Xfixes", >+- "Xrandr", >+- "Xrender" >+- ] >+- >+- UNIFIED_SOURCES += [ >+- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/mouse_cursor_monitor_x11.cc", >+- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/screen_capturer_x11.cc", >+- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/shared_x_display.cc", >+- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_capturer_x11.cc", >+- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_finder_x11.cc", >+- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_list_utils.cc", >+- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_atom_cache.cc", >+- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc", >+- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc", >+- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc" > + "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc", > + "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_linux.cc", > + "/third_party/libwebrtc/modules/desktop_capture/window_capturer_linux.cc" > ] > > if CONFIG["TARGET_CPU"] == "mips32": >-@@ -280,7 +119,6 @@ if CONFIG["TARGET_CPU"] == "mips32": >+@@ -309,7 +119,6 @@ if CONFIG["TARGET_CPU"] == "mips32": > DEFINES["MIPS32_LE"] = True > DEFINES["MIPS_FPU_LE"] = True > DEFINES["WEBRTC_USE_PIPEWIRE"] = True >@@ -59341,7 +60913,7 @@ index 28583632f9e3..8bf8764ac914 100644 > > LOCAL_INCLUDES += [ > "/gfx/angle/checkout/include/", >-@@ -293,7 +131,8 @@ if CONFIG["TARGET_CPU"] == "mips32": >+@@ -322,7 +131,8 @@ if CONFIG["TARGET_CPU"] == "mips32": > ] > > SOURCES += [ >@@ -59351,7 +60923,7 @@ index 28583632f9e3..8bf8764ac914 100644 > ] > > UNIFIED_SOURCES += [ >-@@ -303,13 +142,14 @@ if CONFIG["TARGET_CPU"] == "mips32": >+@@ -332,13 +142,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", >@@ -59368,7 +60940,7 @@ index 28583632f9e3..8bf8764ac914 100644 > > LOCAL_INCLUDES += [ > "/gfx/angle/checkout/include/", >-@@ -322,7 +162,8 @@ if CONFIG["TARGET_CPU"] == "mips64": >+@@ -351,7 +162,8 @@ if CONFIG["TARGET_CPU"] == "mips64": > ] > > SOURCES += [ >@@ -59378,7 +60950,7 @@ index 28583632f9e3..8bf8764ac914 100644 > ] > > UNIFIED_SOURCES += [ >-@@ -332,126 +173,19 @@ if CONFIG["TARGET_CPU"] == "mips64": >+@@ -361,126 +173,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", >@@ -59509,7 +61081,7 @@ index 28583632f9e3..8bf8764ac914 100644 > > LOCAL_INCLUDES += [ > "/gfx/angle/checkout/include/", >-@@ -464,7 +198,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": >+@@ -493,7 +198,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": > ] > > SOURCES += [ >@@ -59519,7 +61091,7 @@ index 28583632f9e3..8bf8764ac914 100644 > ] > > UNIFIED_SOURCES += [ >-@@ -474,13 +209,15 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": >+@@ -503,13 +209,15 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": > "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc", > "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc", > "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc", >@@ -59538,7 +61110,7 @@ index 28583632f9e3..8bf8764ac914 100644 > > LOCAL_INCLUDES += [ > "/gfx/angle/checkout/include/", >-@@ -493,7 +230,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": >+@@ -522,7 +230,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": > ] > > SOURCES += [ >@@ -59548,14 +61120,26 @@ index 28583632f9e3..8bf8764ac914 100644 > ] > > UNIFIED_SOURCES += [ >-@@ -503,38 +241,12 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": >+@@ -532,10 +241,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", > - "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc" >-- ] >-- >++ "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc", >++ "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_linux.cc", >++ "/third_party/libwebrtc/modules/desktop_capture/window_capturer_linux.cc" >+ ] >+ > -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 >+@@ -563,144 +274,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 >@@ -59569,8 +61153,9 @@ index 28583632f9e3..8bf8764ac914 100644 > - "Xrandr", > - "Xrender" > - ] >-- >-- UNIFIED_SOURCES += [ >++if not CONFIG["MOZ_X11"] and CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "loongarch64": >+ >+ UNIFIED_SOURCES += [ > - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/mouse_cursor_monitor_x11.cc", > - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/screen_capturer_x11.cc", > - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/shared_x_display.cc", >@@ -59581,25 +61166,17 @@ index 28583632f9e3..8bf8764ac914 100644 > - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc", > - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc", > - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc" >-+ "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc", >-+ "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_linux.cc", >-+ "/third_party/libwebrtc/modules/desktop_capture/window_capturer_linux.cc" >- ] >- >--if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": >-+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >- >- DEFINES["USE_X11"] = "1" >- DEFINES["WEBRTC_USE_X11"] = True >-@@ -562,116 +274,42 @@ 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" >++ "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_null.cc", >++ "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_null.cc", >++ "/third_party/libwebrtc/modules/desktop_capture/window_capturer_null.cc" > ] > > -if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips32": > - > - DEFINES["USE_X11"] = "1" > - DEFINES["WEBRTC_USE_X11"] = True >-- >++if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "loongarch64": >+ > - OS_LIBS += [ > - "X11", > - "Xcomposite", >@@ -59608,8 +61185,9 @@ index 28583632f9e3..8bf8764ac914 100644 > - "Xfixes", > - "Xrandr", > - "Xrender" >-- ] >-+if not CONFIG["MOZ_X11"] and CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "ppc64": >++ SOURCES += [ >++ "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_linux.cc" >+ ] > > UNIFIED_SOURCES += [ > - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/mouse_cursor_monitor_x11.cc", >@@ -59622,17 +61200,15 @@ index 28583632f9e3..8bf8764ac914 100644 > - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc", > - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc", > - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc" >-+ "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_null.cc", >-+ "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_null.cc", >-+ "/third_party/libwebrtc/modules/desktop_capture/window_capturer_null.cc" >++ "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_linux.cc", >++ "/third_party/libwebrtc/modules/desktop_capture/window_capturer_linux.cc" > ] > > -if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips64": > - > - DEFINES["USE_X11"] = "1" > - DEFINES["WEBRTC_USE_X11"] = True >-+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "ppc64": >- >+- > - OS_LIBS += [ > - "X11", > - "Xcomposite", >@@ -59641,9 +61217,8 @@ index 28583632f9e3..8bf8764ac914 100644 > - "Xfixes", > - "Xrandr", > - "Xrender" >-+ SOURCES += [ >-+ "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_linux.cc" >- ] >+- ] >++if not CONFIG["MOZ_X11"] and CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "ppc64": > > UNIFIED_SOURCES += [ > - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/mouse_cursor_monitor_x11.cc", >@@ -59656,12 +61231,14 @@ index 28583632f9e3..8bf8764ac914 100644 > - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc", > - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc", > - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc" >-+ "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_linux.cc", >-+ "/third_party/libwebrtc/modules/desktop_capture/window_capturer_linux.cc" >++ "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_null.cc", >++ "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_null.cc", >++ "/third_party/libwebrtc/modules/desktop_capture/window_capturer_null.cc" > ] > > -if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": >-- >++if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "ppc64": >+ > - DEFINES["USE_X11"] = "1" > - DEFINES["WEBRTC_USE_X11"] = True > - >@@ -59673,8 +61250,9 @@ index 28583632f9e3..8bf8764ac914 100644 > - "Xfixes", > - "Xrandr", > - "Xrender" >-- ] >-+if not CONFIG["MOZ_X11"] and CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "riscv64": >++ SOURCES += [ >++ "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_linux.cc" >+ ] > > UNIFIED_SOURCES += [ > - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/mouse_cursor_monitor_x11.cc", >@@ -59687,17 +61265,21 @@ index 28583632f9e3..8bf8764ac914 100644 > - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc", > - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc", > - "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc" >-+ "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_null.cc", >-+ "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_null.cc", >-+ "/third_party/libwebrtc/modules/desktop_capture/window_capturer_null.cc" >++ "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_linux.cc", >++ "/third_party/libwebrtc/modules/desktop_capture/window_capturer_linux.cc" > ] > > -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" and CONFIG["TARGET_CPU"] == "riscv64": >++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", >++ "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_null.cc", >++ "/third_party/libwebrtc/modules/desktop_capture/window_capturer_null.cc" >++ ] >+ > - OS_LIBS += [ > - "X11", > - "Xcomposite", >@@ -59706,6 +61288,8 @@ index 28583632f9e3..8bf8764ac914 100644 > - "Xfixes", > - "Xrandr", > - "Xrender" >++if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "riscv64": >++ > + SOURCES += [ > + "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_linux.cc" > ] >@@ -59812,7 +61396,7 @@ index a8051a1743d1..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 a756a75542b0..4b4aca6ade46 100644 >+index 6795abb4c898..4b4aca6ade46 100644 > --- third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build > +++ third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -59836,7 +61420,7 @@ index a756a75542b0..4b4aca6ade46 100644 > > FINAL_LIBRARY = "xul" > >-@@ -49,166 +58,31 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -49,171 +58,31 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -59921,6 +61505,11 @@ index a756a75542b0..4b4aca6ade46 100644 > - DEFINES["WEBRTC_ARCH_ARM_V7"] = True > - DEFINES["WEBRTC_HAS_NEON"] = True > - DEFINES["_GNU_SOURCE"] = True >+- >+-if CONFIG["TARGET_CPU"] == "loongarch64": >+- >+- DEFINES["USE_X11"] = "1" >+- DEFINES["_GNU_SOURCE"] = True > - > if CONFIG["TARGET_CPU"] == "mips32": > >@@ -60009,7 +61598,7 @@ index a756a75542b0..4b4aca6ade46 100644 > DEFINES["USE_X11"] = "1" > > diff --git third_party/libwebrtc/modules/module_api_gn/moz.build third_party/libwebrtc/modules/module_api_gn/moz.build >-index 93138efc2a2c..ab93d8e54775 100644 >+index 60c0ed877863..ab93d8e54775 100644 > --- third_party/libwebrtc/modules/module_api_gn/moz.build > +++ third_party/libwebrtc/modules/module_api_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -60033,7 +61622,7 @@ index 93138efc2a2c..ab93d8e54775 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -60126,6 +61715,10 @@ index 93138efc2a2c..ab93d8e54775 100644 > - 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": > >@@ -60139,7 +61732,7 @@ index 93138efc2a2c..ab93d8e54775 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -60192,7 +61785,7 @@ index 93138efc2a2c..ab93d8e54775 100644 > - > 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 a223bb79ac0a..b0af3d0bc389 100644 >+index 2c28b0b1c0ff..b0af3d0bc389 100644 > --- third_party/libwebrtc/modules/module_api_public_gn/moz.build > +++ third_party/libwebrtc/modules/module_api_public_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -60216,7 +61809,7 @@ index a223bb79ac0a..b0af3d0bc389 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -60309,6 +61902,10 @@ index a223bb79ac0a..b0af3d0bc389 100644 > - 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": > >@@ -60322,7 +61919,7 @@ index a223bb79ac0a..b0af3d0bc389 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -60375,7 +61972,7 @@ index a223bb79ac0a..b0af3d0bc389 100644 > - > 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 8587ac914e7c..f8b949dcfe2c 100644 >+index a1eca74eaad1..f8b949dcfe2c 100644 > --- third_party/libwebrtc/modules/module_fec_api_gn/moz.build > +++ third_party/libwebrtc/modules/module_fec_api_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -60399,7 +61996,7 @@ index 8587ac914e7c..f8b949dcfe2c 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -60492,6 +62089,10 @@ index 8587ac914e7c..f8b949dcfe2c 100644 > - 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": > >@@ -60505,7 +62106,7 @@ index 8587ac914e7c..f8b949dcfe2c 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -60558,7 +62159,7 @@ index 8587ac914e7c..f8b949dcfe2c 100644 > - > Library("module_fec_api_gn") > diff --git third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build >-index 98d3648d09de..c22978c6f96c 100644 >+index 0300737e26a4..c22978c6f96c 100644 > --- third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build > +++ third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -60582,7 +62183,7 @@ index 98d3648d09de..c22978c6f96c 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -60683,6 +62284,10 @@ index 98d3648d09de..c22978c6f96c 100644 > - 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": > >@@ -60765,7 +62370,7 @@ index 98d3648d09de..c22978c6f96c 100644 > > Library("interval_budget_gn") > diff --git third_party/libwebrtc/modules/pacing/pacing_gn/moz.build third_party/libwebrtc/modules/pacing/pacing_gn/moz.build >-index cbacd73d3f89..70e970c7d0ce 100644 >+index 484e8af1dfc6..70e970c7d0ce 100644 > --- third_party/libwebrtc/modules/pacing/pacing_gn/moz.build > +++ third_party/libwebrtc/modules/pacing/pacing_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -60789,7 +62394,7 @@ index cbacd73d3f89..70e970c7d0ce 100644 > > FINAL_LIBRARY = "xul" > >-@@ -50,187 +59,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -50,191 +59,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -60902,6 +62507,10 @@ index cbacd73d3f89..70e970c7d0ce 100644 > - 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": > >@@ -61037,7 +62646,7 @@ index 350aa34cf13c..33c52d953465 100644 > 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 41954c702313..701fdd16c845 100644 >+index 01de5cae11d8..701fdd16c845 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -61061,7 +62670,7 @@ index 41954c702313..701fdd16c845 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -61173,6 +62782,10 @@ index 41954c702313..701fdd16c845 100644 > - 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": > >@@ -61255,7 +62868,7 @@ index 41954c702313..701fdd16c845 100644 > > Library("congestion_control_feedback_generator_gn") > diff --git third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build >-index c520803e2fac..b11ca0609ad3 100644 >+index 4047187d2640..b11ca0609ad3 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -61279,7 +62892,7 @@ index c520803e2fac..b11ca0609ad3 100644 > > FINAL_LIBRARY = "xul" > >-@@ -52,186 +61,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -52,190 +61,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -61391,6 +63004,10 @@ index c520803e2fac..b11ca0609ad3 100644 > - 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": > >@@ -61473,7 +63090,7 @@ index c520803e2fac..b11ca0609ad3 100644 > > Library("remote_bitrate_estimator_gn") > diff --git third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build >-index faa3e1197f02..f8ce7a164c83 100644 >+index 81ce4981cd66..f8ce7a164c83 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -61497,7 +63114,7 @@ index faa3e1197f02..f8ce7a164c83 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,123 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -61605,6 +63222,10 @@ index faa3e1197f02..f8ce7a164c83 100644 > - 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": > >@@ -61618,7 +63239,7 @@ index faa3e1197f02..f8ce7a164c83 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -165,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -61671,7 +63292,7 @@ index faa3e1197f02..f8ce7a164c83 100644 > - > Library("rtp_transport_feedback_generator_gn") > diff --git third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build >-index f6beca0fa664..b6549d94ffe7 100644 >+index aeea39d87702..b6549d94ffe7 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -61695,7 +63316,7 @@ index f6beca0fa664..b6549d94ffe7 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -61807,6 +63428,10 @@ index f6beca0fa664..b6549d94ffe7 100644 > - 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": > >@@ -61889,7 +63514,7 @@ index f6beca0fa664..b6549d94ffe7 100644 > > Library("transport_sequence_number_feedback_generator_gn") > diff --git third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build >-index 767d52dd28c4..f5a2c0675194 100644 >+index 2af40d70ebee..f5a2c0675194 100644 > --- third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build > +++ third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -61913,7 +63538,7 @@ index 767d52dd28c4..f5a2c0675194 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,171 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -62010,6 +63635,10 @@ index 767d52dd28c4..f5a2c0675194 100644 > - 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": > >@@ -62092,7 +63721,7 @@ index 767d52dd28c4..f5a2c0675194 100644 > > Library("leb128_gn") > diff --git third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build >-index f45d6b25a010..b6e083c4dd5f 100644 >+index 7fd7cad470d6..b6e083c4dd5f 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -62116,7 +63745,7 @@ index f45d6b25a010..b6e083c4dd5f 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -62228,6 +63857,10 @@ index f45d6b25a010..b6e083c4dd5f 100644 > - 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": > >@@ -62310,7 +63943,7 @@ index f45d6b25a010..b6e083c4dd5f 100644 > > Library("ntp_time_util_gn") > diff --git third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build >-index 2b4a66be3381..04b0635746d7 100644 >+index 55763bfa6b82..04b0635746d7 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -62334,7 +63967,7 @@ index 2b4a66be3381..04b0635746d7 100644 > > FINAL_LIBRARY = "xul" > >-@@ -87,186 +96,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -87,190 +96,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -62446,6 +64079,10 @@ index 2b4a66be3381..04b0635746d7 100644 > - 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": > >@@ -62528,7 +64165,7 @@ index 2b4a66be3381..04b0635746d7 100644 > > Library("rtp_rtcp_format_gn") > diff --git third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build >-index 0247d1e1cb5c..829a5495c9a4 100644 >+index b0c5446ca7be..829a5495c9a4 100644 > --- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build > +++ third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -62552,7 +64189,7 @@ index 0247d1e1cb5c..829a5495c9a4 100644 > > FINAL_LIBRARY = "xul" > >-@@ -97,187 +106,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -97,191 +106,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -62665,6 +64302,10 @@ index 0247d1e1cb5c..829a5495c9a4 100644 > - 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": > >@@ -62747,7 +64388,7 @@ index 0247d1e1cb5c..829a5495c9a4 100644 > > Library("rtp_rtcp_gn") > diff --git third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build >-index 7c7e31600f31..6dc16af33610 100644 >+index ac0783597427..6dc16af33610 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -62771,7 +64412,7 @@ index 7c7e31600f31..6dc16af33610 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -62879,6 +64520,10 @@ index 7c7e31600f31..6dc16af33610 100644 > - 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": > >@@ -62961,7 +64606,7 @@ index 7c7e31600f31..6dc16af33610 100644 > > 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 3d224d494818..7e457e9c7fff 100644 >+index 0d6fa06ae4ab..7e457e9c7fff 100644 > --- third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build > +++ third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -62985,7 +64630,7 @@ index 3d224d494818..7e457e9c7fff 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,171 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -63082,6 +64727,10 @@ index 3d224d494818..7e457e9c7fff 100644 > - 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": > >@@ -63164,7 +64813,7 @@ index 3d224d494818..7e457e9c7fff 100644 > > 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 7abf56af7261..0148ce7f583f 100644 >+index 212ac260ac44..0148ce7f583f 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -63188,7 +64837,7 @@ index 7abf56af7261..0148ce7f583f 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,171 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -63285,6 +64934,10 @@ index 7abf56af7261..0148ce7f583f 100644 > - 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": > >@@ -63367,7 +65020,7 @@ index 7abf56af7261..0148ce7f583f 100644 > > 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 0a7c16047ee6..7d993f90b813 100644 >+index 4058bb9c623b..7d993f90b813 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -63391,7 +65044,7 @@ index 0a7c16047ee6..7d993f90b813 100644 > > FINAL_LIBRARY = "xul" > >-@@ -47,171 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -47,175 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -63488,6 +65141,10 @@ index 0a7c16047ee6..7d993f90b813 100644 > - 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": > >@@ -63570,7 +65227,7 @@ index 0a7c16047ee6..7d993f90b813 100644 > > Library("g722_3p_gn") > diff --git third_party/libwebrtc/modules/utility/utility_gn/moz.build third_party/libwebrtc/modules/utility/utility_gn/moz.build >-index 4f5c739ff70b..0bdce0baa056 100644 >+index ff98afc45031..0bdce0baa056 100644 > --- third_party/libwebrtc/modules/utility/utility_gn/moz.build > +++ third_party/libwebrtc/modules/utility/utility_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -63594,7 +65251,7 @@ index 4f5c739ff70b..0bdce0baa056 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,116 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -63695,6 +65352,10 @@ index 4f5c739ff70b..0bdce0baa056 100644 > - 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": > >@@ -63708,7 +65369,7 @@ index 4f5c739ff70b..0bdce0baa056 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -154,60 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -158,60 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -63771,7 +65432,7 @@ index 4f5c739ff70b..0bdce0baa056 100644 > - > Library("utility_gn") > diff --git third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build >-index 6a98f1cce521..2be170137cf5 100644 >+index 2e93aea47676..2be170137cf5 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 > @@ -14,11 +14,20 @@ AllowCompilerWarnings() >@@ -63806,7 +65467,7 @@ index 6a98f1cce521..2be170137cf5 100644 > "/third_party/libwebrtc/modules/video_capture/video_capture_options.cc" > ] > >-@@ -45,149 +58,13 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -45,153 +58,13 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -63948,6 +65609,10 @@ index 6a98f1cce521..2be170137cf5 100644 > - 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 >@@ -63957,7 +65622,7 @@ index 6a98f1cce521..2be170137cf5 100644 > > LOCAL_INCLUDES += [ > "/gfx/angle/checkout/include/", >-@@ -206,76 +83,11 @@ if CONFIG["TARGET_CPU"] == "mips32": >+@@ -210,76 +83,11 @@ if CONFIG["TARGET_CPU"] == "mips32": > "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc" > ] > >@@ -64037,7 +65702,7 @@ index 6a98f1cce521..2be170137cf5 100644 > > LOCAL_INCLUDES += [ > "/gfx/angle/checkout/include/", >-@@ -294,10 +106,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": >+@@ -298,10 +106,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": > "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc" > ] > >@@ -64049,7 +65714,7 @@ index 6a98f1cce521..2be170137cf5 100644 > > LOCAL_INCLUDES += [ > "/gfx/angle/checkout/include/", >-@@ -316,14 +127,14 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": >+@@ -320,14 +127,14 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": > "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc" > ] > >@@ -64066,7 +65731,7 @@ index 6a98f1cce521..2be170137cf5 100644 > > LOCAL_INCLUDES += [ > "/gfx/angle/checkout/include/", >-@@ -342,10 +153,10 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": >+@@ -346,10 +153,10 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": > "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc" > ] > >@@ -64079,7 +65744,7 @@ index 6a98f1cce521..2be170137cf5 100644 > > LOCAL_INCLUDES += [ > "/gfx/angle/checkout/include/", >-@@ -364,4 +175,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": >+@@ -368,4 +175,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": > "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc" > ] > >@@ -64089,7 +65754,7 @@ index 6a98f1cce521..2be170137cf5 100644 > + > 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 88bf038c192c..7df621b28fa4 100644 >+index 8eb64eb08f2b..7df621b28fa4 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -64113,7 +65778,7 @@ index 88bf038c192c..7df621b28fa4 100644 > > FINAL_LIBRARY = "xul" > >-@@ -47,186 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -47,190 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -64225,6 +65890,10 @@ index 88bf038c192c..7df621b28fa4 100644 > - 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": > >@@ -64307,7 +65976,7 @@ index 88bf038c192c..7df621b28fa4 100644 > > Library("video_capture_module_gn") > diff --git third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build >-index 4124cdd66406..f620f14e0914 100644 >+index 5937538364f0..f620f14e0914 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -64331,7 +66000,7 @@ index 4124cdd66406..f620f14e0914 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -64439,6 +66108,10 @@ index 4124cdd66406..f620f14e0914 100644 > - 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": > >@@ -64521,7 +66194,7 @@ index 4124cdd66406..f620f14e0914 100644 > > 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 5e3c7dc8bbdf..5b2293a8c2a6 100644 >+index 0e376beeb43f..5b2293a8c2a6 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -64545,7 +66218,7 @@ index 5e3c7dc8bbdf..5b2293a8c2a6 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -64642,6 +66315,10 @@ index 5e3c7dc8bbdf..5b2293a8c2a6 100644 > - 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": > >@@ -64655,7 +66332,7 @@ index 5e3c7dc8bbdf..5b2293a8c2a6 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -64708,7 +66385,7 @@ index 5e3c7dc8bbdf..5b2293a8c2a6 100644 > - > Library("codec_globals_headers_gn") > diff --git third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build >-index d5c1e9e6e5ec..bd504c7f3aab 100644 >+index fada35453906..bd504c7f3aab 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -64732,7 +66409,7 @@ index d5c1e9e6e5ec..bd504c7f3aab 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -64840,6 +66517,10 @@ index d5c1e9e6e5ec..bd504c7f3aab 100644 > - 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": > >@@ -64922,7 +66603,7 @@ index d5c1e9e6e5ec..bd504c7f3aab 100644 > > Library("av1_svc_config_gn") > diff --git third_party/libwebrtc/modules/video_coding/codecs/av1/dav1d_decoder_gn/moz.build third_party/libwebrtc/modules/video_coding/codecs/av1/dav1d_decoder_gn/moz.build >-index 33cb2757d7c1..a188413dc48b 100644 >+index 24fa539a5cab..a188413dc48b 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 > @@ -15,11 +15,20 @@ AllowCompilerWarnings() >@@ -64946,7 +66627,7 @@ index 33cb2757d7c1..a188413dc48b 100644 > > FINAL_LIBRARY = "xul" > >-@@ -50,182 +59,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -50,186 +59,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -65054,6 +66735,10 @@ index 33cb2757d7c1..a188413dc48b 100644 > - 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": > >@@ -65136,7 +66821,7 @@ index 33cb2757d7c1..a188413dc48b 100644 > > Library("dav1d_decoder_gn") > diff --git third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build >-index d032911a1297..eff195ec2131 100644 >+index 24ceefe34957..eff195ec2131 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 > @@ -15,11 +15,20 @@ AllowCompilerWarnings() >@@ -65160,7 +66845,7 @@ index d032911a1297..eff195ec2131 100644 > > FINAL_LIBRARY = "xul" > >-@@ -46,186 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -46,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -65272,6 +66957,10 @@ index d032911a1297..eff195ec2131 100644 > - 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": > >@@ -65354,7 +67043,7 @@ index d032911a1297..eff195ec2131 100644 > > Library("aom_av1_encoder_gn") > diff --git third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build >-index 90ab84ba67f6..6782dfdfe553 100644 >+index e58cb936c199..6782dfdfe553 100644 > --- third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build > +++ third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -65378,7 +67067,7 @@ index 90ab84ba67f6..6782dfdfe553 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -65490,6 +67179,10 @@ index 90ab84ba67f6..6782dfdfe553 100644 > - 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": > >@@ -65572,7 +67265,7 @@ index 90ab84ba67f6..6782dfdfe553 100644 > > Library("encoded_frame_gn") > diff --git third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build >-index 960bbd8eccbe..e5bb732bbb88 100644 >+index 0f2412610dbf..e5bb732bbb88 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -65596,7 +67289,7 @@ index 960bbd8eccbe..e5bb732bbb88 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -65704,6 +67397,10 @@ index 960bbd8eccbe..e5bb732bbb88 100644 > - 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": > >@@ -65786,7 +67483,7 @@ index 960bbd8eccbe..e5bb732bbb88 100644 > > Library("frame_dependencies_calculator_gn") > diff --git third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build >-index cdf7693e4158..61c30cb5584e 100644 >+index 60b5c7b7ece6..61c30cb5584e 100644 > --- third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build > +++ third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -65810,7 +67507,7 @@ index cdf7693e4158..61c30cb5584e 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -65918,6 +67615,10 @@ index cdf7693e4158..61c30cb5584e 100644 > - 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": > >@@ -66000,7 +67701,7 @@ index cdf7693e4158..61c30cb5584e 100644 > > Library("frame_helpers_gn") > diff --git third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build >-index 44719f627d4c..533519d32835 100644 >+index ade14f4e1b82..533519d32835 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -66024,7 +67725,7 @@ index 44719f627d4c..533519d32835 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -66132,6 +67833,10 @@ index 44719f627d4c..533519d32835 100644 > - 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": > >@@ -66214,7 +67919,7 @@ index 44719f627d4c..533519d32835 100644 > > Library("h264_sprop_parameter_sets_gn") > diff --git third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build >-index 6cd7418dd224..4c0a79157158 100644 >+index 011e05c41a35..4c0a79157158 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -66238,7 +67943,7 @@ index 6cd7418dd224..4c0a79157158 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -66350,6 +68055,10 @@ index 6cd7418dd224..4c0a79157158 100644 > - 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": > >@@ -66432,7 +68141,7 @@ index 6cd7418dd224..4c0a79157158 100644 > > Library("h26x_packet_buffer_gn") > diff --git third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build >-index 4c0798633aa5..876704e1108a 100644 >+index bdb63a278c1a..876704e1108a 100644 > --- third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build > +++ third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -66456,7 +68165,7 @@ index 4c0798633aa5..876704e1108a 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -66568,6 +68277,10 @@ index 4c0798633aa5..876704e1108a 100644 > - 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": > >@@ -66650,7 +68363,7 @@ index 4c0798633aa5..876704e1108a 100644 > > Library("nack_requester_gn") > diff --git third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build >-index 60d91b6f44c8..10def6584884 100644 >+index cceabc3a79be..10def6584884 100644 > --- third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build > +++ third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -66674,7 +68387,7 @@ index 60d91b6f44c8..10def6584884 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -66786,6 +68499,10 @@ index 60d91b6f44c8..10def6584884 100644 > - 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": > >@@ -66868,7 +68585,7 @@ index 60d91b6f44c8..10def6584884 100644 > > Library("packet_buffer_gn") > diff --git third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build >-index b32c7b5939ef..899b8b26696b 100644 >+index bc20befd0715..899b8b26696b 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -66892,7 +68609,7 @@ index b32c7b5939ef..899b8b26696b 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -67000,6 +68717,10 @@ index b32c7b5939ef..899b8b26696b 100644 > - 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": > >@@ -67082,7 +68803,7 @@ index b32c7b5939ef..899b8b26696b 100644 > > Library("scalability_mode_util_gn") > diff --git third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build >-index d12b6a88a844..d6ba49e4f848 100644 >+index a16034b3b02e..d6ba49e4f848 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -67106,7 +68827,7 @@ index d12b6a88a844..d6ba49e4f848 100644 > > FINAL_LIBRARY = "xul" > >-@@ -50,182 +59,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -50,186 +59,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -67214,6 +68935,10 @@ index d12b6a88a844..d6ba49e4f848 100644 > - 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": > >@@ -67296,7 +69021,7 @@ index d12b6a88a844..d6ba49e4f848 100644 > > Library("scalability_structures_gn") > diff --git third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build >-index aa7ebf0ac816..be3d0562194c 100644 >+index 1217d027bd0c..be3d0562194c 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -67320,7 +69045,7 @@ index aa7ebf0ac816..be3d0562194c 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -67421,6 +69146,10 @@ index aa7ebf0ac816..be3d0562194c 100644 > - 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": > >@@ -67503,7 +69232,7 @@ index aa7ebf0ac816..be3d0562194c 100644 > > Library("scalable_video_controller_gn") > diff --git third_party/libwebrtc/modules/video_coding/svc/simulcast_to_svc_converter_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/simulcast_to_svc_converter_gn/moz.build >-index e8f35a815256..c542cfb06869 100644 >+index 1c9b143c6d78..c542cfb06869 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -67527,7 +69256,7 @@ index e8f35a815256..c542cfb06869 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,187 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -67640,6 +69369,10 @@ index e8f35a815256..c542cfb06869 100644 > - 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": > >@@ -67722,7 +69455,7 @@ index e8f35a815256..c542cfb06869 100644 > > Library("simulcast_to_svc_converter_gn") > diff --git third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build >-index 5c6a272ba9f6..0c39b0372a4c 100644 >+index 1f4d5e0258d8..0c39b0372a4c 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -67746,7 +69479,7 @@ index 5c6a272ba9f6..0c39b0372a4c 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -67854,6 +69587,10 @@ index 5c6a272ba9f6..0c39b0372a4c 100644 > - 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": > >@@ -67936,7 +69673,7 @@ index 5c6a272ba9f6..0c39b0372a4c 100644 > > Library("svc_rate_allocator_gn") > diff --git third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build >-index 90e567b60121..46a3f3c27eb7 100644 >+index a1f79bc336d3..46a3f3c27eb7 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -67960,7 +69697,7 @@ index 90e567b60121..46a3f3c27eb7 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -68061,6 +69798,10 @@ index 90e567b60121..46a3f3c27eb7 100644 > - 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": > >@@ -68143,7 +69884,7 @@ index 90e567b60121..46a3f3c27eb7 100644 > > Library("decode_time_percentile_filter_gn") > diff --git third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build >-index 7da8745ea0a5..cede417ed2c0 100644 >+index 236158a0edad..cede417ed2c0 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -68167,7 +69908,7 @@ index 7da8745ea0a5..cede417ed2c0 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -68268,6 +70009,10 @@ index 7da8745ea0a5..cede417ed2c0 100644 > - 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": > >@@ -68350,7 +70095,7 @@ index 7da8745ea0a5..cede417ed2c0 100644 > > Library("frame_delay_variation_kalman_filter_gn") > diff --git third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build >-index 5f704b7d4b29..e680f19b417f 100644 >+index 46b966db475b..e680f19b417f 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -68374,7 +70119,7 @@ index 5f704b7d4b29..e680f19b417f 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -68475,6 +70220,10 @@ index 5f704b7d4b29..e680f19b417f 100644 > - 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": > >@@ -68557,7 +70306,7 @@ index 5f704b7d4b29..e680f19b417f 100644 > > Library("inter_frame_delay_variation_calculator_gn") > diff --git third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build >-index 8c3628e33128..3956e5fb7141 100644 >+index e5ab643a0837..3956e5fb7141 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -68581,7 +70330,7 @@ index 8c3628e33128..3956e5fb7141 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -68693,6 +70442,10 @@ index 8c3628e33128..3956e5fb7141 100644 > - 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": > >@@ -68775,7 +70528,7 @@ index 8c3628e33128..3956e5fb7141 100644 > > Library("jitter_estimator_gn") > diff --git third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build >-index 7c21826e42bc..e8117da97d09 100644 >+index 018a8b4baf38..e8117da97d09 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -68799,7 +70552,7 @@ index 7c21826e42bc..e8117da97d09 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -68900,6 +70653,10 @@ index 7c21826e42bc..e8117da97d09 100644 > - 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": > >@@ -68982,7 +70739,7 @@ index 7c21826e42bc..e8117da97d09 100644 > > Library("rtt_filter_gn") > diff --git third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build >-index 9a3d8625720f..62189b4f8b6f 100644 >+index 6b0a5bd11fe1..62189b4f8b6f 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -69006,7 +70763,7 @@ index 9a3d8625720f..62189b4f8b6f 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -69107,6 +70864,10 @@ index 9a3d8625720f..62189b4f8b6f 100644 > - 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": > >@@ -69189,7 +70950,7 @@ index 9a3d8625720f..62189b4f8b6f 100644 > > Library("timestamp_extrapolator_gn") > diff --git third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build >-index 6a279634bcfc..73a1afbc3010 100644 >+index 2c399005d50a..73a1afbc3010 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -69213,7 +70974,7 @@ index 6a279634bcfc..73a1afbc3010 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -69325,6 +71086,10 @@ index 6a279634bcfc..73a1afbc3010 100644 > - 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": > >@@ -69407,7 +71172,7 @@ index 6a279634bcfc..73a1afbc3010 100644 > > Library("timing_module_gn") > diff --git third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build >-index 7a9e8969bfa4..43a9bb659cbc 100644 >+index 5f424f15c3eb..43a9bb659cbc 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -69431,7 +71196,7 @@ index 7a9e8969bfa4..43a9bb659cbc 100644 > > FINAL_LIBRARY = "xul" > >-@@ -45,182 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -69539,6 +71304,10 @@ index 7a9e8969bfa4..43a9bb659cbc 100644 > - 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": > >@@ -69621,7 +71390,7 @@ index 7a9e8969bfa4..43a9bb659cbc 100644 > > Library("video_codec_interface_gn") > diff --git third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build >-index 26e4ea6b91c7..04bb63314cc3 100644 >+index f12701855e1a..04bb63314cc3 100644 > --- third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build > +++ third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -69645,7 +71414,7 @@ index 26e4ea6b91c7..04bb63314cc3 100644 > > FINAL_LIBRARY = "xul" > >-@@ -56,187 +65,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -56,191 +65,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -69758,6 +71527,10 @@ index 26e4ea6b91c7..04bb63314cc3 100644 > - 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": > >@@ -69840,7 +71613,7 @@ index 26e4ea6b91c7..04bb63314cc3 100644 > > Library("video_coding_gn") > diff --git third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build >-index f40fcc2fb12a..8e7579511c2f 100644 >+index 51f84c774238..c7cad0188c20 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -69864,7 +71637,7 @@ index f40fcc2fb12a..8e7579511c2f 100644 > > FINAL_LIBRARY = "xul" > >-@@ -54,187 +63,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -55,191 +64,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -69977,6 +71750,10 @@ index f40fcc2fb12a..8e7579511c2f 100644 > - 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": > >@@ -70059,7 +71836,7 @@ index f40fcc2fb12a..8e7579511c2f 100644 > > Library("video_coding_utility_gn") > diff --git third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build >-index a30c741be25d..2c584fade5d5 100644 >+index c67f86066d95..2c584fade5d5 100644 > --- third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build > +++ third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -70083,7 +71860,7 @@ index a30c741be25d..2c584fade5d5 100644 > > FINAL_LIBRARY = "xul" > >-@@ -48,187 +57,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -48,191 +57,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -70196,6 +71973,10 @@ index a30c741be25d..2c584fade5d5 100644 > - 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": > >@@ -70278,7 +72059,7 @@ index a30c741be25d..2c584fade5d5 100644 > > Library("webrtc_h264_gn") > diff --git third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build >-index c3b935fb8f8e..aa55521fb1a8 100644 >+index 9272a224c583..aa55521fb1a8 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 > @@ -15,11 +15,20 @@ AllowCompilerWarnings() >@@ -70302,7 +72083,7 @@ index c3b935fb8f8e..aa55521fb1a8 100644 > > FINAL_LIBRARY = "xul" > >-@@ -46,175 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -46,179 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -70403,6 +72184,10 @@ index c3b935fb8f8e..aa55521fb1a8 100644 > - 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": > >@@ -70485,7 +72270,7 @@ index c3b935fb8f8e..aa55521fb1a8 100644 > > Library("webrtc_libvpx_interface_gn") > diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build >-index e0e0119f88d2..91d251da69da 100644 >+index aea179a464fa..91d251da69da 100644 > --- third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build > +++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build > @@ -15,11 +15,20 @@ AllowCompilerWarnings() >@@ -70509,7 +72294,7 @@ index e0e0119f88d2..91d251da69da 100644 > > FINAL_LIBRARY = "xul" > >-@@ -49,187 +58,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -49,191 +58,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -70622,6 +72407,10 @@ index e0e0119f88d2..91d251da69da 100644 > - 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": > >@@ -70704,7 +72493,7 @@ index e0e0119f88d2..91d251da69da 100644 > > Library("webrtc_vp8_gn") > diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build >-index bfdff3aa7528..f599b8e6fe2c 100644 >+index 1e543688ce0a..f599b8e6fe2c 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -70728,7 +72517,7 @@ index bfdff3aa7528..f599b8e6fe2c 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -70829,6 +72618,10 @@ index bfdff3aa7528..f599b8e6fe2c 100644 > - 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": > >@@ -70911,7 +72704,7 @@ index bfdff3aa7528..f599b8e6fe2c 100644 > > Library("webrtc_vp8_scalability_gn") > diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build >-index 7d0f00180c9a..7bcdfba72a3d 100644 >+index 76d68e59a807..7bcdfba72a3d 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -70935,7 +72728,7 @@ index 7d0f00180c9a..7bcdfba72a3d 100644 > > FINAL_LIBRARY = "xul" > >-@@ -48,187 +57,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -48,191 +57,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -71048,6 +72841,10 @@ index 7d0f00180c9a..7bcdfba72a3d 100644 > - 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": > >@@ -71130,7 +72927,7 @@ index 7d0f00180c9a..7bcdfba72a3d 100644 > > Library("webrtc_vp8_temporal_layers_gn") > diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build >-index 5aa28b260d8b..69fea357b30b 100644 >+index d807360bfdb9..69fea357b30b 100644 > --- third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build > +++ third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build > @@ -15,11 +15,20 @@ AllowCompilerWarnings() >@@ -71154,7 +72951,7 @@ index 5aa28b260d8b..69fea357b30b 100644 > > FINAL_LIBRARY = "xul" > >-@@ -51,187 +60,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -51,191 +60,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -71267,6 +73064,10 @@ index 5aa28b260d8b..69fea357b30b 100644 > - 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": > >@@ -71349,7 +73150,7 @@ index 5aa28b260d8b..69fea357b30b 100644 > > Library("webrtc_vp9_gn") > diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build >-index 2d6aa42a4f78..42f79acec164 100644 >+index a734c18d2ccf..42f79acec164 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -71373,7 +73174,7 @@ index 2d6aa42a4f78..42f79acec164 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -71481,6 +73282,10 @@ index 2d6aa42a4f78..42f79acec164 100644 > - 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": > >@@ -71563,10 +73368,10 @@ index 2d6aa42a4f78..42f79acec164 100644 > > Library("webrtc_vp9_helpers_gn") > diff --git third_party/libwebrtc/moz.build third_party/libwebrtc/moz.build >-index 27c58fba4339..1dd82a893d39 100644 >+index 933b80f70d75..b92ee1039bce 100644 > --- third_party/libwebrtc/moz.build > +++ third_party/libwebrtc/moz.build >-@@ -289,6 +289,8 @@ DIRS += [ >+@@ -291,6 +291,8 @@ DIRS += [ > "/third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn", > "/third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn", > "/third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn", >@@ -71575,7 +73380,7 @@ index 27c58fba4339..1dd82a893d39 100644 > "/third_party/libwebrtc/modules/module_api_gn", > "/third_party/libwebrtc/modules/module_api_public_gn", > "/third_party/libwebrtc/modules/module_fec_api_gn", >-@@ -515,102 +517,11 @@ DIRS += [ >+@@ -517,102 +519,11 @@ DIRS += [ > "/third_party/libwebrtc/webrtc_gn" > ] > >@@ -71679,7 +73484,7 @@ index 27c58fba4339..1dd82a893d39 100644 > "/third_party/libwebrtc/modules/portal/portal_gn", > "/third_party/libwebrtc/third_party/drm/drm_gn", > "/third_party/libwebrtc/third_party/gbm/gbm_gn", >-@@ -618,26 +529,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": >+@@ -620,26 +531,19 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": > "/third_party/libwebrtc/third_party/pipewire/pipewire_gn" > ] > >@@ -71690,28 +73495,16 @@ index 27c58fba4339..1dd82a893d39 100644 > - "/third_party/libwebrtc/common_audio/common_audio_neon_c_gn", > - "/third_party/libwebrtc/common_audio/common_audio_neon_gn", > - "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", >-- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn", >-- "/third_party/libwebrtc/modules/portal/portal_gn", >-- "/third_party/libwebrtc/rtc_base/system/asm_defines_gn", >-- "/third_party/libwebrtc/third_party/drm/drm_gn", >-- "/third_party/libwebrtc/third_party/gbm/gbm_gn", >-- "/third_party/libwebrtc/third_party/libepoxy/libepoxy_gn", >-- "/third_party/libwebrtc/third_party/pipewire/pipewire_gn" >-- ] >-- >--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips32": >-- >-- DIRS += [ >-- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", > - "/third_party/libwebrtc/modules/desktop_capture/primitives_gn", > "/third_party/libwebrtc/modules/portal/portal_gn", >+- "/third_party/libwebrtc/rtc_base/system/asm_defines_gn", > "/third_party/libwebrtc/third_party/drm/drm_gn", > "/third_party/libwebrtc/third_party/gbm/gbm_gn", >-@@ -645,11 +539,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips32": >+ "/third_party/libwebrtc/third_party/libepoxy/libepoxy_gn", > "/third_party/libwebrtc/third_party/pipewire/pipewire_gn" > ] > >--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips64": >+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips32": > +if CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "mips64": > > DIRS += [ >@@ -71720,16 +73513,28 @@ index 27c58fba4339..1dd82a893d39 100644 > "/third_party/libwebrtc/modules/portal/portal_gn", > "/third_party/libwebrtc/third_party/drm/drm_gn", > "/third_party/libwebrtc/third_party/gbm/gbm_gn", >-@@ -657,7 +549,7 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips64": >+@@ -647,19 +551,7 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips32": > "/third_party/libwebrtc/third_party/pipewire/pipewire_gn" > ] > >+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips64": >+- >+- DIRS += [ >+- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", >+- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn", >+- "/third_party/libwebrtc/modules/portal/portal_gn", >+- "/third_party/libwebrtc/third_party/drm/drm_gn", >+- "/third_party/libwebrtc/third_party/gbm/gbm_gn", >+- "/third_party/libwebrtc/third_party/libepoxy/libepoxy_gn", >+- "/third_party/libwebrtc/third_party/pipewire/pipewire_gn" >+- ] >+- > -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": > +if CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "x86": > > DIRS += [ > "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", >-@@ -665,8 +557,6 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": >+@@ -667,8 +559,6 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": > "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", > "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn", > "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn", >@@ -71738,7 +73543,7 @@ index 27c58fba4339..1dd82a893d39 100644 > "/third_party/libwebrtc/modules/portal/portal_gn", > "/third_party/libwebrtc/third_party/drm/drm_gn", > "/third_party/libwebrtc/third_party/gbm/gbm_gn", >-@@ -674,7 +564,7 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": >+@@ -676,7 +566,7 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": > "/third_party/libwebrtc/third_party/pipewire/pipewire_gn" > ] > >@@ -71747,7 +73552,7 @@ index 27c58fba4339..1dd82a893d39 100644 > > DIRS += [ > "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", >-@@ -682,69 +572,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": >+@@ -684,76 +574,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": > "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", > "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn", > "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn", >@@ -71804,6 +73609,13 @@ index 27c58fba4339..1dd82a893d39 100644 > - "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn" > - ] > - >+-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "loongarch64": >+- >+- DIRS += [ >+- "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn", >+- "/third_party/libwebrtc/modules/desktop_capture/primitives_gn" >+- ] >+- > -if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "ppc64": > - > - DIRS += [ >@@ -71818,7 +73630,7 @@ index 27c58fba4339..1dd82a893d39 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 42c412e916b6..c528241420bd 100644 >+index eca892f4b02e..c528241420bd 100644 > --- third_party/libwebrtc/net/dcsctp/common/internal_types_gn/moz.build > +++ third_party/libwebrtc/net/dcsctp/common/internal_types_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -71842,7 +73654,7 @@ index 42c412e916b6..c528241420bd 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -71939,6 +73751,10 @@ index 42c412e916b6..c528241420bd 100644 > - 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": > >@@ -71952,7 +73768,7 @@ index 42c412e916b6..c528241420bd 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -72005,7 +73821,7 @@ index 42c412e916b6..c528241420bd 100644 > - > 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 45d4b2901a01..bf7cde0c5a6b 100644 >+index 31a8282c2e53..bf7cde0c5a6b 100644 > --- third_party/libwebrtc/net/dcsctp/common/math_gn/moz.build > +++ third_party/libwebrtc/net/dcsctp/common/math_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -72029,7 +73845,7 @@ index 45d4b2901a01..bf7cde0c5a6b 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -72122,6 +73938,10 @@ index 45d4b2901a01..bf7cde0c5a6b 100644 > - 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": > >@@ -72135,7 +73955,7 @@ index 45d4b2901a01..bf7cde0c5a6b 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -72188,7 +74008,7 @@ index 45d4b2901a01..bf7cde0c5a6b 100644 > - > 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 c7df0758cb5c..4c0fce5d6266 100644 >+index a846f1a0d33d..4c0fce5d6266 100644 > --- third_party/libwebrtc/net/dcsctp/common/sequence_numbers_gn/moz.build > +++ third_party/libwebrtc/net/dcsctp/common/sequence_numbers_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -72212,7 +74032,7 @@ index c7df0758cb5c..4c0fce5d6266 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -72309,6 +74129,10 @@ index c7df0758cb5c..4c0fce5d6266 100644 > - 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": > >@@ -72322,7 +74146,7 @@ index c7df0758cb5c..4c0fce5d6266 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -72375,7 +74199,7 @@ index c7df0758cb5c..4c0fce5d6266 100644 > - > 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 81bd3152dcea..6b6ba69cc8b2 100644 >+index afa02fd16c4f..6b6ba69cc8b2 100644 > --- third_party/libwebrtc/net/dcsctp/packet/bounded_io_gn/moz.build > +++ third_party/libwebrtc/net/dcsctp/packet/bounded_io_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -72399,7 +74223,7 @@ index 81bd3152dcea..6b6ba69cc8b2 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -72496,6 +74320,10 @@ index 81bd3152dcea..6b6ba69cc8b2 100644 > - 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": > >@@ -72509,7 +74337,7 @@ index 81bd3152dcea..6b6ba69cc8b2 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -72562,7 +74390,7 @@ index 81bd3152dcea..6b6ba69cc8b2 100644 > - > Library("bounded_io_gn") > diff --git third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build >-index b358f606a8ca..0b6864a3f398 100644 >+index 0b444ee87f8f..0b6864a3f398 100644 > --- third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build > +++ third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -72586,7 +74414,7 @@ index b358f606a8ca..0b6864a3f398 100644 > > FINAL_LIBRARY = "xul" > >-@@ -60,182 +69,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -60,186 +69,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -72694,6 +74522,10 @@ index b358f606a8ca..0b6864a3f398 100644 > - 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": > >@@ -72776,7 +74608,7 @@ index b358f606a8ca..0b6864a3f398 100644 > > Library("chunk_gn") > diff --git third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build >-index 39758d3ec9dd..c19e934effcf 100644 >+index 98062c27066e..c19e934effcf 100644 > --- third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build > +++ third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -72800,7 +74632,7 @@ index 39758d3ec9dd..c19e934effcf 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -72908,6 +74740,10 @@ index 39758d3ec9dd..c19e934effcf 100644 > - 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": > >@@ -72990,7 +74826,7 @@ index 39758d3ec9dd..c19e934effcf 100644 > > Library("chunk_validators_gn") > diff --git third_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build >-index 12fc4018a27a..6db407d3c392 100644 >+index 70f2f245242b..6db407d3c392 100644 > --- third_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build > +++ third_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -73014,7 +74850,7 @@ index 12fc4018a27a..6db407d3c392 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -73115,6 +74951,10 @@ index 12fc4018a27a..6db407d3c392 100644 > - 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": > >@@ -73197,7 +75037,7 @@ index 12fc4018a27a..6db407d3c392 100644 > > 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 0fe7b7f3facf..a7bee1d658c9 100644 >+index 7ecb713c4107..a7bee1d658c9 100644 > --- third_party/libwebrtc/net/dcsctp/packet/data_gn/moz.build > +++ third_party/libwebrtc/net/dcsctp/packet/data_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -73221,7 +75061,7 @@ index 0fe7b7f3facf..a7bee1d658c9 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -73318,6 +75158,10 @@ index 0fe7b7f3facf..a7bee1d658c9 100644 > - 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": > >@@ -73331,7 +75175,7 @@ index 0fe7b7f3facf..a7bee1d658c9 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -73384,7 +75228,7 @@ index 0fe7b7f3facf..a7bee1d658c9 100644 > - > Library("data_gn") > diff --git third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build >-index 7be82d459091..a4c0982bd786 100644 >+index 6a16d627ed56..a4c0982bd786 100644 > --- third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build > +++ third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -73408,7 +75252,7 @@ index 7be82d459091..a4c0982bd786 100644 > > FINAL_LIBRARY = "xul" > >-@@ -56,182 +65,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -56,186 +65,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -73516,6 +75360,10 @@ index 7be82d459091..a4c0982bd786 100644 > - 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": > >@@ -73598,7 +75446,7 @@ index 7be82d459091..a4c0982bd786 100644 > > Library("error_cause_gn") > diff --git third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build >-index e1e605f07ca7..0735d8a5c65b 100644 >+index 4502dede2e9a..0735d8a5c65b 100644 > --- third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build > +++ third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -73622,7 +75470,7 @@ index e1e605f07ca7..0735d8a5c65b 100644 > > FINAL_LIBRARY = "xul" > >-@@ -54,182 +63,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -54,186 +63,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -73730,6 +75578,10 @@ index e1e605f07ca7..0735d8a5c65b 100644 > - 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": > >@@ -73812,7 +75664,7 @@ index e1e605f07ca7..0735d8a5c65b 100644 > > Library("parameter_gn") > diff --git third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build >-index 000fb68e8b69..1033c5c1c02c 100644 >+index 3b65e2e1c551..1033c5c1c02c 100644 > --- third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build > +++ third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -73836,7 +75688,7 @@ index 000fb68e8b69..1033c5c1c02c 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -73944,6 +75796,10 @@ index 000fb68e8b69..1033c5c1c02c 100644 > - 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": > >@@ -74026,7 +75882,7 @@ index 000fb68e8b69..1033c5c1c02c 100644 > > Library("sctp_packet_gn") > diff --git third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build >-index 92d9c791a3e5..785c32caee3d 100644 >+index 7760bdab3371..785c32caee3d 100644 > --- third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build > +++ third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -74050,7 +75906,7 @@ index 92d9c791a3e5..785c32caee3d 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -74158,6 +76014,10 @@ index 92d9c791a3e5..785c32caee3d 100644 > - 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": > >@@ -74240,7 +76100,7 @@ index 92d9c791a3e5..785c32caee3d 100644 > > Library("tlv_trait_gn") > diff --git third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build >-index 0ccf0b11b18b..8130510f9f5c 100644 >+index d5c44cd7f55d..8130510f9f5c 100644 > --- third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build > +++ third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -74264,7 +76124,7 @@ index 0ccf0b11b18b..8130510f9f5c 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -74372,6 +76232,10 @@ index 0ccf0b11b18b..8130510f9f5c 100644 > - 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": > >@@ -74454,7 +76318,7 @@ index 0ccf0b11b18b..8130510f9f5c 100644 > > Library("factory_gn") > diff --git third_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build third_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build >-index a5a1c383d784..e972e6822983 100644 >+index 17e62497fbfd..e972e6822983 100644 > --- third_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build > +++ third_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -74478,7 +76342,7 @@ index a5a1c383d784..e972e6822983 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -74579,6 +76443,10 @@ index a5a1c383d784..e972e6822983 100644 > - 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": > >@@ -74661,7 +76529,7 @@ index a5a1c383d784..e972e6822983 100644 > > 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 738f7d1c839c..0a2272a27689 100644 >+index b7af89b0851d..0a2272a27689 100644 > --- third_party/libwebrtc/net/dcsctp/public/types_gn/moz.build > +++ third_party/libwebrtc/net/dcsctp/public/types_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -74685,7 +76553,7 @@ index 738f7d1c839c..0a2272a27689 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -74782,6 +76650,10 @@ index 738f7d1c839c..0a2272a27689 100644 > - 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": > >@@ -74795,7 +76667,7 @@ index 738f7d1c839c..0a2272a27689 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -74848,7 +76720,7 @@ index 738f7d1c839c..0a2272a27689 100644 > - > Library("types_gn") > diff --git third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build >-index 282b5b121a1e..312e54212c64 100644 >+index ed06ee415f8e..312e54212c64 100644 > --- third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build > +++ third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -74872,7 +76744,7 @@ index 282b5b121a1e..312e54212c64 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -74980,6 +76852,10 @@ index 282b5b121a1e..312e54212c64 100644 > - 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": > >@@ -75062,7 +76938,7 @@ index 282b5b121a1e..312e54212c64 100644 > > Library("data_tracker_gn") > diff --git third_party/libwebrtc/net/dcsctp/rx/interleaved_reassembly_streams_gn/moz.build third_party/libwebrtc/net/dcsctp/rx/interleaved_reassembly_streams_gn/moz.build >-index 7fe9c904e548..ed90dc7cc461 100644 >+index 7db6319dfaa8..ed90dc7cc461 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -75086,7 +76962,7 @@ index 7fe9c904e548..ed90dc7cc461 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -75194,6 +77070,10 @@ index 7fe9c904e548..ed90dc7cc461 100644 > - 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": > >@@ -75276,7 +77156,7 @@ index 7fe9c904e548..ed90dc7cc461 100644 > > Library("interleaved_reassembly_streams_gn") > diff --git third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build >-index 00d8612b5832..befef0bbe4f5 100644 >+index efa360452257..befef0bbe4f5 100644 > --- third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build > +++ third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -75300,7 +77180,7 @@ index 00d8612b5832..befef0bbe4f5 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -75408,6 +77288,10 @@ index 00d8612b5832..befef0bbe4f5 100644 > - 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": > >@@ -75490,7 +77374,7 @@ index 00d8612b5832..befef0bbe4f5 100644 > > 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 f45dd968365e..6363d35c7972 100644 >+index b829e624d36a..6363d35c7972 100644 > --- third_party/libwebrtc/net/dcsctp/rx/reassembly_streams_gn/moz.build > +++ third_party/libwebrtc/net/dcsctp/rx/reassembly_streams_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -75514,7 +77398,7 @@ index f45dd968365e..6363d35c7972 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,115 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -75618,6 +77502,10 @@ index f45dd968365e..6363d35c7972 100644 > - 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": > >@@ -75631,7 +77519,7 @@ index f45dd968365e..6363d35c7972 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -157,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -75684,7 +77572,7 @@ index f45dd968365e..6363d35c7972 100644 > - > Library("reassembly_streams_gn") > diff --git third_party/libwebrtc/net/dcsctp/rx/traditional_reassembly_streams_gn/moz.build third_party/libwebrtc/net/dcsctp/rx/traditional_reassembly_streams_gn/moz.build >-index a5b2ca8dd294..c410a12e3122 100644 >+index f8e03b62eb88..c410a12e3122 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -75708,7 +77596,7 @@ index a5b2ca8dd294..c410a12e3122 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -75816,6 +77704,10 @@ index a5b2ca8dd294..c410a12e3122 100644 > - 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": > >@@ -75898,7 +77790,7 @@ index a5b2ca8dd294..c410a12e3122 100644 > > 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 b2c27a5a26a8..5c343e4e3e30 100644 >+index d6ae65b02e63..5c343e4e3e30 100644 > --- third_party/libwebrtc/net/dcsctp/socket/context_gn/moz.build > +++ third_party/libwebrtc/net/dcsctp/socket/context_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -75922,7 +77814,7 @@ index b2c27a5a26a8..5c343e4e3e30 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,115 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -76026,6 +77918,10 @@ index b2c27a5a26a8..5c343e4e3e30 100644 > - 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": > >@@ -76039,7 +77935,7 @@ index b2c27a5a26a8..5c343e4e3e30 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -157,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -76092,7 +77988,7 @@ index b2c27a5a26a8..5c343e4e3e30 100644 > - > Library("context_gn") > diff --git third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build >-index e5b83a693930..afac7802f8e3 100644 >+index 5077ef17d6e3..afac7802f8e3 100644 > --- third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build > +++ third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -76116,7 +78012,7 @@ index e5b83a693930..afac7802f8e3 100644 > > FINAL_LIBRARY = "xul" > >-@@ -45,182 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -76224,6 +78120,10 @@ index e5b83a693930..afac7802f8e3 100644 > - 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": > >@@ -76306,7 +78206,7 @@ index e5b83a693930..afac7802f8e3 100644 > > Library("dcsctp_socket_gn") > diff --git third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build >-index 9e546003147c..43c70d03ca46 100644 >+index 754c30dabf4b..43c70d03ca46 100644 > --- third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build > +++ third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -76330,7 +78230,7 @@ index 9e546003147c..43c70d03ca46 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -76438,6 +78338,10 @@ index 9e546003147c..43c70d03ca46 100644 > - 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": > >@@ -76520,7 +78424,7 @@ index 9e546003147c..43c70d03ca46 100644 > > Library("heartbeat_handler_gn") > diff --git third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build >-index 9b825fd8b1eb..ef16a31312b8 100644 >+index 4473e5cdb86d..ef16a31312b8 100644 > --- third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build > +++ third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -76544,7 +78448,7 @@ index 9b825fd8b1eb..ef16a31312b8 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -76652,6 +78556,10 @@ index 9b825fd8b1eb..ef16a31312b8 100644 > - 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": > >@@ -76734,7 +78642,7 @@ index 9b825fd8b1eb..ef16a31312b8 100644 > > Library("packet_sender_gn") > diff --git third_party/libwebrtc/net/dcsctp/socket/stream_reset_handler_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/stream_reset_handler_gn/moz.build >-index ccd50a21d293..66d5e7387bb3 100644 >+index f740f1e2814a..66d5e7387bb3 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -76758,7 +78666,7 @@ index ccd50a21d293..66d5e7387bb3 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -76866,6 +78774,10 @@ index ccd50a21d293..66d5e7387bb3 100644 > - 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": > >@@ -76948,7 +78860,7 @@ index ccd50a21d293..66d5e7387bb3 100644 > > Library("stream_reset_handler_gn") > diff --git third_party/libwebrtc/net/dcsctp/socket/transmission_control_block_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/transmission_control_block_gn/moz.build >-index 0915a44c51fe..ab7a50de0e71 100644 >+index 2f57383eed74..ab7a50de0e71 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -76972,7 +78884,7 @@ index 0915a44c51fe..ab7a50de0e71 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -77080,6 +78992,10 @@ index 0915a44c51fe..ab7a50de0e71 100644 > - 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": > >@@ -77162,7 +79078,7 @@ index 0915a44c51fe..ab7a50de0e71 100644 > > Library("transmission_control_block_gn") > diff --git third_party/libwebrtc/net/dcsctp/timer/task_queue_timeout_gn/moz.build third_party/libwebrtc/net/dcsctp/timer/task_queue_timeout_gn/moz.build >-index 6b5f233aafea..b8f118fa70e9 100644 >+index 92d96b5a4884..b8f118fa70e9 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -77186,7 +79102,7 @@ index 6b5f233aafea..b8f118fa70e9 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -77294,6 +79210,10 @@ index 6b5f233aafea..b8f118fa70e9 100644 > - 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": > >@@ -77376,7 +79296,7 @@ index 6b5f233aafea..b8f118fa70e9 100644 > > Library("task_queue_timeout_gn") > diff --git third_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build third_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build >-index ec59f30a40eb..5e9b0f5f076e 100644 >+index e72d318f368b..5e9b0f5f076e 100644 > --- third_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build > +++ third_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -77400,7 +79320,7 @@ index ec59f30a40eb..5e9b0f5f076e 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -77501,6 +79421,10 @@ index ec59f30a40eb..5e9b0f5f076e 100644 > - 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": > >@@ -77583,7 +79507,7 @@ index ec59f30a40eb..5e9b0f5f076e 100644 > > Library("timer_gn") > diff --git third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build >-index f472b3e3c199..bee7fe1717f9 100644 >+index db4877c0eb5a..bee7fe1717f9 100644 > --- third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build > +++ third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -77607,7 +79531,7 @@ index f472b3e3c199..bee7fe1717f9 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -77715,6 +79639,10 @@ index f472b3e3c199..bee7fe1717f9 100644 > - 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": > >@@ -77797,7 +79725,7 @@ index f472b3e3c199..bee7fe1717f9 100644 > > Library("outstanding_data_gn") > diff --git third_party/libwebrtc/net/dcsctp/tx/retransmission_error_counter_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/retransmission_error_counter_gn/moz.build >-index 86208d5863de..633445df7694 100644 >+index 1d65b2c48361..633445df7694 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -77821,7 +79749,7 @@ index 86208d5863de..633445df7694 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -77929,6 +79857,10 @@ index 86208d5863de..633445df7694 100644 > - 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": > >@@ -78011,7 +79943,7 @@ index 86208d5863de..633445df7694 100644 > > Library("retransmission_error_counter_gn") > diff --git third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build >-index d7f7b6466d2d..1b8bec53706d 100644 >+index 7b314599a9ba..1b8bec53706d 100644 > --- third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build > +++ third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -78035,7 +79967,7 @@ index d7f7b6466d2d..1b8bec53706d 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -78143,6 +80075,10 @@ index d7f7b6466d2d..1b8bec53706d 100644 > - 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": > >@@ -78225,7 +80161,7 @@ index d7f7b6466d2d..1b8bec53706d 100644 > > Library("retransmission_queue_gn") > diff --git third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build >-index 9b6c975c210f..c5164b6718d3 100644 >+index 65d68e087729..c5164b6718d3 100644 > --- third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build > +++ third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -78249,7 +80185,7 @@ index 9b6c975c210f..c5164b6718d3 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -78350,6 +80286,10 @@ index 9b6c975c210f..c5164b6718d3 100644 > - 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": > >@@ -78432,7 +80372,7 @@ index 9b6c975c210f..c5164b6718d3 100644 > > Library("retransmission_timeout_gn") > diff --git third_party/libwebrtc/net/dcsctp/tx/rr_send_queue_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/rr_send_queue_gn/moz.build >-index c3f015664820..9ea25738de8c 100644 >+index 1cb8bd431eaa..9ea25738de8c 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -78456,7 +80396,7 @@ index c3f015664820..9ea25738de8c 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -78564,6 +80504,10 @@ index c3f015664820..9ea25738de8c 100644 > - 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": > >@@ -78646,7 +80590,7 @@ index c3f015664820..9ea25738de8c 100644 > > 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 963189857bd0..f78f753430a9 100644 >+index 103522c30ecf..f78f753430a9 100644 > --- third_party/libwebrtc/net/dcsctp/tx/send_queue_gn/moz.build > +++ third_party/libwebrtc/net/dcsctp/tx/send_queue_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -78670,7 +80614,7 @@ index 963189857bd0..f78f753430a9 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,115 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -78774,6 +80718,10 @@ index 963189857bd0..f78f753430a9 100644 > - 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": > >@@ -78787,7 +80735,7 @@ index 963189857bd0..f78f753430a9 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -157,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -78840,7 +80788,7 @@ index 963189857bd0..f78f753430a9 100644 > - > Library("send_queue_gn") > diff --git third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build >-index ef026e0354f4..1918ce77f1a0 100644 >+index 1617cd052cfb..1918ce77f1a0 100644 > --- third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build > +++ third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -78864,7 +80812,7 @@ index ef026e0354f4..1918ce77f1a0 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -78972,6 +80920,10 @@ index ef026e0354f4..1918ce77f1a0 100644 > - 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": > >@@ -79054,7 +81006,7 @@ index ef026e0354f4..1918ce77f1a0 100644 > > Library("stream_scheduler_gn") > diff --git third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build >-index fc8abb07571d..2a5a0f61c3c3 100644 >+index 07281aa318a7..2a5a0f61c3c3 100644 > --- third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build > +++ third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -79078,7 +81030,7 @@ index fc8abb07571d..2a5a0f61c3c3 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,187 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -79187,6 +81139,10 @@ index fc8abb07571d..2a5a0f61c3c3 100644 > - 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": > >@@ -79269,7 +81225,7 @@ index fc8abb07571d..2a5a0f61c3c3 100644 > > 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 1fa7ab348217..1dc426614ba0 100644 >+index 59de36d84d9a..1dc426614ba0 100644 > --- third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build > +++ third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -79293,7 +81249,7 @@ index 1fa7ab348217..1dc426614ba0 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -79386,6 +81342,10 @@ index 1fa7ab348217..1dc426614ba0 100644 > - 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": > >@@ -79399,7 +81359,7 @@ index 1fa7ab348217..1dc426614ba0 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -79452,7 +81412,7 @@ index 1fa7ab348217..1dc426614ba0 100644 > - > 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 b2eea4230c4a..59b686b72228 100644 >+index 2bb40d7b400d..59b686b72228 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -79476,7 +81436,7 @@ index b2eea4230c4a..59b686b72228 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -79584,6 +81544,10 @@ index b2eea4230c4a..59b686b72228 100644 > - 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": > >@@ -79666,7 +81630,7 @@ index b2eea4230c4a..59b686b72228 100644 > > 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 03e2b288bbd9..a183036f9f29 100644 >+index a97cbd0f0e4b..a183036f9f29 100644 > --- third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build > +++ third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -79690,7 +81654,7 @@ index 03e2b288bbd9..a183036f9f29 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -79791,6 +81755,10 @@ index 03e2b288bbd9..a183036f9f29 100644 > - 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": > >@@ -79873,7 +81841,7 @@ index 03e2b288bbd9..a183036f9f29 100644 > > Library("bit_buffer_gn") > diff --git third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build >-index a66b98177436..bb90b19b5ef7 100644 >+index 48ec1d8b394a..bb90b19b5ef7 100644 > --- third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build > +++ third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -79897,7 +81865,7 @@ index a66b98177436..bb90b19b5ef7 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -80005,6 +81973,10 @@ index a66b98177436..bb90b19b5ef7 100644 > - 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": > >@@ -80087,7 +82059,7 @@ index a66b98177436..bb90b19b5ef7 100644 > > Library("bitrate_tracker_gn") > diff --git third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build >-index 99a2dd108ecf..f2785c8a470b 100644 >+index b6e5cdc25679..f2785c8a470b 100644 > --- third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build > +++ third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -80111,7 +82083,7 @@ index 99a2dd108ecf..f2785c8a470b 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -80212,6 +82184,10 @@ index 99a2dd108ecf..f2785c8a470b 100644 > - 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": > >@@ -80294,7 +82270,7 @@ index 99a2dd108ecf..f2785c8a470b 100644 > > 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 fcccc2b6fe10..627182b344f7 100644 >+index cb8c70cd12d1..627182b344f7 100644 > --- third_party/libwebrtc/rtc_base/buffer_gn/moz.build > +++ third_party/libwebrtc/rtc_base/buffer_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -80318,7 +82294,7 @@ index fcccc2b6fe10..627182b344f7 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -80415,6 +82391,10 @@ index fcccc2b6fe10..627182b344f7 100644 > - 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": > >@@ -80428,7 +82408,7 @@ index fcccc2b6fe10..627182b344f7 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -80481,7 +82461,7 @@ index fcccc2b6fe10..627182b344f7 100644 > - > Library("buffer_gn") > diff --git third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build >-index 6624cd3832b2..d57286760dc5 100644 >+index 53412c151689..d57286760dc5 100644 > --- third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build > +++ third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -80505,7 +82485,7 @@ index 6624cd3832b2..d57286760dc5 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -80606,6 +82586,10 @@ index 6624cd3832b2..d57286760dc5 100644 > - 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": > >@@ -80688,7 +82672,7 @@ index 6624cd3832b2..d57286760dc5 100644 > > 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 127aeefe5e3a..b483351cb849 100644 >+index eb8960e92dc5..b483351cb849 100644 > --- third_party/libwebrtc/rtc_base/byte_order_gn/moz.build > +++ third_party/libwebrtc/rtc_base/byte_order_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -80712,7 +82696,7 @@ index 127aeefe5e3a..b483351cb849 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -80805,6 +82789,10 @@ index 127aeefe5e3a..b483351cb849 100644 > - 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": > >@@ -80818,7 +82806,7 @@ index 127aeefe5e3a..b483351cb849 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -80871,7 +82859,7 @@ index 127aeefe5e3a..b483351cb849 100644 > - > Library("byte_order_gn") > diff --git third_party/libwebrtc/rtc_base/checks_gn/moz.build third_party/libwebrtc/rtc_base/checks_gn/moz.build >-index 3bd23545b4d5..bac79efc3909 100644 >+index 4009fff6361f..bac79efc3909 100644 > --- third_party/libwebrtc/rtc_base/checks_gn/moz.build > +++ third_party/libwebrtc/rtc_base/checks_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -80895,7 +82883,7 @@ index 3bd23545b4d5..bac79efc3909 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -80996,6 +82984,10 @@ index 3bd23545b4d5..bac79efc3909 100644 > - 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": > >@@ -81078,7 +83070,7 @@ index 3bd23545b4d5..bac79efc3909 100644 > > 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 fe0b93757a84..e20bdf1570ff 100644 >+index 758670919dc9..e20bdf1570ff 100644 > --- third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build > +++ third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -81102,7 +83094,7 @@ index fe0b93757a84..e20bdf1570ff 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -81195,6 +83187,10 @@ index fe0b93757a84..e20bdf1570ff 100644 > - 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": > >@@ -81208,7 +83204,7 @@ index fe0b93757a84..e20bdf1570ff 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -81261,7 +83257,7 @@ index fe0b93757a84..e20bdf1570ff 100644 > - > Library("compile_assert_c_gn") > diff --git third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build >-index 418b36c6eec8..0e1ee33fb9d3 100644 >+index 29e2f794070b..0e1ee33fb9d3 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -81285,7 +83281,7 @@ index 418b36c6eec8..0e1ee33fb9d3 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -81386,6 +83382,10 @@ index 418b36c6eec8..0e1ee33fb9d3 100644 > - 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": > >@@ -81468,7 +83468,7 @@ index 418b36c6eec8..0e1ee33fb9d3 100644 > > 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 3588529ba105..55eff7cde666 100644 >+index 9bdb5b2ad824..55eff7cde666 100644 > --- third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build > +++ third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -81492,7 +83492,7 @@ index 3588529ba105..55eff7cde666 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -81589,6 +83589,10 @@ index 3588529ba105..55eff7cde666 100644 > - 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": > >@@ -81602,7 +83606,7 @@ index 3588529ba105..55eff7cde666 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -81655,7 +83659,7 @@ index 3588529ba105..55eff7cde666 100644 > - > 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 77625fd5e21d..051e2d72bb5c 100644 >+index 43ac4165fbd2..051e2d72bb5c 100644 > --- third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build > +++ third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -81679,7 +83683,7 @@ index 77625fd5e21d..051e2d72bb5c 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -81776,6 +83780,10 @@ index 77625fd5e21d..051e2d72bb5c 100644 > - 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": > >@@ -81789,7 +83797,7 @@ index 77625fd5e21d..051e2d72bb5c 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -81842,7 +83850,7 @@ index 77625fd5e21d..051e2d72bb5c 100644 > - > Library("flat_set_gn") > diff --git third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build >-index 5ba7ca97f54c..f01886085505 100644 >+index d35d1ab479c6..f01886085505 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -81866,7 +83874,7 @@ index 5ba7ca97f54c..f01886085505 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -81967,6 +83975,10 @@ index 5ba7ca97f54c..f01886085505 100644 > - 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": > >@@ -82049,7 +84061,7 @@ index 5ba7ca97f54c..f01886085505 100644 > > 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 cd78ad2a9dc3..1f93cdc117ab 100644 >+index 544b3575f3af..1f93cdc117ab 100644 > --- third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build > +++ third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -82073,7 +84085,7 @@ index cd78ad2a9dc3..1f93cdc117ab 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -82174,6 +84186,10 @@ index cd78ad2a9dc3..1f93cdc117ab 100644 > - 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": > >@@ -82256,7 +84272,7 @@ index cd78ad2a9dc3..1f93cdc117ab 100644 > > 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 6d91aca5405c..1156dc035fd3 100644 >+index 013c8ff94548..1156dc035fd3 100644 > --- third_party/libwebrtc/rtc_base/divide_round_gn/moz.build > +++ third_party/libwebrtc/rtc_base/divide_round_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -82280,7 +84296,7 @@ index 6d91aca5405c..1156dc035fd3 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -82377,6 +84393,10 @@ index 6d91aca5405c..1156dc035fd3 100644 > - 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": > >@@ -82390,7 +84410,7 @@ index 6d91aca5405c..1156dc035fd3 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -82443,7 +84463,7 @@ index 6d91aca5405c..1156dc035fd3 100644 > - > 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 9ced9d433ba6..21675b22576d 100644 >+index 8e779b7743dd..21675b22576d 100644 > --- third_party/libwebrtc/rtc_base/dscp_gn/moz.build > +++ third_party/libwebrtc/rtc_base/dscp_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -82467,7 +84487,7 @@ index 9ced9d433ba6..21675b22576d 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -82560,6 +84580,10 @@ index 9ced9d433ba6..21675b22576d 100644 > - 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": > >@@ -82573,7 +84597,7 @@ index 9ced9d433ba6..21675b22576d 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -82626,7 +84650,7 @@ index 9ced9d433ba6..21675b22576d 100644 > - > 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 22031ad0c3f1..6d9dd30259ed 100644 >+index 411fcbcd72da..cee2e6eedbcc 100644 > --- third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build > +++ third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -82650,7 +84674,7 @@ index 22031ad0c3f1..6d9dd30259ed 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -82758,6 +84782,10 @@ index 22031ad0c3f1..6d9dd30259ed 100644 > - 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": > >@@ -82840,7 +84868,7 @@ index 22031ad0c3f1..6d9dd30259ed 100644 > > 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 00754e71ca34..42435f27ca55 100644 >+index 84ed89ed87e1..42435f27ca55 100644 > --- third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build > +++ third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -82864,7 +84892,7 @@ index 00754e71ca34..42435f27ca55 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -82972,6 +85000,10 @@ index 00754e71ca34..42435f27ca55 100644 > - 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": > >@@ -83054,7 +85086,7 @@ index 00754e71ca34..42435f27ca55 100644 > > 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 c07825d69632..effe36e6b677 100644 >+index c9d63e7c296f..effe36e6b677 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -83078,7 +85110,7 @@ index c07825d69632..effe36e6b677 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -83186,6 +85218,10 @@ index c07825d69632..effe36e6b677 100644 > - 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": > >@@ -83268,7 +85304,7 @@ index c07825d69632..effe36e6b677 100644 > > 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 7124a11537cb..a50e956523c8 100644 >+index 3fe445b45d51..a50e956523c8 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -83292,7 +85328,7 @@ index 7124a11537cb..a50e956523c8 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -83400,6 +85436,10 @@ index 7124a11537cb..a50e956523c8 100644 > - 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": > >@@ -83482,7 +85522,7 @@ index 7124a11537cb..a50e956523c8 100644 > > 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 26fbc8121222..1072fbd432a0 100644 >+index 139b64b3d998..1072fbd432a0 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -83506,7 +85546,7 @@ index 26fbc8121222..1072fbd432a0 100644 > > FINAL_LIBRARY = "xul" > >-@@ -46,182 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -46,186 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -83614,6 +85654,10 @@ index 26fbc8121222..1072fbd432a0 100644 > - 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": > >@@ -83696,7 +85740,7 @@ index 26fbc8121222..1072fbd432a0 100644 > > 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 bead06448a0c..c1357e5111db 100644 >+index 08398c40cf56..c1357e5111db 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -83720,7 +85764,7 @@ index bead06448a0c..c1357e5111db 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -83828,6 +85872,10 @@ index bead06448a0c..c1357e5111db 100644 > - 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": > >@@ -83910,7 +85958,7 @@ index bead06448a0c..c1357e5111db 100644 > > 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 4b3cf366d3bb..bc080f3f2b04 100644 >+index d8b7892933f0..bc080f3f2b04 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -83934,7 +85982,7 @@ index 4b3cf366d3bb..bc080f3f2b04 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -84042,6 +86090,10 @@ index 4b3cf366d3bb..bc080f3f2b04 100644 > - 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": > >@@ -84124,7 +86176,7 @@ index 4b3cf366d3bb..bc080f3f2b04 100644 > > 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 0310b2c8f2e2..248222fdb89c 100644 >+index 7e7af322ca00..248222fdb89c 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -84148,7 +86200,7 @@ index 0310b2c8f2e2..248222fdb89c 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -84256,6 +86308,10 @@ index 0310b2c8f2e2..248222fdb89c 100644 > - 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": > >@@ -84338,7 +86394,7 @@ index 0310b2c8f2e2..248222fdb89c 100644 > > 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 fa4aebc9cdd6..96c027f57661 100644 >+index 2ffaf07d5cea..96c027f57661 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -84362,7 +86418,7 @@ index fa4aebc9cdd6..96c027f57661 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -84470,6 +86526,10 @@ index fa4aebc9cdd6..96c027f57661 100644 > - 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": > >@@ -84552,7 +86612,7 @@ index fa4aebc9cdd6..96c027f57661 100644 > > 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 b6b67370158c..f3dc32a385fe 100644 >+index bc0db9b773f9..f3dc32a385fe 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -84576,7 +86636,7 @@ index b6b67370158c..f3dc32a385fe 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -84684,6 +86744,10 @@ index b6b67370158c..f3dc32a385fe 100644 > - 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": > >@@ -84766,7 +86830,7 @@ index b6b67370158c..f3dc32a385fe 100644 > > 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 c3b8a9f19839..e704571afe9c 100644 >+index 6c3dc1ed384f..e704571afe9c 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -84790,7 +86854,7 @@ index c3b8a9f19839..e704571afe9c 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -84898,6 +86962,10 @@ index c3b8a9f19839..e704571afe9c 100644 > - 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": > >@@ -84980,7 +87048,7 @@ index c3b8a9f19839..e704571afe9c 100644 > > 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 fe917e5d9f61..5a0edcd1347a 100644 >+index a96bdf65536e..5a0edcd1347a 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -85004,7 +87072,7 @@ index fe917e5d9f61..5a0edcd1347a 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -85112,6 +87180,10 @@ index fe917e5d9f61..5a0edcd1347a 100644 > - 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": > >@@ -85194,7 +87266,7 @@ index fe917e5d9f61..5a0edcd1347a 100644 > > 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 2330a67e2364..74059151d385 100644 >+index fd45f36c268e..74059151d385 100644 > --- third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build > +++ third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -85218,7 +87290,7 @@ index 2330a67e2364..74059151d385 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -85326,6 +87398,10 @@ index 2330a67e2364..74059151d385 100644 > - 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": > >@@ -85408,7 +87484,7 @@ index 2330a67e2364..74059151d385 100644 > > 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 023a1bfb463e..d1a4f3caee83 100644 >+index b4199a311652..d1a4f3caee83 100644 > --- third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build > +++ third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -85432,7 +87508,7 @@ index 023a1bfb463e..d1a4f3caee83 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -85525,6 +87601,10 @@ index 023a1bfb463e..d1a4f3caee83 100644 > - 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": > >@@ -85538,7 +87618,7 @@ index 023a1bfb463e..d1a4f3caee83 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -85591,7 +87671,7 @@ index 023a1bfb463e..d1a4f3caee83 100644 > - > Library("gtest_prod_gn") > diff --git third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build >-index d9693a339c1c..7c1c2ed4eca6 100644 >+index e235da2187aa..7c1c2ed4eca6 100644 > --- third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build > +++ third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -85615,7 +87695,7 @@ index d9693a339c1c..7c1c2ed4eca6 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -85716,6 +87796,10 @@ index d9693a339c1c..7c1c2ed4eca6 100644 > - 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": > >@@ -85898,7 +87982,7 @@ index bc2ed633f802..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 ccf57d243c64..267e43801deb 100644 >+index a3761c664470..267e43801deb 100644 > --- third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build > +++ third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -85922,7 +88006,7 @@ index ccf57d243c64..267e43801deb 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -86015,6 +88099,10 @@ index ccf57d243c64..267e43801deb 100644 > - 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": > >@@ -86028,7 +88116,7 @@ index ccf57d243c64..267e43801deb 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -86081,7 +88169,7 @@ index ccf57d243c64..267e43801deb 100644 > - > Library("ignore_wundef_gn") > diff --git third_party/libwebrtc/rtc_base/ip_address_gn/moz.build third_party/libwebrtc/rtc_base/ip_address_gn/moz.build >-index 599011b7880c..d5a8d4cae0ef 100644 >+index 8591a3b9be6c..d5a8d4cae0ef 100644 > --- third_party/libwebrtc/rtc_base/ip_address_gn/moz.build > +++ third_party/libwebrtc/rtc_base/ip_address_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -86105,7 +88193,7 @@ index 599011b7880c..d5a8d4cae0ef 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -86213,6 +88301,10 @@ index 599011b7880c..d5a8d4cae0ef 100644 > - 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": > >@@ -86295,7 +88387,7 @@ index 599011b7880c..d5a8d4cae0ef 100644 > > Library("ip_address_gn") > diff --git third_party/libwebrtc/rtc_base/logging_gn/moz.build third_party/libwebrtc/rtc_base/logging_gn/moz.build >-index 1bf8ad041f09..448a2e06255a 100644 >+index 0121355ea171..448a2e06255a 100644 > --- third_party/libwebrtc/rtc_base/logging_gn/moz.build > +++ third_party/libwebrtc/rtc_base/logging_gn/moz.build > @@ -12,12 +12,21 @@ AllowCompilerWarnings() >@@ -86320,7 +88412,7 @@ index 1bf8ad041f09..448a2e06255a 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,182 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -86428,6 +88520,10 @@ index 1bf8ad041f09..448a2e06255a 100644 > - 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": > >@@ -86510,7 +88606,7 @@ index 1bf8ad041f09..448a2e06255a 100644 > > Library("logging_gn") > diff --git third_party/libwebrtc/rtc_base/macromagic_gn/moz.build third_party/libwebrtc/rtc_base/macromagic_gn/moz.build >-index fd6a7ed3583a..dd3d584195c0 100644 >+index fb0141f9992f..dd3d584195c0 100644 > --- third_party/libwebrtc/rtc_base/macromagic_gn/moz.build > +++ third_party/libwebrtc/rtc_base/macromagic_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -86534,7 +88630,7 @@ index fd6a7ed3583a..dd3d584195c0 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -86627,6 +88723,10 @@ index fd6a7ed3583a..dd3d584195c0 100644 > - 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": > >@@ -86640,7 +88740,7 @@ index fd6a7ed3583a..dd3d584195c0 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -86693,7 +88793,7 @@ index fd6a7ed3583a..dd3d584195c0 100644 > - > Library("macromagic_gn") > diff --git third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build >-index 4cdb7dc957bf..c2362607b3f3 100644 >+index 1965f7ec53af..c2362607b3f3 100644 > --- third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build > +++ third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -86717,7 +88817,7 @@ index 4cdb7dc957bf..c2362607b3f3 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -86818,6 +88918,10 @@ index 4cdb7dc957bf..c2362607b3f3 100644 > - 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": > >@@ -86900,7 +89004,7 @@ index 4cdb7dc957bf..c2362607b3f3 100644 > > 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 8662881c50a2..2890fedddb9a 100644 >+index 1b552f64a772..2890fedddb9a 100644 > --- third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build > +++ third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -86924,7 +89028,7 @@ index 8662881c50a2..2890fedddb9a 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -87021,6 +89125,10 @@ index 8662881c50a2..2890fedddb9a 100644 > - 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": > >@@ -87034,7 +89142,7 @@ index 8662881c50a2..2890fedddb9a 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -87087,7 +89195,7 @@ index 8662881c50a2..2890fedddb9a 100644 > - > 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 8b77e8aef659..12388acab2b4 100644 >+index c3715c2c6b20..12388acab2b4 100644 > --- third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build > +++ third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -87111,7 +89219,7 @@ index 8b77e8aef659..12388acab2b4 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -87208,6 +89316,10 @@ index 8b77e8aef659..12388acab2b4 100644 > - 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": > >@@ -87221,7 +89333,7 @@ index 8b77e8aef659..12388acab2b4 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -87274,7 +89386,7 @@ index 8b77e8aef659..12388acab2b4 100644 > - > Library("moving_max_counter_gn") > diff --git third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build >-index 75e553cc3298..ead57cd08a32 100644 >+index 33488c655174..ead57cd08a32 100644 > --- third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build > +++ third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -87298,7 +89410,7 @@ index 75e553cc3298..ead57cd08a32 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -87406,6 +89518,10 @@ index 75e553cc3298..ead57cd08a32 100644 > - 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": > >@@ -87488,7 +89604,7 @@ index 75e553cc3298..ead57cd08a32 100644 > > 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 e143fc3b344e..bc515fc5c103 100644 >+index 6c4cd224b98b..bc515fc5c103 100644 > --- third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build > +++ third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -87512,7 +89628,7 @@ index e143fc3b344e..bc515fc5c103 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -87605,6 +89721,10 @@ index e143fc3b344e..bc515fc5c103 100644 > - 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": > >@@ -87618,7 +89738,7 @@ index e143fc3b344e..bc515fc5c103 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -87671,7 +89791,7 @@ index e143fc3b344e..bc515fc5c103 100644 > - > Library("ecn_marking_gn") > diff --git third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build >-index 74a8daff5aea..abba0d8decc4 100644 >+index 04b51f0502b3..abba0d8decc4 100644 > --- third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build > +++ third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -87695,7 +89815,7 @@ index 74a8daff5aea..abba0d8decc4 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,171 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -87792,6 +89912,10 @@ index 74a8daff5aea..abba0d8decc4 100644 > - 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": > >@@ -87874,7 +89998,7 @@ index 74a8daff5aea..abba0d8decc4 100644 > > Library("sent_packet_gn") > diff --git third_party/libwebrtc/rtc_base/network_constants_gn/moz.build third_party/libwebrtc/rtc_base/network_constants_gn/moz.build >-index ee445594cc8f..a93a94841ac8 100644 >+index b8fb244a8e99..a93a94841ac8 100644 > --- third_party/libwebrtc/rtc_base/network_constants_gn/moz.build > +++ third_party/libwebrtc/rtc_base/network_constants_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -87898,7 +90022,7 @@ index ee445594cc8f..a93a94841ac8 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -87999,6 +90123,10 @@ index ee445594cc8f..a93a94841ac8 100644 > - 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": > >@@ -88081,7 +90209,7 @@ index ee445594cc8f..a93a94841ac8 100644 > > Library("network_constants_gn") > diff --git third_party/libwebrtc/rtc_base/network_route_gn/moz.build third_party/libwebrtc/rtc_base/network_route_gn/moz.build >-index 6a7a271b1a2e..3a16933c8e3d 100644 >+index 2f552b99a2ba..3a16933c8e3d 100644 > --- third_party/libwebrtc/rtc_base/network_route_gn/moz.build > +++ third_party/libwebrtc/rtc_base/network_route_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -88105,7 +90233,7 @@ index 6a7a271b1a2e..3a16933c8e3d 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -88206,6 +90334,10 @@ index 6a7a271b1a2e..3a16933c8e3d 100644 > - 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": > >@@ -88288,7 +90420,7 @@ index 6a7a271b1a2e..3a16933c8e3d 100644 > > Library("network_route_gn") > diff --git third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build >-index fca2b0bcdb39..ca7dd6bb37c7 100644 >+index c07ee42a4768..ca7dd6bb37c7 100644 > --- third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build > +++ third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -88312,7 +90444,7 @@ index fca2b0bcdb39..ca7dd6bb37c7 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,187 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -88421,6 +90553,10 @@ index fca2b0bcdb39..ca7dd6bb37c7 100644 > - 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": > >@@ -88503,7 +90639,7 @@ index fca2b0bcdb39..ca7dd6bb37c7 100644 > > 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 e3f2feccacdc..9ef0efeb1338 100644 >+index 11bbb05fa7c9..9ef0efeb1338 100644 > --- third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build > +++ third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -88527,7 +90663,7 @@ index e3f2feccacdc..9ef0efeb1338 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -88624,6 +90760,10 @@ index e3f2feccacdc..9ef0efeb1338 100644 > - 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": > >@@ -88637,7 +90777,7 @@ index e3f2feccacdc..9ef0efeb1338 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -88690,7 +90830,7 @@ index e3f2feccacdc..9ef0efeb1338 100644 > - > Library("one_time_event_gn") > diff --git third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build >-index da1566f7a857..a541e3b4d5a2 100644 >+index 945e2783d6ef..a541e3b4d5a2 100644 > --- third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build > +++ third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -88714,7 +90854,7 @@ index da1566f7a857..a541e3b4d5a2 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -88822,6 +90962,10 @@ index da1566f7a857..a541e3b4d5a2 100644 > - 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": > >@@ -88904,7 +91048,7 @@ index da1566f7a857..a541e3b4d5a2 100644 > > Library("platform_thread_gn") > diff --git third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build >-index 7153b6235186..f23aca8108e2 100644 >+index 48c27d813e17..f23aca8108e2 100644 > --- third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build > +++ third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -88928,7 +91072,7 @@ index 7153b6235186..f23aca8108e2 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -89029,6 +91173,10 @@ index 7153b6235186..f23aca8108e2 100644 > - 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": > >@@ -89111,7 +91259,7 @@ index 7153b6235186..f23aca8108e2 100644 > > 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 4a9ef9c77cbe..4d3ef5564a90 100644 >+index 668f1d0a980d..4d3ef5564a90 100644 > --- third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build > +++ third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -89135,7 +91283,7 @@ index 4a9ef9c77cbe..4d3ef5564a90 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -89228,6 +91376,10 @@ index 4a9ef9c77cbe..4d3ef5564a90 100644 > - 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": > >@@ -89241,7 +91393,7 @@ index 4a9ef9c77cbe..4d3ef5564a90 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -89294,7 +91446,7 @@ index 4a9ef9c77cbe..4d3ef5564a90 100644 > - > Library("protobuf_utils_gn") > diff --git third_party/libwebrtc/rtc_base/race_checker_gn/moz.build third_party/libwebrtc/rtc_base/race_checker_gn/moz.build >-index 7af463c609ea..6deeed359a2b 100644 >+index 6d2ee3c0a0b4..6deeed359a2b 100644 > --- third_party/libwebrtc/rtc_base/race_checker_gn/moz.build > +++ third_party/libwebrtc/rtc_base/race_checker_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -89318,7 +91470,7 @@ index 7af463c609ea..6deeed359a2b 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -89419,6 +91571,10 @@ index 7af463c609ea..6deeed359a2b 100644 > - 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": > >@@ -89501,7 +91657,7 @@ index 7af463c609ea..6deeed359a2b 100644 > > Library("race_checker_gn") > diff --git third_party/libwebrtc/rtc_base/random_gn/moz.build third_party/libwebrtc/rtc_base/random_gn/moz.build >-index 6ab96907812e..70cddc604dc3 100644 >+index 38d713e123cd..70cddc604dc3 100644 > --- third_party/libwebrtc/rtc_base/random_gn/moz.build > +++ third_party/libwebrtc/rtc_base/random_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -89525,7 +91681,7 @@ index 6ab96907812e..70cddc604dc3 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -89626,6 +91782,10 @@ index 6ab96907812e..70cddc604dc3 100644 > - 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": > >@@ -89708,7 +91868,7 @@ index 6ab96907812e..70cddc604dc3 100644 > > Library("random_gn") > diff --git third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build >-index b251922a71ed..2ca7defd349f 100644 >+index 8827194a0ddc..2ca7defd349f 100644 > --- third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build > +++ third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -89732,7 +91892,7 @@ index b251922a71ed..2ca7defd349f 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -89844,6 +92004,10 @@ index b251922a71ed..2ca7defd349f 100644 > - 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": > >@@ -89926,7 +92090,7 @@ index b251922a71ed..2ca7defd349f 100644 > > Library("rate_limiter_gn") > diff --git third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build >-index 9aaf50bca9db..98328fad3324 100644 >+index 88038145cf15..98328fad3324 100644 > --- third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build > +++ third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -89950,7 +92114,7 @@ index 9aaf50bca9db..98328fad3324 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -90058,6 +92222,10 @@ index 9aaf50bca9db..98328fad3324 100644 > - 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": > >@@ -90140,7 +92308,7 @@ index 9aaf50bca9db..98328fad3324 100644 > > Library("rate_statistics_gn") > diff --git third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build >-index 5bc2da784eb9..dce869f89476 100644 >+index bd0629bfa0db..dce869f89476 100644 > --- third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build > +++ third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -90164,7 +92332,7 @@ index 5bc2da784eb9..dce869f89476 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -90272,6 +92440,10 @@ index 5bc2da784eb9..dce869f89476 100644 > - 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": > >@@ -90354,7 +92526,7 @@ index 5bc2da784eb9..dce869f89476 100644 > > 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 bee5514f15f5..b23b29b3df2a 100644 >+index 3595a7a13a2b..b23b29b3df2a 100644 > --- third_party/libwebrtc/rtc_base/refcount_gn/moz.build > +++ third_party/libwebrtc/rtc_base/refcount_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -90378,7 +92550,7 @@ index bee5514f15f5..b23b29b3df2a 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -90471,6 +92643,10 @@ index bee5514f15f5..b23b29b3df2a 100644 > - 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": > >@@ -90484,7 +92660,7 @@ index bee5514f15f5..b23b29b3df2a 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -90537,7 +92713,7 @@ index bee5514f15f5..b23b29b3df2a 100644 > - > 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 803213005dbb..f83bf4191a50 100644 >+index daf579df3533..f83bf4191a50 100644 > --- third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build > +++ third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -90561,7 +92737,7 @@ index 803213005dbb..f83bf4191a50 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -90658,6 +92834,10 @@ index 803213005dbb..f83bf4191a50 100644 > - 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": > >@@ -90671,7 +92851,7 @@ index 803213005dbb..f83bf4191a50 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -90724,7 +92904,7 @@ index 803213005dbb..f83bf4191a50 100644 > - > Library("rolling_accumulator_gn") > diff --git third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build >-index 063db2ee4708..61236b44fa64 100644 >+index f01e48e21375..61236b44fa64 100644 > --- third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build > +++ third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -90748,7 +92928,7 @@ index 063db2ee4708..61236b44fa64 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -90856,6 +93036,10 @@ index 063db2ee4708..61236b44fa64 100644 > - 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": > >@@ -90938,7 +93122,7 @@ index 063db2ee4708..61236b44fa64 100644 > > Library("rtc_event_gn") > diff --git third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build >-index 9f2243677b3c..a11937d5e09e 100644 >+index 9c7b0c6d3f55..a11937d5e09e 100644 > --- third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build > +++ third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -90962,7 +93146,7 @@ index 9f2243677b3c..a11937d5e09e 100644 > > FINAL_LIBRARY = "xul" > >-@@ -45,175 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -45,179 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -91063,6 +93247,10 @@ index 9f2243677b3c..a11937d5e09e 100644 > - 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": > >@@ -91145,7 +93333,7 @@ index 9f2243677b3c..a11937d5e09e 100644 > > 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 108788359351..5674190b8fd3 100644 >+index 80d295aa9d5d..5674190b8fd3 100644 > --- third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build > +++ third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -91169,7 +93357,7 @@ index 108788359351..5674190b8fd3 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -91262,6 +93450,10 @@ index 108788359351..5674190b8fd3 100644 > - 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": > >@@ -91275,7 +93467,7 @@ index 108788359351..5674190b8fd3 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -91328,7 +93520,7 @@ index 108788359351..5674190b8fd3 100644 > - > 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 802047cc7723..614a50cc3677 100644 >+index c9b97cb7ed49..614a50cc3677 100644 > --- third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build > +++ third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -91352,7 +93544,7 @@ index 802047cc7723..614a50cc3677 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -91449,6 +93641,10 @@ index 802047cc7723..614a50cc3677 100644 > - 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": > >@@ -91462,7 +93658,7 @@ index 802047cc7723..614a50cc3677 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -91515,7 +93711,7 @@ index 802047cc7723..614a50cc3677 100644 > - > 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 51a8bccde5cc..dd120fb85232 100644 >+index 50e6173fccd3..dd120fb85232 100644 > --- third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build > +++ third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -91539,7 +93735,7 @@ index 51a8bccde5cc..dd120fb85232 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -91636,6 +93832,10 @@ index 51a8bccde5cc..dd120fb85232 100644 > - 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": > >@@ -91649,7 +93849,7 @@ index 51a8bccde5cc..dd120fb85232 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -91702,7 +93902,7 @@ index 51a8bccde5cc..dd120fb85232 100644 > - > Library("safe_minmax_gn") > diff --git third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build >-index b6443c841795..5a19758cd0c1 100644 >+index 4ffa48a120cb..5a19758cd0c1 100644 > --- third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build > +++ third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -91726,7 +93926,7 @@ index b6443c841795..5a19758cd0c1 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -91827,6 +94027,10 @@ index b6443c841795..5a19758cd0c1 100644 > - 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": > >@@ -91909,7 +94113,7 @@ index b6443c841795..5a19758cd0c1 100644 > > 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 9f21e2e72c60..65d7a7b001cc 100644 >+index a860a9f7282b..65d7a7b001cc 100644 > --- third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build > +++ third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -91933,7 +94137,7 @@ index 9f21e2e72c60..65d7a7b001cc 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -92026,6 +94230,10 @@ index 9f21e2e72c60..65d7a7b001cc 100644 > - 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": > >@@ -92039,7 +94247,7 @@ index 9f21e2e72c60..65d7a7b001cc 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -92092,7 +94300,7 @@ index 9f21e2e72c60..65d7a7b001cc 100644 > - > Library("sanitizer_gn") > diff --git third_party/libwebrtc/rtc_base/socket_address_gn/moz.build third_party/libwebrtc/rtc_base/socket_address_gn/moz.build >-index 4cdbbe0aaf09..b2c6204e306f 100644 >+index 04cba77cbb9c..b2c6204e306f 100644 > --- third_party/libwebrtc/rtc_base/socket_address_gn/moz.build > +++ third_party/libwebrtc/rtc_base/socket_address_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -92116,7 +94324,7 @@ index 4cdbbe0aaf09..b2c6204e306f 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,187 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -92225,6 +94433,10 @@ index 4cdbbe0aaf09..b2c6204e306f 100644 > - 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": > >@@ -92307,7 +94519,7 @@ index 4cdbbe0aaf09..b2c6204e306f 100644 > > 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 7e6b11eae177..591ac160c8cb 100644 >+index f3356c04b441..591ac160c8cb 100644 > --- third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build > +++ third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -92331,7 +94543,7 @@ index 7e6b11eae177..591ac160c8cb 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,116 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,120 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -92436,6 +94648,10 @@ index 7e6b11eae177..591ac160c8cb 100644 > - 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": > >@@ -92449,7 +94665,7 @@ index 7e6b11eae177..591ac160c8cb 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -158,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -162,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -92502,7 +94718,7 @@ index 7e6b11eae177..591ac160c8cb 100644 > - > Library("socket_factory_gn") > diff --git third_party/libwebrtc/rtc_base/socket_gn/moz.build third_party/libwebrtc/rtc_base/socket_gn/moz.build >-index 7eaab676cfbc..483f18116d82 100644 >+index edca3916c141..483f18116d82 100644 > --- third_party/libwebrtc/rtc_base/socket_gn/moz.build > +++ third_party/libwebrtc/rtc_base/socket_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -92526,7 +94742,7 @@ index 7eaab676cfbc..483f18116d82 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,187 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -92635,6 +94851,10 @@ index 7eaab676cfbc..483f18116d82 100644 > - 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": > >@@ -92717,7 +94937,7 @@ index 7eaab676cfbc..483f18116d82 100644 > > 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 36a1cf9d6a34..b2c9e653415f 100644 >+index 942e81926f06..b2c9e653415f 100644 > --- third_party/libwebrtc/rtc_base/socket_server_gn/moz.build > +++ third_party/libwebrtc/rtc_base/socket_server_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -92741,7 +94961,7 @@ index 36a1cf9d6a34..b2c9e653415f 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,116 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,120 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -92846,6 +95066,10 @@ index 36a1cf9d6a34..b2c9e653415f 100644 > - 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": > >@@ -92859,7 +95083,7 @@ index 36a1cf9d6a34..b2c9e653415f 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -158,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -162,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -92912,7 +95136,7 @@ index 36a1cf9d6a34..b2c9e653415f 100644 > - > 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 6038eb754953..61f586516d9a 100644 >+index 75ac6a6be25d..61f586516d9a 100644 > --- third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build > +++ third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -92936,7 +95160,7 @@ index 6038eb754953..61f586516d9a 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -93029,6 +95253,10 @@ index 6038eb754953..61f586516d9a 100644 > - 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": > >@@ -93042,7 +95270,7 @@ index 6038eb754953..61f586516d9a 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -93095,7 +95323,7 @@ index 6038eb754953..61f586516d9a 100644 > - > 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 588493046811..75f5872592d6 100644 >+index e3472674ceed..75f5872592d6 100644 > --- third_party/libwebrtc/rtc_base/ssl_gn/moz.build > +++ third_party/libwebrtc/rtc_base/ssl_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -93119,7 +95347,7 @@ index 588493046811..75f5872592d6 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -93212,6 +95440,10 @@ index 588493046811..75f5872592d6 100644 > - 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": > >@@ -93225,7 +95457,7 @@ index 588493046811..75f5872592d6 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -93278,7 +95510,7 @@ index 588493046811..75f5872592d6 100644 > - > Library("ssl_gn") > diff --git third_party/libwebrtc/rtc_base/stringutils_gn/moz.build third_party/libwebrtc/rtc_base/stringutils_gn/moz.build >-index 043cf1267826..5c8050faccb3 100644 >+index 3a9379a6bc47..5c8050faccb3 100644 > --- third_party/libwebrtc/rtc_base/stringutils_gn/moz.build > +++ third_party/libwebrtc/rtc_base/stringutils_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -93302,7 +95534,7 @@ index 043cf1267826..5c8050faccb3 100644 > > FINAL_LIBRARY = "xul" > >-@@ -47,175 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -47,179 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -93403,6 +95635,10 @@ index 043cf1267826..5c8050faccb3 100644 > - 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": > >@@ -93485,7 +95721,7 @@ index 043cf1267826..5c8050faccb3 100644 > > 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 1482128adf71..1d1169bf8b1c 100644 >+index f095e4d464fa..1d1169bf8b1c 100644 > --- third_party/libwebrtc/rtc_base/strong_alias_gn/moz.build > +++ third_party/libwebrtc/rtc_base/strong_alias_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -93509,7 +95745,7 @@ index 1482128adf71..1d1169bf8b1c 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -93602,6 +95838,10 @@ index 1482128adf71..1d1169bf8b1c 100644 > - 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": > >@@ -93615,7 +95855,7 @@ index 1482128adf71..1d1169bf8b1c 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -93668,7 +95908,7 @@ index 1482128adf71..1d1169bf8b1c 100644 > - > 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 02df0bc1e9d0..f8f4f5f791c7 100644 >+index 3fc5f7cf3ddc..f8f4f5f791c7 100644 > --- third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build > +++ third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -93692,7 +95932,7 @@ index 02df0bc1e9d0..f8f4f5f791c7 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -93789,6 +96029,10 @@ index 02df0bc1e9d0..f8f4f5f791c7 100644 > - 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": > >@@ -93802,7 +96046,7 @@ index 02df0bc1e9d0..f8f4f5f791c7 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -93855,7 +96099,7 @@ index 02df0bc1e9d0..f8f4f5f791c7 100644 > - > 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 c3a4d84e0118..0b02cb2f3fe4 100644 >+index ba727290af65..0b02cb2f3fe4 100644 > --- third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build > +++ third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -93879,7 +96123,7 @@ index c3a4d84e0118..0b02cb2f3fe4 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -93976,6 +96220,10 @@ index c3a4d84e0118..0b02cb2f3fe4 100644 > - 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": > >@@ -93989,7 +96237,7 @@ index c3a4d84e0118..0b02cb2f3fe4 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -94042,7 +96290,7 @@ index c3a4d84e0118..0b02cb2f3fe4 100644 > - > Library("mutex_gn") > diff --git third_party/libwebrtc/rtc_base/synchronization/sequence_checker_internal_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/sequence_checker_internal_gn/moz.build >-index 6dbc32707222..ca17fd6c0ab5 100644 >+index 570234e8e2b0..ca17fd6c0ab5 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -94066,7 +96314,7 @@ index 6dbc32707222..ca17fd6c0ab5 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -94167,6 +96415,10 @@ index 6dbc32707222..ca17fd6c0ab5 100644 > - 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": > >@@ -94249,7 +96501,7 @@ index 6dbc32707222..ca17fd6c0ab5 100644 > > Library("sequence_checker_internal_gn") > diff --git third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build >-index abbfb7d88f0c..197cc9f03ae6 100644 >+index 662dc4ca7ae1..197cc9f03ae6 100644 > --- third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build > +++ third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -94273,7 +96525,7 @@ index abbfb7d88f0c..197cc9f03ae6 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,171 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -94370,6 +96622,10 @@ index abbfb7d88f0c..197cc9f03ae6 100644 > - 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": > >@@ -94452,7 +96708,7 @@ index abbfb7d88f0c..197cc9f03ae6 100644 > > Library("yield_gn") > diff --git third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build >-index 431b04bd3e87..32deffc163e4 100644 >+index 45cb36beecd3..32deffc163e4 100644 > --- third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build > +++ third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -94476,7 +96732,7 @@ index 431b04bd3e87..32deffc163e4 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -94577,6 +96833,10 @@ index 431b04bd3e87..32deffc163e4 100644 > - 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": > >@@ -94659,7 +96919,7 @@ index 431b04bd3e87..32deffc163e4 100644 > > 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 94147d238446..a2e813fa095d 100644 >+index c3db5cb3ded8..a2e813fa095d 100644 > --- third_party/libwebrtc/rtc_base/system/arch_gn/moz.build > +++ third_party/libwebrtc/rtc_base/system/arch_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -94683,7 +96943,7 @@ index 94147d238446..a2e813fa095d 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -94776,6 +97036,10 @@ index 94147d238446..a2e813fa095d 100644 > - 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": > >@@ -94789,7 +97053,7 @@ index 94147d238446..a2e813fa095d 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -95000,7 +97264,7 @@ index 558f19324d33..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 872970190e43..f7eba12a6be4 100644 >+index c5dee909a263..f7eba12a6be4 100644 > --- third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build > +++ third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -95024,7 +97288,7 @@ index 872970190e43..f7eba12a6be4 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -95125,6 +97389,10 @@ index 872970190e43..f7eba12a6be4 100644 > - 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": > >@@ -95280,7 +97548,7 @@ index ebb3552a5504..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 588adc9c5f98..b48a3638292c 100644 >+index 5d57390d5397..b48a3638292c 100644 > --- third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build > +++ third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -95304,7 +97572,7 @@ index 588adc9c5f98..b48a3638292c 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -95397,6 +97665,10 @@ index 588adc9c5f98..b48a3638292c 100644 > - 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": > >@@ -95410,7 +97682,7 @@ index 588adc9c5f98..b48a3638292c 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -95463,7 +97735,7 @@ index 588adc9c5f98..b48a3638292c 100644 > - > 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 3cd97d6312ac..4a835c05d986 100644 >+index a7d22c9d0e49..4a835c05d986 100644 > --- third_party/libwebrtc/rtc_base/system/inline_gn/moz.build > +++ third_party/libwebrtc/rtc_base/system/inline_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -95487,7 +97759,7 @@ index 3cd97d6312ac..4a835c05d986 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -95580,6 +97852,10 @@ index 3cd97d6312ac..4a835c05d986 100644 > - 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": > >@@ -95593,7 +97869,7 @@ index 3cd97d6312ac..4a835c05d986 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -95646,7 +97922,7 @@ index 3cd97d6312ac..4a835c05d986 100644 > - > 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 e7146144ea23..c2c0856a03a4 100644 >+index 790097730f5b..c2c0856a03a4 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -95670,7 +97946,7 @@ index e7146144ea23..c2c0856a03a4 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -95763,6 +98039,10 @@ index e7146144ea23..c2c0856a03a4 100644 > - 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": > >@@ -95776,7 +98056,7 @@ index e7146144ea23..c2c0856a03a4 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -95829,7 +98109,7 @@ index e7146144ea23..c2c0856a03a4 100644 > - > 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 3b024cb8e16b..c60c915ab864 100644 >+index 5fc704343e06..c60c915ab864 100644 > --- third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build > +++ third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -95853,7 +98133,7 @@ index 3b024cb8e16b..c60c915ab864 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -95946,6 +98226,10 @@ index 3b024cb8e16b..c60c915ab864 100644 > - 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": > >@@ -95959,7 +98243,7 @@ index 3b024cb8e16b..c60c915ab864 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -96012,7 +98296,7 @@ index 3b024cb8e16b..c60c915ab864 100644 > - > 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 8d92ad4ae35b..55dff7ae76d6 100644 >+index f7b9e968bc50..55dff7ae76d6 100644 > --- third_party/libwebrtc/rtc_base/system/unused_gn/moz.build > +++ third_party/libwebrtc/rtc_base/system/unused_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -96036,7 +98320,7 @@ index 8d92ad4ae35b..55dff7ae76d6 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -96129,6 +98413,10 @@ index 8d92ad4ae35b..55dff7ae76d6 100644 > - 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": > >@@ -96142,7 +98430,7 @@ index 8d92ad4ae35b..55dff7ae76d6 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -96195,7 +98483,7 @@ index 8d92ad4ae35b..55dff7ae76d6 100644 > - > 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 7afddc34d91f..4a52fef8ab31 100644 >+index 5fcc0bfdb857..4a52fef8ab31 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -96219,7 +98507,7 @@ index 7afddc34d91f..4a52fef8ab31 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -96312,6 +98600,10 @@ index 7afddc34d91f..4a52fef8ab31 100644 > - 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": > >@@ -96325,7 +98617,7 @@ index 7afddc34d91f..4a52fef8ab31 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -96378,7 +98670,7 @@ index 7afddc34d91f..4a52fef8ab31 100644 > - > Library("warn_current_thread_is_deadlocked_gn") > diff --git third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build >-index a08d15db631d..e4e1313c11ac 100644 >+index 7cf1e2075a0f..e4e1313c11ac 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -96402,7 +98694,7 @@ index a08d15db631d..e4e1313c11ac 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -96514,6 +98806,10 @@ index a08d15db631d..e4e1313c11ac 100644 > - 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": > >@@ -96596,7 +98892,7 @@ index a08d15db631d..e4e1313c11ac 100644 > > 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 9066404bc9d4..17a7e7e1fd02 100644 >+index 6450a0f93d9c..17a7e7e1fd02 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -96620,7 +98916,7 @@ index 9066404bc9d4..17a7e7e1fd02 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -96721,6 +99017,10 @@ index 9066404bc9d4..17a7e7e1fd02 100644 > - 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": > >@@ -96803,7 +99103,7 @@ index 9066404bc9d4..17a7e7e1fd02 100644 > > 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 160751ed9c41..0ffbd2fcb7c5 100644 >+index c49d14388071..0ffbd2fcb7c5 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -96827,7 +99127,7 @@ index 160751ed9c41..0ffbd2fcb7c5 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,171 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -96924,6 +99224,10 @@ index 160751ed9c41..0ffbd2fcb7c5 100644 > - 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": > >@@ -97006,7 +99310,7 @@ index 160751ed9c41..0ffbd2fcb7c5 100644 > > Library("sigslot_gn") > diff --git third_party/libwebrtc/rtc_base/threading_gn/moz.build third_party/libwebrtc/rtc_base/threading_gn/moz.build >-index 6568873a7ebf..f9660eb3f4bf 100644 >+index e7736326f899..f9660eb3f4bf 100644 > --- third_party/libwebrtc/rtc_base/threading_gn/moz.build > +++ third_party/libwebrtc/rtc_base/threading_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -97030,7 +99334,7 @@ index 6568873a7ebf..f9660eb3f4bf 100644 > > FINAL_LIBRARY = "xul" > >-@@ -46,199 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -46,203 +55,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -97155,6 +99459,10 @@ index 6568873a7ebf..f9660eb3f4bf 100644 > - 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": > >@@ -97237,7 +99545,7 @@ index 6568873a7ebf..f9660eb3f4bf 100644 > > Library("threading_gn") > diff --git third_party/libwebrtc/rtc_base/timeutils_gn/moz.build third_party/libwebrtc/rtc_base/timeutils_gn/moz.build >-index 0c8184e3775b..b0b2d2ee8d11 100644 >+index d0e0c964838e..b0b2d2ee8d11 100644 > --- third_party/libwebrtc/rtc_base/timeutils_gn/moz.build > +++ third_party/libwebrtc/rtc_base/timeutils_gn/moz.build > @@ -12,12 +12,21 @@ AllowCompilerWarnings() >@@ -97262,7 +99570,7 @@ index 0c8184e3775b..b0b2d2ee8d11 100644 > > FINAL_LIBRARY = "xul" > >-@@ -45,182 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -97370,6 +99678,10 @@ index 0c8184e3775b..b0b2d2ee8d11 100644 > - 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": > >@@ -97452,7 +99764,7 @@ index 0c8184e3775b..b0b2d2ee8d11 100644 > > 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 38efb9bc482c..3eaba3fb643a 100644 >+index 53e285beefd0..3eaba3fb643a 100644 > --- third_party/libwebrtc/rtc_base/type_traits_gn/moz.build > +++ third_party/libwebrtc/rtc_base/type_traits_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -97476,7 +99788,7 @@ index 38efb9bc482c..3eaba3fb643a 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -97569,6 +99881,10 @@ index 38efb9bc482c..3eaba3fb643a 100644 > - 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": > >@@ -97582,7 +99898,7 @@ index 38efb9bc482c..3eaba3fb643a 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -97635,7 +99951,7 @@ index 38efb9bc482c..3eaba3fb643a 100644 > - > 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 7b5ecf6a0ced..8adce8dc7f84 100644 >+index 20c6f058f674..8adce8dc7f84 100644 > --- third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build > +++ third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -97659,7 +99975,7 @@ index 7b5ecf6a0ced..8adce8dc7f84 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -97752,6 +100068,10 @@ index 7b5ecf6a0ced..8adce8dc7f84 100644 > - 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": > >@@ -97765,7 +100085,7 @@ index 7b5ecf6a0ced..8adce8dc7f84 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -97818,7 +100138,7 @@ index 7b5ecf6a0ced..8adce8dc7f84 100644 > - > 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 d08129d5efdc..694cd6886a8f 100644 >+index 8a5700f89120..694cd6886a8f 100644 > --- third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build > +++ third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -97842,7 +100162,7 @@ index d08129d5efdc..694cd6886a8f 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -97939,6 +100259,10 @@ index d08129d5efdc..694cd6886a8f 100644 > - 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": > >@@ -97952,7 +100276,7 @@ index d08129d5efdc..694cd6886a8f 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -98005,7 +100329,7 @@ index d08129d5efdc..694cd6886a8f 100644 > - > Library("unit_base_gn") > diff --git third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build >-index 7cdfa4215e74..44308d06766c 100644 >+index 037497b88501..44308d06766c 100644 > --- third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build > +++ third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -98029,7 +100353,7 @@ index 7cdfa4215e74..44308d06766c 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -98130,6 +100454,10 @@ index 7cdfa4215e74..44308d06766c 100644 > - 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": > >@@ -98674,7 +101002,7 @@ index 0c72f4850db5..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 6e9d4c6f26bc..8364eaec6364 100644 >+index 6571d6610000..8364eaec6364 100644 > --- third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build > +++ third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -98698,7 +101026,7 @@ index 6e9d4c6f26bc..8364eaec6364 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -98799,6 +101127,10 @@ index 6e9d4c6f26bc..8364eaec6364 100644 > - 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": > >@@ -99203,7 +101535,7 @@ index f705e220de43..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 121fdcf9ba99..6bd1fd6680b8 100644 >+index 12ee5d255fe2..6bd1fd6680b8 100644 > --- third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build > +++ third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -99227,7 +101559,7 @@ index 121fdcf9ba99..6bd1fd6680b8 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -99328,6 +101660,10 @@ index 121fdcf9ba99..6bd1fd6680b8 100644 > - 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": > >@@ -99410,7 +101746,7 @@ index 121fdcf9ba99..6bd1fd6680b8 100644 > > 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 af17d92bd546..a701c73887a2 100644 >+index 2c548ba00fb6..a701c73887a2 100644 > --- third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build > +++ third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -99434,7 +101770,7 @@ index af17d92bd546..a701c73887a2 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -99542,6 +101878,10 @@ index af17d92bd546..a701c73887a2 100644 > - 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": > >@@ -99624,7 +101964,7 @@ index af17d92bd546..a701c73887a2 100644 > > Library("field_trial_gn") > diff --git third_party/libwebrtc/system_wrappers/metrics_gn/moz.build third_party/libwebrtc/system_wrappers/metrics_gn/moz.build >-index 5967d9b1a6d2..e2880acbca11 100644 >+index 57f648c68c3e..e2880acbca11 100644 > --- third_party/libwebrtc/system_wrappers/metrics_gn/moz.build > +++ third_party/libwebrtc/system_wrappers/metrics_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -99648,7 +101988,7 @@ index 5967d9b1a6d2..e2880acbca11 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -99749,6 +102089,10 @@ index 5967d9b1a6d2..e2880acbca11 100644 > - 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": > >@@ -99831,7 +102175,7 @@ index 5967d9b1a6d2..e2880acbca11 100644 > > Library("metrics_gn") > diff --git third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build >-index ac84bace6eb9..ed99cf26c467 100644 >+index 315dc3c5a19f..ed99cf26c467 100644 > --- third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build > +++ third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -99855,7 +102199,7 @@ index ac84bace6eb9..ed99cf26c467 100644 > > FINAL_LIBRARY = "xul" > >-@@ -47,196 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -47,200 +56,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -99977,6 +102321,10 @@ index ac84bace6eb9..ed99cf26c467 100644 > - 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": > >@@ -100059,7 +102407,7 @@ index ac84bace6eb9..ed99cf26c467 100644 > > Library("system_wrappers_gn") > diff --git third_party/libwebrtc/test/network/simulated_network_gn/moz.build third_party/libwebrtc/test/network/simulated_network_gn/moz.build >-index a2f3761b98c9..40a957d79e39 100644 >+index eef00c758907..40a957d79e39 100644 > --- third_party/libwebrtc/test/network/simulated_network_gn/moz.build > +++ third_party/libwebrtc/test/network/simulated_network_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -100083,7 +102431,7 @@ index a2f3761b98c9..40a957d79e39 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -100184,6 +102532,10 @@ index a2f3761b98c9..40a957d79e39 100644 > - 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": > >@@ -100266,7 +102618,7 @@ index a2f3761b98c9..40a957d79e39 100644 > > Library("simulated_network_gn") > diff --git third_party/libwebrtc/test/rtp_test_utils_gn/moz.build third_party/libwebrtc/test/rtp_test_utils_gn/moz.build >-index fc88c173de0d..647a18cc18ac 100644 >+index 8ba53a95692c..647a18cc18ac 100644 > --- third_party/libwebrtc/test/rtp_test_utils_gn/moz.build > +++ third_party/libwebrtc/test/rtp_test_utils_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -100290,7 +102642,7 @@ index fc88c173de0d..647a18cc18ac 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,120 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,124 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -100399,6 +102751,10 @@ index fc88c173de0d..647a18cc18ac 100644 > - 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": > >@@ -100412,7 +102768,7 @@ index fc88c173de0d..647a18cc18ac 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -162,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -166,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -100465,7 +102821,7 @@ index fc88c173de0d..647a18cc18ac 100644 > - > 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 0da83a9219f4..97b58e494521 100644 >+index d98bce783d99..8f144a997544 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" >@@ -100484,7 +102840,7 @@ index 0da83a9219f4..97b58e494521 100644 > > FINAL_LIBRARY = "xul" > >-@@ -41,102 +50,19 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -41,107 +50,23 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -100576,6 +102932,11 @@ index 0da83a9219f4..97b58e494521 100644 > - > - DEFINES["HAVE_MM_PREFETCH"] = "0" > - >+ if CONFIG["TARGET_CPU"] == "loongarch64": >+ >+ DEFINES["HAVE_MM_PREFETCH"] = "0" >+- DEFINES["_GNU_SOURCE"] = True >+ > if CONFIG["TARGET_CPU"] == "mips32": > > DEFINES["HAVE_MM_PREFETCH"] = "0" >@@ -100588,7 +102949,7 @@ index 0da83a9219f4..97b58e494521 100644 > > if CONFIG["TARGET_CPU"] == "ppc64": > >-@@ -148,66 +74,18 @@ if CONFIG["TARGET_CPU"] == "riscv64": >+@@ -153,66 +78,18 @@ if CONFIG["TARGET_CPU"] == "riscv64": > > if CONFIG["TARGET_CPU"] == "x86": > >@@ -100661,7 +103022,7 @@ index 0da83a9219f4..97b58e494521 100644 > > 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 02bd56fbd454..4be91cd5ce24 100644 >+index 54cb56e40a71..ea59cd60aa8b 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" >@@ -100680,7 +103041,7 @@ index 02bd56fbd454..4be91cd5ce24 100644 > > FINAL_LIBRARY = "xul" > >-@@ -42,102 +51,19 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -42,107 +51,23 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -100772,6 +103133,11 @@ index 02bd56fbd454..4be91cd5ce24 100644 > - > - DEFINES["HAVE_MM_PREFETCH"] = "0" > - >+ if CONFIG["TARGET_CPU"] == "loongarch64": >+ >+ DEFINES["HAVE_MM_PREFETCH"] = "0" >+- DEFINES["_GNU_SOURCE"] = True >+ > if CONFIG["TARGET_CPU"] == "mips32": > > DEFINES["HAVE_MM_PREFETCH"] = "0" >@@ -100784,7 +103150,7 @@ index 02bd56fbd454..4be91cd5ce24 100644 > > if CONFIG["TARGET_CPU"] == "ppc64": > >-@@ -149,66 +75,18 @@ if CONFIG["TARGET_CPU"] == "riscv64": >+@@ -154,66 +79,18 @@ if CONFIG["TARGET_CPU"] == "riscv64": > > if CONFIG["TARGET_CPU"] == "x86": > >@@ -100857,7 +103223,7 @@ index 02bd56fbd454..4be91cd5ce24 100644 > > 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 86c319ca059d..f7a92bd53658 100644 >+index 80580f19b47c..f7a92bd53658 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 @@ >@@ -100875,7 +103241,7 @@ index 86c319ca059d..f7a92bd53658 100644 > FINAL_LIBRARY = "xul" > > >-@@ -29,123 +37,10 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -29,127 +37,10 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -100944,6 +103310,10 @@ index 86c319ca059d..f7a92bd53658 100644 > - DEFINES["_WINDOWS"] = True > - DEFINES["__STD_C"] = True > - >+-if CONFIG["TARGET_CPU"] == "loongarch64": >+- >+- DEFINES["_GNU_SOURCE"] = True >+- > -if CONFIG["TARGET_CPU"] == "mips32": > - > - DEFINES["_GNU_SOURCE"] = True >@@ -101001,7 +103371,7 @@ index 86c319ca059d..f7a92bd53658 100644 > - > 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 6d124a37625c..603361341c04 100644 >+index d06b3dade25e..4208f752cbc2 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" >@@ -101020,7 +103390,7 @@ index 6d124a37625c..603361341c04 100644 > > FINAL_LIBRARY = "xul" > >-@@ -41,102 +50,19 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -41,107 +50,23 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -101112,6 +103482,11 @@ index 6d124a37625c..603361341c04 100644 > - > - DEFINES["HAVE_MM_PREFETCH"] = "0" > - >+ if CONFIG["TARGET_CPU"] == "loongarch64": >+ >+ DEFINES["HAVE_MM_PREFETCH"] = "0" >+- DEFINES["_GNU_SOURCE"] = True >+ > if CONFIG["TARGET_CPU"] == "mips32": > > DEFINES["HAVE_MM_PREFETCH"] = "0" >@@ -101124,7 +103499,7 @@ index 6d124a37625c..603361341c04 100644 > > if CONFIG["TARGET_CPU"] == "ppc64": > >-@@ -148,66 +74,18 @@ if CONFIG["TARGET_CPU"] == "riscv64": >+@@ -153,66 +78,18 @@ if CONFIG["TARGET_CPU"] == "riscv64": > > if CONFIG["TARGET_CPU"] == "x86": > >@@ -101197,7 +103572,7 @@ index 6d124a37625c..603361341c04 100644 > > 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 b7e4f6fe3f5d..05dfadacfca8 100644 >+index 3773aea3b30c..05dfadacfca8 100644 > --- third_party/libwebrtc/third_party/dav1d/dav1d_gn/moz.build > +++ third_party/libwebrtc/third_party/dav1d/dav1d_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -101221,7 +103596,7 @@ index b7e4f6fe3f5d..05dfadacfca8 100644 > > FINAL_LIBRARY = "xul" > >-@@ -41,104 +50,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -41,108 +50,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -101314,6 +103689,10 @@ index b7e4f6fe3f5d..05dfadacfca8 100644 > - 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": > >@@ -101327,7 +103706,7 @@ index b7e4f6fe3f5d..05dfadacfca8 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -148,50 +70,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -152,50 +70,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -101476,7 +103855,7 @@ index 5334af6f6d3e..8ac69036fd19 100644 > DEFINES["USE_X11"] = "1" > > diff --git third_party/libwebrtc/third_party/libaom/libaom_gn/moz.build third_party/libwebrtc/third_party/libaom/libaom_gn/moz.build >-index a05efa9c4a68..93fd56af47e5 100644 >+index 8a8fc71f17af..93fd56af47e5 100644 > --- third_party/libwebrtc/third_party/libaom/libaom_gn/moz.build > +++ third_party/libwebrtc/third_party/libaom/libaom_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -101500,7 +103879,7 @@ index a05efa9c4a68..93fd56af47e5 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -101593,6 +103972,10 @@ index a05efa9c4a68..93fd56af47e5 100644 > - 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": > >@@ -101606,7 +103989,7 @@ index a05efa9c4a68..93fd56af47e5 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -146,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -101707,7 +104090,7 @@ index 22ab191e5227..a27cb940a7c6 100644 > 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 0684aa253592..0536f67f8865 100644 >+index 4a72444177d6..0536f67f8865 100644 > --- third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build > +++ third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -101731,7 +104114,7 @@ index 0684aa253592..0536f67f8865 100644 > > FINAL_LIBRARY = "xul" > >-@@ -41,104 +50,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -41,108 +50,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -101824,6 +104207,10 @@ index 0684aa253592..0536f67f8865 100644 > - 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": > >@@ -101837,7 +104224,7 @@ index 0684aa253592..0536f67f8865 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -148,50 +70,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -152,50 +70,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -101890,7 +104277,7 @@ index 0684aa253592..0536f67f8865 100644 > - > 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 836a04a7c723..4adcdaca807c 100644 >+index dc7c06ffc21f..1617e9c2e1bb 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 @@ >@@ -101908,7 +104295,7 @@ index 836a04a7c723..4adcdaca807c 100644 > FINAL_LIBRARY = "xul" > > >-@@ -33,87 +41,15 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -33,92 +41,19 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -101985,6 +104372,11 @@ index 836a04a7c723..4adcdaca807c 100644 > - ] > + DEFINES["_DEBUG"] = True > >+ if CONFIG["TARGET_CPU"] == "loongarch64": >+ >+ DEFINES["PFFFT_SIMD_DISABLE"] = True >+- DEFINES["_GNU_SOURCE"] = True >+ > if CONFIG["TARGET_CPU"] == "mips32": > > DEFINES["PFFFT_SIMD_DISABLE"] = True >@@ -101997,7 +104389,7 @@ index 836a04a7c723..4adcdaca807c 100644 > > if CONFIG["TARGET_CPU"] == "ppc64": > >-@@ -123,60 +59,14 @@ if CONFIG["TARGET_CPU"] == "riscv64": >+@@ -128,60 +63,14 @@ if CONFIG["TARGET_CPU"] == "riscv64": > > DEFINES["PFFFT_SIMD_DISABLE"] = True > >@@ -102111,7 +104503,7 @@ index 7ee6d71247e1..e5048d9d598c 100644 > DEFINES["USE_X11"] = "1" > > 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 b10b4c330ef8..3703f7ef3366 100644 >+index 2dfd79a68cf7..3703f7ef3366 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 @@ >@@ -102129,7 +104521,7 @@ index b10b4c330ef8..3703f7ef3366 100644 > FINAL_LIBRARY = "xul" > > >-@@ -33,139 +41,16 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -33,143 +41,16 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -102204,6 +104596,10 @@ index b10b4c330ef8..3703f7ef3366 100644 > - "-mfpu=neon" > - ] > - >+-if CONFIG["TARGET_CPU"] == "loongarch64": >+- >+- DEFINES["_GNU_SOURCE"] = True >+- > -if CONFIG["TARGET_CPU"] == "mips32": > - > - DEFINES["_GNU_SOURCE"] = True >@@ -102243,15 +104639,13 @@ index b10b4c330ef8..3703f7ef3366 100644 > - ] > - > -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": >-+if CONFIG["TARGET_CPU"] == "x86": >- >- CXXFLAGS += [ >- "-msse2" >- ] >- >+- >+- CXXFLAGS += [ >+- "-msse2" >+- ] >+- > -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": >-+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >- >+- > - DEFINES["_GNU_SOURCE"] = True > - > -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": >@@ -102259,21 +104653,23 @@ index b10b4c330ef8..3703f7ef3366 100644 > - DEFINES["_GNU_SOURCE"] = True > - > -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": >-- >-- CXXFLAGS += [ >-- "-msse2" >-- ] >-- >++if CONFIG["TARGET_CPU"] == "x86": >+ >+ CXXFLAGS += [ >+ "-msse2" >+ ] >+ > - 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["_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 7872540d1534..393215e34c1e 100644 >+index 07c16154f97d..393215e34c1e 100644 > --- third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build > +++ third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -102297,7 +104693,7 @@ index 7872540d1534..393215e34c1e 100644 > > FINAL_LIBRARY = "xul" > >-@@ -51,187 +60,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -51,191 +60,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -102410,6 +104806,10 @@ index 7872540d1534..393215e34c1e 100644 > - 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": > >@@ -102492,7 +104892,7 @@ index 7872540d1534..393215e34c1e 100644 > > Library("video_adaptation_gn") > diff --git third_party/libwebrtc/video/config/encoder_config_gn/moz.build third_party/libwebrtc/video/config/encoder_config_gn/moz.build >-index f7222a0442b9..eebc89a69ef7 100644 >+index b48b001014bc..eebc89a69ef7 100644 > --- third_party/libwebrtc/video/config/encoder_config_gn/moz.build > +++ third_party/libwebrtc/video/config/encoder_config_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -102516,7 +104916,225 @@ index f7222a0442b9..eebc89a69ef7 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+ if CONFIG["MOZ_DEBUG"] == "1": >+ >+ DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >+- >+-if CONFIG["OS_TARGET"] == "Android": >+- >+- DEFINES["ANDROID"] = True >+- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" >+- DEFINES["HAVE_SYS_UIO_H"] = True >+- DEFINES["WEBRTC_ANDROID"] = True >+- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True >+- DEFINES["WEBRTC_LINUX"] = True >+- DEFINES["WEBRTC_POSIX"] = True >+- DEFINES["_GNU_SOURCE"] = True >+- DEFINES["__STDC_CONSTANT_MACROS"] = True >+- DEFINES["__STDC_FORMAT_MACROS"] = True >+- >+- OS_LIBS += [ >+- "log" >+- ] >+- >+-if CONFIG["OS_TARGET"] == "Darwin": >+- >+- DEFINES["WEBRTC_MAC"] = True >+- DEFINES["WEBRTC_POSIX"] = True >+- DEFINES["_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["USE_AURA"] = "1" >+- DEFINES["USE_GLIB"] = "1" >+- DEFINES["USE_NSS_CERTS"] = "1" >+- DEFINES["USE_OZONE"] = "1" >+- DEFINES["USE_UDEV"] = True >+- DEFINES["WEBRTC_LINUX"] = 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"] == "OpenBSD": >+- >+- DEFINES["USE_GLIB"] = "1" >+- DEFINES["USE_OZONE"] = "1" >+- DEFINES["USE_X11"] = "1" >+- DEFINES["WEBRTC_BSD"] = True >+- DEFINES["WEBRTC_POSIX"] = True >+- DEFINES["_FILE_OFFSET_BITS"] = "64" >+- DEFINES["_LARGEFILE64_SOURCE"] = True >+- DEFINES["_LARGEFILE_SOURCE"] = True >+- DEFINES["__STDC_CONSTANT_MACROS"] = True >+- DEFINES["__STDC_FORMAT_MACROS"] = True >+- >+-if CONFIG["OS_TARGET"] == "WINNT": >+- >+- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >+- DEFINES["NOMINMAX"] = True >+- DEFINES["NTDDI_VERSION"] = "0x0A000000" >+- DEFINES["PSAPI_VERSION"] = "2" >+- DEFINES["RTC_ENABLE_WIN_WGC"] = True >+- DEFINES["UNICODE"] = True >+- DEFINES["USE_AURA"] = "1" >+- DEFINES["WEBRTC_WIN"] = True >+- DEFINES["WIN32"] = True >+- DEFINES["WIN32_LEAN_AND_MEAN"] = True >+- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" >+- DEFINES["WINVER"] = "0x0A00" >+- DEFINES["_ATL_NO_OPENGL"] = True >+- DEFINES["_CRT_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["__STD_C"] = True >+- >+- OS_LIBS += [ >+- "crypt32", >+- "iphlpapi", >+- "secur32", >+- "winmm" >+- ] >++ DEFINES["_DEBUG"] = True >+ >+ if CONFIG["TARGET_CPU"] == "aarch64": >+ >+ DEFINES["WEBRTC_ARCH_ARM64"] = True >+ DEFINES["WEBRTC_HAS_NEON"] = True >+ >+-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["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": >+- >+- DEFINES["USE_X11"] = "1" >+- >+-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["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": >+- >+- DEFINES["_GNU_SOURCE"] = True >+- >+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": >+- >+- DEFINES["_GNU_SOURCE"] = True >+- >+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": >++ DEFINES["WEBRTC_ENABLE_AVX2"] = True >+ >+- CXXFLAGS += [ >+- "-msse2" >+- ] >++if CONFIG["TARGET_CPU"] == "x86_64": >+ >+- DEFINES["_GNU_SOURCE"] = True >++ DEFINES["WEBRTC_ENABLE_AVX2"] = True >+ >+-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": >++if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >+ >+- DEFINES["_GNU_SOURCE"] = True >++ DEFINES["USE_X11"] = "1" >+ >+ 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 b3f38848dde8..02e9a43bc366 100644 >+--- third_party/libwebrtc/video/config/streams_config_gn/moz.build >++++ third_party/libwebrtc/video/config/streams_config_gn/moz.build >+@@ -12,11 +12,20 @@ AllowCompilerWarnings() >+ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" >+ 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["__STDC_CONSTANT_MACROS"] = True >++DEFINES["__STDC_FORMAT_MACROS"] = True >+ >+ FINAL_LIBRARY = "xul" >+ >+@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -102535,6 +105153,7 @@ index f7222a0442b9..eebc89a69ef7 100644 > - DEFINES["__STDC_FORMAT_MACROS"] = True > - > - OS_LIBS += [ >+- "GLESv2", > - "log" > - ] > - >@@ -102562,6 +105181,10 @@ index f7222a0442b9..eebc89a69ef7 100644 > - DEFINES["__STDC_CONSTANT_MACROS"] = True > - DEFINES["__STDC_FORMAT_MACROS"] = True > - >+- OS_LIBS += [ >+- "rt" >+- ] >+- > -if CONFIG["OS_TARGET"] == "OpenBSD": > - > - DEFINES["USE_GLIB"] = "1" >@@ -102624,6 +105247,10 @@ index f7222a0442b9..eebc89a69ef7 100644 > - 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": > >@@ -102704,11 +105331,11 @@ index f7222a0442b9..eebc89a69ef7 100644 > - DEFINES["_GNU_SOURCE"] = True > + DEFINES["USE_X11"] = "1" > >- 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 314bbfae9c23..02e9a43bc366 100644 >---- third_party/libwebrtc/video/config/streams_config_gn/moz.build >-+++ third_party/libwebrtc/video/config/streams_config_gn/moz.build >+ 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 6aeed8259081..670e89595328 100644 >+--- third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build >++++ third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() > DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" > DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True >@@ -102730,7 +105357,7 @@ index 314bbfae9c23..02e9a43bc366 100644 > > FINAL_LIBRARY = "xul" > >-@@ -44,187 +53,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -102749,7 +105376,6 @@ index 314bbfae9c23..02e9a43bc366 100644 > - DEFINES["__STDC_FORMAT_MACROS"] = True > - > - OS_LIBS += [ >-- "GLESv2", > - "log" > - ] > - >@@ -102777,10 +105403,6 @@ index 314bbfae9c23..02e9a43bc366 100644 > - DEFINES["__STDC_CONSTANT_MACROS"] = True > - DEFINES["__STDC_FORMAT_MACROS"] = True > - >-- OS_LIBS += [ >-- "rt" >-- ] >-- > -if CONFIG["OS_TARGET"] == "OpenBSD": > - > - DEFINES["USE_GLIB"] = "1" >@@ -102843,6 +105465,10 @@ index 314bbfae9c23..02e9a43bc366 100644 > - 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": > >@@ -102923,11 +105549,11 @@ index 314bbfae9c23..02e9a43bc366 100644 > - DEFINES["_GNU_SOURCE"] = True > + DEFINES["USE_X11"] = "1" > >- 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 ea767b9d0c5b..670e89595328 100644 >---- third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build >-+++ third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build >+ 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 9e7ad18b2421..a79ced32f2f1 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() > DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" > DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True >@@ -102949,7 +105575,7 @@ index ea767b9d0c5b..670e89595328 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -103057,6 +105683,10 @@ index ea767b9d0c5b..670e89595328 100644 > - 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": > >@@ -103137,11 +105767,11 @@ index ea767b9d0c5b..670e89595328 100644 > - DEFINES["_GNU_SOURCE"] = True > + DEFINES["USE_X11"] = "1" > >- 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 a7e1e8b5611a..a79ced32f2f1 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 >+ 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 5a1b79701b0b..0cfa6950a537 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() > DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" > DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True >@@ -103163,7 +105793,7 @@ index a7e1e8b5611a..a79ced32f2f1 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -103182,6 +105812,7 @@ index a7e1e8b5611a..a79ced32f2f1 100644 > - DEFINES["__STDC_FORMAT_MACROS"] = True > - > - OS_LIBS += [ >+- "GLESv2", > - "log" > - ] > - >@@ -103209,6 +105840,10 @@ index a7e1e8b5611a..a79ced32f2f1 100644 > - DEFINES["__STDC_CONSTANT_MACROS"] = True > - DEFINES["__STDC_FORMAT_MACROS"] = True > - >+- OS_LIBS += [ >+- "rt" >+- ] >+- > -if CONFIG["OS_TARGET"] == "OpenBSD": > - > - DEFINES["USE_GLIB"] = "1" >@@ -103271,6 +105906,10 @@ index a7e1e8b5611a..a79ced32f2f1 100644 > - 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": > >@@ -103351,11 +105990,11 @@ index a7e1e8b5611a..a79ced32f2f1 100644 > - DEFINES["_GNU_SOURCE"] = True > + DEFINES["USE_X11"] = "1" > >- 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 ed6bd46f000e..0cfa6950a537 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 >+ 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 0e7ce07afba2..2a396481ef05 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() > DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" > DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True >@@ -103377,7 +106016,7 @@ index ed6bd46f000e..0cfa6950a537 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,187 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -103396,7 +106035,6 @@ index ed6bd46f000e..0cfa6950a537 100644 > - DEFINES["__STDC_FORMAT_MACROS"] = True > - > - OS_LIBS += [ >-- "GLESv2", > - "log" > - ] > - >@@ -103424,10 +106062,6 @@ index ed6bd46f000e..0cfa6950a537 100644 > - DEFINES["__STDC_CONSTANT_MACROS"] = True > - DEFINES["__STDC_FORMAT_MACROS"] = True > - >-- OS_LIBS += [ >-- "rt" >-- ] >-- > -if CONFIG["OS_TARGET"] == "OpenBSD": > - > - DEFINES["USE_GLIB"] = "1" >@@ -103490,6 +106124,10 @@ index ed6bd46f000e..0cfa6950a537 100644 > - 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": > >@@ -103570,11 +106208,11 @@ index ed6bd46f000e..0cfa6950a537 100644 > - DEFINES["_GNU_SOURCE"] = True > + DEFINES["USE_X11"] = "1" > >- 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 f646a6f79981..2a396481ef05 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 >+ 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 99c1fae3146f..6a61f9a394da 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() > DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" > DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True >@@ -103596,7 +106234,7 @@ index f646a6f79981..2a396481ef05 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -103704,6 +106342,10 @@ index f646a6f79981..2a396481ef05 100644 > - 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": > >@@ -103784,11 +106426,11 @@ index f646a6f79981..2a396481ef05 100644 > - DEFINES["_GNU_SOURCE"] = True > + DEFINES["USE_X11"] = "1" > >- 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 0b1c0347e5a9..6a61f9a394da 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 >+ 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 ffcf6099f6c0..968541539a49 100644 >+--- third_party/libwebrtc/video/corruption_detection/halton_sequence_gn/moz.build >++++ third_party/libwebrtc/video/corruption_detection/halton_sequence_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() > DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" > DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True >@@ -103810,7 +106452,7 @@ index 0b1c0347e5a9..6a61f9a394da 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -103895,13 +106537,6 @@ index 0b1c0347e5a9..6a61f9a394da 100644 > - DEFINES["_WIN32_WINNT"] = "0x0A00" > - DEFINES["_WINDOWS"] = True > - DEFINES["__STD_C"] = True >-- >-- OS_LIBS += [ >-- "crypt32", >-- "iphlpapi", >-- "secur32", >-- "winmm" >-- ] > + DEFINES["_DEBUG"] = True > > if CONFIG["TARGET_CPU"] == "aarch64": >@@ -103918,6 +106553,10 @@ index 0b1c0347e5a9..6a61f9a394da 100644 > - 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": > >@@ -103998,11 +106637,11 @@ index 0b1c0347e5a9..6a61f9a394da 100644 > - DEFINES["_GNU_SOURCE"] = True > + DEFINES["USE_X11"] = "1" > >- 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 f384019ab5f0..968541539a49 100644 >---- third_party/libwebrtc/video/corruption_detection/halton_sequence_gn/moz.build >-+++ third_party/libwebrtc/video/corruption_detection/halton_sequence_gn/moz.build >+ 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 d41c0c6b2925..014608d80234 100644 >+--- third_party/libwebrtc/video/decode_synchronizer_gn/moz.build >++++ third_party/libwebrtc/video/decode_synchronizer_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() > DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" > DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True >@@ -104024,7 +106663,7 @@ index f384019ab5f0..968541539a49 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -104070,6 +106709,10 @@ index f384019ab5f0..968541539a49 100644 > - DEFINES["__STDC_CONSTANT_MACROS"] = True > - DEFINES["__STDC_FORMAT_MACROS"] = True > - >+- OS_LIBS += [ >+- "rt" >+- ] >+- > -if CONFIG["OS_TARGET"] == "OpenBSD": > - > - DEFINES["USE_GLIB"] = "1" >@@ -104109,6 +106752,13 @@ index f384019ab5f0..968541539a49 100644 > - DEFINES["_WIN32_WINNT"] = "0x0A00" > - DEFINES["_WINDOWS"] = True > - DEFINES["__STD_C"] = True >+- >+- OS_LIBS += [ >+- "crypt32", >+- "iphlpapi", >+- "secur32", >+- "winmm" >+- ] > + DEFINES["_DEBUG"] = True > > if CONFIG["TARGET_CPU"] == "aarch64": >@@ -104125,6 +106775,10 @@ index f384019ab5f0..968541539a49 100644 > - 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": > >@@ -104205,11 +106859,11 @@ index f384019ab5f0..968541539a49 100644 > - DEFINES["_GNU_SOURCE"] = True > + DEFINES["USE_X11"] = "1" > >- 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 1e0e61b85b9a..014608d80234 100644 >---- third_party/libwebrtc/video/decode_synchronizer_gn/moz.build >-+++ third_party/libwebrtc/video/decode_synchronizer_gn/moz.build >+ 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 5b2a99954cc4..7ed9a69b2f88 100644 >+--- third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build >++++ third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() > DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" > DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True >@@ -104231,7 +106885,7 @@ index 1e0e61b85b9a..014608d80234 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -104343,6 +106997,10 @@ index 1e0e61b85b9a..014608d80234 100644 > - 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": > >@@ -104423,11 +107081,11 @@ index 1e0e61b85b9a..014608d80234 100644 > - DEFINES["_GNU_SOURCE"] = True > + DEFINES["USE_X11"] = "1" > >- 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 c0f6ea86207b..7ed9a69b2f88 100644 >---- third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build >-+++ third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build >+ 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 6859cfa6b9d4..b07b1298bb9a 100644 >+--- third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build >++++ third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() > DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" > DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True >@@ -104449,7 +107107,7 @@ index c0f6ea86207b..7ed9a69b2f88 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,123 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -104554,13 +107212,13 @@ index c0f6ea86207b..7ed9a69b2f88 100644 > > -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": > >@@ -104574,12 +107232,10 @@ index c0f6ea86207b..7ed9a69b2f88 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-- DEFINES["WEBRTC_ENABLE_AVX2"] = True >-- >--if CONFIG["TARGET_CPU"] == "x86_64": >-- >-- DEFINES["WEBRTC_ENABLE_AVX2"] = True >-- >+@@ -165,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+ >+ DEFINES["WEBRTC_ENABLE_AVX2"] = True >+ > -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": > - > - DEFINES["_DEBUG"] = True >@@ -104601,21 +107257,16 @@ index c0f6ea86207b..7ed9a69b2f88 100644 > - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" > - > -if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": >-- >-- DEFINES["USE_X11"] = "1" >-- >++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"] == "Android" and CONFIG["TARGET_CPU"] == "x86": >-- >- CXXFLAGS += [ >- "-msse2" >- ] >- > -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": > - > - DEFINES["_GNU_SOURCE"] = True >@@ -104625,27 +107276,18 @@ index c0f6ea86207b..7ed9a69b2f88 100644 > - DEFINES["_GNU_SOURCE"] = True > - > -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": >-+ DEFINES["WEBRTC_ENABLE_AVX2"] = True >- >-- CXXFLAGS += [ >-- "-msse2" >-- ] >-+if CONFIG["TARGET_CPU"] == "x86_64": >- >+- > - DEFINES["_GNU_SOURCE"] = True >-+ DEFINES["WEBRTC_ENABLE_AVX2"] = True >- >+- > -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": >-+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >- >+- > - DEFINES["_GNU_SOURCE"] = True >-+ DEFINES["USE_X11"] = "1" >- >- 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 703aefc182fe..b07b1298bb9a 100644 >---- third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build >-+++ third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build >+- >+ 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 8ef09f2eec94..c60e05070dc5 100644 >+--- third_party/libwebrtc/video/frame_decode_timing_gn/moz.build >++++ third_party/libwebrtc/video/frame_decode_timing_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() > DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" > DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True >@@ -104667,7 +107309,7 @@ index 703aefc182fe..b07b1298bb9a 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -104772,9 +107414,17 @@ index 703aefc182fe..b07b1298bb9a 100644 > > -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": > >@@ -104788,10 +107438,12 @@ index 703aefc182fe..b07b1298bb9a 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >- >- DEFINES["WEBRTC_ENABLE_AVX2"] = True >- >+- DEFINES["WEBRTC_ENABLE_AVX2"] = True >+- >+-if CONFIG["TARGET_CPU"] == "x86_64": >+- >+- DEFINES["WEBRTC_ENABLE_AVX2"] = True >+- > -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": > - > - DEFINES["_DEBUG"] = True >@@ -104813,16 +107465,21 @@ index 703aefc182fe..b07b1298bb9a 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" >- >+- >+- DEFINES["USE_X11"] = "1" >+- > -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["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": > - > - DEFINES["_GNU_SOURCE"] = True >@@ -104832,18 +107489,27 @@ index 703aefc182fe..b07b1298bb9a 100644 > - DEFINES["_GNU_SOURCE"] = True > - > -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": >-- >++ DEFINES["WEBRTC_ENABLE_AVX2"] = True >+ >+- CXXFLAGS += [ >+- "-msse2" >+- ] >++if CONFIG["TARGET_CPU"] == "x86_64": >+ > - DEFINES["_GNU_SOURCE"] = True >-- >++ DEFINES["WEBRTC_ENABLE_AVX2"] = True >+ > -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": >-- >++if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >+ > - 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 6f573eb0d345..c60e05070dc5 100644 >---- third_party/libwebrtc/video/frame_decode_timing_gn/moz.build >-+++ third_party/libwebrtc/video/frame_decode_timing_gn/moz.build >++ DEFINES["USE_X11"] = "1" >+ >+ 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 f76bfc61db99..66b7669f9d5f 100644 >+--- third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build >++++ third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() > DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" > DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True >@@ -104865,7 +107531,7 @@ index 6f573eb0d345..c60e05070dc5 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -104884,6 +107550,7 @@ index 6f573eb0d345..c60e05070dc5 100644 > - DEFINES["__STDC_FORMAT_MACROS"] = True > - > - OS_LIBS += [ >+- "GLESv2", > - "log" > - ] > - >@@ -104978,224 +107645,9 @@ index 6f573eb0d345..c60e05070dc5 100644 > - DEFINES["WEBRTC_ARCH_ARM_V7"] = True > - DEFINES["WEBRTC_HAS_NEON"] = True > - >- if CONFIG["TARGET_CPU"] == "mips32": >- >- DEFINES["MIPS32_LE"] = True >- DEFINES["MIPS_FPU_LE"] = True >-- DEFINES["_GNU_SOURCE"] = True >-- >--if CONFIG["TARGET_CPU"] == "mips64": >+-if CONFIG["TARGET_CPU"] == "loongarch64": > - > - 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["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": >-- >-- DEFINES["USE_X11"] = "1" >-- >--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["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": >-- >-- DEFINES["_GNU_SOURCE"] = True >-- >--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": >-- >-- DEFINES["_GNU_SOURCE"] = True >-- >--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": >-+ DEFINES["WEBRTC_ENABLE_AVX2"] = True >- >-- CXXFLAGS += [ >-- "-msse2" >-- ] >-+if CONFIG["TARGET_CPU"] == "x86_64": >- >-- DEFINES["_GNU_SOURCE"] = True >-+ DEFINES["WEBRTC_ENABLE_AVX2"] = True >- >--if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": >-+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": >- >-- DEFINES["_GNU_SOURCE"] = True >-+ DEFINES["USE_X11"] = "1" >- >- 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 f729fb715587..66b7669f9d5f 100644 >---- third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build >-+++ third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build >-@@ -12,11 +12,20 @@ AllowCompilerWarnings() >- DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" >- 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["__STDC_CONSTANT_MACROS"] = True >-+DEFINES["__STDC_FORMAT_MACROS"] = True >- >- FINAL_LIBRARY = "xul" >- >-@@ -43,187 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >- if CONFIG["MOZ_DEBUG"] == "1": >- >- DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >-- >--if CONFIG["OS_TARGET"] == "Android": >-- >-- DEFINES["ANDROID"] = True >-- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1" >-- DEFINES["HAVE_SYS_UIO_H"] = True >-- DEFINES["WEBRTC_ANDROID"] = True >-- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True >-- DEFINES["WEBRTC_LINUX"] = True >-- DEFINES["WEBRTC_POSIX"] = True >-- DEFINES["_GNU_SOURCE"] = True >-- DEFINES["__STDC_CONSTANT_MACROS"] = True >-- DEFINES["__STDC_FORMAT_MACROS"] = True >-- >-- OS_LIBS += [ >-- "GLESv2", >-- "log" >-- ] >-- >--if CONFIG["OS_TARGET"] == "Darwin": >-- >-- DEFINES["WEBRTC_MAC"] = True >-- DEFINES["WEBRTC_POSIX"] = True >-- DEFINES["_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["USE_AURA"] = "1" >-- DEFINES["USE_GLIB"] = "1" >-- DEFINES["USE_NSS_CERTS"] = "1" >-- DEFINES["USE_OZONE"] = "1" >-- DEFINES["USE_UDEV"] = True >-- DEFINES["WEBRTC_LINUX"] = 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 >-- >-- OS_LIBS += [ >-- "rt" >-- ] >-- >--if CONFIG["OS_TARGET"] == "OpenBSD": >-- >-- DEFINES["USE_GLIB"] = "1" >-- DEFINES["USE_OZONE"] = "1" >-- DEFINES["USE_X11"] = "1" >-- DEFINES["WEBRTC_BSD"] = True >-- DEFINES["WEBRTC_POSIX"] = True >-- DEFINES["_FILE_OFFSET_BITS"] = "64" >-- DEFINES["_LARGEFILE64_SOURCE"] = True >-- DEFINES["_LARGEFILE_SOURCE"] = True >-- DEFINES["__STDC_CONSTANT_MACROS"] = True >-- DEFINES["__STDC_FORMAT_MACROS"] = True >-- >--if CONFIG["OS_TARGET"] == "WINNT": >-- >-- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True >-- DEFINES["NOMINMAX"] = True >-- DEFINES["NTDDI_VERSION"] = "0x0A000000" >-- DEFINES["PSAPI_VERSION"] = "2" >-- DEFINES["RTC_ENABLE_WIN_WGC"] = True >-- DEFINES["UNICODE"] = True >-- DEFINES["USE_AURA"] = "1" >-- DEFINES["WEBRTC_WIN"] = True >-- DEFINES["WIN32"] = True >-- DEFINES["WIN32_LEAN_AND_MEAN"] = True >-- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" >-- DEFINES["WINVER"] = "0x0A00" >-- DEFINES["_ATL_NO_OPENGL"] = True >-- DEFINES["_CRT_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["__STD_C"] = True >-- >-- OS_LIBS += [ >-- "crypt32", >-- "iphlpapi", >-- "secur32", >-- "winmm" >-- ] >-+ DEFINES["_DEBUG"] = True >- >- if CONFIG["TARGET_CPU"] == "aarch64": >- >- DEFINES["WEBRTC_ARCH_ARM64"] = True >- DEFINES["WEBRTC_HAS_NEON"] = True >- >--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"] == "mips32": > >@@ -105278,7 +107730,7 @@ index f729fb715587..66b7669f9d5f 100644 > > Library("frame_dumping_decoder_gn") > diff --git third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build >-index e28ac4d4fb97..18ffb380392c 100644 >+index c4bad706172c..18ffb380392c 100644 > --- third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build > +++ third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -105302,7 +107754,7 @@ index e28ac4d4fb97..18ffb380392c 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,187 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -105415,6 +107867,10 @@ index e28ac4d4fb97..18ffb380392c 100644 > - 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": > >@@ -105497,7 +107953,7 @@ index e28ac4d4fb97..18ffb380392c 100644 > > Library("frame_dumping_encoder_gn") > diff --git third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build >-index 3c7c921b7b24..f1c6ded0f367 100644 >+index 092bbc95e288..f1c6ded0f367 100644 > --- third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build > +++ third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -105521,7 +107977,7 @@ index 3c7c921b7b24..f1c6ded0f367 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -105629,6 +108085,10 @@ index 3c7c921b7b24..f1c6ded0f367 100644 > - 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": > >@@ -105711,7 +108171,7 @@ index 3c7c921b7b24..f1c6ded0f367 100644 > > Library("incoming_video_stream_gn") > diff --git third_party/libwebrtc/video/render/video_render_frames_gn/moz.build third_party/libwebrtc/video/render/video_render_frames_gn/moz.build >-index 44fc03ce4873..c1df4e9bd177 100644 >+index 39558b4b3e5b..c1df4e9bd177 100644 > --- third_party/libwebrtc/video/render/video_render_frames_gn/moz.build > +++ third_party/libwebrtc/video/render/video_render_frames_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -105735,7 +108195,7 @@ index 44fc03ce4873..c1df4e9bd177 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,182 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -105843,6 +108303,10 @@ index 44fc03ce4873..c1df4e9bd177 100644 > - 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": > >@@ -105925,7 +108389,7 @@ index 44fc03ce4873..c1df4e9bd177 100644 > > Library("video_render_frames_gn") > diff --git third_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build third_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build >-index 66ecc9990cf9..7dc1d04b59ba 100644 >+index f4f66565f437..7dc1d04b59ba 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -105949,7 +108413,7 @@ index 66ecc9990cf9..7dc1d04b59ba 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -106061,6 +108525,10 @@ index 66ecc9990cf9..7dc1d04b59ba 100644 > - 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": > >@@ -106143,7 +108611,7 @@ index 66ecc9990cf9..7dc1d04b59ba 100644 > > Library("task_queue_frame_decode_scheduler_gn") > diff --git third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build >-index bb2500407d5c..95d109725a60 100644 >+index 29ff4759b500..95d109725a60 100644 > --- third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build > +++ third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -106167,7 +108635,7 @@ index bb2500407d5c..95d109725a60 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,171 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -106264,6 +108732,10 @@ index bb2500407d5c..95d109725a60 100644 > - 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": > >@@ -106346,7 +108818,7 @@ index bb2500407d5c..95d109725a60 100644 > > Library("unique_timestamp_counter_gn") > diff --git third_party/libwebrtc/video/video_gn/moz.build third_party/libwebrtc/video/video_gn/moz.build >-index f975c867315a..bb85d9269feb 100644 >+index edf7a88ed789..bb85d9269feb 100644 > --- third_party/libwebrtc/video/video_gn/moz.build > +++ third_party/libwebrtc/video/video_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -106370,7 +108842,7 @@ index f975c867315a..bb85d9269feb 100644 > > FINAL_LIBRARY = "xul" > >-@@ -62,187 +71,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -62,191 +71,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -106483,6 +108955,10 @@ index f975c867315a..bb85d9269feb 100644 > - 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": > >@@ -106565,7 +109041,7 @@ index f975c867315a..bb85d9269feb 100644 > > Library("video_gn") > diff --git third_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build third_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build >-index c60919935a8b..239678e8ec81 100644 >+index d530ed77f21f..239678e8ec81 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 > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -106589,7 +109065,7 @@ index c60919935a8b..239678e8ec81 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -106701,6 +109177,10 @@ index c60919935a8b..239678e8ec81 100644 > - 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": > >@@ -106783,7 +109263,7 @@ index c60919935a8b..239678e8ec81 100644 > > Library("video_receive_stream_timeout_tracker_gn") > diff --git third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build >-index 9ff1fa1f4224..e2abf01eacce 100644 >+index c53b093328e9..e2abf01eacce 100644 > --- third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build > +++ third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -106807,7 +109287,7 @@ index 9ff1fa1f4224..e2abf01eacce 100644 > > FINAL_LIBRARY = "xul" > >-@@ -43,187 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -106920,6 +109400,10 @@ index 9ff1fa1f4224..e2abf01eacce 100644 > - 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": > >@@ -107002,7 +109486,7 @@ index 9ff1fa1f4224..e2abf01eacce 100644 > > Library("video_stream_buffer_controller_gn") > diff --git third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build >-index 7719614925dc..e988fef7d80f 100644 >+index f971adeadf17..e988fef7d80f 100644 > --- third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build > +++ third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -107026,7 +109510,7 @@ index 7719614925dc..e988fef7d80f 100644 > > FINAL_LIBRARY = "xul" > >-@@ -51,187 +60,32 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -51,191 +60,32 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -107139,6 +109623,10 @@ index 7719614925dc..e988fef7d80f 100644 > - 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": > >@@ -107221,7 +109709,7 @@ index 7719614925dc..e988fef7d80f 100644 > > Library("video_stream_encoder_impl_gn") > diff --git third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build >-index 1159fe744e19..30518fdfa2be 100644 >+index 5d1297f9aa4e..30518fdfa2be 100644 > --- third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build > +++ third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -107245,7 +109733,7 @@ index 1159fe744e19..30518fdfa2be 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,115 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -107349,6 +109837,10 @@ index 1159fe744e19..30518fdfa2be 100644 > - 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": > >@@ -107362,7 +109854,7 @@ index 1159fe744e19..30518fdfa2be 100644 > > if CONFIG["TARGET_CPU"] == "x86": > >-@@ -157,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": >+@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True > >@@ -107415,7 +109907,7 @@ index 1159fe744e19..30518fdfa2be 100644 > - > Library("video_stream_encoder_interface_gn") > diff --git third_party/libwebrtc/webrtc_gn/moz.build third_party/libwebrtc/webrtc_gn/moz.build >-index 2fa347eccef5..0fbfe6858f2a 100644 >+index affa5998b64e..0fbfe6858f2a 100644 > --- third_party/libwebrtc/webrtc_gn/moz.build > +++ third_party/libwebrtc/webrtc_gn/moz.build > @@ -12,11 +12,20 @@ AllowCompilerWarnings() >@@ -107439,7 +109931,7 @@ index 2fa347eccef5..0fbfe6858f2a 100644 > > FINAL_LIBRARY = "xul" > >-@@ -39,140 +48,23 @@ if not CONFIG["MOZ_DEBUG"]: >+@@ -39,144 +48,23 @@ if not CONFIG["MOZ_DEBUG"]: > if CONFIG["MOZ_DEBUG"] == "1": > > DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" >@@ -107572,6 +110064,10 @@ index 2fa347eccef5..0fbfe6858f2a 100644 > - 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 > + LOCAL_INCLUDES += [ > + "/third_party/pipewire/" > + ] >@@ -107585,7 +110081,7 @@ index 2fa347eccef5..0fbfe6858f2a 100644 > > LOCAL_INCLUDES += [ > "/third_party/pipewire/" >-@@ -181,7 +73,6 @@ if CONFIG["TARGET_CPU"] == "mips32": >+@@ -185,7 +73,6 @@ if CONFIG["TARGET_CPU"] == "mips32": > if CONFIG["TARGET_CPU"] == "mips64": > > DEFINES["WEBRTC_USE_PIPEWIRE"] = True >@@ -107593,7 +110089,7 @@ index 2fa347eccef5..0fbfe6858f2a 100644 > > LOCAL_INCLUDES += [ > "/third_party/pipewire/" >-@@ -190,32 +81,22 @@ if CONFIG["TARGET_CPU"] == "mips64": >+@@ -194,32 +81,22 @@ if CONFIG["TARGET_CPU"] == "mips64": > if CONFIG["TARGET_CPU"] == "x86": > > DEFINES["WEBRTC_ENABLE_AVX2"] = True >@@ -107636,7 +110132,7 @@ index 2fa347eccef5..0fbfe6858f2a 100644 > > DEFINES["USE_X11"] = "1" > >-@@ -229,46 +110,4 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": >+@@ -233,46 +110,4 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": > "Xrender" > ] > >-- >2.48.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 285842
: 259267
Working