View | Details | Raw Unified | Return to bug 287141
Collapse All | Expand All

(-)b/www/librewolf/Makefile (-1 / +1 lines)
Lines 1-5 Link Here
1
PORTNAME=	librewolf
1
PORTNAME=	librewolf
2
DISTVERSION=	138.0.4
2
DISTVERSION=	139.0
3
LWPATCH=	-1
3
LWPATCH=	-1
4
DISTVERSIONSUFFIX=	${LWPATCH}.source
4
DISTVERSIONSUFFIX=	${LWPATCH}.source
5
CATEGORIES=	www wayland
5
CATEGORIES=	www wayland
(-)b/www/librewolf/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1747577982
1
TIMESTAMP = 1748467989
2
SHA256 (librewolf-138.0.4-1.source.tar.gz) = b63081971871154cf115ef3f237e865c2c1358c7086c3ff71c21918d4f343e9f
2
SHA256 (librewolf-139.0-1.source.tar.gz) = 014d8a6755d763dc2e948672691d701b1e1cd2c3b7af1c7cb89321738ddbf26b
3
SIZE (librewolf-138.0.4-1.source.tar.gz) = 1018411007
3
SIZE (librewolf-139.0-1.source.tar.gz) = 1025325523
(-)b/www/librewolf/files/patch-bug847568 (-32 lines)
Lines 178-215 index 1bb0430f01aa..0360e0f468c0 100644 Link Here
178
 # need to include etld_data.inc
178
 # need to include etld_data.inc
179
 LOCAL_INCLUDES += [
179
 LOCAL_INCLUDES += [
180
     "/netwerk/base",
180
     "/netwerk/base",
181
diff --git old-configure.in old-configure.in
182
index 1af75c496b15..f1c7d7c48d28 100644
183
--- old-configure.in
184
+++ old-configure.in
185
@@ -167,6 +167,27 @@ fi
186
 AC_DEFINE_UNQUOTED(MOZ_MACBUNDLE_ID,$MOZ_MACBUNDLE_ID)
187
 AC_SUBST(MOZ_MACBUNDLE_ID)
188
 
189
+dnl ========================================================
190
+dnl Check for graphite2
191
+dnl ========================================================
192
+if test -n "$MOZ_SYSTEM_GRAPHITE2"; then
193
+    dnl graphite2.pc has bogus version, check manually
194
+    _SAVE_CFLAGS=$CFLAGS
195
+    CFLAGS="$CFLAGS $MOZ_GRAPHITE2_CFLAGS"
196
+    AC_TRY_COMPILE([ #include <graphite2/Font.h>
197
+                     #define GR2_VERSION_REQUIRE(major,minor,bugfix)  \
198
+                             ( GR2_VERSION_MAJOR * 10000 + GR2_VERSION_MINOR \
199
+                               * 100 + GR2_VERSION_BUGFIX >= \
200
+                               (major) * 10000 + (minor) * 100 + (bugfix) )
201
+                   ], [
202
+                     #if !GR2_VERSION_REQUIRE(1,3,14)
203
+                     #error "Insufficient graphite2 version."
204
+                     #endif
205
+                   ], [],
206
+                   [AC_MSG_ERROR([--with-system-graphite2 requested but no working libgraphite2 found])])
207
+    CFLAGS=$_SAVE_CFLAGS
208
+fi
209
+
210
 dnl ========================================================
211
 dnl = Child Process Name for IPC
212
 dnl ========================================================
213
diff --git security/rlbox/moz.build security/rlbox/moz.build
181
diff --git security/rlbox/moz.build security/rlbox/moz.build
214
index 7ad8d076f0f1..835b9d905e03 100644
182
index 7ad8d076f0f1..835b9d905e03 100644
215
--- security/rlbox/moz.build
183
--- security/rlbox/moz.build
(-)b/www/librewolf/files/patch-ipc_glue_GeckoChildProcessHost.cpp (+13 lines)
Added Link Here
1
diff --git ipc/glue/GeckoChildProcessHost.cpp ipc/glue/GeckoChildProcessHost.cpp
2
index 9bb8314bd98c..2bc0382a9385 100644
3
--- ipc/glue/GeckoChildProcessHost.cpp
4
+++ ipc/glue/GeckoChildProcessHost.cpp
5
@@ -1121,7 +1121,7 @@ Result<Ok, LaunchError> BaseProcessLauncher::DoSetup() {
6
 #if defined(MOZ_WIDGET_COCOA) || defined(XP_WIN)
7
     geckoargs::sCrashReporter.Put(CrashReporter::GetChildNotificationPipe(),
8
                                   mChildArgs);
9
-#elif defined(XP_UNIX) && !defined(XP_IOS)
10
+#elif defined(XP_UNIX) && !defined(XP_IOS) && !defined(XP_FREEBSD)
11
     UniqueFileHandle childCrashFd = CrashReporter::GetChildNotificationPipe();
12
     if (!childCrashFd) {
13
       return Err(LaunchError("DuplicateFileHandle failed"));
(-)b/www/librewolf/files/patch-libwebrtc-generated (-2573 / +2351 lines)
Lines 1-14 Link Here
1
commit 5ea36422bfaa3e795cd42f94a26f0cb567404dce
1
commit 48d36a84fea34e509b18e2772c21699d24e8a1a7
2
Author: Christoph Moench-Tegeder <cmt@FreeBSD.org>
2
Author: Christoph Moench-Tegeder <cmt@FreeBSD.org>
3
Date:   Wed May 14 20:58:36 2025 +0000
3
4
4
    regenerate FreeBSD libwebrtc patch for Firefox 138
5
    regenerate FreeBSD libwebrtc patch for gecko 139
5
6
6
diff --git third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
7
diff --git third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
7
index 655ef59cba4b..d54f6dbed565 100644
8
index a29aef4b45e5..c193c4232adf 100644
8
--- third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
9
--- third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
9
+++ third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
10
+++ third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
10
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
11
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
11
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
12
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
12
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
13
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
13
 DEFINES["RTC_ENABLE_VP9"] = True
14
 DEFINES["RTC_ENABLE_VP9"] = True
14
+DEFINES["USE_GLIB"] = "1"
15
+DEFINES["USE_GLIB"] = "1"
Lines 28-34 index 655ef59cba4b..d54f6dbed565 100644 Link Here
28
 
29
 
29
 FINAL_LIBRARY = "xul"
30
 FINAL_LIBRARY = "xul"
30
 
31
 
31
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
32
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
32
 if CONFIG["MOZ_DEBUG"] == "1":
33
 if CONFIG["MOZ_DEBUG"] == "1":
33
 
34
 
34
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
35
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 215-225 index 655ef59cba4b..d54f6dbed565 100644 Link Here
215
 
216
 
216
 Library("resource_adaptation_api_gn")
217
 Library("resource_adaptation_api_gn")
217
diff --git third_party/libwebrtc/api/array_view_gn/moz.build third_party/libwebrtc/api/array_view_gn/moz.build
218
diff --git third_party/libwebrtc/api/array_view_gn/moz.build third_party/libwebrtc/api/array_view_gn/moz.build
218
index d4382d1df1cc..0a1c7b839dda 100644
219
index 642158f0b8be..994364e58ce4 100644
219
--- third_party/libwebrtc/api/array_view_gn/moz.build
220
--- third_party/libwebrtc/api/array_view_gn/moz.build
220
+++ third_party/libwebrtc/api/array_view_gn/moz.build
221
+++ third_party/libwebrtc/api/array_view_gn/moz.build
221
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
222
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
222
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
223
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
223
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
224
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
224
 DEFINES["RTC_ENABLE_VP9"] = True
225
 DEFINES["RTC_ENABLE_VP9"] = True
225
+DEFINES["USE_GLIB"] = "1"
226
+DEFINES["USE_GLIB"] = "1"
Lines 239-245 index d4382d1df1cc..0a1c7b839dda 100644 Link Here
239
 
240
 
240
 FINAL_LIBRARY = "xul"
241
 FINAL_LIBRARY = "xul"
241
 
242
 
242
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
243
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
243
 if CONFIG["MOZ_DEBUG"] == "1":
244
 if CONFIG["MOZ_DEBUG"] == "1":
244
 
245
 
245
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
246
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 353-359 index d4382d1df1cc..0a1c7b839dda 100644 Link Here
353
 
354
 
354
 if CONFIG["TARGET_CPU"] == "x86":
355
 if CONFIG["TARGET_CPU"] == "x86":
355
 
356
 
356
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
357
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
357
 
358
 
358
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
359
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
359
 
360
 
Lines 406-416 index d4382d1df1cc..0a1c7b839dda 100644 Link Here
406
-
407
-
407
 Library("array_view_gn")
408
 Library("array_view_gn")
408
diff --git third_party/libwebrtc/api/async_dns_resolver_gn/moz.build third_party/libwebrtc/api/async_dns_resolver_gn/moz.build
409
diff --git third_party/libwebrtc/api/async_dns_resolver_gn/moz.build third_party/libwebrtc/api/async_dns_resolver_gn/moz.build
409
index e935019626ad..b6efeac78e76 100644
410
index c7f482cc2e28..e44aba4a8252 100644
410
--- third_party/libwebrtc/api/async_dns_resolver_gn/moz.build
411
--- third_party/libwebrtc/api/async_dns_resolver_gn/moz.build
411
+++ third_party/libwebrtc/api/async_dns_resolver_gn/moz.build
412
+++ third_party/libwebrtc/api/async_dns_resolver_gn/moz.build
412
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
413
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
413
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
414
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
414
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
415
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
415
 DEFINES["RTC_ENABLE_VP9"] = True
416
 DEFINES["RTC_ENABLE_VP9"] = True
416
+DEFINES["USE_GLIB"] = "1"
417
+DEFINES["USE_GLIB"] = "1"
Lines 430-436 index e935019626ad..b6efeac78e76 100644 Link Here
430
 
431
 
431
 FINAL_LIBRARY = "xul"
432
 FINAL_LIBRARY = "xul"
432
 
433
 
433
@@ -39,120 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
434
@@ -40,120 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
434
 if CONFIG["MOZ_DEBUG"] == "1":
435
 if CONFIG["MOZ_DEBUG"] == "1":
435
 
436
 
436
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
437
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 552-558 index e935019626ad..b6efeac78e76 100644 Link Here
552
 
553
 
553
 if CONFIG["TARGET_CPU"] == "x86":
554
 if CONFIG["TARGET_CPU"] == "x86":
554
 
555
 
555
@@ -162,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
556
@@ -163,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
556
 
557
 
557
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
558
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
558
 
559
 
Lines 605-615 index e935019626ad..b6efeac78e76 100644 Link Here
605
-
606
-
606
 Library("async_dns_resolver_gn")
607
 Library("async_dns_resolver_gn")
607
diff --git third_party/libwebrtc/api/audio/aec3_config_gn/moz.build third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
608
diff --git third_party/libwebrtc/api/audio/aec3_config_gn/moz.build third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
608
index cfb3b6961c8e..daf2b9c13beb 100644
609
index 8113afb08273..123471602ffd 100644
609
--- third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
610
--- third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
610
+++ third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
611
+++ third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
611
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
612
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
612
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
613
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
613
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
614
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
614
 DEFINES["RTC_ENABLE_VP9"] = True
615
 DEFINES["RTC_ENABLE_VP9"] = True
615
+DEFINES["USE_GLIB"] = "1"
616
+DEFINES["USE_GLIB"] = "1"
Lines 629-635 index cfb3b6961c8e..daf2b9c13beb 100644 Link Here
629
 
630
 
630
 FINAL_LIBRARY = "xul"
631
 FINAL_LIBRARY = "xul"
631
 
632
 
632
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
633
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
633
 if CONFIG["MOZ_DEBUG"] == "1":
634
 if CONFIG["MOZ_DEBUG"] == "1":
634
 
635
 
635
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
636
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 816-826 index cfb3b6961c8e..daf2b9c13beb 100644 Link Here
816
 
817
 
817
 Library("aec3_config_gn")
818
 Library("aec3_config_gn")
818
diff --git third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
819
diff --git third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
819
index 589d5a72ef9b..9311473ef1a8 100644
820
index 658f1cf59805..da98391aded6 100644
820
--- third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
821
--- third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
821
+++ third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
822
+++ third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
822
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
823
@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
823
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
824
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
824
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
825
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
825
 DEFINES["RTC_ENABLE_VP9"] = True
826
 DEFINES["RTC_ENABLE_VP9"] = True
826
+DEFINES["USE_GLIB"] = "1"
827
+DEFINES["USE_GLIB"] = "1"
Lines 841-847 index 589d5a72ef9b..9311473ef1a8 100644 Link Here
841
 
842
 
842
 FINAL_LIBRARY = "xul"
843
 FINAL_LIBRARY = "xul"
843
 
844
 
844
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
845
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
845
 if CONFIG["MOZ_DEBUG"] == "1":
846
 if CONFIG["MOZ_DEBUG"] == "1":
846
 
847
 
847
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
848
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 1039-1049 index 589d5a72ef9b..9311473ef1a8 100644 Link Here
1039
 
1040
 
1040
 Library("aec3_factory_gn")
1041
 Library("aec3_factory_gn")
1041
diff --git third_party/libwebrtc/api/audio/audio_device_gn/moz.build third_party/libwebrtc/api/audio/audio_device_gn/moz.build
1042
diff --git third_party/libwebrtc/api/audio/audio_device_gn/moz.build third_party/libwebrtc/api/audio/audio_device_gn/moz.build
1042
index a727e70ec91d..956114463750 100644
1043
index 01d48ab0e9bf..3885140cb11b 100644
1043
--- third_party/libwebrtc/api/audio/audio_device_gn/moz.build
1044
--- third_party/libwebrtc/api/audio/audio_device_gn/moz.build
1044
+++ third_party/libwebrtc/api/audio/audio_device_gn/moz.build
1045
+++ third_party/libwebrtc/api/audio/audio_device_gn/moz.build
1045
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
1046
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
1046
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
1047
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
1047
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
1048
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
1048
 DEFINES["RTC_ENABLE_VP9"] = True
1049
 DEFINES["RTC_ENABLE_VP9"] = True
1049
+DEFINES["USE_GLIB"] = "1"
1050
+DEFINES["USE_GLIB"] = "1"
Lines 1063-1069 index a727e70ec91d..956114463750 100644 Link Here
1063
 
1064
 
1064
 FINAL_LIBRARY = "xul"
1065
 FINAL_LIBRARY = "xul"
1065
 
1066
 
1066
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
1067
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
1067
 if CONFIG["MOZ_DEBUG"] == "1":
1068
 if CONFIG["MOZ_DEBUG"] == "1":
1068
 
1069
 
1069
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
1070
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 1177-1183 index a727e70ec91d..956114463750 100644 Link Here
1177
 
1178
 
1178
 if CONFIG["TARGET_CPU"] == "x86":
1179
 if CONFIG["TARGET_CPU"] == "x86":
1179
 
1180
 
1180
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
1181
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
1181
 
1182
 
1182
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
1183
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
1183
 
1184
 
Lines 1230-1240 index a727e70ec91d..956114463750 100644 Link Here
1230
-
1231
-
1231
 Library("audio_device_gn")
1232
 Library("audio_device_gn")
1232
diff --git third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
1233
diff --git third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
1233
index 0cf70f6a0a66..f121290ac495 100644
1234
index 95225d12b2f5..fe08226343af 100644
1234
--- third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
1235
--- third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
1235
+++ third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
1236
+++ third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
1236
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
1237
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
1237
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
1238
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
1238
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
1239
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
1239
 DEFINES["RTC_ENABLE_VP9"] = True
1240
 DEFINES["RTC_ENABLE_VP9"] = True
1240
+DEFINES["USE_GLIB"] = "1"
1241
+DEFINES["USE_GLIB"] = "1"
Lines 1254-1260 index 0cf70f6a0a66..f121290ac495 100644 Link Here
1254
 
1255
 
1255
 FINAL_LIBRARY = "xul"
1256
 FINAL_LIBRARY = "xul"
1256
 
1257
 
1257
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
1258
@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
1258
 if CONFIG["MOZ_DEBUG"] == "1":
1259
 if CONFIG["MOZ_DEBUG"] == "1":
1259
 
1260
 
1260
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
1261
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 1448-1458 index 0cf70f6a0a66..f121290ac495 100644 Link Here
1448
 
1449
 
1449
 Library("audio_frame_api_gn")
1450
 Library("audio_frame_api_gn")
1450
diff --git third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build
1451
diff --git third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build
1451
index d9e237b4c753..f34df50bef47 100644
1452
index 7b23511c9930..a97e948e3a43 100644
1452
--- third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build
1453
--- third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build
1453
+++ third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build
1454
+++ third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build
1454
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
1455
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
1455
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
1456
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
1456
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
1457
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
1457
 DEFINES["RTC_ENABLE_VP9"] = True
1458
 DEFINES["RTC_ENABLE_VP9"] = True
1458
+DEFINES["USE_GLIB"] = "1"
1459
+DEFINES["USE_GLIB"] = "1"
Lines 1472-1478 index d9e237b4c753..f34df50bef47 100644 Link Here
1472
 
1473
 
1473
 FINAL_LIBRARY = "xul"
1474
 FINAL_LIBRARY = "xul"
1474
 
1475
 
1475
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
1476
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
1476
 if CONFIG["MOZ_DEBUG"] == "1":
1477
 if CONFIG["MOZ_DEBUG"] == "1":
1477
 
1478
 
1478
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
1479
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 1582-1588 index d9e237b4c753..f34df50bef47 100644 Link Here
1582
 
1583
 
1583
 if CONFIG["TARGET_CPU"] == "x86":
1584
 if CONFIG["TARGET_CPU"] == "x86":
1584
 
1585
 
1585
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
1586
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
1586
 
1587
 
1587
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
1588
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
1588
 
1589
 
Lines 1635-1645 index d9e237b4c753..f34df50bef47 100644 Link Here
1635
-
1636
-
1636
 Library("audio_frame_processor_gn")
1637
 Library("audio_frame_processor_gn")
1637
diff --git third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build
1638
diff --git third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build
1638
index 9576084c2bfb..aca2a4d6a37f 100644
1639
index d650f934bf12..28f47d4bb60c 100644
1639
--- third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build
1640
--- third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build
1640
+++ third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build
1641
+++ third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build
1641
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
1642
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
1642
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
1643
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
1643
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
1644
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
1644
 DEFINES["RTC_ENABLE_VP9"] = True
1645
 DEFINES["RTC_ENABLE_VP9"] = True
1645
+DEFINES["USE_GLIB"] = "1"
1646
+DEFINES["USE_GLIB"] = "1"
Lines 1659-1665 index 9576084c2bfb..aca2a4d6a37f 100644 Link Here
1659
 
1660
 
1660
 FINAL_LIBRARY = "xul"
1661
 FINAL_LIBRARY = "xul"
1661
 
1662
 
1662
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
1663
@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
1663
 if CONFIG["MOZ_DEBUG"] == "1":
1664
 if CONFIG["MOZ_DEBUG"] == "1":
1664
 
1665
 
1665
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
1666
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 1780-1786 index 9576084c2bfb..aca2a4d6a37f 100644 Link Here
1780
 
1781
 
1781
 if CONFIG["TARGET_CPU"] == "x86":
1782
 if CONFIG["TARGET_CPU"] == "x86":
1782
 
1783
 
1783
@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
1784
@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
1784
 
1785
 
1785
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
1786
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
1786
 
1787
 
Lines 1833-1843 index 9576084c2bfb..aca2a4d6a37f 100644 Link Here
1833
-
1834
-
1834
 Library("audio_mixer_api_gn")
1835
 Library("audio_mixer_api_gn")
1835
diff --git third_party/libwebrtc/api/audio/audio_processing_gn/moz.build third_party/libwebrtc/api/audio/audio_processing_gn/moz.build
1836
diff --git third_party/libwebrtc/api/audio/audio_processing_gn/moz.build third_party/libwebrtc/api/audio/audio_processing_gn/moz.build
1836
index 2e7d38d911f4..fb9329509240 100644
1837
index 4013ba0e53e8..d6bf78db5064 100644
1837
--- third_party/libwebrtc/api/audio/audio_processing_gn/moz.build
1838
--- third_party/libwebrtc/api/audio/audio_processing_gn/moz.build
1838
+++ third_party/libwebrtc/api/audio/audio_processing_gn/moz.build
1839
+++ third_party/libwebrtc/api/audio/audio_processing_gn/moz.build
1839
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
1840
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
1840
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
1841
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
1841
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
1842
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
1842
 DEFINES["RTC_ENABLE_VP9"] = True
1843
 DEFINES["RTC_ENABLE_VP9"] = True
1843
+DEFINES["USE_GLIB"] = "1"
1844
+DEFINES["USE_GLIB"] = "1"
Lines 1857-1863 index 2e7d38d911f4..fb9329509240 100644 Link Here
1857
 
1858
 
1858
 FINAL_LIBRARY = "xul"
1859
 FINAL_LIBRARY = "xul"
1859
 
1860
 
1860
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
1861
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
1861
 if CONFIG["MOZ_DEBUG"] == "1":
1862
 if CONFIG["MOZ_DEBUG"] == "1":
1862
 
1863
 
1863
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
1864
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 2044-2054 index 2e7d38d911f4..fb9329509240 100644 Link Here
2044
 
2045
 
2045
 Library("audio_processing_gn")
2046
 Library("audio_processing_gn")
2046
diff --git third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build
2047
diff --git third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build
2047
index 0400bcf1bdfc..9275b9e39050 100644
2048
index 020423429a5e..de7f6742627a 100644
2048
--- third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build
2049
--- third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build
2049
+++ third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build
2050
+++ third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build
2050
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
2051
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
2051
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
2052
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
2052
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
2053
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
2053
 DEFINES["RTC_ENABLE_VP9"] = True
2054
 DEFINES["RTC_ENABLE_VP9"] = True
2054
+DEFINES["USE_GLIB"] = "1"
2055
+DEFINES["USE_GLIB"] = "1"
Lines 2068-2074 index 0400bcf1bdfc..9275b9e39050 100644 Link Here
2068
 
2069
 
2069
 FINAL_LIBRARY = "xul"
2070
 FINAL_LIBRARY = "xul"
2070
 
2071
 
2071
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
2072
@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
2072
 if CONFIG["MOZ_DEBUG"] == "1":
2073
 if CONFIG["MOZ_DEBUG"] == "1":
2073
 
2074
 
2074
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
2075
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 2251-2261 index 0400bcf1bdfc..9275b9e39050 100644 Link Here
2251
 
2252
 
2252
 Library("audio_processing_statistics_gn")
2253
 Library("audio_processing_statistics_gn")
2253
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
2254
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
2254
index af681d4d0d28..dd6059825208 100644
2255
index 9720fc943734..43ee9e3a60aa 100644
2255
--- third_party/libwebrtc/api/audio/builtin_audio_processing_builder_gn/moz.build
2256
--- third_party/libwebrtc/api/audio/builtin_audio_processing_builder_gn/moz.build
2256
+++ third_party/libwebrtc/api/audio/builtin_audio_processing_builder_gn/moz.build
2257
+++ third_party/libwebrtc/api/audio/builtin_audio_processing_builder_gn/moz.build
2257
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
2258
@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
2258
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
2259
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
2259
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
2260
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
2260
 DEFINES["RTC_ENABLE_VP9"] = True
2261
 DEFINES["RTC_ENABLE_VP9"] = True
2261
+DEFINES["USE_GLIB"] = "1"
2262
+DEFINES["USE_GLIB"] = "1"
Lines 2276-2282 index af681d4d0d28..dd6059825208 100644 Link Here
2276
 
2277
 
2277
 FINAL_LIBRARY = "xul"
2278
 FINAL_LIBRARY = "xul"
2278
 
2279
 
2279
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
2280
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
2280
 if CONFIG["MOZ_DEBUG"] == "1":
2281
 if CONFIG["MOZ_DEBUG"] == "1":
2281
 
2282
 
2282
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
2283
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 2474-2484 index af681d4d0d28..dd6059825208 100644 Link Here
2474
 
2475
 
2475
 Library("builtin_audio_processing_builder_gn")
2476
 Library("builtin_audio_processing_builder_gn")
2476
diff --git third_party/libwebrtc/api/audio/echo_control_gn/moz.build third_party/libwebrtc/api/audio/echo_control_gn/moz.build
2477
diff --git third_party/libwebrtc/api/audio/echo_control_gn/moz.build third_party/libwebrtc/api/audio/echo_control_gn/moz.build
2477
index 904a224b5a88..9bb9eff44ed7 100644
2478
index f554fd6f8241..b068f7739302 100644
2478
--- third_party/libwebrtc/api/audio/echo_control_gn/moz.build
2479
--- third_party/libwebrtc/api/audio/echo_control_gn/moz.build
2479
+++ third_party/libwebrtc/api/audio/echo_control_gn/moz.build
2480
+++ third_party/libwebrtc/api/audio/echo_control_gn/moz.build
2480
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
2481
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
2481
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
2482
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
2482
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
2483
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
2483
 DEFINES["RTC_ENABLE_VP9"] = True
2484
 DEFINES["RTC_ENABLE_VP9"] = True
2484
+DEFINES["USE_GLIB"] = "1"
2485
+DEFINES["USE_GLIB"] = "1"
Lines 2498-2504 index 904a224b5a88..9bb9eff44ed7 100644 Link Here
2498
 
2499
 
2499
 FINAL_LIBRARY = "xul"
2500
 FINAL_LIBRARY = "xul"
2500
 
2501
 
2501
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
2502
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
2502
 if CONFIG["MOZ_DEBUG"] == "1":
2503
 if CONFIG["MOZ_DEBUG"] == "1":
2503
 
2504
 
2504
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
2505
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 2612-2618 index 904a224b5a88..9bb9eff44ed7 100644 Link Here
2612
 
2613
 
2613
 if CONFIG["TARGET_CPU"] == "x86":
2614
 if CONFIG["TARGET_CPU"] == "x86":
2614
 
2615
 
2615
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
2616
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
2616
 
2617
 
2617
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
2618
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
2618
 
2619
 
Lines 2665-2675 index 904a224b5a88..9bb9eff44ed7 100644 Link Here
2665
-
2666
-
2666
 Library("echo_control_gn")
2667
 Library("echo_control_gn")
2667
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
2668
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
2668
index ae4047c15bad..b7d03e2fb268 100644
2669
index cc8409b4ab86..ae6f50e873d1 100644
2669
--- third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build
2670
--- third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build
2670
+++ third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build
2671
+++ third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build
2671
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
2672
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
2672
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
2673
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
2673
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
2674
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
2674
 DEFINES["RTC_ENABLE_VP9"] = True
2675
 DEFINES["RTC_ENABLE_VP9"] = True
2675
+DEFINES["USE_GLIB"] = "1"
2676
+DEFINES["USE_GLIB"] = "1"
Lines 2689-2695 index ae4047c15bad..b7d03e2fb268 100644 Link Here
2689
 
2690
 
2690
 FINAL_LIBRARY = "xul"
2691
 FINAL_LIBRARY = "xul"
2691
 
2692
 
2692
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
2693
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
2693
 if CONFIG["MOZ_DEBUG"] == "1":
2694
 if CONFIG["MOZ_DEBUG"] == "1":
2694
 
2695
 
2695
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
2696
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 2883-2893 index ae4047c15bad..b7d03e2fb268 100644 Link Here
2883
 
2884
 
2884
 Library("audio_decoder_L16_gn")
2885
 Library("audio_decoder_L16_gn")
2885
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
2886
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
2886
index 9007bea06a57..5c76a4bbb10f 100644
2887
index 4c7addbccf20..87731b62a8fd 100644
2887
--- third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build
2888
--- third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build
2888
+++ third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build
2889
+++ third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build
2889
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
2890
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
2890
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
2891
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
2891
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
2892
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
2892
 DEFINES["RTC_ENABLE_VP9"] = True
2893
 DEFINES["RTC_ENABLE_VP9"] = True
2893
+DEFINES["USE_GLIB"] = "1"
2894
+DEFINES["USE_GLIB"] = "1"
Lines 2907-2913 index 9007bea06a57..5c76a4bbb10f 100644 Link Here
2907
 
2908
 
2908
 FINAL_LIBRARY = "xul"
2909
 FINAL_LIBRARY = "xul"
2909
 
2910
 
2910
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
2911
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
2911
 if CONFIG["MOZ_DEBUG"] == "1":
2912
 if CONFIG["MOZ_DEBUG"] == "1":
2912
 
2913
 
2913
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
2914
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 3101-3111 index 9007bea06a57..5c76a4bbb10f 100644 Link Here
3101
 
3102
 
3102
 Library("audio_encoder_L16_gn")
3103
 Library("audio_encoder_L16_gn")
3103
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
3104
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
3104
index 1de066daa01e..475c29ae92d2 100644
3105
index 0cd4e6611370..e1bdc203eda4 100644
3105
--- third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build
3106
--- third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build
3106
+++ third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build
3107
+++ third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build
3107
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
3108
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
3108
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
3109
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
3109
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
3110
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
3110
 DEFINES["RTC_ENABLE_VP9"] = True
3111
 DEFINES["RTC_ENABLE_VP9"] = True
3111
+DEFINES["USE_GLIB"] = "1"
3112
+DEFINES["USE_GLIB"] = "1"
Lines 3125-3131 index 1de066daa01e..475c29ae92d2 100644 Link Here
3125
 
3126
 
3126
 FINAL_LIBRARY = "xul"
3127
 FINAL_LIBRARY = "xul"
3127
 
3128
 
3128
@@ -46,186 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
3129
@@ -47,186 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
3129
 if CONFIG["MOZ_DEBUG"] == "1":
3130
 if CONFIG["MOZ_DEBUG"] == "1":
3130
 
3131
 
3131
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
3132
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 3319-3329 index 1de066daa01e..475c29ae92d2 100644 Link Here
3319
 
3320
 
3320
 Library("audio_codecs_api_gn")
3321
 Library("audio_codecs_api_gn")
3321
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
3322
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
3322
index be74a5a11b8d..517b3b57ed6b 100644
3323
index 6225ac1f3f3b..1cea1d96da7b 100644
3323
--- third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build
3324
--- third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build
3324
+++ third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build
3325
+++ third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build
3325
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
3326
@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
3326
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
3327
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
3327
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
3328
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
3328
 DEFINES["RTC_ENABLE_VP9"] = True
3329
 DEFINES["RTC_ENABLE_VP9"] = True
3329
+DEFINES["USE_GLIB"] = "1"
3330
+DEFINES["USE_GLIB"] = "1"
Lines 3344-3350 index be74a5a11b8d..517b3b57ed6b 100644 Link Here
3344
 
3345
 
3345
 FINAL_LIBRARY = "xul"
3346
 FINAL_LIBRARY = "xul"
3346
 
3347
 
3347
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
3348
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
3348
 if CONFIG["MOZ_DEBUG"] == "1":
3349
 if CONFIG["MOZ_DEBUG"] == "1":
3349
 
3350
 
3350
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
3351
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 3542-3552 index be74a5a11b8d..517b3b57ed6b 100644 Link Here
3542
 
3543
 
3543
 Library("builtin_audio_decoder_factory_gn")
3544
 Library("builtin_audio_decoder_factory_gn")
3544
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
3545
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
3545
index f6a0d16b0b5c..4c5f8099504f 100644
3546
index e37b27978fb1..1532babfe849 100644
3546
--- third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build
3547
--- third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build
3547
+++ third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build
3548
+++ third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build
3548
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
3549
@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
3549
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
3550
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
3550
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
3551
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
3551
 DEFINES["RTC_ENABLE_VP9"] = True
3552
 DEFINES["RTC_ENABLE_VP9"] = True
3552
+DEFINES["USE_GLIB"] = "1"
3553
+DEFINES["USE_GLIB"] = "1"
Lines 3567-3573 index f6a0d16b0b5c..4c5f8099504f 100644 Link Here
3567
 
3568
 
3568
 FINAL_LIBRARY = "xul"
3569
 FINAL_LIBRARY = "xul"
3569
 
3570
 
3570
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
3571
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
3571
 if CONFIG["MOZ_DEBUG"] == "1":
3572
 if CONFIG["MOZ_DEBUG"] == "1":
3572
 
3573
 
3573
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
3574
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 3765-3775 index f6a0d16b0b5c..4c5f8099504f 100644 Link Here
3765
 
3766
 
3766
 Library("builtin_audio_encoder_factory_gn")
3767
 Library("builtin_audio_encoder_factory_gn")
3767
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
3768
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
3768
index 58fffb2e22d1..c883304f6928 100644
3769
index edebd9ce86d9..05322dea51b6 100644
3769
--- third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build
3770
--- third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build
3770
+++ third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build
3771
+++ third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build
3771
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
3772
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
3772
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
3773
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
3773
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
3774
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
3774
 DEFINES["RTC_ENABLE_VP9"] = True
3775
 DEFINES["RTC_ENABLE_VP9"] = True
3775
+DEFINES["USE_GLIB"] = "1"
3776
+DEFINES["USE_GLIB"] = "1"
Lines 3789-3795 index 58fffb2e22d1..c883304f6928 100644 Link Here
3789
 
3790
 
3790
 FINAL_LIBRARY = "xul"
3791
 FINAL_LIBRARY = "xul"
3791
 
3792
 
3792
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
3793
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
3793
 if CONFIG["MOZ_DEBUG"] == "1":
3794
 if CONFIG["MOZ_DEBUG"] == "1":
3794
 
3795
 
3795
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
3796
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 3983-3993 index 58fffb2e22d1..c883304f6928 100644 Link Here
3983
 
3984
 
3984
 Library("audio_decoder_g711_gn")
3985
 Library("audio_decoder_g711_gn")
3985
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
3986
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
3986
index 7f12ebe49f01..0399f439f107 100644
3987
index 40dbaf52b249..7863dd9e6633 100644
3987
--- third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build
3988
--- third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build
3988
+++ third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build
3989
+++ third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build
3989
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
3990
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
3990
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
3991
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
3991
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
3992
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
3992
 DEFINES["RTC_ENABLE_VP9"] = True
3993
 DEFINES["RTC_ENABLE_VP9"] = True
3993
+DEFINES["USE_GLIB"] = "1"
3994
+DEFINES["USE_GLIB"] = "1"
Lines 4007-4013 index 7f12ebe49f01..0399f439f107 100644 Link Here
4007
 
4008
 
4008
 FINAL_LIBRARY = "xul"
4009
 FINAL_LIBRARY = "xul"
4009
 
4010
 
4010
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
4011
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
4011
 if CONFIG["MOZ_DEBUG"] == "1":
4012
 if CONFIG["MOZ_DEBUG"] == "1":
4012
 
4013
 
4013
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
4014
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 4201-4211 index 7f12ebe49f01..0399f439f107 100644 Link Here
4201
 
4202
 
4202
 Library("audio_encoder_g711_gn")
4203
 Library("audio_encoder_g711_gn")
4203
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
4204
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
4204
index e808e4298249..d9457426de70 100644
4205
index 376963441f83..94f0257efd1e 100644
4205
--- third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build
4206
--- third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build
4206
+++ third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build
4207
+++ third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build
4207
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
4208
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
4208
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
4209
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
4209
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
4210
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
4210
 DEFINES["RTC_ENABLE_VP9"] = True
4211
 DEFINES["RTC_ENABLE_VP9"] = True
4211
+DEFINES["USE_GLIB"] = "1"
4212
+DEFINES["USE_GLIB"] = "1"
Lines 4225-4231 index e808e4298249..d9457426de70 100644 Link Here
4225
 
4226
 
4226
 FINAL_LIBRARY = "xul"
4227
 FINAL_LIBRARY = "xul"
4227
 
4228
 
4228
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
4229
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
4229
 if CONFIG["MOZ_DEBUG"] == "1":
4230
 if CONFIG["MOZ_DEBUG"] == "1":
4230
 
4231
 
4231
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
4232
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 4419-4429 index e808e4298249..d9457426de70 100644 Link Here
4419
 
4420
 
4420
 Library("audio_decoder_g722_gn")
4421
 Library("audio_decoder_g722_gn")
4421
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
4422
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
4422
index 5e4da695b94a..724106b4aea7 100644
4423
index 982fb48b055c..fabe33115004 100644
4423
--- third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build
4424
--- third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build
4424
+++ third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build
4425
+++ third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build
4425
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
4426
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
4426
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
4427
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
4427
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
4428
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
4428
 DEFINES["RTC_ENABLE_VP9"] = True
4429
 DEFINES["RTC_ENABLE_VP9"] = True
4429
+DEFINES["USE_GLIB"] = "1"
4430
+DEFINES["USE_GLIB"] = "1"
Lines 4443-4449 index 5e4da695b94a..724106b4aea7 100644 Link Here
4443
 
4444
 
4444
 FINAL_LIBRARY = "xul"
4445
 FINAL_LIBRARY = "xul"
4445
 
4446
 
4446
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
4447
@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
4447
 if CONFIG["MOZ_DEBUG"] == "1":
4448
 if CONFIG["MOZ_DEBUG"] == "1":
4448
 
4449
 
4449
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
4450
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 4564-4570 index 5e4da695b94a..724106b4aea7 100644 Link Here
4564
 
4565
 
4565
 if CONFIG["TARGET_CPU"] == "x86":
4566
 if CONFIG["TARGET_CPU"] == "x86":
4566
 
4567
 
4567
@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
4568
@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
4568
 
4569
 
4569
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
4570
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
4570
 
4571
 
Lines 4617-4627 index 5e4da695b94a..724106b4aea7 100644 Link Here
4617
-
4618
-
4618
 Library("audio_encoder_g722_config_gn")
4619
 Library("audio_encoder_g722_config_gn")
4619
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
4620
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
4620
index 1ea3e2809c53..4d8340d021cd 100644
4621
index b8593150d582..4d357bd55c31 100644
4621
--- third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build
4622
--- third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build
4622
+++ third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build
4623
+++ third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build
4623
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
4624
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
4624
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
4625
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
4625
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
4626
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
4626
 DEFINES["RTC_ENABLE_VP9"] = True
4627
 DEFINES["RTC_ENABLE_VP9"] = True
4627
+DEFINES["USE_GLIB"] = "1"
4628
+DEFINES["USE_GLIB"] = "1"
Lines 4641-4647 index 1ea3e2809c53..4d8340d021cd 100644 Link Here
4641
 
4642
 
4642
 FINAL_LIBRARY = "xul"
4643
 FINAL_LIBRARY = "xul"
4643
 
4644
 
4644
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
4645
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
4645
 if CONFIG["MOZ_DEBUG"] == "1":
4646
 if CONFIG["MOZ_DEBUG"] == "1":
4646
 
4647
 
4647
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
4648
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 4835-4845 index 1ea3e2809c53..4d8340d021cd 100644 Link Here
4835
 
4836
 
4836
 Library("audio_encoder_g722_gn")
4837
 Library("audio_encoder_g722_gn")
4837
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
4838
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
4838
index 37f380708aa3..abf91648be19 100644
4839
index bf3eeaa88803..de644f4d586e 100644
4839
--- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build
4840
--- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build
4840
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build
4841
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build
4841
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
4842
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
4842
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
4843
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
4843
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
4844
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
4844
 DEFINES["RTC_ENABLE_VP9"] = True
4845
 DEFINES["RTC_ENABLE_VP9"] = True
4845
+DEFINES["USE_GLIB"] = "1"
4846
+DEFINES["USE_GLIB"] = "1"
Lines 4859-4865 index 37f380708aa3..abf91648be19 100644 Link Here
4859
 
4860
 
4860
 FINAL_LIBRARY = "xul"
4861
 FINAL_LIBRARY = "xul"
4861
 
4862
 
4862
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
4863
@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
4863
 if CONFIG["MOZ_DEBUG"] == "1":
4864
 if CONFIG["MOZ_DEBUG"] == "1":
4864
 
4865
 
4865
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
4866
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 5053-5063 index 37f380708aa3..abf91648be19 100644 Link Here
5053
 
5054
 
5054
 Library("audio_decoder_multiopus_gn")
5055
 Library("audio_decoder_multiopus_gn")
5055
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
5056
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
5056
index 38ae3cb77d4a..ec98b9e1da9d 100644
5057
index 7c069bac99c3..e1b09fbd1410 100644
5057
--- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build
5058
--- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build
5058
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build
5059
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build
5059
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
5060
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
5060
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
5061
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
5061
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
5062
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
5062
 DEFINES["RTC_ENABLE_VP9"] = True
5063
 DEFINES["RTC_ENABLE_VP9"] = True
5063
+DEFINES["USE_GLIB"] = "1"
5064
+DEFINES["USE_GLIB"] = "1"
Lines 5077-5083 index 38ae3cb77d4a..ec98b9e1da9d 100644 Link Here
5077
 
5078
 
5078
 FINAL_LIBRARY = "xul"
5079
 FINAL_LIBRARY = "xul"
5079
 
5080
 
5080
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
5081
@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
5081
 if CONFIG["MOZ_DEBUG"] == "1":
5082
 if CONFIG["MOZ_DEBUG"] == "1":
5082
 
5083
 
5083
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
5084
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 5198-5204 index 38ae3cb77d4a..ec98b9e1da9d 100644 Link Here
5198
 
5199
 
5199
 if CONFIG["TARGET_CPU"] == "x86":
5200
 if CONFIG["TARGET_CPU"] == "x86":
5200
 
5201
 
5201
@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
5202
@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
5202
 
5203
 
5203
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
5204
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
5204
 
5205
 
Lines 5251-5261 index 38ae3cb77d4a..ec98b9e1da9d 100644 Link Here
5251
-
5252
-
5252
 Library("audio_decoder_opus_config_gn")
5253
 Library("audio_decoder_opus_config_gn")
5253
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
5254
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
5254
index 7c496999196d..1ef54111434a 100644
5255
index d7116c1b25af..d2fdc6c52b17 100644
5255
--- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build
5256
--- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build
5256
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build
5257
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build
5257
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
5258
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
5258
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
5259
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
5259
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
5260
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
5260
 DEFINES["RTC_ENABLE_VP9"] = True
5261
 DEFINES["RTC_ENABLE_VP9"] = True
5261
+DEFINES["USE_GLIB"] = "1"
5262
+DEFINES["USE_GLIB"] = "1"
Lines 5275-5281 index 7c496999196d..1ef54111434a 100644 Link Here
5275
 
5276
 
5276
 FINAL_LIBRARY = "xul"
5277
 FINAL_LIBRARY = "xul"
5277
 
5278
 
5278
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
5279
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
5279
 if CONFIG["MOZ_DEBUG"] == "1":
5280
 if CONFIG["MOZ_DEBUG"] == "1":
5280
 
5281
 
5281
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
5282
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 5473-5483 index 7c496999196d..1ef54111434a 100644 Link Here
5473
 
5474
 
5474
 Library("audio_decoder_opus_gn")
5475
 Library("audio_decoder_opus_gn")
5475
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
5476
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
5476
index 089a1a45e301..233f98cf79a9 100644
5477
index 44bd92989657..2e9b48f8a1ca 100644
5477
--- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build
5478
--- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build
5478
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build
5479
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build
5479
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
5480
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
5480
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
5481
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
5481
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
5482
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
5482
 DEFINES["RTC_ENABLE_VP9"] = True
5483
 DEFINES["RTC_ENABLE_VP9"] = True
5483
+DEFINES["USE_GLIB"] = "1"
5484
+DEFINES["USE_GLIB"] = "1"
Lines 5497-5503 index 089a1a45e301..233f98cf79a9 100644 Link Here
5497
 
5498
 
5498
 FINAL_LIBRARY = "xul"
5499
 FINAL_LIBRARY = "xul"
5499
 
5500
 
5500
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
5501
@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
5501
 if CONFIG["MOZ_DEBUG"] == "1":
5502
 if CONFIG["MOZ_DEBUG"] == "1":
5502
 
5503
 
5503
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
5504
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 5691-5701 index 089a1a45e301..233f98cf79a9 100644 Link Here
5691
 
5692
 
5692
 Library("audio_encoder_multiopus_gn")
5693
 Library("audio_encoder_multiopus_gn")
5693
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
5694
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
5694
index a51951b06a09..2d9efa02ffa4 100644
5695
index e434bc36d641..4de657a3de7b 100644
5695
--- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build
5696
--- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build
5696
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build
5697
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build
5697
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
5698
@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
5698
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
5699
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
5699
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
5700
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
5700
 DEFINES["RTC_ENABLE_VP9"] = True
5701
 DEFINES["RTC_ENABLE_VP9"] = True
5701
+DEFINES["USE_GLIB"] = "1"
5702
+DEFINES["USE_GLIB"] = "1"
Lines 5716-5722 index a51951b06a09..2d9efa02ffa4 100644 Link Here
5716
 
5717
 
5717
 FINAL_LIBRARY = "xul"
5718
 FINAL_LIBRARY = "xul"
5718
 
5719
 
5719
@@ -48,175 +57,32 @@ if not CONFIG["MOZ_DEBUG"]:
5720
@@ -49,175 +58,32 @@ if not CONFIG["MOZ_DEBUG"]:
5720
 if CONFIG["MOZ_DEBUG"] == "1":
5721
 if CONFIG["MOZ_DEBUG"] == "1":
5721
 
5722
 
5722
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
5723
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 5899-5909 index a51951b06a09..2d9efa02ffa4 100644 Link Here
5899
 
5900
 
5900
 Library("audio_encoder_opus_config_gn")
5901
 Library("audio_encoder_opus_config_gn")
5901
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
5902
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
5902
index 8b4a7d737129..1d68afeb665c 100644
5903
index ce10e371bb68..f923b1df29e5 100644
5903
--- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build
5904
--- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build
5904
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build
5905
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build
5905
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
5906
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
5906
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
5907
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
5907
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
5908
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
5908
 DEFINES["RTC_ENABLE_VP9"] = True
5909
 DEFINES["RTC_ENABLE_VP9"] = True
5909
+DEFINES["USE_GLIB"] = "1"
5910
+DEFINES["USE_GLIB"] = "1"
Lines 5923-5929 index 8b4a7d737129..1d68afeb665c 100644 Link Here
5923
 
5924
 
5924
 FINAL_LIBRARY = "xul"
5925
 FINAL_LIBRARY = "xul"
5925
 
5926
 
5926
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
5927
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
5927
 if CONFIG["MOZ_DEBUG"] == "1":
5928
 if CONFIG["MOZ_DEBUG"] == "1":
5928
 
5929
 
5929
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
5930
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 6121-6131 index 8b4a7d737129..1d68afeb665c 100644 Link Here
6121
 
6122
 
6122
 Library("audio_encoder_opus_gn")
6123
 Library("audio_encoder_opus_gn")
6123
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
6124
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
6124
index 394c4633e5be..a8566871ce2d 100644
6125
index 70a8757803e7..3ea74de51e24 100644
6125
--- third_party/libwebrtc/api/audio_codecs/opus_audio_decoder_factory_gn/moz.build
6126
--- third_party/libwebrtc/api/audio_codecs/opus_audio_decoder_factory_gn/moz.build
6126
+++ third_party/libwebrtc/api/audio_codecs/opus_audio_decoder_factory_gn/moz.build
6127
+++ third_party/libwebrtc/api/audio_codecs/opus_audio_decoder_factory_gn/moz.build
6127
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
6128
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
6128
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
6129
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
6129
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
6130
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
6130
 DEFINES["RTC_ENABLE_VP9"] = True
6131
 DEFINES["RTC_ENABLE_VP9"] = True
6131
+DEFINES["USE_GLIB"] = "1"
6132
+DEFINES["USE_GLIB"] = "1"
Lines 6145-6151 index 394c4633e5be..a8566871ce2d 100644 Link Here
6145
 
6146
 
6146
 FINAL_LIBRARY = "xul"
6147
 FINAL_LIBRARY = "xul"
6147
 
6148
 
6148
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
6149
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
6149
 if CONFIG["MOZ_DEBUG"] == "1":
6150
 if CONFIG["MOZ_DEBUG"] == "1":
6150
 
6151
 
6151
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
6152
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 6343-6353 index 394c4633e5be..a8566871ce2d 100644 Link Here
6343
 
6344
 
6344
 Library("opus_audio_decoder_factory_gn")
6345
 Library("opus_audio_decoder_factory_gn")
6345
diff --git third_party/libwebrtc/api/audio_options_api_gn/moz.build third_party/libwebrtc/api/audio_options_api_gn/moz.build
6346
diff --git third_party/libwebrtc/api/audio_options_api_gn/moz.build third_party/libwebrtc/api/audio_options_api_gn/moz.build
6346
index f3d9e0c5c619..c8cc49dfc388 100644
6347
index 4034a555945f..1bad1c4d1894 100644
6347
--- third_party/libwebrtc/api/audio_options_api_gn/moz.build
6348
--- third_party/libwebrtc/api/audio_options_api_gn/moz.build
6348
+++ third_party/libwebrtc/api/audio_options_api_gn/moz.build
6349
+++ third_party/libwebrtc/api/audio_options_api_gn/moz.build
6349
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
6350
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
6350
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
6351
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
6351
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
6352
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
6352
 DEFINES["RTC_ENABLE_VP9"] = True
6353
 DEFINES["RTC_ENABLE_VP9"] = True
6353
+DEFINES["USE_GLIB"] = "1"
6354
+DEFINES["USE_GLIB"] = "1"
Lines 6367-6373 index f3d9e0c5c619..c8cc49dfc388 100644 Link Here
6367
 
6368
 
6368
 FINAL_LIBRARY = "xul"
6369
 FINAL_LIBRARY = "xul"
6369
 
6370
 
6370
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
6371
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
6371
 if CONFIG["MOZ_DEBUG"] == "1":
6372
 if CONFIG["MOZ_DEBUG"] == "1":
6372
 
6373
 
6373
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
6374
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 6554-6564 index f3d9e0c5c619..c8cc49dfc388 100644 Link Here
6554
 
6555
 
6555
 Library("audio_options_api_gn")
6556
 Library("audio_options_api_gn")
6556
diff --git third_party/libwebrtc/api/bitrate_allocation_gn/moz.build third_party/libwebrtc/api/bitrate_allocation_gn/moz.build
6557
diff --git third_party/libwebrtc/api/bitrate_allocation_gn/moz.build third_party/libwebrtc/api/bitrate_allocation_gn/moz.build
6557
index 5afb81f93349..1125b25cc2fe 100644
6558
index 5a740fe980cc..00fd8d6b5ab6 100644
6558
--- third_party/libwebrtc/api/bitrate_allocation_gn/moz.build
6559
--- third_party/libwebrtc/api/bitrate_allocation_gn/moz.build
6559
+++ third_party/libwebrtc/api/bitrate_allocation_gn/moz.build
6560
+++ third_party/libwebrtc/api/bitrate_allocation_gn/moz.build
6560
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
6561
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
6561
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
6562
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
6562
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
6563
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
6563
 DEFINES["RTC_ENABLE_VP9"] = True
6564
 DEFINES["RTC_ENABLE_VP9"] = True
6564
+DEFINES["USE_GLIB"] = "1"
6565
+DEFINES["USE_GLIB"] = "1"
Lines 6578-6584 index 5afb81f93349..1125b25cc2fe 100644 Link Here
6578
 
6579
 
6579
 FINAL_LIBRARY = "xul"
6580
 FINAL_LIBRARY = "xul"
6580
 
6581
 
6581
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
6582
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
6582
 if CONFIG["MOZ_DEBUG"] == "1":
6583
 if CONFIG["MOZ_DEBUG"] == "1":
6583
 
6584
 
6584
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
6585
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 6692-6698 index 5afb81f93349..1125b25cc2fe 100644 Link Here
6692
 
6693
 
6693
 if CONFIG["TARGET_CPU"] == "x86":
6694
 if CONFIG["TARGET_CPU"] == "x86":
6694
 
6695
 
6695
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
6696
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
6696
 
6697
 
6697
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
6698
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
6698
 
6699
 
Lines 6745-6755 index 5afb81f93349..1125b25cc2fe 100644 Link Here
6745
-
6746
-
6746
 Library("bitrate_allocation_gn")
6747
 Library("bitrate_allocation_gn")
6747
diff --git third_party/libwebrtc/api/call_api_gn/moz.build third_party/libwebrtc/api/call_api_gn/moz.build
6748
diff --git third_party/libwebrtc/api/call_api_gn/moz.build third_party/libwebrtc/api/call_api_gn/moz.build
6748
index 87ce5be77f85..abcfd171700e 100644
6749
index af61fa96fb07..934c8061dd1a 100644
6749
--- third_party/libwebrtc/api/call_api_gn/moz.build
6750
--- third_party/libwebrtc/api/call_api_gn/moz.build
6750
+++ third_party/libwebrtc/api/call_api_gn/moz.build
6751
+++ third_party/libwebrtc/api/call_api_gn/moz.build
6751
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
6752
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
6752
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
6753
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
6753
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
6754
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
6754
 DEFINES["RTC_ENABLE_VP9"] = True
6755
 DEFINES["RTC_ENABLE_VP9"] = True
6755
+DEFINES["USE_GLIB"] = "1"
6756
+DEFINES["USE_GLIB"] = "1"
Lines 6769-6775 index 87ce5be77f85..abcfd171700e 100644 Link Here
6769
 
6770
 
6770
 FINAL_LIBRARY = "xul"
6771
 FINAL_LIBRARY = "xul"
6771
 
6772
 
6772
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
6773
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
6773
 if CONFIG["MOZ_DEBUG"] == "1":
6774
 if CONFIG["MOZ_DEBUG"] == "1":
6774
 
6775
 
6775
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
6776
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 6879-6885 index 87ce5be77f85..abcfd171700e 100644 Link Here
6879
 
6880
 
6880
 if CONFIG["TARGET_CPU"] == "x86":
6881
 if CONFIG["TARGET_CPU"] == "x86":
6881
 
6882
 
6882
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
6883
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
6883
 
6884
 
6884
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
6885
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
6885
 
6886
 
Lines 6932-6942 index 87ce5be77f85..abcfd171700e 100644 Link Here
6932
-
6933
-
6933
 Library("call_api_gn")
6934
 Library("call_api_gn")
6934
diff --git third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build
6935
diff --git third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build
6935
index f04389690b02..d7c73ce42b03 100644
6936
index fe1f7bc13e24..5d8265e6ec96 100644
6936
--- third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build
6937
--- third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build
6937
+++ third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build
6938
+++ third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build
6938
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
6939
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
6939
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
6940
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
6940
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
6941
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
6941
 DEFINES["RTC_ENABLE_VP9"] = True
6942
 DEFINES["RTC_ENABLE_VP9"] = True
6942
+DEFINES["USE_GLIB"] = "1"
6943
+DEFINES["USE_GLIB"] = "1"
Lines 6956-6962 index f04389690b02..d7c73ce42b03 100644 Link Here
6956
 
6957
 
6957
 FINAL_LIBRARY = "xul"
6958
 FINAL_LIBRARY = "xul"
6958
 
6959
 
6959
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
6960
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
6960
 if CONFIG["MOZ_DEBUG"] == "1":
6961
 if CONFIG["MOZ_DEBUG"] == "1":
6961
 
6962
 
6962
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
6963
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 7070-7076 index f04389690b02..d7c73ce42b03 100644 Link Here
7070
 
7071
 
7071
 if CONFIG["TARGET_CPU"] == "x86":
7072
 if CONFIG["TARGET_CPU"] == "x86":
7072
 
7073
 
7073
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
7074
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
7074
 
7075
 
7075
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
7076
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
7076
 
7077
 
Lines 7123-7133 index f04389690b02..d7c73ce42b03 100644 Link Here
7123
-
7124
-
7124
 Library("frame_decryptor_interface_gn")
7125
 Library("frame_decryptor_interface_gn")
7125
diff --git third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build
7126
diff --git third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build
7126
index 4085a759f65d..2388275f9ba6 100644
7127
index 999863e78f35..acdaa73774aa 100644
7127
--- third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build
7128
--- third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build
7128
+++ third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build
7129
+++ third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build
7129
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
7130
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
7130
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
7131
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
7131
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
7132
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
7132
 DEFINES["RTC_ENABLE_VP9"] = True
7133
 DEFINES["RTC_ENABLE_VP9"] = True
7133
+DEFINES["USE_GLIB"] = "1"
7134
+DEFINES["USE_GLIB"] = "1"
Lines 7147-7153 index 4085a759f65d..2388275f9ba6 100644 Link Here
7147
 
7148
 
7148
 FINAL_LIBRARY = "xul"
7149
 FINAL_LIBRARY = "xul"
7149
 
7150
 
7150
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
7151
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
7151
 if CONFIG["MOZ_DEBUG"] == "1":
7152
 if CONFIG["MOZ_DEBUG"] == "1":
7152
 
7153
 
7153
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
7154
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 7261-7267 index 4085a759f65d..2388275f9ba6 100644 Link Here
7261
 
7262
 
7262
 if CONFIG["TARGET_CPU"] == "x86":
7263
 if CONFIG["TARGET_CPU"] == "x86":
7263
 
7264
 
7264
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
7265
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
7265
 
7266
 
7266
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
7267
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
7267
 
7268
 
Lines 7314-7324 index 4085a759f65d..2388275f9ba6 100644 Link Here
7314
-
7315
-
7315
 Library("frame_encryptor_interface_gn")
7316
 Library("frame_encryptor_interface_gn")
7316
diff --git third_party/libwebrtc/api/crypto/options_gn/moz.build third_party/libwebrtc/api/crypto/options_gn/moz.build
7317
diff --git third_party/libwebrtc/api/crypto/options_gn/moz.build third_party/libwebrtc/api/crypto/options_gn/moz.build
7317
index 924a8c8bad70..82a22cce2ccd 100644
7318
index 71008a1b781a..a614772c39d2 100644
7318
--- third_party/libwebrtc/api/crypto/options_gn/moz.build
7319
--- third_party/libwebrtc/api/crypto/options_gn/moz.build
7319
+++ third_party/libwebrtc/api/crypto/options_gn/moz.build
7320
+++ third_party/libwebrtc/api/crypto/options_gn/moz.build
7320
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
7321
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
7321
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
7322
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
7322
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
7323
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
7323
 DEFINES["RTC_ENABLE_VP9"] = True
7324
 DEFINES["RTC_ENABLE_VP9"] = True
7324
+DEFINES["USE_GLIB"] = "1"
7325
+DEFINES["USE_GLIB"] = "1"
Lines 7338-7344 index 924a8c8bad70..82a22cce2ccd 100644 Link Here
7338
 
7339
 
7339
 FINAL_LIBRARY = "xul"
7340
 FINAL_LIBRARY = "xul"
7340
 
7341
 
7341
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
7342
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
7342
 if CONFIG["MOZ_DEBUG"] == "1":
7343
 if CONFIG["MOZ_DEBUG"] == "1":
7343
 
7344
 
7344
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
7345
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 7525-7535 index 924a8c8bad70..82a22cce2ccd 100644 Link Here
7525
 
7526
 
7526
 Library("options_gn")
7527
 Library("options_gn")
7527
diff --git third_party/libwebrtc/api/environment/environment_factory_gn/moz.build third_party/libwebrtc/api/environment/environment_factory_gn/moz.build
7528
diff --git third_party/libwebrtc/api/environment/environment_factory_gn/moz.build third_party/libwebrtc/api/environment/environment_factory_gn/moz.build
7528
index 76d8ff92e999..debb1ddd5c3a 100644
7529
index 0996db596135..a32dc41fe41f 100644
7529
--- third_party/libwebrtc/api/environment/environment_factory_gn/moz.build
7530
--- third_party/libwebrtc/api/environment/environment_factory_gn/moz.build
7530
+++ third_party/libwebrtc/api/environment/environment_factory_gn/moz.build
7531
+++ third_party/libwebrtc/api/environment/environment_factory_gn/moz.build
7531
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
7532
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
7532
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
7533
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
7533
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
7534
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
7534
 DEFINES["RTC_ENABLE_VP9"] = True
7535
 DEFINES["RTC_ENABLE_VP9"] = True
7535
+DEFINES["USE_GLIB"] = "1"
7536
+DEFINES["USE_GLIB"] = "1"
Lines 7549-7555 index 76d8ff92e999..debb1ddd5c3a 100644 Link Here
7549
 
7550
 
7550
 FINAL_LIBRARY = "xul"
7551
 FINAL_LIBRARY = "xul"
7551
 
7552
 
7552
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
7553
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
7553
 if CONFIG["MOZ_DEBUG"] == "1":
7554
 if CONFIG["MOZ_DEBUG"] == "1":
7554
 
7555
 
7555
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
7556
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 7747-7757 index 76d8ff92e999..debb1ddd5c3a 100644 Link Here
7747
 
7748
 
7748
 Library("environment_factory_gn")
7749
 Library("environment_factory_gn")
7749
diff --git third_party/libwebrtc/api/environment/environment_gn/moz.build third_party/libwebrtc/api/environment/environment_gn/moz.build
7750
diff --git third_party/libwebrtc/api/environment/environment_gn/moz.build third_party/libwebrtc/api/environment/environment_gn/moz.build
7750
index 0bb75b315e5a..000242d51165 100644
7751
index 0b458299cbb0..fc391b227ad3 100644
7751
--- third_party/libwebrtc/api/environment/environment_gn/moz.build
7752
--- third_party/libwebrtc/api/environment/environment_gn/moz.build
7752
+++ third_party/libwebrtc/api/environment/environment_gn/moz.build
7753
+++ third_party/libwebrtc/api/environment/environment_gn/moz.build
7753
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
7754
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
7754
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
7755
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
7755
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
7756
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
7756
 DEFINES["RTC_ENABLE_VP9"] = True
7757
 DEFINES["RTC_ENABLE_VP9"] = True
7757
+DEFINES["USE_GLIB"] = "1"
7758
+DEFINES["USE_GLIB"] = "1"
Lines 7771-7777 index 0bb75b315e5a..000242d51165 100644 Link Here
7771
 
7772
 
7772
 FINAL_LIBRARY = "xul"
7773
 FINAL_LIBRARY = "xul"
7773
 
7774
 
7774
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
7775
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
7775
 if CONFIG["MOZ_DEBUG"] == "1":
7776
 if CONFIG["MOZ_DEBUG"] == "1":
7776
 
7777
 
7777
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
7778
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 7881-7887 index 0bb75b315e5a..000242d51165 100644 Link Here
7881
 
7882
 
7882
 if CONFIG["TARGET_CPU"] == "x86":
7883
 if CONFIG["TARGET_CPU"] == "x86":
7883
 
7884
 
7884
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
7885
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
7885
 
7886
 
7886
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
7887
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
7887
 
7888
 
Lines 7934-7944 index 0bb75b315e5a..000242d51165 100644 Link Here
7934
-
7935
-
7935
 Library("environment_gn")
7936
 Library("environment_gn")
7936
diff --git third_party/libwebrtc/api/fec_controller_api_gn/moz.build third_party/libwebrtc/api/fec_controller_api_gn/moz.build
7937
diff --git third_party/libwebrtc/api/fec_controller_api_gn/moz.build third_party/libwebrtc/api/fec_controller_api_gn/moz.build
7937
index fef918e83259..d83eac28dd73 100644
7938
index 8256e9ef6578..71085b8a0208 100644
7938
--- third_party/libwebrtc/api/fec_controller_api_gn/moz.build
7939
--- third_party/libwebrtc/api/fec_controller_api_gn/moz.build
7939
+++ third_party/libwebrtc/api/fec_controller_api_gn/moz.build
7940
+++ third_party/libwebrtc/api/fec_controller_api_gn/moz.build
7940
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
7941
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
7941
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
7942
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
7942
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
7943
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
7943
 DEFINES["RTC_ENABLE_VP9"] = True
7944
 DEFINES["RTC_ENABLE_VP9"] = True
7944
+DEFINES["USE_GLIB"] = "1"
7945
+DEFINES["USE_GLIB"] = "1"
Lines 7958-7964 index fef918e83259..d83eac28dd73 100644 Link Here
7958
 
7959
 
7959
 FINAL_LIBRARY = "xul"
7960
 FINAL_LIBRARY = "xul"
7960
 
7961
 
7961
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
7962
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
7962
 if CONFIG["MOZ_DEBUG"] == "1":
7963
 if CONFIG["MOZ_DEBUG"] == "1":
7963
 
7964
 
7964
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
7965
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 8072-8078 index fef918e83259..d83eac28dd73 100644 Link Here
8072
 
8073
 
8073
 if CONFIG["TARGET_CPU"] == "x86":
8074
 if CONFIG["TARGET_CPU"] == "x86":
8074
 
8075
 
8075
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
8076
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
8076
 
8077
 
8077
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
8078
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
8078
 
8079
 
Lines 8125-8135 index fef918e83259..d83eac28dd73 100644 Link Here
8125
-
8126
-
8126
 Library("fec_controller_api_gn")
8127
 Library("fec_controller_api_gn")
8127
diff --git third_party/libwebrtc/api/field_trials_registry_gn/moz.build third_party/libwebrtc/api/field_trials_registry_gn/moz.build
8128
diff --git third_party/libwebrtc/api/field_trials_registry_gn/moz.build third_party/libwebrtc/api/field_trials_registry_gn/moz.build
8128
index 8e25c5f0af23..27d919a95bd9 100644
8129
index c4645bf682f2..ef81a5cfa0f6 100644
8129
--- third_party/libwebrtc/api/field_trials_registry_gn/moz.build
8130
--- third_party/libwebrtc/api/field_trials_registry_gn/moz.build
8130
+++ third_party/libwebrtc/api/field_trials_registry_gn/moz.build
8131
+++ third_party/libwebrtc/api/field_trials_registry_gn/moz.build
8131
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
8132
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
8132
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
8133
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
8133
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
8134
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
8134
 DEFINES["RTC_ENABLE_VP9"] = True
8135
 DEFINES["RTC_ENABLE_VP9"] = True
8135
+DEFINES["USE_GLIB"] = "1"
8136
+DEFINES["USE_GLIB"] = "1"
Lines 8149-8155 index 8e25c5f0af23..27d919a95bd9 100644 Link Here
8149
 
8150
 
8150
 FINAL_LIBRARY = "xul"
8151
 FINAL_LIBRARY = "xul"
8151
 
8152
 
8152
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
8153
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
8153
 if CONFIG["MOZ_DEBUG"] == "1":
8154
 if CONFIG["MOZ_DEBUG"] == "1":
8154
 
8155
 
8155
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
8156
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 8343-8353 index 8e25c5f0af23..27d919a95bd9 100644 Link Here
8343
 
8344
 
8344
 Library("field_trials_registry_gn")
8345
 Library("field_trials_registry_gn")
8345
diff --git third_party/libwebrtc/api/field_trials_view_gn/moz.build third_party/libwebrtc/api/field_trials_view_gn/moz.build
8346
diff --git third_party/libwebrtc/api/field_trials_view_gn/moz.build third_party/libwebrtc/api/field_trials_view_gn/moz.build
8346
index 3b251e442736..935aaf609f1e 100644
8347
index a6f7605626bc..f28ccdfa0f3d 100644
8347
--- third_party/libwebrtc/api/field_trials_view_gn/moz.build
8348
--- third_party/libwebrtc/api/field_trials_view_gn/moz.build
8348
+++ third_party/libwebrtc/api/field_trials_view_gn/moz.build
8349
+++ third_party/libwebrtc/api/field_trials_view_gn/moz.build
8349
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
8350
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
8350
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
8351
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
8351
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
8352
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
8352
 DEFINES["RTC_ENABLE_VP9"] = True
8353
 DEFINES["RTC_ENABLE_VP9"] = True
8353
+DEFINES["USE_GLIB"] = "1"
8354
+DEFINES["USE_GLIB"] = "1"
Lines 8367-8373 index 3b251e442736..935aaf609f1e 100644 Link Here
8367
 
8368
 
8368
 FINAL_LIBRARY = "xul"
8369
 FINAL_LIBRARY = "xul"
8369
 
8370
 
8370
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
8371
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
8371
 if CONFIG["MOZ_DEBUG"] == "1":
8372
 if CONFIG["MOZ_DEBUG"] == "1":
8372
 
8373
 
8373
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
8374
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 8477-8483 index 3b251e442736..935aaf609f1e 100644 Link Here
8477
 
8478
 
8478
 if CONFIG["TARGET_CPU"] == "x86":
8479
 if CONFIG["TARGET_CPU"] == "x86":
8479
 
8480
 
8480
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
8481
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
8481
 
8482
 
8482
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
8483
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
8483
 
8484
 
Lines 8530-8540 index 3b251e442736..935aaf609f1e 100644 Link Here
8530
-
8531
-
8531
 Library("field_trials_view_gn")
8532
 Library("field_trials_view_gn")
8532
diff --git third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
8533
diff --git third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
8533
index f4f1de37c757..7bd0919f032f 100644
8534
index 83b184870ac0..a6ca7af93bd2 100644
8534
--- third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
8535
--- third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
8535
+++ third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
8536
+++ third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
8536
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
8537
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
8537
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
8538
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
8538
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
8539
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
8539
 DEFINES["RTC_ENABLE_VP9"] = True
8540
 DEFINES["RTC_ENABLE_VP9"] = True
8540
+DEFINES["USE_GLIB"] = "1"
8541
+DEFINES["USE_GLIB"] = "1"
Lines 8554-8560 index f4f1de37c757..7bd0919f032f 100644 Link Here
8554
 
8555
 
8555
 FINAL_LIBRARY = "xul"
8556
 FINAL_LIBRARY = "xul"
8556
 
8557
 
8557
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
8558
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
8558
 if CONFIG["MOZ_DEBUG"] == "1":
8559
 if CONFIG["MOZ_DEBUG"] == "1":
8559
 
8560
 
8560
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
8561
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 8748-8758 index f4f1de37c757..7bd0919f032f 100644 Link Here
8748
 
8749
 
8749
 Library("frame_transformer_interface_gn")
8750
 Library("frame_transformer_interface_gn")
8750
diff --git third_party/libwebrtc/api/function_view_gn/moz.build third_party/libwebrtc/api/function_view_gn/moz.build
8751
diff --git third_party/libwebrtc/api/function_view_gn/moz.build third_party/libwebrtc/api/function_view_gn/moz.build
8751
index ead33463bfc3..6f7ba527bf72 100644
8752
index 6c82fcf77a1c..c75f2fa7adb8 100644
8752
--- third_party/libwebrtc/api/function_view_gn/moz.build
8753
--- third_party/libwebrtc/api/function_view_gn/moz.build
8753
+++ third_party/libwebrtc/api/function_view_gn/moz.build
8754
+++ third_party/libwebrtc/api/function_view_gn/moz.build
8754
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
8755
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
8755
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
8756
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
8756
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
8757
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
8757
 DEFINES["RTC_ENABLE_VP9"] = True
8758
 DEFINES["RTC_ENABLE_VP9"] = True
8758
+DEFINES["USE_GLIB"] = "1"
8759
+DEFINES["USE_GLIB"] = "1"
Lines 8772-8778 index ead33463bfc3..6f7ba527bf72 100644 Link Here
8772
 
8773
 
8773
 FINAL_LIBRARY = "xul"
8774
 FINAL_LIBRARY = "xul"
8774
 
8775
 
8775
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
8776
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
8776
 if CONFIG["MOZ_DEBUG"] == "1":
8777
 if CONFIG["MOZ_DEBUG"] == "1":
8777
 
8778
 
8778
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
8779
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 8886-8892 index ead33463bfc3..6f7ba527bf72 100644 Link Here
8886
 
8887
 
8887
 if CONFIG["TARGET_CPU"] == "x86":
8888
 if CONFIG["TARGET_CPU"] == "x86":
8888
 
8889
 
8889
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
8890
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
8890
 
8891
 
8891
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
8892
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
8892
 
8893
 
Lines 8939-8949 index ead33463bfc3..6f7ba527bf72 100644 Link Here
8939
-
8940
-
8940
 Library("function_view_gn")
8941
 Library("function_view_gn")
8941
diff --git third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build
8942
diff --git third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build
8942
index d7611c9edebe..451b3e815625 100644
8943
index c6e7793cb8ce..c5f2988c9cf3 100644
8943
--- third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build
8944
--- third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build
8944
+++ third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build
8945
+++ third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build
8945
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
8946
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
8946
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
8947
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
8947
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
8948
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
8948
 DEFINES["RTC_ENABLE_VP9"] = True
8949
 DEFINES["RTC_ENABLE_VP9"] = True
8949
+DEFINES["USE_GLIB"] = "1"
8950
+DEFINES["USE_GLIB"] = "1"
Lines 8963-8969 index d7611c9edebe..451b3e815625 100644 Link Here
8963
 
8964
 
8964
 FINAL_LIBRARY = "xul"
8965
 FINAL_LIBRARY = "xul"
8965
 
8966
 
8966
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
8967
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
8967
 if CONFIG["MOZ_DEBUG"] == "1":
8968
 if CONFIG["MOZ_DEBUG"] == "1":
8968
 
8969
 
8969
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
8970
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 9073-9079 index d7611c9edebe..451b3e815625 100644 Link Here
9073
 
9074
 
9074
 if CONFIG["TARGET_CPU"] == "x86":
9075
 if CONFIG["TARGET_CPU"] == "x86":
9075
 
9076
 
9076
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
9077
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
9077
 
9078
 
9078
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
9079
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
9079
 
9080
 
Lines 9126-9136 index d7611c9edebe..451b3e815625 100644 Link Here
9126
-
9127
-
9127
 Library("jingle_logging_api_gn")
9128
 Library("jingle_logging_api_gn")
9128
diff --git third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build
9129
diff --git third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build
9129
index 8b5a49c259d0..381fb63fcfbf 100644
9130
index cc16ead8d247..89ce43a135f6 100644
9130
--- third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build
9131
--- third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build
9131
+++ third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build
9132
+++ third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build
9132
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
9133
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
9133
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
9134
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
9134
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
9135
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
9135
 DEFINES["RTC_ENABLE_VP9"] = True
9136
 DEFINES["RTC_ENABLE_VP9"] = True
9136
+DEFINES["USE_GLIB"] = "1"
9137
+DEFINES["USE_GLIB"] = "1"
Lines 9150-9156 index 8b5a49c259d0..381fb63fcfbf 100644 Link Here
9150
 
9151
 
9151
 FINAL_LIBRARY = "xul"
9152
 FINAL_LIBRARY = "xul"
9152
 
9153
 
9153
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
9154
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
9154
 if CONFIG["MOZ_DEBUG"] == "1":
9155
 if CONFIG["MOZ_DEBUG"] == "1":
9155
 
9156
 
9156
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
9157
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 9260-9266 index 8b5a49c259d0..381fb63fcfbf 100644 Link Here
9260
 
9261
 
9261
 if CONFIG["TARGET_CPU"] == "x86":
9262
 if CONFIG["TARGET_CPU"] == "x86":
9262
 
9263
 
9263
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
9264
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
9264
 
9265
 
9265
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
9266
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
9266
 
9267
 
Lines 9313-9323 index 8b5a49c259d0..381fb63fcfbf 100644 Link Here
9313
-
9314
-
9314
 Library("jingle_peerconnection_api_gn")
9315
 Library("jingle_peerconnection_api_gn")
9315
diff --git third_party/libwebrtc/api/location_gn/moz.build third_party/libwebrtc/api/location_gn/moz.build
9316
diff --git third_party/libwebrtc/api/location_gn/moz.build third_party/libwebrtc/api/location_gn/moz.build
9316
index cae29c6f01cd..9c6045f7715e 100644
9317
index 6d66e59ebb7b..caaa00483d3e 100644
9317
--- third_party/libwebrtc/api/location_gn/moz.build
9318
--- third_party/libwebrtc/api/location_gn/moz.build
9318
+++ third_party/libwebrtc/api/location_gn/moz.build
9319
+++ third_party/libwebrtc/api/location_gn/moz.build
9319
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
9320
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
9320
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
9321
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
9321
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
9322
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
9322
 DEFINES["RTC_ENABLE_VP9"] = True
9323
 DEFINES["RTC_ENABLE_VP9"] = True
9323
+DEFINES["USE_GLIB"] = "1"
9324
+DEFINES["USE_GLIB"] = "1"
Lines 9337-9343 index cae29c6f01cd..9c6045f7715e 100644 Link Here
9337
 
9338
 
9338
 FINAL_LIBRARY = "xul"
9339
 FINAL_LIBRARY = "xul"
9339
 
9340
 
9340
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
9341
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
9341
 if CONFIG["MOZ_DEBUG"] == "1":
9342
 if CONFIG["MOZ_DEBUG"] == "1":
9342
 
9343
 
9343
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
9344
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 9447-9453 index cae29c6f01cd..9c6045f7715e 100644 Link Here
9447
 
9448
 
9448
 if CONFIG["TARGET_CPU"] == "x86":
9449
 if CONFIG["TARGET_CPU"] == "x86":
9449
 
9450
 
9450
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
9451
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
9451
 
9452
 
9452
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
9453
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
9453
 
9454
 
Lines 9500-9510 index cae29c6f01cd..9c6045f7715e 100644 Link Here
9500
-
9501
-
9501
 Library("location_gn")
9502
 Library("location_gn")
9502
diff --git third_party/libwebrtc/api/make_ref_counted_gn/moz.build third_party/libwebrtc/api/make_ref_counted_gn/moz.build
9503
diff --git third_party/libwebrtc/api/make_ref_counted_gn/moz.build third_party/libwebrtc/api/make_ref_counted_gn/moz.build
9503
index e7975c529738..23fb60720340 100644
9504
index 004d1dd755b9..d8144cd18e60 100644
9504
--- third_party/libwebrtc/api/make_ref_counted_gn/moz.build
9505
--- third_party/libwebrtc/api/make_ref_counted_gn/moz.build
9505
+++ third_party/libwebrtc/api/make_ref_counted_gn/moz.build
9506
+++ third_party/libwebrtc/api/make_ref_counted_gn/moz.build
9506
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
9507
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
9507
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
9508
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
9508
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
9509
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
9509
 DEFINES["RTC_ENABLE_VP9"] = True
9510
 DEFINES["RTC_ENABLE_VP9"] = True
9510
+DEFINES["USE_GLIB"] = "1"
9511
+DEFINES["USE_GLIB"] = "1"
Lines 9524-9530 index e7975c529738..23fb60720340 100644 Link Here
9524
 
9525
 
9525
 FINAL_LIBRARY = "xul"
9526
 FINAL_LIBRARY = "xul"
9526
 
9527
 
9527
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
9528
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
9528
 if CONFIG["MOZ_DEBUG"] == "1":
9529
 if CONFIG["MOZ_DEBUG"] == "1":
9529
 
9530
 
9530
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
9531
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 9634-9640 index e7975c529738..23fb60720340 100644 Link Here
9634
 
9635
 
9635
 if CONFIG["TARGET_CPU"] == "x86":
9636
 if CONFIG["TARGET_CPU"] == "x86":
9636
 
9637
 
9637
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
9638
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
9638
 
9639
 
9639
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
9640
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
9640
 
9641
 
Lines 9687-9697 index e7975c529738..23fb60720340 100644 Link Here
9687
-
9688
-
9688
 Library("make_ref_counted_gn")
9689
 Library("make_ref_counted_gn")
9689
diff --git third_party/libwebrtc/api/media_stream_interface_gn/moz.build third_party/libwebrtc/api/media_stream_interface_gn/moz.build
9690
diff --git third_party/libwebrtc/api/media_stream_interface_gn/moz.build third_party/libwebrtc/api/media_stream_interface_gn/moz.build
9690
index 5b64e7f79ad8..a29d14c3f815 100644
9691
index 54aa80738e3c..5c0f76f23d55 100644
9691
--- third_party/libwebrtc/api/media_stream_interface_gn/moz.build
9692
--- third_party/libwebrtc/api/media_stream_interface_gn/moz.build
9692
+++ third_party/libwebrtc/api/media_stream_interface_gn/moz.build
9693
+++ third_party/libwebrtc/api/media_stream_interface_gn/moz.build
9693
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
9694
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
9694
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
9695
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
9695
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
9696
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
9696
 DEFINES["RTC_ENABLE_VP9"] = True
9697
 DEFINES["RTC_ENABLE_VP9"] = True
9697
+DEFINES["USE_GLIB"] = "1"
9698
+DEFINES["USE_GLIB"] = "1"
Lines 9711-9717 index 5b64e7f79ad8..a29d14c3f815 100644 Link Here
9711
 
9712
 
9712
 FINAL_LIBRARY = "xul"
9713
 FINAL_LIBRARY = "xul"
9713
 
9714
 
9714
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
9715
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
9715
 if CONFIG["MOZ_DEBUG"] == "1":
9716
 if CONFIG["MOZ_DEBUG"] == "1":
9716
 
9717
 
9717
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
9718
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 9905-9915 index 5b64e7f79ad8..a29d14c3f815 100644 Link Here
9905
 
9906
 
9906
 Library("media_stream_interface_gn")
9907
 Library("media_stream_interface_gn")
9907
diff --git third_party/libwebrtc/api/metronome/metronome_gn/moz.build third_party/libwebrtc/api/metronome/metronome_gn/moz.build
9908
diff --git third_party/libwebrtc/api/metronome/metronome_gn/moz.build third_party/libwebrtc/api/metronome/metronome_gn/moz.build
9908
index dcd60714813d..de97bbbba76f 100644
9909
index b1b97440e4e4..e9b473ead2b4 100644
9909
--- third_party/libwebrtc/api/metronome/metronome_gn/moz.build
9910
--- third_party/libwebrtc/api/metronome/metronome_gn/moz.build
9910
+++ third_party/libwebrtc/api/metronome/metronome_gn/moz.build
9911
+++ third_party/libwebrtc/api/metronome/metronome_gn/moz.build
9911
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
9912
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
9912
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
9913
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
9913
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
9914
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
9914
 DEFINES["RTC_ENABLE_VP9"] = True
9915
 DEFINES["RTC_ENABLE_VP9"] = True
9915
+DEFINES["USE_GLIB"] = "1"
9916
+DEFINES["USE_GLIB"] = "1"
Lines 9929-9935 index dcd60714813d..de97bbbba76f 100644 Link Here
9929
 
9930
 
9930
 FINAL_LIBRARY = "xul"
9931
 FINAL_LIBRARY = "xul"
9931
 
9932
 
9932
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
9933
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
9933
 if CONFIG["MOZ_DEBUG"] == "1":
9934
 if CONFIG["MOZ_DEBUG"] == "1":
9934
 
9935
 
9935
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
9936
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 10043-10049 index dcd60714813d..de97bbbba76f 100644 Link Here
10043
 
10044
 
10044
 if CONFIG["TARGET_CPU"] == "x86":
10045
 if CONFIG["TARGET_CPU"] == "x86":
10045
 
10046
 
10046
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
10047
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
10047
 
10048
 
10048
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
10049
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
10049
 
10050
 
Lines 10096-10106 index dcd60714813d..de97bbbba76f 100644 Link Here
10096
-
10097
-
10097
 Library("metronome_gn")
10098
 Library("metronome_gn")
10098
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
10099
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
10099
index ebb57e97affb..2a03f232a3f2 100644
10100
index 31dfa96d1368..3477a521945c 100644
10100
--- third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build
10101
--- third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build
10101
+++ third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build
10102
+++ third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build
10102
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
10103
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
10103
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
10104
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
10104
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
10105
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
10105
 DEFINES["RTC_ENABLE_VP9"] = True
10106
 DEFINES["RTC_ENABLE_VP9"] = True
10106
+DEFINES["USE_GLIB"] = "1"
10107
+DEFINES["USE_GLIB"] = "1"
Lines 10120-10126 index ebb57e97affb..2a03f232a3f2 100644 Link Here
10120
 
10121
 
10121
 FINAL_LIBRARY = "xul"
10122
 FINAL_LIBRARY = "xul"
10122
 
10123
 
10123
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
10124
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
10124
 if CONFIG["MOZ_DEBUG"] == "1":
10125
 if CONFIG["MOZ_DEBUG"] == "1":
10125
 
10126
 
10126
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
10127
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 10318-10328 index ebb57e97affb..2a03f232a3f2 100644 Link Here
10318
 
10319
 
10319
 Library("default_neteq_controller_factory_gn")
10320
 Library("default_neteq_controller_factory_gn")
10320
diff --git third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build
10321
diff --git third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build
10321
index 96f2fffa5e33..02e6017182d4 100644
10322
index b1226384d12d..1cc4a9137400 100644
10322
--- third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build
10323
--- third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build
10323
+++ third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build
10324
+++ third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build
10324
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
10325
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
10325
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
10326
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
10326
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
10327
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
10327
 DEFINES["RTC_ENABLE_VP9"] = True
10328
 DEFINES["RTC_ENABLE_VP9"] = True
10328
+DEFINES["USE_GLIB"] = "1"
10329
+DEFINES["USE_GLIB"] = "1"
Lines 10342-10348 index 96f2fffa5e33..02e6017182d4 100644 Link Here
10342
 
10343
 
10343
 FINAL_LIBRARY = "xul"
10344
 FINAL_LIBRARY = "xul"
10344
 
10345
 
10345
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
10346
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
10346
 if CONFIG["MOZ_DEBUG"] == "1":
10347
 if CONFIG["MOZ_DEBUG"] == "1":
10347
 
10348
 
10348
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
10349
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 10540-10550 index 96f2fffa5e33..02e6017182d4 100644 Link Here
10540
 
10541
 
10541
 Library("default_neteq_factory_gn")
10542
 Library("default_neteq_factory_gn")
10542
diff --git third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build
10543
diff --git third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build
10543
index e619d4fb5ab9..b4bd72fd9699 100644
10544
index 362eb922f20c..3b4f25d48f7a 100644
10544
--- third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build
10545
--- third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build
10545
+++ third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build
10546
+++ third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build
10546
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
10547
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
10547
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
10548
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
10548
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
10549
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
10549
 DEFINES["RTC_ENABLE_VP9"] = True
10550
 DEFINES["RTC_ENABLE_VP9"] = True
10550
+DEFINES["USE_GLIB"] = "1"
10551
+DEFINES["USE_GLIB"] = "1"
Lines 10564-10570 index e619d4fb5ab9..b4bd72fd9699 100644 Link Here
10564
 
10565
 
10565
 FINAL_LIBRARY = "xul"
10566
 FINAL_LIBRARY = "xul"
10566
 
10567
 
10567
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
10568
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
10568
 if CONFIG["MOZ_DEBUG"] == "1":
10569
 if CONFIG["MOZ_DEBUG"] == "1":
10569
 
10570
 
10570
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
10571
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 10758-10768 index e619d4fb5ab9..b4bd72fd9699 100644 Link Here
10758
 
10759
 
10759
 Library("neteq_api_gn")
10760
 Library("neteq_api_gn")
10760
diff --git third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build
10761
diff --git third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build
10761
index 9baed43dc5ab..32fc005477ae 100644
10762
index aec489d12890..2ce3a755ec00 100644
10762
--- third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build
10763
--- third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build
10763
+++ third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build
10764
+++ third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build
10764
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
10765
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
10765
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
10766
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
10766
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
10767
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
10767
 DEFINES["RTC_ENABLE_VP9"] = True
10768
 DEFINES["RTC_ENABLE_VP9"] = True
10768
+DEFINES["USE_GLIB"] = "1"
10769
+DEFINES["USE_GLIB"] = "1"
Lines 10782-10788 index 9baed43dc5ab..32fc005477ae 100644 Link Here
10782
 
10783
 
10783
 FINAL_LIBRARY = "xul"
10784
 FINAL_LIBRARY = "xul"
10784
 
10785
 
10785
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
10786
@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
10786
 if CONFIG["MOZ_DEBUG"] == "1":
10787
 if CONFIG["MOZ_DEBUG"] == "1":
10787
 
10788
 
10788
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
10789
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 10903-10909 index 9baed43dc5ab..32fc005477ae 100644 Link Here
10903
 
10904
 
10904
 if CONFIG["TARGET_CPU"] == "x86":
10905
 if CONFIG["TARGET_CPU"] == "x86":
10905
 
10906
 
10906
@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
10907
@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
10907
 
10908
 
10908
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
10909
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
10909
 
10910
 
Lines 10956-10966 index 9baed43dc5ab..32fc005477ae 100644 Link Here
10956
-
10957
-
10957
 Library("neteq_controller_api_gn")
10958
 Library("neteq_controller_api_gn")
10958
diff --git third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build
10959
diff --git third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build
10959
index a0ca1dd76f9a..df6cea066912 100644
10960
index 3d4c927a3a69..9b7853205ab1 100644
10960
--- third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build
10961
--- third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build
10961
+++ third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build
10962
+++ third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build
10962
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
10963
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
10963
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
10964
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
10964
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
10965
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
10965
 DEFINES["RTC_ENABLE_VP9"] = True
10966
 DEFINES["RTC_ENABLE_VP9"] = True
10966
+DEFINES["USE_GLIB"] = "1"
10967
+DEFINES["USE_GLIB"] = "1"
Lines 10980-10986 index a0ca1dd76f9a..df6cea066912 100644 Link Here
10980
 
10981
 
10981
 FINAL_LIBRARY = "xul"
10982
 FINAL_LIBRARY = "xul"
10982
 
10983
 
10983
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
10984
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
10984
 if CONFIG["MOZ_DEBUG"] == "1":
10985
 if CONFIG["MOZ_DEBUG"] == "1":
10985
 
10986
 
10986
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
10987
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 11167-11177 index a0ca1dd76f9a..df6cea066912 100644 Link Here
11167
 
11168
 
11168
 Library("tick_timer_gn")
11169
 Library("tick_timer_gn")
11169
diff --git third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build
11170
diff --git third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build
11170
index 348bf16eecf1..9c5e0ac36215 100644
11171
index bb63e0bd8fea..4a47582dc2b6 100644
11171
--- third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build
11172
--- third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build
11172
+++ third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build
11173
+++ third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build
11173
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
11174
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
11174
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
11175
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
11175
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
11176
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
11176
 DEFINES["RTC_ENABLE_VP9"] = True
11177
 DEFINES["RTC_ENABLE_VP9"] = True
11177
+DEFINES["USE_GLIB"] = "1"
11178
+DEFINES["USE_GLIB"] = "1"
Lines 11191-11197 index 348bf16eecf1..9c5e0ac36215 100644 Link Here
11191
 
11192
 
11192
 FINAL_LIBRARY = "xul"
11193
 FINAL_LIBRARY = "xul"
11193
 
11194
 
11194
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
11195
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
11195
 if CONFIG["MOZ_DEBUG"] == "1":
11196
 if CONFIG["MOZ_DEBUG"] == "1":
11196
 
11197
 
11197
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
11198
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 11301-11307 index 348bf16eecf1..9c5e0ac36215 100644 Link Here
11301
 
11302
 
11302
 if CONFIG["TARGET_CPU"] == "x86":
11303
 if CONFIG["TARGET_CPU"] == "x86":
11303
 
11304
 
11304
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
11305
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
11305
 
11306
 
11306
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
11307
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
11307
 
11308
 
Lines 11354-11364 index 348bf16eecf1..9c5e0ac36215 100644 Link Here
11354
-
11355
-
11355
 Library("network_state_predictor_api_gn")
11356
 Library("network_state_predictor_api_gn")
11356
diff --git third_party/libwebrtc/api/priority_gn/moz.build third_party/libwebrtc/api/priority_gn/moz.build
11357
diff --git third_party/libwebrtc/api/priority_gn/moz.build third_party/libwebrtc/api/priority_gn/moz.build
11357
index bae63c2cb1cc..81b1938a5747 100644
11358
index 30d291e65442..d29f4153dd41 100644
11358
--- third_party/libwebrtc/api/priority_gn/moz.build
11359
--- third_party/libwebrtc/api/priority_gn/moz.build
11359
+++ third_party/libwebrtc/api/priority_gn/moz.build
11360
+++ third_party/libwebrtc/api/priority_gn/moz.build
11360
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
11361
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
11361
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
11362
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
11362
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
11363
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
11363
 DEFINES["RTC_ENABLE_VP9"] = True
11364
 DEFINES["RTC_ENABLE_VP9"] = True
11364
+DEFINES["USE_GLIB"] = "1"
11365
+DEFINES["USE_GLIB"] = "1"
Lines 11378-11384 index bae63c2cb1cc..81b1938a5747 100644 Link Here
11378
 
11379
 
11379
 FINAL_LIBRARY = "xul"
11380
 FINAL_LIBRARY = "xul"
11380
 
11381
 
11381
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
11382
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
11382
 if CONFIG["MOZ_DEBUG"] == "1":
11383
 if CONFIG["MOZ_DEBUG"] == "1":
11383
 
11384
 
11384
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
11385
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 11492-11498 index bae63c2cb1cc..81b1938a5747 100644 Link Here
11492
 
11493
 
11493
 if CONFIG["TARGET_CPU"] == "x86":
11494
 if CONFIG["TARGET_CPU"] == "x86":
11494
 
11495
 
11495
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
11496
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
11496
 
11497
 
11497
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
11498
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
11498
 
11499
 
Lines 11545-11555 index bae63c2cb1cc..81b1938a5747 100644 Link Here
11545
-
11546
-
11546
 Library("priority_gn")
11547
 Library("priority_gn")
11547
diff --git third_party/libwebrtc/api/ref_count_gn/moz.build third_party/libwebrtc/api/ref_count_gn/moz.build
11548
diff --git third_party/libwebrtc/api/ref_count_gn/moz.build third_party/libwebrtc/api/ref_count_gn/moz.build
11548
index 02086e698dc8..dc07e0f1d07f 100644
11549
index 2c6650dfce0d..905863936e46 100644
11549
--- third_party/libwebrtc/api/ref_count_gn/moz.build
11550
--- third_party/libwebrtc/api/ref_count_gn/moz.build
11550
+++ third_party/libwebrtc/api/ref_count_gn/moz.build
11551
+++ third_party/libwebrtc/api/ref_count_gn/moz.build
11551
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
11552
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
11552
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
11553
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
11553
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
11554
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
11554
 DEFINES["RTC_ENABLE_VP9"] = True
11555
 DEFINES["RTC_ENABLE_VP9"] = True
11555
+DEFINES["USE_GLIB"] = "1"
11556
+DEFINES["USE_GLIB"] = "1"
Lines 11569-11575 index 02086e698dc8..dc07e0f1d07f 100644 Link Here
11569
 
11570
 
11570
 FINAL_LIBRARY = "xul"
11571
 FINAL_LIBRARY = "xul"
11571
 
11572
 
11572
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
11573
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
11573
 if CONFIG["MOZ_DEBUG"] == "1":
11574
 if CONFIG["MOZ_DEBUG"] == "1":
11574
 
11575
 
11575
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
11576
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 11679-11685 index 02086e698dc8..dc07e0f1d07f 100644 Link Here
11679
 
11680
 
11680
 if CONFIG["TARGET_CPU"] == "x86":
11681
 if CONFIG["TARGET_CPU"] == "x86":
11681
 
11682
 
11682
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
11683
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
11683
 
11684
 
11684
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
11685
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
11685
 
11686
 
Lines 11732-11742 index 02086e698dc8..dc07e0f1d07f 100644 Link Here
11732
-
11733
-
11733
 Library("ref_count_gn")
11734
 Library("ref_count_gn")
11734
diff --git third_party/libwebrtc/api/refcountedbase_gn/moz.build third_party/libwebrtc/api/refcountedbase_gn/moz.build
11735
diff --git third_party/libwebrtc/api/refcountedbase_gn/moz.build third_party/libwebrtc/api/refcountedbase_gn/moz.build
11735
index 52fcc299027f..bc3c0a28cb23 100644
11736
index b4a1ce1859bd..5a48e0f012c7 100644
11736
--- third_party/libwebrtc/api/refcountedbase_gn/moz.build
11737
--- third_party/libwebrtc/api/refcountedbase_gn/moz.build
11737
+++ third_party/libwebrtc/api/refcountedbase_gn/moz.build
11738
+++ third_party/libwebrtc/api/refcountedbase_gn/moz.build
11738
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
11739
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
11739
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
11740
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
11740
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
11741
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
11741
 DEFINES["RTC_ENABLE_VP9"] = True
11742
 DEFINES["RTC_ENABLE_VP9"] = True
11742
+DEFINES["USE_GLIB"] = "1"
11743
+DEFINES["USE_GLIB"] = "1"
Lines 11756-11762 index 52fcc299027f..bc3c0a28cb23 100644 Link Here
11756
 
11757
 
11757
 FINAL_LIBRARY = "xul"
11758
 FINAL_LIBRARY = "xul"
11758
 
11759
 
11759
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
11760
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
11760
 if CONFIG["MOZ_DEBUG"] == "1":
11761
 if CONFIG["MOZ_DEBUG"] == "1":
11761
 
11762
 
11762
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
11763
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 11866-11872 index 52fcc299027f..bc3c0a28cb23 100644 Link Here
11866
 
11867
 
11867
 if CONFIG["TARGET_CPU"] == "x86":
11868
 if CONFIG["TARGET_CPU"] == "x86":
11868
 
11869
 
11869
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
11870
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
11870
 
11871
 
11871
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
11872
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
11872
 
11873
 
Lines 11919-11929 index 52fcc299027f..bc3c0a28cb23 100644 Link Here
11919
-
11920
-
11920
 Library("refcountedbase_gn")
11921
 Library("refcountedbase_gn")
11921
diff --git third_party/libwebrtc/api/rtc_error_gn/moz.build third_party/libwebrtc/api/rtc_error_gn/moz.build
11922
diff --git third_party/libwebrtc/api/rtc_error_gn/moz.build third_party/libwebrtc/api/rtc_error_gn/moz.build
11922
index 236d348fb3da..14dc0fc7363c 100644
11923
index 90474a271986..56a78ea56e76 100644
11923
--- third_party/libwebrtc/api/rtc_error_gn/moz.build
11924
--- third_party/libwebrtc/api/rtc_error_gn/moz.build
11924
+++ third_party/libwebrtc/api/rtc_error_gn/moz.build
11925
+++ third_party/libwebrtc/api/rtc_error_gn/moz.build
11925
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
11926
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
11926
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
11927
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
11927
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
11928
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
11928
 DEFINES["RTC_ENABLE_VP9"] = True
11929
 DEFINES["RTC_ENABLE_VP9"] = True
11929
+DEFINES["USE_GLIB"] = "1"
11930
+DEFINES["USE_GLIB"] = "1"
Lines 11943-11949 index 236d348fb3da..14dc0fc7363c 100644 Link Here
11943
 
11944
 
11944
 FINAL_LIBRARY = "xul"
11945
 FINAL_LIBRARY = "xul"
11945
 
11946
 
11946
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
11947
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
11947
 if CONFIG["MOZ_DEBUG"] == "1":
11948
 if CONFIG["MOZ_DEBUG"] == "1":
11948
 
11949
 
11949
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
11950
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 12137-12147 index 236d348fb3da..14dc0fc7363c 100644 Link Here
12137
 
12138
 
12138
 Library("rtc_error_gn")
12139
 Library("rtc_error_gn")
12139
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
12140
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
12140
index 711bf9c77efb..729beed1bc12 100644
12141
index 0b756bd9247e..7ea35cc02aba 100644
12141
--- third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build
12142
--- third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build
12142
+++ third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build
12143
+++ third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build
12143
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
12144
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
12144
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
12145
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
12145
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
12146
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
12146
 DEFINES["RTC_ENABLE_VP9"] = True
12147
 DEFINES["RTC_ENABLE_VP9"] = True
12147
+DEFINES["USE_GLIB"] = "1"
12148
+DEFINES["USE_GLIB"] = "1"
Lines 12161-12167 index 711bf9c77efb..729beed1bc12 100644 Link Here
12161
 
12162
 
12162
 FINAL_LIBRARY = "xul"
12163
 FINAL_LIBRARY = "xul"
12163
 
12164
 
12164
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
12165
@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
12165
 if CONFIG["MOZ_DEBUG"] == "1":
12166
 if CONFIG["MOZ_DEBUG"] == "1":
12166
 
12167
 
12167
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
12168
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 12355-12365 index 711bf9c77efb..729beed1bc12 100644 Link Here
12355
 
12356
 
12356
 Library("rtc_event_log_gn")
12357
 Library("rtc_event_log_gn")
12357
diff --git third_party/libwebrtc/api/rtp_headers_gn/moz.build third_party/libwebrtc/api/rtp_headers_gn/moz.build
12358
diff --git third_party/libwebrtc/api/rtp_headers_gn/moz.build third_party/libwebrtc/api/rtp_headers_gn/moz.build
12358
index 41c4e99db55e..8336baf5c775 100644
12359
index ec592155aca1..eac51ce2434c 100644
12359
--- third_party/libwebrtc/api/rtp_headers_gn/moz.build
12360
--- third_party/libwebrtc/api/rtp_headers_gn/moz.build
12360
+++ third_party/libwebrtc/api/rtp_headers_gn/moz.build
12361
+++ third_party/libwebrtc/api/rtp_headers_gn/moz.build
12361
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
12362
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
12362
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
12363
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
12363
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
12364
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
12364
 DEFINES["RTC_ENABLE_VP9"] = True
12365
 DEFINES["RTC_ENABLE_VP9"] = True
12365
+DEFINES["USE_GLIB"] = "1"
12366
+DEFINES["USE_GLIB"] = "1"
Lines 12379-12385 index 41c4e99db55e..8336baf5c775 100644 Link Here
12379
 
12380
 
12380
 FINAL_LIBRARY = "xul"
12381
 FINAL_LIBRARY = "xul"
12381
 
12382
 
12382
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
12383
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
12383
 if CONFIG["MOZ_DEBUG"] == "1":
12384
 if CONFIG["MOZ_DEBUG"] == "1":
12384
 
12385
 
12385
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
12386
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 12573-12583 index 41c4e99db55e..8336baf5c775 100644 Link Here
12573
 
12574
 
12574
 Library("rtp_headers_gn")
12575
 Library("rtp_headers_gn")
12575
diff --git third_party/libwebrtc/api/rtp_packet_info_gn/moz.build third_party/libwebrtc/api/rtp_packet_info_gn/moz.build
12576
diff --git third_party/libwebrtc/api/rtp_packet_info_gn/moz.build third_party/libwebrtc/api/rtp_packet_info_gn/moz.build
12576
index 9c1735f23770..49697fe94030 100644
12577
index 5ee810606cb6..ab05d8ade21a 100644
12577
--- third_party/libwebrtc/api/rtp_packet_info_gn/moz.build
12578
--- third_party/libwebrtc/api/rtp_packet_info_gn/moz.build
12578
+++ third_party/libwebrtc/api/rtp_packet_info_gn/moz.build
12579
+++ third_party/libwebrtc/api/rtp_packet_info_gn/moz.build
12579
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
12580
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
12580
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
12581
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
12581
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
12582
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
12582
 DEFINES["RTC_ENABLE_VP9"] = True
12583
 DEFINES["RTC_ENABLE_VP9"] = True
12583
+DEFINES["USE_GLIB"] = "1"
12584
+DEFINES["USE_GLIB"] = "1"
Lines 12597-12603 index 9c1735f23770..49697fe94030 100644 Link Here
12597
 
12598
 
12598
 FINAL_LIBRARY = "xul"
12599
 FINAL_LIBRARY = "xul"
12599
 
12600
 
12600
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
12601
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
12601
 if CONFIG["MOZ_DEBUG"] == "1":
12602
 if CONFIG["MOZ_DEBUG"] == "1":
12602
 
12603
 
12603
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
12604
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 12791-12801 index 9c1735f23770..49697fe94030 100644 Link Here
12791
 
12792
 
12792
 Library("rtp_packet_info_gn")
12793
 Library("rtp_packet_info_gn")
12793
diff --git third_party/libwebrtc/api/rtp_packet_sender_gn/moz.build third_party/libwebrtc/api/rtp_packet_sender_gn/moz.build
12794
diff --git third_party/libwebrtc/api/rtp_packet_sender_gn/moz.build third_party/libwebrtc/api/rtp_packet_sender_gn/moz.build
12794
index 0496394c6b64..00fa8cacf263 100644
12795
index 02fdfc4bf124..c6285735ed40 100644
12795
--- third_party/libwebrtc/api/rtp_packet_sender_gn/moz.build
12796
--- third_party/libwebrtc/api/rtp_packet_sender_gn/moz.build
12796
+++ third_party/libwebrtc/api/rtp_packet_sender_gn/moz.build
12797
+++ third_party/libwebrtc/api/rtp_packet_sender_gn/moz.build
12797
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
12798
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
12798
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
12799
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
12799
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
12800
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
12800
 DEFINES["RTC_ENABLE_VP9"] = True
12801
 DEFINES["RTC_ENABLE_VP9"] = True
12801
+DEFINES["USE_GLIB"] = "1"
12802
+DEFINES["USE_GLIB"] = "1"
Lines 12815-12821 index 0496394c6b64..00fa8cacf263 100644 Link Here
12815
 
12816
 
12816
 FINAL_LIBRARY = "xul"
12817
 FINAL_LIBRARY = "xul"
12817
 
12818
 
12818
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
12819
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
12819
 if CONFIG["MOZ_DEBUG"] == "1":
12820
 if CONFIG["MOZ_DEBUG"] == "1":
12820
 
12821
 
12821
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
12822
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 12925-12931 index 0496394c6b64..00fa8cacf263 100644 Link Here
12925
 
12926
 
12926
 if CONFIG["TARGET_CPU"] == "x86":
12927
 if CONFIG["TARGET_CPU"] == "x86":
12927
 
12928
 
12928
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
12929
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
12929
 
12930
 
12930
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
12931
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
12931
 
12932
 
Lines 12978-12988 index 0496394c6b64..00fa8cacf263 100644 Link Here
12978
-
12979
-
12979
 Library("rtp_packet_sender_gn")
12980
 Library("rtp_packet_sender_gn")
12980
diff --git third_party/libwebrtc/api/rtp_parameters_gn/moz.build third_party/libwebrtc/api/rtp_parameters_gn/moz.build
12981
diff --git third_party/libwebrtc/api/rtp_parameters_gn/moz.build third_party/libwebrtc/api/rtp_parameters_gn/moz.build
12981
index 08553627768d..c163c9cf05b9 100644
12982
index 238e7c67f128..cf15782a7f00 100644
12982
--- third_party/libwebrtc/api/rtp_parameters_gn/moz.build
12983
--- third_party/libwebrtc/api/rtp_parameters_gn/moz.build
12983
+++ third_party/libwebrtc/api/rtp_parameters_gn/moz.build
12984
+++ third_party/libwebrtc/api/rtp_parameters_gn/moz.build
12984
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
12985
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
12985
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
12986
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
12986
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
12987
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
12987
 DEFINES["RTC_ENABLE_VP9"] = True
12988
 DEFINES["RTC_ENABLE_VP9"] = True
12988
+DEFINES["USE_GLIB"] = "1"
12989
+DEFINES["USE_GLIB"] = "1"
Lines 13002-13008 index 08553627768d..c163c9cf05b9 100644 Link Here
13002
 
13003
 
13003
 FINAL_LIBRARY = "xul"
13004
 FINAL_LIBRARY = "xul"
13004
 
13005
 
13005
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
13006
@@ -45,179 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
13006
 if CONFIG["MOZ_DEBUG"] == "1":
13007
 if CONFIG["MOZ_DEBUG"] == "1":
13007
 
13008
 
13008
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
13009
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 13189-13199 index 08553627768d..c163c9cf05b9 100644 Link Here
13189
 
13190
 
13190
 Library("rtp_parameters_gn")
13191
 Library("rtp_parameters_gn")
13191
diff --git third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build
13192
diff --git third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build
13192
index 3b12029bdc36..362c773c7fd2 100644
13193
index 2a7960aae06e..c12e8eb0b3ef 100644
13193
--- third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build
13194
--- third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build
13194
+++ third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build
13195
+++ third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build
13195
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
13196
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
13196
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
13197
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
13197
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
13198
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
13198
 DEFINES["RTC_ENABLE_VP9"] = True
13199
 DEFINES["RTC_ENABLE_VP9"] = True
13199
+DEFINES["USE_GLIB"] = "1"
13200
+DEFINES["USE_GLIB"] = "1"
Lines 13213-13219 index 3b12029bdc36..362c773c7fd2 100644 Link Here
13213
 
13214
 
13214
 FINAL_LIBRARY = "xul"
13215
 FINAL_LIBRARY = "xul"
13215
 
13216
 
13216
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
13217
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
13217
 if CONFIG["MOZ_DEBUG"] == "1":
13218
 if CONFIG["MOZ_DEBUG"] == "1":
13218
 
13219
 
13219
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
13220
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 13323-13329 index 3b12029bdc36..362c773c7fd2 100644 Link Here
13323
 
13324
 
13324
 if CONFIG["TARGET_CPU"] == "x86":
13325
 if CONFIG["TARGET_CPU"] == "x86":
13325
 
13326
 
13326
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
13327
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
13327
 
13328
 
13328
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
13329
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
13329
 
13330
 
Lines 13376-13386 index 3b12029bdc36..362c773c7fd2 100644 Link Here
13376
-
13377
-
13377
 Library("rtp_sender_interface_gn")
13378
 Library("rtp_sender_interface_gn")
13378
diff --git third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build
13379
diff --git third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build
13379
index cea07d6922c0..ea214198799a 100644
13380
index 0930cbd84acb..2c0babe074a3 100644
13380
--- third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build
13381
--- third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build
13381
+++ third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build
13382
+++ third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build
13382
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
13383
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
13383
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
13384
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
13384
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
13385
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
13385
 DEFINES["RTC_ENABLE_VP9"] = True
13386
 DEFINES["RTC_ENABLE_VP9"] = True
13386
+DEFINES["USE_GLIB"] = "1"
13387
+DEFINES["USE_GLIB"] = "1"
Lines 13400-13406 index cea07d6922c0..ea214198799a 100644 Link Here
13400
 
13401
 
13401
 FINAL_LIBRARY = "xul"
13402
 FINAL_LIBRARY = "xul"
13402
 
13403
 
13403
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
13404
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
13404
 if CONFIG["MOZ_DEBUG"] == "1":
13405
 if CONFIG["MOZ_DEBUG"] == "1":
13405
 
13406
 
13406
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
13407
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 13594-13604 index cea07d6922c0..ea214198799a 100644 Link Here
13594
 
13595
 
13595
 Library("rtp_sender_setparameters_callback_gn")
13596
 Library("rtp_sender_setparameters_callback_gn")
13596
diff --git third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build
13597
diff --git third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build
13597
index b80b352927ed..1090214b4d41 100644
13598
index 6613c28bb60a..003fe860fd3f 100644
13598
--- third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build
13599
--- third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build
13599
+++ third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build
13600
+++ third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build
13600
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
13601
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
13601
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
13602
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
13602
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
13603
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
13603
 DEFINES["RTC_ENABLE_VP9"] = True
13604
 DEFINES["RTC_ENABLE_VP9"] = True
13604
+DEFINES["USE_GLIB"] = "1"
13605
+DEFINES["USE_GLIB"] = "1"
Lines 13618-13624 index b80b352927ed..1090214b4d41 100644 Link Here
13618
 
13619
 
13619
 FINAL_LIBRARY = "xul"
13620
 FINAL_LIBRARY = "xul"
13620
 
13621
 
13621
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
13622
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
13622
 if CONFIG["MOZ_DEBUG"] == "1":
13623
 if CONFIG["MOZ_DEBUG"] == "1":
13623
 
13624
 
13624
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
13625
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 13728-13734 index b80b352927ed..1090214b4d41 100644 Link Here
13728
 
13729
 
13729
 if CONFIG["TARGET_CPU"] == "x86":
13730
 if CONFIG["TARGET_CPU"] == "x86":
13730
 
13731
 
13731
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
13732
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
13732
 
13733
 
13733
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
13734
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
13734
 
13735
 
Lines 13781-13791 index b80b352927ed..1090214b4d41 100644 Link Here
13781
-
13782
-
13782
 Library("rtp_transceiver_direction_gn")
13783
 Library("rtp_transceiver_direction_gn")
13783
diff --git third_party/libwebrtc/api/scoped_refptr_gn/moz.build third_party/libwebrtc/api/scoped_refptr_gn/moz.build
13784
diff --git third_party/libwebrtc/api/scoped_refptr_gn/moz.build third_party/libwebrtc/api/scoped_refptr_gn/moz.build
13784
index 562cb4ae55f8..05723cb68f60 100644
13785
index b2adf5851e86..593dd7ead65b 100644
13785
--- third_party/libwebrtc/api/scoped_refptr_gn/moz.build
13786
--- third_party/libwebrtc/api/scoped_refptr_gn/moz.build
13786
+++ third_party/libwebrtc/api/scoped_refptr_gn/moz.build
13787
+++ third_party/libwebrtc/api/scoped_refptr_gn/moz.build
13787
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
13788
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
13788
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
13789
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
13789
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
13790
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
13790
 DEFINES["RTC_ENABLE_VP9"] = True
13791
 DEFINES["RTC_ENABLE_VP9"] = True
13791
+DEFINES["USE_GLIB"] = "1"
13792
+DEFINES["USE_GLIB"] = "1"
Lines 13805-13811 index 562cb4ae55f8..05723cb68f60 100644 Link Here
13805
 
13806
 
13806
 FINAL_LIBRARY = "xul"
13807
 FINAL_LIBRARY = "xul"
13807
 
13808
 
13808
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
13809
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
13809
 if CONFIG["MOZ_DEBUG"] == "1":
13810
 if CONFIG["MOZ_DEBUG"] == "1":
13810
 
13811
 
13811
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
13812
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 13915-13921 index 562cb4ae55f8..05723cb68f60 100644 Link Here
13915
 
13916
 
13916
 if CONFIG["TARGET_CPU"] == "x86":
13917
 if CONFIG["TARGET_CPU"] == "x86":
13917
 
13918
 
13918
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
13919
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
13919
 
13920
 
13920
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
13921
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
13921
 
13922
 
Lines 13968-13978 index 562cb4ae55f8..05723cb68f60 100644 Link Here
13968
-
13969
-
13969
 Library("scoped_refptr_gn")
13970
 Library("scoped_refptr_gn")
13970
diff --git third_party/libwebrtc/api/sequence_checker_gn/moz.build third_party/libwebrtc/api/sequence_checker_gn/moz.build
13971
diff --git third_party/libwebrtc/api/sequence_checker_gn/moz.build third_party/libwebrtc/api/sequence_checker_gn/moz.build
13971
index 191ccae1f939..42cf01fa9d47 100644
13972
index 67c1414a8fb4..070132b14c93 100644
13972
--- third_party/libwebrtc/api/sequence_checker_gn/moz.build
13973
--- third_party/libwebrtc/api/sequence_checker_gn/moz.build
13973
+++ third_party/libwebrtc/api/sequence_checker_gn/moz.build
13974
+++ third_party/libwebrtc/api/sequence_checker_gn/moz.build
13974
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
13975
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
13975
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
13976
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
13976
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
13977
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
13977
 DEFINES["RTC_ENABLE_VP9"] = True
13978
 DEFINES["RTC_ENABLE_VP9"] = True
13978
+DEFINES["USE_GLIB"] = "1"
13979
+DEFINES["USE_GLIB"] = "1"
Lines 13992-13998 index 191ccae1f939..42cf01fa9d47 100644 Link Here
13992
 
13993
 
13993
 FINAL_LIBRARY = "xul"
13994
 FINAL_LIBRARY = "xul"
13994
 
13995
 
13995
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
13996
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
13996
 if CONFIG["MOZ_DEBUG"] == "1":
13997
 if CONFIG["MOZ_DEBUG"] == "1":
13997
 
13998
 
13998
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
13999
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 14106-14112 index 191ccae1f939..42cf01fa9d47 100644 Link Here
14106
 
14107
 
14107
 if CONFIG["TARGET_CPU"] == "x86":
14108
 if CONFIG["TARGET_CPU"] == "x86":
14108
 
14109
 
14109
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
14110
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
14110
 
14111
 
14111
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
14112
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
14112
 
14113
 
Lines 14159-14169 index 191ccae1f939..42cf01fa9d47 100644 Link Here
14159
-
14160
-
14160
 Library("sequence_checker_gn")
14161
 Library("sequence_checker_gn")
14161
diff --git third_party/libwebrtc/api/simulated_network_api_gn/moz.build third_party/libwebrtc/api/simulated_network_api_gn/moz.build
14162
diff --git third_party/libwebrtc/api/simulated_network_api_gn/moz.build third_party/libwebrtc/api/simulated_network_api_gn/moz.build
14162
index 558f8ca50fda..d5b1312c38f6 100644
14163
index d01110ffb525..795aecd86879 100644
14163
--- third_party/libwebrtc/api/simulated_network_api_gn/moz.build
14164
--- third_party/libwebrtc/api/simulated_network_api_gn/moz.build
14164
+++ third_party/libwebrtc/api/simulated_network_api_gn/moz.build
14165
+++ third_party/libwebrtc/api/simulated_network_api_gn/moz.build
14165
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
14166
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
14166
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
14167
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
14167
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
14168
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
14168
 DEFINES["RTC_ENABLE_VP9"] = True
14169
 DEFINES["RTC_ENABLE_VP9"] = True
14169
+DEFINES["USE_GLIB"] = "1"
14170
+DEFINES["USE_GLIB"] = "1"
Lines 14183-14189 index 558f8ca50fda..d5b1312c38f6 100644 Link Here
14183
 
14184
 
14184
 FINAL_LIBRARY = "xul"
14185
 FINAL_LIBRARY = "xul"
14185
 
14186
 
14186
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
14187
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
14187
 if CONFIG["MOZ_DEBUG"] == "1":
14188
 if CONFIG["MOZ_DEBUG"] == "1":
14188
 
14189
 
14189
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
14190
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 14297-14303 index 558f8ca50fda..d5b1312c38f6 100644 Link Here
14297
 
14298
 
14298
 if CONFIG["TARGET_CPU"] == "x86":
14299
 if CONFIG["TARGET_CPU"] == "x86":
14299
 
14300
 
14300
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
14301
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
14301
 
14302
 
14302
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
14303
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
14303
 
14304
 
Lines 14350-14360 index 558f8ca50fda..d5b1312c38f6 100644 Link Here
14350
-
14351
-
14351
 Library("simulated_network_api_gn")
14352
 Library("simulated_network_api_gn")
14352
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
14353
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
14353
index 6a4453ac73ee..46673406c667 100644
14354
index 122718956c48..a4b72e0aadf3 100644
14354
--- third_party/libwebrtc/api/task_queue/default_task_queue_factory_gn/moz.build
14355
--- third_party/libwebrtc/api/task_queue/default_task_queue_factory_gn/moz.build
14355
+++ third_party/libwebrtc/api/task_queue/default_task_queue_factory_gn/moz.build
14356
+++ third_party/libwebrtc/api/task_queue/default_task_queue_factory_gn/moz.build
14356
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
14357
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
14357
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
14358
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
14358
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
14359
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
14359
 DEFINES["RTC_ENABLE_VP9"] = True
14360
 DEFINES["RTC_ENABLE_VP9"] = True
14360
+DEFINES["USE_GLIB"] = "1"
14361
+DEFINES["USE_GLIB"] = "1"
Lines 14374-14380 index 6a4453ac73ee..46673406c667 100644 Link Here
14374
 
14375
 
14375
 FINAL_LIBRARY = "xul"
14376
 FINAL_LIBRARY = "xul"
14376
 
14377
 
14377
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
14378
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
14378
 if CONFIG["MOZ_DEBUG"] == "1":
14379
 if CONFIG["MOZ_DEBUG"] == "1":
14379
 
14380
 
14380
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
14381
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 14484-14490 index 6a4453ac73ee..46673406c667 100644 Link Here
14484
 
14485
 
14485
 if CONFIG["TARGET_CPU"] == "x86":
14486
 if CONFIG["TARGET_CPU"] == "x86":
14486
 
14487
 
14487
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
14488
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
14488
 
14489
 
14489
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
14490
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
14490
 
14491
 
Lines 14537-14547 index 6a4453ac73ee..46673406c667 100644 Link Here
14537
-
14538
-
14538
 Library("default_task_queue_factory_gn")
14539
 Library("default_task_queue_factory_gn")
14539
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
14540
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
14540
index beda60da9198..c519cfaeab49 100644
14541
index 9d8b3cf2f357..6d9600947c8a 100644
14541
--- third_party/libwebrtc/api/task_queue/pending_task_safety_flag_gn/moz.build
14542
--- third_party/libwebrtc/api/task_queue/pending_task_safety_flag_gn/moz.build
14542
+++ third_party/libwebrtc/api/task_queue/pending_task_safety_flag_gn/moz.build
14543
+++ third_party/libwebrtc/api/task_queue/pending_task_safety_flag_gn/moz.build
14543
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
14544
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
14544
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
14545
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
14545
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
14546
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
14546
 DEFINES["RTC_ENABLE_VP9"] = True
14547
 DEFINES["RTC_ENABLE_VP9"] = True
14547
+DEFINES["USE_GLIB"] = "1"
14548
+DEFINES["USE_GLIB"] = "1"
Lines 14561-14567 index beda60da9198..c519cfaeab49 100644 Link Here
14561
 
14562
 
14562
 FINAL_LIBRARY = "xul"
14563
 FINAL_LIBRARY = "xul"
14563
 
14564
 
14564
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
14565
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
14565
 if CONFIG["MOZ_DEBUG"] == "1":
14566
 if CONFIG["MOZ_DEBUG"] == "1":
14566
 
14567
 
14567
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
14568
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 14748-14758 index beda60da9198..c519cfaeab49 100644 Link Here
14748
 
14749
 
14749
 Library("pending_task_safety_flag_gn")
14750
 Library("pending_task_safety_flag_gn")
14750
diff --git third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build
14751
diff --git third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build
14751
index 3ea55a8b7684..7734743729b9 100644
14752
index 85ed7df23b34..85068cdc7550 100644
14752
--- third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build
14753
--- third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build
14753
+++ third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build
14754
+++ third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build
14754
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
14755
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
14755
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
14756
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
14756
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
14757
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
14757
 DEFINES["RTC_ENABLE_VP9"] = True
14758
 DEFINES["RTC_ENABLE_VP9"] = True
14758
+DEFINES["USE_GLIB"] = "1"
14759
+DEFINES["USE_GLIB"] = "1"
Lines 14772-14778 index 3ea55a8b7684..7734743729b9 100644 Link Here
14772
 
14773
 
14773
 FINAL_LIBRARY = "xul"
14774
 FINAL_LIBRARY = "xul"
14774
 
14775
 
14775
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
14776
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
14776
 if CONFIG["MOZ_DEBUG"] == "1":
14777
 if CONFIG["MOZ_DEBUG"] == "1":
14777
 
14778
 
14778
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
14779
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 14959-14969 index 3ea55a8b7684..7734743729b9 100644 Link Here
14959
 
14960
 
14960
 Library("task_queue_gn")
14961
 Library("task_queue_gn")
14961
diff --git third_party/libwebrtc/api/transport/bandwidth_estimation_settings_gn/moz.build third_party/libwebrtc/api/transport/bandwidth_estimation_settings_gn/moz.build
14962
diff --git third_party/libwebrtc/api/transport/bandwidth_estimation_settings_gn/moz.build third_party/libwebrtc/api/transport/bandwidth_estimation_settings_gn/moz.build
14962
index 63460f387b3a..3c4c34510df6 100644
14963
index 21696b67b110..3121ac7a6e59 100644
14963
--- third_party/libwebrtc/api/transport/bandwidth_estimation_settings_gn/moz.build
14964
--- third_party/libwebrtc/api/transport/bandwidth_estimation_settings_gn/moz.build
14964
+++ third_party/libwebrtc/api/transport/bandwidth_estimation_settings_gn/moz.build
14965
+++ third_party/libwebrtc/api/transport/bandwidth_estimation_settings_gn/moz.build
14965
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
14966
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
14966
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
14967
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
14967
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
14968
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
14968
 DEFINES["RTC_ENABLE_VP9"] = True
14969
 DEFINES["RTC_ENABLE_VP9"] = True
14969
+DEFINES["USE_GLIB"] = "1"
14970
+DEFINES["USE_GLIB"] = "1"
Lines 14983-14989 index 63460f387b3a..3c4c34510df6 100644 Link Here
14983
 
14984
 
14984
 FINAL_LIBRARY = "xul"
14985
 FINAL_LIBRARY = "xul"
14985
 
14986
 
14986
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
14987
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
14987
 if CONFIG["MOZ_DEBUG"] == "1":
14988
 if CONFIG["MOZ_DEBUG"] == "1":
14988
 
14989
 
14989
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
14990
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 15093-15099 index 63460f387b3a..3c4c34510df6 100644 Link Here
15093
 
15094
 
15094
 if CONFIG["TARGET_CPU"] == "x86":
15095
 if CONFIG["TARGET_CPU"] == "x86":
15095
 
15096
 
15096
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
15097
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
15097
 
15098
 
15098
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
15099
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
15099
 
15100
 
Lines 15146-15156 index 63460f387b3a..3c4c34510df6 100644 Link Here
15146
-
15147
-
15147
 Library("bandwidth_estimation_settings_gn")
15148
 Library("bandwidth_estimation_settings_gn")
15148
diff --git third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build
15149
diff --git third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build
15149
index 7e80ecfe46b3..8b2281068103 100644
15150
index e7882cb5deca..df0954cb00bc 100644
15150
--- third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build
15151
--- third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build
15151
+++ third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build
15152
+++ third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build
15152
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
15153
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
15153
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
15154
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
15154
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
15155
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
15155
 DEFINES["RTC_ENABLE_VP9"] = True
15156
 DEFINES["RTC_ENABLE_VP9"] = True
15156
+DEFINES["USE_GLIB"] = "1"
15157
+DEFINES["USE_GLIB"] = "1"
Lines 15170-15176 index 7e80ecfe46b3..8b2281068103 100644 Link Here
15170
 
15171
 
15171
 FINAL_LIBRARY = "xul"
15172
 FINAL_LIBRARY = "xul"
15172
 
15173
 
15173
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
15174
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
15174
 if CONFIG["MOZ_DEBUG"] == "1":
15175
 if CONFIG["MOZ_DEBUG"] == "1":
15175
 
15176
 
15176
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
15177
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 15280-15286 index 7e80ecfe46b3..8b2281068103 100644 Link Here
15280
 
15281
 
15281
 if CONFIG["TARGET_CPU"] == "x86":
15282
 if CONFIG["TARGET_CPU"] == "x86":
15282
 
15283
 
15283
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
15284
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
15284
 
15285
 
15285
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
15286
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
15286
 
15287
 
Lines 15333-15343 index 7e80ecfe46b3..8b2281068103 100644 Link Here
15333
-
15334
-
15334
 Library("bandwidth_usage_gn")
15335
 Library("bandwidth_usage_gn")
15335
diff --git third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build
15336
diff --git third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build
15336
index 25a3c741839e..c3027c3972c5 100644
15337
index 555a10902f49..c58892133406 100644
15337
--- third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build
15338
--- third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build
15338
+++ third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build
15339
+++ third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build
15339
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
15340
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
15340
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
15341
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
15341
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
15342
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
15342
 DEFINES["RTC_ENABLE_VP9"] = True
15343
 DEFINES["RTC_ENABLE_VP9"] = True
15343
+DEFINES["USE_GLIB"] = "1"
15344
+DEFINES["USE_GLIB"] = "1"
Lines 15357-15363 index 25a3c741839e..c3027c3972c5 100644 Link Here
15357
 
15358
 
15358
 FINAL_LIBRARY = "xul"
15359
 FINAL_LIBRARY = "xul"
15359
 
15360
 
15360
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
15361
@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
15361
 if CONFIG["MOZ_DEBUG"] == "1":
15362
 if CONFIG["MOZ_DEBUG"] == "1":
15362
 
15363
 
15363
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
15364
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 15540-15550 index 25a3c741839e..c3027c3972c5 100644 Link Here
15540
 
15541
 
15541
 Library("bitrate_settings_gn")
15542
 Library("bitrate_settings_gn")
15542
diff --git third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build
15543
diff --git third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build
15543
index b11138679c25..19c008c92ffe 100644
15544
index 8c89cd7e38ad..8c928a5e26a1 100644
15544
--- third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build
15545
--- third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build
15545
+++ third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build
15546
+++ third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build
15546
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
15547
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
15547
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
15548
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
15548
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
15549
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
15549
 DEFINES["RTC_ENABLE_VP9"] = True
15550
 DEFINES["RTC_ENABLE_VP9"] = True
15550
+DEFINES["USE_GLIB"] = "1"
15551
+DEFINES["USE_GLIB"] = "1"
Lines 15564-15570 index b11138679c25..19c008c92ffe 100644 Link Here
15564
 
15565
 
15565
 FINAL_LIBRARY = "xul"
15566
 FINAL_LIBRARY = "xul"
15566
 
15567
 
15567
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
15568
@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
15568
 if CONFIG["MOZ_DEBUG"] == "1":
15569
 if CONFIG["MOZ_DEBUG"] == "1":
15569
 
15570
 
15570
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
15571
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 15685-15691 index b11138679c25..19c008c92ffe 100644 Link Here
15685
 
15686
 
15686
 if CONFIG["TARGET_CPU"] == "x86":
15687
 if CONFIG["TARGET_CPU"] == "x86":
15687
 
15688
 
15688
@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
15689
@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
15689
 
15690
 
15690
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
15691
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
15691
 
15692
 
Lines 15738-15748 index b11138679c25..19c008c92ffe 100644 Link Here
15738
-
15739
-
15739
 Library("datagram_transport_interface_gn")
15740
 Library("datagram_transport_interface_gn")
15740
diff --git third_party/libwebrtc/api/transport/ecn_marking_gn/moz.build third_party/libwebrtc/api/transport/ecn_marking_gn/moz.build
15741
diff --git third_party/libwebrtc/api/transport/ecn_marking_gn/moz.build third_party/libwebrtc/api/transport/ecn_marking_gn/moz.build
15741
index 6c4cd224b98b..bc515fc5c103 100644
15742
index 598652874c2f..b08c4ae86174 100644
15742
--- third_party/libwebrtc/api/transport/ecn_marking_gn/moz.build
15743
--- third_party/libwebrtc/api/transport/ecn_marking_gn/moz.build
15743
+++ third_party/libwebrtc/api/transport/ecn_marking_gn/moz.build
15744
+++ third_party/libwebrtc/api/transport/ecn_marking_gn/moz.build
15744
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
15745
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
15745
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
15746
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
15746
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
15747
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
15747
 DEFINES["RTC_ENABLE_VP9"] = True
15748
 DEFINES["RTC_ENABLE_VP9"] = True
15748
+DEFINES["USE_GLIB"] = "1"
15749
+DEFINES["USE_GLIB"] = "1"
Lines 15762-15768 index 6c4cd224b98b..bc515fc5c103 100644 Link Here
15762
 
15763
 
15763
 FINAL_LIBRARY = "xul"
15764
 FINAL_LIBRARY = "xul"
15764
 
15765
 
15765
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
15766
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
15766
 if CONFIG["MOZ_DEBUG"] == "1":
15767
 if CONFIG["MOZ_DEBUG"] == "1":
15767
 
15768
 
15768
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
15769
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 15872-15878 index 6c4cd224b98b..bc515fc5c103 100644 Link Here
15872
 
15873
 
15873
 if CONFIG["TARGET_CPU"] == "x86":
15874
 if CONFIG["TARGET_CPU"] == "x86":
15874
 
15875
 
15875
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
15876
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
15876
 
15877
 
15877
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
15878
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
15878
 
15879
 
Lines 15925-15935 index 6c4cd224b98b..bc515fc5c103 100644 Link Here
15925
-
15926
-
15926
 Library("ecn_marking_gn")
15927
 Library("ecn_marking_gn")
15927
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
15928
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
15928
index c47158aa87fe..842473731ca0 100644
15929
index 9105d8e40b27..cba64e004708 100644
15929
--- third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build
15930
--- third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build
15930
+++ third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build
15931
+++ third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build
15931
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
15932
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
15932
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
15933
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
15933
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
15934
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
15934
 DEFINES["RTC_ENABLE_VP9"] = True
15935
 DEFINES["RTC_ENABLE_VP9"] = True
15935
+DEFINES["USE_GLIB"] = "1"
15936
+DEFINES["USE_GLIB"] = "1"
Lines 15949-15955 index c47158aa87fe..842473731ca0 100644 Link Here
15949
 
15950
 
15950
 FINAL_LIBRARY = "xul"
15951
 FINAL_LIBRARY = "xul"
15951
 
15952
 
15952
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
15953
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
15953
 if CONFIG["MOZ_DEBUG"] == "1":
15954
 if CONFIG["MOZ_DEBUG"] == "1":
15954
 
15955
 
15955
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
15956
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 16143-16153 index c47158aa87fe..842473731ca0 100644 Link Here
16143
 
16144
 
16144
 Library("field_trial_based_config_gn")
16145
 Library("field_trial_based_config_gn")
16145
diff --git third_party/libwebrtc/api/transport/goog_cc_gn/moz.build third_party/libwebrtc/api/transport/goog_cc_gn/moz.build
16146
diff --git third_party/libwebrtc/api/transport/goog_cc_gn/moz.build third_party/libwebrtc/api/transport/goog_cc_gn/moz.build
16146
index 89be00e883b4..6e7e204ba661 100644
16147
index 3118bc006971..a579189ca56f 100644
16147
--- third_party/libwebrtc/api/transport/goog_cc_gn/moz.build
16148
--- third_party/libwebrtc/api/transport/goog_cc_gn/moz.build
16148
+++ third_party/libwebrtc/api/transport/goog_cc_gn/moz.build
16149
+++ third_party/libwebrtc/api/transport/goog_cc_gn/moz.build
16149
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
16150
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
16150
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
16151
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
16151
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
16152
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
16152
 DEFINES["RTC_ENABLE_VP9"] = True
16153
 DEFINES["RTC_ENABLE_VP9"] = True
16153
+DEFINES["USE_GLIB"] = "1"
16154
+DEFINES["USE_GLIB"] = "1"
Lines 16167-16173 index 89be00e883b4..6e7e204ba661 100644 Link Here
16167
 
16168
 
16168
 FINAL_LIBRARY = "xul"
16169
 FINAL_LIBRARY = "xul"
16169
 
16170
 
16170
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
16171
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
16171
 if CONFIG["MOZ_DEBUG"] == "1":
16172
 if CONFIG["MOZ_DEBUG"] == "1":
16172
 
16173
 
16173
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
16174
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 16366-16376 index 89be00e883b4..6e7e204ba661 100644 Link Here
16366
 
16367
 
16367
 Library("goog_cc_gn")
16368
 Library("goog_cc_gn")
16368
diff --git third_party/libwebrtc/api/transport/network_control_gn/moz.build third_party/libwebrtc/api/transport/network_control_gn/moz.build
16369
diff --git third_party/libwebrtc/api/transport/network_control_gn/moz.build third_party/libwebrtc/api/transport/network_control_gn/moz.build
16369
index 7ae9e4b54679..d79bb6509222 100644
16370
index 84054a3f0cfc..0840a4bd7daa 100644
16370
--- third_party/libwebrtc/api/transport/network_control_gn/moz.build
16371
--- third_party/libwebrtc/api/transport/network_control_gn/moz.build
16371
+++ third_party/libwebrtc/api/transport/network_control_gn/moz.build
16372
+++ third_party/libwebrtc/api/transport/network_control_gn/moz.build
16372
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
16373
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
16373
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
16374
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
16374
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
16375
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
16375
 DEFINES["RTC_ENABLE_VP9"] = True
16376
 DEFINES["RTC_ENABLE_VP9"] = True
16376
+DEFINES["USE_GLIB"] = "1"
16377
+DEFINES["USE_GLIB"] = "1"
Lines 16390-16396 index 7ae9e4b54679..d79bb6509222 100644 Link Here
16390
 
16391
 
16391
 FINAL_LIBRARY = "xul"
16392
 FINAL_LIBRARY = "xul"
16392
 
16393
 
16393
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
16394
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
16394
 if CONFIG["MOZ_DEBUG"] == "1":
16395
 if CONFIG["MOZ_DEBUG"] == "1":
16395
 
16396
 
16396
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
16397
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 16584-16594 index 7ae9e4b54679..d79bb6509222 100644 Link Here
16584
 
16585
 
16585
 Library("network_control_gn")
16586
 Library("network_control_gn")
16586
diff --git third_party/libwebrtc/api/transport/rtp/corruption_detection_message_gn/moz.build third_party/libwebrtc/api/transport/rtp/corruption_detection_message_gn/moz.build
16587
diff --git third_party/libwebrtc/api/transport/rtp/corruption_detection_message_gn/moz.build third_party/libwebrtc/api/transport/rtp/corruption_detection_message_gn/moz.build
16587
index 5c94efb78495..915f17ef72d7 100644
16588
index a51a68014985..9b4f1222b38e 100644
16588
--- third_party/libwebrtc/api/transport/rtp/corruption_detection_message_gn/moz.build
16589
--- third_party/libwebrtc/api/transport/rtp/corruption_detection_message_gn/moz.build
16589
+++ third_party/libwebrtc/api/transport/rtp/corruption_detection_message_gn/moz.build
16590
+++ third_party/libwebrtc/api/transport/rtp/corruption_detection_message_gn/moz.build
16590
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
16591
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
16591
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
16592
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
16592
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
16593
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
16593
 DEFINES["RTC_ENABLE_VP9"] = True
16594
 DEFINES["RTC_ENABLE_VP9"] = True
16594
+DEFINES["USE_GLIB"] = "1"
16595
+DEFINES["USE_GLIB"] = "1"
Lines 16608-16614 index 5c94efb78495..915f17ef72d7 100644 Link Here
16608
 
16609
 
16609
 FINAL_LIBRARY = "xul"
16610
 FINAL_LIBRARY = "xul"
16610
 
16611
 
16611
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
16612
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
16612
 if CONFIG["MOZ_DEBUG"] == "1":
16613
 if CONFIG["MOZ_DEBUG"] == "1":
16613
 
16614
 
16614
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
16615
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 16722-16728 index 5c94efb78495..915f17ef72d7 100644 Link Here
16722
 
16723
 
16723
 if CONFIG["TARGET_CPU"] == "x86":
16724
 if CONFIG["TARGET_CPU"] == "x86":
16724
 
16725
 
16725
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
16726
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
16726
 
16727
 
16727
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
16728
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
16728
 
16729
 
Lines 16775-16785 index 5c94efb78495..915f17ef72d7 100644 Link Here
16775
-
16776
-
16776
 Library("corruption_detection_message_gn")
16777
 Library("corruption_detection_message_gn")
16777
diff --git third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build
16778
diff --git third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build
16778
index fa5f3fb195e6..a2bad5bb1bca 100644
16779
index e82fb7517ca6..89beea20aa47 100644
16779
--- third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build
16780
--- third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build
16780
+++ third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build
16781
+++ third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build
16781
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
16782
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
16782
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
16783
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
16783
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
16784
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
16784
 DEFINES["RTC_ENABLE_VP9"] = True
16785
 DEFINES["RTC_ENABLE_VP9"] = True
16785
+DEFINES["USE_GLIB"] = "1"
16786
+DEFINES["USE_GLIB"] = "1"
Lines 16799-16805 index fa5f3fb195e6..a2bad5bb1bca 100644 Link Here
16799
 
16800
 
16800
 FINAL_LIBRARY = "xul"
16801
 FINAL_LIBRARY = "xul"
16801
 
16802
 
16802
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
16803
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
16803
 if CONFIG["MOZ_DEBUG"] == "1":
16804
 if CONFIG["MOZ_DEBUG"] == "1":
16804
 
16805
 
16805
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
16806
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 16986-16996 index fa5f3fb195e6..a2bad5bb1bca 100644 Link Here
16986
 
16987
 
16987
 Library("dependency_descriptor_gn")
16988
 Library("dependency_descriptor_gn")
16988
diff --git third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build
16989
diff --git third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build
16989
index 34b4824b5f54..8986e9975515 100644
16990
index 5b00f221434f..c0eba9314e7c 100644
16990
--- third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build
16991
--- third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build
16991
+++ third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build
16992
+++ third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build
16992
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
16993
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
16993
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
16994
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
16994
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
16995
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
16995
 DEFINES["RTC_ENABLE_VP9"] = True
16996
 DEFINES["RTC_ENABLE_VP9"] = True
16996
+DEFINES["USE_GLIB"] = "1"
16997
+DEFINES["USE_GLIB"] = "1"
Lines 17010-17016 index 34b4824b5f54..8986e9975515 100644 Link Here
17010
 
17011
 
17011
 FINAL_LIBRARY = "xul"
17012
 FINAL_LIBRARY = "xul"
17012
 
17013
 
17013
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
17014
@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
17014
 if CONFIG["MOZ_DEBUG"] == "1":
17015
 if CONFIG["MOZ_DEBUG"] == "1":
17015
 
17016
 
17016
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
17017
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 17131-17137 index 34b4824b5f54..8986e9975515 100644 Link Here
17131
 
17132
 
17132
 if CONFIG["TARGET_CPU"] == "x86":
17133
 if CONFIG["TARGET_CPU"] == "x86":
17133
 
17134
 
17134
@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
17135
@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
17135
 
17136
 
17136
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
17137
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
17137
 
17138
 
Lines 17184-17194 index 34b4824b5f54..8986e9975515 100644 Link Here
17184
-
17185
-
17185
 Library("rtp_source_gn")
17186
 Library("rtp_source_gn")
17186
diff --git third_party/libwebrtc/api/transport/stun_types_gn/moz.build third_party/libwebrtc/api/transport/stun_types_gn/moz.build
17187
diff --git third_party/libwebrtc/api/transport/stun_types_gn/moz.build third_party/libwebrtc/api/transport/stun_types_gn/moz.build
17187
index 865d9643a41c..eb2eea46c3a1 100644
17188
index ec8b1a8ae39f..ae0e9837c2d7 100644
17188
--- third_party/libwebrtc/api/transport/stun_types_gn/moz.build
17189
--- third_party/libwebrtc/api/transport/stun_types_gn/moz.build
17189
+++ third_party/libwebrtc/api/transport/stun_types_gn/moz.build
17190
+++ third_party/libwebrtc/api/transport/stun_types_gn/moz.build
17190
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
17191
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
17191
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
17192
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
17192
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
17193
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
17193
 DEFINES["RTC_ENABLE_VP9"] = True
17194
 DEFINES["RTC_ENABLE_VP9"] = True
17194
+DEFINES["USE_GLIB"] = "1"
17195
+DEFINES["USE_GLIB"] = "1"
Lines 17208-17214 index 865d9643a41c..eb2eea46c3a1 100644 Link Here
17208
 
17209
 
17209
 FINAL_LIBRARY = "xul"
17210
 FINAL_LIBRARY = "xul"
17210
 
17211
 
17211
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
17212
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
17212
 if CONFIG["MOZ_DEBUG"] == "1":
17213
 if CONFIG["MOZ_DEBUG"] == "1":
17213
 
17214
 
17214
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
17215
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 17318-17324 index 865d9643a41c..eb2eea46c3a1 100644 Link Here
17318
 
17319
 
17319
 if CONFIG["TARGET_CPU"] == "x86":
17320
 if CONFIG["TARGET_CPU"] == "x86":
17320
 
17321
 
17321
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
17322
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
17322
 
17323
 
17323
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
17324
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
17324
 
17325
 
Lines 17371-17381 index 865d9643a41c..eb2eea46c3a1 100644 Link Here
17371
-
17372
-
17372
 Library("stun_types_gn")
17373
 Library("stun_types_gn")
17373
diff --git third_party/libwebrtc/api/transport_api_gn/moz.build third_party/libwebrtc/api/transport_api_gn/moz.build
17374
diff --git third_party/libwebrtc/api/transport_api_gn/moz.build third_party/libwebrtc/api/transport_api_gn/moz.build
17374
index 7f3192c2bcfd..d2dee618fe31 100644
17375
index f62d79097db6..0ca3c18961d0 100644
17375
--- third_party/libwebrtc/api/transport_api_gn/moz.build
17376
--- third_party/libwebrtc/api/transport_api_gn/moz.build
17376
+++ third_party/libwebrtc/api/transport_api_gn/moz.build
17377
+++ third_party/libwebrtc/api/transport_api_gn/moz.build
17377
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
17378
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
17378
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
17379
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
17379
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
17380
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
17380
 DEFINES["RTC_ENABLE_VP9"] = True
17381
 DEFINES["RTC_ENABLE_VP9"] = True
17381
+DEFINES["USE_GLIB"] = "1"
17382
+DEFINES["USE_GLIB"] = "1"
Lines 17395-17401 index 7f3192c2bcfd..d2dee618fe31 100644 Link Here
17395
 
17396
 
17396
 FINAL_LIBRARY = "xul"
17397
 FINAL_LIBRARY = "xul"
17397
 
17398
 
17398
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
17399
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
17399
 if CONFIG["MOZ_DEBUG"] == "1":
17400
 if CONFIG["MOZ_DEBUG"] == "1":
17400
 
17401
 
17401
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
17402
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 17582-17592 index 7f3192c2bcfd..d2dee618fe31 100644 Link Here
17582
 
17583
 
17583
 Library("transport_api_gn")
17584
 Library("transport_api_gn")
17584
diff --git third_party/libwebrtc/api/units/data_rate_gn/moz.build third_party/libwebrtc/api/units/data_rate_gn/moz.build
17585
diff --git third_party/libwebrtc/api/units/data_rate_gn/moz.build third_party/libwebrtc/api/units/data_rate_gn/moz.build
17585
index 720807906a65..40749dda50cc 100644
17586
index 6543d20d464f..54e7f93d1721 100644
17586
--- third_party/libwebrtc/api/units/data_rate_gn/moz.build
17587
--- third_party/libwebrtc/api/units/data_rate_gn/moz.build
17587
+++ third_party/libwebrtc/api/units/data_rate_gn/moz.build
17588
+++ third_party/libwebrtc/api/units/data_rate_gn/moz.build
17588
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
17589
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
17589
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
17590
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
17590
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
17591
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
17591
 DEFINES["RTC_ENABLE_VP9"] = True
17592
 DEFINES["RTC_ENABLE_VP9"] = True
17592
+DEFINES["USE_GLIB"] = "1"
17593
+DEFINES["USE_GLIB"] = "1"
Lines 17606-17612 index 720807906a65..40749dda50cc 100644 Link Here
17606
 
17607
 
17607
 FINAL_LIBRARY = "xul"
17608
 FINAL_LIBRARY = "xul"
17608
 
17609
 
17609
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
17610
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
17610
 if CONFIG["MOZ_DEBUG"] == "1":
17611
 if CONFIG["MOZ_DEBUG"] == "1":
17611
 
17612
 
17612
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
17613
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 17793-17803 index 720807906a65..40749dda50cc 100644 Link Here
17793
 
17794
 
17794
 Library("data_rate_gn")
17795
 Library("data_rate_gn")
17795
diff --git third_party/libwebrtc/api/units/data_size_gn/moz.build third_party/libwebrtc/api/units/data_size_gn/moz.build
17796
diff --git third_party/libwebrtc/api/units/data_size_gn/moz.build third_party/libwebrtc/api/units/data_size_gn/moz.build
17796
index 3c005ff583f4..861ba03b8ee4 100644
17797
index bcc4e35cfcb6..770feb1b06c9 100644
17797
--- third_party/libwebrtc/api/units/data_size_gn/moz.build
17798
--- third_party/libwebrtc/api/units/data_size_gn/moz.build
17798
+++ third_party/libwebrtc/api/units/data_size_gn/moz.build
17799
+++ third_party/libwebrtc/api/units/data_size_gn/moz.build
17799
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
17800
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
17800
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
17801
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
17801
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
17802
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
17802
 DEFINES["RTC_ENABLE_VP9"] = True
17803
 DEFINES["RTC_ENABLE_VP9"] = True
17803
+DEFINES["USE_GLIB"] = "1"
17804
+DEFINES["USE_GLIB"] = "1"
Lines 17817-17823 index 3c005ff583f4..861ba03b8ee4 100644 Link Here
17817
 
17818
 
17818
 FINAL_LIBRARY = "xul"
17819
 FINAL_LIBRARY = "xul"
17819
 
17820
 
17820
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
17821
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
17821
 if CONFIG["MOZ_DEBUG"] == "1":
17822
 if CONFIG["MOZ_DEBUG"] == "1":
17822
 
17823
 
17823
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
17824
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 18004-18014 index 3c005ff583f4..861ba03b8ee4 100644 Link Here
18004
 
18005
 
18005
 Library("data_size_gn")
18006
 Library("data_size_gn")
18006
diff --git third_party/libwebrtc/api/units/frequency_gn/moz.build third_party/libwebrtc/api/units/frequency_gn/moz.build
18007
diff --git third_party/libwebrtc/api/units/frequency_gn/moz.build third_party/libwebrtc/api/units/frequency_gn/moz.build
18007
index 7e1b55def133..df8a867d45be 100644
18008
index 1da91b84b933..55e3ba9b1169 100644
18008
--- third_party/libwebrtc/api/units/frequency_gn/moz.build
18009
--- third_party/libwebrtc/api/units/frequency_gn/moz.build
18009
+++ third_party/libwebrtc/api/units/frequency_gn/moz.build
18010
+++ third_party/libwebrtc/api/units/frequency_gn/moz.build
18010
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
18011
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
18011
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
18012
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
18012
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
18013
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
18013
 DEFINES["RTC_ENABLE_VP9"] = True
18014
 DEFINES["RTC_ENABLE_VP9"] = True
18014
+DEFINES["USE_GLIB"] = "1"
18015
+DEFINES["USE_GLIB"] = "1"
Lines 18028-18034 index 7e1b55def133..df8a867d45be 100644 Link Here
18028
 
18029
 
18029
 FINAL_LIBRARY = "xul"
18030
 FINAL_LIBRARY = "xul"
18030
 
18031
 
18031
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
18032
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
18032
 if CONFIG["MOZ_DEBUG"] == "1":
18033
 if CONFIG["MOZ_DEBUG"] == "1":
18033
 
18034
 
18034
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
18035
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 18215-18225 index 7e1b55def133..df8a867d45be 100644 Link Here
18215
 
18216
 
18216
 Library("frequency_gn")
18217
 Library("frequency_gn")
18217
diff --git third_party/libwebrtc/api/units/time_delta_gn/moz.build third_party/libwebrtc/api/units/time_delta_gn/moz.build
18218
diff --git third_party/libwebrtc/api/units/time_delta_gn/moz.build third_party/libwebrtc/api/units/time_delta_gn/moz.build
18218
index aebee68119cb..09ebe7ab3b88 100644
18219
index 525e75c3d915..e33f5d12403a 100644
18219
--- third_party/libwebrtc/api/units/time_delta_gn/moz.build
18220
--- third_party/libwebrtc/api/units/time_delta_gn/moz.build
18220
+++ third_party/libwebrtc/api/units/time_delta_gn/moz.build
18221
+++ third_party/libwebrtc/api/units/time_delta_gn/moz.build
18221
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
18222
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
18222
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
18223
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
18223
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
18224
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
18224
 DEFINES["RTC_ENABLE_VP9"] = True
18225
 DEFINES["RTC_ENABLE_VP9"] = True
18225
+DEFINES["USE_GLIB"] = "1"
18226
+DEFINES["USE_GLIB"] = "1"
Lines 18239-18245 index aebee68119cb..09ebe7ab3b88 100644 Link Here
18239
 
18240
 
18240
 FINAL_LIBRARY = "xul"
18241
 FINAL_LIBRARY = "xul"
18241
 
18242
 
18242
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
18243
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
18243
 if CONFIG["MOZ_DEBUG"] == "1":
18244
 if CONFIG["MOZ_DEBUG"] == "1":
18244
 
18245
 
18245
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
18246
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 18426-18436 index aebee68119cb..09ebe7ab3b88 100644 Link Here
18426
 
18427
 
18427
 Library("time_delta_gn")
18428
 Library("time_delta_gn")
18428
diff --git third_party/libwebrtc/api/units/timestamp_gn/moz.build third_party/libwebrtc/api/units/timestamp_gn/moz.build
18429
diff --git third_party/libwebrtc/api/units/timestamp_gn/moz.build third_party/libwebrtc/api/units/timestamp_gn/moz.build
18429
index d80b973f5ee3..7b73258ae847 100644
18430
index 2a52cfa0984e..9400f8288bad 100644
18430
--- third_party/libwebrtc/api/units/timestamp_gn/moz.build
18431
--- third_party/libwebrtc/api/units/timestamp_gn/moz.build
18431
+++ third_party/libwebrtc/api/units/timestamp_gn/moz.build
18432
+++ third_party/libwebrtc/api/units/timestamp_gn/moz.build
18432
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
18433
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
18433
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
18434
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
18434
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
18435
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
18435
 DEFINES["RTC_ENABLE_VP9"] = True
18436
 DEFINES["RTC_ENABLE_VP9"] = True
18436
+DEFINES["USE_GLIB"] = "1"
18437
+DEFINES["USE_GLIB"] = "1"
Lines 18450-18456 index d80b973f5ee3..7b73258ae847 100644 Link Here
18450
 
18451
 
18451
 FINAL_LIBRARY = "xul"
18452
 FINAL_LIBRARY = "xul"
18452
 
18453
 
18453
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
18454
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
18454
 if CONFIG["MOZ_DEBUG"] == "1":
18455
 if CONFIG["MOZ_DEBUG"] == "1":
18455
 
18456
 
18456
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
18457
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 18637-18647 index d80b973f5ee3..7b73258ae847 100644 Link Here
18637
 
18638
 
18638
 Library("timestamp_gn")
18639
 Library("timestamp_gn")
18639
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
18640
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
18640
index a4ec365080f6..383a9f5f8f65 100644
18641
index d28b32f439c1..7348138c0730 100644
18641
--- third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build
18642
--- third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build
18642
+++ third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build
18643
+++ third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build
18643
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
18644
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
18644
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
18645
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
18645
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
18646
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
18646
 DEFINES["RTC_ENABLE_VP9"] = True
18647
 DEFINES["RTC_ENABLE_VP9"] = True
18647
+DEFINES["USE_GLIB"] = "1"
18648
+DEFINES["USE_GLIB"] = "1"
Lines 18661-18667 index a4ec365080f6..383a9f5f8f65 100644 Link Here
18661
 
18662
 
18662
 FINAL_LIBRARY = "xul"
18663
 FINAL_LIBRARY = "xul"
18663
 
18664
 
18664
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
18665
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
18665
 if CONFIG["MOZ_DEBUG"] == "1":
18666
 if CONFIG["MOZ_DEBUG"] == "1":
18666
 
18667
 
18667
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
18668
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 18860-18870 index a4ec365080f6..383a9f5f8f65 100644 Link Here
18860
 
18861
 
18861
 Library("builtin_video_bitrate_allocator_factory_gn")
18862
 Library("builtin_video_bitrate_allocator_factory_gn")
18862
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
18863
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
18863
index 5d7da48cc742..300e8ee3846f 100644
18864
index 84910bec5b6a..28ddeb5e8675 100644
18864
--- third_party/libwebrtc/api/video/corruption_detection_filter_settings_gn/moz.build
18865
--- third_party/libwebrtc/api/video/corruption_detection_filter_settings_gn/moz.build
18865
+++ third_party/libwebrtc/api/video/corruption_detection_filter_settings_gn/moz.build
18866
+++ third_party/libwebrtc/api/video/corruption_detection_filter_settings_gn/moz.build
18866
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
18867
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
18867
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
18868
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
18868
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
18869
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
18869
 DEFINES["RTC_ENABLE_VP9"] = True
18870
 DEFINES["RTC_ENABLE_VP9"] = True
18870
+DEFINES["USE_GLIB"] = "1"
18871
+DEFINES["USE_GLIB"] = "1"
Lines 18884-18890 index 5d7da48cc742..300e8ee3846f 100644 Link Here
18884
 
18885
 
18885
 FINAL_LIBRARY = "xul"
18886
 FINAL_LIBRARY = "xul"
18886
 
18887
 
18887
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
18888
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
18888
 if CONFIG["MOZ_DEBUG"] == "1":
18889
 if CONFIG["MOZ_DEBUG"] == "1":
18889
 
18890
 
18890
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
18891
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 18994-19000 index 5d7da48cc742..300e8ee3846f 100644 Link Here
18994
 
18995
 
18995
 if CONFIG["TARGET_CPU"] == "x86":
18996
 if CONFIG["TARGET_CPU"] == "x86":
18996
 
18997
 
18997
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
18998
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
18998
 
18999
 
18999
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
19000
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
19000
 
19001
 
Lines 19047-19057 index 5d7da48cc742..300e8ee3846f 100644 Link Here
19047
-
19048
-
19048
 Library("corruption_detection_filter_settings_gn")
19049
 Library("corruption_detection_filter_settings_gn")
19049
diff --git third_party/libwebrtc/api/video/encoded_frame_gn/moz.build third_party/libwebrtc/api/video/encoded_frame_gn/moz.build
19050
diff --git third_party/libwebrtc/api/video/encoded_frame_gn/moz.build third_party/libwebrtc/api/video/encoded_frame_gn/moz.build
19050
index 1727272f7e0f..6ce825420c3d 100644
19051
index fe7417ed2009..cb2e3e8b1c8c 100644
19051
--- third_party/libwebrtc/api/video/encoded_frame_gn/moz.build
19052
--- third_party/libwebrtc/api/video/encoded_frame_gn/moz.build
19052
+++ third_party/libwebrtc/api/video/encoded_frame_gn/moz.build
19053
+++ third_party/libwebrtc/api/video/encoded_frame_gn/moz.build
19053
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
19054
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
19054
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
19055
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
19055
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
19056
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
19056
 DEFINES["RTC_ENABLE_VP9"] = True
19057
 DEFINES["RTC_ENABLE_VP9"] = True
19057
+DEFINES["USE_GLIB"] = "1"
19058
+DEFINES["USE_GLIB"] = "1"
Lines 19071-19077 index 1727272f7e0f..6ce825420c3d 100644 Link Here
19071
 
19072
 
19072
 FINAL_LIBRARY = "xul"
19073
 FINAL_LIBRARY = "xul"
19073
 
19074
 
19074
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
19075
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
19075
 if CONFIG["MOZ_DEBUG"] == "1":
19076
 if CONFIG["MOZ_DEBUG"] == "1":
19076
 
19077
 
19077
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
19078
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 19265-19275 index 1727272f7e0f..6ce825420c3d 100644 Link Here
19265
 
19266
 
19266
 Library("encoded_frame_gn")
19267
 Library("encoded_frame_gn")
19267
diff --git third_party/libwebrtc/api/video/encoded_image_gn/moz.build third_party/libwebrtc/api/video/encoded_image_gn/moz.build
19268
diff --git third_party/libwebrtc/api/video/encoded_image_gn/moz.build third_party/libwebrtc/api/video/encoded_image_gn/moz.build
19268
index 52b2c556a941..0213de1b0ebb 100644
19269
index bfdc38c74288..17c35ae9a249 100644
19269
--- third_party/libwebrtc/api/video/encoded_image_gn/moz.build
19270
--- third_party/libwebrtc/api/video/encoded_image_gn/moz.build
19270
+++ third_party/libwebrtc/api/video/encoded_image_gn/moz.build
19271
+++ third_party/libwebrtc/api/video/encoded_image_gn/moz.build
19271
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
19272
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
19272
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
19273
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
19273
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
19274
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
19274
 DEFINES["RTC_ENABLE_VP9"] = True
19275
 DEFINES["RTC_ENABLE_VP9"] = True
19275
+DEFINES["USE_GLIB"] = "1"
19276
+DEFINES["USE_GLIB"] = "1"
Lines 19289-19295 index 52b2c556a941..0213de1b0ebb 100644 Link Here
19289
 
19290
 
19290
 FINAL_LIBRARY = "xul"
19291
 FINAL_LIBRARY = "xul"
19291
 
19292
 
19292
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
19293
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
19293
 if CONFIG["MOZ_DEBUG"] == "1":
19294
 if CONFIG["MOZ_DEBUG"] == "1":
19294
 
19295
 
19295
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
19296
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 19483-19493 index 52b2c556a941..0213de1b0ebb 100644 Link Here
19483
 
19484
 
19484
 Library("encoded_image_gn")
19485
 Library("encoded_image_gn")
19485
diff --git third_party/libwebrtc/api/video/frame_buffer_gn/moz.build third_party/libwebrtc/api/video/frame_buffer_gn/moz.build
19486
diff --git third_party/libwebrtc/api/video/frame_buffer_gn/moz.build third_party/libwebrtc/api/video/frame_buffer_gn/moz.build
19486
index 384cb719cb2f..d2f349ceca3b 100644
19487
index 08a20c36f3b2..588d4beb1a1c 100644
19487
--- third_party/libwebrtc/api/video/frame_buffer_gn/moz.build
19488
--- third_party/libwebrtc/api/video/frame_buffer_gn/moz.build
19488
+++ third_party/libwebrtc/api/video/frame_buffer_gn/moz.build
19489
+++ third_party/libwebrtc/api/video/frame_buffer_gn/moz.build
19489
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
19490
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
19490
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
19491
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
19491
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
19492
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
19492
 DEFINES["RTC_ENABLE_VP9"] = True
19493
 DEFINES["RTC_ENABLE_VP9"] = True
19493
+DEFINES["USE_GLIB"] = "1"
19494
+DEFINES["USE_GLIB"] = "1"
Lines 19507-19513 index 384cb719cb2f..d2f349ceca3b 100644 Link Here
19507
 
19508
 
19508
 FINAL_LIBRARY = "xul"
19509
 FINAL_LIBRARY = "xul"
19509
 
19510
 
19510
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
19511
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
19511
 if CONFIG["MOZ_DEBUG"] == "1":
19512
 if CONFIG["MOZ_DEBUG"] == "1":
19512
 
19513
 
19513
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
19514
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 19706-19716 index 384cb719cb2f..d2f349ceca3b 100644 Link Here
19706
 
19707
 
19707
 Library("frame_buffer_gn")
19708
 Library("frame_buffer_gn")
19708
diff --git third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build
19709
diff --git third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build
19709
index b0f0ce639337..c56e910a6a20 100644
19710
index 682afa6b23c6..6dfaf4e483c8 100644
19710
--- third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build
19711
--- third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build
19711
+++ third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build
19712
+++ third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build
19712
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
19713
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
19713
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
19714
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
19714
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
19715
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
19715
 DEFINES["RTC_ENABLE_VP9"] = True
19716
 DEFINES["RTC_ENABLE_VP9"] = True
19716
+DEFINES["USE_GLIB"] = "1"
19717
+DEFINES["USE_GLIB"] = "1"
Lines 19730-19736 index b0f0ce639337..c56e910a6a20 100644 Link Here
19730
 
19731
 
19731
 FINAL_LIBRARY = "xul"
19732
 FINAL_LIBRARY = "xul"
19732
 
19733
 
19733
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
19734
@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
19734
 if CONFIG["MOZ_DEBUG"] == "1":
19735
 if CONFIG["MOZ_DEBUG"] == "1":
19735
 
19736
 
19736
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
19737
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 19851-19857 index b0f0ce639337..c56e910a6a20 100644 Link Here
19851
 
19852
 
19852
 if CONFIG["TARGET_CPU"] == "x86":
19853
 if CONFIG["TARGET_CPU"] == "x86":
19853
 
19854
 
19854
@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
19855
@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
19855
 
19856
 
19856
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
19857
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
19857
 
19858
 
Lines 19904-19914 index b0f0ce639337..c56e910a6a20 100644 Link Here
19904
-
19905
-
19905
 Library("recordable_encoded_frame_gn")
19906
 Library("recordable_encoded_frame_gn")
19906
diff --git third_party/libwebrtc/api/video/render_resolution_gn/moz.build third_party/libwebrtc/api/video/render_resolution_gn/moz.build
19907
diff --git third_party/libwebrtc/api/video/render_resolution_gn/moz.build third_party/libwebrtc/api/video/render_resolution_gn/moz.build
19907
index 0af4d7d36209..136648ce930d 100644
19908
index c572a6cb3edd..57a7f9cbfd11 100644
19908
--- third_party/libwebrtc/api/video/render_resolution_gn/moz.build
19909
--- third_party/libwebrtc/api/video/render_resolution_gn/moz.build
19909
+++ third_party/libwebrtc/api/video/render_resolution_gn/moz.build
19910
+++ third_party/libwebrtc/api/video/render_resolution_gn/moz.build
19910
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
19911
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
19911
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
19912
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
19912
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
19913
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
19913
 DEFINES["RTC_ENABLE_VP9"] = True
19914
 DEFINES["RTC_ENABLE_VP9"] = True
19914
+DEFINES["USE_GLIB"] = "1"
19915
+DEFINES["USE_GLIB"] = "1"
Lines 19928-19934 index 0af4d7d36209..136648ce930d 100644 Link Here
19928
 
19929
 
19929
 FINAL_LIBRARY = "xul"
19930
 FINAL_LIBRARY = "xul"
19930
 
19931
 
19931
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
19932
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
19932
 if CONFIG["MOZ_DEBUG"] == "1":
19933
 if CONFIG["MOZ_DEBUG"] == "1":
19933
 
19934
 
19934
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
19935
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 20038-20044 index 0af4d7d36209..136648ce930d 100644 Link Here
20038
 
20039
 
20039
 if CONFIG["TARGET_CPU"] == "x86":
20040
 if CONFIG["TARGET_CPU"] == "x86":
20040
 
20041
 
20041
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
20042
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
20042
 
20043
 
20043
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
20044
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
20044
 
20045
 
Lines 20091-20101 index 0af4d7d36209..136648ce930d 100644 Link Here
20091
-
20092
-
20092
 Library("render_resolution_gn")
20093
 Library("render_resolution_gn")
20093
diff --git third_party/libwebrtc/api/video/resolution_gn/moz.build third_party/libwebrtc/api/video/resolution_gn/moz.build
20094
diff --git third_party/libwebrtc/api/video/resolution_gn/moz.build third_party/libwebrtc/api/video/resolution_gn/moz.build
20094
index 74a183e25263..aa69c5c25fd4 100644
20095
index 8100831c4cc7..9e9cad2d3072 100644
20095
--- third_party/libwebrtc/api/video/resolution_gn/moz.build
20096
--- third_party/libwebrtc/api/video/resolution_gn/moz.build
20096
+++ third_party/libwebrtc/api/video/resolution_gn/moz.build
20097
+++ third_party/libwebrtc/api/video/resolution_gn/moz.build
20097
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
20098
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
20098
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
20099
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
20099
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
20100
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
20100
 DEFINES["RTC_ENABLE_VP9"] = True
20101
 DEFINES["RTC_ENABLE_VP9"] = True
20101
+DEFINES["USE_GLIB"] = "1"
20102
+DEFINES["USE_GLIB"] = "1"
Lines 20115-20121 index 74a183e25263..aa69c5c25fd4 100644 Link Here
20115
 
20116
 
20116
 FINAL_LIBRARY = "xul"
20117
 FINAL_LIBRARY = "xul"
20117
 
20118
 
20118
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
20119
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
20119
 if CONFIG["MOZ_DEBUG"] == "1":
20120
 if CONFIG["MOZ_DEBUG"] == "1":
20120
 
20121
 
20121
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
20122
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 20225-20231 index 74a183e25263..aa69c5c25fd4 100644 Link Here
20225
 
20226
 
20226
 if CONFIG["TARGET_CPU"] == "x86":
20227
 if CONFIG["TARGET_CPU"] == "x86":
20227
 
20228
 
20228
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
20229
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
20229
 
20230
 
20230
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
20231
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
20231
 
20232
 
Lines 20278-20288 index 74a183e25263..aa69c5c25fd4 100644 Link Here
20278
-
20279
-
20279
 Library("resolution_gn")
20280
 Library("resolution_gn")
20280
diff --git third_party/libwebrtc/api/video/video_adaptation_gn/moz.build third_party/libwebrtc/api/video/video_adaptation_gn/moz.build
20281
diff --git third_party/libwebrtc/api/video/video_adaptation_gn/moz.build third_party/libwebrtc/api/video/video_adaptation_gn/moz.build
20281
index cf8c377621aa..5118a4fd59c2 100644
20282
index ebd41d83934c..047f9d1c5018 100644
20282
--- third_party/libwebrtc/api/video/video_adaptation_gn/moz.build
20283
--- third_party/libwebrtc/api/video/video_adaptation_gn/moz.build
20283
+++ third_party/libwebrtc/api/video/video_adaptation_gn/moz.build
20284
+++ third_party/libwebrtc/api/video/video_adaptation_gn/moz.build
20284
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
20285
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
20285
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
20286
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
20286
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
20287
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
20287
 DEFINES["RTC_ENABLE_VP9"] = True
20288
 DEFINES["RTC_ENABLE_VP9"] = True
20288
+DEFINES["USE_GLIB"] = "1"
20289
+DEFINES["USE_GLIB"] = "1"
Lines 20302-20308 index cf8c377621aa..5118a4fd59c2 100644 Link Here
20302
 
20303
 
20303
 FINAL_LIBRARY = "xul"
20304
 FINAL_LIBRARY = "xul"
20304
 
20305
 
20305
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
20306
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
20306
 if CONFIG["MOZ_DEBUG"] == "1":
20307
 if CONFIG["MOZ_DEBUG"] == "1":
20307
 
20308
 
20308
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
20309
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 20489-20499 index cf8c377621aa..5118a4fd59c2 100644 Link Here
20489
 
20490
 
20490
 Library("video_adaptation_gn")
20491
 Library("video_adaptation_gn")
20491
diff --git third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build
20492
diff --git third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build
20492
index 6f16ff5da34f..71b911ecfde6 100644
20493
index 1b623991d78b..691d665df7ab 100644
20493
--- third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build
20494
--- third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build
20494
+++ third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build
20495
+++ third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build
20495
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
20496
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
20496
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
20497
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
20497
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
20498
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
20498
 DEFINES["RTC_ENABLE_VP9"] = True
20499
 DEFINES["RTC_ENABLE_VP9"] = True
20499
+DEFINES["USE_GLIB"] = "1"
20500
+DEFINES["USE_GLIB"] = "1"
Lines 20513-20519 index 6f16ff5da34f..71b911ecfde6 100644 Link Here
20513
 
20514
 
20514
 FINAL_LIBRARY = "xul"
20515
 FINAL_LIBRARY = "xul"
20515
 
20516
 
20516
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
20517
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
20517
 if CONFIG["MOZ_DEBUG"] == "1":
20518
 if CONFIG["MOZ_DEBUG"] == "1":
20518
 
20519
 
20519
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
20520
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 20700-20710 index 6f16ff5da34f..71b911ecfde6 100644 Link Here
20700
 
20701
 
20701
 Library("video_bitrate_allocation_gn")
20702
 Library("video_bitrate_allocation_gn")
20702
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
20703
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
20703
index 1ff1aaa06a61..77a13b931813 100644
20704
index 787eece77e9f..0e4eb3564582 100644
20704
--- third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build
20705
--- third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build
20705
+++ third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build
20706
+++ third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build
20706
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
20707
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
20707
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
20708
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
20708
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
20709
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
20709
 DEFINES["RTC_ENABLE_VP9"] = True
20710
 DEFINES["RTC_ENABLE_VP9"] = True
20710
+DEFINES["USE_GLIB"] = "1"
20711
+DEFINES["USE_GLIB"] = "1"
Lines 20724-20730 index 1ff1aaa06a61..77a13b931813 100644 Link Here
20724
 
20725
 
20725
 FINAL_LIBRARY = "xul"
20726
 FINAL_LIBRARY = "xul"
20726
 
20727
 
20727
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
20728
@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
20728
 if CONFIG["MOZ_DEBUG"] == "1":
20729
 if CONFIG["MOZ_DEBUG"] == "1":
20729
 
20730
 
20730
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
20731
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 20845-20851 index 1ff1aaa06a61..77a13b931813 100644 Link Here
20845
 
20846
 
20846
 if CONFIG["TARGET_CPU"] == "x86":
20847
 if CONFIG["TARGET_CPU"] == "x86":
20847
 
20848
 
20848
@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
20849
@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
20849
 
20850
 
20850
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
20851
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
20851
 
20852
 
Lines 20898-20908 index 1ff1aaa06a61..77a13b931813 100644 Link Here
20898
-
20899
-
20899
 Library("video_bitrate_allocator_factory_gn")
20900
 Library("video_bitrate_allocator_factory_gn")
20900
diff --git third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build
20901
diff --git third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build
20901
index bd4e602db36e..2280ad344922 100644
20902
index e3d9aba8ef3c..fcae0009dd68 100644
20902
--- third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build
20903
--- third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build
20903
+++ third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build
20904
+++ third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build
20904
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
20905
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
20905
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
20906
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
20906
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
20907
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
20907
 DEFINES["RTC_ENABLE_VP9"] = True
20908
 DEFINES["RTC_ENABLE_VP9"] = True
20908
+DEFINES["USE_GLIB"] = "1"
20909
+DEFINES["USE_GLIB"] = "1"
Lines 20922-20928 index bd4e602db36e..2280ad344922 100644 Link Here
20922
 
20923
 
20923
 FINAL_LIBRARY = "xul"
20924
 FINAL_LIBRARY = "xul"
20924
 
20925
 
20925
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
20926
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
20926
 if CONFIG["MOZ_DEBUG"] == "1":
20927
 if CONFIG["MOZ_DEBUG"] == "1":
20927
 
20928
 
20928
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
20929
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 21109-21119 index bd4e602db36e..2280ad344922 100644 Link Here
21109
 
21110
 
21110
 Library("video_bitrate_allocator_gn")
21111
 Library("video_bitrate_allocator_gn")
21111
diff --git third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build
21112
diff --git third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build
21112
index 0b0d1a059d94..bd3794236930 100644
21113
index 00627f9fe4bf..48f8135282ff 100644
21113
--- third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build
21114
--- third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build
21114
+++ third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build
21115
+++ third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build
21115
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
21116
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
21116
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
21117
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
21117
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
21118
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
21118
 DEFINES["RTC_ENABLE_VP9"] = True
21119
 DEFINES["RTC_ENABLE_VP9"] = True
21119
+DEFINES["USE_GLIB"] = "1"
21120
+DEFINES["USE_GLIB"] = "1"
Lines 21133-21139 index 0b0d1a059d94..bd3794236930 100644 Link Here
21133
 
21134
 
21134
 FINAL_LIBRARY = "xul"
21135
 FINAL_LIBRARY = "xul"
21135
 
21136
 
21136
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
21137
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
21137
 if CONFIG["MOZ_DEBUG"] == "1":
21138
 if CONFIG["MOZ_DEBUG"] == "1":
21138
 
21139
 
21139
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
21140
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 21243-21249 index 0b0d1a059d94..bd3794236930 100644 Link Here
21243
 
21244
 
21244
 if CONFIG["TARGET_CPU"] == "x86":
21245
 if CONFIG["TARGET_CPU"] == "x86":
21245
 
21246
 
21246
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
21247
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
21247
 
21248
 
21248
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
21249
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
21249
 
21250
 
Lines 21296-21306 index 0b0d1a059d94..bd3794236930 100644 Link Here
21296
-
21297
-
21297
 Library("video_codec_constants_gn")
21298
 Library("video_codec_constants_gn")
21298
diff --git third_party/libwebrtc/api/video/video_frame_gn/moz.build third_party/libwebrtc/api/video/video_frame_gn/moz.build
21299
diff --git third_party/libwebrtc/api/video/video_frame_gn/moz.build third_party/libwebrtc/api/video/video_frame_gn/moz.build
21299
index 5c42b97b37a9..7fc4f4ab76f0 100644
21300
index 4aa343b85d29..d5883b13bee8 100644
21300
--- third_party/libwebrtc/api/video/video_frame_gn/moz.build
21301
--- third_party/libwebrtc/api/video/video_frame_gn/moz.build
21301
+++ third_party/libwebrtc/api/video/video_frame_gn/moz.build
21302
+++ third_party/libwebrtc/api/video/video_frame_gn/moz.build
21302
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
21303
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
21303
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
21304
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
21304
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
21305
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
21305
 DEFINES["RTC_ENABLE_VP9"] = True
21306
 DEFINES["RTC_ENABLE_VP9"] = True
21306
+DEFINES["USE_GLIB"] = "1"
21307
+DEFINES["USE_GLIB"] = "1"
Lines 21320-21326 index 5c42b97b37a9..7fc4f4ab76f0 100644 Link Here
21320
 
21321
 
21321
 FINAL_LIBRARY = "xul"
21322
 FINAL_LIBRARY = "xul"
21322
 
21323
 
21323
@@ -54,186 +63,32 @@ if not CONFIG["MOZ_DEBUG"]:
21324
@@ -55,186 +64,32 @@ if not CONFIG["MOZ_DEBUG"]:
21324
 if CONFIG["MOZ_DEBUG"] == "1":
21325
 if CONFIG["MOZ_DEBUG"] == "1":
21325
 
21326
 
21326
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
21327
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 21514-21524 index 5c42b97b37a9..7fc4f4ab76f0 100644 Link Here
21514
 
21515
 
21515
 Library("video_frame_gn")
21516
 Library("video_frame_gn")
21516
diff --git third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build
21517
diff --git third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build
21517
index 961ffc81e65b..4cfb3cc01351 100644
21518
index 4951e4edce85..c4728ecf1200 100644
21518
--- third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build
21519
--- third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build
21519
+++ third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build
21520
+++ third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build
21520
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
21521
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
21521
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
21522
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
21522
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
21523
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
21523
 DEFINES["RTC_ENABLE_VP9"] = True
21524
 DEFINES["RTC_ENABLE_VP9"] = True
21524
+DEFINES["USE_GLIB"] = "1"
21525
+DEFINES["USE_GLIB"] = "1"
Lines 21538-21544 index 961ffc81e65b..4cfb3cc01351 100644 Link Here
21538
 
21539
 
21539
 FINAL_LIBRARY = "xul"
21540
 FINAL_LIBRARY = "xul"
21540
 
21541
 
21541
@@ -50,186 +59,32 @@ if not CONFIG["MOZ_DEBUG"]:
21542
@@ -51,186 +60,32 @@ if not CONFIG["MOZ_DEBUG"]:
21542
 if CONFIG["MOZ_DEBUG"] == "1":
21543
 if CONFIG["MOZ_DEBUG"] == "1":
21543
 
21544
 
21544
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
21545
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 21732-21742 index 961ffc81e65b..4cfb3cc01351 100644 Link Here
21732
 
21733
 
21733
 Library("video_frame_i010_gn")
21734
 Library("video_frame_i010_gn")
21734
diff --git third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build
21735
diff --git third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build
21735
index d81fad8e90ec..6f1776416d79 100644
21736
index e00d025ec821..ef2f74bc0852 100644
21736
--- third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build
21737
--- third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build
21737
+++ third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build
21738
+++ third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build
21738
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
21739
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
21739
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
21740
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
21740
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
21741
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
21741
 DEFINES["RTC_ENABLE_VP9"] = True
21742
 DEFINES["RTC_ENABLE_VP9"] = True
21742
+DEFINES["USE_GLIB"] = "1"
21743
+DEFINES["USE_GLIB"] = "1"
Lines 21756-21762 index d81fad8e90ec..6f1776416d79 100644 Link Here
21756
 
21757
 
21757
 FINAL_LIBRARY = "xul"
21758
 FINAL_LIBRARY = "xul"
21758
 
21759
 
21759
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
21760
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
21760
 if CONFIG["MOZ_DEBUG"] == "1":
21761
 if CONFIG["MOZ_DEBUG"] == "1":
21761
 
21762
 
21762
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
21763
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 21950-21960 index d81fad8e90ec..6f1776416d79 100644 Link Here
21950
 
21951
 
21951
 Library("video_frame_metadata_gn")
21952
 Library("video_frame_metadata_gn")
21952
diff --git third_party/libwebrtc/api/video/video_frame_type_gn/moz.build third_party/libwebrtc/api/video/video_frame_type_gn/moz.build
21953
diff --git third_party/libwebrtc/api/video/video_frame_type_gn/moz.build third_party/libwebrtc/api/video/video_frame_type_gn/moz.build
21953
index 35cbbb6faf29..72dadbd449b5 100644
21954
index f09aa8024ef8..3569618dc00d 100644
21954
--- third_party/libwebrtc/api/video/video_frame_type_gn/moz.build
21955
--- third_party/libwebrtc/api/video/video_frame_type_gn/moz.build
21955
+++ third_party/libwebrtc/api/video/video_frame_type_gn/moz.build
21956
+++ third_party/libwebrtc/api/video/video_frame_type_gn/moz.build
21956
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
21957
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
21957
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
21958
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
21958
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
21959
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
21959
 DEFINES["RTC_ENABLE_VP9"] = True
21960
 DEFINES["RTC_ENABLE_VP9"] = True
21960
+DEFINES["USE_GLIB"] = "1"
21961
+DEFINES["USE_GLIB"] = "1"
Lines 21974-21980 index 35cbbb6faf29..72dadbd449b5 100644 Link Here
21974
 
21975
 
21975
 FINAL_LIBRARY = "xul"
21976
 FINAL_LIBRARY = "xul"
21976
 
21977
 
21977
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
21978
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
21978
 if CONFIG["MOZ_DEBUG"] == "1":
21979
 if CONFIG["MOZ_DEBUG"] == "1":
21979
 
21980
 
21980
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
21981
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 22088-22094 index 35cbbb6faf29..72dadbd449b5 100644 Link Here
22088
 
22089
 
22089
 if CONFIG["TARGET_CPU"] == "x86":
22090
 if CONFIG["TARGET_CPU"] == "x86":
22090
 
22091
 
22091
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
22092
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
22092
 
22093
 
22093
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
22094
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
22094
 
22095
 
Lines 22141-22151 index 35cbbb6faf29..72dadbd449b5 100644 Link Here
22141
-
22142
-
22142
 Library("video_frame_type_gn")
22143
 Library("video_frame_type_gn")
22143
diff --git third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build
22144
diff --git third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build
22144
index 087e4d2b3b38..00846604156c 100644
22145
index b9a5bd46571c..de45a2318e42 100644
22145
--- third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build
22146
--- third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build
22146
+++ third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build
22147
+++ third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build
22147
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
22148
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
22148
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
22149
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
22149
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
22150
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
22150
 DEFINES["RTC_ENABLE_VP9"] = True
22151
 DEFINES["RTC_ENABLE_VP9"] = True
22151
+DEFINES["USE_GLIB"] = "1"
22152
+DEFINES["USE_GLIB"] = "1"
Lines 22165-22171 index 087e4d2b3b38..00846604156c 100644 Link Here
22165
 
22166
 
22166
 FINAL_LIBRARY = "xul"
22167
 FINAL_LIBRARY = "xul"
22167
 
22168
 
22168
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
22169
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
22169
 if CONFIG["MOZ_DEBUG"] == "1":
22170
 if CONFIG["MOZ_DEBUG"] == "1":
22170
 
22171
 
22171
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
22172
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 22279-22285 index 087e4d2b3b38..00846604156c 100644 Link Here
22279
 
22280
 
22280
 if CONFIG["TARGET_CPU"] == "x86":
22281
 if CONFIG["TARGET_CPU"] == "x86":
22281
 
22282
 
22282
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
22283
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
22283
 
22284
 
22284
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
22285
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
22285
 
22286
 
Lines 22332-22342 index 087e4d2b3b38..00846604156c 100644 Link Here
22332
-
22333
-
22333
 Library("video_layers_allocation_gn")
22334
 Library("video_layers_allocation_gn")
22334
diff --git third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build
22335
diff --git third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build
22335
index 9795785a7286..67af495f375a 100644
22336
index 079848bb358b..0a20b46f6c88 100644
22336
--- third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build
22337
--- third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build
22337
+++ third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build
22338
+++ third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build
22338
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
22339
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
22339
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
22340
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
22340
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
22341
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
22341
 DEFINES["RTC_ENABLE_VP9"] = True
22342
 DEFINES["RTC_ENABLE_VP9"] = True
22342
+DEFINES["USE_GLIB"] = "1"
22343
+DEFINES["USE_GLIB"] = "1"
Lines 22356-22362 index 9795785a7286..67af495f375a 100644 Link Here
22356
 
22357
 
22357
 FINAL_LIBRARY = "xul"
22358
 FINAL_LIBRARY = "xul"
22358
 
22359
 
22359
@@ -46,186 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
22360
@@ -47,186 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
22360
 if CONFIG["MOZ_DEBUG"] == "1":
22361
 if CONFIG["MOZ_DEBUG"] == "1":
22361
 
22362
 
22362
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
22363
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 22550-22560 index 9795785a7286..67af495f375a 100644 Link Here
22550
 
22551
 
22551
 Library("video_rtp_headers_gn")
22552
 Library("video_rtp_headers_gn")
22552
diff --git third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build
22553
diff --git third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build
22553
index e35fcc49d5aa..98abab04b82a 100644
22554
index 5bc79f430bae..1075c82f0415 100644
22554
--- third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build
22555
--- third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build
22555
+++ third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build
22556
+++ third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build
22556
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
22557
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
22557
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
22558
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
22558
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
22559
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
22559
 DEFINES["RTC_ENABLE_VP9"] = True
22560
 DEFINES["RTC_ENABLE_VP9"] = True
22560
+DEFINES["USE_GLIB"] = "1"
22561
+DEFINES["USE_GLIB"] = "1"
Lines 22574-22580 index e35fcc49d5aa..98abab04b82a 100644 Link Here
22574
 
22575
 
22575
 FINAL_LIBRARY = "xul"
22576
 FINAL_LIBRARY = "xul"
22576
 
22577
 
22577
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
22578
@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
22578
 if CONFIG["MOZ_DEBUG"] == "1":
22579
 if CONFIG["MOZ_DEBUG"] == "1":
22579
 
22580
 
22580
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
22581
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 22695-22701 index e35fcc49d5aa..98abab04b82a 100644 Link Here
22695
 
22696
 
22696
 if CONFIG["TARGET_CPU"] == "x86":
22697
 if CONFIG["TARGET_CPU"] == "x86":
22697
 
22698
 
22698
@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
22699
@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
22699
 
22700
 
22700
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
22701
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
22701
 
22702
 
Lines 22748-22758 index e35fcc49d5aa..98abab04b82a 100644 Link Here
22748
-
22749
-
22749
 Library("video_stream_encoder_gn")
22750
 Library("video_stream_encoder_gn")
22750
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
22751
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
22751
index 298a78c8a844..b9317d51313f 100644
22752
index 819a8c287dfc..1282b96a12d0 100644
22752
--- third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build
22753
--- third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build
22753
+++ third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build
22754
+++ third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build
22754
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
22755
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
22755
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
22756
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
22756
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
22757
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
22757
 DEFINES["RTC_ENABLE_VP9"] = True
22758
 DEFINES["RTC_ENABLE_VP9"] = True
22758
+DEFINES["USE_GLIB"] = "1"
22759
+DEFINES["USE_GLIB"] = "1"
Lines 22772-22778 index 298a78c8a844..b9317d51313f 100644 Link Here
22772
 
22773
 
22773
 FINAL_LIBRARY = "xul"
22774
 FINAL_LIBRARY = "xul"
22774
 
22775
 
22775
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
22776
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
22776
 if CONFIG["MOZ_DEBUG"] == "1":
22777
 if CONFIG["MOZ_DEBUG"] == "1":
22777
 
22778
 
22778
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
22779
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 22886-22892 index 298a78c8a844..b9317d51313f 100644 Link Here
22886
 
22887
 
22887
 if CONFIG["TARGET_CPU"] == "x86":
22888
 if CONFIG["TARGET_CPU"] == "x86":
22888
 
22889
 
22889
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
22890
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
22890
 
22891
 
22891
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
22892
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
22892
 
22893
 
Lines 22939-22949 index 298a78c8a844..b9317d51313f 100644 Link Here
22939
-
22940
-
22940
 Library("bitstream_parser_api_gn")
22941
 Library("bitstream_parser_api_gn")
22941
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
22942
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
22942
index e79ca13c7d5b..d4dfd0c7a10b 100644
22943
index 50fb2e553c51..497c1a3e5ea7 100644
22943
--- third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build
22944
--- third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build
22944
+++ third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build
22945
+++ third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build
22945
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
22946
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
22946
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
22947
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
22947
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
22948
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
22948
 DEFINES["RTC_ENABLE_VP9"] = True
22949
 DEFINES["RTC_ENABLE_VP9"] = True
22949
+DEFINES["USE_GLIB"] = "1"
22950
+DEFINES["USE_GLIB"] = "1"
Lines 22963-22969 index e79ca13c7d5b..d4dfd0c7a10b 100644 Link Here
22963
 
22964
 
22964
 FINAL_LIBRARY = "xul"
22965
 FINAL_LIBRARY = "xul"
22965
 
22966
 
22966
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
22967
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
22967
 if CONFIG["MOZ_DEBUG"] == "1":
22968
 if CONFIG["MOZ_DEBUG"] == "1":
22968
 
22969
 
22969
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
22970
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 23162-23172 index e79ca13c7d5b..d4dfd0c7a10b 100644 Link Here
23162
 
23163
 
23163
 Library("builtin_video_decoder_factory_gn")
23164
 Library("builtin_video_decoder_factory_gn")
23164
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
23165
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
23165
index f503a3b205df..e50a808f3a90 100644
23166
index 8336bf0f9eba..9a07248499a2 100644
23166
--- third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build
23167
--- third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build
23167
+++ third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build
23168
+++ third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build
23168
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
23169
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
23169
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
23170
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
23170
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
23171
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
23171
 DEFINES["RTC_ENABLE_VP9"] = True
23172
 DEFINES["RTC_ENABLE_VP9"] = True
23172
+DEFINES["USE_GLIB"] = "1"
23173
+DEFINES["USE_GLIB"] = "1"
Lines 23186-23192 index f503a3b205df..e50a808f3a90 100644 Link Here
23186
 
23187
 
23187
 FINAL_LIBRARY = "xul"
23188
 FINAL_LIBRARY = "xul"
23188
 
23189
 
23189
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
23190
@@ -45,191 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
23190
 if CONFIG["MOZ_DEBUG"] == "1":
23191
 if CONFIG["MOZ_DEBUG"] == "1":
23191
 
23192
 
23192
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
23193
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 23385-23395 index f503a3b205df..e50a808f3a90 100644 Link Here
23385
 
23386
 
23386
 Library("rtc_software_fallback_wrappers_gn")
23387
 Library("rtc_software_fallback_wrappers_gn")
23387
diff --git third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build
23388
diff --git third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build
23388
index 15814eeed8b6..7e8b6e8cfa6c 100644
23389
index 408cb931cfea..527f3b0ba68f 100644
23389
--- third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build
23390
--- third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build
23390
+++ third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build
23391
+++ third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build
23391
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
23392
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
23392
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
23393
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
23393
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
23394
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
23394
 DEFINES["RTC_ENABLE_VP9"] = True
23395
 DEFINES["RTC_ENABLE_VP9"] = True
23395
+DEFINES["USE_GLIB"] = "1"
23396
+DEFINES["USE_GLIB"] = "1"
Lines 23409-23415 index 15814eeed8b6..7e8b6e8cfa6c 100644 Link Here
23409
 
23410
 
23410
 FINAL_LIBRARY = "xul"
23411
 FINAL_LIBRARY = "xul"
23411
 
23412
 
23412
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
23413
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
23413
 if CONFIG["MOZ_DEBUG"] == "1":
23414
 if CONFIG["MOZ_DEBUG"] == "1":
23414
 
23415
 
23415
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
23416
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 23596-23606 index 15814eeed8b6..7e8b6e8cfa6c 100644 Link Here
23596
 
23597
 
23597
 Library("scalability_mode_gn")
23598
 Library("scalability_mode_gn")
23598
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
23599
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
23599
index 7e065afaab4e..04ad9ac19993 100644
23600
index 53356c361021..9cef4b9a8a47 100644
23600
--- third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build
23601
--- third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build
23601
+++ third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build
23602
+++ third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build
23602
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
23603
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
23603
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
23604
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
23604
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
23605
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
23605
 DEFINES["RTC_ENABLE_VP9"] = True
23606
 DEFINES["RTC_ENABLE_VP9"] = True
23606
+DEFINES["USE_GLIB"] = "1"
23607
+DEFINES["USE_GLIB"] = "1"
Lines 23620-23626 index 7e065afaab4e..04ad9ac19993 100644 Link Here
23620
 
23621
 
23621
 FINAL_LIBRARY = "xul"
23622
 FINAL_LIBRARY = "xul"
23622
 
23623
 
23623
@@ -53,186 +62,32 @@ if not CONFIG["MOZ_DEBUG"]:
23624
@@ -54,186 +63,32 @@ if not CONFIG["MOZ_DEBUG"]:
23624
 if CONFIG["MOZ_DEBUG"] == "1":
23625
 if CONFIG["MOZ_DEBUG"] == "1":
23625
 
23626
 
23626
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
23627
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 23814-23824 index 7e065afaab4e..04ad9ac19993 100644 Link Here
23814
 
23815
 
23815
 Library("video_codecs_api_gn")
23816
 Library("video_codecs_api_gn")
23816
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
23817
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
23817
index 5dad1e3674d2..bb5aeb6b5d3d 100644
23818
index 2daf90b4f83b..ea0857484892 100644
23818
--- third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_gn/moz.build
23819
--- third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_gn/moz.build
23819
+++ third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_gn/moz.build
23820
+++ third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_gn/moz.build
23820
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
23821
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
23821
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
23822
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
23822
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
23823
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
23823
 DEFINES["RTC_ENABLE_VP9"] = True
23824
 DEFINES["RTC_ENABLE_VP9"] = True
23824
+DEFINES["USE_GLIB"] = "1"
23825
+DEFINES["USE_GLIB"] = "1"
Lines 23838-23844 index 5dad1e3674d2..bb5aeb6b5d3d 100644 Link Here
23838
 
23839
 
23839
 FINAL_LIBRARY = "xul"
23840
 FINAL_LIBRARY = "xul"
23840
 
23841
 
23841
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
23842
@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
23842
 if CONFIG["MOZ_DEBUG"] == "1":
23843
 if CONFIG["MOZ_DEBUG"] == "1":
23843
 
23844
 
23844
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
23845
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 23959-23965 index 5dad1e3674d2..bb5aeb6b5d3d 100644 Link Here
23959
 
23960
 
23960
 if CONFIG["TARGET_CPU"] == "x86":
23961
 if CONFIG["TARGET_CPU"] == "x86":
23961
 
23962
 
23962
@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
23963
@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
23963
 
23964
 
23964
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
23965
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
23965
 
23966
 
Lines 24012-24022 index 5dad1e3674d2..bb5aeb6b5d3d 100644 Link Here
24012
-
24013
-
24013
 Library("video_encoder_factory_template_gn")
24014
 Library("video_encoder_factory_template_gn")
24014
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
24015
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
24015
index 70cf72d1ea8f..b8e0b45c28a2 100644
24016
index dfb4ccbb2c51..9231cdb1708f 100644
24016
--- third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libaom_av1_adapter_gn/moz.build
24017
--- third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libaom_av1_adapter_gn/moz.build
24017
+++ third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libaom_av1_adapter_gn/moz.build
24018
+++ third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libaom_av1_adapter_gn/moz.build
24018
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
24019
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
24019
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
24020
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
24020
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
24021
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
24021
 DEFINES["RTC_ENABLE_VP9"] = True
24022
 DEFINES["RTC_ENABLE_VP9"] = True
24022
+DEFINES["USE_GLIB"] = "1"
24023
+DEFINES["USE_GLIB"] = "1"
Lines 24036-24042 index 70cf72d1ea8f..b8e0b45c28a2 100644 Link Here
24036
 
24037
 
24037
 FINAL_LIBRARY = "xul"
24038
 FINAL_LIBRARY = "xul"
24038
 
24039
 
24039
@@ -39,123 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
24040
@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
24040
 if CONFIG["MOZ_DEBUG"] == "1":
24041
 if CONFIG["MOZ_DEBUG"] == "1":
24041
 
24042
 
24042
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
24043
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 24161-24167 index 70cf72d1ea8f..b8e0b45c28a2 100644 Link Here
24161
 
24162
 
24162
 if CONFIG["TARGET_CPU"] == "x86":
24163
 if CONFIG["TARGET_CPU"] == "x86":
24163
 
24164
 
24164
@@ -165,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
24165
@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
24165
 
24166
 
24166
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
24167
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
24167
 
24168
 
Lines 24214-24224 index 70cf72d1ea8f..b8e0b45c28a2 100644 Link Here
24214
-
24215
-
24215
 Library("video_encoder_factory_template_libaom_av1_adapter_gn")
24216
 Library("video_encoder_factory_template_libaom_av1_adapter_gn")
24216
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
24217
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
24217
index 5a44aee34808..57f83fc9486b 100644
24218
index 8f2b2d4c394b..2e032e933f4d 100644
24218
--- third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp8_adapter_gn/moz.build
24219
--- third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp8_adapter_gn/moz.build
24219
+++ third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp8_adapter_gn/moz.build
24220
+++ third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp8_adapter_gn/moz.build
24220
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
24221
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
24221
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
24222
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
24222
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
24223
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
24223
 DEFINES["RTC_ENABLE_VP9"] = True
24224
 DEFINES["RTC_ENABLE_VP9"] = True
24224
+DEFINES["USE_GLIB"] = "1"
24225
+DEFINES["USE_GLIB"] = "1"
Lines 24238-24244 index 5a44aee34808..57f83fc9486b 100644 Link Here
24238
 
24239
 
24239
 FINAL_LIBRARY = "xul"
24240
 FINAL_LIBRARY = "xul"
24240
 
24241
 
24241
@@ -39,124 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
24242
@@ -40,124 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
24242
 if CONFIG["MOZ_DEBUG"] == "1":
24243
 if CONFIG["MOZ_DEBUG"] == "1":
24243
 
24244
 
24244
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
24245
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 24364-24370 index 5a44aee34808..57f83fc9486b 100644 Link Here
24364
 
24365
 
24365
 if CONFIG["TARGET_CPU"] == "x86":
24366
 if CONFIG["TARGET_CPU"] == "x86":
24366
 
24367
 
24367
@@ -166,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
24368
@@ -167,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
24368
 
24369
 
24369
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
24370
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
24370
 
24371
 
Lines 24417-24427 index 5a44aee34808..57f83fc9486b 100644 Link Here
24417
-
24418
-
24418
 Library("video_encoder_factory_template_libvpx_vp8_adapter_gn")
24419
 Library("video_encoder_factory_template_libvpx_vp8_adapter_gn")
24419
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
24420
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
24420
index 268c7c01b2dd..c0ffd9aab90f 100644
24421
index 1262d9c963ac..feb340bc6ffa 100644
24421
--- third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp9_adapter_gn/moz.build
24422
--- third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp9_adapter_gn/moz.build
24422
+++ third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp9_adapter_gn/moz.build
24423
+++ third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp9_adapter_gn/moz.build
24423
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
24424
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
24424
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
24425
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
24425
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
24426
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
24426
 DEFINES["RTC_ENABLE_VP9"] = True
24427
 DEFINES["RTC_ENABLE_VP9"] = True
24427
+DEFINES["USE_GLIB"] = "1"
24428
+DEFINES["USE_GLIB"] = "1"
Lines 24441-24447 index 268c7c01b2dd..c0ffd9aab90f 100644 Link Here
24441
 
24442
 
24442
 FINAL_LIBRARY = "xul"
24443
 FINAL_LIBRARY = "xul"
24443
 
24444
 
24444
@@ -39,124 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
24445
@@ -40,124 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
24445
 if CONFIG["MOZ_DEBUG"] == "1":
24446
 if CONFIG["MOZ_DEBUG"] == "1":
24446
 
24447
 
24447
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
24448
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 24567-24573 index 268c7c01b2dd..c0ffd9aab90f 100644 Link Here
24567
 
24568
 
24568
 if CONFIG["TARGET_CPU"] == "x86":
24569
 if CONFIG["TARGET_CPU"] == "x86":
24569
 
24570
 
24570
@@ -166,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
24571
@@ -167,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
24571
 
24572
 
24572
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
24573
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
24573
 
24574
 
Lines 24620-24630 index 268c7c01b2dd..c0ffd9aab90f 100644 Link Here
24620
-
24621
-
24621
 Library("video_encoder_factory_template_libvpx_vp9_adapter_gn")
24622
 Library("video_encoder_factory_template_libvpx_vp9_adapter_gn")
24622
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
24623
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
24623
index 3046da6a470f..7237fb0ba38b 100644
24624
index 37ddca0609eb..50eb54ea4186 100644
24624
--- third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_open_h264_adapter_gn/moz.build
24625
--- third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_open_h264_adapter_gn/moz.build
24625
+++ third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_open_h264_adapter_gn/moz.build
24626
+++ third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_open_h264_adapter_gn/moz.build
24626
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
24627
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
24627
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
24628
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
24628
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
24629
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
24629
 DEFINES["RTC_ENABLE_VP9"] = True
24630
 DEFINES["RTC_ENABLE_VP9"] = True
24630
+DEFINES["USE_GLIB"] = "1"
24631
+DEFINES["USE_GLIB"] = "1"
Lines 24644-24650 index 3046da6a470f..7237fb0ba38b 100644 Link Here
24644
 
24645
 
24645
 FINAL_LIBRARY = "xul"
24646
 FINAL_LIBRARY = "xul"
24646
 
24647
 
24647
@@ -39,124 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
24648
@@ -40,124 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
24648
 if CONFIG["MOZ_DEBUG"] == "1":
24649
 if CONFIG["MOZ_DEBUG"] == "1":
24649
 
24650
 
24650
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
24651
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 24770-24776 index 3046da6a470f..7237fb0ba38b 100644 Link Here
24770
 
24771
 
24771
 if CONFIG["TARGET_CPU"] == "x86":
24772
 if CONFIG["TARGET_CPU"] == "x86":
24772
 
24773
 
24773
@@ -166,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
24774
@@ -167,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
24774
 
24775
 
24775
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
24776
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
24776
 
24777
 
Lines 24823-24833 index 3046da6a470f..7237fb0ba38b 100644 Link Here
24823
-
24824
-
24824
 Library("video_encoder_factory_template_open_h264_adapter_gn")
24825
 Library("video_encoder_factory_template_open_h264_adapter_gn")
24825
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
24826
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
24826
index 487c0d9471e1..2fe2304cb942 100644
24827
index ebc185abb114..3b7a135fe174 100644
24827
--- third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build
24828
--- third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build
24828
+++ third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build
24829
+++ third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build
24829
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
24830
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
24830
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
24831
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
24831
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
24832
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
24832
 DEFINES["RTC_ENABLE_VP9"] = True
24833
 DEFINES["RTC_ENABLE_VP9"] = True
24833
+DEFINES["USE_GLIB"] = "1"
24834
+DEFINES["USE_GLIB"] = "1"
Lines 24847-24853 index 487c0d9471e1..2fe2304cb942 100644 Link Here
24847
 
24848
 
24848
 FINAL_LIBRARY = "xul"
24849
 FINAL_LIBRARY = "xul"
24849
 
24850
 
24850
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
24851
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
24851
 if CONFIG["MOZ_DEBUG"] == "1":
24852
 if CONFIG["MOZ_DEBUG"] == "1":
24852
 
24853
 
24853
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
24854
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 25046-25056 index 487c0d9471e1..2fe2304cb942 100644 Link Here
25046
 
25047
 
25047
 Library("vp8_temporal_layers_factory_gn")
25048
 Library("vp8_temporal_layers_factory_gn")
25048
diff --git third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build
25049
diff --git third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build
25049
index eed553ce968c..a9bb083e07d3 100644
25050
index 933524efdac5..7ec1ae1523bd 100644
25050
--- third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build
25051
--- third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build
25051
+++ third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build
25052
+++ third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build
25052
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
25053
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
25053
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
25054
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
25054
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
25055
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
25055
 DEFINES["RTC_ENABLE_VP9"] = True
25056
 DEFINES["RTC_ENABLE_VP9"] = True
25056
+DEFINES["USE_GLIB"] = "1"
25057
+DEFINES["USE_GLIB"] = "1"
Lines 25070-25076 index eed553ce968c..a9bb083e07d3 100644 Link Here
25070
 
25071
 
25071
 FINAL_LIBRARY = "xul"
25072
 FINAL_LIBRARY = "xul"
25072
 
25073
 
25073
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
25074
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
25074
 if CONFIG["MOZ_DEBUG"] == "1":
25075
 if CONFIG["MOZ_DEBUG"] == "1":
25075
 
25076
 
25076
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
25077
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 25180-25186 index eed553ce968c..a9bb083e07d3 100644 Link Here
25180
 
25181
 
25181
 if CONFIG["TARGET_CPU"] == "x86":
25182
 if CONFIG["TARGET_CPU"] == "x86":
25182
 
25183
 
25183
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
25184
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
25184
 
25185
 
25185
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
25186
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
25186
 
25187
 
Lines 25233-25243 index eed553ce968c..a9bb083e07d3 100644 Link Here
25233
-
25234
-
25234
 Library("video_track_source_constraints_gn")
25235
 Library("video_track_source_constraints_gn")
25235
diff --git third_party/libwebrtc/audio/audio_gn/moz.build third_party/libwebrtc/audio/audio_gn/moz.build
25236
diff --git third_party/libwebrtc/audio/audio_gn/moz.build third_party/libwebrtc/audio/audio_gn/moz.build
25236
index c52d2d8ec5d5..570c4597d2ab 100644
25237
index 1e33a79591e5..1423654999b3 100644
25237
--- third_party/libwebrtc/audio/audio_gn/moz.build
25238
--- third_party/libwebrtc/audio/audio_gn/moz.build
25238
+++ third_party/libwebrtc/audio/audio_gn/moz.build
25239
+++ third_party/libwebrtc/audio/audio_gn/moz.build
25239
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
25240
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
25240
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
25241
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
25241
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
25242
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
25242
 DEFINES["RTC_ENABLE_VP9"] = True
25243
 DEFINES["RTC_ENABLE_VP9"] = True
25243
+DEFINES["USE_GLIB"] = "1"
25244
+DEFINES["USE_GLIB"] = "1"
Lines 25257-25263 index c52d2d8ec5d5..570c4597d2ab 100644 Link Here
25257
 
25258
 
25258
 FINAL_LIBRARY = "xul"
25259
 FINAL_LIBRARY = "xul"
25259
 
25260
 
25260
@@ -55,191 +64,32 @@ if not CONFIG["MOZ_DEBUG"]:
25261
@@ -56,191 +65,32 @@ if not CONFIG["MOZ_DEBUG"]:
25261
 if CONFIG["MOZ_DEBUG"] == "1":
25262
 if CONFIG["MOZ_DEBUG"] == "1":
25262
 
25263
 
25263
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
25264
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 25456-25466 index c52d2d8ec5d5..570c4597d2ab 100644 Link Here
25456
 
25457
 
25457
 Library("audio_gn")
25458
 Library("audio_gn")
25458
diff --git third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build
25459
diff --git third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build
25459
index 41ec2166f76b..80914acd5839 100644
25460
index a072faa0e703..b021c5c974d6 100644
25460
--- third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build
25461
--- third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build
25461
+++ third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build
25462
+++ third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build
25462
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
25463
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
25463
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
25464
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
25464
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
25465
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
25465
 DEFINES["RTC_ENABLE_VP9"] = True
25466
 DEFINES["RTC_ENABLE_VP9"] = True
25466
+DEFINES["USE_GLIB"] = "1"
25467
+DEFINES["USE_GLIB"] = "1"
Lines 25480-25486 index 41ec2166f76b..80914acd5839 100644 Link Here
25480
 
25481
 
25481
 FINAL_LIBRARY = "xul"
25482
 FINAL_LIBRARY = "xul"
25482
 
25483
 
25483
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
25484
@@ -46,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
25484
 if CONFIG["MOZ_DEBUG"] == "1":
25485
 if CONFIG["MOZ_DEBUG"] == "1":
25485
 
25486
 
25486
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
25487
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 25678-25688 index 41ec2166f76b..80914acd5839 100644 Link Here
25678
 
25679
 
25679
 Library("audio_frame_operations_gn")
25680
 Library("audio_frame_operations_gn")
25680
diff --git third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build
25681
diff --git third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build
25681
index b47b7f67124e..0115d47e0857 100644
25682
index a16854c0cbf3..10c7a4ac89a7 100644
25682
--- third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build
25683
--- third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build
25683
+++ third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build
25684
+++ third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build
25684
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
25685
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
25685
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
25686
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
25686
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
25687
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
25687
 DEFINES["RTC_ENABLE_VP9"] = True
25688
 DEFINES["RTC_ENABLE_VP9"] = True
25688
+DEFINES["USE_GLIB"] = "1"
25689
+DEFINES["USE_GLIB"] = "1"
Lines 25702-25708 index b47b7f67124e..0115d47e0857 100644 Link Here
25702
 
25703
 
25703
 FINAL_LIBRARY = "xul"
25704
 FINAL_LIBRARY = "xul"
25704
 
25705
 
25705
@@ -52,191 +61,32 @@ if not CONFIG["MOZ_DEBUG"]:
25706
@@ -53,191 +62,32 @@ if not CONFIG["MOZ_DEBUG"]:
25706
 if CONFIG["MOZ_DEBUG"] == "1":
25707
 if CONFIG["MOZ_DEBUG"] == "1":
25707
 
25708
 
25708
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
25709
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 25901-25911 index b47b7f67124e..0115d47e0857 100644 Link Here
25901
 
25902
 
25902
 Library("resource_adaptation_gn")
25903
 Library("resource_adaptation_gn")
25903
diff --git third_party/libwebrtc/call/audio_sender_interface_gn/moz.build third_party/libwebrtc/call/audio_sender_interface_gn/moz.build
25904
diff --git third_party/libwebrtc/call/audio_sender_interface_gn/moz.build third_party/libwebrtc/call/audio_sender_interface_gn/moz.build
25904
index 64613d5febf2..1e65cb180fd1 100644
25905
index 24568a31a210..e88cc584182f 100644
25905
--- third_party/libwebrtc/call/audio_sender_interface_gn/moz.build
25906
--- third_party/libwebrtc/call/audio_sender_interface_gn/moz.build
25906
+++ third_party/libwebrtc/call/audio_sender_interface_gn/moz.build
25907
+++ third_party/libwebrtc/call/audio_sender_interface_gn/moz.build
25907
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
25908
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
25908
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
25909
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
25909
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
25910
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
25910
 DEFINES["RTC_ENABLE_VP9"] = True
25911
 DEFINES["RTC_ENABLE_VP9"] = True
25911
+DEFINES["USE_GLIB"] = "1"
25912
+DEFINES["USE_GLIB"] = "1"
Lines 25925-25931 index 64613d5febf2..1e65cb180fd1 100644 Link Here
25925
 
25926
 
25926
 FINAL_LIBRARY = "xul"
25927
 FINAL_LIBRARY = "xul"
25927
 
25928
 
25928
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
25929
@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
25929
 if CONFIG["MOZ_DEBUG"] == "1":
25930
 if CONFIG["MOZ_DEBUG"] == "1":
25930
 
25931
 
25931
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
25932
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 26046-26052 index 64613d5febf2..1e65cb180fd1 100644 Link Here
26046
 
26047
 
26047
 if CONFIG["TARGET_CPU"] == "x86":
26048
 if CONFIG["TARGET_CPU"] == "x86":
26048
 
26049
 
26049
@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
26050
@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
26050
 
26051
 
26051
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
26052
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
26052
 
26053
 
Lines 26099-26109 index 64613d5febf2..1e65cb180fd1 100644 Link Here
26099
-
26100
-
26100
 Library("audio_sender_interface_gn")
26101
 Library("audio_sender_interface_gn")
26101
diff --git third_party/libwebrtc/call/bitrate_allocator_gn/moz.build third_party/libwebrtc/call/bitrate_allocator_gn/moz.build
26102
diff --git third_party/libwebrtc/call/bitrate_allocator_gn/moz.build third_party/libwebrtc/call/bitrate_allocator_gn/moz.build
26102
index f881adeec2c7..0f207f759b9d 100644
26103
index ca42c673672b..a9b6fcefbad9 100644
26103
--- third_party/libwebrtc/call/bitrate_allocator_gn/moz.build
26104
--- third_party/libwebrtc/call/bitrate_allocator_gn/moz.build
26104
+++ third_party/libwebrtc/call/bitrate_allocator_gn/moz.build
26105
+++ third_party/libwebrtc/call/bitrate_allocator_gn/moz.build
26105
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
26106
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
26106
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
26107
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
26107
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
26108
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
26108
 DEFINES["RTC_ENABLE_VP9"] = True
26109
 DEFINES["RTC_ENABLE_VP9"] = True
26109
+DEFINES["USE_GLIB"] = "1"
26110
+DEFINES["USE_GLIB"] = "1"
Lines 26123-26129 index f881adeec2c7..0f207f759b9d 100644 Link Here
26123
 
26124
 
26124
 FINAL_LIBRARY = "xul"
26125
 FINAL_LIBRARY = "xul"
26125
 
26126
 
26126
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
26127
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
26127
 if CONFIG["MOZ_DEBUG"] == "1":
26128
 if CONFIG["MOZ_DEBUG"] == "1":
26128
 
26129
 
26129
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
26130
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 26321-26331 index f881adeec2c7..0f207f759b9d 100644 Link Here
26321
 
26322
 
26322
 Library("bitrate_allocator_gn")
26323
 Library("bitrate_allocator_gn")
26323
diff --git third_party/libwebrtc/call/bitrate_configurator_gn/moz.build third_party/libwebrtc/call/bitrate_configurator_gn/moz.build
26324
diff --git third_party/libwebrtc/call/bitrate_configurator_gn/moz.build third_party/libwebrtc/call/bitrate_configurator_gn/moz.build
26324
index 1c8d60c87c7d..9d7cd391892f 100644
26325
index 2d0f74ea355e..b2182b8b5ce4 100644
26325
--- third_party/libwebrtc/call/bitrate_configurator_gn/moz.build
26326
--- third_party/libwebrtc/call/bitrate_configurator_gn/moz.build
26326
+++ third_party/libwebrtc/call/bitrate_configurator_gn/moz.build
26327
+++ third_party/libwebrtc/call/bitrate_configurator_gn/moz.build
26327
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
26328
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
26328
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
26329
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
26329
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
26330
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
26330
 DEFINES["RTC_ENABLE_VP9"] = True
26331
 DEFINES["RTC_ENABLE_VP9"] = True
26331
+DEFINES["USE_GLIB"] = "1"
26332
+DEFINES["USE_GLIB"] = "1"
Lines 26345-26351 index 1c8d60c87c7d..9d7cd391892f 100644 Link Here
26345
 
26346
 
26346
 FINAL_LIBRARY = "xul"
26347
 FINAL_LIBRARY = "xul"
26347
 
26348
 
26348
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
26349
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
26349
 if CONFIG["MOZ_DEBUG"] == "1":
26350
 if CONFIG["MOZ_DEBUG"] == "1":
26350
 
26351
 
26351
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
26352
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 26543-26553 index 1c8d60c87c7d..9d7cd391892f 100644 Link Here
26543
 
26544
 
26544
 Library("bitrate_configurator_gn")
26545
 Library("bitrate_configurator_gn")
26545
diff --git third_party/libwebrtc/call/call_gn/moz.build third_party/libwebrtc/call/call_gn/moz.build
26546
diff --git third_party/libwebrtc/call/call_gn/moz.build third_party/libwebrtc/call/call_gn/moz.build
26546
index 554f25cfb490..b1723ba1715c 100644
26547
index 987aff418d68..38c79be10cdc 100644
26547
--- third_party/libwebrtc/call/call_gn/moz.build
26548
--- third_party/libwebrtc/call/call_gn/moz.build
26548
+++ third_party/libwebrtc/call/call_gn/moz.build
26549
+++ third_party/libwebrtc/call/call_gn/moz.build
26549
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
26550
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
26550
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
26551
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
26551
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
26552
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
26552
 DEFINES["RTC_ENABLE_VP9"] = True
26553
 DEFINES["RTC_ENABLE_VP9"] = True
26553
+DEFINES["USE_GLIB"] = "1"
26554
+DEFINES["USE_GLIB"] = "1"
Lines 26567-26573 index 554f25cfb490..b1723ba1715c 100644 Link Here
26567
 
26568
 
26568
 FINAL_LIBRARY = "xul"
26569
 FINAL_LIBRARY = "xul"
26569
 
26570
 
26570
@@ -45,191 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
26571
@@ -46,191 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
26571
 if CONFIG["MOZ_DEBUG"] == "1":
26572
 if CONFIG["MOZ_DEBUG"] == "1":
26572
 
26573
 
26573
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
26574
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 26766-26776 index 554f25cfb490..b1723ba1715c 100644 Link Here
26766
 
26767
 
26767
 Library("call_gn")
26768
 Library("call_gn")
26768
diff --git third_party/libwebrtc/call/call_interfaces_gn/moz.build third_party/libwebrtc/call/call_interfaces_gn/moz.build
26769
diff --git third_party/libwebrtc/call/call_interfaces_gn/moz.build third_party/libwebrtc/call/call_interfaces_gn/moz.build
26769
index 01a07308c01b..1f5bb9bae089 100644
26770
index 3147c1e5f11a..485e219e783d 100644
26770
--- third_party/libwebrtc/call/call_interfaces_gn/moz.build
26771
--- third_party/libwebrtc/call/call_interfaces_gn/moz.build
26771
+++ third_party/libwebrtc/call/call_interfaces_gn/moz.build
26772
+++ third_party/libwebrtc/call/call_interfaces_gn/moz.build
26772
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
26773
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
26773
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
26774
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
26774
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
26775
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
26775
 DEFINES["RTC_ENABLE_VP9"] = True
26776
 DEFINES["RTC_ENABLE_VP9"] = True
26776
+DEFINES["USE_GLIB"] = "1"
26777
+DEFINES["USE_GLIB"] = "1"
Lines 26790-26796 index 01a07308c01b..1f5bb9bae089 100644 Link Here
26790
 
26791
 
26791
 FINAL_LIBRARY = "xul"
26792
 FINAL_LIBRARY = "xul"
26792
 
26793
 
26793
@@ -49,191 +58,32 @@ if not CONFIG["MOZ_DEBUG"]:
26794
@@ -50,191 +59,32 @@ if not CONFIG["MOZ_DEBUG"]:
26794
 if CONFIG["MOZ_DEBUG"] == "1":
26795
 if CONFIG["MOZ_DEBUG"] == "1":
26795
 
26796
 
26796
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
26797
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 26989-26999 index 01a07308c01b..1f5bb9bae089 100644 Link Here
26989
 
26990
 
26990
 Library("call_interfaces_gn")
26991
 Library("call_interfaces_gn")
26991
diff --git third_party/libwebrtc/call/payload_type_gn/moz.build third_party/libwebrtc/call/payload_type_gn/moz.build
26992
diff --git third_party/libwebrtc/call/payload_type_gn/moz.build third_party/libwebrtc/call/payload_type_gn/moz.build
26992
index 4ee6afa8af43..a56032559c58 100644
26993
index 373d925f861d..101b856cff86 100644
26993
--- third_party/libwebrtc/call/payload_type_gn/moz.build
26994
--- third_party/libwebrtc/call/payload_type_gn/moz.build
26994
+++ third_party/libwebrtc/call/payload_type_gn/moz.build
26995
+++ third_party/libwebrtc/call/payload_type_gn/moz.build
26995
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
26996
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
26996
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
26997
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
26997
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
26998
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
26998
 DEFINES["RTC_ENABLE_VP9"] = True
26999
 DEFINES["RTC_ENABLE_VP9"] = True
26999
+DEFINES["USE_GLIB"] = "1"
27000
+DEFINES["USE_GLIB"] = "1"
Lines 27013-27019 index 4ee6afa8af43..a56032559c58 100644 Link Here
27013
 
27014
 
27014
 FINAL_LIBRARY = "xul"
27015
 FINAL_LIBRARY = "xul"
27015
 
27016
 
27016
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
27017
@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
27017
 if CONFIG["MOZ_DEBUG"] == "1":
27018
 if CONFIG["MOZ_DEBUG"] == "1":
27018
 
27019
 
27019
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
27020
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 27134-27140 index 4ee6afa8af43..a56032559c58 100644 Link Here
27134
 
27135
 
27135
 if CONFIG["TARGET_CPU"] == "x86":
27136
 if CONFIG["TARGET_CPU"] == "x86":
27136
 
27137
 
27137
@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
27138
@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
27138
 
27139
 
27139
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
27140
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
27140
 
27141
 
Lines 27187-27197 index 4ee6afa8af43..a56032559c58 100644 Link Here
27187
-
27188
-
27188
 Library("payload_type_gn")
27189
 Library("payload_type_gn")
27189
diff --git third_party/libwebrtc/call/payload_type_picker_gn/moz.build third_party/libwebrtc/call/payload_type_picker_gn/moz.build
27190
diff --git third_party/libwebrtc/call/payload_type_picker_gn/moz.build third_party/libwebrtc/call/payload_type_picker_gn/moz.build
27190
index 9882d5dcd22c..7c7bf3c21180 100644
27191
index f6525a6416ce..3c2fd78fd486 100644
27191
--- third_party/libwebrtc/call/payload_type_picker_gn/moz.build
27192
--- third_party/libwebrtc/call/payload_type_picker_gn/moz.build
27192
+++ third_party/libwebrtc/call/payload_type_picker_gn/moz.build
27193
+++ third_party/libwebrtc/call/payload_type_picker_gn/moz.build
27193
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
27194
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
27194
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
27195
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
27195
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
27196
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
27196
 DEFINES["RTC_ENABLE_VP9"] = True
27197
 DEFINES["RTC_ENABLE_VP9"] = True
27197
+DEFINES["USE_GLIB"] = "1"
27198
+DEFINES["USE_GLIB"] = "1"
Lines 27211-27217 index 9882d5dcd22c..7c7bf3c21180 100644 Link Here
27211
 
27212
 
27212
 FINAL_LIBRARY = "xul"
27213
 FINAL_LIBRARY = "xul"
27213
 
27214
 
27214
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
27215
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
27215
 if CONFIG["MOZ_DEBUG"] == "1":
27216
 if CONFIG["MOZ_DEBUG"] == "1":
27216
 
27217
 
27217
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
27218
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 27405-27415 index 9882d5dcd22c..7c7bf3c21180 100644 Link Here
27405
 
27406
 
27406
 Library("payload_type_picker_gn")
27407
 Library("payload_type_picker_gn")
27407
diff --git third_party/libwebrtc/call/receive_stream_interface_gn/moz.build third_party/libwebrtc/call/receive_stream_interface_gn/moz.build
27408
diff --git third_party/libwebrtc/call/receive_stream_interface_gn/moz.build third_party/libwebrtc/call/receive_stream_interface_gn/moz.build
27408
index c7fa9954fd8a..19c896a21aa4 100644
27409
index 67bf072556e5..6c2b07cf373d 100644
27409
--- third_party/libwebrtc/call/receive_stream_interface_gn/moz.build
27410
--- third_party/libwebrtc/call/receive_stream_interface_gn/moz.build
27410
+++ third_party/libwebrtc/call/receive_stream_interface_gn/moz.build
27411
+++ third_party/libwebrtc/call/receive_stream_interface_gn/moz.build
27411
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
27412
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
27412
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
27413
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
27413
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
27414
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
27414
 DEFINES["RTC_ENABLE_VP9"] = True
27415
 DEFINES["RTC_ENABLE_VP9"] = True
27415
+DEFINES["USE_GLIB"] = "1"
27416
+DEFINES["USE_GLIB"] = "1"
Lines 27429-27435 index c7fa9954fd8a..19c896a21aa4 100644 Link Here
27429
 
27430
 
27430
 FINAL_LIBRARY = "xul"
27431
 FINAL_LIBRARY = "xul"
27431
 
27432
 
27432
@@ -39,123 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
27433
@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
27433
 if CONFIG["MOZ_DEBUG"] == "1":
27434
 if CONFIG["MOZ_DEBUG"] == "1":
27434
 
27435
 
27435
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
27436
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 27554-27560 index c7fa9954fd8a..19c896a21aa4 100644 Link Here
27554
 
27555
 
27555
 if CONFIG["TARGET_CPU"] == "x86":
27556
 if CONFIG["TARGET_CPU"] == "x86":
27556
 
27557
 
27557
@@ -165,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
27558
@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
27558
 
27559
 
27559
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
27560
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
27560
 
27561
 
Lines 27607-27617 index c7fa9954fd8a..19c896a21aa4 100644 Link Here
27607
-
27608
-
27608
 Library("receive_stream_interface_gn")
27609
 Library("receive_stream_interface_gn")
27609
diff --git third_party/libwebrtc/call/rtp_interfaces_gn/moz.build third_party/libwebrtc/call/rtp_interfaces_gn/moz.build
27610
diff --git third_party/libwebrtc/call/rtp_interfaces_gn/moz.build third_party/libwebrtc/call/rtp_interfaces_gn/moz.build
27610
index 6fb2e359fbd9..20ac430288cf 100644
27611
index 5204bc7ce3ea..ee28e9bcacc4 100644
27611
--- third_party/libwebrtc/call/rtp_interfaces_gn/moz.build
27612
--- third_party/libwebrtc/call/rtp_interfaces_gn/moz.build
27612
+++ third_party/libwebrtc/call/rtp_interfaces_gn/moz.build
27613
+++ third_party/libwebrtc/call/rtp_interfaces_gn/moz.build
27613
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
27614
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
27614
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
27615
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
27615
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
27616
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
27616
 DEFINES["RTC_ENABLE_VP9"] = True
27617
 DEFINES["RTC_ENABLE_VP9"] = True
27617
+DEFINES["USE_GLIB"] = "1"
27618
+DEFINES["USE_GLIB"] = "1"
Lines 27631-27637 index 6fb2e359fbd9..20ac430288cf 100644 Link Here
27631
 
27632
 
27632
 FINAL_LIBRARY = "xul"
27633
 FINAL_LIBRARY = "xul"
27633
 
27634
 
27634
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
27635
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
27635
 if CONFIG["MOZ_DEBUG"] == "1":
27636
 if CONFIG["MOZ_DEBUG"] == "1":
27636
 
27637
 
27637
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
27638
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 27829-27839 index 6fb2e359fbd9..20ac430288cf 100644 Link Here
27829
 
27830
 
27830
 Library("rtp_interfaces_gn")
27831
 Library("rtp_interfaces_gn")
27831
diff --git third_party/libwebrtc/call/rtp_receiver_gn/moz.build third_party/libwebrtc/call/rtp_receiver_gn/moz.build
27832
diff --git third_party/libwebrtc/call/rtp_receiver_gn/moz.build third_party/libwebrtc/call/rtp_receiver_gn/moz.build
27832
index 2541c2cae1b1..824177307e7b 100644
27833
index c38e16384766..ce6c252179bd 100644
27833
--- third_party/libwebrtc/call/rtp_receiver_gn/moz.build
27834
--- third_party/libwebrtc/call/rtp_receiver_gn/moz.build
27834
+++ third_party/libwebrtc/call/rtp_receiver_gn/moz.build
27835
+++ third_party/libwebrtc/call/rtp_receiver_gn/moz.build
27835
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
27836
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
27836
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
27837
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
27837
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
27838
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
27838
 DEFINES["RTC_ENABLE_VP9"] = True
27839
 DEFINES["RTC_ENABLE_VP9"] = True
27839
+DEFINES["USE_GLIB"] = "1"
27840
+DEFINES["USE_GLIB"] = "1"
Lines 27853-27859 index 2541c2cae1b1..824177307e7b 100644 Link Here
27853
 
27854
 
27854
 FINAL_LIBRARY = "xul"
27855
 FINAL_LIBRARY = "xul"
27855
 
27856
 
27856
@@ -45,191 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
27857
@@ -46,191 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
27857
 if CONFIG["MOZ_DEBUG"] == "1":
27858
 if CONFIG["MOZ_DEBUG"] == "1":
27858
 
27859
 
27859
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
27860
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 28052-28062 index 2541c2cae1b1..824177307e7b 100644 Link Here
28052
 
28053
 
28053
 Library("rtp_receiver_gn")
28054
 Library("rtp_receiver_gn")
28054
diff --git third_party/libwebrtc/call/rtp_sender_gn/moz.build third_party/libwebrtc/call/rtp_sender_gn/moz.build
28055
diff --git third_party/libwebrtc/call/rtp_sender_gn/moz.build third_party/libwebrtc/call/rtp_sender_gn/moz.build
28055
index aa3c0bba6685..399904c3e24e 100644
28056
index 5290b5209c1d..5fe9f7707ed5 100644
28056
--- third_party/libwebrtc/call/rtp_sender_gn/moz.build
28057
--- third_party/libwebrtc/call/rtp_sender_gn/moz.build
28057
+++ third_party/libwebrtc/call/rtp_sender_gn/moz.build
28058
+++ third_party/libwebrtc/call/rtp_sender_gn/moz.build
28058
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
28059
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
28059
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
28060
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
28060
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
28061
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
28061
 DEFINES["RTC_ENABLE_VP9"] = True
28062
 DEFINES["RTC_ENABLE_VP9"] = True
28062
+DEFINES["USE_GLIB"] = "1"
28063
+DEFINES["USE_GLIB"] = "1"
Lines 28076-28082 index aa3c0bba6685..399904c3e24e 100644 Link Here
28076
 
28077
 
28077
 FINAL_LIBRARY = "xul"
28078
 FINAL_LIBRARY = "xul"
28078
 
28079
 
28079
@@ -45,191 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
28080
@@ -46,191 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
28080
 if CONFIG["MOZ_DEBUG"] == "1":
28081
 if CONFIG["MOZ_DEBUG"] == "1":
28081
 
28082
 
28082
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
28083
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 28275-28285 index aa3c0bba6685..399904c3e24e 100644 Link Here
28275
 
28276
 
28276
 Library("rtp_sender_gn")
28277
 Library("rtp_sender_gn")
28277
diff --git third_party/libwebrtc/call/version_gn/moz.build third_party/libwebrtc/call/version_gn/moz.build
28278
diff --git third_party/libwebrtc/call/version_gn/moz.build third_party/libwebrtc/call/version_gn/moz.build
28278
index e7398c80eac7..4eec2fd5233b 100644
28279
index 96da557651b8..d51b86338e8c 100644
28279
--- third_party/libwebrtc/call/version_gn/moz.build
28280
--- third_party/libwebrtc/call/version_gn/moz.build
28280
+++ third_party/libwebrtc/call/version_gn/moz.build
28281
+++ third_party/libwebrtc/call/version_gn/moz.build
28281
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
28282
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
28282
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
28283
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
28283
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
28284
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
28284
 DEFINES["RTC_ENABLE_VP9"] = True
28285
 DEFINES["RTC_ENABLE_VP9"] = True
28285
+DEFINES["USE_GLIB"] = "1"
28286
+DEFINES["USE_GLIB"] = "1"
Lines 28299-28305 index e7398c80eac7..4eec2fd5233b 100644 Link Here
28299
 
28300
 
28300
 FINAL_LIBRARY = "xul"
28301
 FINAL_LIBRARY = "xul"
28301
 
28302
 
28302
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
28303
@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
28303
 if CONFIG["MOZ_DEBUG"] == "1":
28304
 if CONFIG["MOZ_DEBUG"] == "1":
28304
 
28305
 
28305
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
28306
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 28482-28492 index e7398c80eac7..4eec2fd5233b 100644 Link Here
28482
 
28483
 
28483
 Library("version_gn")
28484
 Library("version_gn")
28484
diff --git third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build
28485
diff --git third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build
28485
index 51f7c9ac299d..f5eea9cb37bc 100644
28486
index a8f4e7feca35..22dc8ac49790 100644
28486
--- third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build
28487
--- third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build
28487
+++ third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build
28488
+++ third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build
28488
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
28489
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
28489
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
28490
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
28490
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
28491
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
28491
 DEFINES["RTC_ENABLE_VP9"] = True
28492
 DEFINES["RTC_ENABLE_VP9"] = True
28492
+DEFINES["USE_GLIB"] = "1"
28493
+DEFINES["USE_GLIB"] = "1"
Lines 28506-28512 index 51f7c9ac299d..f5eea9cb37bc 100644 Link Here
28506
 
28507
 
28507
 FINAL_LIBRARY = "xul"
28508
 FINAL_LIBRARY = "xul"
28508
 
28509
 
28509
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
28510
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
28510
 if CONFIG["MOZ_DEBUG"] == "1":
28511
 if CONFIG["MOZ_DEBUG"] == "1":
28511
 
28512
 
28512
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
28513
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 28704-28714 index 51f7c9ac299d..f5eea9cb37bc 100644 Link Here
28704
 
28705
 
28705
 Library("video_receive_stream_api_gn")
28706
 Library("video_receive_stream_api_gn")
28706
diff --git third_party/libwebrtc/call/video_send_stream_api_gn/moz.build third_party/libwebrtc/call/video_send_stream_api_gn/moz.build
28707
diff --git third_party/libwebrtc/call/video_send_stream_api_gn/moz.build third_party/libwebrtc/call/video_send_stream_api_gn/moz.build
28707
index 0742e20b1bd4..f509a3a7a968 100644
28708
index e61cdfdf0b7f..f7955154d619 100644
28708
--- third_party/libwebrtc/call/video_send_stream_api_gn/moz.build
28709
--- third_party/libwebrtc/call/video_send_stream_api_gn/moz.build
28709
+++ third_party/libwebrtc/call/video_send_stream_api_gn/moz.build
28710
+++ third_party/libwebrtc/call/video_send_stream_api_gn/moz.build
28710
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
28711
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
28711
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
28712
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
28712
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
28713
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
28713
 DEFINES["RTC_ENABLE_VP9"] = True
28714
 DEFINES["RTC_ENABLE_VP9"] = True
28714
+DEFINES["USE_GLIB"] = "1"
28715
+DEFINES["USE_GLIB"] = "1"
Lines 28728-28734 index 0742e20b1bd4..f509a3a7a968 100644 Link Here
28728
 
28729
 
28729
 FINAL_LIBRARY = "xul"
28730
 FINAL_LIBRARY = "xul"
28730
 
28731
 
28731
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
28732
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
28732
 if CONFIG["MOZ_DEBUG"] == "1":
28733
 if CONFIG["MOZ_DEBUG"] == "1":
28733
 
28734
 
28734
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
28735
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 28926-28936 index 0742e20b1bd4..f509a3a7a968 100644 Link Here
28926
 
28927
 
28927
 Library("video_send_stream_api_gn")
28928
 Library("video_send_stream_api_gn")
28928
diff --git third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build
28929
diff --git third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build
28929
index 4c10d5cbee0e..8ba51fa2944b 100644
28930
index 1d91ddd6d2db..d4119282e31e 100644
28930
--- third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build
28931
--- third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build
28931
+++ third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build
28932
+++ third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build
28932
@@ -17,12 +17,21 @@ CXXFLAGS += [
28933
@@ -18,12 +18,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
28933
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
28934
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
28934
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
28935
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
28935
 DEFINES["RTC_ENABLE_VP9"] = True
28936
 DEFINES["RTC_ENABLE_VP9"] = True
28936
+DEFINES["USE_GLIB"] = "1"
28937
+DEFINES["USE_GLIB"] = "1"
Lines 28951-28957 index 4c10d5cbee0e..8ba51fa2944b 100644 Link Here
28951
 
28952
 
28952
 FINAL_LIBRARY = "xul"
28953
 FINAL_LIBRARY = "xul"
28953
 
28954
 
28954
@@ -50,134 +59,16 @@ if not CONFIG["MOZ_DEBUG"]:
28955
@@ -51,134 +60,16 @@ if not CONFIG["MOZ_DEBUG"]:
28955
 if CONFIG["MOZ_DEBUG"] == "1":
28956
 if CONFIG["MOZ_DEBUG"] == "1":
28956
 
28957
 
28957
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
28958
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 29090-29100 index 4c10d5cbee0e..8ba51fa2944b 100644 Link Here
29090
 
29091
 
29091
 Library("common_audio_avx2_gn")
29092
 Library("common_audio_avx2_gn")
29092
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
29093
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
29093
index 0707d29fb62f..76bf1b4c5a97 100644
29094
index f7215df5b93f..ca8a3e39e485 100644
29094
--- third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build
29095
--- third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build
29095
+++ third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build
29096
+++ third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build
29096
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
29097
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
29097
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
29098
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
29098
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
29099
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
29099
 DEFINES["RTC_ENABLE_VP9"] = True
29100
 DEFINES["RTC_ENABLE_VP9"] = True
29100
+DEFINES["USE_GLIB"] = "1"
29101
+DEFINES["USE_GLIB"] = "1"
Lines 29114-29120 index 0707d29fb62f..76bf1b4c5a97 100644 Link Here
29114
 
29115
 
29115
 FINAL_LIBRARY = "xul"
29116
 FINAL_LIBRARY = "xul"
29116
 
29117
 
29117
@@ -39,113 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
29118
@@ -40,113 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
29118
 if CONFIG["MOZ_DEBUG"] == "1":
29119
 if CONFIG["MOZ_DEBUG"] == "1":
29119
 
29120
 
29120
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
29121
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 29229-29235 index 0707d29fb62f..76bf1b4c5a97 100644 Link Here
29229
 
29230
 
29230
 if CONFIG["TARGET_CPU"] == "x86":
29231
 if CONFIG["TARGET_CPU"] == "x86":
29231
 
29232
 
29232
@@ -155,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
29233
@@ -156,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
29233
 
29234
 
29234
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
29235
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
29235
 
29236
 
Lines 29282-29292 index 0707d29fb62f..76bf1b4c5a97 100644 Link Here
29282
-
29283
-
29283
 Library("common_audio_c_arm_asm_gn")
29284
 Library("common_audio_c_arm_asm_gn")
29284
diff --git third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build
29285
diff --git third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build
29285
index d3ade0886cb0..1c75c3e95d87 100644
29286
index 48b33b0a39e0..df61b43a1494 100644
29286
--- third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build
29287
--- third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build
29287
+++ third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build
29288
+++ third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build
29288
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
29289
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
29289
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
29290
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
29290
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
29291
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
29291
 DEFINES["RTC_ENABLE_VP9"] = True
29292
 DEFINES["RTC_ENABLE_VP9"] = True
29292
+DEFINES["USE_GLIB"] = "1"
29293
+DEFINES["USE_GLIB"] = "1"
Lines 29306-29312 index d3ade0886cb0..1c75c3e95d87 100644 Link Here
29306
 
29307
 
29307
 FINAL_LIBRARY = "xul"
29308
 FINAL_LIBRARY = "xul"
29308
 
29309
 
29309
@@ -80,114 +89,12 @@ if not CONFIG["MOZ_DEBUG"]:
29310
@@ -81,114 +90,12 @@ if not CONFIG["MOZ_DEBUG"]:
29310
 if CONFIG["MOZ_DEBUG"] == "1":
29311
 if CONFIG["MOZ_DEBUG"] == "1":
29311
 
29312
 
29312
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
29313
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 29425-29431 index d3ade0886cb0..1c75c3e95d87 100644 Link Here
29425
 
29426
 
29426
     UNIFIED_SOURCES += [
29427
     UNIFIED_SOURCES += [
29427
         "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
29428
         "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
29428
@@ -195,25 +102,8 @@ if CONFIG["OS_TARGET"] == "WINNT":
29429
@@ -196,25 +103,8 @@ if CONFIG["OS_TARGET"] == "WINNT":
29429
         "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
29430
         "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
29430
     ]
29431
     ]
29431
 
29432
 
Lines 29451-29457 index d3ade0886cb0..1c75c3e95d87 100644 Link Here
29451
     UNIFIED_SOURCES += [
29452
     UNIFIED_SOURCES += [
29452
         "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
29453
         "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
29453
         "/third_party/libwebrtc/common_audio/signal_processing/complex_fft.c",
29454
         "/third_party/libwebrtc/common_audio/signal_processing/complex_fft.c",
29454
@@ -224,7 +114,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
29455
@@ -225,7 +115,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
29455
 
29456
 
29456
     DEFINES["MIPS32_LE"] = True
29457
     DEFINES["MIPS32_LE"] = True
29457
     DEFINES["MIPS_FPU_LE"] = True
29458
     DEFINES["MIPS_FPU_LE"] = True
Lines 29459-29465 index d3ade0886cb0..1c75c3e95d87 100644 Link Here
29459
 
29460
 
29460
     SOURCES += [
29461
     SOURCES += [
29461
         "/third_party/libwebrtc/common_audio/signal_processing/resample_by_2_mips.c"
29462
         "/third_party/libwebrtc/common_audio/signal_processing/resample_by_2_mips.c"
29462
@@ -241,8 +130,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
29463
@@ -242,8 +131,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
29463
 
29464
 
29464
 if CONFIG["TARGET_CPU"] == "mips64":
29465
 if CONFIG["TARGET_CPU"] == "mips64":
29465
 
29466
 
Lines 29468-29474 index d3ade0886cb0..1c75c3e95d87 100644 Link Here
29468
     UNIFIED_SOURCES += [
29469
     UNIFIED_SOURCES += [
29469
         "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
29470
         "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
29470
         "/third_party/libwebrtc/common_audio/signal_processing/complex_fft.c",
29471
         "/third_party/libwebrtc/common_audio/signal_processing/complex_fft.c",
29471
@@ -257,88 +144,21 @@ if CONFIG["TARGET_CPU"] == "ppc64":
29472
@@ -258,88 +145,21 @@ if CONFIG["TARGET_CPU"] == "ppc64":
29472
         "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
29473
         "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
29473
     ]
29474
     ]
29474
 
29475
 
Lines 29561-29567 index d3ade0886cb0..1c75c3e95d87 100644 Link Here
29561
 
29562
 
29562
     UNIFIED_SOURCES += [
29563
     UNIFIED_SOURCES += [
29563
         "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
29564
         "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
29564
@@ -346,13 +166,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "riscv64":
29565
@@ -347,13 +167,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "riscv64":
29565
         "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
29566
         "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
29566
     ]
29567
     ]
29567
 
29568
 
Lines 29577-29583 index d3ade0886cb0..1c75c3e95d87 100644 Link Here
29577
 
29578
 
29578
     UNIFIED_SOURCES += [
29579
     UNIFIED_SOURCES += [
29579
         "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
29580
         "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
29580
@@ -360,14 +176,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
29581
@@ -361,14 +177,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
29581
         "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
29582
         "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
29582
     ]
29583
     ]
29583
 
29584
 
Lines 29595-29605 index d3ade0886cb0..1c75c3e95d87 100644 Link Here
29595
 
29596
 
29596
 Library("common_audio_c_gn")
29597
 Library("common_audio_c_gn")
29597
diff --git third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build
29598
diff --git third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build
29598
index c023b7c150b1..b4d70cc2f54e 100644
29599
index 53b9acf53b42..f32a57a8e243 100644
29599
--- third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build
29600
--- third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build
29600
+++ third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build
29601
+++ third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build
29601
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
29602
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
29602
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
29603
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
29603
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
29604
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
29604
 DEFINES["RTC_ENABLE_VP9"] = True
29605
 DEFINES["RTC_ENABLE_VP9"] = True
29605
+DEFINES["USE_GLIB"] = "1"
29606
+DEFINES["USE_GLIB"] = "1"
Lines 29619-29625 index c023b7c150b1..b4d70cc2f54e 100644 Link Here
29619
 
29620
 
29620
 FINAL_LIBRARY = "xul"
29621
 FINAL_LIBRARY = "xul"
29621
 
29622
 
29622
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
29623
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
29623
 if CONFIG["MOZ_DEBUG"] == "1":
29624
 if CONFIG["MOZ_DEBUG"] == "1":
29624
 
29625
 
29625
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
29626
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 29817-29827 index c023b7c150b1..b4d70cc2f54e 100644 Link Here
29817
 
29818
 
29818
 Library("common_audio_cc_gn")
29819
 Library("common_audio_cc_gn")
29819
diff --git third_party/libwebrtc/common_audio/common_audio_gn/moz.build third_party/libwebrtc/common_audio/common_audio_gn/moz.build
29820
diff --git third_party/libwebrtc/common_audio/common_audio_gn/moz.build third_party/libwebrtc/common_audio/common_audio_gn/moz.build
29820
index 8a6ffa09aba0..3b2da1e0df87 100644
29821
index 8c05ef9ae01e..596e68a80c5e 100644
29821
--- third_party/libwebrtc/common_audio/common_audio_gn/moz.build
29822
--- third_party/libwebrtc/common_audio/common_audio_gn/moz.build
29822
+++ third_party/libwebrtc/common_audio/common_audio_gn/moz.build
29823
+++ third_party/libwebrtc/common_audio/common_audio_gn/moz.build
29823
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
29824
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
29824
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
29825
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
29825
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
29826
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
29826
 DEFINES["RTC_ENABLE_VP9"] = True
29827
 DEFINES["RTC_ENABLE_VP9"] = True
29827
+DEFINES["USE_GLIB"] = "1"
29828
+DEFINES["USE_GLIB"] = "1"
Lines 29841-29847 index 8a6ffa09aba0..3b2da1e0df87 100644 Link Here
29841
 
29842
 
29842
 FINAL_LIBRARY = "xul"
29843
 FINAL_LIBRARY = "xul"
29843
 
29844
 
29844
@@ -56,190 +65,32 @@ if not CONFIG["MOZ_DEBUG"]:
29845
@@ -57,190 +66,32 @@ if not CONFIG["MOZ_DEBUG"]:
29845
 if CONFIG["MOZ_DEBUG"] == "1":
29846
 if CONFIG["MOZ_DEBUG"] == "1":
29846
 
29847
 
29847
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
29848
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 30039-30049 index 8a6ffa09aba0..3b2da1e0df87 100644 Link Here
30039
 
30040
 
30040
 Library("common_audio_gn")
30041
 Library("common_audio_gn")
30041
diff --git third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build
30042
diff --git third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build
30042
index 483307d5a1b8..cd818499ef51 100644
30043
index 057bf1e05f30..74c0edfc8065 100644
30043
--- third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build
30044
--- third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build
30044
+++ third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build
30045
+++ third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build
30045
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
30046
@@ -13,12 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
30046
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
30047
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
30047
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
30048
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
30048
 DEFINES["RTC_ENABLE_VP9"] = True
30049
 DEFINES["RTC_ENABLE_VP9"] = True
30049
+DEFINES["USE_GLIB"] = "1"
30050
+DEFINES["USE_GLIB"] = "1"
Lines 30065-30071 index 483307d5a1b8..cd818499ef51 100644 Link Here
30065
 
30066
 
30066
 FINAL_LIBRARY = "xul"
30067
 FINAL_LIBRARY = "xul"
30067
 
30068
 
30068
@@ -46,148 +56,10 @@ if not CONFIG["MOZ_DEBUG"]:
30069
@@ -47,148 +57,10 @@ if not CONFIG["MOZ_DEBUG"]:
30069
 if CONFIG["MOZ_DEBUG"] == "1":
30070
 if CONFIG["MOZ_DEBUG"] == "1":
30070
 
30071
 
30071
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
30072
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 30216-30226 index 483307d5a1b8..cd818499ef51 100644 Link Here
30216
-
30217
-
30217
 Library("common_audio_neon_c_gn")
30218
 Library("common_audio_neon_c_gn")
30218
diff --git third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build
30219
diff --git third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build
30219
index ef49252d158c..3986bf338e26 100644
30220
index 4ba3abd64cc9..4a9a332ee3a7 100644
30220
--- third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build
30221
--- third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build
30221
+++ third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build
30222
+++ third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build
30222
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
30223
@@ -13,12 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
30223
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
30224
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
30224
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
30225
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
30225
 DEFINES["RTC_ENABLE_VP9"] = True
30226
 DEFINES["RTC_ENABLE_VP9"] = True
30226
+DEFINES["USE_GLIB"] = "1"
30227
+DEFINES["USE_GLIB"] = "1"
Lines 30242-30248 index ef49252d158c..3986bf338e26 100644 Link Here
30242
 
30243
 
30243
 FINAL_LIBRARY = "xul"
30244
 FINAL_LIBRARY = "xul"
30244
 
30245
 
30245
@@ -45,148 +55,10 @@ if not CONFIG["MOZ_DEBUG"]:
30246
@@ -46,148 +56,10 @@ if not CONFIG["MOZ_DEBUG"]:
30246
 if CONFIG["MOZ_DEBUG"] == "1":
30247
 if CONFIG["MOZ_DEBUG"] == "1":
30247
 
30248
 
30248
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
30249
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 30393-30403 index ef49252d158c..3986bf338e26 100644 Link Here
30393
-
30394
-
30394
 Library("common_audio_neon_gn")
30395
 Library("common_audio_neon_gn")
30395
diff --git third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build
30396
diff --git third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build
30396
index 51912d444a2a..3cbf748ca212 100644
30397
index 9b0cc3b2530f..a4234c50a2c4 100644
30397
--- third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build
30398
--- third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build
30398
+++ third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build
30399
+++ third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build
30399
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
30400
@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
30400
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
30401
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
30401
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
30402
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
30402
 DEFINES["RTC_ENABLE_VP9"] = True
30403
 DEFINES["RTC_ENABLE_VP9"] = True
30403
+DEFINES["USE_GLIB"] = "1"
30404
+DEFINES["USE_GLIB"] = "1"
Lines 30418-30424 index 51912d444a2a..3cbf748ca212 100644 Link Here
30418
 
30419
 
30419
 FINAL_LIBRARY = "xul"
30420
 FINAL_LIBRARY = "xul"
30420
 
30421
 
30421
@@ -45,156 +54,23 @@ if not CONFIG["MOZ_DEBUG"]:
30422
@@ -46,156 +55,23 @@ if not CONFIG["MOZ_DEBUG"]:
30422
 if CONFIG["MOZ_DEBUG"] == "1":
30423
 if CONFIG["MOZ_DEBUG"] == "1":
30423
 
30424
 
30424
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
30425
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 30580-30590 index 51912d444a2a..3cbf748ca212 100644 Link Here
30580
 
30581
 
30581
 Library("common_audio_sse2_gn")
30582
 Library("common_audio_sse2_gn")
30582
diff --git third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build
30583
diff --git third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build
30583
index 2e171bb7a6e1..2e23cff0927c 100644
30584
index 3f6e7760f9ea..d92a68b35e06 100644
30584
--- third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build
30585
--- third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build
30585
+++ third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build
30586
+++ third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build
30586
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
30587
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
30587
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
30588
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
30588
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
30589
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
30589
 DEFINES["RTC_ENABLE_VP9"] = True
30590
 DEFINES["RTC_ENABLE_VP9"] = True
30590
+DEFINES["USE_GLIB"] = "1"
30591
+DEFINES["USE_GLIB"] = "1"
Lines 30604-30610 index 2e171bb7a6e1..2e23cff0927c 100644 Link Here
30604
 
30605
 
30605
 FINAL_LIBRARY = "xul"
30606
 FINAL_LIBRARY = "xul"
30606
 
30607
 
30607
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
30608
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
30608
 if CONFIG["MOZ_DEBUG"] == "1":
30609
 if CONFIG["MOZ_DEBUG"] == "1":
30609
 
30610
 
30610
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
30611
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 30802-30812 index 2e171bb7a6e1..2e23cff0927c 100644 Link Here
30802
 
30803
 
30803
 Library("fir_filter_factory_gn")
30804
 Library("fir_filter_factory_gn")
30804
diff --git third_party/libwebrtc/common_audio/fir_filter_gn/moz.build third_party/libwebrtc/common_audio/fir_filter_gn/moz.build
30805
diff --git third_party/libwebrtc/common_audio/fir_filter_gn/moz.build third_party/libwebrtc/common_audio/fir_filter_gn/moz.build
30805
index 5ecdb1c5a628..1c7ccb98989b 100644
30806
index faa0a79081cd..ae16a06d7d3a 100644
30806
--- third_party/libwebrtc/common_audio/fir_filter_gn/moz.build
30807
--- third_party/libwebrtc/common_audio/fir_filter_gn/moz.build
30807
+++ third_party/libwebrtc/common_audio/fir_filter_gn/moz.build
30808
+++ third_party/libwebrtc/common_audio/fir_filter_gn/moz.build
30808
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
30809
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
30809
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
30810
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
30810
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
30811
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
30811
 DEFINES["RTC_ENABLE_VP9"] = True
30812
 DEFINES["RTC_ENABLE_VP9"] = True
30812
+DEFINES["USE_GLIB"] = "1"
30813
+DEFINES["USE_GLIB"] = "1"
Lines 30826-30832 index 5ecdb1c5a628..1c7ccb98989b 100644 Link Here
30826
 
30827
 
30827
 FINAL_LIBRARY = "xul"
30828
 FINAL_LIBRARY = "xul"
30828
 
30829
 
30829
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
30830
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
30830
 if CONFIG["MOZ_DEBUG"] == "1":
30831
 if CONFIG["MOZ_DEBUG"] == "1":
30831
 
30832
 
30832
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
30833
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 30936-30942 index 5ecdb1c5a628..1c7ccb98989b 100644 Link Here
30936
 
30937
 
30937
 if CONFIG["TARGET_CPU"] == "x86":
30938
 if CONFIG["TARGET_CPU"] == "x86":
30938
 
30939
 
30939
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
30940
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
30940
 
30941
 
30941
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
30942
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
30942
 
30943
 
Lines 30989-30999 index 5ecdb1c5a628..1c7ccb98989b 100644 Link Here
30989
-
30990
-
30990
 Library("fir_filter_gn")
30991
 Library("fir_filter_gn")
30991
diff --git third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build
30992
diff --git third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build
30992
index 7119bb2e4faf..2ddc2629d15a 100644
30993
index d9cf6ef8d1e3..cff33184ac39 100644
30993
--- third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build
30994
--- third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build
30994
+++ third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build
30995
+++ third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build
30995
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
30996
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
30996
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
30997
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
30997
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
30998
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
30998
 DEFINES["RTC_ENABLE_VP9"] = True
30999
 DEFINES["RTC_ENABLE_VP9"] = True
30999
+DEFINES["USE_GLIB"] = "1"
31000
+DEFINES["USE_GLIB"] = "1"
Lines 31013-31019 index 7119bb2e4faf..2ddc2629d15a 100644 Link Here
31013
 
31014
 
31014
 FINAL_LIBRARY = "xul"
31015
 FINAL_LIBRARY = "xul"
31015
 
31016
 
31016
@@ -39,123 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
31017
@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
31017
 if CONFIG["MOZ_DEBUG"] == "1":
31018
 if CONFIG["MOZ_DEBUG"] == "1":
31018
 
31019
 
31019
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
31020
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 31138-31144 index 7119bb2e4faf..2ddc2629d15a 100644 Link Here
31138
 
31139
 
31139
 if CONFIG["TARGET_CPU"] == "x86":
31140
 if CONFIG["TARGET_CPU"] == "x86":
31140
 
31141
 
31141
@@ -165,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
31142
@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
31142
 
31143
 
31143
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
31144
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
31144
 
31145
 
Lines 31191-31201 index 7119bb2e4faf..2ddc2629d15a 100644 Link Here
31191
-
31192
-
31192
 Library("sinc_resampler_gn")
31193
 Library("sinc_resampler_gn")
31193
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
31194
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
31194
index 61b2490a0073..94878277903b 100644
31195
index 5d0978fcf8ce..ba66d5de064e 100644
31195
--- third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build
31196
--- third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build
31196
+++ third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build
31197
+++ third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build
31197
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
31198
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
31198
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
31199
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
31199
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
31200
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
31200
 DEFINES["RTC_ENABLE_VP9"] = True
31201
 DEFINES["RTC_ENABLE_VP9"] = True
31201
+DEFINES["USE_GLIB"] = "1"
31202
+DEFINES["USE_GLIB"] = "1"
Lines 31215-31221 index 61b2490a0073..94878277903b 100644 Link Here
31215
 
31216
 
31216
 FINAL_LIBRARY = "xul"
31217
 FINAL_LIBRARY = "xul"
31217
 
31218
 
31218
@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
31219
@@ -44,98 +53,7 @@ if not CONFIG["MOZ_DEBUG"]:
31219
 if CONFIG["MOZ_DEBUG"] == "1":
31220
 if CONFIG["MOZ_DEBUG"] == "1":
31220
 
31221
 
31221
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
31222
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 31315-31321 index 61b2490a0073..94878277903b 100644 Link Here
31315
 
31316
 
31316
 if CONFIG["TARGET_CPU"] == "aarch64":
31317
 if CONFIG["TARGET_CPU"] == "aarch64":
31317
 
31318
 
31318
@@ -145,132 +63,42 @@ if CONFIG["TARGET_CPU"] == "aarch64":
31319
@@ -146,132 +64,42 @@ if CONFIG["TARGET_CPU"] == "aarch64":
31319
         "/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128/ooura_fft_neon.cc"
31320
         "/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128/ooura_fft_neon.cc"
31320
     ]
31321
     ]
31321
 
31322
 
Lines 31458-31468 index 61b2490a0073..94878277903b 100644 Link Here
31458
 
31459
 
31459
 Library("fft_size_128_gn")
31460
 Library("fft_size_128_gn")
31460
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
31461
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
31461
index 78925ad820e1..93632857ca94 100644
31462
index abbf58c8e6e1..c8156058abd1 100644
31462
--- third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build
31463
--- third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build
31463
+++ third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build
31464
+++ third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build
31464
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
31465
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
31465
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
31466
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
31466
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
31467
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
31467
 DEFINES["RTC_ENABLE_VP9"] = True
31468
 DEFINES["RTC_ENABLE_VP9"] = True
31468
+DEFINES["USE_GLIB"] = "1"
31469
+DEFINES["USE_GLIB"] = "1"
Lines 31482-31488 index 78925ad820e1..93632857ca94 100644 Link Here
31482
 
31483
 
31483
 FINAL_LIBRARY = "xul"
31484
 FINAL_LIBRARY = "xul"
31484
 
31485
 
31485
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
31486
@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
31486
 if CONFIG["MOZ_DEBUG"] == "1":
31487
 if CONFIG["MOZ_DEBUG"] == "1":
31487
 
31488
 
31488
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
31489
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 31665-31675 index 78925ad820e1..93632857ca94 100644 Link Here
31665
 
31666
 
31666
 Library("fft_size_256_gn")
31667
 Library("fft_size_256_gn")
31667
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
31668
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
31668
index a6269cbd5a3f..7c59eb325f1f 100644
31669
index e0887017963d..84d5c6e4a8cb 100644
31669
--- third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build
31670
--- third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build
31670
+++ third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build
31671
+++ third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build
31671
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
31672
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
31672
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
31673
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
31673
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
31674
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
31674
 DEFINES["RTC_ENABLE_VP9"] = True
31675
 DEFINES["RTC_ENABLE_VP9"] = True
31675
+DEFINES["USE_GLIB"] = "1"
31676
+DEFINES["USE_GLIB"] = "1"
Lines 31689-31695 index a6269cbd5a3f..7c59eb325f1f 100644 Link Here
31689
 
31690
 
31690
 FINAL_LIBRARY = "xul"
31691
 FINAL_LIBRARY = "xul"
31691
 
31692
 
31692
@@ -39,115 +48,19 @@ if not CONFIG["MOZ_DEBUG"]:
31693
@@ -40,115 +49,19 @@ if not CONFIG["MOZ_DEBUG"]:
31693
 if CONFIG["MOZ_DEBUG"] == "1":
31694
 if CONFIG["MOZ_DEBUG"] == "1":
31694
 
31695
 
31695
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
31696
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 31808-31814 index a6269cbd5a3f..7c59eb325f1f 100644 Link Here
31808
     UNIFIED_SOURCES += [
31809
     UNIFIED_SOURCES += [
31809
         "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c"
31810
         "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c"
31810
     ]
31811
     ]
31811
@@ -156,7 +69,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
31812
@@ -157,7 +70,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
31812
 
31813
 
31813
     DEFINES["MIPS32_LE"] = True
31814
     DEFINES["MIPS32_LE"] = True
31814
     DEFINES["MIPS_FPU_LE"] = True
31815
     DEFINES["MIPS_FPU_LE"] = True
Lines 31816-31822 index a6269cbd5a3f..7c59eb325f1f 100644 Link Here
31816
 
31817
 
31817
     UNIFIED_SOURCES += [
31818
     UNIFIED_SOURCES += [
31818
         "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_mips.c"
31819
         "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_mips.c"
31819
@@ -164,8 +76,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
31820
@@ -165,8 +77,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
31820
 
31821
 
31821
 if CONFIG["TARGET_CPU"] == "mips64":
31822
 if CONFIG["TARGET_CPU"] == "mips64":
31822
 
31823
 
Lines 31825-31831 index a6269cbd5a3f..7c59eb325f1f 100644 Link Here
31825
     UNIFIED_SOURCES += [
31826
     UNIFIED_SOURCES += [
31826
         "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c"
31827
         "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c"
31827
     ]
31828
     ]
31828
@@ -176,102 +86,34 @@ if CONFIG["TARGET_CPU"] == "ppc64":
31829
@@ -177,102 +87,34 @@ if CONFIG["TARGET_CPU"] == "ppc64":
31829
         "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c"
31830
         "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c"
31830
     ]
31831
     ]
31831
 
31832
 
Lines 31936-31946 index a6269cbd5a3f..7c59eb325f1f 100644 Link Here
31936
 
31937
 
31937
 Library("spl_sqrt_floor_gn")
31938
 Library("spl_sqrt_floor_gn")
31938
diff --git third_party/libwebrtc/common_video/common_video_gn/moz.build third_party/libwebrtc/common_video/common_video_gn/moz.build
31939
diff --git third_party/libwebrtc/common_video/common_video_gn/moz.build third_party/libwebrtc/common_video/common_video_gn/moz.build
31939
index cb40e064282d..611b579b4f25 100644
31940
index 85b1d6e3876a..b94189d3545a 100644
31940
--- third_party/libwebrtc/common_video/common_video_gn/moz.build
31941
--- third_party/libwebrtc/common_video/common_video_gn/moz.build
31941
+++ third_party/libwebrtc/common_video/common_video_gn/moz.build
31942
+++ third_party/libwebrtc/common_video/common_video_gn/moz.build
31942
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
31943
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
31943
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
31944
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
31944
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
31945
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
31945
 DEFINES["RTC_ENABLE_VP9"] = True
31946
 DEFINES["RTC_ENABLE_VP9"] = True
31946
+DEFINES["USE_GLIB"] = "1"
31947
+DEFINES["USE_GLIB"] = "1"
Lines 31960-31966 index cb40e064282d..611b579b4f25 100644 Link Here
31960
 
31961
 
31961
 FINAL_LIBRARY = "xul"
31962
 FINAL_LIBRARY = "xul"
31962
 
31963
 
31963
@@ -55,186 +64,32 @@ if not CONFIG["MOZ_DEBUG"]:
31964
@@ -56,186 +65,32 @@ if not CONFIG["MOZ_DEBUG"]:
31964
 if CONFIG["MOZ_DEBUG"] == "1":
31965
 if CONFIG["MOZ_DEBUG"] == "1":
31965
 
31966
 
31966
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
31967
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 32154-32164 index cb40e064282d..611b579b4f25 100644 Link Here
32154
 
32155
 
32155
 Library("common_video_gn")
32156
 Library("common_video_gn")
32156
diff --git third_party/libwebrtc/common_video/corruption_detection_converters_gn/moz.build third_party/libwebrtc/common_video/corruption_detection_converters_gn/moz.build
32157
diff --git third_party/libwebrtc/common_video/corruption_detection_converters_gn/moz.build third_party/libwebrtc/common_video/corruption_detection_converters_gn/moz.build
32157
index 9cb9225a87fc..0db4ddb79920 100644
32158
index 9944edddcfc7..dab4c0cf2af3 100644
32158
--- third_party/libwebrtc/common_video/corruption_detection_converters_gn/moz.build
32159
--- third_party/libwebrtc/common_video/corruption_detection_converters_gn/moz.build
32159
+++ third_party/libwebrtc/common_video/corruption_detection_converters_gn/moz.build
32160
+++ third_party/libwebrtc/common_video/corruption_detection_converters_gn/moz.build
32160
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
32161
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
32161
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
32162
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
32162
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
32163
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
32163
 DEFINES["RTC_ENABLE_VP9"] = True
32164
 DEFINES["RTC_ENABLE_VP9"] = True
32164
+DEFINES["USE_GLIB"] = "1"
32165
+DEFINES["USE_GLIB"] = "1"
Lines 32178-32184 index 9cb9225a87fc..0db4ddb79920 100644 Link Here
32178
 
32179
 
32179
 FINAL_LIBRARY = "xul"
32180
 FINAL_LIBRARY = "xul"
32180
 
32181
 
32181
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
32182
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
32182
 if CONFIG["MOZ_DEBUG"] == "1":
32183
 if CONFIG["MOZ_DEBUG"] == "1":
32183
 
32184
 
32184
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
32185
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 32365-32375 index 9cb9225a87fc..0db4ddb79920 100644 Link Here
32365
 
32366
 
32366
 Library("corruption_detection_converters_gn")
32367
 Library("corruption_detection_converters_gn")
32367
diff --git third_party/libwebrtc/common_video/corruption_score_calculator_gn/moz.build third_party/libwebrtc/common_video/corruption_score_calculator_gn/moz.build
32368
diff --git third_party/libwebrtc/common_video/corruption_score_calculator_gn/moz.build third_party/libwebrtc/common_video/corruption_score_calculator_gn/moz.build
32368
index fc3bafbb64b4..7581bd78b6c5 100644
32369
index fca1c9f668b8..96e6cd2de3f4 100644
32369
--- third_party/libwebrtc/common_video/corruption_score_calculator_gn/moz.build
32370
--- third_party/libwebrtc/common_video/corruption_score_calculator_gn/moz.build
32370
+++ third_party/libwebrtc/common_video/corruption_score_calculator_gn/moz.build
32371
+++ third_party/libwebrtc/common_video/corruption_score_calculator_gn/moz.build
32371
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
32372
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
32372
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
32373
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
32373
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
32374
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
32374
 DEFINES["RTC_ENABLE_VP9"] = True
32375
 DEFINES["RTC_ENABLE_VP9"] = True
32375
+DEFINES["USE_GLIB"] = "1"
32376
+DEFINES["USE_GLIB"] = "1"
Lines 32389-32395 index fc3bafbb64b4..7581bd78b6c5 100644 Link Here
32389
 
32390
 
32390
 FINAL_LIBRARY = "xul"
32391
 FINAL_LIBRARY = "xul"
32391
 
32392
 
32392
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
32393
@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
32393
 if CONFIG["MOZ_DEBUG"] == "1":
32394
 if CONFIG["MOZ_DEBUG"] == "1":
32394
 
32395
 
32395
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
32396
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 32510-32516 index fc3bafbb64b4..7581bd78b6c5 100644 Link Here
32510
 
32511
 
32511
 if CONFIG["TARGET_CPU"] == "x86":
32512
 if CONFIG["TARGET_CPU"] == "x86":
32512
 
32513
 
32513
@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
32514
@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
32514
 
32515
 
32515
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
32516
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
32516
 
32517
 
Lines 32563-32573 index fc3bafbb64b4..7581bd78b6c5 100644 Link Here
32563
-
32564
-
32564
 Library("corruption_score_calculator_gn")
32565
 Library("corruption_score_calculator_gn")
32565
diff --git third_party/libwebrtc/common_video/frame_counts_gn/moz.build third_party/libwebrtc/common_video/frame_counts_gn/moz.build
32566
diff --git third_party/libwebrtc/common_video/frame_counts_gn/moz.build third_party/libwebrtc/common_video/frame_counts_gn/moz.build
32566
index 8fc0726fff58..9a2f65ea66c5 100644
32567
index 79118636ef57..a240d297e534 100644
32567
--- third_party/libwebrtc/common_video/frame_counts_gn/moz.build
32568
--- third_party/libwebrtc/common_video/frame_counts_gn/moz.build
32568
+++ third_party/libwebrtc/common_video/frame_counts_gn/moz.build
32569
+++ third_party/libwebrtc/common_video/frame_counts_gn/moz.build
32569
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
32570
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
32570
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
32571
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
32571
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
32572
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
32572
 DEFINES["RTC_ENABLE_VP9"] = True
32573
 DEFINES["RTC_ENABLE_VP9"] = True
32573
+DEFINES["USE_GLIB"] = "1"
32574
+DEFINES["USE_GLIB"] = "1"
Lines 32587-32593 index 8fc0726fff58..9a2f65ea66c5 100644 Link Here
32587
 
32588
 
32588
 FINAL_LIBRARY = "xul"
32589
 FINAL_LIBRARY = "xul"
32589
 
32590
 
32590
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
32591
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
32591
 if CONFIG["MOZ_DEBUG"] == "1":
32592
 if CONFIG["MOZ_DEBUG"] == "1":
32592
 
32593
 
32593
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
32594
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 32697-32703 index 8fc0726fff58..9a2f65ea66c5 100644 Link Here
32697
 
32698
 
32698
 if CONFIG["TARGET_CPU"] == "x86":
32699
 if CONFIG["TARGET_CPU"] == "x86":
32699
 
32700
 
32700
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
32701
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
32701
 
32702
 
32702
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
32703
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
32703
 
32704
 
Lines 32750-32760 index 8fc0726fff58..9a2f65ea66c5 100644 Link Here
32750
-
32751
-
32751
 Library("frame_counts_gn")
32752
 Library("frame_counts_gn")
32752
diff --git third_party/libwebrtc/common_video/frame_instrumentation_data_gn/moz.build third_party/libwebrtc/common_video/frame_instrumentation_data_gn/moz.build
32753
diff --git third_party/libwebrtc/common_video/frame_instrumentation_data_gn/moz.build third_party/libwebrtc/common_video/frame_instrumentation_data_gn/moz.build
32753
index 6f415251ad95..2e666f70cf8c 100644
32754
index ad826406041d..9a33fa9b8af1 100644
32754
--- third_party/libwebrtc/common_video/frame_instrumentation_data_gn/moz.build
32755
--- third_party/libwebrtc/common_video/frame_instrumentation_data_gn/moz.build
32755
+++ third_party/libwebrtc/common_video/frame_instrumentation_data_gn/moz.build
32756
+++ third_party/libwebrtc/common_video/frame_instrumentation_data_gn/moz.build
32756
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
32757
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
32757
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
32758
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
32758
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
32759
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
32759
 DEFINES["RTC_ENABLE_VP9"] = True
32760
 DEFINES["RTC_ENABLE_VP9"] = True
32760
+DEFINES["USE_GLIB"] = "1"
32761
+DEFINES["USE_GLIB"] = "1"
Lines 32774-32780 index 6f415251ad95..2e666f70cf8c 100644 Link Here
32774
 
32775
 
32775
 FINAL_LIBRARY = "xul"
32776
 FINAL_LIBRARY = "xul"
32776
 
32777
 
32777
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
32778
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
32778
 if CONFIG["MOZ_DEBUG"] == "1":
32779
 if CONFIG["MOZ_DEBUG"] == "1":
32779
 
32780
 
32780
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
32781
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 32884-32890 index 6f415251ad95..2e666f70cf8c 100644 Link Here
32884
 
32885
 
32885
 if CONFIG["TARGET_CPU"] == "x86":
32886
 if CONFIG["TARGET_CPU"] == "x86":
32886
 
32887
 
32887
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
32888
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
32888
 
32889
 
32889
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
32890
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
32890
 
32891
 
Lines 32937-32947 index 6f415251ad95..2e666f70cf8c 100644 Link Here
32937
-
32938
-
32938
 Library("frame_instrumentation_data_gn")
32939
 Library("frame_instrumentation_data_gn")
32939
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
32940
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
32940
index d36cf57dacd5..7652e895de75 100644
32941
index 41c302c40bdf..faf1b8af307c 100644
32941
--- third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build
32942
--- third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build
32942
+++ third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build
32943
+++ third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build
32943
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
32944
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
32944
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
32945
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
32945
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
32946
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
32946
 DEFINES["RTC_ENABLE_VP9"] = True
32947
 DEFINES["RTC_ENABLE_VP9"] = True
32947
+DEFINES["USE_GLIB"] = "1"
32948
+DEFINES["USE_GLIB"] = "1"
Lines 32961-32967 index d36cf57dacd5..7652e895de75 100644 Link Here
32961
 
32962
 
32962
 FINAL_LIBRARY = "xul"
32963
 FINAL_LIBRARY = "xul"
32963
 
32964
 
32964
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
32965
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
32965
 if CONFIG["MOZ_DEBUG"] == "1":
32966
 if CONFIG["MOZ_DEBUG"] == "1":
32966
 
32967
 
32967
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
32968
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 33148-33158 index d36cf57dacd5..7652e895de75 100644 Link Here
33148
 
33149
 
33149
 Library("generic_frame_descriptor_gn")
33150
 Library("generic_frame_descriptor_gn")
33150
diff --git third_party/libwebrtc/dcsctp_gn/moz.build third_party/libwebrtc/dcsctp_gn/moz.build
33151
diff --git third_party/libwebrtc/dcsctp_gn/moz.build third_party/libwebrtc/dcsctp_gn/moz.build
33151
index 2f940fd7bec3..b555230e9bce 100644
33152
index d257f1ad2fa8..b3b3098adf87 100644
33152
--- third_party/libwebrtc/dcsctp_gn/moz.build
33153
--- third_party/libwebrtc/dcsctp_gn/moz.build
33153
+++ third_party/libwebrtc/dcsctp_gn/moz.build
33154
+++ third_party/libwebrtc/dcsctp_gn/moz.build
33154
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
33155
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
33155
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
33156
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
33156
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
33157
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
33157
 DEFINES["RTC_ENABLE_VP9"] = True
33158
 DEFINES["RTC_ENABLE_VP9"] = True
33158
+DEFINES["USE_GLIB"] = "1"
33159
+DEFINES["USE_GLIB"] = "1"
Lines 33172-33178 index 2f940fd7bec3..b555230e9bce 100644 Link Here
33172
 
33173
 
33173
 FINAL_LIBRARY = "xul"
33174
 FINAL_LIBRARY = "xul"
33174
 
33175
 
33175
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
33176
@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
33176
 if CONFIG["MOZ_DEBUG"] == "1":
33177
 if CONFIG["MOZ_DEBUG"] == "1":
33177
 
33178
 
33178
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
33179
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 33293-33299 index 2f940fd7bec3..b555230e9bce 100644 Link Here
33293
 
33294
 
33294
 if CONFIG["TARGET_CPU"] == "x86":
33295
 if CONFIG["TARGET_CPU"] == "x86":
33295
 
33296
 
33296
@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
33297
@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
33297
 
33298
 
33298
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
33299
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
33299
 
33300
 
Lines 33346-33356 index 2f940fd7bec3..b555230e9bce 100644 Link Here
33346
-
33347
-
33347
 Library("dcsctp_gn")
33348
 Library("dcsctp_gn")
33348
diff --git third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build
33349
diff --git third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build
33349
index 216472255063..679a78a96f89 100644
33350
index d145d0ea9376..c46ee2a6426e 100644
33350
--- third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build
33351
--- third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build
33351
+++ third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build
33352
+++ third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build
33352
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
33353
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
33353
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
33354
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
33354
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
33355
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
33355
 DEFINES["RTC_ENABLE_VP9"] = True
33356
 DEFINES["RTC_ENABLE_VP9"] = True
33356
+DEFINES["USE_GLIB"] = "1"
33357
+DEFINES["USE_GLIB"] = "1"
Lines 33370-33376 index 216472255063..679a78a96f89 100644 Link Here
33370
 
33371
 
33371
 FINAL_LIBRARY = "xul"
33372
 FINAL_LIBRARY = "xul"
33372
 
33373
 
33373
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
33374
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
33374
 if CONFIG["MOZ_DEBUG"] == "1":
33375
 if CONFIG["MOZ_DEBUG"] == "1":
33375
 
33376
 
33376
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
33377
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 33480-33486 index 216472255063..679a78a96f89 100644 Link Here
33480
 
33481
 
33481
 if CONFIG["TARGET_CPU"] == "x86":
33482
 if CONFIG["TARGET_CPU"] == "x86":
33482
 
33483
 
33483
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
33484
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
33484
 
33485
 
33485
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
33486
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
33486
 
33487
 
Lines 33547-33557 index 6c29dea76a50..3ae54a950c46 100644 Link Here
33547
-
33548
-
33548
 Library("registered_field_trials_header_gn")
33549
 Library("registered_field_trials_header_gn")
33549
diff --git third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build
33550
diff --git third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build
33550
index a6629977f400..0da1f97cbafd 100644
33551
index 87c1d54c4df1..1de0302ecc91 100644
33551
--- third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build
33552
--- third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build
33552
+++ third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build
33553
+++ third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build
33553
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
33554
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
33554
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
33555
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
33555
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
33556
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
33556
 DEFINES["RTC_ENABLE_VP9"] = True
33557
 DEFINES["RTC_ENABLE_VP9"] = True
33557
+DEFINES["USE_GLIB"] = "1"
33558
+DEFINES["USE_GLIB"] = "1"
Lines 33571-33577 index a6629977f400..0da1f97cbafd 100644 Link Here
33571
 
33572
 
33572
 FINAL_LIBRARY = "xul"
33573
 FINAL_LIBRARY = "xul"
33573
 
33574
 
33574
@@ -47,186 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
33575
@@ -48,186 +57,32 @@ if not CONFIG["MOZ_DEBUG"]:
33575
 if CONFIG["MOZ_DEBUG"] == "1":
33576
 if CONFIG["MOZ_DEBUG"] == "1":
33576
 
33577
 
33577
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
33578
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 33765-33775 index a6629977f400..0da1f97cbafd 100644 Link Here
33765
 
33766
 
33766
 Library("rtc_event_audio_gn")
33767
 Library("rtc_event_audio_gn")
33767
diff --git third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build
33768
diff --git third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build
33768
index f5dbb588ce9d..aca9e63b106b 100644
33769
index 7abe0e6ab8f6..c00986cd7d3f 100644
33769
--- third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build
33770
--- third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build
33770
+++ third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build
33771
+++ third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build
33771
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
33772
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
33772
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
33773
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
33773
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
33774
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
33774
 DEFINES["RTC_ENABLE_VP9"] = True
33775
 DEFINES["RTC_ENABLE_VP9"] = True
33775
+DEFINES["USE_GLIB"] = "1"
33776
+DEFINES["USE_GLIB"] = "1"
Lines 33789-33795 index f5dbb588ce9d..aca9e63b106b 100644 Link Here
33789
 
33790
 
33790
 FINAL_LIBRARY = "xul"
33791
 FINAL_LIBRARY = "xul"
33791
 
33792
 
33792
@@ -48,186 +57,32 @@ if not CONFIG["MOZ_DEBUG"]:
33793
@@ -49,186 +58,32 @@ if not CONFIG["MOZ_DEBUG"]:
33793
 if CONFIG["MOZ_DEBUG"] == "1":
33794
 if CONFIG["MOZ_DEBUG"] == "1":
33794
 
33795
 
33795
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
33796
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 33983-33993 index f5dbb588ce9d..aca9e63b106b 100644 Link Here
33983
 
33984
 
33984
 Library("rtc_event_bwe_gn")
33985
 Library("rtc_event_bwe_gn")
33985
diff --git third_party/libwebrtc/logging/rtc_event_field_gn/moz.build third_party/libwebrtc/logging/rtc_event_field_gn/moz.build
33986
diff --git third_party/libwebrtc/logging/rtc_event_field_gn/moz.build third_party/libwebrtc/logging/rtc_event_field_gn/moz.build
33986
index f121198a0800..4a8b29c731a2 100644
33987
index 173a4af52ed4..f49361ea7deb 100644
33987
--- third_party/libwebrtc/logging/rtc_event_field_gn/moz.build
33988
--- third_party/libwebrtc/logging/rtc_event_field_gn/moz.build
33988
+++ third_party/libwebrtc/logging/rtc_event_field_gn/moz.build
33989
+++ third_party/libwebrtc/logging/rtc_event_field_gn/moz.build
33989
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
33990
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
33990
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
33991
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
33991
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
33992
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
33992
 DEFINES["RTC_ENABLE_VP9"] = True
33993
 DEFINES["RTC_ENABLE_VP9"] = True
33993
+DEFINES["USE_GLIB"] = "1"
33994
+DEFINES["USE_GLIB"] = "1"
Lines 34007-34013 index f121198a0800..4a8b29c731a2 100644 Link Here
34007
 
34008
 
34008
 FINAL_LIBRARY = "xul"
34009
 FINAL_LIBRARY = "xul"
34009
 
34010
 
34010
@@ -46,186 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
34011
@@ -47,186 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
34011
 if CONFIG["MOZ_DEBUG"] == "1":
34012
 if CONFIG["MOZ_DEBUG"] == "1":
34012
 
34013
 
34013
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
34014
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 34201-34211 index f121198a0800..4a8b29c731a2 100644 Link Here
34201
 
34202
 
34202
 Library("rtc_event_field_gn")
34203
 Library("rtc_event_field_gn")
34203
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
34204
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
34204
index 2348f29e3310..7288ed35abad 100644
34205
index 988db900c124..58ac771f6db7 100644
34205
--- third_party/libwebrtc/logging/rtc_event_log_parse_status_gn/moz.build
34206
--- third_party/libwebrtc/logging/rtc_event_log_parse_status_gn/moz.build
34206
+++ third_party/libwebrtc/logging/rtc_event_log_parse_status_gn/moz.build
34207
+++ third_party/libwebrtc/logging/rtc_event_log_parse_status_gn/moz.build
34207
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
34208
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
34208
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
34209
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
34209
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
34210
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
34210
 DEFINES["RTC_ENABLE_VP9"] = True
34211
 DEFINES["RTC_ENABLE_VP9"] = True
34211
+DEFINES["USE_GLIB"] = "1"
34212
+DEFINES["USE_GLIB"] = "1"
Lines 34225-34231 index 2348f29e3310..7288ed35abad 100644 Link Here
34225
 
34226
 
34226
 FINAL_LIBRARY = "xul"
34227
 FINAL_LIBRARY = "xul"
34227
 
34228
 
34228
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
34229
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
34229
 if CONFIG["MOZ_DEBUG"] == "1":
34230
 if CONFIG["MOZ_DEBUG"] == "1":
34230
 
34231
 
34231
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
34232
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 34339-34345 index 2348f29e3310..7288ed35abad 100644 Link Here
34339
 
34340
 
34340
 if CONFIG["TARGET_CPU"] == "x86":
34341
 if CONFIG["TARGET_CPU"] == "x86":
34341
 
34342
 
34342
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
34343
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
34343
 
34344
 
34344
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
34345
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
34345
 
34346
 
Lines 34392-34402 index 2348f29e3310..7288ed35abad 100644 Link Here
34392
-
34393
-
34393
 Library("rtc_event_log_parse_status_gn")
34394
 Library("rtc_event_log_parse_status_gn")
34394
diff --git third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build
34395
diff --git third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build
34395
index 524cb78d4918..ee2f0cd421d7 100644
34396
index eb57df474228..3feab91a7084 100644
34396
--- third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build
34397
--- third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build
34397
+++ third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build
34398
+++ third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build
34398
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
34399
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
34399
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
34400
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
34400
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
34401
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
34401
 DEFINES["RTC_ENABLE_VP9"] = True
34402
 DEFINES["RTC_ENABLE_VP9"] = True
34402
+DEFINES["USE_GLIB"] = "1"
34403
+DEFINES["USE_GLIB"] = "1"
Lines 34416-34422 index 524cb78d4918..ee2f0cd421d7 100644 Link Here
34416
 
34417
 
34417
 FINAL_LIBRARY = "xul"
34418
 FINAL_LIBRARY = "xul"
34418
 
34419
 
34419
@@ -45,179 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
34420
@@ -46,179 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
34420
 if CONFIG["MOZ_DEBUG"] == "1":
34421
 if CONFIG["MOZ_DEBUG"] == "1":
34421
 
34422
 
34422
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
34423
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 34603-34613 index 524cb78d4918..ee2f0cd421d7 100644 Link Here
34603
 
34604
 
34604
 Library("rtc_event_number_encodings_gn")
34605
 Library("rtc_event_number_encodings_gn")
34605
diff --git third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build
34606
diff --git third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build
34606
index 6dc6484494da..824c9abdf3d0 100644
34607
index 46192e21f4e7..c9d38230adf6 100644
34607
--- third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build
34608
--- third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build
34608
+++ third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build
34609
+++ third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build
34609
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
34610
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
34610
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
34611
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
34611
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
34612
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
34612
 DEFINES["RTC_ENABLE_VP9"] = True
34613
 DEFINES["RTC_ENABLE_VP9"] = True
34613
+DEFINES["USE_GLIB"] = "1"
34614
+DEFINES["USE_GLIB"] = "1"
Lines 34627-34633 index 6dc6484494da..824c9abdf3d0 100644 Link Here
34627
 
34628
 
34628
 FINAL_LIBRARY = "xul"
34629
 FINAL_LIBRARY = "xul"
34629
 
34630
 
34630
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
34631
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
34631
 if CONFIG["MOZ_DEBUG"] == "1":
34632
 if CONFIG["MOZ_DEBUG"] == "1":
34632
 
34633
 
34633
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
34634
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 34821-34831 index 6dc6484494da..824c9abdf3d0 100644 Link Here
34821
 
34822
 
34822
 Library("rtc_event_pacing_gn")
34823
 Library("rtc_event_pacing_gn")
34823
diff --git third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build
34824
diff --git third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build
34824
index 8cc1177e82ef..0ba912e5dbeb 100644
34825
index db532092f5ba..973cc40e2eb7 100644
34825
--- third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build
34826
--- third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build
34826
+++ third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build
34827
+++ third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build
34827
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
34828
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
34828
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
34829
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
34829
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
34830
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
34830
 DEFINES["RTC_ENABLE_VP9"] = True
34831
 DEFINES["RTC_ENABLE_VP9"] = True
34831
+DEFINES["USE_GLIB"] = "1"
34832
+DEFINES["USE_GLIB"] = "1"
Lines 34845-34851 index 8cc1177e82ef..0ba912e5dbeb 100644 Link Here
34845
 
34846
 
34846
 FINAL_LIBRARY = "xul"
34847
 FINAL_LIBRARY = "xul"
34847
 
34848
 
34848
@@ -46,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
34849
@@ -47,190 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
34849
 if CONFIG["MOZ_DEBUG"] == "1":
34850
 if CONFIG["MOZ_DEBUG"] == "1":
34850
 
34851
 
34851
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
34852
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 35043-35053 index 8cc1177e82ef..0ba912e5dbeb 100644 Link Here
35043
 
35044
 
35044
 Library("rtc_event_rtp_rtcp_gn")
35045
 Library("rtc_event_rtp_rtcp_gn")
35045
diff --git third_party/libwebrtc/logging/rtc_event_video_gn/moz.build third_party/libwebrtc/logging/rtc_event_video_gn/moz.build
35046
diff --git third_party/libwebrtc/logging/rtc_event_video_gn/moz.build third_party/libwebrtc/logging/rtc_event_video_gn/moz.build
35046
index 3f8e25f66cf1..5dfce62b3b3e 100644
35047
index 880219f21c25..bc58f4335961 100644
35047
--- third_party/libwebrtc/logging/rtc_event_video_gn/moz.build
35048
--- third_party/libwebrtc/logging/rtc_event_video_gn/moz.build
35048
+++ third_party/libwebrtc/logging/rtc_event_video_gn/moz.build
35049
+++ third_party/libwebrtc/logging/rtc_event_video_gn/moz.build
35049
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
35050
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
35050
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
35051
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
35051
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
35052
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
35052
 DEFINES["RTC_ENABLE_VP9"] = True
35053
 DEFINES["RTC_ENABLE_VP9"] = True
35053
+DEFINES["USE_GLIB"] = "1"
35054
+DEFINES["USE_GLIB"] = "1"
Lines 35067-35073 index 3f8e25f66cf1..5dfce62b3b3e 100644 Link Here
35067
 
35068
 
35068
 FINAL_LIBRARY = "xul"
35069
 FINAL_LIBRARY = "xul"
35069
 
35070
 
35070
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
35071
@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
35071
 if CONFIG["MOZ_DEBUG"] == "1":
35072
 if CONFIG["MOZ_DEBUG"] == "1":
35072
 
35073
 
35073
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
35074
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 35261-35271 index 3f8e25f66cf1..5dfce62b3b3e 100644 Link Here
35261
 
35262
 
35262
 Library("rtc_event_video_gn")
35263
 Library("rtc_event_video_gn")
35263
diff --git third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build
35264
diff --git third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build
35264
index 604a99340ea1..abd1c123b85a 100644
35265
index 71ec6e58eab4..98496cf6ad3d 100644
35265
--- third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build
35266
--- third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build
35266
+++ third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build
35267
+++ third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build
35267
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
35268
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
35268
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
35269
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
35269
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
35270
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
35270
 DEFINES["RTC_ENABLE_VP9"] = True
35271
 DEFINES["RTC_ENABLE_VP9"] = True
35271
+DEFINES["USE_GLIB"] = "1"
35272
+DEFINES["USE_GLIB"] = "1"
Lines 35285-35291 index 604a99340ea1..abd1c123b85a 100644 Link Here
35285
 
35286
 
35286
 FINAL_LIBRARY = "xul"
35287
 FINAL_LIBRARY = "xul"
35287
 
35288
 
35288
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
35289
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
35289
 if CONFIG["MOZ_DEBUG"] == "1":
35290
 if CONFIG["MOZ_DEBUG"] == "1":
35290
 
35291
 
35291
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
35292
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 35479-35489 index 604a99340ea1..abd1c123b85a 100644 Link Here
35479
 
35480
 
35480
 Library("rtc_stream_config_gn")
35481
 Library("rtc_stream_config_gn")
35481
diff --git third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build
35482
diff --git third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build
35482
index 9cd35674dc77..bdfcd97c39a7 100644
35483
index fc9a05fecbd7..f730e651788a 100644
35483
--- third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build
35484
--- third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build
35484
+++ third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build
35485
+++ third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build
35485
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
35486
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
35486
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
35487
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
35487
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
35488
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
35488
 DEFINES["RTC_ENABLE_VP9"] = True
35489
 DEFINES["RTC_ENABLE_VP9"] = True
35489
+DEFINES["USE_GLIB"] = "1"
35490
+DEFINES["USE_GLIB"] = "1"
Lines 35503-35509 index 9cd35674dc77..bdfcd97c39a7 100644 Link Here
35503
 
35504
 
35504
 FINAL_LIBRARY = "xul"
35505
 FINAL_LIBRARY = "xul"
35505
 
35506
 
35506
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
35507
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
35507
 if CONFIG["MOZ_DEBUG"] == "1":
35508
 if CONFIG["MOZ_DEBUG"] == "1":
35508
 
35509
 
35509
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
35510
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 35697-35707 index 9cd35674dc77..bdfcd97c39a7 100644 Link Here
35697
 
35698
 
35698
 Library("adapted_video_track_source_gn")
35699
 Library("adapted_video_track_source_gn")
35699
diff --git third_party/libwebrtc/media/audio_source_gn/moz.build third_party/libwebrtc/media/audio_source_gn/moz.build
35700
diff --git third_party/libwebrtc/media/audio_source_gn/moz.build third_party/libwebrtc/media/audio_source_gn/moz.build
35700
index 1241f267c6b3..c62c06c2e274 100644
35701
index b3ffa731b047..556c37a94cdd 100644
35701
--- third_party/libwebrtc/media/audio_source_gn/moz.build
35702
--- third_party/libwebrtc/media/audio_source_gn/moz.build
35702
+++ third_party/libwebrtc/media/audio_source_gn/moz.build
35703
+++ third_party/libwebrtc/media/audio_source_gn/moz.build
35703
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
35704
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
35704
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
35705
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
35705
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
35706
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
35706
 DEFINES["RTC_ENABLE_VP9"] = True
35707
 DEFINES["RTC_ENABLE_VP9"] = True
35707
+DEFINES["USE_GLIB"] = "1"
35708
+DEFINES["USE_GLIB"] = "1"
Lines 35721-35727 index 1241f267c6b3..c62c06c2e274 100644 Link Here
35721
 
35722
 
35722
 FINAL_LIBRARY = "xul"
35723
 FINAL_LIBRARY = "xul"
35723
 
35724
 
35724
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
35725
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
35725
 if CONFIG["MOZ_DEBUG"] == "1":
35726
 if CONFIG["MOZ_DEBUG"] == "1":
35726
 
35727
 
35727
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
35728
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 35831-35837 index 1241f267c6b3..c62c06c2e274 100644 Link Here
35831
 
35832
 
35832
 if CONFIG["TARGET_CPU"] == "x86":
35833
 if CONFIG["TARGET_CPU"] == "x86":
35833
 
35834
 
35834
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
35835
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
35835
 
35836
 
35836
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
35837
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
35837
 
35838
 
Lines 35884-35894 index 1241f267c6b3..c62c06c2e274 100644 Link Here
35884
-
35885
-
35885
 Library("audio_source_gn")
35886
 Library("audio_source_gn")
35886
diff --git third_party/libwebrtc/media/codec_gn/moz.build third_party/libwebrtc/media/codec_gn/moz.build
35887
diff --git third_party/libwebrtc/media/codec_gn/moz.build third_party/libwebrtc/media/codec_gn/moz.build
35887
index 51c9e2fdf274..6123ce9afcd7 100644
35888
index fa1c367755e9..073728d67c50 100644
35888
--- third_party/libwebrtc/media/codec_gn/moz.build
35889
--- third_party/libwebrtc/media/codec_gn/moz.build
35889
+++ third_party/libwebrtc/media/codec_gn/moz.build
35890
+++ third_party/libwebrtc/media/codec_gn/moz.build
35890
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
35891
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
35891
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
35892
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
35892
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
35893
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
35893
 DEFINES["RTC_ENABLE_VP9"] = True
35894
 DEFINES["RTC_ENABLE_VP9"] = True
35894
+DEFINES["USE_GLIB"] = "1"
35895
+DEFINES["USE_GLIB"] = "1"
Lines 35908-35914 index 51c9e2fdf274..6123ce9afcd7 100644 Link Here
35908
 
35909
 
35909
 FINAL_LIBRARY = "xul"
35910
 FINAL_LIBRARY = "xul"
35910
 
35911
 
35911
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
35912
@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
35912
 if CONFIG["MOZ_DEBUG"] == "1":
35913
 if CONFIG["MOZ_DEBUG"] == "1":
35913
 
35914
 
35914
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
35915
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 36102-36112 index 51c9e2fdf274..6123ce9afcd7 100644 Link Here
36102
 
36103
 
36103
 Library("codec_gn")
36104
 Library("codec_gn")
36104
diff --git third_party/libwebrtc/media/media_channel_gn/moz.build third_party/libwebrtc/media/media_channel_gn/moz.build
36105
diff --git third_party/libwebrtc/media/media_channel_gn/moz.build third_party/libwebrtc/media/media_channel_gn/moz.build
36105
index 948e34ca808b..2b0ddb90290f 100644
36106
index 50c9885138f8..16e5ba4ee32e 100644
36106
--- third_party/libwebrtc/media/media_channel_gn/moz.build
36107
--- third_party/libwebrtc/media/media_channel_gn/moz.build
36107
+++ third_party/libwebrtc/media/media_channel_gn/moz.build
36108
+++ third_party/libwebrtc/media/media_channel_gn/moz.build
36108
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
36109
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
36109
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
36110
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
36110
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
36111
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
36111
 DEFINES["RTC_ENABLE_VP9"] = True
36112
 DEFINES["RTC_ENABLE_VP9"] = True
36112
+DEFINES["USE_GLIB"] = "1"
36113
+DEFINES["USE_GLIB"] = "1"
Lines 36126-36132 index 948e34ca808b..2b0ddb90290f 100644 Link Here
36126
 
36127
 
36127
 FINAL_LIBRARY = "xul"
36128
 FINAL_LIBRARY = "xul"
36128
 
36129
 
36129
@@ -39,124 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
36130
@@ -40,124 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
36130
 if CONFIG["MOZ_DEBUG"] == "1":
36131
 if CONFIG["MOZ_DEBUG"] == "1":
36131
 
36132
 
36132
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
36133
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 36252-36258 index 948e34ca808b..2b0ddb90290f 100644 Link Here
36252
 
36253
 
36253
 if CONFIG["TARGET_CPU"] == "x86":
36254
 if CONFIG["TARGET_CPU"] == "x86":
36254
 
36255
 
36255
@@ -166,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
36256
@@ -167,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
36256
 
36257
 
36257
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
36258
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
36258
 
36259
 
Lines 36305-36315 index 948e34ca808b..2b0ddb90290f 100644 Link Here
36305
-
36306
-
36306
 Library("media_channel_gn")
36307
 Library("media_channel_gn")
36307
diff --git third_party/libwebrtc/media/media_channel_impl_gn/moz.build third_party/libwebrtc/media/media_channel_impl_gn/moz.build
36308
diff --git third_party/libwebrtc/media/media_channel_impl_gn/moz.build third_party/libwebrtc/media/media_channel_impl_gn/moz.build
36308
index fc55532a8011..52f88e43cc57 100644
36309
index 5e6822d5bdc0..400eab1bee62 100644
36309
--- third_party/libwebrtc/media/media_channel_impl_gn/moz.build
36310
--- third_party/libwebrtc/media/media_channel_impl_gn/moz.build
36310
+++ third_party/libwebrtc/media/media_channel_impl_gn/moz.build
36311
+++ third_party/libwebrtc/media/media_channel_impl_gn/moz.build
36311
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
36312
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
36312
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
36313
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
36313
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
36314
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
36314
 DEFINES["RTC_ENABLE_VP9"] = True
36315
 DEFINES["RTC_ENABLE_VP9"] = True
36315
+DEFINES["USE_GLIB"] = "1"
36316
+DEFINES["USE_GLIB"] = "1"
Lines 36329-36335 index fc55532a8011..52f88e43cc57 100644 Link Here
36329
 
36330
 
36330
 FINAL_LIBRARY = "xul"
36331
 FINAL_LIBRARY = "xul"
36331
 
36332
 
36332
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
36333
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
36333
 if CONFIG["MOZ_DEBUG"] == "1":
36334
 if CONFIG["MOZ_DEBUG"] == "1":
36334
 
36335
 
36335
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
36336
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 36439-36445 index fc55532a8011..52f88e43cc57 100644 Link Here
36439
 
36440
 
36440
 if CONFIG["TARGET_CPU"] == "x86":
36441
 if CONFIG["TARGET_CPU"] == "x86":
36441
 
36442
 
36442
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
36443
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
36443
 
36444
 
36444
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
36445
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
36445
 
36446
 
Lines 36492-36502 index fc55532a8011..52f88e43cc57 100644 Link Here
36492
-
36493
-
36493
 Library("media_channel_impl_gn")
36494
 Library("media_channel_impl_gn")
36494
diff --git third_party/libwebrtc/media/media_constants_gn/moz.build third_party/libwebrtc/media/media_constants_gn/moz.build
36495
diff --git third_party/libwebrtc/media/media_constants_gn/moz.build third_party/libwebrtc/media/media_constants_gn/moz.build
36495
index 513ae136c7c4..423d08736d64 100644
36496
index 38e1075093fa..1dda12f2a71d 100644
36496
--- third_party/libwebrtc/media/media_constants_gn/moz.build
36497
--- third_party/libwebrtc/media/media_constants_gn/moz.build
36497
+++ third_party/libwebrtc/media/media_constants_gn/moz.build
36498
+++ third_party/libwebrtc/media/media_constants_gn/moz.build
36498
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
36499
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
36499
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
36500
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
36500
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
36501
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
36501
 DEFINES["RTC_ENABLE_VP9"] = True
36502
 DEFINES["RTC_ENABLE_VP9"] = True
36502
+DEFINES["USE_GLIB"] = "1"
36503
+DEFINES["USE_GLIB"] = "1"
Lines 36516-36522 index 513ae136c7c4..423d08736d64 100644 Link Here
36516
 
36517
 
36517
 FINAL_LIBRARY = "xul"
36518
 FINAL_LIBRARY = "xul"
36518
 
36519
 
36519
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
36520
@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
36520
 if CONFIG["MOZ_DEBUG"] == "1":
36521
 if CONFIG["MOZ_DEBUG"] == "1":
36521
 
36522
 
36522
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
36523
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 36699-36709 index 513ae136c7c4..423d08736d64 100644 Link Here
36699
 
36700
 
36700
 Library("media_constants_gn")
36701
 Library("media_constants_gn")
36701
diff --git third_party/libwebrtc/media/media_engine_gn/moz.build third_party/libwebrtc/media/media_engine_gn/moz.build
36702
diff --git third_party/libwebrtc/media/media_engine_gn/moz.build third_party/libwebrtc/media/media_engine_gn/moz.build
36702
index f2f90903dcce..5c5db0c2817b 100644
36703
index 20c2853bfc82..696f3b2819c5 100644
36703
--- third_party/libwebrtc/media/media_engine_gn/moz.build
36704
--- third_party/libwebrtc/media/media_engine_gn/moz.build
36704
+++ third_party/libwebrtc/media/media_engine_gn/moz.build
36705
+++ third_party/libwebrtc/media/media_engine_gn/moz.build
36705
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
36706
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
36706
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
36707
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
36707
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
36708
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
36708
 DEFINES["RTC_ENABLE_VP9"] = True
36709
 DEFINES["RTC_ENABLE_VP9"] = True
36709
+DEFINES["USE_GLIB"] = "1"
36710
+DEFINES["USE_GLIB"] = "1"
Lines 36723-36729 index f2f90903dcce..5c5db0c2817b 100644 Link Here
36723
 
36724
 
36724
 FINAL_LIBRARY = "xul"
36725
 FINAL_LIBRARY = "xul"
36725
 
36726
 
36726
@@ -39,124 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
36727
@@ -40,124 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
36727
 if CONFIG["MOZ_DEBUG"] == "1":
36728
 if CONFIG["MOZ_DEBUG"] == "1":
36728
 
36729
 
36729
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
36730
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 36849-36855 index f2f90903dcce..5c5db0c2817b 100644 Link Here
36849
 
36850
 
36850
 if CONFIG["TARGET_CPU"] == "x86":
36851
 if CONFIG["TARGET_CPU"] == "x86":
36851
 
36852
 
36852
@@ -166,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
36853
@@ -167,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
36853
 
36854
 
36854
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
36855
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
36855
 
36856
 
Lines 36902-36912 index f2f90903dcce..5c5db0c2817b 100644 Link Here
36902
-
36903
-
36903
 Library("media_engine_gn")
36904
 Library("media_engine_gn")
36904
diff --git third_party/libwebrtc/media/rid_description_gn/moz.build third_party/libwebrtc/media/rid_description_gn/moz.build
36905
diff --git third_party/libwebrtc/media/rid_description_gn/moz.build third_party/libwebrtc/media/rid_description_gn/moz.build
36905
index 1985b87ded83..cc43c08f4956 100644
36906
index 92aa0430434d..6fae71d28c23 100644
36906
--- third_party/libwebrtc/media/rid_description_gn/moz.build
36907
--- third_party/libwebrtc/media/rid_description_gn/moz.build
36907
+++ third_party/libwebrtc/media/rid_description_gn/moz.build
36908
+++ third_party/libwebrtc/media/rid_description_gn/moz.build
36908
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
36909
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
36909
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
36910
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
36910
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
36911
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
36911
 DEFINES["RTC_ENABLE_VP9"] = True
36912
 DEFINES["RTC_ENABLE_VP9"] = True
36912
+DEFINES["USE_GLIB"] = "1"
36913
+DEFINES["USE_GLIB"] = "1"
Lines 36926-36932 index 1985b87ded83..cc43c08f4956 100644 Link Here
36926
 
36927
 
36927
 FINAL_LIBRARY = "xul"
36928
 FINAL_LIBRARY = "xul"
36928
 
36929
 
36929
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
36930
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
36930
 if CONFIG["MOZ_DEBUG"] == "1":
36931
 if CONFIG["MOZ_DEBUG"] == "1":
36931
 
36932
 
36932
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
36933
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 36944-36949 index 1985b87ded83..cc43c08f4956 100644 Link Here
36944
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
36945
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
36945
-    DEFINES["__STDC_FORMAT_MACROS"] = True
36946
-    DEFINES["__STDC_FORMAT_MACROS"] = True
36946
-
36947
-
36948
-    OS_LIBS += [
36949
-        "log"
36950
-    ]
36951
-
36947
-if CONFIG["OS_TARGET"] == "Darwin":
36952
-if CONFIG["OS_TARGET"] == "Darwin":
36948
-
36953
-
36949
-    DEFINES["WEBRTC_MAC"] = True
36954
-    DEFINES["WEBRTC_MAC"] = True
Lines 37007-37012 index 1985b87ded83..cc43c08f4956 100644 Link Here
37007
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
37012
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
37008
-    DEFINES["_WINDOWS"] = True
37013
-    DEFINES["_WINDOWS"] = True
37009
-    DEFINES["__STD_C"] = True
37014
-    DEFINES["__STD_C"] = True
37015
-
37016
-    OS_LIBS += [
37017
-        "crypt32",
37018
-        "iphlpapi",
37019
-        "secur32",
37020
-        "winmm"
37021
-    ]
37010
+    DEFINES["_DEBUG"] = True
37022
+    DEFINES["_DEBUG"] = True
37011
 
37023
 
37012
 if CONFIG["TARGET_CPU"] == "aarch64":
37024
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 37109-37119 index 1985b87ded83..cc43c08f4956 100644 Link Here
37109
 
37121
 
37110
 Library("rid_description_gn")
37122
 Library("rid_description_gn")
37111
diff --git third_party/libwebrtc/media/rtc_audio_video_gn/moz.build third_party/libwebrtc/media/rtc_audio_video_gn/moz.build
37123
diff --git third_party/libwebrtc/media/rtc_audio_video_gn/moz.build third_party/libwebrtc/media/rtc_audio_video_gn/moz.build
37112
index 90168a773453..06a37c4a10e1 100644
37124
index 6a4544f54efa..8d0d58c29bd7 100644
37113
--- third_party/libwebrtc/media/rtc_audio_video_gn/moz.build
37125
--- third_party/libwebrtc/media/rtc_audio_video_gn/moz.build
37114
+++ third_party/libwebrtc/media/rtc_audio_video_gn/moz.build
37126
+++ third_party/libwebrtc/media/rtc_audio_video_gn/moz.build
37115
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
37127
@@ -14,11 +14,20 @@ DEFINES["HAVE_WEBRTC_VIDEO"] = True
37116
 DEFINES["HAVE_WEBRTC_VIDEO"] = True
37128
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
37117
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
37129
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
37118
 DEFINES["RTC_ENABLE_VP9"] = True
37130
 DEFINES["RTC_ENABLE_VP9"] = True
37119
+DEFINES["USE_GLIB"] = "1"
37131
+DEFINES["USE_GLIB"] = "1"
Lines 37133-37139 index 90168a773453..06a37c4a10e1 100644 Link Here
37133
 
37145
 
37134
 FINAL_LIBRARY = "xul"
37146
 FINAL_LIBRARY = "xul"
37135
 
37147
 
37136
@@ -45,129 +54,23 @@ if not CONFIG["MOZ_DEBUG"]:
37148
@@ -46,195 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
37137
 if CONFIG["MOZ_DEBUG"] == "1":
37149
 if CONFIG["MOZ_DEBUG"] == "1":
37138
 
37150
 
37139
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
37151
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 37240-37255 index 90168a773453..06a37c4a10e1 100644 Link Here
37240
 
37252
 
37241
     DEFINES["WEBRTC_ARCH_ARM64"] = True
37253
     DEFINES["WEBRTC_ARCH_ARM64"] = True
37242
     DEFINES["WEBRTC_HAS_NEON"] = True
37254
     DEFINES["WEBRTC_HAS_NEON"] = True
37243
+    DEFINES["WEBRTC_USE_PIPEWIRE"] = True
37244
 
37255
 
37245
-if CONFIG["TARGET_CPU"] == "arm":
37256
-if CONFIG["TARGET_CPU"] == "arm":
37246
-
37257
-
37247
-    CXXFLAGS += [
37258
-    CXXFLAGS += [
37248
-        "-mfpu=neon"
37259
-        "-mfpu=neon"
37249
+    LOCAL_INCLUDES += [
37260
-    ]
37250
+        "/third_party/pipewire/"
37261
-
37251
     ]
37252
 
37253
-    DEFINES["WEBRTC_ARCH_ARM"] = True
37262
-    DEFINES["WEBRTC_ARCH_ARM"] = True
37254
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
37263
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
37255
-    DEFINES["WEBRTC_HAS_NEON"] = True
37264
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 37262-37282 index 90168a773453..06a37c4a10e1 100644 Link Here
37262
 
37271
 
37263
     DEFINES["MIPS32_LE"] = True
37272
     DEFINES["MIPS32_LE"] = True
37264
     DEFINES["MIPS_FPU_LE"] = True
37273
     DEFINES["MIPS_FPU_LE"] = True
37265
     DEFINES["WEBRTC_USE_PIPEWIRE"] = True
37266
-    DEFINES["_GNU_SOURCE"] = True
37274
-    DEFINES["_GNU_SOURCE"] = True
37267
 
37275
-
37268
     LOCAL_INCLUDES += [
37276
-if CONFIG["TARGET_CPU"] == "mips64":
37269
         "/third_party/pipewire/"
37277
-
37270
@@ -176,7 +79,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
37271
 if CONFIG["TARGET_CPU"] == "mips64":
37272
 
37273
     DEFINES["WEBRTC_USE_PIPEWIRE"] = True
37274
-    DEFINES["_GNU_SOURCE"] = True
37278
-    DEFINES["_GNU_SOURCE"] = True
37275
 
37279
 
37276
     LOCAL_INCLUDES += [
37277
         "/third_party/pipewire/"
37278
@@ -184,86 +86,28 @@ if CONFIG["TARGET_CPU"] == "mips64":
37279
 
37280
 if CONFIG["TARGET_CPU"] == "x86":
37280
 if CONFIG["TARGET_CPU"] == "x86":
37281
 
37281
 
37282
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
37282
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
Lines 37323-37377 index 90168a773453..06a37c4a10e1 100644 Link Here
37323
 
37323
 
37324
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
37324
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
37325
-
37325
-
37326
-    DEFINES["WEBRTC_USE_PIPEWIRE"] = True
37327
-    DEFINES["_GNU_SOURCE"] = True
37326
-    DEFINES["_GNU_SOURCE"] = True
37328
-
37327
-
37329
-    LOCAL_INCLUDES += [
37330
-        "/third_party/pipewire/"
37331
-    ]
37332
-
37333
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
37328
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
37334
-
37329
-
37335
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
37336
     DEFINES["WEBRTC_USE_PIPEWIRE"] = True
37337
-    DEFINES["_GNU_SOURCE"] = True
37330
-    DEFINES["_GNU_SOURCE"] = True
37338
 
37339
     LOCAL_INCLUDES += [
37340
         "/third_party/pipewire/"
37341
     ]
37342
 
37343
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
37344
-
37331
-
37332
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
37333
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
37334
 
37345
-    CXXFLAGS += [
37335
-    CXXFLAGS += [
37346
-        "-msse2"
37336
-        "-msse2"
37347
-    ]
37337
-    ]
37348
+if CONFIG["TARGET_CPU"] == "x86_64":
37338
+if CONFIG["TARGET_CPU"] == "x86_64":
37349
 
37339
 
37350
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
37351
     DEFINES["WEBRTC_USE_PIPEWIRE"] = True
37352
-    DEFINES["_GNU_SOURCE"] = True
37340
-    DEFINES["_GNU_SOURCE"] = True
37353
 
37341
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
37354
     LOCAL_INCLUDES += [
37355
         "/third_party/pipewire/"
37356
     ]
37357
 
37342
 
37358
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
37343
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
37359
-
37360
-    DEFINES["WEBRTC_USE_PIPEWIRE"] = True
37361
-    DEFINES["_GNU_SOURCE"] = True
37362
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
37344
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
37363
 
37345
 
37364
-    LOCAL_INCLUDES += [
37346
-    DEFINES["_GNU_SOURCE"] = True
37365
-        "/third_party/pipewire/"
37366
-    ]
37367
+    DEFINES["USE_X11"] = "1"
37347
+    DEFINES["USE_X11"] = "1"
37368
 
37348
 
37369
 Library("rtc_audio_video_gn")
37349
 Library("rtc_audio_video_gn")
37370
diff --git third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build
37350
diff --git third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build
37371
index 1adaccb51489..2c9bb96060fb 100644
37351
index e80128aecdeb..77526b138660 100644
37372
--- third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build
37352
--- third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build
37373
+++ third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build
37353
+++ third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build
37374
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
37354
@@ -14,11 +14,20 @@ DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
37375
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
37355
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
37376
 DEFINES["RTC_ENABLE_VP9"] = True
37356
 DEFINES["RTC_ENABLE_VP9"] = True
37377
 DEFINES["RTC_USE_LIBAOM_AV1_ENCODER"] = True
37357
 DEFINES["RTC_USE_LIBAOM_AV1_ENCODER"] = True
Lines 37392-37398 index 1adaccb51489..2c9bb96060fb 100644 Link Here
37392
 
37372
 
37393
 FINAL_LIBRARY = "xul"
37373
 FINAL_LIBRARY = "xul"
37394
 
37374
 
37395
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
37375
@@ -45,191 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
37396
 if CONFIG["MOZ_DEBUG"] == "1":
37376
 if CONFIG["MOZ_DEBUG"] == "1":
37397
 
37377
 
37398
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
37378
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 37591-37601 index 1adaccb51489..2c9bb96060fb 100644 Link Here
37591
 
37571
 
37592
 Library("rtc_internal_video_codecs_gn")
37572
 Library("rtc_internal_video_codecs_gn")
37593
diff --git third_party/libwebrtc/media/rtc_media_base_gn/moz.build third_party/libwebrtc/media/rtc_media_base_gn/moz.build
37573
diff --git third_party/libwebrtc/media/rtc_media_base_gn/moz.build third_party/libwebrtc/media/rtc_media_base_gn/moz.build
37594
index 64266d40b4d4..a857149705a7 100644
37574
index 58c4f572fa11..7e7ca1cbab42 100644
37595
--- third_party/libwebrtc/media/rtc_media_base_gn/moz.build
37575
--- third_party/libwebrtc/media/rtc_media_base_gn/moz.build
37596
+++ third_party/libwebrtc/media/rtc_media_base_gn/moz.build
37576
+++ third_party/libwebrtc/media/rtc_media_base_gn/moz.build
37597
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
37577
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
37598
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
37578
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
37599
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
37579
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
37600
 DEFINES["RTC_ENABLE_VP9"] = True
37580
 DEFINES["RTC_ENABLE_VP9"] = True
37601
+DEFINES["USE_GLIB"] = "1"
37581
+DEFINES["USE_GLIB"] = "1"
Lines 37615-37621 index 64266d40b4d4..a857149705a7 100644 Link Here
37615
 
37595
 
37616
 FINAL_LIBRARY = "xul"
37596
 FINAL_LIBRARY = "xul"
37617
 
37597
 
37618
@@ -39,124 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
37598
@@ -40,124 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
37619
 if CONFIG["MOZ_DEBUG"] == "1":
37599
 if CONFIG["MOZ_DEBUG"] == "1":
37620
 
37600
 
37621
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
37601
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 37741-37747 index 64266d40b4d4..a857149705a7 100644 Link Here
37741
 
37721
 
37742
 if CONFIG["TARGET_CPU"] == "x86":
37722
 if CONFIG["TARGET_CPU"] == "x86":
37743
 
37723
 
37744
@@ -166,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
37724
@@ -167,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
37745
 
37725
 
37746
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
37726
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
37747
 
37727
 
Lines 37794-37804 index 64266d40b4d4..a857149705a7 100644 Link Here
37794
-
37774
-
37795
 Library("rtc_media_base_gn")
37775
 Library("rtc_media_base_gn")
37796
diff --git third_party/libwebrtc/media/rtc_media_config_gn/moz.build third_party/libwebrtc/media/rtc_media_config_gn/moz.build
37776
diff --git third_party/libwebrtc/media/rtc_media_config_gn/moz.build third_party/libwebrtc/media/rtc_media_config_gn/moz.build
37797
index 1b6f1e5f819e..dd752363d357 100644
37777
index 42d0c4a66949..c50b94a79309 100644
37798
--- third_party/libwebrtc/media/rtc_media_config_gn/moz.build
37778
--- third_party/libwebrtc/media/rtc_media_config_gn/moz.build
37799
+++ third_party/libwebrtc/media/rtc_media_config_gn/moz.build
37779
+++ third_party/libwebrtc/media/rtc_media_config_gn/moz.build
37800
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
37780
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
37801
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
37781
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
37802
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
37782
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
37803
 DEFINES["RTC_ENABLE_VP9"] = True
37783
 DEFINES["RTC_ENABLE_VP9"] = True
37804
+DEFINES["USE_GLIB"] = "1"
37784
+DEFINES["USE_GLIB"] = "1"
Lines 37818-37824 index 1b6f1e5f819e..dd752363d357 100644 Link Here
37818
 
37798
 
37819
 FINAL_LIBRARY = "xul"
37799
 FINAL_LIBRARY = "xul"
37820
 
37800
 
37821
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
37801
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
37822
 if CONFIG["MOZ_DEBUG"] == "1":
37802
 if CONFIG["MOZ_DEBUG"] == "1":
37823
 
37803
 
37824
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
37804
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 37928-37934 index 1b6f1e5f819e..dd752363d357 100644 Link Here
37928
 
37908
 
37929
 if CONFIG["TARGET_CPU"] == "x86":
37909
 if CONFIG["TARGET_CPU"] == "x86":
37930
 
37910
 
37931
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
37911
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
37932
 
37912
 
37933
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
37913
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
37934
 
37914
 
Lines 37981-37991 index 1b6f1e5f819e..dd752363d357 100644 Link Here
37981
-
37961
-
37982
 Library("rtc_media_config_gn")
37962
 Library("rtc_media_config_gn")
37983
diff --git third_party/libwebrtc/media/rtc_media_gn/moz.build third_party/libwebrtc/media/rtc_media_gn/moz.build
37963
diff --git third_party/libwebrtc/media/rtc_media_gn/moz.build third_party/libwebrtc/media/rtc_media_gn/moz.build
37984
index d1ab590e0b6a..2a6276fa89f1 100644
37964
index 090c3083a914..f84a9e395510 100644
37985
--- third_party/libwebrtc/media/rtc_media_gn/moz.build
37965
--- third_party/libwebrtc/media/rtc_media_gn/moz.build
37986
+++ third_party/libwebrtc/media/rtc_media_gn/moz.build
37966
+++ third_party/libwebrtc/media/rtc_media_gn/moz.build
37987
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
37967
@@ -14,11 +14,20 @@ DEFINES["HAVE_WEBRTC_VIDEO"] = True
37988
 DEFINES["HAVE_WEBRTC_VIDEO"] = True
37968
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
37989
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
37969
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
37990
 DEFINES["RTC_ENABLE_VP9"] = True
37970
 DEFINES["RTC_ENABLE_VP9"] = True
37991
+DEFINES["USE_GLIB"] = "1"
37971
+DEFINES["USE_GLIB"] = "1"
Lines 38005-38011 index d1ab590e0b6a..2a6276fa89f1 100644 Link Here
38005
 
37985
 
38006
 FINAL_LIBRARY = "xul"
37986
 FINAL_LIBRARY = "xul"
38007
 
37987
 
38008
@@ -40,128 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
37988
@@ -41,128 +50,17 @@ if not CONFIG["MOZ_DEBUG"]:
38009
 if CONFIG["MOZ_DEBUG"] == "1":
37989
 if CONFIG["MOZ_DEBUG"] == "1":
38010
 
37990
 
38011
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
37991
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 38135-38141 index d1ab590e0b6a..2a6276fa89f1 100644 Link Here
38135
 
38115
 
38136
 if CONFIG["TARGET_CPU"] == "x86":
38116
 if CONFIG["TARGET_CPU"] == "x86":
38137
 
38117
 
38138
@@ -171,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
38118
@@ -172,50 +70,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
38139
 
38119
 
38140
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
38120
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
38141
 
38121
 
Lines 38188-38198 index d1ab590e0b6a..2a6276fa89f1 100644 Link Here
38188
-
38168
-
38189
 Library("rtc_media_gn")
38169
 Library("rtc_media_gn")
38190
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
38170
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
38191
index 1e630fef1e9c..fe3ca3871764 100644
38171
index 0b90567eff54..581f825bfb68 100644
38192
--- third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build
38172
--- third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build
38193
+++ third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build
38173
+++ third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build
38194
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
38174
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
38195
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
38175
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
38196
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
38176
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
38197
 DEFINES["RTC_ENABLE_VP9"] = True
38177
 DEFINES["RTC_ENABLE_VP9"] = True
38198
+DEFINES["USE_GLIB"] = "1"
38178
+DEFINES["USE_GLIB"] = "1"
Lines 38212-38218 index 1e630fef1e9c..fe3ca3871764 100644 Link Here
38212
 
38192
 
38213
 FINAL_LIBRARY = "xul"
38193
 FINAL_LIBRARY = "xul"
38214
 
38194
 
38215
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
38195
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
38216
 if CONFIG["MOZ_DEBUG"] == "1":
38196
 if CONFIG["MOZ_DEBUG"] == "1":
38217
 
38197
 
38218
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
38198
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 38406-38416 index 1e630fef1e9c..fe3ca3871764 100644 Link Here
38406
 
38386
 
38407
 Library("rtc_sdp_video_format_utils_gn")
38387
 Library("rtc_sdp_video_format_utils_gn")
38408
diff --git third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build
38388
diff --git third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build
38409
index 28bddfa3df6c..f610f31e77da 100644
38389
index cb9bed23cb55..fe76cd431ff6 100644
38410
--- third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build
38390
--- third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build
38411
+++ third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build
38391
+++ third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build
38412
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
38392
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
38413
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
38393
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
38414
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
38394
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
38415
 DEFINES["RTC_ENABLE_VP9"] = True
38395
 DEFINES["RTC_ENABLE_VP9"] = True
38416
+DEFINES["USE_GLIB"] = "1"
38396
+DEFINES["USE_GLIB"] = "1"
Lines 38430-38436 index 28bddfa3df6c..f610f31e77da 100644 Link Here
38430
 
38410
 
38431
 FINAL_LIBRARY = "xul"
38411
 FINAL_LIBRARY = "xul"
38432
 
38412
 
38433
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
38413
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
38434
 if CONFIG["MOZ_DEBUG"] == "1":
38414
 if CONFIG["MOZ_DEBUG"] == "1":
38435
 
38415
 
38436
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
38416
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 38629-38639 index 28bddfa3df6c..f610f31e77da 100644 Link Here
38629
 
38609
 
38630
 Library("rtc_simulcast_encoder_adapter_gn")
38610
 Library("rtc_simulcast_encoder_adapter_gn")
38631
diff --git third_party/libwebrtc/media/rtp_utils_gn/moz.build third_party/libwebrtc/media/rtp_utils_gn/moz.build
38611
diff --git third_party/libwebrtc/media/rtp_utils_gn/moz.build third_party/libwebrtc/media/rtp_utils_gn/moz.build
38632
index fb6bf035b541..3de425bdbccc 100644
38612
index 27f94a49fa4b..8d2edadb7d0e 100644
38633
--- third_party/libwebrtc/media/rtp_utils_gn/moz.build
38613
--- third_party/libwebrtc/media/rtp_utils_gn/moz.build
38634
+++ third_party/libwebrtc/media/rtp_utils_gn/moz.build
38614
+++ third_party/libwebrtc/media/rtp_utils_gn/moz.build
38635
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
38615
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
38636
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
38616
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
38637
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
38617
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
38638
 DEFINES["RTC_ENABLE_VP9"] = True
38618
 DEFINES["RTC_ENABLE_VP9"] = True
38639
+DEFINES["USE_GLIB"] = "1"
38619
+DEFINES["USE_GLIB"] = "1"
Lines 38653-38659 index fb6bf035b541..3de425bdbccc 100644 Link Here
38653
 
38633
 
38654
 FINAL_LIBRARY = "xul"
38634
 FINAL_LIBRARY = "xul"
38655
 
38635
 
38656
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
38636
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
38657
 if CONFIG["MOZ_DEBUG"] == "1":
38637
 if CONFIG["MOZ_DEBUG"] == "1":
38658
 
38638
 
38659
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
38639
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 38763-38769 index fb6bf035b541..3de425bdbccc 100644 Link Here
38763
 
38743
 
38764
 if CONFIG["TARGET_CPU"] == "x86":
38744
 if CONFIG["TARGET_CPU"] == "x86":
38765
 
38745
 
38766
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
38746
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
38767
 
38747
 
38768
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
38748
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
38769
 
38749
 
Lines 38816-38826 index fb6bf035b541..3de425bdbccc 100644 Link Here
38816
-
38796
-
38817
 Library("rtp_utils_gn")
38797
 Library("rtp_utils_gn")
38818
diff --git third_party/libwebrtc/media/stream_params_gn/moz.build third_party/libwebrtc/media/stream_params_gn/moz.build
38798
diff --git third_party/libwebrtc/media/stream_params_gn/moz.build third_party/libwebrtc/media/stream_params_gn/moz.build
38819
index fc9cfc7fec48..04e834b5bc39 100644
38799
index c65d7a53ed46..ef3886295fed 100644
38820
--- third_party/libwebrtc/media/stream_params_gn/moz.build
38800
--- third_party/libwebrtc/media/stream_params_gn/moz.build
38821
+++ third_party/libwebrtc/media/stream_params_gn/moz.build
38801
+++ third_party/libwebrtc/media/stream_params_gn/moz.build
38822
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
38802
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
38823
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
38803
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
38824
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
38804
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
38825
 DEFINES["RTC_ENABLE_VP9"] = True
38805
 DEFINES["RTC_ENABLE_VP9"] = True
38826
+DEFINES["USE_GLIB"] = "1"
38806
+DEFINES["USE_GLIB"] = "1"
Lines 38840-38846 index fc9cfc7fec48..04e834b5bc39 100644 Link Here
38840
 
38820
 
38841
 FINAL_LIBRARY = "xul"
38821
 FINAL_LIBRARY = "xul"
38842
 
38822
 
38843
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
38823
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
38844
 if CONFIG["MOZ_DEBUG"] == "1":
38824
 if CONFIG["MOZ_DEBUG"] == "1":
38845
 
38825
 
38846
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
38826
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 38950-38956 index fc9cfc7fec48..04e834b5bc39 100644 Link Here
38950
 
38930
 
38951
 if CONFIG["TARGET_CPU"] == "x86":
38931
 if CONFIG["TARGET_CPU"] == "x86":
38952
 
38932
 
38953
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
38933
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
38954
 
38934
 
38955
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
38935
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
38956
 
38936
 
Lines 39003-39013 index fc9cfc7fec48..04e834b5bc39 100644 Link Here
39003
-
38983
-
39004
 Library("stream_params_gn")
38984
 Library("stream_params_gn")
39005
diff --git third_party/libwebrtc/media/video_adapter_gn/moz.build third_party/libwebrtc/media/video_adapter_gn/moz.build
38985
diff --git third_party/libwebrtc/media/video_adapter_gn/moz.build third_party/libwebrtc/media/video_adapter_gn/moz.build
39006
index 01d68b1953aa..0ed1988aa44e 100644
38986
index d06fd4ea8e37..4e50253cb413 100644
39007
--- third_party/libwebrtc/media/video_adapter_gn/moz.build
38987
--- third_party/libwebrtc/media/video_adapter_gn/moz.build
39008
+++ third_party/libwebrtc/media/video_adapter_gn/moz.build
38988
+++ third_party/libwebrtc/media/video_adapter_gn/moz.build
39009
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
38989
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
39010
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
38990
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
39011
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
38991
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
39012
 DEFINES["RTC_ENABLE_VP9"] = True
38992
 DEFINES["RTC_ENABLE_VP9"] = True
39013
+DEFINES["USE_GLIB"] = "1"
38993
+DEFINES["USE_GLIB"] = "1"
Lines 39027-39033 index 01d68b1953aa..0ed1988aa44e 100644 Link Here
39027
 
39007
 
39028
 FINAL_LIBRARY = "xul"
39008
 FINAL_LIBRARY = "xul"
39029
 
39009
 
39030
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
39010
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
39031
 if CONFIG["MOZ_DEBUG"] == "1":
39011
 if CONFIG["MOZ_DEBUG"] == "1":
39032
 
39012
 
39033
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
39013
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 39221-39231 index 01d68b1953aa..0ed1988aa44e 100644 Link Here
39221
 
39201
 
39222
 Library("video_adapter_gn")
39202
 Library("video_adapter_gn")
39223
diff --git third_party/libwebrtc/media/video_broadcaster_gn/moz.build third_party/libwebrtc/media/video_broadcaster_gn/moz.build
39203
diff --git third_party/libwebrtc/media/video_broadcaster_gn/moz.build third_party/libwebrtc/media/video_broadcaster_gn/moz.build
39224
index c009305537a3..f3a9666e381e 100644
39204
index 3d33f289d9a2..52b7067da392 100644
39225
--- third_party/libwebrtc/media/video_broadcaster_gn/moz.build
39205
--- third_party/libwebrtc/media/video_broadcaster_gn/moz.build
39226
+++ third_party/libwebrtc/media/video_broadcaster_gn/moz.build
39206
+++ third_party/libwebrtc/media/video_broadcaster_gn/moz.build
39227
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
39207
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
39228
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
39208
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
39229
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
39209
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
39230
 DEFINES["RTC_ENABLE_VP9"] = True
39210
 DEFINES["RTC_ENABLE_VP9"] = True
39231
+DEFINES["USE_GLIB"] = "1"
39211
+DEFINES["USE_GLIB"] = "1"
Lines 39245-39251 index c009305537a3..f3a9666e381e 100644 Link Here
39245
 
39225
 
39246
 FINAL_LIBRARY = "xul"
39226
 FINAL_LIBRARY = "xul"
39247
 
39227
 
39248
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
39228
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
39249
 if CONFIG["MOZ_DEBUG"] == "1":
39229
 if CONFIG["MOZ_DEBUG"] == "1":
39250
 
39230
 
39251
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
39231
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 39439-39449 index c009305537a3..f3a9666e381e 100644 Link Here
39439
 
39419
 
39440
 Library("video_broadcaster_gn")
39420
 Library("video_broadcaster_gn")
39441
diff --git third_party/libwebrtc/media/video_common_gn/moz.build third_party/libwebrtc/media/video_common_gn/moz.build
39421
diff --git third_party/libwebrtc/media/video_common_gn/moz.build third_party/libwebrtc/media/video_common_gn/moz.build
39442
index 9fdf90d2eab1..157142b5b25e 100644
39422
index 3423c19bd60e..03bd0dd5e648 100644
39443
--- third_party/libwebrtc/media/video_common_gn/moz.build
39423
--- third_party/libwebrtc/media/video_common_gn/moz.build
39444
+++ third_party/libwebrtc/media/video_common_gn/moz.build
39424
+++ third_party/libwebrtc/media/video_common_gn/moz.build
39445
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
39425
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
39446
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
39426
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
39447
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
39427
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
39448
 DEFINES["RTC_ENABLE_VP9"] = True
39428
 DEFINES["RTC_ENABLE_VP9"] = True
39449
+DEFINES["USE_GLIB"] = "1"
39429
+DEFINES["USE_GLIB"] = "1"
Lines 39463-39469 index 9fdf90d2eab1..157142b5b25e 100644 Link Here
39463
 
39443
 
39464
 FINAL_LIBRARY = "xul"
39444
 FINAL_LIBRARY = "xul"
39465
 
39445
 
39466
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
39446
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
39467
 if CONFIG["MOZ_DEBUG"] == "1":
39447
 if CONFIG["MOZ_DEBUG"] == "1":
39468
 
39448
 
39469
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
39449
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 39657-39667 index 9fdf90d2eab1..157142b5b25e 100644 Link Here
39657
 
39637
 
39658
 Library("video_common_gn")
39638
 Library("video_common_gn")
39659
diff --git third_party/libwebrtc/media/video_source_base_gn/moz.build third_party/libwebrtc/media/video_source_base_gn/moz.build
39639
diff --git third_party/libwebrtc/media/video_source_base_gn/moz.build third_party/libwebrtc/media/video_source_base_gn/moz.build
39660
index 98060ff1d3a0..81956c111ea3 100644
39640
index 8bfea357cdbb..2f9861d6c38a 100644
39661
--- third_party/libwebrtc/media/video_source_base_gn/moz.build
39641
--- third_party/libwebrtc/media/video_source_base_gn/moz.build
39662
+++ third_party/libwebrtc/media/video_source_base_gn/moz.build
39642
+++ third_party/libwebrtc/media/video_source_base_gn/moz.build
39663
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
39643
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
39664
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
39644
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
39665
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
39645
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
39666
 DEFINES["RTC_ENABLE_VP9"] = True
39646
 DEFINES["RTC_ENABLE_VP9"] = True
39667
+DEFINES["USE_GLIB"] = "1"
39647
+DEFINES["USE_GLIB"] = "1"
Lines 39681-39687 index 98060ff1d3a0..81956c111ea3 100644 Link Here
39681
 
39661
 
39682
 FINAL_LIBRARY = "xul"
39662
 FINAL_LIBRARY = "xul"
39683
 
39663
 
39684
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
39664
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
39685
 if CONFIG["MOZ_DEBUG"] == "1":
39665
 if CONFIG["MOZ_DEBUG"] == "1":
39686
 
39666
 
39687
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
39667
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 39875-39885 index 98060ff1d3a0..81956c111ea3 100644 Link Here
39875
 
39855
 
39876
 Library("video_source_base_gn")
39856
 Library("video_source_base_gn")
39877
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
39857
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
39878
index fa5724cd7b6d..e5fc71a9fce0 100644
39858
index df4aa2f2cf44..03f4a4610a90 100644
39879
--- third_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build
39859
--- third_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build
39880
+++ third_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build
39860
+++ third_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build
39881
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
39861
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
39882
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
39862
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
39883
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
39863
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
39884
 DEFINES["RTC_ENABLE_VP9"] = True
39864
 DEFINES["RTC_ENABLE_VP9"] = True
39885
+DEFINES["USE_GLIB"] = "1"
39865
+DEFINES["USE_GLIB"] = "1"
Lines 39899-39905 index fa5724cd7b6d..e5fc71a9fce0 100644 Link Here
39899
 
39879
 
39900
 FINAL_LIBRARY = "xul"
39880
 FINAL_LIBRARY = "xul"
39901
 
39881
 
39902
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
39882
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
39903
 if CONFIG["MOZ_DEBUG"] == "1":
39883
 if CONFIG["MOZ_DEBUG"] == "1":
39904
 
39884
 
39905
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
39885
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 40093-40103 index fa5724cd7b6d..e5fc71a9fce0 100644 Link Here
40093
 
40073
 
40094
 Library("async_audio_processing_gn")
40074
 Library("async_audio_processing_gn")
40095
diff --git third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build
40075
diff --git third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build
40096
index 942ca391253e..56ace0cdef4a 100644
40076
index 7ced6b2f5e9a..0dcf2ab3da45 100644
40097
--- third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build
40077
--- third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build
40098
+++ third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build
40078
+++ third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build
40099
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
40079
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
40100
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
40080
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
40101
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
40081
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
40102
 DEFINES["RTC_ENABLE_VP9"] = True
40082
 DEFINES["RTC_ENABLE_VP9"] = True
40103
+DEFINES["USE_GLIB"] = "1"
40083
+DEFINES["USE_GLIB"] = "1"
Lines 40117-40123 index 942ca391253e..56ace0cdef4a 100644 Link Here
40117
 
40097
 
40118
 FINAL_LIBRARY = "xul"
40098
 FINAL_LIBRARY = "xul"
40119
 
40099
 
40120
@@ -46,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
40100
@@ -47,190 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
40121
 if CONFIG["MOZ_DEBUG"] == "1":
40101
 if CONFIG["MOZ_DEBUG"] == "1":
40122
 
40102
 
40123
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
40103
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 40315-40325 index 942ca391253e..56ace0cdef4a 100644 Link Here
40315
 
40295
 
40316
 Library("audio_coding_gn")
40296
 Library("audio_coding_gn")
40317
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
40297
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
40318
index 722f61ffeb62..07bc360e04be 100644
40298
index ba94b42663e7..18b923fd01d7 100644
40319
--- third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build
40299
--- third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build
40320
+++ third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build
40300
+++ third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build
40321
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
40301
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
40322
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
40302
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
40323
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
40303
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
40324
 DEFINES["RTC_ENABLE_VP9"] = True
40304
 DEFINES["RTC_ENABLE_VP9"] = True
40325
+DEFINES["USE_GLIB"] = "1"
40305
+DEFINES["USE_GLIB"] = "1"
Lines 40339-40345 index 722f61ffeb62..07bc360e04be 100644 Link Here
40339
 
40319
 
40340
 FINAL_LIBRARY = "xul"
40320
 FINAL_LIBRARY = "xul"
40341
 
40321
 
40342
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
40322
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
40343
 if CONFIG["MOZ_DEBUG"] == "1":
40323
 if CONFIG["MOZ_DEBUG"] == "1":
40344
 
40324
 
40345
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
40325
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 40449-40455 index 722f61ffeb62..07bc360e04be 100644 Link Here
40449
 
40429
 
40450
 if CONFIG["TARGET_CPU"] == "x86":
40430
 if CONFIG["TARGET_CPU"] == "x86":
40451
 
40431
 
40452
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
40432
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
40453
 
40433
 
40454
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
40434
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
40455
 
40435
 
Lines 40502-40512 index 722f61ffeb62..07bc360e04be 100644 Link Here
40502
-
40482
-
40503
 Library("audio_coding_module_typedefs_gn")
40483
 Library("audio_coding_module_typedefs_gn")
40504
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
40484
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
40505
index 3179e363d16c..836cd7d4259d 100644
40485
index 30e0511c1202..60a140cf508e 100644
40506
--- third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build
40486
--- third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build
40507
+++ third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build
40487
+++ third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build
40508
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
40488
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
40509
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
40489
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
40510
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
40490
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
40511
 DEFINES["RTC_ENABLE_VP9"] = True
40491
 DEFINES["RTC_ENABLE_VP9"] = True
40512
+DEFINES["USE_GLIB"] = "1"
40492
+DEFINES["USE_GLIB"] = "1"
Lines 40526-40532 index 3179e363d16c..836cd7d4259d 100644 Link Here
40526
 
40506
 
40527
 FINAL_LIBRARY = "xul"
40507
 FINAL_LIBRARY = "xul"
40528
 
40508
 
40529
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
40509
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
40530
 if CONFIG["MOZ_DEBUG"] == "1":
40510
 if CONFIG["MOZ_DEBUG"] == "1":
40531
 
40511
 
40532
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
40512
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 40720-40730 index 3179e363d16c..836cd7d4259d 100644 Link Here
40720
 
40700
 
40721
 Library("audio_coding_opus_common_gn")
40701
 Library("audio_coding_opus_common_gn")
40722
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
40702
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
40723
index 29c2f1ad4f99..dfd43bdcc3ab 100644
40703
index 517f1c385402..a90873f05e5f 100644
40724
--- third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build
40704
--- third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build
40725
+++ third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build
40705
+++ third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build
40726
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
40706
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
40727
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
40707
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
40728
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
40708
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
40729
 DEFINES["RTC_ENABLE_VP9"] = True
40709
 DEFINES["RTC_ENABLE_VP9"] = True
40730
+DEFINES["USE_GLIB"] = "1"
40710
+DEFINES["USE_GLIB"] = "1"
Lines 40744-40750 index 29c2f1ad4f99..dfd43bdcc3ab 100644 Link Here
40744
 
40724
 
40745
 FINAL_LIBRARY = "xul"
40725
 FINAL_LIBRARY = "xul"
40746
 
40726
 
40747
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
40727
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
40748
 if CONFIG["MOZ_DEBUG"] == "1":
40728
 if CONFIG["MOZ_DEBUG"] == "1":
40749
 
40729
 
40750
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
40730
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 40942-40952 index 29c2f1ad4f99..dfd43bdcc3ab 100644 Link Here
40942
 
40922
 
40943
 Library("audio_encoder_cng_gn")
40923
 Library("audio_encoder_cng_gn")
40944
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
40924
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
40945
index 469146e9acdc..c23d12cc0979 100644
40925
index 0551767ad41e..d59a3765cd70 100644
40946
--- third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build
40926
--- third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build
40947
+++ third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build
40927
+++ third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build
40948
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
40928
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
40949
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
40929
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
40950
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
40930
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
40951
 DEFINES["RTC_ENABLE_VP9"] = True
40931
 DEFINES["RTC_ENABLE_VP9"] = True
40952
+DEFINES["USE_GLIB"] = "1"
40932
+DEFINES["USE_GLIB"] = "1"
Lines 40966-40972 index 469146e9acdc..c23d12cc0979 100644 Link Here
40966
 
40946
 
40967
 FINAL_LIBRARY = "xul"
40947
 FINAL_LIBRARY = "xul"
40968
 
40948
 
40969
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
40949
@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
40970
 if CONFIG["MOZ_DEBUG"] == "1":
40950
 if CONFIG["MOZ_DEBUG"] == "1":
40971
 
40951
 
40972
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
40952
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 41149-41159 index 469146e9acdc..c23d12cc0979 100644 Link Here
41149
 
41129
 
41150
 Library("audio_network_adaptor_config_gn")
41130
 Library("audio_network_adaptor_config_gn")
41151
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
41131
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
41152
index 520c1d24293a..d4173377c188 100644
41132
index e67a684aaf53..7919faa59988 100644
41153
--- third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build
41133
--- third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build
41154
+++ third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build
41134
+++ third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build
41155
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
41135
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
41156
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
41136
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
41157
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
41137
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
41158
 DEFINES["RTC_ENABLE_VP9"] = True
41138
 DEFINES["RTC_ENABLE_VP9"] = True
41159
+DEFINES["USE_GLIB"] = "1"
41139
+DEFINES["USE_GLIB"] = "1"
Lines 41173-41179 index 520c1d24293a..d4173377c188 100644 Link Here
41173
 
41153
 
41174
 FINAL_LIBRARY = "xul"
41154
 FINAL_LIBRARY = "xul"
41175
 
41155
 
41176
@@ -53,190 +62,32 @@ if not CONFIG["MOZ_DEBUG"]:
41156
@@ -54,190 +63,32 @@ if not CONFIG["MOZ_DEBUG"]:
41177
 if CONFIG["MOZ_DEBUG"] == "1":
41157
 if CONFIG["MOZ_DEBUG"] == "1":
41178
 
41158
 
41179
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
41159
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 41371-41381 index 520c1d24293a..d4173377c188 100644 Link Here
41371
 
41351
 
41372
 Library("audio_network_adaptor_gn")
41352
 Library("audio_network_adaptor_gn")
41373
diff --git third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build
41353
diff --git third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build
41374
index 0093dc4e6a29..80b14354a709 100644
41354
index dedcda5d379f..7381cf2820f4 100644
41375
--- third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build
41355
--- third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build
41376
+++ third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build
41356
+++ third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build
41377
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
41357
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
41378
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
41358
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
41379
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
41359
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
41380
 DEFINES["RTC_ENABLE_VP9"] = True
41360
 DEFINES["RTC_ENABLE_VP9"] = True
41381
+DEFINES["USE_GLIB"] = "1"
41361
+DEFINES["USE_GLIB"] = "1"
Lines 41395-41401 index 0093dc4e6a29..80b14354a709 100644 Link Here
41395
 
41375
 
41396
 FINAL_LIBRARY = "xul"
41376
 FINAL_LIBRARY = "xul"
41397
 
41377
 
41398
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
41378
@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
41399
 if CONFIG["MOZ_DEBUG"] == "1":
41379
 if CONFIG["MOZ_DEBUG"] == "1":
41400
 
41380
 
41401
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
41381
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 41578-41588 index 0093dc4e6a29..80b14354a709 100644 Link Here
41578
 
41558
 
41579
 Library("g711_c_gn")
41559
 Library("g711_c_gn")
41580
diff --git third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build
41560
diff --git third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build
41581
index 1883839bf2f6..5ea9245960d3 100644
41561
index 6ff2b5757c16..46fe5e5d3952 100644
41582
--- third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build
41562
--- third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build
41583
+++ third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build
41563
+++ third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build
41584
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
41564
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
41585
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
41565
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
41586
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
41566
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
41587
 DEFINES["RTC_ENABLE_VP9"] = True
41567
 DEFINES["RTC_ENABLE_VP9"] = True
41588
+DEFINES["USE_GLIB"] = "1"
41568
+DEFINES["USE_GLIB"] = "1"
Lines 41602-41608 index 1883839bf2f6..5ea9245960d3 100644 Link Here
41602
 
41582
 
41603
 FINAL_LIBRARY = "xul"
41583
 FINAL_LIBRARY = "xul"
41604
 
41584
 
41605
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
41585
@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
41606
 if CONFIG["MOZ_DEBUG"] == "1":
41586
 if CONFIG["MOZ_DEBUG"] == "1":
41607
 
41587
 
41608
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
41588
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 41796-41806 index 1883839bf2f6..5ea9245960d3 100644 Link Here
41796
 
41776
 
41797
 Library("g711_gn")
41777
 Library("g711_gn")
41798
diff --git third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build
41778
diff --git third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build
41799
index e529107882e3..36607b5052fe 100644
41779
index 7af4da2823b9..08ab446a0a88 100644
41800
--- third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build
41780
--- third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build
41801
+++ third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build
41781
+++ third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build
41802
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
41782
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
41803
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
41783
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
41804
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
41784
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
41805
 DEFINES["RTC_ENABLE_VP9"] = True
41785
 DEFINES["RTC_ENABLE_VP9"] = True
41806
+DEFINES["USE_GLIB"] = "1"
41786
+DEFINES["USE_GLIB"] = "1"
Lines 41820-41826 index e529107882e3..36607b5052fe 100644 Link Here
41820
 
41800
 
41821
 FINAL_LIBRARY = "xul"
41801
 FINAL_LIBRARY = "xul"
41822
 
41802
 
41823
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
41803
@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
41824
 if CONFIG["MOZ_DEBUG"] == "1":
41804
 if CONFIG["MOZ_DEBUG"] == "1":
41825
 
41805
 
41826
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
41806
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 42003-42013 index e529107882e3..36607b5052fe 100644 Link Here
42003
 
41983
 
42004
 Library("g722_c_gn")
41984
 Library("g722_c_gn")
42005
diff --git third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build
41985
diff --git third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build
42006
index 1edb33c02700..7b6097e2aed1 100644
41986
index 5a440b4ff1c8..2fdbaa878fc1 100644
42007
--- third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build
41987
--- third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build
42008
+++ third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build
41988
+++ third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build
42009
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
41989
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
42010
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
41990
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
42011
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
41991
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
42012
 DEFINES["RTC_ENABLE_VP9"] = True
41992
 DEFINES["RTC_ENABLE_VP9"] = True
42013
+DEFINES["USE_GLIB"] = "1"
41993
+DEFINES["USE_GLIB"] = "1"
Lines 42027-42033 index 1edb33c02700..7b6097e2aed1 100644 Link Here
42027
 
42007
 
42028
 FINAL_LIBRARY = "xul"
42008
 FINAL_LIBRARY = "xul"
42029
 
42009
 
42030
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
42010
@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
42031
 if CONFIG["MOZ_DEBUG"] == "1":
42011
 if CONFIG["MOZ_DEBUG"] == "1":
42032
 
42012
 
42033
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
42013
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 42221-42231 index 1edb33c02700..7b6097e2aed1 100644 Link Here
42221
 
42201
 
42222
 Library("g722_gn")
42202
 Library("g722_gn")
42223
diff --git third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build
42203
diff --git third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build
42224
index 9b461b1c25af..48d6a8238c65 100644
42204
index 8337bf3634c6..ac6b63091c79 100644
42225
--- third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build
42205
--- third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build
42226
+++ third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build
42206
+++ third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build
42227
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
42207
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
42228
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
42208
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
42229
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
42209
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
42230
 DEFINES["RTC_ENABLE_VP9"] = True
42210
 DEFINES["RTC_ENABLE_VP9"] = True
42231
+DEFINES["USE_GLIB"] = "1"
42211
+DEFINES["USE_GLIB"] = "1"
Lines 42245-42251 index 9b461b1c25af..48d6a8238c65 100644 Link Here
42245
 
42225
 
42246
 FINAL_LIBRARY = "xul"
42226
 FINAL_LIBRARY = "xul"
42247
 
42227
 
42248
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
42228
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
42249
 if CONFIG["MOZ_DEBUG"] == "1":
42229
 if CONFIG["MOZ_DEBUG"] == "1":
42250
 
42230
 
42251
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
42231
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 42355-42361 index 9b461b1c25af..48d6a8238c65 100644 Link Here
42355
 
42335
 
42356
 if CONFIG["TARGET_CPU"] == "x86":
42336
 if CONFIG["TARGET_CPU"] == "x86":
42357
 
42337
 
42358
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
42338
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
42359
 
42339
 
42360
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
42340
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
42361
 
42341
 
Lines 42408-42418 index 9b461b1c25af..48d6a8238c65 100644 Link Here
42408
-
42388
-
42409
 Library("isac_bwinfo_gn")
42389
 Library("isac_bwinfo_gn")
42410
diff --git third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build
42390
diff --git third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build
42411
index 4aa8ad903cb2..74726ce2c3fa 100644
42391
index ea88c1d8f583..57e8546bdbf4 100644
42412
--- third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build
42392
--- third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build
42413
+++ third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build
42393
+++ third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build
42414
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
42394
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
42415
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
42395
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
42416
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
42396
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
42417
 DEFINES["RTC_ENABLE_VP9"] = True
42397
 DEFINES["RTC_ENABLE_VP9"] = True
42418
+DEFINES["USE_GLIB"] = "1"
42398
+DEFINES["USE_GLIB"] = "1"
Lines 42432-42438 index 4aa8ad903cb2..74726ce2c3fa 100644 Link Here
42432
 
42412
 
42433
 FINAL_LIBRARY = "xul"
42413
 FINAL_LIBRARY = "xul"
42434
 
42414
 
42435
@@ -46,175 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
42415
@@ -47,175 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
42436
 if CONFIG["MOZ_DEBUG"] == "1":
42416
 if CONFIG["MOZ_DEBUG"] == "1":
42437
 
42417
 
42438
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
42418
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 42615-42625 index 4aa8ad903cb2..74726ce2c3fa 100644 Link Here
42615
 
42595
 
42616
 Library("isac_vad_gn")
42596
 Library("isac_vad_gn")
42617
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
42597
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
42618
index 1dfa3e67f353..059cbe1c221b 100644
42598
index ca334dc3fe78..747b4ac34f8c 100644
42619
--- third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build
42599
--- third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build
42620
+++ third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build
42600
+++ third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build
42621
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
42601
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
42622
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
42602
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
42623
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
42603
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
42624
 DEFINES["RTC_ENABLE_VP9"] = True
42604
 DEFINES["RTC_ENABLE_VP9"] = True
42625
+DEFINES["USE_GLIB"] = "1"
42605
+DEFINES["USE_GLIB"] = "1"
Lines 42639-42645 index 1dfa3e67f353..059cbe1c221b 100644 Link Here
42639
 
42619
 
42640
 FINAL_LIBRARY = "xul"
42620
 FINAL_LIBRARY = "xul"
42641
 
42621
 
42642
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
42622
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
42643
 if CONFIG["MOZ_DEBUG"] == "1":
42623
 if CONFIG["MOZ_DEBUG"] == "1":
42644
 
42624
 
42645
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
42625
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 42833-42843 index 1dfa3e67f353..059cbe1c221b 100644 Link Here
42833
 
42813
 
42834
 Library("legacy_encoded_audio_frame_gn")
42814
 Library("legacy_encoded_audio_frame_gn")
42835
diff --git third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build
42815
diff --git third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build
42836
index 08f8439eb07b..38c391c65bcd 100644
42816
index 2551d1916e01..87a4113e6abf 100644
42837
--- third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build
42817
--- third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build
42838
+++ third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build
42818
+++ third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build
42839
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
42819
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
42840
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
42820
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
42841
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
42821
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
42842
 DEFINES["RTC_ENABLE_VP9"] = True
42822
 DEFINES["RTC_ENABLE_VP9"] = True
42843
+DEFINES["USE_GLIB"] = "1"
42823
+DEFINES["USE_GLIB"] = "1"
Lines 42857-42863 index 08f8439eb07b..38c391c65bcd 100644 Link Here
42857
 
42837
 
42858
 FINAL_LIBRARY = "xul"
42838
 FINAL_LIBRARY = "xul"
42859
 
42839
 
42860
@@ -78,190 +87,32 @@ if not CONFIG["MOZ_DEBUG"]:
42840
@@ -79,190 +88,32 @@ if not CONFIG["MOZ_DEBUG"]:
42861
 if CONFIG["MOZ_DEBUG"] == "1":
42841
 if CONFIG["MOZ_DEBUG"] == "1":
42862
 
42842
 
42863
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
42843
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 43055-43065 index 08f8439eb07b..38c391c65bcd 100644 Link Here
43055
 
43035
 
43056
 Library("neteq_gn")
43036
 Library("neteq_gn")
43057
diff --git third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build
43037
diff --git third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build
43058
index 1f357c4fb65d..0e172820621f 100644
43038
index d9334cabeb19..030e4a70ff28 100644
43059
--- third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build
43039
--- third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build
43060
+++ third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build
43040
+++ third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build
43061
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
43041
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
43062
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
43042
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
43063
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
43043
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
43064
 DEFINES["RTC_ENABLE_VP9"] = True
43044
 DEFINES["RTC_ENABLE_VP9"] = True
43065
+DEFINES["USE_GLIB"] = "1"
43045
+DEFINES["USE_GLIB"] = "1"
Lines 43079-43085 index 1f357c4fb65d..0e172820621f 100644 Link Here
43079
 
43059
 
43080
 FINAL_LIBRARY = "xul"
43060
 FINAL_LIBRARY = "xul"
43081
 
43061
 
43082
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
43062
@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
43083
 if CONFIG["MOZ_DEBUG"] == "1":
43063
 if CONFIG["MOZ_DEBUG"] == "1":
43084
 
43064
 
43085
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
43065
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 43262-43272 index 1f357c4fb65d..0e172820621f 100644 Link Here
43262
 
43242
 
43263
 Library("pcm16b_c_gn")
43243
 Library("pcm16b_c_gn")
43264
diff --git third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build
43244
diff --git third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build
43265
index 3ea40d6df74d..437ca5438b62 100644
43245
index 0b30779563f7..c552b27c5ff3 100644
43266
--- third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build
43246
--- third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build
43267
+++ third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build
43247
+++ third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build
43268
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
43248
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
43269
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
43249
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
43270
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
43250
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
43271
 DEFINES["RTC_ENABLE_VP9"] = True
43251
 DEFINES["RTC_ENABLE_VP9"] = True
43272
+DEFINES["USE_GLIB"] = "1"
43252
+DEFINES["USE_GLIB"] = "1"
Lines 43286-43292 index 3ea40d6df74d..437ca5438b62 100644 Link Here
43286
 
43266
 
43287
 FINAL_LIBRARY = "xul"
43267
 FINAL_LIBRARY = "xul"
43288
 
43268
 
43289
@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
43269
@@ -46,186 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
43290
 if CONFIG["MOZ_DEBUG"] == "1":
43270
 if CONFIG["MOZ_DEBUG"] == "1":
43291
 
43271
 
43292
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
43272
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 43480-43490 index 3ea40d6df74d..437ca5438b62 100644 Link Here
43480
 
43460
 
43481
 Library("pcm16b_gn")
43461
 Library("pcm16b_gn")
43482
diff --git third_party/libwebrtc/modules/audio_coding/red_gn/moz.build third_party/libwebrtc/modules/audio_coding/red_gn/moz.build
43462
diff --git third_party/libwebrtc/modules/audio_coding/red_gn/moz.build third_party/libwebrtc/modules/audio_coding/red_gn/moz.build
43483
index 90cfee8f5214..8d208793ff79 100644
43463
index 58e8afef9a00..965e9dd8ba94 100644
43484
--- third_party/libwebrtc/modules/audio_coding/red_gn/moz.build
43464
--- third_party/libwebrtc/modules/audio_coding/red_gn/moz.build
43485
+++ third_party/libwebrtc/modules/audio_coding/red_gn/moz.build
43465
+++ third_party/libwebrtc/modules/audio_coding/red_gn/moz.build
43486
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
43466
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
43487
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
43467
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
43488
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
43468
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
43489
 DEFINES["RTC_ENABLE_VP9"] = True
43469
 DEFINES["RTC_ENABLE_VP9"] = True
43490
+DEFINES["USE_GLIB"] = "1"
43470
+DEFINES["USE_GLIB"] = "1"
Lines 43504-43510 index 90cfee8f5214..8d208793ff79 100644 Link Here
43504
 
43484
 
43505
 FINAL_LIBRARY = "xul"
43485
 FINAL_LIBRARY = "xul"
43506
 
43486
 
43507
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
43487
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
43508
 if CONFIG["MOZ_DEBUG"] == "1":
43488
 if CONFIG["MOZ_DEBUG"] == "1":
43509
 
43489
 
43510
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
43490
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 43702-43712 index 90cfee8f5214..8d208793ff79 100644 Link Here
43702
 
43682
 
43703
 Library("red_gn")
43683
 Library("red_gn")
43704
diff --git third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build
43684
diff --git third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build
43705
index 9a4452803747..1feff6421a4c 100644
43685
index 291bd3be385d..1deff194ac14 100644
43706
--- third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build
43686
--- third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build
43707
+++ third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build
43687
+++ third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build
43708
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
43688
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
43709
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
43689
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
43710
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
43690
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
43711
 DEFINES["RTC_ENABLE_VP9"] = True
43691
 DEFINES["RTC_ENABLE_VP9"] = True
43712
+DEFINES["USE_GLIB"] = "1"
43692
+DEFINES["USE_GLIB"] = "1"
Lines 43726-43732 index 9a4452803747..1feff6421a4c 100644 Link Here
43726
 
43706
 
43727
 FINAL_LIBRARY = "xul"
43707
 FINAL_LIBRARY = "xul"
43728
 
43708
 
43729
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
43709
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
43730
 if CONFIG["MOZ_DEBUG"] == "1":
43710
 if CONFIG["MOZ_DEBUG"] == "1":
43731
 
43711
 
43732
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
43712
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 43924-43934 index 9a4452803747..1feff6421a4c 100644 Link Here
43924
 
43904
 
43925
 Library("webrtc_cng_gn")
43905
 Library("webrtc_cng_gn")
43926
diff --git third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build
43906
diff --git third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build
43927
index 62e6d99b0499..bb4eca518817 100644
43907
index 6dfe8fd91f4f..104ad0dd9d28 100644
43928
--- third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build
43908
--- third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build
43929
+++ third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build
43909
+++ third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build
43930
@@ -12,13 +12,22 @@ AllowCompilerWarnings()
43910
@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
43931
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
43911
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
43932
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
43912
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
43933
 DEFINES["RTC_ENABLE_VP9"] = True
43913
 DEFINES["RTC_ENABLE_VP9"] = True
43934
+DEFINES["USE_GLIB"] = "1"
43914
+DEFINES["USE_GLIB"] = "1"
Lines 43950-43956 index 62e6d99b0499..bb4eca518817 100644 Link Here
43950
 
43930
 
43951
 FINAL_LIBRARY = "xul"
43931
 FINAL_LIBRARY = "xul"
43952
 
43932
 
43953
@@ -47,186 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
43933
@@ -48,186 +57,32 @@ if not CONFIG["MOZ_DEBUG"]:
43954
 if CONFIG["MOZ_DEBUG"] == "1":
43934
 if CONFIG["MOZ_DEBUG"] == "1":
43955
 
43935
 
43956
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
43936
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 44144-44154 index 62e6d99b0499..bb4eca518817 100644 Link Here
44144
 
44124
 
44145
 Library("webrtc_multiopus_gn")
44125
 Library("webrtc_multiopus_gn")
44146
diff --git third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build
44126
diff --git third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build
44147
index a540a00469f3..90011b5c16e2 100644
44127
index 867fbd623276..2094705f8b93 100644
44148
--- third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build
44128
--- third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build
44149
+++ third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build
44129
+++ third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build
44150
@@ -12,13 +12,22 @@ AllowCompilerWarnings()
44130
@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
44151
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
44131
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
44152
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
44132
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
44153
 DEFINES["RTC_ENABLE_VP9"] = True
44133
 DEFINES["RTC_ENABLE_VP9"] = True
44154
+DEFINES["USE_GLIB"] = "1"
44134
+DEFINES["USE_GLIB"] = "1"
Lines 44170-44176 index a540a00469f3..90011b5c16e2 100644 Link Here
44170
 
44150
 
44171
 FINAL_LIBRARY = "xul"
44151
 FINAL_LIBRARY = "xul"
44172
 
44152
 
44173
@@ -47,190 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
44153
@@ -48,190 +57,32 @@ if not CONFIG["MOZ_DEBUG"]:
44174
 if CONFIG["MOZ_DEBUG"] == "1":
44154
 if CONFIG["MOZ_DEBUG"] == "1":
44175
 
44155
 
44176
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
44156
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 44368-44378 index a540a00469f3..90011b5c16e2 100644 Link Here
44368
 
44348
 
44369
 Library("webrtc_opus_gn")
44349
 Library("webrtc_opus_gn")
44370
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
44350
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
44371
index 8970c596ba17..64721c4655fb 100644
44351
index 5ec9b465ea77..162b9091b2d2 100644
44372
--- third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build
44352
--- third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build
44373
+++ third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build
44353
+++ third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build
44374
@@ -12,13 +12,22 @@ AllowCompilerWarnings()
44354
@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
44375
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
44355
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
44376
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
44356
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
44377
 DEFINES["RTC_ENABLE_VP9"] = True
44357
 DEFINES["RTC_ENABLE_VP9"] = True
44378
+DEFINES["USE_GLIB"] = "1"
44358
+DEFINES["USE_GLIB"] = "1"
Lines 44394-44400 index 8970c596ba17..64721c4655fb 100644 Link Here
44394
 
44374
 
44395
 FINAL_LIBRARY = "xul"
44375
 FINAL_LIBRARY = "xul"
44396
 
44376
 
44397
@@ -46,179 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
44377
@@ -47,179 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
44398
 if CONFIG["MOZ_DEBUG"] == "1":
44378
 if CONFIG["MOZ_DEBUG"] == "1":
44399
 
44379
 
44400
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
44380
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 44581-44591 index 8970c596ba17..64721c4655fb 100644 Link Here
44581
 
44561
 
44582
 Library("webrtc_opus_wrapper_gn")
44562
 Library("webrtc_opus_wrapper_gn")
44583
diff --git third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build
44563
diff --git third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build
44584
index 0bd773f44928..956114463750 100644
44564
index 4ca6aa495569..3885140cb11b 100644
44585
--- third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build
44565
--- third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build
44586
+++ third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build
44566
+++ third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build
44587
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
44567
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
44588
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
44568
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
44589
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
44569
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
44590
 DEFINES["RTC_ENABLE_VP9"] = True
44570
 DEFINES["RTC_ENABLE_VP9"] = True
44591
+DEFINES["USE_GLIB"] = "1"
44571
+DEFINES["USE_GLIB"] = "1"
Lines 44605-44611 index 0bd773f44928..956114463750 100644 Link Here
44605
 
44585
 
44606
 FINAL_LIBRARY = "xul"
44586
 FINAL_LIBRARY = "xul"
44607
 
44587
 
44608
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
44588
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
44609
 if CONFIG["MOZ_DEBUG"] == "1":
44589
 if CONFIG["MOZ_DEBUG"] == "1":
44610
 
44590
 
44611
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
44591
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 44715-44721 index 0bd773f44928..956114463750 100644 Link Here
44715
 
44695
 
44716
 if CONFIG["TARGET_CPU"] == "x86":
44696
 if CONFIG["TARGET_CPU"] == "x86":
44717
 
44697
 
44718
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
44698
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
44719
 
44699
 
44720
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
44700
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
44721
 
44701
 
Lines 44768-44778 index 0bd773f44928..956114463750 100644 Link Here
44768
-
44748
-
44769
 Library("audio_device_gn")
44749
 Library("audio_device_gn")
44770
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
44750
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
44771
index ec77b35b94a4..b7a55333da6b 100644
44751
index 65a33184e738..4a54e312b60b 100644
44772
--- third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build
44752
--- third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build
44773
+++ third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build
44753
+++ third_party/libwebrtc/modules/audio_device/audio_device_impl_gn/moz.build
44774
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
44754
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
44775
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
44755
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
44776
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
44756
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
44777
 DEFINES["RTC_ENABLE_VP9"] = True
44757
 DEFINES["RTC_ENABLE_VP9"] = True
44778
+DEFINES["USE_GLIB"] = "1"
44758
+DEFINES["USE_GLIB"] = "1"
Lines 44792-44798 index ec77b35b94a4..b7a55333da6b 100644 Link Here
44792
 
44772
 
44793
 FINAL_LIBRARY = "xul"
44773
 FINAL_LIBRARY = "xul"
44794
 
44774
 
44795
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
44775
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
44796
 if CONFIG["MOZ_DEBUG"] == "1":
44776
 if CONFIG["MOZ_DEBUG"] == "1":
44797
 
44777
 
44798
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
44778
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 44902-44908 index ec77b35b94a4..b7a55333da6b 100644 Link Here
44902
 
44882
 
44903
 if CONFIG["TARGET_CPU"] == "x86":
44883
 if CONFIG["TARGET_CPU"] == "x86":
44904
 
44884
 
44905
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
44885
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
44906
 
44886
 
44907
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
44887
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
44908
 
44888
 
Lines 44955-44965 index ec77b35b94a4..b7a55333da6b 100644 Link Here
44955
-
44935
-
44956
 Library("audio_device_impl_gn")
44936
 Library("audio_device_impl_gn")
44957
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
44937
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
44958
index 1a1300027eb4..c7a666de4c41 100644
44938
index a14b9eb8fe9a..8fd614a1e9e9 100644
44959
--- third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build
44939
--- third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build
44960
+++ third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build
44940
+++ third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build
44961
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
44941
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
44962
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
44942
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
44963
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
44943
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
44964
 DEFINES["RTC_ENABLE_VP9"] = True
44944
 DEFINES["RTC_ENABLE_VP9"] = True
44965
+DEFINES["USE_GLIB"] = "1"
44945
+DEFINES["USE_GLIB"] = "1"
Lines 44979-44985 index 1a1300027eb4..c7a666de4c41 100644 Link Here
44979
 
44959
 
44980
 FINAL_LIBRARY = "xul"
44960
 FINAL_LIBRARY = "xul"
44981
 
44961
 
44982
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
44962
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
44983
 if CONFIG["MOZ_DEBUG"] == "1":
44963
 if CONFIG["MOZ_DEBUG"] == "1":
44984
 
44964
 
44985
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
44965
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 45177-45187 index 1a1300027eb4..c7a666de4c41 100644 Link Here
45177
 
45157
 
45178
 Library("audio_frame_manipulator_gn")
45158
 Library("audio_frame_manipulator_gn")
45179
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
45159
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
45180
index 1f38d95be5ec..77161a5e662b 100644
45160
index 079f132d8ed0..9e2e510689f2 100644
45181
--- third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build
45161
--- third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build
45182
+++ third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build
45162
+++ third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build
45183
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
45163
@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
45184
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
45164
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
45185
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
45165
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
45186
 DEFINES["RTC_ENABLE_VP9"] = True
45166
 DEFINES["RTC_ENABLE_VP9"] = True
45187
+DEFINES["USE_GLIB"] = "1"
45167
+DEFINES["USE_GLIB"] = "1"
Lines 45202-45208 index 1f38d95be5ec..77161a5e662b 100644 Link Here
45202
 
45182
 
45203
 FINAL_LIBRARY = "xul"
45183
 FINAL_LIBRARY = "xul"
45204
 
45184
 
45205
@@ -46,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
45185
@@ -47,190 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
45206
 if CONFIG["MOZ_DEBUG"] == "1":
45186
 if CONFIG["MOZ_DEBUG"] == "1":
45207
 
45187
 
45208
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
45188
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 45400-45410 index 1f38d95be5ec..77161a5e662b 100644 Link Here
45400
 
45380
 
45401
 Library("audio_mixer_impl_gn")
45381
 Library("audio_mixer_impl_gn")
45402
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
45382
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
45403
index 5cf655eb9246..8b643a359c70 100644
45383
index 7ad364fc287b..6392e9de1af6 100644
45404
--- third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build
45384
--- third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build
45405
+++ third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build
45385
+++ third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build
45406
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
45386
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
45407
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
45387
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
45408
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
45388
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
45409
 DEFINES["RTC_ENABLE_VP9"] = True
45389
 DEFINES["RTC_ENABLE_VP9"] = True
45410
+DEFINES["USE_GLIB"] = "1"
45390
+DEFINES["USE_GLIB"] = "1"
Lines 45424-45430 index 5cf655eb9246..8b643a359c70 100644 Link Here
45424
 
45404
 
45425
 FINAL_LIBRARY = "xul"
45405
 FINAL_LIBRARY = "xul"
45426
 
45406
 
45427
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
45407
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
45428
 if CONFIG["MOZ_DEBUG"] == "1":
45408
 if CONFIG["MOZ_DEBUG"] == "1":
45429
 
45409
 
45430
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
45410
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 45538-45544 index 5cf655eb9246..8b643a359c70 100644 Link Here
45538
 
45518
 
45539
 if CONFIG["TARGET_CPU"] == "x86":
45519
 if CONFIG["TARGET_CPU"] == "x86":
45540
 
45520
 
45541
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
45521
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
45542
 
45522
 
45543
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
45523
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
45544
 
45524
 
Lines 45591-45601 index 5cf655eb9246..8b643a359c70 100644 Link Here
45591
-
45571
-
45592
 Library("adaptive_fir_filter_erl_gn")
45572
 Library("adaptive_fir_filter_erl_gn")
45593
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
45573
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
45594
index 497676ffe622..fe1e34fdfc49 100644
45574
index c3c6602eeabe..668753ceeacd 100644
45595
--- third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build
45575
--- third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build
45596
+++ third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build
45576
+++ third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build
45597
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
45577
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
45598
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
45578
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
45599
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
45579
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
45600
 DEFINES["RTC_ENABLE_VP9"] = True
45580
 DEFINES["RTC_ENABLE_VP9"] = True
45601
+DEFINES["USE_GLIB"] = "1"
45581
+DEFINES["USE_GLIB"] = "1"
Lines 45615-45621 index 497676ffe622..fe1e34fdfc49 100644 Link Here
45615
 
45595
 
45616
 FINAL_LIBRARY = "xul"
45596
 FINAL_LIBRARY = "xul"
45617
 
45597
 
45618
@@ -39,123 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
45598
@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
45619
 if CONFIG["MOZ_DEBUG"] == "1":
45599
 if CONFIG["MOZ_DEBUG"] == "1":
45620
 
45600
 
45621
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
45601
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 45740-45746 index 497676ffe622..fe1e34fdfc49 100644 Link Here
45740
 
45720
 
45741
 if CONFIG["TARGET_CPU"] == "x86":
45721
 if CONFIG["TARGET_CPU"] == "x86":
45742
 
45722
 
45743
@@ -165,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
45723
@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
45744
 
45724
 
45745
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
45725
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
45746
 
45726
 
Lines 45793-45803 index 497676ffe622..fe1e34fdfc49 100644 Link Here
45793
-
45773
-
45794
 Library("adaptive_fir_filter_gn")
45774
 Library("adaptive_fir_filter_gn")
45795
diff --git third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build
45775
diff --git third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build
45796
index ed02ca92381c..46c86f3568d0 100644
45776
index 2a389ece3b18..50070028546d 100644
45797
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build
45777
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build
45798
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build
45778
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build
45799
@@ -17,13 +17,22 @@ CXXFLAGS += [
45779
@@ -18,13 +18,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
45800
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
45780
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
45801
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
45781
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
45802
 DEFINES["RTC_ENABLE_VP9"] = True
45782
 DEFINES["RTC_ENABLE_VP9"] = True
45803
+DEFINES["USE_GLIB"] = "1"
45783
+DEFINES["USE_GLIB"] = "1"
Lines 45819-45825 index ed02ca92381c..46c86f3568d0 100644 Link Here
45819
 
45799
 
45820
 FINAL_LIBRARY = "xul"
45800
 FINAL_LIBRARY = "xul"
45821
 
45801
 
45822
@@ -54,134 +63,16 @@ if not CONFIG["MOZ_DEBUG"]:
45802
@@ -55,134 +64,16 @@ if not CONFIG["MOZ_DEBUG"]:
45823
 if CONFIG["MOZ_DEBUG"] == "1":
45803
 if CONFIG["MOZ_DEBUG"] == "1":
45824
 
45804
 
45825
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
45805
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 45958-45968 index ed02ca92381c..46c86f3568d0 100644 Link Here
45958
 
45938
 
45959
 Library("aec3_avx2_gn")
45939
 Library("aec3_avx2_gn")
45960
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
45940
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
45961
index 3fb0ea8a2c6a..281b817e914c 100644
45941
index 03c744941770..e5ed79803265 100644
45962
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build
45942
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build
45963
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build
45943
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build
45964
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
45944
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
45965
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
45945
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
45966
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
45946
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
45967
 DEFINES["RTC_ENABLE_VP9"] = True
45947
 DEFINES["RTC_ENABLE_VP9"] = True
45968
+DEFINES["USE_GLIB"] = "1"
45948
+DEFINES["USE_GLIB"] = "1"
Lines 45982-45988 index 3fb0ea8a2c6a..281b817e914c 100644 Link Here
45982
 
45962
 
45983
 FINAL_LIBRARY = "xul"
45963
 FINAL_LIBRARY = "xul"
45984
 
45964
 
45985
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
45965
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
45986
 if CONFIG["MOZ_DEBUG"] == "1":
45966
 if CONFIG["MOZ_DEBUG"] == "1":
45987
 
45967
 
45988
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
45968
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 46092-46098 index 3fb0ea8a2c6a..281b817e914c 100644 Link Here
46092
 
46072
 
46093
 if CONFIG["TARGET_CPU"] == "x86":
46073
 if CONFIG["TARGET_CPU"] == "x86":
46094
 
46074
 
46095
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
46075
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
46096
 
46076
 
46097
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
46077
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
46098
 
46078
 
Lines 46145-46155 index 3fb0ea8a2c6a..281b817e914c 100644 Link Here
46145
-
46125
-
46146
 Library("aec3_common_gn")
46126
 Library("aec3_common_gn")
46147
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
46127
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
46148
index 4900eca9532f..b7ed821a08d2 100644
46128
index b840e8d28285..dabb2ba6b331 100644
46149
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build
46129
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build
46150
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build
46130
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build
46151
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
46131
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
46152
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
46132
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
46153
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
46133
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
46154
 DEFINES["RTC_ENABLE_VP9"] = True
46134
 DEFINES["RTC_ENABLE_VP9"] = True
46155
+DEFINES["USE_GLIB"] = "1"
46135
+DEFINES["USE_GLIB"] = "1"
Lines 46169-46175 index 4900eca9532f..b7ed821a08d2 100644 Link Here
46169
 
46149
 
46170
 FINAL_LIBRARY = "xul"
46150
 FINAL_LIBRARY = "xul"
46171
 
46151
 
46172
@@ -39,123 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
46152
@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
46173
 if CONFIG["MOZ_DEBUG"] == "1":
46153
 if CONFIG["MOZ_DEBUG"] == "1":
46174
 
46154
 
46175
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
46155
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 46294-46300 index 4900eca9532f..b7ed821a08d2 100644 Link Here
46294
 
46274
 
46295
 if CONFIG["TARGET_CPU"] == "x86":
46275
 if CONFIG["TARGET_CPU"] == "x86":
46296
 
46276
 
46297
@@ -165,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
46277
@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
46298
 
46278
 
46299
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
46279
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
46300
 
46280
 
Lines 46347-46357 index 4900eca9532f..b7ed821a08d2 100644 Link Here
46347
-
46327
-
46348
 Library("aec3_fft_gn")
46328
 Library("aec3_fft_gn")
46349
diff --git third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build
46329
diff --git third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build
46350
index 53b983a22fa7..45252f2e5ce8 100644
46330
index bb4aa00b9fa6..3b77e799840a 100644
46351
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build
46331
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build
46352
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build
46332
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build
46353
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
46333
@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
46354
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
46334
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
46355
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
46335
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
46356
 DEFINES["RTC_ENABLE_VP9"] = True
46336
 DEFINES["RTC_ENABLE_VP9"] = True
46357
+DEFINES["USE_GLIB"] = "1"
46337
+DEFINES["USE_GLIB"] = "1"
Lines 46372-46378 index 53b983a22fa7..45252f2e5ce8 100644 Link Here
46372
 
46352
 
46373
 FINAL_LIBRARY = "xul"
46353
 FINAL_LIBRARY = "xul"
46374
 
46354
 
46375
@@ -100,190 +109,32 @@ if not CONFIG["MOZ_DEBUG"]:
46355
@@ -101,190 +110,32 @@ if not CONFIG["MOZ_DEBUG"]:
46376
 if CONFIG["MOZ_DEBUG"] == "1":
46356
 if CONFIG["MOZ_DEBUG"] == "1":
46377
 
46357
 
46378
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
46358
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 46570-46580 index 53b983a22fa7..45252f2e5ce8 100644 Link Here
46570
 
46550
 
46571
 Library("aec3_gn")
46551
 Library("aec3_gn")
46572
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
46552
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
46573
index 5310e43a1d89..0c9cc569430d 100644
46553
index d91b97726db0..af84b43ca439 100644
46574
--- third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build
46554
--- third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build
46575
+++ third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build
46555
+++ third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build
46576
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
46556
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
46577
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
46557
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
46578
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
46558
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
46579
 DEFINES["RTC_ENABLE_VP9"] = True
46559
 DEFINES["RTC_ENABLE_VP9"] = True
46580
+DEFINES["USE_GLIB"] = "1"
46560
+DEFINES["USE_GLIB"] = "1"
Lines 46594-46600 index 5310e43a1d89..0c9cc569430d 100644 Link Here
46594
 
46574
 
46595
 FINAL_LIBRARY = "xul"
46575
 FINAL_LIBRARY = "xul"
46596
 
46576
 
46597
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
46577
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
46598
 if CONFIG["MOZ_DEBUG"] == "1":
46578
 if CONFIG["MOZ_DEBUG"] == "1":
46599
 
46579
 
46600
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
46580
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 46708-46714 index 5310e43a1d89..0c9cc569430d 100644 Link Here
46708
 
46688
 
46709
 if CONFIG["TARGET_CPU"] == "x86":
46689
 if CONFIG["TARGET_CPU"] == "x86":
46710
 
46690
 
46711
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
46691
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
46712
 
46692
 
46713
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
46693
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
46714
 
46694
 
Lines 46761-46771 index 5310e43a1d89..0c9cc569430d 100644 Link Here
46761
-
46741
-
46762
 Library("fft_data_gn")
46742
 Library("fft_data_gn")
46763
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
46743
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
46764
index 16305e915fb6..433d161cb781 100644
46744
index f423946bc227..c3324812d865 100644
46765
--- third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build
46745
--- third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build
46766
+++ third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build
46746
+++ third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build
46767
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
46747
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
46768
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
46748
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
46769
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
46749
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
46770
 DEFINES["RTC_ENABLE_VP9"] = True
46750
 DEFINES["RTC_ENABLE_VP9"] = True
46771
+DEFINES["USE_GLIB"] = "1"
46751
+DEFINES["USE_GLIB"] = "1"
Lines 46785-46791 index 16305e915fb6..433d161cb781 100644 Link Here
46785
 
46765
 
46786
 FINAL_LIBRARY = "xul"
46766
 FINAL_LIBRARY = "xul"
46787
 
46767
 
46788
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
46768
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
46789
 if CONFIG["MOZ_DEBUG"] == "1":
46769
 if CONFIG["MOZ_DEBUG"] == "1":
46790
 
46770
 
46791
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
46771
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 46899-46905 index 16305e915fb6..433d161cb781 100644 Link Here
46899
 
46879
 
46900
 if CONFIG["TARGET_CPU"] == "x86":
46880
 if CONFIG["TARGET_CPU"] == "x86":
46901
 
46881
 
46902
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
46882
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
46903
 
46883
 
46904
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
46884
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
46905
 
46885
 
Lines 46952-46962 index 16305e915fb6..433d161cb781 100644 Link Here
46952
-
46932
-
46953
 Library("matched_filter_gn")
46933
 Library("matched_filter_gn")
46954
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
46934
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
46955
index 107439b1d3d8..ee2869af9930 100644
46935
index 45a89ccbfbfa..fe641efc8111 100644
46956
--- third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build
46936
--- third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build
46957
+++ third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build
46937
+++ third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build
46958
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
46938
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
46959
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
46939
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
46960
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
46940
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
46961
 DEFINES["RTC_ENABLE_VP9"] = True
46941
 DEFINES["RTC_ENABLE_VP9"] = True
46962
+DEFINES["USE_GLIB"] = "1"
46942
+DEFINES["USE_GLIB"] = "1"
Lines 46976-46982 index 107439b1d3d8..ee2869af9930 100644 Link Here
46976
 
46956
 
46977
 FINAL_LIBRARY = "xul"
46957
 FINAL_LIBRARY = "xul"
46978
 
46958
 
46979
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
46959
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
46980
 if CONFIG["MOZ_DEBUG"] == "1":
46960
 if CONFIG["MOZ_DEBUG"] == "1":
46981
 
46961
 
46982
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
46962
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 47090-47096 index 107439b1d3d8..ee2869af9930 100644 Link Here
47090
 
47070
 
47091
 if CONFIG["TARGET_CPU"] == "x86":
47071
 if CONFIG["TARGET_CPU"] == "x86":
47092
 
47072
 
47093
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
47073
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
47094
 
47074
 
47095
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
47075
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
47096
 
47076
 
Lines 47143-47153 index 107439b1d3d8..ee2869af9930 100644 Link Here
47143
-
47123
-
47144
 Library("render_buffer_gn")
47124
 Library("render_buffer_gn")
47145
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
47125
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
47146
index 727984504717..8420c2a67ee0 100644
47126
index 2c6400d8b230..f9c9407c1a18 100644
47147
--- third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build
47127
--- third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build
47148
+++ third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build
47128
+++ third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build
47149
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
47129
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
47150
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
47130
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
47151
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
47131
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
47152
 DEFINES["RTC_ENABLE_VP9"] = True
47132
 DEFINES["RTC_ENABLE_VP9"] = True
47153
+DEFINES["USE_GLIB"] = "1"
47133
+DEFINES["USE_GLIB"] = "1"
Lines 47167-47173 index 727984504717..8420c2a67ee0 100644 Link Here
47167
 
47147
 
47168
 FINAL_LIBRARY = "xul"
47148
 FINAL_LIBRARY = "xul"
47169
 
47149
 
47170
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
47150
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
47171
 if CONFIG["MOZ_DEBUG"] == "1":
47151
 if CONFIG["MOZ_DEBUG"] == "1":
47172
 
47152
 
47173
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
47153
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 47281-47287 index 727984504717..8420c2a67ee0 100644 Link Here
47281
 
47261
 
47282
 if CONFIG["TARGET_CPU"] == "x86":
47262
 if CONFIG["TARGET_CPU"] == "x86":
47283
 
47263
 
47284
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
47264
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
47285
 
47265
 
47286
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
47266
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
47287
 
47267
 
Lines 47334-47344 index 727984504717..8420c2a67ee0 100644 Link Here
47334
-
47314
-
47335
 Library("vector_math_gn")
47315
 Library("vector_math_gn")
47336
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
47316
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
47337
index 2fa8e61caaf6..2426c14c0008 100644
47317
index 644c5fb92216..892353d5a5a9 100644
47338
--- third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build
47318
--- third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build
47339
+++ third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build
47319
+++ third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build
47340
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
47320
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
47341
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
47321
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
47342
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
47322
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
47343
 DEFINES["RTC_ENABLE_VP9"] = True
47323
 DEFINES["RTC_ENABLE_VP9"] = True
47344
+DEFINES["USE_GLIB"] = "1"
47324
+DEFINES["USE_GLIB"] = "1"
Lines 47358-47364 index 2fa8e61caaf6..2426c14c0008 100644 Link Here
47358
 
47338
 
47359
 FINAL_LIBRARY = "xul"
47339
 FINAL_LIBRARY = "xul"
47360
 
47340
 
47361
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
47341
@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
47362
 if CONFIG["MOZ_DEBUG"] == "1":
47342
 if CONFIG["MOZ_DEBUG"] == "1":
47363
 
47343
 
47364
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
47344
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 47479-47485 index 2fa8e61caaf6..2426c14c0008 100644 Link Here
47479
 
47459
 
47480
 if CONFIG["TARGET_CPU"] == "x86":
47460
 if CONFIG["TARGET_CPU"] == "x86":
47481
 
47461
 
47482
@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
47462
@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
47483
 
47463
 
47484
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
47464
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
47485
 
47465
 
Lines 47532-47542 index 2fa8e61caaf6..2426c14c0008 100644 Link Here
47532
-
47512
-
47533
 Library("aec_dump_gn")
47513
 Library("aec_dump_gn")
47534
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
47514
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
47535
index f4a57f1fbac8..b3959e4726fd 100644
47515
index e3ddd42e6d91..22365c268eb4 100644
47536
--- third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build
47516
--- third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build
47537
+++ third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build
47517
+++ third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build
47538
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
47518
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
47539
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
47519
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
47540
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
47520
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
47541
 DEFINES["RTC_ENABLE_VP9"] = True
47521
 DEFINES["RTC_ENABLE_VP9"] = True
47542
+DEFINES["USE_GLIB"] = "1"
47522
+DEFINES["USE_GLIB"] = "1"
Lines 47556-47562 index f4a57f1fbac8..b3959e4726fd 100644 Link Here
47556
 
47536
 
47557
 FINAL_LIBRARY = "xul"
47537
 FINAL_LIBRARY = "xul"
47558
 
47538
 
47559
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
47539
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
47560
 if CONFIG["MOZ_DEBUG"] == "1":
47540
 if CONFIG["MOZ_DEBUG"] == "1":
47561
 
47541
 
47562
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
47542
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 47750-47760 index f4a57f1fbac8..b3959e4726fd 100644 Link Here
47750
 
47730
 
47751
 Library("null_aec_dump_factory_gn")
47731
 Library("null_aec_dump_factory_gn")
47752
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
47732
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
47753
index 6196d6ff4ff0..91b70f2ef1b6 100644
47733
index 55fe444f90d4..b518e0fe73db 100644
47754
--- third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build
47734
--- third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build
47755
+++ third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build
47735
+++ third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build
47756
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
47736
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
47757
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
47737
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
47758
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
47738
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
47759
 DEFINES["RTC_ENABLE_VP9"] = True
47739
 DEFINES["RTC_ENABLE_VP9"] = True
47760
+DEFINES["USE_GLIB"] = "1"
47740
+DEFINES["USE_GLIB"] = "1"
Lines 47774-47780 index 6196d6ff4ff0..91b70f2ef1b6 100644 Link Here
47774
 
47754
 
47775
 FINAL_LIBRARY = "xul"
47755
 FINAL_LIBRARY = "xul"
47776
 
47756
 
47777
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
47757
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
47778
 if CONFIG["MOZ_DEBUG"] == "1":
47758
 if CONFIG["MOZ_DEBUG"] == "1":
47779
 
47759
 
47780
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
47760
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 47968-47978 index 6196d6ff4ff0..91b70f2ef1b6 100644 Link Here
47968
 
47948
 
47969
 Library("aec_dump_interface_gn")
47949
 Library("aec_dump_interface_gn")
47970
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
47950
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
47971
index a884cffa8f5f..2d6f110d04dc 100644
47951
index fc9828874560..d280cf9642f4 100644
47972
--- third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build
47952
--- third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build
47973
+++ third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build
47953
+++ third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build
47974
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
47954
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
47975
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
47955
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
47976
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
47956
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
47977
 DEFINES["RTC_ENABLE_VP9"] = True
47957
 DEFINES["RTC_ENABLE_VP9"] = True
47978
+DEFINES["USE_GLIB"] = "1"
47958
+DEFINES["USE_GLIB"] = "1"
Lines 47992-47998 index a884cffa8f5f..2d6f110d04dc 100644 Link Here
47992
 
47972
 
47993
 FINAL_LIBRARY = "xul"
47973
 FINAL_LIBRARY = "xul"
47994
 
47974
 
47995
@@ -44,114 +53,7 @@ if not CONFIG["MOZ_DEBUG"]:
47975
@@ -45,114 +54,7 @@ if not CONFIG["MOZ_DEBUG"]:
47996
 if CONFIG["MOZ_DEBUG"] == "1":
47976
 if CONFIG["MOZ_DEBUG"] == "1":
47997
 
47977
 
47998
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
47978
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 48108-48114 index a884cffa8f5f..2d6f110d04dc 100644 Link Here
48108
 
48088
 
48109
 if CONFIG["TARGET_CPU"] == "aarch64":
48089
 if CONFIG["TARGET_CPU"] == "aarch64":
48110
 
48090
 
48111
@@ -159,27 +61,12 @@ if CONFIG["TARGET_CPU"] == "aarch64":
48091
@@ -160,27 +62,12 @@ if CONFIG["TARGET_CPU"] == "aarch64":
48112
     DEFINES["WEBRTC_HAS_NEON"] = True
48092
     DEFINES["WEBRTC_HAS_NEON"] = True
48113
 
48093
 
48114
     SOURCES += [
48094
     SOURCES += [
Lines 48137-48143 index a884cffa8f5f..2d6f110d04dc 100644 Link Here
48137
     SOURCES += [
48117
     SOURCES += [
48138
         "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc"
48118
         "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc"
48139
     ]
48119
     ]
48140
@@ -188,7 +75,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
48120
@@ -189,7 +76,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
48141
 
48121
 
48142
     DEFINES["MIPS32_LE"] = True
48122
     DEFINES["MIPS32_LE"] = True
48143
     DEFINES["MIPS_FPU_LE"] = True
48123
     DEFINES["MIPS_FPU_LE"] = True
Lines 48145-48151 index a884cffa8f5f..2d6f110d04dc 100644 Link Here
48145
 
48125
 
48146
     SOURCES += [
48126
     SOURCES += [
48147
         "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_mips.cc"
48127
         "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_mips.cc"
48148
@@ -196,8 +82,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
48128
@@ -197,8 +83,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
48149
 
48129
 
48150
 if CONFIG["TARGET_CPU"] == "mips64":
48130
 if CONFIG["TARGET_CPU"] == "mips64":
48151
 
48131
 
Lines 48154-48160 index a884cffa8f5f..2d6f110d04dc 100644 Link Here
48154
     SOURCES += [
48134
     SOURCES += [
48155
         "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc"
48135
         "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc"
48156
     ]
48136
     ]
48157
@@ -208,90 +92,34 @@ if CONFIG["TARGET_CPU"] == "ppc64":
48137
@@ -209,90 +93,34 @@ if CONFIG["TARGET_CPU"] == "ppc64":
48158
         "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc"
48138
         "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc"
48159
     ]
48139
     ]
48160
 
48140
 
Lines 48255-48265 index a884cffa8f5f..2d6f110d04dc 100644 Link Here
48255
+
48235
+
48256
 Library("aecm_core_gn")
48236
 Library("aecm_core_gn")
48257
diff --git third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build
48237
diff --git third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build
48258
index c456275f855a..ac4803f3488f 100644
48238
index c4325ac824cb..47f526008661 100644
48259
--- third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build
48239
--- third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build
48260
+++ third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build
48240
+++ third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build
48261
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
48241
@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
48262
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
48242
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
48263
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
48243
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
48264
 DEFINES["RTC_ENABLE_VP9"] = True
48244
 DEFINES["RTC_ENABLE_VP9"] = True
48265
+DEFINES["USE_GLIB"] = "1"
48245
+DEFINES["USE_GLIB"] = "1"
Lines 48280-48286 index c456275f855a..ac4803f3488f 100644 Link Here
48280
 
48260
 
48281
 FINAL_LIBRARY = "xul"
48261
 FINAL_LIBRARY = "xul"
48282
 
48262
 
48283
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
48263
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
48284
 if CONFIG["MOZ_DEBUG"] == "1":
48264
 if CONFIG["MOZ_DEBUG"] == "1":
48285
 
48265
 
48286
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
48266
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 48478-48488 index c456275f855a..ac4803f3488f 100644 Link Here
48478
 
48458
 
48479
 Library("agc_gn")
48459
 Library("agc_gn")
48480
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
48460
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
48481
index 456421e167ea..e18a5ed5f14e 100644
48461
index 5983e4f77576..127f60740aed 100644
48482
--- third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build
48462
--- third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build
48483
+++ third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build
48463
+++ third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build
48484
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
48464
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
48485
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
48465
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
48486
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
48466
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
48487
 DEFINES["RTC_ENABLE_VP9"] = True
48467
 DEFINES["RTC_ENABLE_VP9"] = True
48488
+DEFINES["USE_GLIB"] = "1"
48468
+DEFINES["USE_GLIB"] = "1"
Lines 48502-48508 index 456421e167ea..e18a5ed5f14e 100644 Link Here
48502
 
48482
 
48503
 FINAL_LIBRARY = "xul"
48483
 FINAL_LIBRARY = "xul"
48504
 
48484
 
48505
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
48485
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
48506
 if CONFIG["MOZ_DEBUG"] == "1":
48486
 if CONFIG["MOZ_DEBUG"] == "1":
48507
 
48487
 
48508
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
48488
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 48612-48618 index 456421e167ea..e18a5ed5f14e 100644 Link Here
48612
 
48592
 
48613
 if CONFIG["TARGET_CPU"] == "x86":
48593
 if CONFIG["TARGET_CPU"] == "x86":
48614
 
48594
 
48615
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
48595
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
48616
 
48596
 
48617
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
48597
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
48618
 
48598
 
Lines 48665-48675 index 456421e167ea..e18a5ed5f14e 100644 Link Here
48665
-
48645
-
48666
 Library("gain_control_interface_gn")
48646
 Library("gain_control_interface_gn")
48667
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
48647
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
48668
index ab1285e34d37..38bee0b95eaa 100644
48648
index fc5a6d3a17ac..13a466730810 100644
48669
--- third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build
48649
--- third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build
48670
+++ third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build
48650
+++ third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build
48671
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
48651
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
48672
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
48652
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
48673
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
48653
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
48674
 DEFINES["RTC_ENABLE_VP9"] = True
48654
 DEFINES["RTC_ENABLE_VP9"] = True
48675
+DEFINES["USE_GLIB"] = "1"
48655
+DEFINES["USE_GLIB"] = "1"
Lines 48689-48695 index ab1285e34d37..38bee0b95eaa 100644 Link Here
48689
 
48669
 
48690
 FINAL_LIBRARY = "xul"
48670
 FINAL_LIBRARY = "xul"
48691
 
48671
 
48692
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
48672
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
48693
 if CONFIG["MOZ_DEBUG"] == "1":
48673
 if CONFIG["MOZ_DEBUG"] == "1":
48694
 
48674
 
48695
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
48675
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 48887-48897 index ab1285e34d37..38bee0b95eaa 100644 Link Here
48887
 
48867
 
48888
 Library("legacy_agc_gn")
48868
 Library("legacy_agc_gn")
48889
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
48869
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
48890
index 14e35c2e0246..bacac4da045d 100644
48870
index 35537a26bfaa..9f58d8bde235 100644
48891
--- third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build
48871
--- third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build
48892
+++ third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build
48872
+++ third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build
48893
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
48873
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
48894
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
48874
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
48895
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
48875
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
48896
 DEFINES["RTC_ENABLE_VP9"] = True
48876
 DEFINES["RTC_ENABLE_VP9"] = True
48897
+DEFINES["USE_GLIB"] = "1"
48877
+DEFINES["USE_GLIB"] = "1"
Lines 48911-48917 index 14e35c2e0246..bacac4da045d 100644 Link Here
48911
 
48891
 
48912
 FINAL_LIBRARY = "xul"
48892
 FINAL_LIBRARY = "xul"
48913
 
48893
 
48914
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
48894
@@ -46,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
48915
 if CONFIG["MOZ_DEBUG"] == "1":
48895
 if CONFIG["MOZ_DEBUG"] == "1":
48916
 
48896
 
48917
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
48897
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 49109-49119 index 14e35c2e0246..bacac4da045d 100644 Link Here
49109
 
49089
 
49110
 Library("level_estimation_gn")
49090
 Library("level_estimation_gn")
49111
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
49091
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
49112
index a926bba44729..ec062dd8dcca 100644
49092
index e225f10fa3cd..d7a4d53ab75c 100644
49113
--- third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build
49093
--- third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build
49114
+++ third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build
49094
+++ third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build
49115
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
49095
@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
49116
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
49096
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
49117
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
49097
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
49118
 DEFINES["RTC_ENABLE_VP9"] = True
49098
 DEFINES["RTC_ENABLE_VP9"] = True
49119
+DEFINES["USE_GLIB"] = "1"
49099
+DEFINES["USE_GLIB"] = "1"
Lines 49134-49140 index a926bba44729..ec062dd8dcca 100644 Link Here
49134
 
49114
 
49135
 FINAL_LIBRARY = "xul"
49115
 FINAL_LIBRARY = "xul"
49136
 
49116
 
49137
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
49117
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
49138
 if CONFIG["MOZ_DEBUG"] == "1":
49118
 if CONFIG["MOZ_DEBUG"] == "1":
49139
 
49119
 
49140
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
49120
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 49332-49342 index a926bba44729..ec062dd8dcca 100644 Link Here
49332
 
49312
 
49333
 Library("adaptive_digital_gain_controller_gn")
49313
 Library("adaptive_digital_gain_controller_gn")
49334
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
49314
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
49335
index 2ccf23b32856..4c4aea313a76 100644
49315
index 6622d617c907..8dfe3f760d23 100644
49336
--- third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build
49316
--- third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build
49337
+++ third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build
49317
+++ third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build
49338
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
49318
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
49339
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
49319
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
49340
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
49320
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
49341
 DEFINES["RTC_ENABLE_VP9"] = True
49321
 DEFINES["RTC_ENABLE_VP9"] = True
49342
+DEFINES["USE_GLIB"] = "1"
49322
+DEFINES["USE_GLIB"] = "1"
Lines 49356-49362 index 2ccf23b32856..4c4aea313a76 100644 Link Here
49356
 
49336
 
49357
 FINAL_LIBRARY = "xul"
49337
 FINAL_LIBRARY = "xul"
49358
 
49338
 
49359
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
49339
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
49360
 if CONFIG["MOZ_DEBUG"] == "1":
49340
 if CONFIG["MOZ_DEBUG"] == "1":
49361
 
49341
 
49362
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
49342
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 49543-49553 index 2ccf23b32856..4c4aea313a76 100644 Link Here
49543
 
49523
 
49544
 Library("biquad_filter_gn")
49524
 Library("biquad_filter_gn")
49545
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
49525
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
49546
index b7bfe444b7fb..978fca187767 100644
49526
index beda030559b6..bb6b4b02c9bb 100644
49547
--- third_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build
49527
--- third_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build
49548
+++ third_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build
49528
+++ third_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build
49549
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
49529
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
49550
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
49530
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
49551
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
49531
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
49552
 DEFINES["RTC_ENABLE_VP9"] = True
49532
 DEFINES["RTC_ENABLE_VP9"] = True
49553
+DEFINES["USE_GLIB"] = "1"
49533
+DEFINES["USE_GLIB"] = "1"
Lines 49567-49573 index b7bfe444b7fb..978fca187767 100644 Link Here
49567
 
49547
 
49568
 FINAL_LIBRARY = "xul"
49548
 FINAL_LIBRARY = "xul"
49569
 
49549
 
49570
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
49550
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
49571
 if CONFIG["MOZ_DEBUG"] == "1":
49551
 if CONFIG["MOZ_DEBUG"] == "1":
49572
 
49552
 
49573
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
49553
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 49765-49775 index b7bfe444b7fb..978fca187767 100644 Link Here
49765
 
49745
 
49766
 Library("clipping_predictor_gn")
49746
 Library("clipping_predictor_gn")
49767
diff --git third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build
49747
diff --git third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build
49768
index 138354dbc46a..1d1718c4a270 100644
49748
index cf2c69fcdfaa..a3693736aedb 100644
49769
--- third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build
49749
--- third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build
49770
+++ third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build
49750
+++ third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build
49771
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
49751
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
49772
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
49752
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
49773
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
49753
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
49774
 DEFINES["RTC_ENABLE_VP9"] = True
49754
 DEFINES["RTC_ENABLE_VP9"] = True
49775
+DEFINES["USE_GLIB"] = "1"
49755
+DEFINES["USE_GLIB"] = "1"
Lines 49789-49795 index 138354dbc46a..1d1718c4a270 100644 Link Here
49789
 
49769
 
49790
 FINAL_LIBRARY = "xul"
49770
 FINAL_LIBRARY = "xul"
49791
 
49771
 
49792
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
49772
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
49793
 if CONFIG["MOZ_DEBUG"] == "1":
49773
 if CONFIG["MOZ_DEBUG"] == "1":
49794
 
49774
 
49795
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
49775
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 49899-49905 index 138354dbc46a..1d1718c4a270 100644 Link Here
49899
 
49879
 
49900
 if CONFIG["TARGET_CPU"] == "x86":
49880
 if CONFIG["TARGET_CPU"] == "x86":
49901
 
49881
 
49902
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
49882
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
49903
 
49883
 
49904
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
49884
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
49905
 
49885
 
Lines 49952-49962 index 138354dbc46a..1d1718c4a270 100644 Link Here
49952
-
49932
-
49953
 Library("common_gn")
49933
 Library("common_gn")
49954
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
49934
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
49955
index 2f40304afaee..50c4819481af 100644
49935
index 0de2dc9384e3..de0334f13255 100644
49956
--- third_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build
49936
--- third_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build
49957
+++ third_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build
49937
+++ third_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build
49958
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
49938
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
49959
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
49939
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
49960
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
49940
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
49961
 DEFINES["RTC_ENABLE_VP9"] = True
49941
 DEFINES["RTC_ENABLE_VP9"] = True
49962
+DEFINES["USE_GLIB"] = "1"
49942
+DEFINES["USE_GLIB"] = "1"
Lines 49976-49982 index 2f40304afaee..50c4819481af 100644 Link Here
49976
 
49956
 
49977
 FINAL_LIBRARY = "xul"
49957
 FINAL_LIBRARY = "xul"
49978
 
49958
 
49979
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
49959
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
49980
 if CONFIG["MOZ_DEBUG"] == "1":
49960
 if CONFIG["MOZ_DEBUG"] == "1":
49981
 
49961
 
49982
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
49962
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 50174-50184 index 2f40304afaee..50c4819481af 100644 Link Here
50174
 
50154
 
50175
 Library("cpu_features_gn")
50155
 Library("cpu_features_gn")
50176
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
50156
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
50177
index f5c615e7c144..edbdcc79c315 100644
50157
index 42be77d0926e..5cc90ad1f104 100644
50178
--- third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build
50158
--- third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build
50179
+++ third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build
50159
+++ third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build
50180
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
50160
@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
50181
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
50161
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
50182
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
50162
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
50183
 DEFINES["RTC_ENABLE_VP9"] = True
50163
 DEFINES["RTC_ENABLE_VP9"] = True
50184
+DEFINES["USE_GLIB"] = "1"
50164
+DEFINES["USE_GLIB"] = "1"
Lines 50199-50205 index f5c615e7c144..edbdcc79c315 100644 Link Here
50199
 
50179
 
50200
 FINAL_LIBRARY = "xul"
50180
 FINAL_LIBRARY = "xul"
50201
 
50181
 
50202
@@ -46,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
50182
@@ -47,190 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
50203
 if CONFIG["MOZ_DEBUG"] == "1":
50183
 if CONFIG["MOZ_DEBUG"] == "1":
50204
 
50184
 
50205
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
50185
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 50397-50407 index f5c615e7c144..edbdcc79c315 100644 Link Here
50397
 
50377
 
50398
 Library("fixed_digital_gn")
50378
 Library("fixed_digital_gn")
50399
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
50379
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
50400
index 336fbad968e3..16bd1dcb8f4d 100644
50380
index 74f97ce3d86b..e5ccbba3faa4 100644
50401
--- third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build
50381
--- third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build
50402
+++ third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build
50382
+++ third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build
50403
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
50383
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
50404
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
50384
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
50405
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
50385
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
50406
 DEFINES["RTC_ENABLE_VP9"] = True
50386
 DEFINES["RTC_ENABLE_VP9"] = True
50407
+DEFINES["USE_GLIB"] = "1"
50387
+DEFINES["USE_GLIB"] = "1"
Lines 50421-50427 index 336fbad968e3..16bd1dcb8f4d 100644 Link Here
50421
 
50401
 
50422
 FINAL_LIBRARY = "xul"
50402
 FINAL_LIBRARY = "xul"
50423
 
50403
 
50424
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
50404
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
50425
 if CONFIG["MOZ_DEBUG"] == "1":
50405
 if CONFIG["MOZ_DEBUG"] == "1":
50426
 
50406
 
50427
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
50407
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 50615-50625 index 336fbad968e3..16bd1dcb8f4d 100644 Link Here
50615
 
50595
 
50616
 Library("gain_applier_gn")
50596
 Library("gain_applier_gn")
50617
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
50597
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
50618
index a542386830ea..205ef2fa8610 100644
50598
index f737fa6929fb..27094cde280b 100644
50619
--- third_party/libwebrtc/modules/audio_processing/agc2/gain_map_gn/moz.build
50599
--- third_party/libwebrtc/modules/audio_processing/agc2/gain_map_gn/moz.build
50620
+++ third_party/libwebrtc/modules/audio_processing/agc2/gain_map_gn/moz.build
50600
+++ third_party/libwebrtc/modules/audio_processing/agc2/gain_map_gn/moz.build
50621
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
50601
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
50622
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
50602
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
50623
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
50603
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
50624
 DEFINES["RTC_ENABLE_VP9"] = True
50604
 DEFINES["RTC_ENABLE_VP9"] = True
50625
+DEFINES["USE_GLIB"] = "1"
50605
+DEFINES["USE_GLIB"] = "1"
Lines 50639-50645 index a542386830ea..205ef2fa8610 100644 Link Here
50639
 
50619
 
50640
 FINAL_LIBRARY = "xul"
50620
 FINAL_LIBRARY = "xul"
50641
 
50621
 
50642
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
50622
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
50643
 if CONFIG["MOZ_DEBUG"] == "1":
50623
 if CONFIG["MOZ_DEBUG"] == "1":
50644
 
50624
 
50645
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
50625
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 50749-50755 index a542386830ea..205ef2fa8610 100644 Link Here
50749
 
50729
 
50750
 if CONFIG["TARGET_CPU"] == "x86":
50730
 if CONFIG["TARGET_CPU"] == "x86":
50751
 
50731
 
50752
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
50732
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
50753
 
50733
 
50754
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
50734
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
50755
 
50735
 
Lines 50802-50812 index a542386830ea..205ef2fa8610 100644 Link Here
50802
-
50782
-
50803
 Library("gain_map_gn")
50783
 Library("gain_map_gn")
50804
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
50784
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
50805
index f5be716a8bc5..a953fa94c99a 100644
50785
index e9a5eecf6501..f974969cef4f 100644
50806
--- third_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build
50786
--- third_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build
50807
+++ third_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build
50787
+++ third_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build
50808
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
50788
@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
50809
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
50789
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
50810
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
50790
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
50811
 DEFINES["RTC_ENABLE_VP9"] = True
50791
 DEFINES["RTC_ENABLE_VP9"] = True
50812
+DEFINES["USE_GLIB"] = "1"
50792
+DEFINES["USE_GLIB"] = "1"
Lines 50827-50833 index f5be716a8bc5..a953fa94c99a 100644 Link Here
50827
 
50807
 
50828
 FINAL_LIBRARY = "xul"
50808
 FINAL_LIBRARY = "xul"
50829
 
50809
 
50830
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
50810
@@ -46,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
50831
 if CONFIG["MOZ_DEBUG"] == "1":
50811
 if CONFIG["MOZ_DEBUG"] == "1":
50832
 
50812
 
50833
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
50813
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 51025-51035 index f5be716a8bc5..a953fa94c99a 100644 Link Here
51025
 
51005
 
51026
 Library("input_volume_controller_gn")
51006
 Library("input_volume_controller_gn")
51027
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
51007
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
51028
index feb82f3997c9..d06082663d6a 100644
51008
index 16dc6a71efd0..e9e41bc13fdb 100644
51029
--- third_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build
51009
--- third_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build
51030
+++ third_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build
51010
+++ third_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build
51031
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
51011
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
51032
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
51012
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
51033
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
51013
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
51034
 DEFINES["RTC_ENABLE_VP9"] = True
51014
 DEFINES["RTC_ENABLE_VP9"] = True
51035
+DEFINES["USE_GLIB"] = "1"
51015
+DEFINES["USE_GLIB"] = "1"
Lines 51049-51055 index feb82f3997c9..d06082663d6a 100644 Link Here
51049
 
51029
 
51050
 FINAL_LIBRARY = "xul"
51030
 FINAL_LIBRARY = "xul"
51051
 
51031
 
51052
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
51032
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
51053
 if CONFIG["MOZ_DEBUG"] == "1":
51033
 if CONFIG["MOZ_DEBUG"] == "1":
51054
 
51034
 
51055
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
51035
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 51243-51253 index feb82f3997c9..d06082663d6a 100644 Link Here
51243
 
51223
 
51244
 Library("input_volume_stats_reporter_gn")
51224
 Library("input_volume_stats_reporter_gn")
51245
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
51225
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
51246
index e90d9910bf62..82e5e8f4333b 100644
51226
index 9c436a5d0f3a..7af9460687a6 100644
51247
--- third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build
51227
--- third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build
51248
+++ third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build
51228
+++ third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build
51249
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
51229
@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
51250
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
51230
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
51251
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
51231
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
51252
 DEFINES["RTC_ENABLE_VP9"] = True
51232
 DEFINES["RTC_ENABLE_VP9"] = True
51253
+DEFINES["USE_GLIB"] = "1"
51233
+DEFINES["USE_GLIB"] = "1"
Lines 51268-51274 index e90d9910bf62..82e5e8f4333b 100644 Link Here
51268
 
51248
 
51269
 FINAL_LIBRARY = "xul"
51249
 FINAL_LIBRARY = "xul"
51270
 
51250
 
51271
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
51251
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
51272
 if CONFIG["MOZ_DEBUG"] == "1":
51252
 if CONFIG["MOZ_DEBUG"] == "1":
51273
 
51253
 
51274
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
51254
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 51466-51476 index e90d9910bf62..82e5e8f4333b 100644 Link Here
51466
 
51446
 
51467
 Library("noise_level_estimator_gn")
51447
 Library("noise_level_estimator_gn")
51468
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
51448
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
51469
index 24079e9ae6d1..171732e1f557 100644
51449
index 59564cc1e285..954c989398f4 100644
51470
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build
51450
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build
51471
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build
51451
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build
51472
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
51452
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
51473
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
51453
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
51474
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
51454
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
51475
 DEFINES["RTC_ENABLE_VP9"] = True
51455
 DEFINES["RTC_ENABLE_VP9"] = True
51476
+DEFINES["USE_GLIB"] = "1"
51456
+DEFINES["USE_GLIB"] = "1"
Lines 51490-51496 index 24079e9ae6d1..171732e1f557 100644 Link Here
51490
 
51470
 
51491
 FINAL_LIBRARY = "xul"
51471
 FINAL_LIBRARY = "xul"
51492
 
51472
 
51493
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
51473
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
51494
 if CONFIG["MOZ_DEBUG"] == "1":
51474
 if CONFIG["MOZ_DEBUG"] == "1":
51495
 
51475
 
51496
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
51476
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 51688-51698 index 24079e9ae6d1..171732e1f557 100644 Link Here
51688
 
51668
 
51689
 Library("rnn_vad_auto_correlation_gn")
51669
 Library("rnn_vad_auto_correlation_gn")
51690
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
51670
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
51691
index 49c7c7762c63..32c5af366c7d 100644
51671
index bf0b365e6eee..52089937e2a4 100644
51692
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_common_gn/moz.build
51672
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_common_gn/moz.build
51693
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_common_gn/moz.build
51673
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_common_gn/moz.build
51694
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
51674
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
51695
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
51675
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
51696
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
51676
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
51697
 DEFINES["RTC_ENABLE_VP9"] = True
51677
 DEFINES["RTC_ENABLE_VP9"] = True
51698
+DEFINES["USE_GLIB"] = "1"
51678
+DEFINES["USE_GLIB"] = "1"
Lines 51712-51718 index 49c7c7762c63..32c5af366c7d 100644 Link Here
51712
 
51692
 
51713
 FINAL_LIBRARY = "xul"
51693
 FINAL_LIBRARY = "xul"
51714
 
51694
 
51715
@@ -39,123 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
51695
@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
51716
 if CONFIG["MOZ_DEBUG"] == "1":
51696
 if CONFIG["MOZ_DEBUG"] == "1":
51717
 
51697
 
51718
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
51698
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 51837-51843 index 49c7c7762c63..32c5af366c7d 100644 Link Here
51837
 
51817
 
51838
 if CONFIG["TARGET_CPU"] == "x86":
51818
 if CONFIG["TARGET_CPU"] == "x86":
51839
 
51819
 
51840
@@ -165,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
51820
@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
51841
 
51821
 
51842
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
51822
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
51843
 
51823
 
Lines 51890-51900 index 49c7c7762c63..32c5af366c7d 100644 Link Here
51890
-
51870
-
51891
 Library("rnn_vad_common_gn")
51871
 Library("rnn_vad_common_gn")
51892
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
51872
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
51893
index 26a7d3b891a7..696f0ee96b59 100644
51873
index 138685a386db..575ac8951bd6 100644
51894
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build
51874
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build
51895
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build
51875
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build
51896
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
51876
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
51897
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
51877
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
51898
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
51878
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
51899
 DEFINES["RTC_ENABLE_VP9"] = True
51879
 DEFINES["RTC_ENABLE_VP9"] = True
51900
+DEFINES["USE_GLIB"] = "1"
51880
+DEFINES["USE_GLIB"] = "1"
Lines 51914-51920 index 26a7d3b891a7..696f0ee96b59 100644 Link Here
51914
 
51894
 
51915
 FINAL_LIBRARY = "xul"
51895
 FINAL_LIBRARY = "xul"
51916
 
51896
 
51917
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
51897
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
51918
 if CONFIG["MOZ_DEBUG"] == "1":
51898
 if CONFIG["MOZ_DEBUG"] == "1":
51919
 
51899
 
51920
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
51900
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 52112-52122 index 26a7d3b891a7..696f0ee96b59 100644 Link Here
52112
 
52092
 
52113
 Library("rnn_vad_gn")
52093
 Library("rnn_vad_gn")
52114
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
52094
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
52115
index 04a1e7cc555a..413755876901 100644
52095
index 699bc21ae364..577a86ada3c3 100644
52116
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build
52096
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build
52117
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build
52097
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build
52118
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
52098
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
52119
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
52099
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
52120
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
52100
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
52121
 DEFINES["RTC_ENABLE_VP9"] = True
52101
 DEFINES["RTC_ENABLE_VP9"] = True
52122
+DEFINES["USE_GLIB"] = "1"
52102
+DEFINES["USE_GLIB"] = "1"
Lines 52136-52142 index 04a1e7cc555a..413755876901 100644 Link Here
52136
 
52116
 
52137
 FINAL_LIBRARY = "xul"
52117
 FINAL_LIBRARY = "xul"
52138
 
52118
 
52139
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
52119
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
52140
 if CONFIG["MOZ_DEBUG"] == "1":
52120
 if CONFIG["MOZ_DEBUG"] == "1":
52141
 
52121
 
52142
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
52122
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 52334-52344 index 04a1e7cc555a..413755876901 100644 Link Here
52334
 
52314
 
52335
 Library("rnn_vad_layers_gn")
52315
 Library("rnn_vad_layers_gn")
52336
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
52316
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
52337
index 98019531c7f9..58978d7f3e35 100644
52317
index b25ad71cb8d9..0e7ee8647c24 100644
52338
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_lp_residual_gn/moz.build
52318
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_lp_residual_gn/moz.build
52339
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_lp_residual_gn/moz.build
52319
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_lp_residual_gn/moz.build
52340
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
52320
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
52341
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
52321
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
52342
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
52322
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
52343
 DEFINES["RTC_ENABLE_VP9"] = True
52323
 DEFINES["RTC_ENABLE_VP9"] = True
52344
+DEFINES["USE_GLIB"] = "1"
52324
+DEFINES["USE_GLIB"] = "1"
Lines 52358-52364 index 98019531c7f9..58978d7f3e35 100644 Link Here
52358
 
52338
 
52359
 FINAL_LIBRARY = "xul"
52339
 FINAL_LIBRARY = "xul"
52360
 
52340
 
52361
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
52341
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
52362
 if CONFIG["MOZ_DEBUG"] == "1":
52342
 if CONFIG["MOZ_DEBUG"] == "1":
52363
 
52343
 
52364
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
52344
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 52545-52555 index 98019531c7f9..58978d7f3e35 100644 Link Here
52545
 
52525
 
52546
 Library("rnn_vad_lp_residual_gn")
52526
 Library("rnn_vad_lp_residual_gn")
52547
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
52527
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
52548
index 7d650f259e13..56c167cc8561 100644
52528
index 236281787c93..537751526475 100644
52549
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build
52529
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build
52550
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build
52530
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build
52551
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
52531
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
52552
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
52532
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
52553
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
52533
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
52554
 DEFINES["RTC_ENABLE_VP9"] = True
52534
 DEFINES["RTC_ENABLE_VP9"] = True
52555
+DEFINES["USE_GLIB"] = "1"
52535
+DEFINES["USE_GLIB"] = "1"
Lines 52569-52575 index 7d650f259e13..56c167cc8561 100644 Link Here
52569
 
52549
 
52570
 FINAL_LIBRARY = "xul"
52550
 FINAL_LIBRARY = "xul"
52571
 
52551
 
52572
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
52552
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
52573
 if CONFIG["MOZ_DEBUG"] == "1":
52553
 if CONFIG["MOZ_DEBUG"] == "1":
52574
 
52554
 
52575
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
52555
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 52767-52777 index 7d650f259e13..56c167cc8561 100644 Link Here
52767
 
52747
 
52768
 Library("rnn_vad_pitch_gn")
52748
 Library("rnn_vad_pitch_gn")
52769
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
52749
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
52770
index 0eb74a400fb0..4591b6d57ed8 100644
52750
index 49e0ac0e1752..af5b80e27004 100644
52771
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_ring_buffer_gn/moz.build
52751
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_ring_buffer_gn/moz.build
52772
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_ring_buffer_gn/moz.build
52752
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_ring_buffer_gn/moz.build
52773
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
52753
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
52774
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
52754
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
52775
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
52755
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
52776
 DEFINES["RTC_ENABLE_VP9"] = True
52756
 DEFINES["RTC_ENABLE_VP9"] = True
52777
+DEFINES["USE_GLIB"] = "1"
52757
+DEFINES["USE_GLIB"] = "1"
Lines 52791-52797 index 0eb74a400fb0..4591b6d57ed8 100644 Link Here
52791
 
52771
 
52792
 FINAL_LIBRARY = "xul"
52772
 FINAL_LIBRARY = "xul"
52793
 
52773
 
52794
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
52774
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
52795
 if CONFIG["MOZ_DEBUG"] == "1":
52775
 if CONFIG["MOZ_DEBUG"] == "1":
52796
 
52776
 
52797
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
52777
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 52905-52911 index 0eb74a400fb0..4591b6d57ed8 100644 Link Here
52905
 
52885
 
52906
 if CONFIG["TARGET_CPU"] == "x86":
52886
 if CONFIG["TARGET_CPU"] == "x86":
52907
 
52887
 
52908
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
52888
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
52909
 
52889
 
52910
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
52890
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
52911
 
52891
 
Lines 52958-52968 index 0eb74a400fb0..4591b6d57ed8 100644 Link Here
52958
-
52938
-
52959
 Library("rnn_vad_ring_buffer_gn")
52939
 Library("rnn_vad_ring_buffer_gn")
52960
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
52940
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
52961
index 2df8bb1943ed..0fa750093bb2 100644
52941
index 25ebe1ded808..5aeecbb95fb0 100644
52962
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_sequence_buffer_gn/moz.build
52942
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_sequence_buffer_gn/moz.build
52963
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_sequence_buffer_gn/moz.build
52943
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_sequence_buffer_gn/moz.build
52964
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
52944
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
52965
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
52945
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
52966
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
52946
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
52967
 DEFINES["RTC_ENABLE_VP9"] = True
52947
 DEFINES["RTC_ENABLE_VP9"] = True
52968
+DEFINES["USE_GLIB"] = "1"
52948
+DEFINES["USE_GLIB"] = "1"
Lines 52982-52988 index 2df8bb1943ed..0fa750093bb2 100644 Link Here
52982
 
52962
 
52983
 FINAL_LIBRARY = "xul"
52963
 FINAL_LIBRARY = "xul"
52984
 
52964
 
52985
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
52965
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
52986
 if CONFIG["MOZ_DEBUG"] == "1":
52966
 if CONFIG["MOZ_DEBUG"] == "1":
52987
 
52967
 
52988
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
52968
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 53096-53102 index 2df8bb1943ed..0fa750093bb2 100644 Link Here
53096
 
53076
 
53097
 if CONFIG["TARGET_CPU"] == "x86":
53077
 if CONFIG["TARGET_CPU"] == "x86":
53098
 
53078
 
53099
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
53079
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
53100
 
53080
 
53101
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
53081
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
53102
 
53082
 
Lines 53149-53159 index 2df8bb1943ed..0fa750093bb2 100644 Link Here
53149
-
53129
-
53150
 Library("rnn_vad_sequence_buffer_gn")
53130
 Library("rnn_vad_sequence_buffer_gn")
53151
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
53131
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
53152
index be92010f91fa..4936229921d9 100644
53132
index 3fd01cae8e39..6029a14a410a 100644
53153
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build
53133
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build
53154
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build
53134
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build
53155
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
53135
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
53156
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
53136
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
53157
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
53137
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
53158
 DEFINES["RTC_ENABLE_VP9"] = True
53138
 DEFINES["RTC_ENABLE_VP9"] = True
53159
+DEFINES["USE_GLIB"] = "1"
53139
+DEFINES["USE_GLIB"] = "1"
Lines 53173-53179 index be92010f91fa..4936229921d9 100644 Link Here
53173
 
53153
 
53174
 FINAL_LIBRARY = "xul"
53154
 FINAL_LIBRARY = "xul"
53175
 
53155
 
53176
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
53156
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
53177
 if CONFIG["MOZ_DEBUG"] == "1":
53157
 if CONFIG["MOZ_DEBUG"] == "1":
53178
 
53158
 
53179
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
53159
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 53371-53381 index be92010f91fa..4936229921d9 100644 Link Here
53371
 
53351
 
53372
 Library("rnn_vad_spectral_features_gn")
53352
 Library("rnn_vad_spectral_features_gn")
53373
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
53353
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
53374
index 709fac2fabc4..0976324eb70d 100644
53354
index 81600c1ed958..654468ece4cd 100644
53375
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_symmetric_matrix_buffer_gn/moz.build
53355
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_symmetric_matrix_buffer_gn/moz.build
53376
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_symmetric_matrix_buffer_gn/moz.build
53356
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_symmetric_matrix_buffer_gn/moz.build
53377
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
53357
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
53378
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
53358
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
53379
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
53359
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
53380
 DEFINES["RTC_ENABLE_VP9"] = True
53360
 DEFINES["RTC_ENABLE_VP9"] = True
53381
+DEFINES["USE_GLIB"] = "1"
53361
+DEFINES["USE_GLIB"] = "1"
Lines 53395-53401 index 709fac2fabc4..0976324eb70d 100644 Link Here
53395
 
53375
 
53396
 FINAL_LIBRARY = "xul"
53376
 FINAL_LIBRARY = "xul"
53397
 
53377
 
53398
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
53378
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
53399
 if CONFIG["MOZ_DEBUG"] == "1":
53379
 if CONFIG["MOZ_DEBUG"] == "1":
53400
 
53380
 
53401
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
53381
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 53509-53515 index 709fac2fabc4..0976324eb70d 100644 Link Here
53509
 
53489
 
53510
 if CONFIG["TARGET_CPU"] == "x86":
53490
 if CONFIG["TARGET_CPU"] == "x86":
53511
 
53491
 
53512
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
53492
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
53513
 
53493
 
53514
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
53494
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
53515
 
53495
 
Lines 53562-53572 index 709fac2fabc4..0976324eb70d 100644 Link Here
53562
-
53542
-
53563
 Library("rnn_vad_symmetric_matrix_buffer_gn")
53543
 Library("rnn_vad_symmetric_matrix_buffer_gn")
53564
diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build
53544
diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build
53565
index b24d7b4742f2..c956363856eb 100644
53545
index c27d2ed5f439..286a59787858 100644
53566
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build
53546
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build
53567
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build
53547
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build
53568
@@ -17,12 +17,21 @@ CXXFLAGS += [
53548
@@ -18,12 +18,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
53569
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
53549
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
53570
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
53550
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
53571
 DEFINES["RTC_ENABLE_VP9"] = True
53551
 DEFINES["RTC_ENABLE_VP9"] = True
53572
+DEFINES["USE_GLIB"] = "1"
53552
+DEFINES["USE_GLIB"] = "1"
Lines 53587-53593 index b24d7b4742f2..c956363856eb 100644 Link Here
53587
 
53567
 
53588
 FINAL_LIBRARY = "xul"
53568
 FINAL_LIBRARY = "xul"
53589
 
53569
 
53590
@@ -49,134 +58,16 @@ if not CONFIG["MOZ_DEBUG"]:
53570
@@ -50,134 +59,16 @@ if not CONFIG["MOZ_DEBUG"]:
53591
 if CONFIG["MOZ_DEBUG"] == "1":
53571
 if CONFIG["MOZ_DEBUG"] == "1":
53592
 
53572
 
53593
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
53573
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 53726-53736 index b24d7b4742f2..c956363856eb 100644 Link Here
53726
 
53706
 
53727
 Library("vector_math_avx2_gn")
53707
 Library("vector_math_avx2_gn")
53728
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
53708
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
53729
index edc37cfec66d..8420c2a67ee0 100644
53709
index 9b4370335783..f9c9407c1a18 100644
53730
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_gn/moz.build
53710
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_gn/moz.build
53731
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_gn/moz.build
53711
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_gn/moz.build
53732
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
53712
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
53733
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
53713
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
53734
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
53714
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
53735
 DEFINES["RTC_ENABLE_VP9"] = True
53715
 DEFINES["RTC_ENABLE_VP9"] = True
53736
+DEFINES["USE_GLIB"] = "1"
53716
+DEFINES["USE_GLIB"] = "1"
Lines 53750-53756 index edc37cfec66d..8420c2a67ee0 100644 Link Here
53750
 
53730
 
53751
 FINAL_LIBRARY = "xul"
53731
 FINAL_LIBRARY = "xul"
53752
 
53732
 
53753
@@ -39,123 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
53733
@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
53754
 if CONFIG["MOZ_DEBUG"] == "1":
53734
 if CONFIG["MOZ_DEBUG"] == "1":
53755
 
53735
 
53756
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
53736
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 53875-53881 index edc37cfec66d..8420c2a67ee0 100644 Link Here
53875
 
53855
 
53876
 if CONFIG["TARGET_CPU"] == "x86":
53856
 if CONFIG["TARGET_CPU"] == "x86":
53877
 
53857
 
53878
@@ -165,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
53858
@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
53879
 
53859
 
53880
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
53860
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
53881
 
53861
 
Lines 53928-53938 index edc37cfec66d..8420c2a67ee0 100644 Link Here
53928
-
53908
-
53929
 Library("vector_math_gn")
53909
 Library("vector_math_gn")
53930
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
53910
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
53931
index d71b31c270e2..795d8ebb9737 100644
53911
index c312fba12052..d996b4cc9d90 100644
53932
--- third_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build
53912
--- third_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build
53933
+++ third_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build
53913
+++ third_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build
53934
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
53914
@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
53935
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
53915
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
53936
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
53916
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
53937
 DEFINES["RTC_ENABLE_VP9"] = True
53917
 DEFINES["RTC_ENABLE_VP9"] = True
53938
+DEFINES["USE_GLIB"] = "1"
53918
+DEFINES["USE_GLIB"] = "1"
Lines 53953-53959 index d71b31c270e2..795d8ebb9737 100644 Link Here
53953
 
53933
 
53954
 FINAL_LIBRARY = "xul"
53934
 FINAL_LIBRARY = "xul"
53955
 
53935
 
53956
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
53936
@@ -46,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
53957
 if CONFIG["MOZ_DEBUG"] == "1":
53937
 if CONFIG["MOZ_DEBUG"] == "1":
53958
 
53938
 
53959
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
53939
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 54151-54161 index d71b31c270e2..795d8ebb9737 100644 Link Here
54151
 
54131
 
54152
 Library("saturation_protector_gn")
54132
 Library("saturation_protector_gn")
54153
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
54133
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
54154
index 1e8ce8cdd78c..c87eec7a75bd 100644
54134
index 343cfc723b09..8c6eb49b4512 100644
54155
--- third_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build
54135
--- third_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build
54156
+++ third_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build
54136
+++ third_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build
54157
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
54137
@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
54158
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
54138
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
54159
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
54139
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
54160
 DEFINES["RTC_ENABLE_VP9"] = True
54140
 DEFINES["RTC_ENABLE_VP9"] = True
54161
+DEFINES["USE_GLIB"] = "1"
54141
+DEFINES["USE_GLIB"] = "1"
Lines 54176-54182 index 1e8ce8cdd78c..c87eec7a75bd 100644 Link Here
54176
 
54156
 
54177
 FINAL_LIBRARY = "xul"
54157
 FINAL_LIBRARY = "xul"
54178
 
54158
 
54179
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
54159
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
54180
 if CONFIG["MOZ_DEBUG"] == "1":
54160
 if CONFIG["MOZ_DEBUG"] == "1":
54181
 
54161
 
54182
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
54162
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 54374-54384 index 1e8ce8cdd78c..c87eec7a75bd 100644 Link Here
54374
 
54354
 
54375
 Library("speech_level_estimator_gn")
54355
 Library("speech_level_estimator_gn")
54376
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
54356
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
54377
index ef605c387ad5..5c95e03997df 100644
54357
index a82ded938c6b..93c53adca4bb 100644
54378
--- third_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build
54358
--- third_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build
54379
+++ third_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build
54359
+++ third_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build
54380
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
54360
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
54381
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
54361
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
54382
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
54362
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
54383
 DEFINES["RTC_ENABLE_VP9"] = True
54363
 DEFINES["RTC_ENABLE_VP9"] = True
54384
+DEFINES["USE_GLIB"] = "1"
54364
+DEFINES["USE_GLIB"] = "1"
Lines 54398-54404 index ef605c387ad5..5c95e03997df 100644 Link Here
54398
 
54378
 
54399
 FINAL_LIBRARY = "xul"
54379
 FINAL_LIBRARY = "xul"
54400
 
54380
 
54401
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
54381
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
54402
 if CONFIG["MOZ_DEBUG"] == "1":
54382
 if CONFIG["MOZ_DEBUG"] == "1":
54403
 
54383
 
54404
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
54384
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 54596-54606 index ef605c387ad5..5c95e03997df 100644 Link Here
54596
 
54576
 
54597
 Library("vad_wrapper_gn")
54577
 Library("vad_wrapper_gn")
54598
diff --git third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build
54578
diff --git third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build
54599
index f74ce8a70dc4..5be7419cee20 100644
54579
index a09b4c70b19d..23f44e13d5bb 100644
54600
--- third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build
54580
--- third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build
54601
+++ third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build
54581
+++ third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build
54602
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
54582
@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
54603
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
54583
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
54604
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
54584
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
54605
 DEFINES["RTC_ENABLE_VP9"] = True
54585
 DEFINES["RTC_ENABLE_VP9"] = True
54606
+DEFINES["USE_GLIB"] = "1"
54586
+DEFINES["USE_GLIB"] = "1"
Lines 54621-54627 index f74ce8a70dc4..5be7419cee20 100644 Link Here
54621
 
54601
 
54622
 FINAL_LIBRARY = "xul"
54602
 FINAL_LIBRARY = "xul"
54623
 
54603
 
54624
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
54604
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
54625
 if CONFIG["MOZ_DEBUG"] == "1":
54605
 if CONFIG["MOZ_DEBUG"] == "1":
54626
 
54606
 
54627
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
54607
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 54819-54829 index f74ce8a70dc4..5be7419cee20 100644 Link Here
54819
 
54799
 
54820
 Library("apm_logging_gn")
54800
 Library("apm_logging_gn")
54821
diff --git third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build
54801
diff --git third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build
54822
index 17db8ead56a7..bd926084a6ce 100644
54802
index 2b2e58b89940..b833396bba9b 100644
54823
--- third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build
54803
--- third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build
54824
+++ third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build
54804
+++ third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build
54825
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
54805
@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
54826
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
54806
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
54827
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
54807
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
54828
 DEFINES["RTC_ENABLE_VP9"] = True
54808
 DEFINES["RTC_ENABLE_VP9"] = True
54829
+DEFINES["USE_GLIB"] = "1"
54809
+DEFINES["USE_GLIB"] = "1"
Lines 54844-54850 index 17db8ead56a7..bd926084a6ce 100644 Link Here
54844
 
54824
 
54845
 FINAL_LIBRARY = "xul"
54825
 FINAL_LIBRARY = "xul"
54846
 
54826
 
54847
@@ -46,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
54827
@@ -47,190 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
54848
 if CONFIG["MOZ_DEBUG"] == "1":
54828
 if CONFIG["MOZ_DEBUG"] == "1":
54849
 
54829
 
54850
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
54830
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 55042-55052 index 17db8ead56a7..bd926084a6ce 100644 Link Here
55042
 
55022
 
55043
 Library("audio_buffer_gn")
55023
 Library("audio_buffer_gn")
55044
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
55024
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
55045
index 8c5816304747..a21ed67082b0 100644
55025
index 062f65365d8d..c6e89fcf1c87 100644
55046
--- third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build
55026
--- third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build
55047
+++ third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build
55027
+++ third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build
55048
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
55028
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
55049
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
55029
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
55050
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
55030
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
55051
 DEFINES["RTC_ENABLE_VP9"] = True
55031
 DEFINES["RTC_ENABLE_VP9"] = True
55052
+DEFINES["USE_GLIB"] = "1"
55032
+DEFINES["USE_GLIB"] = "1"
Lines 55066-55072 index 8c5816304747..a21ed67082b0 100644 Link Here
55066
 
55046
 
55067
 FINAL_LIBRARY = "xul"
55047
 FINAL_LIBRARY = "xul"
55068
 
55048
 
55069
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
55049
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
55070
 if CONFIG["MOZ_DEBUG"] == "1":
55050
 if CONFIG["MOZ_DEBUG"] == "1":
55071
 
55051
 
55072
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
55052
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 55260-55270 index 8c5816304747..a21ed67082b0 100644 Link Here
55260
 
55240
 
55261
 Library("audio_frame_proxies_gn")
55241
 Library("audio_frame_proxies_gn")
55262
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
55242
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
55263
index f011e41ad837..cd71f405e9a4 100644
55243
index 66e92461dade..cca630b76705 100644
55264
--- third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build
55244
--- third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build
55265
+++ third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build
55245
+++ third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build
55266
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
55246
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
55267
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
55247
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
55268
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
55248
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
55269
 DEFINES["RTC_ENABLE_VP9"] = True
55249
 DEFINES["RTC_ENABLE_VP9"] = True
55270
+DEFINES["USE_GLIB"] = "1"
55250
+DEFINES["USE_GLIB"] = "1"
Lines 55284-55290 index f011e41ad837..cd71f405e9a4 100644 Link Here
55284
 
55264
 
55285
 FINAL_LIBRARY = "xul"
55265
 FINAL_LIBRARY = "xul"
55286
 
55266
 
55287
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
55267
@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
55288
 if CONFIG["MOZ_DEBUG"] == "1":
55268
 if CONFIG["MOZ_DEBUG"] == "1":
55289
 
55269
 
55290
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
55270
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 55405-55411 index f011e41ad837..cd71f405e9a4 100644 Link Here
55405
 
55385
 
55406
 if CONFIG["TARGET_CPU"] == "x86":
55386
 if CONFIG["TARGET_CPU"] == "x86":
55407
 
55387
 
55408
@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
55388
@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
55409
 
55389
 
55410
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
55390
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
55411
 
55391
 
Lines 55458-55468 index f011e41ad837..cd71f405e9a4 100644 Link Here
55458
-
55438
-
55459
 Library("audio_frame_view_gn")
55439
 Library("audio_frame_view_gn")
55460
diff --git third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build
55440
diff --git third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build
55461
index 95c38f0a6293..bf2444058ce4 100644
55441
index 10be557444b1..786ef149fe84 100644
55462
--- third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build
55442
--- third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build
55463
+++ third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build
55443
+++ third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build
55464
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
55444
@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
55465
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
55445
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
55466
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
55446
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
55467
 DEFINES["RTC_ENABLE_VP9"] = True
55447
 DEFINES["RTC_ENABLE_VP9"] = True
55468
+DEFINES["USE_GLIB"] = "1"
55448
+DEFINES["USE_GLIB"] = "1"
Lines 55483-55489 index 95c38f0a6293..bf2444058ce4 100644 Link Here
55483
 
55463
 
55484
 FINAL_LIBRARY = "xul"
55464
 FINAL_LIBRARY = "xul"
55485
 
55465
 
55486
@@ -49,190 +58,32 @@ if not CONFIG["MOZ_DEBUG"]:
55466
@@ -50,190 +59,32 @@ if not CONFIG["MOZ_DEBUG"]:
55487
 if CONFIG["MOZ_DEBUG"] == "1":
55467
 if CONFIG["MOZ_DEBUG"] == "1":
55488
 
55468
 
55489
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
55469
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 55681-55691 index 95c38f0a6293..bf2444058ce4 100644 Link Here
55681
 
55661
 
55682
 Library("audio_processing_gn")
55662
 Library("audio_processing_gn")
55683
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
55663
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
55684
index bfb581bfc19a..057ed5008fe2 100644
55664
index 7eabe2166f96..bc2da883b302 100644
55685
--- third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build
55665
--- third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build
55686
+++ third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build
55666
+++ third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build
55687
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
55667
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
55688
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
55668
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
55689
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
55669
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
55690
 DEFINES["RTC_ENABLE_VP9"] = True
55670
 DEFINES["RTC_ENABLE_VP9"] = True
55691
+DEFINES["USE_GLIB"] = "1"
55671
+DEFINES["USE_GLIB"] = "1"
Lines 55705-55711 index bfb581bfc19a..057ed5008fe2 100644 Link Here
55705
 
55685
 
55706
 FINAL_LIBRARY = "xul"
55686
 FINAL_LIBRARY = "xul"
55707
 
55687
 
55708
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
55688
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
55709
 if CONFIG["MOZ_DEBUG"] == "1":
55689
 if CONFIG["MOZ_DEBUG"] == "1":
55710
 
55690
 
55711
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
55691
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 55903-55913 index bfb581bfc19a..057ed5008fe2 100644 Link Here
55903
 
55883
 
55904
 Library("capture_levels_adjuster_gn")
55884
 Library("capture_levels_adjuster_gn")
55905
diff --git third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build
55885
diff --git third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build
55906
index 04d5bf230b3e..4190f76f185c 100644
55886
index 7c590c1c04e4..10ca80187523 100644
55907
--- third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build
55887
--- third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build
55908
+++ third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build
55888
+++ third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build
55909
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
55889
@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
55910
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
55890
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
55911
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
55891
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
55912
 DEFINES["RTC_ENABLE_VP9"] = True
55892
 DEFINES["RTC_ENABLE_VP9"] = True
55913
+DEFINES["USE_GLIB"] = "1"
55893
+DEFINES["USE_GLIB"] = "1"
Lines 55928-55934 index 04d5bf230b3e..4190f76f185c 100644 Link Here
55928
 
55908
 
55929
 FINAL_LIBRARY = "xul"
55909
 FINAL_LIBRARY = "xul"
55930
 
55910
 
55931
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
55911
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
55932
 if CONFIG["MOZ_DEBUG"] == "1":
55912
 if CONFIG["MOZ_DEBUG"] == "1":
55933
 
55913
 
55934
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
55914
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 56126-56136 index 04d5bf230b3e..4190f76f185c 100644 Link Here
56126
 
56106
 
56127
 Library("gain_controller2_gn")
56107
 Library("gain_controller2_gn")
56128
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
56108
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
56129
index d8f32b688d0b..44c2749058fa 100644
56109
index 2a5c6b124653..088eaeabf901 100644
56130
--- third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build
56110
--- third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build
56131
+++ third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build
56111
+++ third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build
56132
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
56112
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
56133
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
56113
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
56134
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
56114
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
56135
 DEFINES["RTC_ENABLE_VP9"] = True
56115
 DEFINES["RTC_ENABLE_VP9"] = True
56136
+DEFINES["USE_GLIB"] = "1"
56116
+DEFINES["USE_GLIB"] = "1"
Lines 56150-56156 index d8f32b688d0b..44c2749058fa 100644 Link Here
56150
 
56130
 
56151
 FINAL_LIBRARY = "xul"
56131
 FINAL_LIBRARY = "xul"
56152
 
56132
 
56153
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
56133
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
56154
 if CONFIG["MOZ_DEBUG"] == "1":
56134
 if CONFIG["MOZ_DEBUG"] == "1":
56155
 
56135
 
56156
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
56136
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 56348-56358 index d8f32b688d0b..44c2749058fa 100644 Link Here
56348
 
56328
 
56349
 Library("high_pass_filter_gn")
56329
 Library("high_pass_filter_gn")
56350
diff --git third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build
56330
diff --git third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build
56351
index cdb283be4f2b..4d8edc876b34 100644
56331
index cea8ba8d8132..b7191f1399a0 100644
56352
--- third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build
56332
--- third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build
56353
+++ third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build
56333
+++ third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build
56354
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
56334
@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
56355
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
56335
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
56356
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
56336
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
56357
 DEFINES["RTC_ENABLE_VP9"] = True
56337
 DEFINES["RTC_ENABLE_VP9"] = True
56358
+DEFINES["USE_GLIB"] = "1"
56338
+DEFINES["USE_GLIB"] = "1"
Lines 56373-56379 index cdb283be4f2b..4d8edc876b34 100644 Link Here
56373
 
56353
 
56374
 FINAL_LIBRARY = "xul"
56354
 FINAL_LIBRARY = "xul"
56375
 
56355
 
56376
@@ -56,190 +65,32 @@ if not CONFIG["MOZ_DEBUG"]:
56356
@@ -57,190 +66,32 @@ if not CONFIG["MOZ_DEBUG"]:
56377
 if CONFIG["MOZ_DEBUG"] == "1":
56357
 if CONFIG["MOZ_DEBUG"] == "1":
56378
 
56358
 
56379
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
56359
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 56571-56581 index cdb283be4f2b..4d8edc876b34 100644 Link Here
56571
 
56551
 
56572
 Library("ns_gn")
56552
 Library("ns_gn")
56573
diff --git third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build
56553
diff --git third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build
56574
index 35578fe55223..5cec24215df9 100644
56554
index c6d670a9716f..0b6a724bea6a 100644
56575
--- third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build
56555
--- third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build
56576
+++ third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build
56556
+++ third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build
56577
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
56557
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
56578
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
56558
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
56579
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
56559
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
56580
 DEFINES["RTC_ENABLE_VP9"] = True
56560
 DEFINES["RTC_ENABLE_VP9"] = True
56581
+DEFINES["USE_GLIB"] = "1"
56561
+DEFINES["USE_GLIB"] = "1"
Lines 56595-56601 index 35578fe55223..5cec24215df9 100644 Link Here
56595
 
56575
 
56596
 FINAL_LIBRARY = "xul"
56576
 FINAL_LIBRARY = "xul"
56597
 
56577
 
56598
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
56578
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
56599
 if CONFIG["MOZ_DEBUG"] == "1":
56579
 if CONFIG["MOZ_DEBUG"] == "1":
56600
 
56580
 
56601
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
56581
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 56782-56792 index 35578fe55223..5cec24215df9 100644 Link Here
56782
 
56762
 
56783
 Library("rms_level_gn")
56763
 Library("rms_level_gn")
56784
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
56764
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
56785
index 21cda458a6ce..cc9aa8a23789 100644
56765
index 9b82be1adb86..e85813c9141a 100644
56786
--- third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build
56766
--- third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build
56787
+++ third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build
56767
+++ third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build
56788
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
56768
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
56789
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
56769
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
56790
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
56770
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
56791
 DEFINES["RTC_ENABLE_VP9"] = True
56771
 DEFINES["RTC_ENABLE_VP9"] = True
56792
+DEFINES["USE_GLIB"] = "1"
56772
+DEFINES["USE_GLIB"] = "1"
Lines 56806-56812 index 21cda458a6ce..cc9aa8a23789 100644 Link Here
56806
 
56786
 
56807
 FINAL_LIBRARY = "xul"
56787
 FINAL_LIBRARY = "xul"
56808
 
56788
 
56809
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
56789
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
56810
 if CONFIG["MOZ_DEBUG"] == "1":
56790
 if CONFIG["MOZ_DEBUG"] == "1":
56811
 
56791
 
56812
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
56792
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 56993-57003 index 21cda458a6ce..cc9aa8a23789 100644 Link Here
56993
 
56973
 
56994
 Library("cascaded_biquad_filter_gn")
56974
 Library("cascaded_biquad_filter_gn")
56995
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
56975
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
56996
index f3d2ab4734e6..334ae5fcb19e 100644
56976
index 4692680bae55..dc7c1b23536a 100644
56997
--- third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build
56977
--- third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build
56998
+++ third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build
56978
+++ third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build
56999
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
56979
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
57000
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
56980
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
57001
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
56981
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
57002
 DEFINES["RTC_ENABLE_VP9"] = True
56982
 DEFINES["RTC_ENABLE_VP9"] = True
57003
+DEFINES["USE_GLIB"] = "1"
56983
+DEFINES["USE_GLIB"] = "1"
Lines 57017-57023 index f3d2ab4734e6..334ae5fcb19e 100644 Link Here
57017
 
56997
 
57018
 FINAL_LIBRARY = "xul"
56998
 FINAL_LIBRARY = "xul"
57019
 
56999
 
57020
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
57000
@@ -45,179 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
57021
 if CONFIG["MOZ_DEBUG"] == "1":
57001
 if CONFIG["MOZ_DEBUG"] == "1":
57022
 
57002
 
57023
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
57003
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 57204-57214 index f3d2ab4734e6..334ae5fcb19e 100644 Link Here
57204
 
57184
 
57205
 Library("legacy_delay_estimator_gn")
57185
 Library("legacy_delay_estimator_gn")
57206
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
57186
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
57207
index f56c3da34118..614e69397e87 100644
57187
index 609567fd1543..7a6396d4b7a7 100644
57208
--- third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build
57188
--- third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build
57209
+++ third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build
57189
+++ third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build
57210
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
57190
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
57211
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
57191
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
57212
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
57192
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
57213
 DEFINES["RTC_ENABLE_VP9"] = True
57193
 DEFINES["RTC_ENABLE_VP9"] = True
57214
+DEFINES["USE_GLIB"] = "1"
57194
+DEFINES["USE_GLIB"] = "1"
Lines 57228-57234 index f56c3da34118..614e69397e87 100644 Link Here
57228
 
57208
 
57229
 FINAL_LIBRARY = "xul"
57209
 FINAL_LIBRARY = "xul"
57230
 
57210
 
57231
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
57211
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
57232
 if CONFIG["MOZ_DEBUG"] == "1":
57212
 if CONFIG["MOZ_DEBUG"] == "1":
57233
 
57213
 
57234
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
57214
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 57415-57425 index f56c3da34118..614e69397e87 100644 Link Here
57415
 
57395
 
57416
 Library("pffft_wrapper_gn")
57396
 Library("pffft_wrapper_gn")
57417
diff --git third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build
57397
diff --git third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build
57418
index bbef9ef6246b..970ceced4e0c 100644
57398
index e18fa6a13dc5..651adb31c8f8 100644
57419
--- third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build
57399
--- third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build
57420
+++ third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build
57400
+++ third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build
57421
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
57401
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
57422
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
57402
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
57423
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
57403
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
57424
 DEFINES["RTC_ENABLE_VP9"] = True
57404
 DEFINES["RTC_ENABLE_VP9"] = True
57425
+DEFINES["USE_GLIB"] = "1"
57405
+DEFINES["USE_GLIB"] = "1"
Lines 57439-57445 index bbef9ef6246b..970ceced4e0c 100644 Link Here
57439
 
57419
 
57440
 FINAL_LIBRARY = "xul"
57420
 FINAL_LIBRARY = "xul"
57441
 
57421
 
57442
@@ -50,190 +59,32 @@ if not CONFIG["MOZ_DEBUG"]:
57422
@@ -51,190 +60,32 @@ if not CONFIG["MOZ_DEBUG"]:
57443
 if CONFIG["MOZ_DEBUG"] == "1":
57423
 if CONFIG["MOZ_DEBUG"] == "1":
57444
 
57424
 
57445
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
57425
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 57637-57647 index bbef9ef6246b..970ceced4e0c 100644 Link Here
57637
 
57617
 
57638
 Library("vad_gn")
57618
 Library("vad_gn")
57639
diff --git third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build
57619
diff --git third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build
57640
index 4389423238bc..539536626c14 100644
57620
index d445a31d3fc0..6003c6b22afb 100644
57641
--- third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build
57621
--- third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build
57642
+++ third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build
57622
+++ third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build
57643
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
57623
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
57644
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
57624
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
57645
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
57625
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
57646
 DEFINES["RTC_ENABLE_VP9"] = True
57626
 DEFINES["RTC_ENABLE_VP9"] = True
57647
+DEFINES["USE_GLIB"] = "1"
57627
+DEFINES["USE_GLIB"] = "1"
Lines 57661-57667 index 4389423238bc..539536626c14 100644 Link Here
57661
 
57641
 
57662
 FINAL_LIBRARY = "xul"
57642
 FINAL_LIBRARY = "xul"
57663
 
57643
 
57664
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
57644
@@ -45,191 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
57665
 if CONFIG["MOZ_DEBUG"] == "1":
57645
 if CONFIG["MOZ_DEBUG"] == "1":
57666
 
57646
 
57667
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
57647
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 57860-57870 index 4389423238bc..539536626c14 100644 Link Here
57860
 
57840
 
57861
 Library("congestion_controller_gn")
57841
 Library("congestion_controller_gn")
57862
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
57842
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
57863
index c4ea2411dd35..00d812745382 100644
57843
index 15b360f97098..7565e2a3de43 100644
57864
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build
57844
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build
57865
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build
57845
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build
57866
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
57846
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
57867
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
57847
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
57868
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
57848
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
57869
 DEFINES["RTC_ENABLE_VP9"] = True
57849
 DEFINES["RTC_ENABLE_VP9"] = True
57870
+DEFINES["USE_GLIB"] = "1"
57850
+DEFINES["USE_GLIB"] = "1"
Lines 57884-57890 index c4ea2411dd35..00d812745382 100644 Link Here
57884
 
57864
 
57885
 FINAL_LIBRARY = "xul"
57865
 FINAL_LIBRARY = "xul"
57886
 
57866
 
57887
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
57867
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
57888
 if CONFIG["MOZ_DEBUG"] == "1":
57868
 if CONFIG["MOZ_DEBUG"] == "1":
57889
 
57869
 
57890
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
57870
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 58078-58088 index c4ea2411dd35..00d812745382 100644 Link Here
58078
 
58058
 
58079
 Library("alr_detector_gn")
58059
 Library("alr_detector_gn")
58080
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
58060
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
58081
index b6288b8b9dba..b299425379f1 100644
58061
index dcc10a6e047f..3ee2ade0e6e2 100644
58082
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build
58062
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build
58083
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build
58063
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build
58084
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
58064
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
58085
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
58065
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
58086
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
58066
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
58087
 DEFINES["RTC_ENABLE_VP9"] = True
58067
 DEFINES["RTC_ENABLE_VP9"] = True
58088
+DEFINES["USE_GLIB"] = "1"
58068
+DEFINES["USE_GLIB"] = "1"
Lines 58102-58108 index b6288b8b9dba..b299425379f1 100644 Link Here
58102
 
58082
 
58103
 FINAL_LIBRARY = "xul"
58083
 FINAL_LIBRARY = "xul"
58104
 
58084
 
58105
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
58085
@@ -45,191 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
58106
 if CONFIG["MOZ_DEBUG"] == "1":
58086
 if CONFIG["MOZ_DEBUG"] == "1":
58107
 
58087
 
58108
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
58088
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 58301-58311 index b6288b8b9dba..b299425379f1 100644 Link Here
58301
 
58281
 
58302
 Library("delay_based_bwe_gn")
58282
 Library("delay_based_bwe_gn")
58303
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
58283
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
58304
index 7b91bffbc132..c7ad21c9a567 100644
58284
index cba0035df095..b05566a84bd9 100644
58305
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build
58285
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build
58306
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build
58286
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build
58307
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
58287
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
58308
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
58288
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
58309
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
58289
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
58310
 DEFINES["RTC_ENABLE_VP9"] = True
58290
 DEFINES["RTC_ENABLE_VP9"] = True
58311
+DEFINES["USE_GLIB"] = "1"
58291
+DEFINES["USE_GLIB"] = "1"
Lines 58325-58331 index 7b91bffbc132..c7ad21c9a567 100644 Link Here
58325
 
58305
 
58326
 FINAL_LIBRARY = "xul"
58306
 FINAL_LIBRARY = "xul"
58327
 
58307
 
58328
@@ -48,190 +57,32 @@ if not CONFIG["MOZ_DEBUG"]:
58308
@@ -49,190 +58,32 @@ if not CONFIG["MOZ_DEBUG"]:
58329
 if CONFIG["MOZ_DEBUG"] == "1":
58309
 if CONFIG["MOZ_DEBUG"] == "1":
58330
 
58310
 
58331
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
58311
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 58523-58533 index 7b91bffbc132..c7ad21c9a567 100644 Link Here
58523
 
58503
 
58524
 Library("estimators_gn")
58504
 Library("estimators_gn")
58525
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
58505
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
58526
index 31f5270f937c..252a984262aa 100644
58506
index 52ac4f397915..9c83648d1d91 100644
58527
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build
58507
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build
58528
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build
58508
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build
58529
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
58509
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
58530
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
58510
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
58531
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
58511
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
58532
 DEFINES["RTC_ENABLE_VP9"] = True
58512
 DEFINES["RTC_ENABLE_VP9"] = True
58533
+DEFINES["USE_GLIB"] = "1"
58513
+DEFINES["USE_GLIB"] = "1"
Lines 58547-58553 index 31f5270f937c..252a984262aa 100644 Link Here
58547
 
58527
 
58548
 FINAL_LIBRARY = "xul"
58528
 FINAL_LIBRARY = "xul"
58549
 
58529
 
58550
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
58530
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
58551
 if CONFIG["MOZ_DEBUG"] == "1":
58531
 if CONFIG["MOZ_DEBUG"] == "1":
58552
 
58532
 
58553
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
58533
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 58746-58756 index 31f5270f937c..252a984262aa 100644 Link Here
58746
 
58726
 
58747
 Library("goog_cc_gn")
58727
 Library("goog_cc_gn")
58748
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
58728
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
58749
index d34cc09be9ab..809519d72971 100644
58729
index 116a29107a5f..210869b7d740 100644
58750
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build
58730
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build
58751
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build
58731
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build
58752
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
58732
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
58753
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
58733
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
58754
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
58734
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
58755
 DEFINES["RTC_ENABLE_VP9"] = True
58735
 DEFINES["RTC_ENABLE_VP9"] = True
58756
+DEFINES["USE_GLIB"] = "1"
58736
+DEFINES["USE_GLIB"] = "1"
Lines 58770-58776 index d34cc09be9ab..809519d72971 100644 Link Here
58770
 
58750
 
58771
 FINAL_LIBRARY = "xul"
58751
 FINAL_LIBRARY = "xul"
58772
 
58752
 
58773
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
58753
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
58774
 if CONFIG["MOZ_DEBUG"] == "1":
58754
 if CONFIG["MOZ_DEBUG"] == "1":
58775
 
58755
 
58776
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
58756
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 58957-58967 index d34cc09be9ab..809519d72971 100644 Link Here
58957
 
58937
 
58958
 Library("link_capacity_estimator_gn")
58938
 Library("link_capacity_estimator_gn")
58959
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
58939
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
58960
index 6be492d21600..50730ce0d2ae 100644
58940
index 35f9c99e87f4..4886c9836d50 100644
58961
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build
58941
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build
58962
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build
58942
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build
58963
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
58943
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
58964
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
58944
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
58965
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
58945
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
58966
 DEFINES["RTC_ENABLE_VP9"] = True
58946
 DEFINES["RTC_ENABLE_VP9"] = True
58967
+DEFINES["USE_GLIB"] = "1"
58947
+DEFINES["USE_GLIB"] = "1"
Lines 58981-58987 index 6be492d21600..50730ce0d2ae 100644 Link Here
58981
 
58961
 
58982
 FINAL_LIBRARY = "xul"
58962
 FINAL_LIBRARY = "xul"
58983
 
58963
 
58984
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
58964
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
58985
 if CONFIG["MOZ_DEBUG"] == "1":
58965
 if CONFIG["MOZ_DEBUG"] == "1":
58986
 
58966
 
58987
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
58967
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 59175-59185 index 6be492d21600..50730ce0d2ae 100644 Link Here
59175
 
59155
 
59176
 Library("loss_based_bwe_v1_gn")
59156
 Library("loss_based_bwe_v1_gn")
59177
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
59157
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
59178
index cc47dffd8409..faba241a563f 100644
59158
index 6ce1de1fa51c..0bc507c37d93 100644
59179
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2_gn/moz.build
59159
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2_gn/moz.build
59180
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2_gn/moz.build
59160
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2_gn/moz.build
59181
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
59161
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
59182
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
59162
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
59183
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
59163
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
59184
 DEFINES["RTC_ENABLE_VP9"] = True
59164
 DEFINES["RTC_ENABLE_VP9"] = True
59185
+DEFINES["USE_GLIB"] = "1"
59165
+DEFINES["USE_GLIB"] = "1"
Lines 59199-59205 index cc47dffd8409..faba241a563f 100644 Link Here
59199
 
59179
 
59200
 FINAL_LIBRARY = "xul"
59180
 FINAL_LIBRARY = "xul"
59201
 
59181
 
59202
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
59182
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
59203
 if CONFIG["MOZ_DEBUG"] == "1":
59183
 if CONFIG["MOZ_DEBUG"] == "1":
59204
 
59184
 
59205
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
59185
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 59397-59407 index cc47dffd8409..faba241a563f 100644 Link Here
59397
 
59377
 
59398
 Library("loss_based_bwe_v2_gn")
59378
 Library("loss_based_bwe_v2_gn")
59399
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
59379
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
59400
index 342ac79b6a57..f22d4ec35dad 100644
59380
index 28aacf038f32..d8bd001c8e6d 100644
59401
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build
59381
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build
59402
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build
59382
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build
59403
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
59383
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
59404
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
59384
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
59405
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
59385
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
59406
 DEFINES["RTC_ENABLE_VP9"] = True
59386
 DEFINES["RTC_ENABLE_VP9"] = True
59407
+DEFINES["USE_GLIB"] = "1"
59387
+DEFINES["USE_GLIB"] = "1"
Lines 59421-59427 index 342ac79b6a57..f22d4ec35dad 100644 Link Here
59421
 
59401
 
59422
 FINAL_LIBRARY = "xul"
59402
 FINAL_LIBRARY = "xul"
59423
 
59403
 
59424
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
59404
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
59425
 if CONFIG["MOZ_DEBUG"] == "1":
59405
 if CONFIG["MOZ_DEBUG"] == "1":
59426
 
59406
 
59427
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
59407
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 59615-59625 index 342ac79b6a57..f22d4ec35dad 100644 Link Here
59615
 
59595
 
59616
 Library("probe_controller_gn")
59596
 Library("probe_controller_gn")
59617
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
59597
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
59618
index b04648d2b179..011e410cf1ee 100644
59598
index ac8867e70538..529154c4b5e7 100644
59619
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build
59599
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build
59620
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build
59600
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build
59621
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
59601
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
59622
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
59602
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
59623
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
59603
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
59624
 DEFINES["RTC_ENABLE_VP9"] = True
59604
 DEFINES["RTC_ENABLE_VP9"] = True
59625
+DEFINES["USE_GLIB"] = "1"
59605
+DEFINES["USE_GLIB"] = "1"
Lines 59639-59645 index b04648d2b179..011e410cf1ee 100644 Link Here
59639
 
59619
 
59640
 FINAL_LIBRARY = "xul"
59620
 FINAL_LIBRARY = "xul"
59641
 
59621
 
59642
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
59622
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
59643
 if CONFIG["MOZ_DEBUG"] == "1":
59623
 if CONFIG["MOZ_DEBUG"] == "1":
59644
 
59624
 
59645
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
59625
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 59833-59843 index b04648d2b179..011e410cf1ee 100644 Link Here
59833
 
59813
 
59834
 Library("pushback_controller_gn")
59814
 Library("pushback_controller_gn")
59835
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
59815
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
59836
index fd539cda7a7c..c8199d07d582 100644
59816
index 7d00add70158..383d7aa7785b 100644
59837
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build
59817
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build
59838
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build
59818
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build
59839
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
59819
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
59840
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
59820
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
59841
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
59821
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
59842
 DEFINES["RTC_ENABLE_VP9"] = True
59822
 DEFINES["RTC_ENABLE_VP9"] = True
59843
+DEFINES["USE_GLIB"] = "1"
59823
+DEFINES["USE_GLIB"] = "1"
Lines 59857-59863 index fd539cda7a7c..c8199d07d582 100644 Link Here
59857
 
59837
 
59858
 FINAL_LIBRARY = "xul"
59838
 FINAL_LIBRARY = "xul"
59859
 
59839
 
59860
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
59840
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
59861
 if CONFIG["MOZ_DEBUG"] == "1":
59841
 if CONFIG["MOZ_DEBUG"] == "1":
59862
 
59842
 
59863
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
59843
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 60055-60065 index fd539cda7a7c..c8199d07d582 100644 Link Here
60055
 
60035
 
60056
 Library("send_side_bwe_gn")
60036
 Library("send_side_bwe_gn")
60057
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
60037
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
60058
index d749ed805f5f..66924e80dc84 100644
60038
index e851772ea7b7..97574a0d1d13 100644
60059
--- third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build
60039
--- third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build
60060
+++ third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build
60040
+++ third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build
60061
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
60041
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
60062
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
60042
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
60063
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
60043
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
60064
 DEFINES["RTC_ENABLE_VP9"] = True
60044
 DEFINES["RTC_ENABLE_VP9"] = True
60065
+DEFINES["USE_GLIB"] = "1"
60045
+DEFINES["USE_GLIB"] = "1"
Lines 60079-60085 index d749ed805f5f..66924e80dc84 100644 Link Here
60079
 
60059
 
60080
 FINAL_LIBRARY = "xul"
60060
 FINAL_LIBRARY = "xul"
60081
 
60061
 
60082
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
60062
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
60083
 if CONFIG["MOZ_DEBUG"] == "1":
60063
 if CONFIG["MOZ_DEBUG"] == "1":
60084
 
60064
 
60085
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
60065
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 60278-60288 index d749ed805f5f..66924e80dc84 100644 Link Here
60278
 
60258
 
60279
 Library("control_handler_gn")
60259
 Library("control_handler_gn")
60280
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
60260
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
60281
index 28fb2063158d..b1b80eca85cc 100644
60261
index d86d84b32b52..5a4efa68c0c2 100644
60282
--- third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build
60262
--- third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build
60283
+++ third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build
60263
+++ third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build
60284
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
60264
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
60285
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
60265
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
60286
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
60266
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
60287
 DEFINES["RTC_ENABLE_VP9"] = True
60267
 DEFINES["RTC_ENABLE_VP9"] = True
60288
+DEFINES["USE_GLIB"] = "1"
60268
+DEFINES["USE_GLIB"] = "1"
Lines 60302-60308 index 28fb2063158d..b1b80eca85cc 100644 Link Here
60302
 
60282
 
60303
 FINAL_LIBRARY = "xul"
60283
 FINAL_LIBRARY = "xul"
60304
 
60284
 
60305
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
60285
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
60306
 if CONFIG["MOZ_DEBUG"] == "1":
60286
 if CONFIG["MOZ_DEBUG"] == "1":
60307
 
60287
 
60308
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
60288
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 60500-60510 index 28fb2063158d..b1b80eca85cc 100644 Link Here
60500
 
60480
 
60501
 Library("transport_feedback_gn")
60481
 Library("transport_feedback_gn")
60502
diff --git third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build
60482
diff --git third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build
60503
index 9cbeb68d6f40..0feadf987590 100644
60483
index a467463de4d3..3c0d102a3516 100644
60504
--- third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build
60484
--- third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build
60505
+++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build
60485
+++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build
60506
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
60486
@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
60507
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
60487
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
60508
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
60488
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
60509
 DEFINES["RTC_ENABLE_VP9"] = True
60489
 DEFINES["RTC_ENABLE_VP9"] = True
60510
+DEFINES["USE_GLIB"] = "1"
60490
+DEFINES["USE_GLIB"] = "1"
Lines 60525-60531 index 9cbeb68d6f40..0feadf987590 100644 Link Here
60525
 
60505
 
60526
 FINAL_LIBRARY = "xul"
60506
 FINAL_LIBRARY = "xul"
60527
 
60507
 
60528
@@ -44,111 +53,23 @@ if not CONFIG["MOZ_DEBUG"]:
60508
@@ -45,111 +54,23 @@ if not CONFIG["MOZ_DEBUG"]:
60529
 if CONFIG["MOZ_DEBUG"] == "1":
60509
 if CONFIG["MOZ_DEBUG"] == "1":
60530
 
60510
 
60531
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
60511
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 60643-60653 index 9cbeb68d6f40..0feadf987590 100644 Link Here
60643
-
60623
-
60644
 Library("desktop_capture_differ_sse2_gn")
60624
 Library("desktop_capture_differ_sse2_gn")
60645
diff --git third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
60625
diff --git third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
60646
index 60ff9cd6526d..c14bbe8d54c3 100644
60626
index d297254b8692..6ac10d4662d8 100644
60647
--- third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
60627
--- third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
60648
+++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
60628
+++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
60649
@@ -14,11 +14,20 @@ AllowCompilerWarnings()
60629
@@ -25,11 +25,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
60650
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
60630
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
60651
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
60631
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
60652
 DEFINES["RTC_ENABLE_VP9"] = True
60632
 DEFINES["RTC_ENABLE_VP9"] = True
60653
+DEFINES["USE_GLIB"] = "1"
60633
+DEFINES["USE_GLIB"] = "1"
Lines 60667-60673 index 60ff9cd6526d..c14bbe8d54c3 100644 Link Here
60667
 
60647
 
60668
 FINAL_LIBRARY = "xul"
60648
 FINAL_LIBRARY = "xul"
60669
 
60649
 
60670
@@ -70,186 +79,13 @@ if not CONFIG["MOZ_DEBUG"]:
60650
@@ -81,186 +90,13 @@ if not CONFIG["MOZ_DEBUG"]:
60671
 if CONFIG["MOZ_DEBUG"] == "1":
60651
 if CONFIG["MOZ_DEBUG"] == "1":
60672
 
60652
 
60673
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
60653
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 60855-60861 index 60ff9cd6526d..c14bbe8d54c3 100644 Link Here
60855
 
60835
 
60856
     LOCAL_INCLUDES += [
60836
     LOCAL_INCLUDES += [
60857
         "/gfx/angle/checkout/include/",
60837
         "/gfx/angle/checkout/include/",
60858
@@ -262,7 +98,8 @@ if CONFIG["TARGET_CPU"] == "arm":
60838
@@ -268,7 +104,8 @@ if CONFIG["TARGET_CPU"] == "arm":
60859
     ]
60839
     ]
60860
 
60840
 
60861
     SOURCES += [
60841
     SOURCES += [
Lines 60865-60871 index 60ff9cd6526d..c14bbe8d54c3 100644 Link Here
60865
     ]
60845
     ]
60866
 
60846
 
60867
     UNIFIED_SOURCES += [
60847
     UNIFIED_SOURCES += [
60868
@@ -272,36 +109,9 @@ if CONFIG["TARGET_CPU"] == "arm":
60848
@@ -278,36 +115,9 @@ if CONFIG["TARGET_CPU"] == "arm":
60869
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
60849
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
60870
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
60850
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
60871
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
60851
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
Lines 60905-60911 index 60ff9cd6526d..c14bbe8d54c3 100644 Link Here
60905
     ]
60885
     ]
60906
 
60886
 
60907
 if CONFIG["TARGET_CPU"] == "mips32":
60887
 if CONFIG["TARGET_CPU"] == "mips32":
60908
@@ -309,7 +119,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
60888
@@ -315,7 +125,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
60909
     DEFINES["MIPS32_LE"] = True
60889
     DEFINES["MIPS32_LE"] = True
60910
     DEFINES["MIPS_FPU_LE"] = True
60890
     DEFINES["MIPS_FPU_LE"] = True
60911
     DEFINES["WEBRTC_USE_PIPEWIRE"] = True
60891
     DEFINES["WEBRTC_USE_PIPEWIRE"] = True
Lines 60913-60919 index 60ff9cd6526d..c14bbe8d54c3 100644 Link Here
60913
 
60893
 
60914
     LOCAL_INCLUDES += [
60894
     LOCAL_INCLUDES += [
60915
         "/gfx/angle/checkout/include/",
60895
         "/gfx/angle/checkout/include/",
60916
@@ -322,7 +131,8 @@ if CONFIG["TARGET_CPU"] == "mips32":
60896
@@ -323,7 +132,8 @@ if CONFIG["TARGET_CPU"] == "mips32":
60917
     ]
60897
     ]
60918
 
60898
 
60919
     SOURCES += [
60899
     SOURCES += [
Lines 60923-60929 index 60ff9cd6526d..c14bbe8d54c3 100644 Link Here
60923
     ]
60903
     ]
60924
 
60904
 
60925
     UNIFIED_SOURCES += [
60905
     UNIFIED_SOURCES += [
60926
@@ -332,13 +142,14 @@ if CONFIG["TARGET_CPU"] == "mips32":
60906
@@ -333,13 +143,14 @@ if CONFIG["TARGET_CPU"] == "mips32":
60927
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
60907
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
60928
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
60908
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
60929
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
60909
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
Lines 60940-60946 index 60ff9cd6526d..c14bbe8d54c3 100644 Link Here
60940
 
60920
 
60941
     LOCAL_INCLUDES += [
60921
     LOCAL_INCLUDES += [
60942
         "/gfx/angle/checkout/include/",
60922
         "/gfx/angle/checkout/include/",
60943
@@ -351,7 +162,8 @@ if CONFIG["TARGET_CPU"] == "mips64":
60923
@@ -347,7 +158,8 @@ if CONFIG["TARGET_CPU"] == "mips64":
60944
     ]
60924
     ]
60945
 
60925
 
60946
     SOURCES += [
60926
     SOURCES += [
Lines 60950-60956 index 60ff9cd6526d..c14bbe8d54c3 100644 Link Here
60950
     ]
60930
     ]
60951
 
60931
 
60952
     UNIFIED_SOURCES += [
60932
     UNIFIED_SOURCES += [
60953
@@ -361,126 +173,19 @@ if CONFIG["TARGET_CPU"] == "mips64":
60933
@@ -357,121 +169,19 @@ if CONFIG["TARGET_CPU"] == "mips64":
60954
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
60934
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
60955
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
60935
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
60956
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
60936
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
Lines 61019-61030 index 60ff9cd6526d..c14bbe8d54c3 100644 Link Here
61019
-
60999
-
61020
-    LOCAL_INCLUDES += [
61000
-    LOCAL_INCLUDES += [
61021
-        "/gfx/angle/checkout/include/",
61001
-        "/gfx/angle/checkout/include/",
61022
-        "/third_party/drm/drm/",
61002
-        "/third_party/libepoxy/libepoxy/include/"
61023
-        "/third_party/drm/drm/include/",
61024
-        "/third_party/drm/drm/include/libdrm/",
61025
-        "/third_party/gbm/gbm/",
61026
-        "/third_party/libepoxy/libepoxy/include/",
61027
-        "/third_party/pipewire/"
61028
-    ]
61003
-    ]
61029
-
61004
-
61030
-    SOURCES += [
61005
-    SOURCES += [
Lines 61081-61087 index 60ff9cd6526d..c14bbe8d54c3 100644 Link Here
61081
 
61056
 
61082
     LOCAL_INCLUDES += [
61057
     LOCAL_INCLUDES += [
61083
         "/gfx/angle/checkout/include/",
61058
         "/gfx/angle/checkout/include/",
61084
@@ -493,7 +198,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
61059
@@ -479,7 +189,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
61085
     ]
61060
     ]
61086
 
61061
 
61087
     SOURCES += [
61062
     SOURCES += [
Lines 61091-61097 index 60ff9cd6526d..c14bbe8d54c3 100644 Link Here
61091
     ]
61066
     ]
61092
 
61067
 
61093
     UNIFIED_SOURCES += [
61068
     UNIFIED_SOURCES += [
61094
@@ -503,13 +209,15 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
61069
@@ -489,13 +200,15 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
61095
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
61070
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
61096
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
61071
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
61097
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
61072
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
Lines 61110-61116 index 60ff9cd6526d..c14bbe8d54c3 100644 Link Here
61110
 
61085
 
61111
     LOCAL_INCLUDES += [
61086
     LOCAL_INCLUDES += [
61112
         "/gfx/angle/checkout/include/",
61087
         "/gfx/angle/checkout/include/",
61113
@@ -522,7 +230,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
61088
@@ -503,7 +216,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
61114
     ]
61089
     ]
61115
 
61090
 
61116
     SOURCES += [
61091
     SOURCES += [
Lines 61120-61126 index 60ff9cd6526d..c14bbe8d54c3 100644 Link Here
61120
     ]
61095
     ]
61121
 
61096
 
61122
     UNIFIED_SOURCES += [
61097
     UNIFIED_SOURCES += [
61123
@@ -532,10 +241,12 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
61098
@@ -513,10 +227,12 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
61124
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
61099
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
61125
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
61100
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
61126
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
61101
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
Lines 61135-61141 index 60ff9cd6526d..c14bbe8d54c3 100644 Link Here
61135
 
61110
 
61136
     DEFINES["USE_X11"] = "1"
61111
     DEFINES["USE_X11"] = "1"
61137
     DEFINES["WEBRTC_USE_X11"] = True
61112
     DEFINES["WEBRTC_USE_X11"] = True
61138
@@ -563,144 +274,61 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGE
61113
@@ -544,144 +260,61 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGE
61139
         "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
61114
         "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
61140
     ]
61115
     ]
61141
 
61116
 
Lines 61172-61182 index 60ff9cd6526d..c14bbe8d54c3 100644 Link Here
61172
     ]
61147
     ]
61173
 
61148
 
61174
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips32":
61149
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips32":
61175
-
61176
-    DEFINES["USE_X11"] = "1"
61177
-    DEFINES["WEBRTC_USE_X11"] = True
61178
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "loongarch64":
61150
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "loongarch64":
61179
 
61151
 
61152
-    DEFINES["USE_X11"] = "1"
61153
-    DEFINES["WEBRTC_USE_X11"] = True
61154
-
61180
-    OS_LIBS += [
61155
-    OS_LIBS += [
61181
-        "X11",
61156
-        "X11",
61182
-        "Xcomposite",
61157
-        "Xcomposite",
Lines 61237-61247 index 60ff9cd6526d..c14bbe8d54c3 100644 Link Here
61237
     ]
61212
     ]
61238
 
61213
 
61239
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
61214
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
61240
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "ppc64":
61215
-
61241
 
61242
-    DEFINES["USE_X11"] = "1"
61216
-    DEFINES["USE_X11"] = "1"
61243
-    DEFINES["WEBRTC_USE_X11"] = True
61217
-    DEFINES["WEBRTC_USE_X11"] = True
61244
-
61218
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "ppc64":
61219
 
61245
-    OS_LIBS += [
61220
-    OS_LIBS += [
61246
-        "X11",
61221
-        "X11",
61247
-        "Xcomposite",
61222
-        "Xcomposite",
Lines 61312-61321 index 60ff9cd6526d..c14bbe8d54c3 100644 Link Here
61312
 Library("desktop_capture_gn")
61287
 Library("desktop_capture_gn")
61313
diff --git third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build
61288
diff --git third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build
61314
deleted file mode 100644
61289
deleted file mode 100644
61315
index a8051a1743d1..000000000000
61290
index 6dfb588a9b3e..000000000000
61316
--- third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build
61291
--- third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build
61317
+++ /dev/null
61292
+++ /dev/null
61318
@@ -1,79 +0,0 @@
61293
@@ -1,80 +0,0 @@
61319
-# This Source Code Form is subject to the terms of the Mozilla Public
61294
-# This Source Code Form is subject to the terms of the Mozilla Public
61320
-# License, v. 2.0. If a copy of the MPL was not distributed with this
61295
-# License, v. 2.0. If a copy of the MPL was not distributed with this
61321
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
61296
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
Lines 61332-61337 index a8051a1743d1..000000000000 Link Here
61332
-AllowCompilerWarnings()
61307
-AllowCompilerWarnings()
61333
-
61308
-
61334
-DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
61309
-DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
61310
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
61335
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
61311
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
61336
-DEFINES["RTC_ENABLE_VP9"] = True
61312
-DEFINES["RTC_ENABLE_VP9"] = True
61337
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
61313
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
Lines 61396-61406 index a8051a1743d1..000000000000 Link Here
61396
-
61372
-
61397
-Library("desktop_capture_objc_gn")
61373
-Library("desktop_capture_objc_gn")
61398
diff --git third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build
61374
diff --git third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build
61399
index 6795abb4c898..4b4aca6ade46 100644
61375
index 72bf241d547a..ad186a14f80e 100644
61400
--- third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build
61376
--- third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build
61401
+++ third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build
61377
+++ third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build
61402
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
61378
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
61403
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
61379
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
61404
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
61380
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
61405
 DEFINES["RTC_ENABLE_VP9"] = True
61381
 DEFINES["RTC_ENABLE_VP9"] = True
61406
+DEFINES["USE_GLIB"] = "1"
61382
+DEFINES["USE_GLIB"] = "1"
Lines 61420-61426 index 6795abb4c898..4b4aca6ade46 100644 Link Here
61420
 
61396
 
61421
 FINAL_LIBRARY = "xul"
61397
 FINAL_LIBRARY = "xul"
61422
 
61398
 
61423
@@ -49,171 +58,31 @@ if not CONFIG["MOZ_DEBUG"]:
61399
@@ -50,171 +59,31 @@ if not CONFIG["MOZ_DEBUG"]:
61424
 if CONFIG["MOZ_DEBUG"] == "1":
61400
 if CONFIG["MOZ_DEBUG"] == "1":
61425
 
61401
 
61426
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
61402
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 61598-61608 index 6795abb4c898..4b4aca6ade46 100644 Link Here
61598
     DEFINES["USE_X11"] = "1"
61574
     DEFINES["USE_X11"] = "1"
61599
 
61575
 
61600
diff --git third_party/libwebrtc/modules/module_api_gn/moz.build third_party/libwebrtc/modules/module_api_gn/moz.build
61576
diff --git third_party/libwebrtc/modules/module_api_gn/moz.build third_party/libwebrtc/modules/module_api_gn/moz.build
61601
index 60c0ed877863..ab93d8e54775 100644
61577
index c74dc2329ad2..05900bc205d7 100644
61602
--- third_party/libwebrtc/modules/module_api_gn/moz.build
61578
--- third_party/libwebrtc/modules/module_api_gn/moz.build
61603
+++ third_party/libwebrtc/modules/module_api_gn/moz.build
61579
+++ third_party/libwebrtc/modules/module_api_gn/moz.build
61604
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
61580
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
61605
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
61581
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
61606
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
61582
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
61607
 DEFINES["RTC_ENABLE_VP9"] = True
61583
 DEFINES["RTC_ENABLE_VP9"] = True
61608
+DEFINES["USE_GLIB"] = "1"
61584
+DEFINES["USE_GLIB"] = "1"
Lines 61622-61628 index 60c0ed877863..ab93d8e54775 100644 Link Here
61622
 
61598
 
61623
 FINAL_LIBRARY = "xul"
61599
 FINAL_LIBRARY = "xul"
61624
 
61600
 
61625
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
61601
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
61626
 if CONFIG["MOZ_DEBUG"] == "1":
61602
 if CONFIG["MOZ_DEBUG"] == "1":
61627
 
61603
 
61628
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
61604
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 61732-61738 index 60c0ed877863..ab93d8e54775 100644 Link Here
61732
 
61708
 
61733
 if CONFIG["TARGET_CPU"] == "x86":
61709
 if CONFIG["TARGET_CPU"] == "x86":
61734
 
61710
 
61735
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
61711
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
61736
 
61712
 
61737
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
61713
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
61738
 
61714
 
Lines 61785-61795 index 60c0ed877863..ab93d8e54775 100644 Link Here
61785
-
61761
-
61786
 Library("module_api_gn")
61762
 Library("module_api_gn")
61787
diff --git third_party/libwebrtc/modules/module_api_public_gn/moz.build third_party/libwebrtc/modules/module_api_public_gn/moz.build
61763
diff --git third_party/libwebrtc/modules/module_api_public_gn/moz.build third_party/libwebrtc/modules/module_api_public_gn/moz.build
61788
index 2c28b0b1c0ff..b0af3d0bc389 100644
61764
index 2eda098fe6fe..e83796e2fe16 100644
61789
--- third_party/libwebrtc/modules/module_api_public_gn/moz.build
61765
--- third_party/libwebrtc/modules/module_api_public_gn/moz.build
61790
+++ third_party/libwebrtc/modules/module_api_public_gn/moz.build
61766
+++ third_party/libwebrtc/modules/module_api_public_gn/moz.build
61791
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
61767
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
61792
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
61768
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
61793
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
61769
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
61794
 DEFINES["RTC_ENABLE_VP9"] = True
61770
 DEFINES["RTC_ENABLE_VP9"] = True
61795
+DEFINES["USE_GLIB"] = "1"
61771
+DEFINES["USE_GLIB"] = "1"
Lines 61809-61815 index 2c28b0b1c0ff..b0af3d0bc389 100644 Link Here
61809
 
61785
 
61810
 FINAL_LIBRARY = "xul"
61786
 FINAL_LIBRARY = "xul"
61811
 
61787
 
61812
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
61788
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
61813
 if CONFIG["MOZ_DEBUG"] == "1":
61789
 if CONFIG["MOZ_DEBUG"] == "1":
61814
 
61790
 
61815
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
61791
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 61919-61925 index 2c28b0b1c0ff..b0af3d0bc389 100644 Link Here
61919
 
61895
 
61920
 if CONFIG["TARGET_CPU"] == "x86":
61896
 if CONFIG["TARGET_CPU"] == "x86":
61921
 
61897
 
61922
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
61898
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
61923
 
61899
 
61924
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
61900
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
61925
 
61901
 
Lines 61972-61982 index 2c28b0b1c0ff..b0af3d0bc389 100644 Link Here
61972
-
61948
-
61973
 Library("module_api_public_gn")
61949
 Library("module_api_public_gn")
61974
diff --git third_party/libwebrtc/modules/module_fec_api_gn/moz.build third_party/libwebrtc/modules/module_fec_api_gn/moz.build
61950
diff --git third_party/libwebrtc/modules/module_fec_api_gn/moz.build third_party/libwebrtc/modules/module_fec_api_gn/moz.build
61975
index a1eca74eaad1..f8b949dcfe2c 100644
61951
index d2c1054abbb3..aacac81ad58d 100644
61976
--- third_party/libwebrtc/modules/module_fec_api_gn/moz.build
61952
--- third_party/libwebrtc/modules/module_fec_api_gn/moz.build
61977
+++ third_party/libwebrtc/modules/module_fec_api_gn/moz.build
61953
+++ third_party/libwebrtc/modules/module_fec_api_gn/moz.build
61978
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
61954
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
61979
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
61955
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
61980
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
61956
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
61981
 DEFINES["RTC_ENABLE_VP9"] = True
61957
 DEFINES["RTC_ENABLE_VP9"] = True
61982
+DEFINES["USE_GLIB"] = "1"
61958
+DEFINES["USE_GLIB"] = "1"
Lines 61996-62002 index a1eca74eaad1..f8b949dcfe2c 100644 Link Here
61996
 
61972
 
61997
 FINAL_LIBRARY = "xul"
61973
 FINAL_LIBRARY = "xul"
61998
 
61974
 
61999
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
61975
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
62000
 if CONFIG["MOZ_DEBUG"] == "1":
61976
 if CONFIG["MOZ_DEBUG"] == "1":
62001
 
61977
 
62002
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
61978
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 62106-62112 index a1eca74eaad1..f8b949dcfe2c 100644 Link Here
62106
 
62082
 
62107
 if CONFIG["TARGET_CPU"] == "x86":
62083
 if CONFIG["TARGET_CPU"] == "x86":
62108
 
62084
 
62109
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
62085
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
62110
 
62086
 
62111
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
62087
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
62112
 
62088
 
Lines 62159-62169 index a1eca74eaad1..f8b949dcfe2c 100644 Link Here
62159
-
62135
-
62160
 Library("module_fec_api_gn")
62136
 Library("module_fec_api_gn")
62161
diff --git third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build
62137
diff --git third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build
62162
index 0300737e26a4..c22978c6f96c 100644
62138
index dbad013ebaab..874ca10c419f 100644
62163
--- third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build
62139
--- third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build
62164
+++ third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build
62140
+++ third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build
62165
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
62141
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
62166
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
62142
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
62167
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
62143
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
62168
 DEFINES["RTC_ENABLE_VP9"] = True
62144
 DEFINES["RTC_ENABLE_VP9"] = True
62169
+DEFINES["USE_GLIB"] = "1"
62145
+DEFINES["USE_GLIB"] = "1"
Lines 62183-62189 index 0300737e26a4..c22978c6f96c 100644 Link Here
62183
 
62159
 
62184
 FINAL_LIBRARY = "xul"
62160
 FINAL_LIBRARY = "xul"
62185
 
62161
 
62186
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
62162
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
62187
 if CONFIG["MOZ_DEBUG"] == "1":
62163
 if CONFIG["MOZ_DEBUG"] == "1":
62188
 
62164
 
62189
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
62165
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 62370-62380 index 0300737e26a4..c22978c6f96c 100644 Link Here
62370
 
62346
 
62371
 Library("interval_budget_gn")
62347
 Library("interval_budget_gn")
62372
diff --git third_party/libwebrtc/modules/pacing/pacing_gn/moz.build third_party/libwebrtc/modules/pacing/pacing_gn/moz.build
62348
diff --git third_party/libwebrtc/modules/pacing/pacing_gn/moz.build third_party/libwebrtc/modules/pacing/pacing_gn/moz.build
62373
index 484e8af1dfc6..70e970c7d0ce 100644
62349
index 5c92e55d39bc..9009b4168a4a 100644
62374
--- third_party/libwebrtc/modules/pacing/pacing_gn/moz.build
62350
--- third_party/libwebrtc/modules/pacing/pacing_gn/moz.build
62375
+++ third_party/libwebrtc/modules/pacing/pacing_gn/moz.build
62351
+++ third_party/libwebrtc/modules/pacing/pacing_gn/moz.build
62376
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
62352
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
62377
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
62353
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
62378
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
62354
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
62379
 DEFINES["RTC_ENABLE_VP9"] = True
62355
 DEFINES["RTC_ENABLE_VP9"] = True
62380
+DEFINES["USE_GLIB"] = "1"
62356
+DEFINES["USE_GLIB"] = "1"
Lines 62394-62400 index 484e8af1dfc6..70e970c7d0ce 100644 Link Here
62394
 
62370
 
62395
 FINAL_LIBRARY = "xul"
62371
 FINAL_LIBRARY = "xul"
62396
 
62372
 
62397
@@ -50,191 +59,32 @@ if not CONFIG["MOZ_DEBUG"]:
62373
@@ -51,191 +60,32 @@ if not CONFIG["MOZ_DEBUG"]:
62398
 if CONFIG["MOZ_DEBUG"] == "1":
62374
 if CONFIG["MOZ_DEBUG"] == "1":
62399
 
62375
 
62400
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
62376
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 62593-62603 index 484e8af1dfc6..70e970c7d0ce 100644 Link Here
62593
 
62569
 
62594
 Library("pacing_gn")
62570
 Library("pacing_gn")
62595
diff --git third_party/libwebrtc/modules/portal/portal_gn/moz.build third_party/libwebrtc/modules/portal/portal_gn/moz.build
62571
diff --git third_party/libwebrtc/modules/portal/portal_gn/moz.build third_party/libwebrtc/modules/portal/portal_gn/moz.build
62596
index 350aa34cf13c..33c52d953465 100644
62572
index aaaaf5b9fd13..edee670f2d8b 100644
62597
--- third_party/libwebrtc/modules/portal/portal_gn/moz.build
62573
--- third_party/libwebrtc/modules/portal/portal_gn/moz.build
62598
+++ third_party/libwebrtc/modules/portal/portal_gn/moz.build
62574
+++ third_party/libwebrtc/modules/portal/portal_gn/moz.build
62599
@@ -14,21 +14,17 @@ AllowCompilerWarnings()
62575
@@ -25,21 +25,17 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
62600
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
62576
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
62601
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
62577
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
62602
 DEFINES["RTC_ENABLE_VP9"] = True
62578
 DEFINES["RTC_ENABLE_VP9"] = True
62603
-DEFINES["USE_AURA"] = "1"
62579
-DEFINES["USE_AURA"] = "1"
Lines 62619-62625 index 350aa34cf13c..33c52d953465 100644 Link Here
62619
 DEFINES["_LARGEFILE64_SOURCE"] = True
62595
 DEFINES["_LARGEFILE64_SOURCE"] = True
62620
 DEFINES["_LARGEFILE_SOURCE"] = True
62596
 DEFINES["_LARGEFILE_SOURCE"] = True
62621
 DEFINES["__STDC_CONSTANT_MACROS"] = True
62597
 DEFINES["__STDC_CONSTANT_MACROS"] = True
62622
@@ -75,16 +71,6 @@ if CONFIG["TARGET_CPU"] == "aarch64":
62598
@@ -81,16 +77,6 @@ if CONFIG["TARGET_CPU"] == "aarch64":
62623
     DEFINES["WEBRTC_ARCH_ARM64"] = True
62599
     DEFINES["WEBRTC_ARCH_ARM64"] = True
62624
     DEFINES["WEBRTC_HAS_NEON"] = True
62600
     DEFINES["WEBRTC_HAS_NEON"] = True
62625
 
62601
 
Lines 62636-62642 index 350aa34cf13c..33c52d953465 100644 Link Here
62636
 if CONFIG["TARGET_CPU"] == "mips32":
62612
 if CONFIG["TARGET_CPU"] == "mips32":
62637
 
62613
 
62638
     DEFINES["MIPS32_LE"] = True
62614
     DEFINES["MIPS32_LE"] = True
62639
@@ -102,7 +88,7 @@ if CONFIG["TARGET_CPU"] == "x86_64":
62615
@@ -108,7 +94,7 @@ if CONFIG["TARGET_CPU"] == "x86_64":
62640
 
62616
 
62641
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
62617
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
62642
 
62618
 
Lines 62646-62656 index 350aa34cf13c..33c52d953465 100644 Link Here
62646
     DEFINES["USE_X11"] = "1"
62622
     DEFINES["USE_X11"] = "1"
62647
 
62623
 
62648
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
62624
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
62649
index 01de5cae11d8..701fdd16c845 100644
62625
index 0e74f3d662be..6c6ff431f9cd 100644
62650
--- third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build
62626
--- third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build
62651
+++ third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build
62627
+++ third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build
62652
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
62628
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
62653
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
62629
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
62654
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
62630
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
62655
 DEFINES["RTC_ENABLE_VP9"] = True
62631
 DEFINES["RTC_ENABLE_VP9"] = True
62656
+DEFINES["USE_GLIB"] = "1"
62632
+DEFINES["USE_GLIB"] = "1"
Lines 62670-62676 index 01de5cae11d8..701fdd16c845 100644 Link Here
62670
 
62646
 
62671
 FINAL_LIBRARY = "xul"
62647
 FINAL_LIBRARY = "xul"
62672
 
62648
 
62673
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
62649
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
62674
 if CONFIG["MOZ_DEBUG"] == "1":
62650
 if CONFIG["MOZ_DEBUG"] == "1":
62675
 
62651
 
62676
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
62652
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 62868-62878 index 01de5cae11d8..701fdd16c845 100644 Link Here
62868
 
62844
 
62869
 Library("congestion_control_feedback_generator_gn")
62845
 Library("congestion_control_feedback_generator_gn")
62870
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
62846
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
62871
index 4047187d2640..b11ca0609ad3 100644
62847
index 0476715240a8..1f2aa0c4a22a 100644
62872
--- third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build
62848
--- third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build
62873
+++ third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build
62849
+++ third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build
62874
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
62850
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
62875
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
62851
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
62876
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
62852
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
62877
 DEFINES["RTC_ENABLE_VP9"] = True
62853
 DEFINES["RTC_ENABLE_VP9"] = True
62878
+DEFINES["USE_GLIB"] = "1"
62854
+DEFINES["USE_GLIB"] = "1"
Lines 62892-62898 index 4047187d2640..b11ca0609ad3 100644 Link Here
62892
 
62868
 
62893
 FINAL_LIBRARY = "xul"
62869
 FINAL_LIBRARY = "xul"
62894
 
62870
 
62895
@@ -52,190 +61,32 @@ if not CONFIG["MOZ_DEBUG"]:
62871
@@ -53,190 +62,32 @@ if not CONFIG["MOZ_DEBUG"]:
62896
 if CONFIG["MOZ_DEBUG"] == "1":
62872
 if CONFIG["MOZ_DEBUG"] == "1":
62897
 
62873
 
62898
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
62874
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 63090-63100 index 4047187d2640..b11ca0609ad3 100644 Link Here
63090
 
63066
 
63091
 Library("remote_bitrate_estimator_gn")
63067
 Library("remote_bitrate_estimator_gn")
63092
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
63068
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
63093
index 81ce4981cd66..f8ce7a164c83 100644
63069
index 8a7680e3abc4..e299f01db387 100644
63094
--- third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build
63070
--- third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build
63095
+++ third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build
63071
+++ third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build
63096
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
63072
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
63097
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
63073
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
63098
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
63074
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
63099
 DEFINES["RTC_ENABLE_VP9"] = True
63075
 DEFINES["RTC_ENABLE_VP9"] = True
63100
+DEFINES["USE_GLIB"] = "1"
63076
+DEFINES["USE_GLIB"] = "1"
Lines 63114-63120 index 81ce4981cd66..f8ce7a164c83 100644 Link Here
63114
 
63090
 
63115
 FINAL_LIBRARY = "xul"
63091
 FINAL_LIBRARY = "xul"
63116
 
63092
 
63117
@@ -39,123 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
63093
@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
63118
 if CONFIG["MOZ_DEBUG"] == "1":
63094
 if CONFIG["MOZ_DEBUG"] == "1":
63119
 
63095
 
63120
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
63096
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 63239-63245 index 81ce4981cd66..f8ce7a164c83 100644 Link Here
63239
 
63215
 
63240
 if CONFIG["TARGET_CPU"] == "x86":
63216
 if CONFIG["TARGET_CPU"] == "x86":
63241
 
63217
 
63242
@@ -165,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
63218
@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
63243
 
63219
 
63244
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
63220
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
63245
 
63221
 
Lines 63292-63302 index 81ce4981cd66..f8ce7a164c83 100644 Link Here
63292
-
63268
-
63293
 Library("rtp_transport_feedback_generator_gn")
63269
 Library("rtp_transport_feedback_generator_gn")
63294
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
63270
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
63295
index aeea39d87702..b6549d94ffe7 100644
63271
index d85dcbe3e6ba..3383c0082bf9 100644
63296
--- third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build
63272
--- third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build
63297
+++ third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build
63273
+++ third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build
63298
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
63274
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
63299
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
63275
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
63300
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
63276
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
63301
 DEFINES["RTC_ENABLE_VP9"] = True
63277
 DEFINES["RTC_ENABLE_VP9"] = True
63302
+DEFINES["USE_GLIB"] = "1"
63278
+DEFINES["USE_GLIB"] = "1"
Lines 63316-63322 index aeea39d87702..b6549d94ffe7 100644 Link Here
63316
 
63292
 
63317
 FINAL_LIBRARY = "xul"
63293
 FINAL_LIBRARY = "xul"
63318
 
63294
 
63319
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
63295
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
63320
 if CONFIG["MOZ_DEBUG"] == "1":
63296
 if CONFIG["MOZ_DEBUG"] == "1":
63321
 
63297
 
63322
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
63298
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 63514-63524 index aeea39d87702..b6549d94ffe7 100644 Link Here
63514
 
63490
 
63515
 Library("transport_sequence_number_feedback_generator_gn")
63491
 Library("transport_sequence_number_feedback_generator_gn")
63516
diff --git third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build
63492
diff --git third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build
63517
index 2af40d70ebee..f5a2c0675194 100644
63493
index e3cb470c6df3..ba3510e10044 100644
63518
--- third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build
63494
--- third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build
63519
+++ third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build
63495
+++ third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build
63520
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
63496
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
63521
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
63497
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
63522
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
63498
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
63523
 DEFINES["RTC_ENABLE_VP9"] = True
63499
 DEFINES["RTC_ENABLE_VP9"] = True
63524
+DEFINES["USE_GLIB"] = "1"
63500
+DEFINES["USE_GLIB"] = "1"
Lines 63538-63544 index 2af40d70ebee..f5a2c0675194 100644 Link Here
63538
 
63514
 
63539
 FINAL_LIBRARY = "xul"
63515
 FINAL_LIBRARY = "xul"
63540
 
63516
 
63541
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
63517
@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
63542
 if CONFIG["MOZ_DEBUG"] == "1":
63518
 if CONFIG["MOZ_DEBUG"] == "1":
63543
 
63519
 
63544
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
63520
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 63721-63731 index 2af40d70ebee..f5a2c0675194 100644 Link Here
63721
 
63697
 
63722
 Library("leb128_gn")
63698
 Library("leb128_gn")
63723
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
63699
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
63724
index 7fd7cad470d6..b6e083c4dd5f 100644
63700
index 82b258c97e2a..9413e74bf451 100644
63725
--- third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build
63701
--- third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build
63726
+++ third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build
63702
+++ third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build
63727
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
63703
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
63728
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
63704
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
63729
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
63705
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
63730
 DEFINES["RTC_ENABLE_VP9"] = True
63706
 DEFINES["RTC_ENABLE_VP9"] = True
63731
+DEFINES["USE_GLIB"] = "1"
63707
+DEFINES["USE_GLIB"] = "1"
Lines 63745-63751 index 7fd7cad470d6..b6e083c4dd5f 100644 Link Here
63745
 
63721
 
63746
 FINAL_LIBRARY = "xul"
63722
 FINAL_LIBRARY = "xul"
63747
 
63723
 
63748
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
63724
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
63749
 if CONFIG["MOZ_DEBUG"] == "1":
63725
 if CONFIG["MOZ_DEBUG"] == "1":
63750
 
63726
 
63751
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
63727
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 63943-63953 index 7fd7cad470d6..b6e083c4dd5f 100644 Link Here
63943
 
63919
 
63944
 Library("ntp_time_util_gn")
63920
 Library("ntp_time_util_gn")
63945
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
63921
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
63946
index 55763bfa6b82..04b0635746d7 100644
63922
index aabfc69f25b7..0ea4d705891b 100644
63947
--- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build
63923
--- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build
63948
+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build
63924
+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build
63949
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
63925
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
63950
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
63926
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
63951
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
63927
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
63952
 DEFINES["RTC_ENABLE_VP9"] = True
63928
 DEFINES["RTC_ENABLE_VP9"] = True
63953
+DEFINES["USE_GLIB"] = "1"
63929
+DEFINES["USE_GLIB"] = "1"
Lines 63967-63973 index 55763bfa6b82..04b0635746d7 100644 Link Here
63967
 
63943
 
63968
 FINAL_LIBRARY = "xul"
63944
 FINAL_LIBRARY = "xul"
63969
 
63945
 
63970
@@ -87,190 +96,32 @@ if not CONFIG["MOZ_DEBUG"]:
63946
@@ -88,190 +97,32 @@ if not CONFIG["MOZ_DEBUG"]:
63971
 if CONFIG["MOZ_DEBUG"] == "1":
63947
 if CONFIG["MOZ_DEBUG"] == "1":
63972
 
63948
 
63973
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
63949
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 64165-64175 index 55763bfa6b82..04b0635746d7 100644 Link Here
64165
 
64141
 
64166
 Library("rtp_rtcp_format_gn")
64142
 Library("rtp_rtcp_format_gn")
64167
diff --git third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
64143
diff --git third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
64168
index b0c5446ca7be..829a5495c9a4 100644
64144
index 802375393ae2..c3e90068aa32 100644
64169
--- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
64145
--- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
64170
+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
64146
+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
64171
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
64147
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
64172
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
64148
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
64173
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
64149
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
64174
 DEFINES["RTC_ENABLE_VP9"] = True
64150
 DEFINES["RTC_ENABLE_VP9"] = True
64175
+DEFINES["USE_GLIB"] = "1"
64151
+DEFINES["USE_GLIB"] = "1"
Lines 64189-64195 index b0c5446ca7be..829a5495c9a4 100644 Link Here
64189
 
64165
 
64190
 FINAL_LIBRARY = "xul"
64166
 FINAL_LIBRARY = "xul"
64191
 
64167
 
64192
@@ -97,191 +106,32 @@ if not CONFIG["MOZ_DEBUG"]:
64168
@@ -98,191 +107,32 @@ if not CONFIG["MOZ_DEBUG"]:
64193
 if CONFIG["MOZ_DEBUG"] == "1":
64169
 if CONFIG["MOZ_DEBUG"] == "1":
64194
 
64170
 
64195
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
64171
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 64388-64398 index b0c5446ca7be..829a5495c9a4 100644 Link Here
64388
 
64364
 
64389
 Library("rtp_rtcp_gn")
64365
 Library("rtp_rtcp_gn")
64390
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
64366
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
64391
index ac0783597427..6dc16af33610 100644
64367
index 97656d77e72f..601db653d6b4 100644
64392
--- third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build
64368
--- third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build
64393
+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build
64369
+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build
64394
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
64370
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
64395
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
64371
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
64396
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
64372
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
64397
 DEFINES["RTC_ENABLE_VP9"] = True
64373
 DEFINES["RTC_ENABLE_VP9"] = True
64398
+DEFINES["USE_GLIB"] = "1"
64374
+DEFINES["USE_GLIB"] = "1"
Lines 64412-64418 index ac0783597427..6dc16af33610 100644 Link Here
64412
 
64388
 
64413
 FINAL_LIBRARY = "xul"
64389
 FINAL_LIBRARY = "xul"
64414
 
64390
 
64415
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
64391
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
64416
 if CONFIG["MOZ_DEBUG"] == "1":
64392
 if CONFIG["MOZ_DEBUG"] == "1":
64417
 
64393
 
64418
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
64394
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 64606-64616 index ac0783597427..6dc16af33610 100644 Link Here
64606
 
64582
 
64607
 Library("rtp_video_header_gn")
64583
 Library("rtp_video_header_gn")
64608
diff --git third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build
64584
diff --git third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build
64609
index 0d6fa06ae4ab..7e457e9c7fff 100644
64585
index 1ace30b6be87..a70c2f504f0a 100644
64610
--- third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build
64586
--- third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build
64611
+++ third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build
64587
+++ third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build
64612
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
64588
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
64613
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
64589
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
64614
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
64590
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
64615
 DEFINES["RTC_ENABLE_VP9"] = True
64591
 DEFINES["RTC_ENABLE_VP9"] = True
64616
+DEFINES["USE_GLIB"] = "1"
64592
+DEFINES["USE_GLIB"] = "1"
Lines 64630-64636 index 0d6fa06ae4ab..7e457e9c7fff 100644 Link Here
64630
 
64606
 
64631
 FINAL_LIBRARY = "xul"
64607
 FINAL_LIBRARY = "xul"
64632
 
64608
 
64633
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
64609
@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
64634
 if CONFIG["MOZ_DEBUG"] == "1":
64610
 if CONFIG["MOZ_DEBUG"] == "1":
64635
 
64611
 
64636
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
64612
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 64813-64823 index 0d6fa06ae4ab..7e457e9c7fff 100644 Link Here
64813
 
64789
 
64814
 Library("fft_gn")
64790
 Library("fft_gn")
64815
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
64791
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
64816
index 212ac260ac44..0148ce7f583f 100644
64792
index 54f41d0579ad..5c4296426bc2 100644
64817
--- third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build
64793
--- third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build
64818
+++ third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build
64794
+++ third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build
64819
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
64795
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
64820
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
64796
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
64821
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
64797
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
64822
 DEFINES["RTC_ENABLE_VP9"] = True
64798
 DEFINES["RTC_ENABLE_VP9"] = True
64823
+DEFINES["USE_GLIB"] = "1"
64799
+DEFINES["USE_GLIB"] = "1"
Lines 64837-64843 index 212ac260ac44..0148ce7f583f 100644 Link Here
64837
 
64813
 
64838
 FINAL_LIBRARY = "xul"
64814
 FINAL_LIBRARY = "xul"
64839
 
64815
 
64840
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
64816
@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
64841
 if CONFIG["MOZ_DEBUG"] == "1":
64817
 if CONFIG["MOZ_DEBUG"] == "1":
64842
 
64818
 
64843
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
64819
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 65020-65030 index 212ac260ac44..0148ce7f583f 100644 Link Here
65020
 
64996
 
65021
 Library("g711_3p_gn")
64997
 Library("g711_3p_gn")
65022
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
64998
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
65023
index 4058bb9c623b..7d993f90b813 100644
64999
index 1f21b3fea9d8..7a39abd06a9a 100644
65024
--- third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build
65000
--- third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build
65025
+++ third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build
65001
+++ third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build
65026
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
65002
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
65027
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
65003
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
65028
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
65004
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
65029
 DEFINES["RTC_ENABLE_VP9"] = True
65005
 DEFINES["RTC_ENABLE_VP9"] = True
65030
+DEFINES["USE_GLIB"] = "1"
65006
+DEFINES["USE_GLIB"] = "1"
Lines 65044-65050 index 4058bb9c623b..7d993f90b813 100644 Link Here
65044
 
65020
 
65045
 FINAL_LIBRARY = "xul"
65021
 FINAL_LIBRARY = "xul"
65046
 
65022
 
65047
@@ -47,175 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
65023
@@ -48,175 +57,32 @@ if not CONFIG["MOZ_DEBUG"]:
65048
 if CONFIG["MOZ_DEBUG"] == "1":
65024
 if CONFIG["MOZ_DEBUG"] == "1":
65049
 
65025
 
65050
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
65026
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 65227-65237 index 4058bb9c623b..7d993f90b813 100644 Link Here
65227
 
65203
 
65228
 Library("g722_3p_gn")
65204
 Library("g722_3p_gn")
65229
diff --git third_party/libwebrtc/modules/utility/utility_gn/moz.build third_party/libwebrtc/modules/utility/utility_gn/moz.build
65205
diff --git third_party/libwebrtc/modules/utility/utility_gn/moz.build third_party/libwebrtc/modules/utility/utility_gn/moz.build
65230
index ff98afc45031..0bdce0baa056 100644
65206
index fa5016332f35..76f5db2df779 100644
65231
--- third_party/libwebrtc/modules/utility/utility_gn/moz.build
65207
--- third_party/libwebrtc/modules/utility/utility_gn/moz.build
65232
+++ third_party/libwebrtc/modules/utility/utility_gn/moz.build
65208
+++ third_party/libwebrtc/modules/utility/utility_gn/moz.build
65233
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
65209
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
65234
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
65210
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
65235
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
65211
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
65236
 DEFINES["RTC_ENABLE_VP9"] = True
65212
 DEFINES["RTC_ENABLE_VP9"] = True
65237
+DEFINES["USE_GLIB"] = "1"
65213
+DEFINES["USE_GLIB"] = "1"
Lines 65251-65257 index ff98afc45031..0bdce0baa056 100644 Link Here
65251
 
65227
 
65252
 FINAL_LIBRARY = "xul"
65228
 FINAL_LIBRARY = "xul"
65253
 
65229
 
65254
@@ -39,116 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
65230
@@ -40,116 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
65255
 if CONFIG["MOZ_DEBUG"] == "1":
65231
 if CONFIG["MOZ_DEBUG"] == "1":
65256
 
65232
 
65257
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
65233
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 65369-65375 index ff98afc45031..0bdce0baa056 100644 Link Here
65369
 
65345
 
65370
 if CONFIG["TARGET_CPU"] == "x86":
65346
 if CONFIG["TARGET_CPU"] == "x86":
65371
 
65347
 
65372
@@ -158,60 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
65348
@@ -159,60 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
65373
 
65349
 
65374
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
65350
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
65375
 
65351
 
Lines 65432-65442 index ff98afc45031..0bdce0baa056 100644 Link Here
65432
-
65408
-
65433
 Library("utility_gn")
65409
 Library("utility_gn")
65434
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
65410
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
65435
index 2e93aea47676..2be170137cf5 100644
65411
index 0bbab186040b..16ac438454b8 100644
65436
--- third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build
65412
--- third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build
65437
+++ third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build
65413
+++ third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build
65438
@@ -14,11 +14,20 @@ AllowCompilerWarnings()
65414
@@ -18,11 +18,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
65439
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
65415
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
65440
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
65416
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
65441
 DEFINES["RTC_ENABLE_VP9"] = True
65417
 DEFINES["RTC_ENABLE_VP9"] = True
65442
+DEFINES["USE_GLIB"] = "1"
65418
+DEFINES["USE_GLIB"] = "1"
Lines 65456-65462 index 2e93aea47676..2be170137cf5 100644 Link Here
65456
 
65432
 
65457
 FINAL_LIBRARY = "xul"
65433
 FINAL_LIBRARY = "xul"
65458
 
65434
 
65459
@@ -33,6 +42,10 @@ LOCAL_INCLUDES += [
65435
@@ -37,6 +46,10 @@ LOCAL_INCLUDES += [
65460
 ]
65436
 ]
65461
 
65437
 
65462
 UNIFIED_SOURCES += [
65438
 UNIFIED_SOURCES += [
Lines 65467-65473 index 2e93aea47676..2be170137cf5 100644 Link Here
65467
     "/third_party/libwebrtc/modules/video_capture/video_capture_options.cc"
65443
     "/third_party/libwebrtc/modules/video_capture/video_capture_options.cc"
65468
 ]
65444
 ]
65469
 
65445
 
65470
@@ -45,153 +58,13 @@ if not CONFIG["MOZ_DEBUG"]:
65446
@@ -49,170 +62,13 @@ if not CONFIG["MOZ_DEBUG"]:
65471
 if CONFIG["MOZ_DEBUG"] == "1":
65447
 if CONFIG["MOZ_DEBUG"] == "1":
65472
 
65448
 
65473
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
65449
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 65617-65644 index 2e93aea47676..2be170137cf5 100644 Link Here
65617
-
65593
-
65618
-    DEFINES["MIPS32_LE"] = True
65594
-    DEFINES["MIPS32_LE"] = True
65619
-    DEFINES["MIPS_FPU_LE"] = True
65595
-    DEFINES["MIPS_FPU_LE"] = True
65620
     DEFINES["WEBRTC_USE_PIPEWIRE"] = True
65621
-    DEFINES["_GNU_SOURCE"] = True
65622
 
65623
     LOCAL_INCLUDES += [
65624
         "/gfx/angle/checkout/include/",
65625
@@ -210,76 +83,11 @@ if CONFIG["TARGET_CPU"] == "mips32":
65626
         "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
65627
     ]
65628
 
65629
-if CONFIG["TARGET_CPU"] == "mips64":
65630
-
65631
-    DEFINES["WEBRTC_USE_PIPEWIRE"] = True
65596
-    DEFINES["WEBRTC_USE_PIPEWIRE"] = True
65632
-    DEFINES["_GNU_SOURCE"] = True
65597
-    DEFINES["_GNU_SOURCE"] = True
65633
-
65598
-
65634
-    LOCAL_INCLUDES += [
65599
-    LOCAL_INCLUDES += [
65635
-        "/gfx/angle/checkout/include/",
65600
-        "/gfx/angle/checkout/include/",
65636
-        "/third_party/drm/drm/",
65601
-        "/third_party/libepoxy/libepoxy/include/"
65637
-        "/third_party/drm/drm/include/",
65638
-        "/third_party/drm/drm/include/libdrm/",
65639
-        "/third_party/gbm/gbm/",
65640
-        "/third_party/libepoxy/libepoxy/include/",
65641
-        "/third_party/pipewire/"
65642
-    ]
65602
-    ]
65643
-
65603
-
65644
-    UNIFIED_SOURCES += [
65604
-    UNIFIED_SOURCES += [
Lines 65648-65653 index 2e93aea47676..2be170137cf5 100644 Link Here
65648
-        "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
65608
-        "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
65649
-    ]
65609
-    ]
65650
-
65610
-
65611
-if CONFIG["TARGET_CPU"] == "mips64":
65612
-
65613
     DEFINES["WEBRTC_USE_PIPEWIRE"] = True
65614
-    DEFINES["_GNU_SOURCE"] = True
65615
 
65616
     LOCAL_INCLUDES += [
65617
         "/gfx/angle/checkout/include/",
65618
@@ -226,54 +82,11 @@ if CONFIG["TARGET_CPU"] == "mips64":
65619
         "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
65620
     ]
65621
 
65651
-if CONFIG["TARGET_CPU"] == "x86":
65622
-if CONFIG["TARGET_CPU"] == "x86":
65652
-
65623
-
65653
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
65624
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
Lines 65702-65708 index 2e93aea47676..2be170137cf5 100644 Link Here
65702
 
65673
 
65703
     LOCAL_INCLUDES += [
65674
     LOCAL_INCLUDES += [
65704
         "/gfx/angle/checkout/include/",
65675
         "/gfx/angle/checkout/include/",
65705
@@ -298,10 +106,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
65676
@@ -287,10 +100,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
65706
         "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
65677
         "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
65707
     ]
65678
     ]
65708
 
65679
 
Lines 65714-65720 index 2e93aea47676..2be170137cf5 100644 Link Here
65714
 
65685
 
65715
     LOCAL_INCLUDES += [
65686
     LOCAL_INCLUDES += [
65716
         "/gfx/angle/checkout/include/",
65687
         "/gfx/angle/checkout/include/",
65717
@@ -320,14 +127,14 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
65688
@@ -304,14 +116,14 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
65718
         "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
65689
         "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
65719
     ]
65690
     ]
65720
 
65691
 
Lines 65731-65737 index 2e93aea47676..2be170137cf5 100644 Link Here
65731
 
65702
 
65732
     LOCAL_INCLUDES += [
65703
     LOCAL_INCLUDES += [
65733
         "/gfx/angle/checkout/include/",
65704
         "/gfx/angle/checkout/include/",
65734
@@ -346,10 +153,10 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
65705
@@ -325,10 +137,10 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
65735
         "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
65706
         "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
65736
     ]
65707
     ]
65737
 
65708
 
Lines 65744-65750 index 2e93aea47676..2be170137cf5 100644 Link Here
65744
 
65715
 
65745
     LOCAL_INCLUDES += [
65716
     LOCAL_INCLUDES += [
65746
         "/gfx/angle/checkout/include/",
65717
         "/gfx/angle/checkout/include/",
65747
@@ -368,4 +175,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
65718
@@ -342,4 +154,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
65748
         "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
65719
         "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
65749
     ]
65720
     ]
65750
 
65721
 
Lines 65754-65764 index 2e93aea47676..2be170137cf5 100644 Link Here
65754
+
65725
+
65755
 Library("video_capture_internal_impl_gn")
65726
 Library("video_capture_internal_impl_gn")
65756
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
65727
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
65757
index 8eb64eb08f2b..7df621b28fa4 100644
65728
index 63ea4f06c231..0a5aa0faeb03 100644
65758
--- third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build
65729
--- third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build
65759
+++ third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build
65730
+++ third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build
65760
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
65731
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
65761
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
65732
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
65762
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
65733
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
65763
 DEFINES["RTC_ENABLE_VP9"] = True
65734
 DEFINES["RTC_ENABLE_VP9"] = True
65764
+DEFINES["USE_GLIB"] = "1"
65735
+DEFINES["USE_GLIB"] = "1"
Lines 65778-65784 index 8eb64eb08f2b..7df621b28fa4 100644 Link Here
65778
 
65749
 
65779
 FINAL_LIBRARY = "xul"
65750
 FINAL_LIBRARY = "xul"
65780
 
65751
 
65781
@@ -47,190 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
65752
@@ -48,190 +57,32 @@ if not CONFIG["MOZ_DEBUG"]:
65782
 if CONFIG["MOZ_DEBUG"] == "1":
65753
 if CONFIG["MOZ_DEBUG"] == "1":
65783
 
65754
 
65784
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
65755
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 65976-65986 index 8eb64eb08f2b..7df621b28fa4 100644 Link Here
65976
 
65947
 
65977
 Library("video_capture_module_gn")
65948
 Library("video_capture_module_gn")
65978
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
65949
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
65979
index 5937538364f0..f620f14e0914 100644
65950
index 2df6e3909ab8..db15b3bf5bca 100644
65980
--- third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build
65951
--- third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build
65981
+++ third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build
65952
+++ third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build
65982
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
65953
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
65983
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
65954
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
65984
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
65955
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
65985
 DEFINES["RTC_ENABLE_VP9"] = True
65956
 DEFINES["RTC_ENABLE_VP9"] = True
65986
+DEFINES["USE_GLIB"] = "1"
65957
+DEFINES["USE_GLIB"] = "1"
Lines 66000-66006 index 5937538364f0..f620f14e0914 100644 Link Here
66000
 
65971
 
66001
 FINAL_LIBRARY = "xul"
65972
 FINAL_LIBRARY = "xul"
66002
 
65973
 
66003
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
65974
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
66004
 if CONFIG["MOZ_DEBUG"] == "1":
65975
 if CONFIG["MOZ_DEBUG"] == "1":
66005
 
65976
 
66006
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
65977
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 66194-66204 index 5937538364f0..f620f14e0914 100644 Link Here
66194
 
66165
 
66195
 Library("chain_diff_calculator_gn")
66166
 Library("chain_diff_calculator_gn")
66196
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
66167
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
66197
index 0e376beeb43f..5b2293a8c2a6 100644
66168
index 45a85d4689af..7524313fb884 100644
66198
--- third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build
66169
--- third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build
66199
+++ third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build
66170
+++ third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build
66200
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
66171
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
66201
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
66172
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
66202
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
66173
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
66203
 DEFINES["RTC_ENABLE_VP9"] = True
66174
 DEFINES["RTC_ENABLE_VP9"] = True
66204
+DEFINES["USE_GLIB"] = "1"
66175
+DEFINES["USE_GLIB"] = "1"
Lines 66218-66224 index 0e376beeb43f..5b2293a8c2a6 100644 Link Here
66218
 
66189
 
66219
 FINAL_LIBRARY = "xul"
66190
 FINAL_LIBRARY = "xul"
66220
 
66191
 
66221
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
66192
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
66222
 if CONFIG["MOZ_DEBUG"] == "1":
66193
 if CONFIG["MOZ_DEBUG"] == "1":
66223
 
66194
 
66224
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
66195
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 66332-66338 index 0e376beeb43f..5b2293a8c2a6 100644 Link Here
66332
 
66303
 
66333
 if CONFIG["TARGET_CPU"] == "x86":
66304
 if CONFIG["TARGET_CPU"] == "x86":
66334
 
66305
 
66335
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
66306
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
66336
 
66307
 
66337
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
66308
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
66338
 
66309
 
Lines 66385-66395 index 0e376beeb43f..5b2293a8c2a6 100644 Link Here
66385
-
66356
-
66386
 Library("codec_globals_headers_gn")
66357
 Library("codec_globals_headers_gn")
66387
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
66358
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
66388
index fada35453906..bd504c7f3aab 100644
66359
index 2fece80bce22..9fe0c94db192 100644
66389
--- third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build
66360
--- third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build
66390
+++ third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build
66361
+++ third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build
66391
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
66362
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
66392
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
66363
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
66393
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
66364
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
66394
 DEFINES["RTC_ENABLE_VP9"] = True
66365
 DEFINES["RTC_ENABLE_VP9"] = True
66395
+DEFINES["USE_GLIB"] = "1"
66366
+DEFINES["USE_GLIB"] = "1"
Lines 66409-66415 index fada35453906..bd504c7f3aab 100644 Link Here
66409
 
66380
 
66410
 FINAL_LIBRARY = "xul"
66381
 FINAL_LIBRARY = "xul"
66411
 
66382
 
66412
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
66383
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
66413
 if CONFIG["MOZ_DEBUG"] == "1":
66384
 if CONFIG["MOZ_DEBUG"] == "1":
66414
 
66385
 
66415
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
66386
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 66603-66613 index fada35453906..bd504c7f3aab 100644 Link Here
66603
 
66574
 
66604
 Library("av1_svc_config_gn")
66575
 Library("av1_svc_config_gn")
66605
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
66576
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
66606
index 24fa539a5cab..a188413dc48b 100644
66577
index 838868858004..04f426de8930 100644
66607
--- third_party/libwebrtc/modules/video_coding/codecs/av1/dav1d_decoder_gn/moz.build
66578
--- third_party/libwebrtc/modules/video_coding/codecs/av1/dav1d_decoder_gn/moz.build
66608
+++ third_party/libwebrtc/modules/video_coding/codecs/av1/dav1d_decoder_gn/moz.build
66579
+++ third_party/libwebrtc/modules/video_coding/codecs/av1/dav1d_decoder_gn/moz.build
66609
@@ -15,11 +15,20 @@ AllowCompilerWarnings()
66580
@@ -16,11 +16,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
66610
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
66581
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
66611
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
66582
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
66612
 DEFINES["RTC_ENABLE_VP9"] = True
66583
 DEFINES["RTC_ENABLE_VP9"] = True
66613
+DEFINES["USE_GLIB"] = "1"
66584
+DEFINES["USE_GLIB"] = "1"
Lines 66627-66633 index 24fa539a5cab..a188413dc48b 100644 Link Here
66627
 
66598
 
66628
 FINAL_LIBRARY = "xul"
66599
 FINAL_LIBRARY = "xul"
66629
 
66600
 
66630
@@ -50,186 +59,32 @@ if not CONFIG["MOZ_DEBUG"]:
66601
@@ -51,186 +60,32 @@ if not CONFIG["MOZ_DEBUG"]:
66631
 if CONFIG["MOZ_DEBUG"] == "1":
66602
 if CONFIG["MOZ_DEBUG"] == "1":
66632
 
66603
 
66633
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
66604
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 66821-66831 index 24fa539a5cab..a188413dc48b 100644 Link Here
66821
 
66792
 
66822
 Library("dav1d_decoder_gn")
66793
 Library("dav1d_decoder_gn")
66823
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
66794
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
66824
index 24ceefe34957..eff195ec2131 100644
66795
index 7ebe8089b1b2..0ef5c393600b 100644
66825
--- third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build
66796
--- third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build
66826
+++ third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build
66797
+++ third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build
66827
@@ -15,11 +15,20 @@ AllowCompilerWarnings()
66798
@@ -16,11 +16,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
66828
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
66799
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
66829
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
66800
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
66830
 DEFINES["RTC_ENABLE_VP9"] = True
66801
 DEFINES["RTC_ENABLE_VP9"] = True
66831
+DEFINES["USE_GLIB"] = "1"
66802
+DEFINES["USE_GLIB"] = "1"
Lines 66845-66851 index 24ceefe34957..eff195ec2131 100644 Link Here
66845
 
66816
 
66846
 FINAL_LIBRARY = "xul"
66817
 FINAL_LIBRARY = "xul"
66847
 
66818
 
66848
@@ -46,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
66819
@@ -47,190 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
66849
 if CONFIG["MOZ_DEBUG"] == "1":
66820
 if CONFIG["MOZ_DEBUG"] == "1":
66850
 
66821
 
66851
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
66822
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 67043-67053 index 24ceefe34957..eff195ec2131 100644 Link Here
67043
 
67014
 
67044
 Library("aom_av1_encoder_gn")
67015
 Library("aom_av1_encoder_gn")
67045
diff --git third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build
67016
diff --git third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build
67046
index e58cb936c199..6782dfdfe553 100644
67017
index ee69c451a535..6416e975e2f7 100644
67047
--- third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build
67018
--- third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build
67048
+++ third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build
67019
+++ third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build
67049
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
67020
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
67050
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
67021
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
67051
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
67022
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
67052
 DEFINES["RTC_ENABLE_VP9"] = True
67023
 DEFINES["RTC_ENABLE_VP9"] = True
67053
+DEFINES["USE_GLIB"] = "1"
67024
+DEFINES["USE_GLIB"] = "1"
Lines 67067-67073 index e58cb936c199..6782dfdfe553 100644 Link Here
67067
 
67038
 
67068
 FINAL_LIBRARY = "xul"
67039
 FINAL_LIBRARY = "xul"
67069
 
67040
 
67070
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
67041
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
67071
 if CONFIG["MOZ_DEBUG"] == "1":
67042
 if CONFIG["MOZ_DEBUG"] == "1":
67072
 
67043
 
67073
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
67044
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 67265-67275 index e58cb936c199..6782dfdfe553 100644 Link Here
67265
 
67236
 
67266
 Library("encoded_frame_gn")
67237
 Library("encoded_frame_gn")
67267
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
67238
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
67268
index 0f2412610dbf..e5bb732bbb88 100644
67239
index aa42f12b7b5b..40f1449e2b22 100644
67269
--- third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build
67240
--- third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build
67270
+++ third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build
67241
+++ third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build
67271
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
67242
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
67272
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
67243
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
67273
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
67244
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
67274
 DEFINES["RTC_ENABLE_VP9"] = True
67245
 DEFINES["RTC_ENABLE_VP9"] = True
67275
+DEFINES["USE_GLIB"] = "1"
67246
+DEFINES["USE_GLIB"] = "1"
Lines 67289-67295 index 0f2412610dbf..e5bb732bbb88 100644 Link Here
67289
 
67260
 
67290
 FINAL_LIBRARY = "xul"
67261
 FINAL_LIBRARY = "xul"
67291
 
67262
 
67292
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
67263
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
67293
 if CONFIG["MOZ_DEBUG"] == "1":
67264
 if CONFIG["MOZ_DEBUG"] == "1":
67294
 
67265
 
67295
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
67266
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 67483-67493 index 0f2412610dbf..e5bb732bbb88 100644 Link Here
67483
 
67454
 
67484
 Library("frame_dependencies_calculator_gn")
67455
 Library("frame_dependencies_calculator_gn")
67485
diff --git third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build
67456
diff --git third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build
67486
index 60b5c7b7ece6..61c30cb5584e 100644
67457
index ab164d5d921f..fe1dd7c20635 100644
67487
--- third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build
67458
--- third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build
67488
+++ third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build
67459
+++ third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build
67489
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
67460
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
67490
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
67461
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
67491
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
67462
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
67492
 DEFINES["RTC_ENABLE_VP9"] = True
67463
 DEFINES["RTC_ENABLE_VP9"] = True
67493
+DEFINES["USE_GLIB"] = "1"
67464
+DEFINES["USE_GLIB"] = "1"
Lines 67507-67513 index 60b5c7b7ece6..61c30cb5584e 100644 Link Here
67507
 
67478
 
67508
 FINAL_LIBRARY = "xul"
67479
 FINAL_LIBRARY = "xul"
67509
 
67480
 
67510
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
67481
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
67511
 if CONFIG["MOZ_DEBUG"] == "1":
67482
 if CONFIG["MOZ_DEBUG"] == "1":
67512
 
67483
 
67513
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
67484
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 67701-67711 index 60b5c7b7ece6..61c30cb5584e 100644 Link Here
67701
 
67672
 
67702
 Library("frame_helpers_gn")
67673
 Library("frame_helpers_gn")
67703
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
67674
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
67704
index ade14f4e1b82..533519d32835 100644
67675
index 6527c200d000..e5dd51284982 100644
67705
--- third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build
67676
--- third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build
67706
+++ third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build
67677
+++ third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build
67707
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
67678
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
67708
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
67679
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
67709
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
67680
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
67710
 DEFINES["RTC_ENABLE_VP9"] = True
67681
 DEFINES["RTC_ENABLE_VP9"] = True
67711
+DEFINES["USE_GLIB"] = "1"
67682
+DEFINES["USE_GLIB"] = "1"
Lines 67725-67731 index ade14f4e1b82..533519d32835 100644 Link Here
67725
 
67696
 
67726
 FINAL_LIBRARY = "xul"
67697
 FINAL_LIBRARY = "xul"
67727
 
67698
 
67728
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
67699
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
67729
 if CONFIG["MOZ_DEBUG"] == "1":
67700
 if CONFIG["MOZ_DEBUG"] == "1":
67730
 
67701
 
67731
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
67702
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 67919-67929 index ade14f4e1b82..533519d32835 100644 Link Here
67919
 
67890
 
67920
 Library("h264_sprop_parameter_sets_gn")
67891
 Library("h264_sprop_parameter_sets_gn")
67921
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
67892
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
67922
index 011e05c41a35..4c0a79157158 100644
67893
index cde385e9a546..5f57f69fd4a0 100644
67923
--- third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build
67894
--- third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build
67924
+++ third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build
67895
+++ third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build
67925
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
67896
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
67926
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
67897
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
67927
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
67898
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
67928
 DEFINES["RTC_ENABLE_VP9"] = True
67899
 DEFINES["RTC_ENABLE_VP9"] = True
67929
+DEFINES["USE_GLIB"] = "1"
67900
+DEFINES["USE_GLIB"] = "1"
Lines 67943-67949 index 011e05c41a35..4c0a79157158 100644 Link Here
67943
 
67914
 
67944
 FINAL_LIBRARY = "xul"
67915
 FINAL_LIBRARY = "xul"
67945
 
67916
 
67946
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
67917
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
67947
 if CONFIG["MOZ_DEBUG"] == "1":
67918
 if CONFIG["MOZ_DEBUG"] == "1":
67948
 
67919
 
67949
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
67920
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 68141-68151 index 011e05c41a35..4c0a79157158 100644 Link Here
68141
 
68112
 
68142
 Library("h26x_packet_buffer_gn")
68113
 Library("h26x_packet_buffer_gn")
68143
diff --git third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build
68114
diff --git third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build
68144
index bdb63a278c1a..876704e1108a 100644
68115
index 84955a5ef85a..4a468f527ed4 100644
68145
--- third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build
68116
--- third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build
68146
+++ third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build
68117
+++ third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build
68147
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
68118
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
68148
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
68119
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
68149
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
68120
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
68150
 DEFINES["RTC_ENABLE_VP9"] = True
68121
 DEFINES["RTC_ENABLE_VP9"] = True
68151
+DEFINES["USE_GLIB"] = "1"
68122
+DEFINES["USE_GLIB"] = "1"
Lines 68165-68171 index bdb63a278c1a..876704e1108a 100644 Link Here
68165
 
68136
 
68166
 FINAL_LIBRARY = "xul"
68137
 FINAL_LIBRARY = "xul"
68167
 
68138
 
68168
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
68139
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
68169
 if CONFIG["MOZ_DEBUG"] == "1":
68140
 if CONFIG["MOZ_DEBUG"] == "1":
68170
 
68141
 
68171
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
68142
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 68363-68373 index bdb63a278c1a..876704e1108a 100644 Link Here
68363
 
68334
 
68364
 Library("nack_requester_gn")
68335
 Library("nack_requester_gn")
68365
diff --git third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build
68336
diff --git third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build
68366
index cceabc3a79be..10def6584884 100644
68337
index 1376ef845e41..d4f7694767ba 100644
68367
--- third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build
68338
--- third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build
68368
+++ third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build
68339
+++ third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build
68369
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
68340
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
68370
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
68341
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
68371
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
68342
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
68372
 DEFINES["RTC_ENABLE_VP9"] = True
68343
 DEFINES["RTC_ENABLE_VP9"] = True
68373
+DEFINES["USE_GLIB"] = "1"
68344
+DEFINES["USE_GLIB"] = "1"
Lines 68387-68393 index cceabc3a79be..10def6584884 100644 Link Here
68387
 
68358
 
68388
 FINAL_LIBRARY = "xul"
68359
 FINAL_LIBRARY = "xul"
68389
 
68360
 
68390
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
68361
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
68391
 if CONFIG["MOZ_DEBUG"] == "1":
68362
 if CONFIG["MOZ_DEBUG"] == "1":
68392
 
68363
 
68393
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
68364
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 68585-68595 index cceabc3a79be..10def6584884 100644 Link Here
68585
 
68556
 
68586
 Library("packet_buffer_gn")
68557
 Library("packet_buffer_gn")
68587
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
68558
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
68588
index bc20befd0715..899b8b26696b 100644
68559
index 59753f7db18e..f305df0162af 100644
68589
--- third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build
68560
--- third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build
68590
+++ third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build
68561
+++ third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build
68591
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
68562
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
68592
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
68563
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
68593
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
68564
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
68594
 DEFINES["RTC_ENABLE_VP9"] = True
68565
 DEFINES["RTC_ENABLE_VP9"] = True
68595
+DEFINES["USE_GLIB"] = "1"
68566
+DEFINES["USE_GLIB"] = "1"
Lines 68609-68615 index bc20befd0715..899b8b26696b 100644 Link Here
68609
 
68580
 
68610
 FINAL_LIBRARY = "xul"
68581
 FINAL_LIBRARY = "xul"
68611
 
68582
 
68612
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
68583
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
68613
 if CONFIG["MOZ_DEBUG"] == "1":
68584
 if CONFIG["MOZ_DEBUG"] == "1":
68614
 
68585
 
68615
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
68586
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 68803-68813 index bc20befd0715..899b8b26696b 100644 Link Here
68803
 
68774
 
68804
 Library("scalability_mode_util_gn")
68775
 Library("scalability_mode_util_gn")
68805
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
68776
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
68806
index a16034b3b02e..d6ba49e4f848 100644
68777
index 0e0a68b5126f..40ba86c82948 100644
68807
--- third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build
68778
--- third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build
68808
+++ third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build
68779
+++ third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build
68809
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
68780
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
68810
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
68781
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
68811
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
68782
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
68812
 DEFINES["RTC_ENABLE_VP9"] = True
68783
 DEFINES["RTC_ENABLE_VP9"] = True
68813
+DEFINES["USE_GLIB"] = "1"
68784
+DEFINES["USE_GLIB"] = "1"
Lines 68827-68833 index a16034b3b02e..d6ba49e4f848 100644 Link Here
68827
 
68798
 
68828
 FINAL_LIBRARY = "xul"
68799
 FINAL_LIBRARY = "xul"
68829
 
68800
 
68830
@@ -50,186 +59,32 @@ if not CONFIG["MOZ_DEBUG"]:
68801
@@ -51,186 +60,32 @@ if not CONFIG["MOZ_DEBUG"]:
68831
 if CONFIG["MOZ_DEBUG"] == "1":
68802
 if CONFIG["MOZ_DEBUG"] == "1":
68832
 
68803
 
68833
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
68804
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 69021-69031 index a16034b3b02e..d6ba49e4f848 100644 Link Here
69021
 
68992
 
69022
 Library("scalability_structures_gn")
68993
 Library("scalability_structures_gn")
69023
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
68994
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
69024
index 1217d027bd0c..be3d0562194c 100644
68995
index 518157bf6a3a..728277abedb9 100644
69025
--- third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build
68996
--- third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build
69026
+++ third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build
68997
+++ third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build
69027
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
68998
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
69028
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
68999
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
69029
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
69000
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
69030
 DEFINES["RTC_ENABLE_VP9"] = True
69001
 DEFINES["RTC_ENABLE_VP9"] = True
69031
+DEFINES["USE_GLIB"] = "1"
69002
+DEFINES["USE_GLIB"] = "1"
Lines 69045-69051 index 1217d027bd0c..be3d0562194c 100644 Link Here
69045
 
69016
 
69046
 FINAL_LIBRARY = "xul"
69017
 FINAL_LIBRARY = "xul"
69047
 
69018
 
69048
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
69019
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
69049
 if CONFIG["MOZ_DEBUG"] == "1":
69020
 if CONFIG["MOZ_DEBUG"] == "1":
69050
 
69021
 
69051
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
69022
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 69232-69242 index 1217d027bd0c..be3d0562194c 100644 Link Here
69232
 
69203
 
69233
 Library("scalable_video_controller_gn")
69204
 Library("scalable_video_controller_gn")
69234
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
69205
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
69235
index 1c9b143c6d78..c542cfb06869 100644
69206
index 7beea9790f44..0b566d46220f 100644
69236
--- third_party/libwebrtc/modules/video_coding/svc/simulcast_to_svc_converter_gn/moz.build
69207
--- third_party/libwebrtc/modules/video_coding/svc/simulcast_to_svc_converter_gn/moz.build
69237
+++ third_party/libwebrtc/modules/video_coding/svc/simulcast_to_svc_converter_gn/moz.build
69208
+++ third_party/libwebrtc/modules/video_coding/svc/simulcast_to_svc_converter_gn/moz.build
69238
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
69209
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
69239
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
69210
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
69240
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
69211
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
69241
 DEFINES["RTC_ENABLE_VP9"] = True
69212
 DEFINES["RTC_ENABLE_VP9"] = True
69242
+DEFINES["USE_GLIB"] = "1"
69213
+DEFINES["USE_GLIB"] = "1"
Lines 69256-69262 index 1c9b143c6d78..c542cfb06869 100644 Link Here
69256
 
69227
 
69257
 FINAL_LIBRARY = "xul"
69228
 FINAL_LIBRARY = "xul"
69258
 
69229
 
69259
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
69230
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
69260
 if CONFIG["MOZ_DEBUG"] == "1":
69231
 if CONFIG["MOZ_DEBUG"] == "1":
69261
 
69232
 
69262
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
69233
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 69455-69465 index 1c9b143c6d78..c542cfb06869 100644 Link Here
69455
 
69426
 
69456
 Library("simulcast_to_svc_converter_gn")
69427
 Library("simulcast_to_svc_converter_gn")
69457
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
69428
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
69458
index 1f4d5e0258d8..0c39b0372a4c 100644
69429
index f2d5174579d7..70b9e280ac69 100644
69459
--- third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build
69430
--- third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build
69460
+++ third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build
69431
+++ third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build
69461
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
69432
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
69462
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
69433
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
69463
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
69434
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
69464
 DEFINES["RTC_ENABLE_VP9"] = True
69435
 DEFINES["RTC_ENABLE_VP9"] = True
69465
+DEFINES["USE_GLIB"] = "1"
69436
+DEFINES["USE_GLIB"] = "1"
Lines 69479-69485 index 1f4d5e0258d8..0c39b0372a4c 100644 Link Here
69479
 
69450
 
69480
 FINAL_LIBRARY = "xul"
69451
 FINAL_LIBRARY = "xul"
69481
 
69452
 
69482
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
69453
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
69483
 if CONFIG["MOZ_DEBUG"] == "1":
69454
 if CONFIG["MOZ_DEBUG"] == "1":
69484
 
69455
 
69485
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
69456
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 69673-69683 index 1f4d5e0258d8..0c39b0372a4c 100644 Link Here
69673
 
69644
 
69674
 Library("svc_rate_allocator_gn")
69645
 Library("svc_rate_allocator_gn")
69675
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
69646
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
69676
index a1f79bc336d3..46a3f3c27eb7 100644
69647
index 7896f5bc23b7..5351ae8eecb7 100644
69677
--- third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build
69648
--- third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build
69678
+++ third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build
69649
+++ third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build
69679
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
69650
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
69680
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
69651
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
69681
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
69652
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
69682
 DEFINES["RTC_ENABLE_VP9"] = True
69653
 DEFINES["RTC_ENABLE_VP9"] = True
69683
+DEFINES["USE_GLIB"] = "1"
69654
+DEFINES["USE_GLIB"] = "1"
Lines 69697-69703 index a1f79bc336d3..46a3f3c27eb7 100644 Link Here
69697
 
69668
 
69698
 FINAL_LIBRARY = "xul"
69669
 FINAL_LIBRARY = "xul"
69699
 
69670
 
69700
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
69671
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
69701
 if CONFIG["MOZ_DEBUG"] == "1":
69672
 if CONFIG["MOZ_DEBUG"] == "1":
69702
 
69673
 
69703
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
69674
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 69884-69894 index a1f79bc336d3..46a3f3c27eb7 100644 Link Here
69884
 
69855
 
69885
 Library("decode_time_percentile_filter_gn")
69856
 Library("decode_time_percentile_filter_gn")
69886
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
69857
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
69887
index 236158a0edad..cede417ed2c0 100644
69858
index 888feb78f5b1..94877208edd6 100644
69888
--- third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build
69859
--- third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build
69889
+++ third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build
69860
+++ third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build
69890
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
69861
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
69891
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
69862
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
69892
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
69863
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
69893
 DEFINES["RTC_ENABLE_VP9"] = True
69864
 DEFINES["RTC_ENABLE_VP9"] = True
69894
+DEFINES["USE_GLIB"] = "1"
69865
+DEFINES["USE_GLIB"] = "1"
Lines 69908-69914 index 236158a0edad..cede417ed2c0 100644 Link Here
69908
 
69879
 
69909
 FINAL_LIBRARY = "xul"
69880
 FINAL_LIBRARY = "xul"
69910
 
69881
 
69911
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
69882
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
69912
 if CONFIG["MOZ_DEBUG"] == "1":
69883
 if CONFIG["MOZ_DEBUG"] == "1":
69913
 
69884
 
69914
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
69885
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 70095-70105 index 236158a0edad..cede417ed2c0 100644 Link Here
70095
 
70066
 
70096
 Library("frame_delay_variation_kalman_filter_gn")
70067
 Library("frame_delay_variation_kalman_filter_gn")
70097
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
70068
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
70098
index 46b966db475b..e680f19b417f 100644
70069
index 90271d97710b..a89880e80b11 100644
70099
--- third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build
70070
--- third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build
70100
+++ third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build
70071
+++ third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build
70101
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
70072
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
70102
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
70073
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
70103
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
70074
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
70104
 DEFINES["RTC_ENABLE_VP9"] = True
70075
 DEFINES["RTC_ENABLE_VP9"] = True
70105
+DEFINES["USE_GLIB"] = "1"
70076
+DEFINES["USE_GLIB"] = "1"
Lines 70119-70125 index 46b966db475b..e680f19b417f 100644 Link Here
70119
 
70090
 
70120
 FINAL_LIBRARY = "xul"
70091
 FINAL_LIBRARY = "xul"
70121
 
70092
 
70122
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
70093
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
70123
 if CONFIG["MOZ_DEBUG"] == "1":
70094
 if CONFIG["MOZ_DEBUG"] == "1":
70124
 
70095
 
70125
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
70096
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 70306-70316 index 46b966db475b..e680f19b417f 100644 Link Here
70306
 
70277
 
70307
 Library("inter_frame_delay_variation_calculator_gn")
70278
 Library("inter_frame_delay_variation_calculator_gn")
70308
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
70279
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
70309
index e5ab643a0837..3956e5fb7141 100644
70280
index 52b5cc106deb..c1b20efbd861 100644
70310
--- third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build
70281
--- third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build
70311
+++ third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build
70282
+++ third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build
70312
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
70283
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
70313
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
70284
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
70314
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
70285
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
70315
 DEFINES["RTC_ENABLE_VP9"] = True
70286
 DEFINES["RTC_ENABLE_VP9"] = True
70316
+DEFINES["USE_GLIB"] = "1"
70287
+DEFINES["USE_GLIB"] = "1"
Lines 70330-70336 index e5ab643a0837..3956e5fb7141 100644 Link Here
70330
 
70301
 
70331
 FINAL_LIBRARY = "xul"
70302
 FINAL_LIBRARY = "xul"
70332
 
70303
 
70333
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
70304
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
70334
 if CONFIG["MOZ_DEBUG"] == "1":
70305
 if CONFIG["MOZ_DEBUG"] == "1":
70335
 
70306
 
70336
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
70307
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 70528-70538 index e5ab643a0837..3956e5fb7141 100644 Link Here
70528
 
70499
 
70529
 Library("jitter_estimator_gn")
70500
 Library("jitter_estimator_gn")
70530
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
70501
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
70531
index 018a8b4baf38..e8117da97d09 100644
70502
index 0e4c9ed34eec..bbd2ef7b0051 100644
70532
--- third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build
70503
--- third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build
70533
+++ third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build
70504
+++ third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build
70534
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
70505
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
70535
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
70506
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
70536
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
70507
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
70537
 DEFINES["RTC_ENABLE_VP9"] = True
70508
 DEFINES["RTC_ENABLE_VP9"] = True
70538
+DEFINES["USE_GLIB"] = "1"
70509
+DEFINES["USE_GLIB"] = "1"
Lines 70552-70558 index 018a8b4baf38..e8117da97d09 100644 Link Here
70552
 
70523
 
70553
 FINAL_LIBRARY = "xul"
70524
 FINAL_LIBRARY = "xul"
70554
 
70525
 
70555
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
70526
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
70556
 if CONFIG["MOZ_DEBUG"] == "1":
70527
 if CONFIG["MOZ_DEBUG"] == "1":
70557
 
70528
 
70558
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
70529
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 70739-70749 index 018a8b4baf38..e8117da97d09 100644 Link Here
70739
 
70710
 
70740
 Library("rtt_filter_gn")
70711
 Library("rtt_filter_gn")
70741
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
70712
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
70742
index 6b0a5bd11fe1..62189b4f8b6f 100644
70713
index 91f53af3cd95..4039bf1225e2 100644
70743
--- third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build
70714
--- third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build
70744
+++ third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build
70715
+++ third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build
70745
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
70716
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
70746
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
70717
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
70747
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
70718
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
70748
 DEFINES["RTC_ENABLE_VP9"] = True
70719
 DEFINES["RTC_ENABLE_VP9"] = True
70749
+DEFINES["USE_GLIB"] = "1"
70720
+DEFINES["USE_GLIB"] = "1"
Lines 70763-70769 index 6b0a5bd11fe1..62189b4f8b6f 100644 Link Here
70763
 
70734
 
70764
 FINAL_LIBRARY = "xul"
70735
 FINAL_LIBRARY = "xul"
70765
 
70736
 
70766
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
70737
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
70767
 if CONFIG["MOZ_DEBUG"] == "1":
70738
 if CONFIG["MOZ_DEBUG"] == "1":
70768
 
70739
 
70769
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
70740
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 70950-70960 index 6b0a5bd11fe1..62189b4f8b6f 100644 Link Here
70950
 
70921
 
70951
 Library("timestamp_extrapolator_gn")
70922
 Library("timestamp_extrapolator_gn")
70952
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
70923
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
70953
index 2c399005d50a..73a1afbc3010 100644
70924
index 5a1fc368549b..ae936de55ec9 100644
70954
--- third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build
70925
--- third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build
70955
+++ third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build
70926
+++ third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build
70956
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
70927
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
70957
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
70928
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
70958
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
70929
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
70959
 DEFINES["RTC_ENABLE_VP9"] = True
70930
 DEFINES["RTC_ENABLE_VP9"] = True
70960
+DEFINES["USE_GLIB"] = "1"
70931
+DEFINES["USE_GLIB"] = "1"
Lines 70974-70980 index 2c399005d50a..73a1afbc3010 100644 Link Here
70974
 
70945
 
70975
 FINAL_LIBRARY = "xul"
70946
 FINAL_LIBRARY = "xul"
70976
 
70947
 
70977
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
70948
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
70978
 if CONFIG["MOZ_DEBUG"] == "1":
70949
 if CONFIG["MOZ_DEBUG"] == "1":
70979
 
70950
 
70980
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
70951
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 71172-71182 index 2c399005d50a..73a1afbc3010 100644 Link Here
71172
 
71143
 
71173
 Library("timing_module_gn")
71144
 Library("timing_module_gn")
71174
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
71145
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
71175
index 5f424f15c3eb..43a9bb659cbc 100644
71146
index 897eac22a94f..8124fea57658 100644
71176
--- third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build
71147
--- third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build
71177
+++ third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build
71148
+++ third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build
71178
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
71149
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
71179
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
71150
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
71180
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
71151
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
71181
 DEFINES["RTC_ENABLE_VP9"] = True
71152
 DEFINES["RTC_ENABLE_VP9"] = True
71182
+DEFINES["USE_GLIB"] = "1"
71153
+DEFINES["USE_GLIB"] = "1"
Lines 71196-71202 index 5f424f15c3eb..43a9bb659cbc 100644 Link Here
71196
 
71167
 
71197
 FINAL_LIBRARY = "xul"
71168
 FINAL_LIBRARY = "xul"
71198
 
71169
 
71199
@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
71170
@@ -46,186 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
71200
 if CONFIG["MOZ_DEBUG"] == "1":
71171
 if CONFIG["MOZ_DEBUG"] == "1":
71201
 
71172
 
71202
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
71173
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 71390-71400 index 5f424f15c3eb..43a9bb659cbc 100644 Link Here
71390
 
71361
 
71391
 Library("video_codec_interface_gn")
71362
 Library("video_codec_interface_gn")
71392
diff --git third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build
71363
diff --git third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build
71393
index f12701855e1a..04bb63314cc3 100644
71364
index 3ce6a18faa6b..2f30227606e2 100644
71394
--- third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build
71365
--- third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build
71395
+++ third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build
71366
+++ third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build
71396
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
71367
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
71397
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
71368
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
71398
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
71369
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
71399
 DEFINES["RTC_ENABLE_VP9"] = True
71370
 DEFINES["RTC_ENABLE_VP9"] = True
71400
+DEFINES["USE_GLIB"] = "1"
71371
+DEFINES["USE_GLIB"] = "1"
Lines 71414-71420 index f12701855e1a..04bb63314cc3 100644 Link Here
71414
 
71385
 
71415
 FINAL_LIBRARY = "xul"
71386
 FINAL_LIBRARY = "xul"
71416
 
71387
 
71417
@@ -56,191 +65,32 @@ if not CONFIG["MOZ_DEBUG"]:
71388
@@ -57,191 +66,32 @@ if not CONFIG["MOZ_DEBUG"]:
71418
 if CONFIG["MOZ_DEBUG"] == "1":
71389
 if CONFIG["MOZ_DEBUG"] == "1":
71419
 
71390
 
71420
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
71391
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 71613-71623 index f12701855e1a..04bb63314cc3 100644 Link Here
71613
 
71584
 
71614
 Library("video_coding_gn")
71585
 Library("video_coding_gn")
71615
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
71586
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
71616
index 51f84c774238..c7cad0188c20 100644
71587
index 68fc0eae62dc..62b651290610 100644
71617
--- third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build
71588
--- third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build
71618
+++ third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build
71589
+++ third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build
71619
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
71590
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
71620
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
71591
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
71621
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
71592
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
71622
 DEFINES["RTC_ENABLE_VP9"] = True
71593
 DEFINES["RTC_ENABLE_VP9"] = True
71623
+DEFINES["USE_GLIB"] = "1"
71594
+DEFINES["USE_GLIB"] = "1"
Lines 71637-71643 index 51f84c774238..c7cad0188c20 100644 Link Here
71637
 
71608
 
71638
 FINAL_LIBRARY = "xul"
71609
 FINAL_LIBRARY = "xul"
71639
 
71610
 
71640
@@ -55,191 +64,32 @@ if not CONFIG["MOZ_DEBUG"]:
71611
@@ -56,191 +65,32 @@ if not CONFIG["MOZ_DEBUG"]:
71641
 if CONFIG["MOZ_DEBUG"] == "1":
71612
 if CONFIG["MOZ_DEBUG"] == "1":
71642
 
71613
 
71643
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
71614
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 71836-71846 index 51f84c774238..c7cad0188c20 100644 Link Here
71836
 
71807
 
71837
 Library("video_coding_utility_gn")
71808
 Library("video_coding_utility_gn")
71838
diff --git third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build
71809
diff --git third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build
71839
index c67f86066d95..2c584fade5d5 100644
71810
index 104bcded2bc7..ff4ed9fb888a 100644
71840
--- third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build
71811
--- third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build
71841
+++ third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build
71812
+++ third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build
71842
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
71813
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
71843
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
71814
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
71844
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
71815
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
71845
 DEFINES["RTC_ENABLE_VP9"] = True
71816
 DEFINES["RTC_ENABLE_VP9"] = True
71846
+DEFINES["USE_GLIB"] = "1"
71817
+DEFINES["USE_GLIB"] = "1"
Lines 71860-71866 index c67f86066d95..2c584fade5d5 100644 Link Here
71860
 
71831
 
71861
 FINAL_LIBRARY = "xul"
71832
 FINAL_LIBRARY = "xul"
71862
 
71833
 
71863
@@ -48,191 +57,32 @@ if not CONFIG["MOZ_DEBUG"]:
71834
@@ -49,191 +58,32 @@ if not CONFIG["MOZ_DEBUG"]:
71864
 if CONFIG["MOZ_DEBUG"] == "1":
71835
 if CONFIG["MOZ_DEBUG"] == "1":
71865
 
71836
 
71866
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
71837
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 72059-72069 index c67f86066d95..2c584fade5d5 100644 Link Here
72059
 
72030
 
72060
 Library("webrtc_h264_gn")
72031
 Library("webrtc_h264_gn")
72061
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
72032
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
72062
index 9272a224c583..aa55521fb1a8 100644
72033
index efede3512ed7..af759b9e2900 100644
72063
--- third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build
72034
--- third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build
72064
+++ third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build
72035
+++ third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build
72065
@@ -15,11 +15,20 @@ AllowCompilerWarnings()
72036
@@ -16,11 +16,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
72066
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
72037
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
72067
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
72038
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
72068
 DEFINES["RTC_ENABLE_VP9"] = True
72039
 DEFINES["RTC_ENABLE_VP9"] = True
72069
+DEFINES["USE_GLIB"] = "1"
72040
+DEFINES["USE_GLIB"] = "1"
Lines 72083-72089 index 9272a224c583..aa55521fb1a8 100644 Link Here
72083
 
72054
 
72084
 FINAL_LIBRARY = "xul"
72055
 FINAL_LIBRARY = "xul"
72085
 
72056
 
72086
@@ -46,179 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
72057
@@ -47,179 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
72087
 if CONFIG["MOZ_DEBUG"] == "1":
72058
 if CONFIG["MOZ_DEBUG"] == "1":
72088
 
72059
 
72089
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
72060
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 72270-72280 index 9272a224c583..aa55521fb1a8 100644 Link Here
72270
 
72241
 
72271
 Library("webrtc_libvpx_interface_gn")
72242
 Library("webrtc_libvpx_interface_gn")
72272
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build
72243
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build
72273
index aea179a464fa..91d251da69da 100644
72244
index 8c4f08bc82b5..7c863a57e8a8 100644
72274
--- third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build
72245
--- third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build
72275
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build
72246
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build
72276
@@ -15,11 +15,20 @@ AllowCompilerWarnings()
72247
@@ -16,11 +16,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
72277
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
72248
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
72278
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
72249
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
72279
 DEFINES["RTC_ENABLE_VP9"] = True
72250
 DEFINES["RTC_ENABLE_VP9"] = True
72280
+DEFINES["USE_GLIB"] = "1"
72251
+DEFINES["USE_GLIB"] = "1"
Lines 72294-72300 index aea179a464fa..91d251da69da 100644 Link Here
72294
 
72265
 
72295
 FINAL_LIBRARY = "xul"
72266
 FINAL_LIBRARY = "xul"
72296
 
72267
 
72297
@@ -49,191 +58,32 @@ if not CONFIG["MOZ_DEBUG"]:
72268
@@ -50,191 +59,32 @@ if not CONFIG["MOZ_DEBUG"]:
72298
 if CONFIG["MOZ_DEBUG"] == "1":
72269
 if CONFIG["MOZ_DEBUG"] == "1":
72299
 
72270
 
72300
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
72271
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 72493-72503 index aea179a464fa..91d251da69da 100644 Link Here
72493
 
72464
 
72494
 Library("webrtc_vp8_gn")
72465
 Library("webrtc_vp8_gn")
72495
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
72466
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
72496
index 1e543688ce0a..f599b8e6fe2c 100644
72467
index edf7e7b28f4f..9c7e190a11b4 100644
72497
--- third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build
72468
--- third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build
72498
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build
72469
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build
72499
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
72470
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
72500
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
72471
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
72501
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
72472
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
72502
 DEFINES["RTC_ENABLE_VP9"] = True
72473
 DEFINES["RTC_ENABLE_VP9"] = True
72503
+DEFINES["USE_GLIB"] = "1"
72474
+DEFINES["USE_GLIB"] = "1"
Lines 72517-72523 index 1e543688ce0a..f599b8e6fe2c 100644 Link Here
72517
 
72488
 
72518
 FINAL_LIBRARY = "xul"
72489
 FINAL_LIBRARY = "xul"
72519
 
72490
 
72520
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
72491
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
72521
 if CONFIG["MOZ_DEBUG"] == "1":
72492
 if CONFIG["MOZ_DEBUG"] == "1":
72522
 
72493
 
72523
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
72494
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 72704-72714 index 1e543688ce0a..f599b8e6fe2c 100644 Link Here
72704
 
72675
 
72705
 Library("webrtc_vp8_scalability_gn")
72676
 Library("webrtc_vp8_scalability_gn")
72706
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
72677
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
72707
index 76d68e59a807..7bcdfba72a3d 100644
72678
index c92c78084ff3..3a5fb1aa4598 100644
72708
--- third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build
72679
--- third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build
72709
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build
72680
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build
72710
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
72681
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
72711
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
72682
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
72712
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
72683
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
72713
 DEFINES["RTC_ENABLE_VP9"] = True
72684
 DEFINES["RTC_ENABLE_VP9"] = True
72714
+DEFINES["USE_GLIB"] = "1"
72685
+DEFINES["USE_GLIB"] = "1"
Lines 72728-72734 index 76d68e59a807..7bcdfba72a3d 100644 Link Here
72728
 
72699
 
72729
 FINAL_LIBRARY = "xul"
72700
 FINAL_LIBRARY = "xul"
72730
 
72701
 
72731
@@ -48,191 +57,32 @@ if not CONFIG["MOZ_DEBUG"]:
72702
@@ -49,191 +58,32 @@ if not CONFIG["MOZ_DEBUG"]:
72732
 if CONFIG["MOZ_DEBUG"] == "1":
72703
 if CONFIG["MOZ_DEBUG"] == "1":
72733
 
72704
 
72734
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
72705
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 72927-72937 index 76d68e59a807..7bcdfba72a3d 100644 Link Here
72927
 
72898
 
72928
 Library("webrtc_vp8_temporal_layers_gn")
72899
 Library("webrtc_vp8_temporal_layers_gn")
72929
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build
72900
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build
72930
index d807360bfdb9..69fea357b30b 100644
72901
index ec4a3d7388f7..e891dd8b547f 100644
72931
--- third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build
72902
--- third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build
72932
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build
72903
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build
72933
@@ -15,11 +15,20 @@ AllowCompilerWarnings()
72904
@@ -16,11 +16,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
72934
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
72905
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
72935
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
72906
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
72936
 DEFINES["RTC_ENABLE_VP9"] = True
72907
 DEFINES["RTC_ENABLE_VP9"] = True
72937
+DEFINES["USE_GLIB"] = "1"
72908
+DEFINES["USE_GLIB"] = "1"
Lines 72951-72957 index d807360bfdb9..69fea357b30b 100644 Link Here
72951
 
72922
 
72952
 FINAL_LIBRARY = "xul"
72923
 FINAL_LIBRARY = "xul"
72953
 
72924
 
72954
@@ -51,191 +60,32 @@ if not CONFIG["MOZ_DEBUG"]:
72925
@@ -52,191 +61,32 @@ if not CONFIG["MOZ_DEBUG"]:
72955
 if CONFIG["MOZ_DEBUG"] == "1":
72926
 if CONFIG["MOZ_DEBUG"] == "1":
72956
 
72927
 
72957
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
72928
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 73150-73160 index d807360bfdb9..69fea357b30b 100644 Link Here
73150
 
73121
 
73151
 Library("webrtc_vp9_gn")
73122
 Library("webrtc_vp9_gn")
73152
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
73123
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
73153
index a734c18d2ccf..42f79acec164 100644
73124
index f8968c342f27..064b0b18e98c 100644
73154
--- third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build
73125
--- third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build
73155
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build
73126
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build
73156
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
73127
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
73157
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
73128
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
73158
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
73129
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
73159
 DEFINES["RTC_ENABLE_VP9"] = True
73130
 DEFINES["RTC_ENABLE_VP9"] = True
73160
+DEFINES["USE_GLIB"] = "1"
73131
+DEFINES["USE_GLIB"] = "1"
Lines 73174-73180 index a734c18d2ccf..42f79acec164 100644 Link Here
73174
 
73145
 
73175
 FINAL_LIBRARY = "xul"
73146
 FINAL_LIBRARY = "xul"
73176
 
73147
 
73177
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
73148
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
73178
 if CONFIG["MOZ_DEBUG"] == "1":
73149
 if CONFIG["MOZ_DEBUG"] == "1":
73179
 
73150
 
73180
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
73151
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 73368-73374 index a734c18d2ccf..42f79acec164 100644 Link Here
73368
 
73339
 
73369
 Library("webrtc_vp9_helpers_gn")
73340
 Library("webrtc_vp9_helpers_gn")
73370
diff --git third_party/libwebrtc/moz.build third_party/libwebrtc/moz.build
73341
diff --git third_party/libwebrtc/moz.build third_party/libwebrtc/moz.build
73371
index fb93b2ab5309..08ce55822bf1 100644
73342
index a45cc7826c9c..c4140609a28f 100644
73372
--- third_party/libwebrtc/moz.build
73343
--- third_party/libwebrtc/moz.build
73373
+++ third_party/libwebrtc/moz.build
73344
+++ third_party/libwebrtc/moz.build
73374
@@ -291,6 +291,8 @@ DIRS += [
73345
@@ -291,6 +291,8 @@ DIRS += [
Lines 73380-73386 index fb93b2ab5309..08ce55822bf1 100644 Link Here
73380
     "/third_party/libwebrtc/modules/module_api_gn",
73351
     "/third_party/libwebrtc/modules/module_api_gn",
73381
     "/third_party/libwebrtc/modules/module_api_public_gn",
73352
     "/third_party/libwebrtc/modules/module_api_public_gn",
73382
     "/third_party/libwebrtc/modules/module_fec_api_gn",
73353
     "/third_party/libwebrtc/modules/module_fec_api_gn",
73383
@@ -517,102 +519,11 @@ DIRS += [
73354
@@ -517,137 +519,30 @@ DIRS += [
73384
     "/third_party/libwebrtc/webrtc_gn"
73355
     "/third_party/libwebrtc/webrtc_gn"
73385
 ]
73356
 ]
73386
 
73357
 
Lines 73482-73491 index fb93b2ab5309..08ce55822bf1 100644 Link Here
73482
-        "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn",
73453
-        "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn",
73483
-        "/third_party/libwebrtc/modules/desktop_capture/primitives_gn",
73454
-        "/third_party/libwebrtc/modules/desktop_capture/primitives_gn",
73484
         "/third_party/libwebrtc/modules/portal/portal_gn",
73455
         "/third_party/libwebrtc/modules/portal/portal_gn",
73485
         "/third_party/libwebrtc/third_party/drm/drm_gn",
73456
         "/third_party/libwebrtc/third_party/libepoxy/libepoxy_gn"
73486
         "/third_party/libwebrtc/third_party/gbm/gbm_gn",
73487
@@ -620,26 +531,19 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
73488
         "/third_party/libwebrtc/third_party/pipewire/pipewire_gn"
73489
     ]
73457
     ]
73490
 
73458
 
73491
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
73459
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
Lines 73496-73550 index fb93b2ab5309..08ce55822bf1 100644 Link Here
73496
-        "/third_party/libwebrtc/common_audio/common_audio_neon_gn",
73464
-        "/third_party/libwebrtc/common_audio/common_audio_neon_gn",
73497
-        "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn",
73465
-        "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn",
73498
-        "/third_party/libwebrtc/modules/desktop_capture/primitives_gn",
73466
-        "/third_party/libwebrtc/modules/desktop_capture/primitives_gn",
73499
         "/third_party/libwebrtc/modules/portal/portal_gn",
73467
-        "/third_party/libwebrtc/modules/portal/portal_gn",
73500
-        "/third_party/libwebrtc/rtc_base/system/asm_defines_gn",
73468
-        "/third_party/libwebrtc/rtc_base/system/asm_defines_gn",
73501
         "/third_party/libwebrtc/third_party/drm/drm_gn",
73469
-        "/third_party/libwebrtc/third_party/libepoxy/libepoxy_gn"
73502
         "/third_party/libwebrtc/third_party/gbm/gbm_gn",
73470
-    ]
73503
         "/third_party/libwebrtc/third_party/libepoxy/libepoxy_gn",
73471
-
73504
         "/third_party/libwebrtc/third_party/pipewire/pipewire_gn"
73472
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips32":
73473
-
73474
-    DIRS += [
73475
-        "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn",
73476
-        "/third_party/libwebrtc/modules/desktop_capture/primitives_gn",
73477
         "/third_party/libwebrtc/modules/portal/portal_gn",
73478
         "/third_party/libwebrtc/third_party/libepoxy/libepoxy_gn"
73505
     ]
73479
     ]
73506
 
73480
 
73507
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips32":
73481
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips64":
73508
+if CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "mips64":
73482
+if CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "mips64":
73509
 
73483
 
73510
     DIRS += [
73484
     DIRS += [
73511
-        "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn",
73485
-        "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn",
73512
-        "/third_party/libwebrtc/modules/desktop_capture/primitives_gn",
73486
-        "/third_party/libwebrtc/modules/desktop_capture/primitives_gn",
73513
         "/third_party/libwebrtc/modules/portal/portal_gn",
73487
         "/third_party/libwebrtc/modules/portal/portal_gn",
73514
         "/third_party/libwebrtc/third_party/drm/drm_gn",
73488
         "/third_party/libwebrtc/third_party/libepoxy/libepoxy_gn"
73515
         "/third_party/libwebrtc/third_party/gbm/gbm_gn",
73516
@@ -647,19 +551,7 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips32":
73517
         "/third_party/libwebrtc/third_party/pipewire/pipewire_gn"
73518
     ]
73489
     ]
73519
 
73490
 
73520
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips64":
73521
-
73522
-    DIRS += [
73523
-        "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn",
73524
-        "/third_party/libwebrtc/modules/desktop_capture/primitives_gn",
73525
-        "/third_party/libwebrtc/modules/portal/portal_gn",
73526
-        "/third_party/libwebrtc/third_party/drm/drm_gn",
73527
-        "/third_party/libwebrtc/third_party/gbm/gbm_gn",
73528
-        "/third_party/libwebrtc/third_party/libepoxy/libepoxy_gn",
73529
-        "/third_party/libwebrtc/third_party/pipewire/pipewire_gn"
73530
-    ]
73531
-
73532
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
73491
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
73533
+if CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "x86":
73492
+if CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "x86":
73534
 
73493
 
73535
     DIRS += [
73494
     DIRS += [
73536
         "/third_party/libwebrtc/common_audio/common_audio_avx2_gn",
73495
         "/third_party/libwebrtc/common_audio/common_audio_avx2_gn",
73537
@@ -667,8 +559,6 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
73496
@@ -655,13 +550,11 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
73538
         "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn",
73497
         "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn",
73539
         "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn",
73498
         "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn",
73540
         "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn",
73499
         "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn",
73541
-        "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn",
73500
-        "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn",
73542
-        "/third_party/libwebrtc/modules/desktop_capture/primitives_gn",
73501
-        "/third_party/libwebrtc/modules/desktop_capture/primitives_gn",
73543
         "/third_party/libwebrtc/modules/portal/portal_gn",
73502
         "/third_party/libwebrtc/modules/portal/portal_gn",
73544
         "/third_party/libwebrtc/third_party/drm/drm_gn",
73503
         "/third_party/libwebrtc/third_party/libepoxy/libepoxy_gn"
73545
         "/third_party/libwebrtc/third_party/gbm/gbm_gn",
73546
@@ -676,7 +566,7 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
73547
         "/third_party/libwebrtc/third_party/pipewire/pipewire_gn"
73548
     ]
73504
     ]
73549
 
73505
 
73550
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
73506
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
Lines 73552-73568 index fb93b2ab5309..08ce55822bf1 100644 Link Here
73552
 
73508
 
73553
     DIRS += [
73509
     DIRS += [
73554
         "/third_party/libwebrtc/common_audio/common_audio_avx2_gn",
73510
         "/third_party/libwebrtc/common_audio/common_audio_avx2_gn",
73555
@@ -684,76 +574,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
73511
@@ -669,73 +562,6 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
73556
         "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn",
73512
         "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn",
73557
         "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn",
73513
         "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn",
73558
         "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn",
73514
         "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn",
73559
-        "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn",
73515
-        "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn",
73560
-        "/third_party/libwebrtc/modules/desktop_capture/primitives_gn",
73516
-        "/third_party/libwebrtc/modules/desktop_capture/primitives_gn",
73561
         "/third_party/libwebrtc/modules/portal/portal_gn",
73517
         "/third_party/libwebrtc/modules/portal/portal_gn",
73562
         "/third_party/libwebrtc/third_party/drm/drm_gn",
73518
         "/third_party/libwebrtc/third_party/libepoxy/libepoxy_gn"
73563
         "/third_party/libwebrtc/third_party/gbm/gbm_gn",
73564
         "/third_party/libwebrtc/third_party/libepoxy/libepoxy_gn",
73565
         "/third_party/libwebrtc/third_party/pipewire/pipewire_gn"
73566
     ]
73519
     ]
73567
-
73520
-
73568
-if CONFIG["OS_TARGET"] == "OpenBSD" and CONFIG["TARGET_CPU"] == "aarch64":
73521
-if CONFIG["OS_TARGET"] == "OpenBSD" and CONFIG["TARGET_CPU"] == "aarch64":
Lines 73630-73640 index fb93b2ab5309..08ce55822bf1 100644 Link Here
73630
-        "/third_party/libwebrtc/modules/desktop_capture/primitives_gn"
73583
-        "/third_party/libwebrtc/modules/desktop_capture/primitives_gn"
73631
-    ]
73584
-    ]
73632
diff --git third_party/libwebrtc/net/dcsctp/common/internal_types_gn/moz.build third_party/libwebrtc/net/dcsctp/common/internal_types_gn/moz.build
73585
diff --git third_party/libwebrtc/net/dcsctp/common/internal_types_gn/moz.build third_party/libwebrtc/net/dcsctp/common/internal_types_gn/moz.build
73633
index eca892f4b02e..c528241420bd 100644
73586
index 6a5e4cfebe25..37b925ca7c54 100644
73634
--- third_party/libwebrtc/net/dcsctp/common/internal_types_gn/moz.build
73587
--- third_party/libwebrtc/net/dcsctp/common/internal_types_gn/moz.build
73635
+++ third_party/libwebrtc/net/dcsctp/common/internal_types_gn/moz.build
73588
+++ third_party/libwebrtc/net/dcsctp/common/internal_types_gn/moz.build
73636
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
73589
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
73637
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
73590
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
73638
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
73591
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
73639
 DEFINES["RTC_ENABLE_VP9"] = True
73592
 DEFINES["RTC_ENABLE_VP9"] = True
73640
+DEFINES["USE_GLIB"] = "1"
73593
+DEFINES["USE_GLIB"] = "1"
Lines 73654-73660 index eca892f4b02e..c528241420bd 100644 Link Here
73654
 
73607
 
73655
 FINAL_LIBRARY = "xul"
73608
 FINAL_LIBRARY = "xul"
73656
 
73609
 
73657
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
73610
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
73658
 if CONFIG["MOZ_DEBUG"] == "1":
73611
 if CONFIG["MOZ_DEBUG"] == "1":
73659
 
73612
 
73660
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
73613
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 73768-73774 index eca892f4b02e..c528241420bd 100644 Link Here
73768
 
73721
 
73769
 if CONFIG["TARGET_CPU"] == "x86":
73722
 if CONFIG["TARGET_CPU"] == "x86":
73770
 
73723
 
73771
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
73724
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
73772
 
73725
 
73773
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
73726
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
73774
 
73727
 
Lines 73821-73831 index eca892f4b02e..c528241420bd 100644 Link Here
73821
-
73774
-
73822
 Library("internal_types_gn")
73775
 Library("internal_types_gn")
73823
diff --git third_party/libwebrtc/net/dcsctp/common/math_gn/moz.build third_party/libwebrtc/net/dcsctp/common/math_gn/moz.build
73776
diff --git third_party/libwebrtc/net/dcsctp/common/math_gn/moz.build third_party/libwebrtc/net/dcsctp/common/math_gn/moz.build
73824
index 31a8282c2e53..bf7cde0c5a6b 100644
73777
index c3cb187e2306..a545273adb9f 100644
73825
--- third_party/libwebrtc/net/dcsctp/common/math_gn/moz.build
73778
--- third_party/libwebrtc/net/dcsctp/common/math_gn/moz.build
73826
+++ third_party/libwebrtc/net/dcsctp/common/math_gn/moz.build
73779
+++ third_party/libwebrtc/net/dcsctp/common/math_gn/moz.build
73827
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
73780
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
73828
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
73781
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
73829
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
73782
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
73830
 DEFINES["RTC_ENABLE_VP9"] = True
73783
 DEFINES["RTC_ENABLE_VP9"] = True
73831
+DEFINES["USE_GLIB"] = "1"
73784
+DEFINES["USE_GLIB"] = "1"
Lines 73845-73851 index 31a8282c2e53..bf7cde0c5a6b 100644 Link Here
73845
 
73798
 
73846
 FINAL_LIBRARY = "xul"
73799
 FINAL_LIBRARY = "xul"
73847
 
73800
 
73848
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
73801
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
73849
 if CONFIG["MOZ_DEBUG"] == "1":
73802
 if CONFIG["MOZ_DEBUG"] == "1":
73850
 
73803
 
73851
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
73804
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 73955-73961 index 31a8282c2e53..bf7cde0c5a6b 100644 Link Here
73955
 
73908
 
73956
 if CONFIG["TARGET_CPU"] == "x86":
73909
 if CONFIG["TARGET_CPU"] == "x86":
73957
 
73910
 
73958
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
73911
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
73959
 
73912
 
73960
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
73913
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
73961
 
73914
 
Lines 74008-74018 index 31a8282c2e53..bf7cde0c5a6b 100644 Link Here
74008
-
73961
-
74009
 Library("math_gn")
73962
 Library("math_gn")
74010
diff --git third_party/libwebrtc/net/dcsctp/common/sequence_numbers_gn/moz.build third_party/libwebrtc/net/dcsctp/common/sequence_numbers_gn/moz.build
73963
diff --git third_party/libwebrtc/net/dcsctp/common/sequence_numbers_gn/moz.build third_party/libwebrtc/net/dcsctp/common/sequence_numbers_gn/moz.build
74011
index a846f1a0d33d..4c0fce5d6266 100644
73964
index c94cad55dd86..a3efde5199ae 100644
74012
--- third_party/libwebrtc/net/dcsctp/common/sequence_numbers_gn/moz.build
73965
--- third_party/libwebrtc/net/dcsctp/common/sequence_numbers_gn/moz.build
74013
+++ third_party/libwebrtc/net/dcsctp/common/sequence_numbers_gn/moz.build
73966
+++ third_party/libwebrtc/net/dcsctp/common/sequence_numbers_gn/moz.build
74014
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
73967
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
74015
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
73968
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
74016
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
73969
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
74017
 DEFINES["RTC_ENABLE_VP9"] = True
73970
 DEFINES["RTC_ENABLE_VP9"] = True
74018
+DEFINES["USE_GLIB"] = "1"
73971
+DEFINES["USE_GLIB"] = "1"
Lines 74032-74038 index a846f1a0d33d..4c0fce5d6266 100644 Link Here
74032
 
73985
 
74033
 FINAL_LIBRARY = "xul"
73986
 FINAL_LIBRARY = "xul"
74034
 
73987
 
74035
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
73988
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
74036
 if CONFIG["MOZ_DEBUG"] == "1":
73989
 if CONFIG["MOZ_DEBUG"] == "1":
74037
 
73990
 
74038
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
73991
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 74146-74152 index a846f1a0d33d..4c0fce5d6266 100644 Link Here
74146
 
74099
 
74147
 if CONFIG["TARGET_CPU"] == "x86":
74100
 if CONFIG["TARGET_CPU"] == "x86":
74148
 
74101
 
74149
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
74102
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
74150
 
74103
 
74151
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
74104
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
74152
 
74105
 
Lines 74199-74209 index a846f1a0d33d..4c0fce5d6266 100644 Link Here
74199
-
74152
-
74200
 Library("sequence_numbers_gn")
74153
 Library("sequence_numbers_gn")
74201
diff --git third_party/libwebrtc/net/dcsctp/packet/bounded_io_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/bounded_io_gn/moz.build
74154
diff --git third_party/libwebrtc/net/dcsctp/packet/bounded_io_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/bounded_io_gn/moz.build
74202
index afa02fd16c4f..6b6ba69cc8b2 100644
74155
index b80cd74c33f8..2349cc2c46c5 100644
74203
--- third_party/libwebrtc/net/dcsctp/packet/bounded_io_gn/moz.build
74156
--- third_party/libwebrtc/net/dcsctp/packet/bounded_io_gn/moz.build
74204
+++ third_party/libwebrtc/net/dcsctp/packet/bounded_io_gn/moz.build
74157
+++ third_party/libwebrtc/net/dcsctp/packet/bounded_io_gn/moz.build
74205
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
74158
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
74206
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
74159
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
74207
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
74160
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
74208
 DEFINES["RTC_ENABLE_VP9"] = True
74161
 DEFINES["RTC_ENABLE_VP9"] = True
74209
+DEFINES["USE_GLIB"] = "1"
74162
+DEFINES["USE_GLIB"] = "1"
Lines 74223-74229 index afa02fd16c4f..6b6ba69cc8b2 100644 Link Here
74223
 
74176
 
74224
 FINAL_LIBRARY = "xul"
74177
 FINAL_LIBRARY = "xul"
74225
 
74178
 
74226
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
74179
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
74227
 if CONFIG["MOZ_DEBUG"] == "1":
74180
 if CONFIG["MOZ_DEBUG"] == "1":
74228
 
74181
 
74229
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
74182
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 74337-74343 index afa02fd16c4f..6b6ba69cc8b2 100644 Link Here
74337
 
74290
 
74338
 if CONFIG["TARGET_CPU"] == "x86":
74291
 if CONFIG["TARGET_CPU"] == "x86":
74339
 
74292
 
74340
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
74293
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
74341
 
74294
 
74342
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
74295
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
74343
 
74296
 
Lines 74390-74400 index afa02fd16c4f..6b6ba69cc8b2 100644 Link Here
74390
-
74343
-
74391
 Library("bounded_io_gn")
74344
 Library("bounded_io_gn")
74392
diff --git third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build
74345
diff --git third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build
74393
index 0b444ee87f8f..0b6864a3f398 100644
74346
index f7520a41a0ea..8a97ab477627 100644
74394
--- third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build
74347
--- third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build
74395
+++ third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build
74348
+++ third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build
74396
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
74349
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
74397
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
74350
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
74398
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
74351
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
74399
 DEFINES["RTC_ENABLE_VP9"] = True
74352
 DEFINES["RTC_ENABLE_VP9"] = True
74400
+DEFINES["USE_GLIB"] = "1"
74353
+DEFINES["USE_GLIB"] = "1"
Lines 74414-74420 index 0b444ee87f8f..0b6864a3f398 100644 Link Here
74414
 
74367
 
74415
 FINAL_LIBRARY = "xul"
74368
 FINAL_LIBRARY = "xul"
74416
 
74369
 
74417
@@ -60,186 +69,32 @@ if not CONFIG["MOZ_DEBUG"]:
74370
@@ -61,186 +70,32 @@ if not CONFIG["MOZ_DEBUG"]:
74418
 if CONFIG["MOZ_DEBUG"] == "1":
74371
 if CONFIG["MOZ_DEBUG"] == "1":
74419
 
74372
 
74420
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
74373
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 74608-74618 index 0b444ee87f8f..0b6864a3f398 100644 Link Here
74608
 
74561
 
74609
 Library("chunk_gn")
74562
 Library("chunk_gn")
74610
diff --git third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build
74563
diff --git third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build
74611
index 98062c27066e..c19e934effcf 100644
74564
index 0a06a330808a..b38a8e170736 100644
74612
--- third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build
74565
--- third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build
74613
+++ third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build
74566
+++ third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build
74614
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
74567
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
74615
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
74568
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
74616
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
74569
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
74617
 DEFINES["RTC_ENABLE_VP9"] = True
74570
 DEFINES["RTC_ENABLE_VP9"] = True
74618
+DEFINES["USE_GLIB"] = "1"
74571
+DEFINES["USE_GLIB"] = "1"
Lines 74632-74638 index 98062c27066e..c19e934effcf 100644 Link Here
74632
 
74585
 
74633
 FINAL_LIBRARY = "xul"
74586
 FINAL_LIBRARY = "xul"
74634
 
74587
 
74635
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
74588
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
74636
 if CONFIG["MOZ_DEBUG"] == "1":
74589
 if CONFIG["MOZ_DEBUG"] == "1":
74637
 
74590
 
74638
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
74591
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 74826-74836 index 98062c27066e..c19e934effcf 100644 Link Here
74826
 
74779
 
74827
 Library("chunk_validators_gn")
74780
 Library("chunk_validators_gn")
74828
diff --git third_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build
74781
diff --git third_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build
74829
index 70f2f245242b..6db407d3c392 100644
74782
index 7babd4f00c8d..3544b8accf94 100644
74830
--- third_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build
74783
--- third_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build
74831
+++ third_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build
74784
+++ third_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build
74832
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
74785
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
74833
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
74786
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
74834
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
74787
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
74835
 DEFINES["RTC_ENABLE_VP9"] = True
74788
 DEFINES["RTC_ENABLE_VP9"] = True
74836
+DEFINES["USE_GLIB"] = "1"
74789
+DEFINES["USE_GLIB"] = "1"
Lines 74850-74856 index 70f2f245242b..6db407d3c392 100644 Link Here
74850
 
74803
 
74851
 FINAL_LIBRARY = "xul"
74804
 FINAL_LIBRARY = "xul"
74852
 
74805
 
74853
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
74806
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
74854
 if CONFIG["MOZ_DEBUG"] == "1":
74807
 if CONFIG["MOZ_DEBUG"] == "1":
74855
 
74808
 
74856
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
74809
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 75037-75047 index 70f2f245242b..6db407d3c392 100644 Link Here
75037
 
74990
 
75038
 Library("crc32c_gn")
74991
 Library("crc32c_gn")
75039
diff --git third_party/libwebrtc/net/dcsctp/packet/data_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/data_gn/moz.build
74992
diff --git third_party/libwebrtc/net/dcsctp/packet/data_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/data_gn/moz.build
75040
index 7ecb713c4107..a7bee1d658c9 100644
74993
index 56a67c706fa4..6921e2bc087f 100644
75041
--- third_party/libwebrtc/net/dcsctp/packet/data_gn/moz.build
74994
--- third_party/libwebrtc/net/dcsctp/packet/data_gn/moz.build
75042
+++ third_party/libwebrtc/net/dcsctp/packet/data_gn/moz.build
74995
+++ third_party/libwebrtc/net/dcsctp/packet/data_gn/moz.build
75043
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
74996
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
75044
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
74997
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
75045
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
74998
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
75046
 DEFINES["RTC_ENABLE_VP9"] = True
74999
 DEFINES["RTC_ENABLE_VP9"] = True
75047
+DEFINES["USE_GLIB"] = "1"
75000
+DEFINES["USE_GLIB"] = "1"
Lines 75061-75067 index 7ecb713c4107..a7bee1d658c9 100644 Link Here
75061
 
75014
 
75062
 FINAL_LIBRARY = "xul"
75015
 FINAL_LIBRARY = "xul"
75063
 
75016
 
75064
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
75017
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
75065
 if CONFIG["MOZ_DEBUG"] == "1":
75018
 if CONFIG["MOZ_DEBUG"] == "1":
75066
 
75019
 
75067
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
75020
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 75175-75181 index 7ecb713c4107..a7bee1d658c9 100644 Link Here
75175
 
75128
 
75176
 if CONFIG["TARGET_CPU"] == "x86":
75129
 if CONFIG["TARGET_CPU"] == "x86":
75177
 
75130
 
75178
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
75131
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
75179
 
75132
 
75180
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
75133
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
75181
 
75134
 
Lines 75228-75238 index 7ecb713c4107..a7bee1d658c9 100644 Link Here
75228
-
75181
-
75229
 Library("data_gn")
75182
 Library("data_gn")
75230
diff --git third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build
75183
diff --git third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build
75231
index 6a16d627ed56..a4c0982bd786 100644
75184
index 04ca98c30fab..005f3ed8633a 100644
75232
--- third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build
75185
--- third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build
75233
+++ third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build
75186
+++ third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build
75234
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
75187
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
75235
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
75188
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
75236
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
75189
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
75237
 DEFINES["RTC_ENABLE_VP9"] = True
75190
 DEFINES["RTC_ENABLE_VP9"] = True
75238
+DEFINES["USE_GLIB"] = "1"
75191
+DEFINES["USE_GLIB"] = "1"
Lines 75252-75258 index 6a16d627ed56..a4c0982bd786 100644 Link Here
75252
 
75205
 
75253
 FINAL_LIBRARY = "xul"
75206
 FINAL_LIBRARY = "xul"
75254
 
75207
 
75255
@@ -56,186 +65,32 @@ if not CONFIG["MOZ_DEBUG"]:
75208
@@ -57,186 +66,32 @@ if not CONFIG["MOZ_DEBUG"]:
75256
 if CONFIG["MOZ_DEBUG"] == "1":
75209
 if CONFIG["MOZ_DEBUG"] == "1":
75257
 
75210
 
75258
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
75211
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 75446-75456 index 6a16d627ed56..a4c0982bd786 100644 Link Here
75446
 
75399
 
75447
 Library("error_cause_gn")
75400
 Library("error_cause_gn")
75448
diff --git third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build
75401
diff --git third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build
75449
index 4502dede2e9a..0735d8a5c65b 100644
75402
index a1beb0f7c208..5a45e729c554 100644
75450
--- third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build
75403
--- third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build
75451
+++ third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build
75404
+++ third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build
75452
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
75405
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
75453
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
75406
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
75454
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
75407
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
75455
 DEFINES["RTC_ENABLE_VP9"] = True
75408
 DEFINES["RTC_ENABLE_VP9"] = True
75456
+DEFINES["USE_GLIB"] = "1"
75409
+DEFINES["USE_GLIB"] = "1"
Lines 75470-75476 index 4502dede2e9a..0735d8a5c65b 100644 Link Here
75470
 
75423
 
75471
 FINAL_LIBRARY = "xul"
75424
 FINAL_LIBRARY = "xul"
75472
 
75425
 
75473
@@ -54,186 +63,32 @@ if not CONFIG["MOZ_DEBUG"]:
75426
@@ -55,186 +64,32 @@ if not CONFIG["MOZ_DEBUG"]:
75474
 if CONFIG["MOZ_DEBUG"] == "1":
75427
 if CONFIG["MOZ_DEBUG"] == "1":
75475
 
75428
 
75476
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
75429
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 75664-75674 index 4502dede2e9a..0735d8a5c65b 100644 Link Here
75664
 
75617
 
75665
 Library("parameter_gn")
75618
 Library("parameter_gn")
75666
diff --git third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build
75619
diff --git third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build
75667
index 3b65e2e1c551..1033c5c1c02c 100644
75620
index 8940c608e991..2cba46b3bef8 100644
75668
--- third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build
75621
--- third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build
75669
+++ third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build
75622
+++ third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build
75670
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
75623
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
75671
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
75624
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
75672
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
75625
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
75673
 DEFINES["RTC_ENABLE_VP9"] = True
75626
 DEFINES["RTC_ENABLE_VP9"] = True
75674
+DEFINES["USE_GLIB"] = "1"
75627
+DEFINES["USE_GLIB"] = "1"
Lines 75688-75694 index 3b65e2e1c551..1033c5c1c02c 100644 Link Here
75688
 
75641
 
75689
 FINAL_LIBRARY = "xul"
75642
 FINAL_LIBRARY = "xul"
75690
 
75643
 
75691
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
75644
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
75692
 if CONFIG["MOZ_DEBUG"] == "1":
75645
 if CONFIG["MOZ_DEBUG"] == "1":
75693
 
75646
 
75694
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
75647
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 75882-75892 index 3b65e2e1c551..1033c5c1c02c 100644 Link Here
75882
 
75835
 
75883
 Library("sctp_packet_gn")
75836
 Library("sctp_packet_gn")
75884
diff --git third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build
75837
diff --git third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build
75885
index 7760bdab3371..785c32caee3d 100644
75838
index 8ac207cfe1c5..3a4c616d2424 100644
75886
--- third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build
75839
--- third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build
75887
+++ third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build
75840
+++ third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build
75888
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
75841
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
75889
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
75842
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
75890
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
75843
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
75891
 DEFINES["RTC_ENABLE_VP9"] = True
75844
 DEFINES["RTC_ENABLE_VP9"] = True
75892
+DEFINES["USE_GLIB"] = "1"
75845
+DEFINES["USE_GLIB"] = "1"
Lines 75906-75912 index 7760bdab3371..785c32caee3d 100644 Link Here
75906
 
75859
 
75907
 FINAL_LIBRARY = "xul"
75860
 FINAL_LIBRARY = "xul"
75908
 
75861
 
75909
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
75862
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
75910
 if CONFIG["MOZ_DEBUG"] == "1":
75863
 if CONFIG["MOZ_DEBUG"] == "1":
75911
 
75864
 
75912
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
75865
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 76100-76110 index 7760bdab3371..785c32caee3d 100644 Link Here
76100
 
76053
 
76101
 Library("tlv_trait_gn")
76054
 Library("tlv_trait_gn")
76102
diff --git third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build
76055
diff --git third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build
76103
index d5c44cd7f55d..8130510f9f5c 100644
76056
index 2126af302d7b..25ce5477486d 100644
76104
--- third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build
76057
--- third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build
76105
+++ third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build
76058
+++ third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build
76106
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
76059
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
76107
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
76060
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
76108
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
76061
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
76109
 DEFINES["RTC_ENABLE_VP9"] = True
76062
 DEFINES["RTC_ENABLE_VP9"] = True
76110
+DEFINES["USE_GLIB"] = "1"
76063
+DEFINES["USE_GLIB"] = "1"
Lines 76124-76130 index d5c44cd7f55d..8130510f9f5c 100644 Link Here
76124
 
76077
 
76125
 FINAL_LIBRARY = "xul"
76078
 FINAL_LIBRARY = "xul"
76126
 
76079
 
76127
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
76080
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
76128
 if CONFIG["MOZ_DEBUG"] == "1":
76081
 if CONFIG["MOZ_DEBUG"] == "1":
76129
 
76082
 
76130
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
76083
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 76318-76328 index d5c44cd7f55d..8130510f9f5c 100644 Link Here
76318
 
76271
 
76319
 Library("factory_gn")
76272
 Library("factory_gn")
76320
diff --git third_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build third_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build
76273
diff --git third_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build third_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build
76321
index 17e62497fbfd..e972e6822983 100644
76274
index f65d94f80dca..a07bcaae7738 100644
76322
--- third_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build
76275
--- third_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build
76323
+++ third_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build
76276
+++ third_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build
76324
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
76277
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
76325
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
76278
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
76326
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
76279
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
76327
 DEFINES["RTC_ENABLE_VP9"] = True
76280
 DEFINES["RTC_ENABLE_VP9"] = True
76328
+DEFINES["USE_GLIB"] = "1"
76281
+DEFINES["USE_GLIB"] = "1"
Lines 76342-76348 index 17e62497fbfd..e972e6822983 100644 Link Here
76342
 
76295
 
76343
 FINAL_LIBRARY = "xul"
76296
 FINAL_LIBRARY = "xul"
76344
 
76297
 
76345
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
76298
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
76346
 if CONFIG["MOZ_DEBUG"] == "1":
76299
 if CONFIG["MOZ_DEBUG"] == "1":
76347
 
76300
 
76348
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
76301
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 76529-76539 index 17e62497fbfd..e972e6822983 100644 Link Here
76529
 
76482
 
76530
 Library("socket_gn")
76483
 Library("socket_gn")
76531
diff --git third_party/libwebrtc/net/dcsctp/public/types_gn/moz.build third_party/libwebrtc/net/dcsctp/public/types_gn/moz.build
76484
diff --git third_party/libwebrtc/net/dcsctp/public/types_gn/moz.build third_party/libwebrtc/net/dcsctp/public/types_gn/moz.build
76532
index b7af89b0851d..0a2272a27689 100644
76485
index 1b974d0796d6..738f80ce6793 100644
76533
--- third_party/libwebrtc/net/dcsctp/public/types_gn/moz.build
76486
--- third_party/libwebrtc/net/dcsctp/public/types_gn/moz.build
76534
+++ third_party/libwebrtc/net/dcsctp/public/types_gn/moz.build
76487
+++ third_party/libwebrtc/net/dcsctp/public/types_gn/moz.build
76535
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
76488
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
76536
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
76489
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
76537
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
76490
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
76538
 DEFINES["RTC_ENABLE_VP9"] = True
76491
 DEFINES["RTC_ENABLE_VP9"] = True
76539
+DEFINES["USE_GLIB"] = "1"
76492
+DEFINES["USE_GLIB"] = "1"
Lines 76553-76559 index b7af89b0851d..0a2272a27689 100644 Link Here
76553
 
76506
 
76554
 FINAL_LIBRARY = "xul"
76507
 FINAL_LIBRARY = "xul"
76555
 
76508
 
76556
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
76509
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
76557
 if CONFIG["MOZ_DEBUG"] == "1":
76510
 if CONFIG["MOZ_DEBUG"] == "1":
76558
 
76511
 
76559
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
76512
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 76667-76673 index b7af89b0851d..0a2272a27689 100644 Link Here
76667
 
76620
 
76668
 if CONFIG["TARGET_CPU"] == "x86":
76621
 if CONFIG["TARGET_CPU"] == "x86":
76669
 
76622
 
76670
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
76623
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
76671
 
76624
 
76672
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
76625
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
76673
 
76626
 
Lines 76720-76730 index b7af89b0851d..0a2272a27689 100644 Link Here
76720
-
76673
-
76721
 Library("types_gn")
76674
 Library("types_gn")
76722
diff --git third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build
76675
diff --git third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build
76723
index ed06ee415f8e..312e54212c64 100644
76676
index 5276459a3feb..16efcdf3f232 100644
76724
--- third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build
76677
--- third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build
76725
+++ third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build
76678
+++ third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build
76726
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
76679
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
76727
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
76680
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
76728
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
76681
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
76729
 DEFINES["RTC_ENABLE_VP9"] = True
76682
 DEFINES["RTC_ENABLE_VP9"] = True
76730
+DEFINES["USE_GLIB"] = "1"
76683
+DEFINES["USE_GLIB"] = "1"
Lines 76744-76750 index ed06ee415f8e..312e54212c64 100644 Link Here
76744
 
76697
 
76745
 FINAL_LIBRARY = "xul"
76698
 FINAL_LIBRARY = "xul"
76746
 
76699
 
76747
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
76700
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
76748
 if CONFIG["MOZ_DEBUG"] == "1":
76701
 if CONFIG["MOZ_DEBUG"] == "1":
76749
 
76702
 
76750
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
76703
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 76938-76948 index ed06ee415f8e..312e54212c64 100644 Link Here
76938
 
76891
 
76939
 Library("data_tracker_gn")
76892
 Library("data_tracker_gn")
76940
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
76893
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
76941
index 7db6319dfaa8..ed90dc7cc461 100644
76894
index 319c63c7eb91..e6d7a638ec76 100644
76942
--- third_party/libwebrtc/net/dcsctp/rx/interleaved_reassembly_streams_gn/moz.build
76895
--- third_party/libwebrtc/net/dcsctp/rx/interleaved_reassembly_streams_gn/moz.build
76943
+++ third_party/libwebrtc/net/dcsctp/rx/interleaved_reassembly_streams_gn/moz.build
76896
+++ third_party/libwebrtc/net/dcsctp/rx/interleaved_reassembly_streams_gn/moz.build
76944
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
76897
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
76945
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
76898
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
76946
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
76899
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
76947
 DEFINES["RTC_ENABLE_VP9"] = True
76900
 DEFINES["RTC_ENABLE_VP9"] = True
76948
+DEFINES["USE_GLIB"] = "1"
76901
+DEFINES["USE_GLIB"] = "1"
Lines 76962-76968 index 7db6319dfaa8..ed90dc7cc461 100644 Link Here
76962
 
76915
 
76963
 FINAL_LIBRARY = "xul"
76916
 FINAL_LIBRARY = "xul"
76964
 
76917
 
76965
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
76918
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
76966
 if CONFIG["MOZ_DEBUG"] == "1":
76919
 if CONFIG["MOZ_DEBUG"] == "1":
76967
 
76920
 
76968
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
76921
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 77156-77166 index 7db6319dfaa8..ed90dc7cc461 100644 Link Here
77156
 
77109
 
77157
 Library("interleaved_reassembly_streams_gn")
77110
 Library("interleaved_reassembly_streams_gn")
77158
diff --git third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build
77111
diff --git third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build
77159
index efa360452257..befef0bbe4f5 100644
77112
index cdb84f7d102c..06f189fb7b51 100644
77160
--- third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build
77113
--- third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build
77161
+++ third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build
77114
+++ third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build
77162
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
77115
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
77163
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
77116
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
77164
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
77117
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
77165
 DEFINES["RTC_ENABLE_VP9"] = True
77118
 DEFINES["RTC_ENABLE_VP9"] = True
77166
+DEFINES["USE_GLIB"] = "1"
77119
+DEFINES["USE_GLIB"] = "1"
Lines 77180-77186 index efa360452257..befef0bbe4f5 100644 Link Here
77180
 
77133
 
77181
 FINAL_LIBRARY = "xul"
77134
 FINAL_LIBRARY = "xul"
77182
 
77135
 
77183
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
77136
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
77184
 if CONFIG["MOZ_DEBUG"] == "1":
77137
 if CONFIG["MOZ_DEBUG"] == "1":
77185
 
77138
 
77186
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
77139
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 77374-77384 index efa360452257..befef0bbe4f5 100644 Link Here
77374
 
77327
 
77375
 Library("reassembly_queue_gn")
77328
 Library("reassembly_queue_gn")
77376
diff --git third_party/libwebrtc/net/dcsctp/rx/reassembly_streams_gn/moz.build third_party/libwebrtc/net/dcsctp/rx/reassembly_streams_gn/moz.build
77329
diff --git third_party/libwebrtc/net/dcsctp/rx/reassembly_streams_gn/moz.build third_party/libwebrtc/net/dcsctp/rx/reassembly_streams_gn/moz.build
77377
index b829e624d36a..6363d35c7972 100644
77330
index 6c398b133ee0..fd95d137655b 100644
77378
--- third_party/libwebrtc/net/dcsctp/rx/reassembly_streams_gn/moz.build
77331
--- third_party/libwebrtc/net/dcsctp/rx/reassembly_streams_gn/moz.build
77379
+++ third_party/libwebrtc/net/dcsctp/rx/reassembly_streams_gn/moz.build
77332
+++ third_party/libwebrtc/net/dcsctp/rx/reassembly_streams_gn/moz.build
77380
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
77333
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
77381
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
77334
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
77382
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
77335
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
77383
 DEFINES["RTC_ENABLE_VP9"] = True
77336
 DEFINES["RTC_ENABLE_VP9"] = True
77384
+DEFINES["USE_GLIB"] = "1"
77337
+DEFINES["USE_GLIB"] = "1"
Lines 77398-77404 index b829e624d36a..6363d35c7972 100644 Link Here
77398
 
77351
 
77399
 FINAL_LIBRARY = "xul"
77352
 FINAL_LIBRARY = "xul"
77400
 
77353
 
77401
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
77354
@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
77402
 if CONFIG["MOZ_DEBUG"] == "1":
77355
 if CONFIG["MOZ_DEBUG"] == "1":
77403
 
77356
 
77404
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
77357
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 77519-77525 index b829e624d36a..6363d35c7972 100644 Link Here
77519
 
77472
 
77520
 if CONFIG["TARGET_CPU"] == "x86":
77473
 if CONFIG["TARGET_CPU"] == "x86":
77521
 
77474
 
77522
@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
77475
@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
77523
 
77476
 
77524
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
77477
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
77525
 
77478
 
Lines 77572-77582 index b829e624d36a..6363d35c7972 100644 Link Here
77572
-
77525
-
77573
 Library("reassembly_streams_gn")
77526
 Library("reassembly_streams_gn")
77574
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
77527
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
77575
index f8e03b62eb88..c410a12e3122 100644
77528
index dea3f1d04e9c..4da538440a2a 100644
77576
--- third_party/libwebrtc/net/dcsctp/rx/traditional_reassembly_streams_gn/moz.build
77529
--- third_party/libwebrtc/net/dcsctp/rx/traditional_reassembly_streams_gn/moz.build
77577
+++ third_party/libwebrtc/net/dcsctp/rx/traditional_reassembly_streams_gn/moz.build
77530
+++ third_party/libwebrtc/net/dcsctp/rx/traditional_reassembly_streams_gn/moz.build
77578
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
77531
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
77579
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
77532
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
77580
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
77533
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
77581
 DEFINES["RTC_ENABLE_VP9"] = True
77534
 DEFINES["RTC_ENABLE_VP9"] = True
77582
+DEFINES["USE_GLIB"] = "1"
77535
+DEFINES["USE_GLIB"] = "1"
Lines 77596-77602 index f8e03b62eb88..c410a12e3122 100644 Link Here
77596
 
77549
 
77597
 FINAL_LIBRARY = "xul"
77550
 FINAL_LIBRARY = "xul"
77598
 
77551
 
77599
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
77552
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
77600
 if CONFIG["MOZ_DEBUG"] == "1":
77553
 if CONFIG["MOZ_DEBUG"] == "1":
77601
 
77554
 
77602
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
77555
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 77790-77800 index f8e03b62eb88..c410a12e3122 100644 Link Here
77790
 
77743
 
77791
 Library("traditional_reassembly_streams_gn")
77744
 Library("traditional_reassembly_streams_gn")
77792
diff --git third_party/libwebrtc/net/dcsctp/socket/context_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/context_gn/moz.build
77745
diff --git third_party/libwebrtc/net/dcsctp/socket/context_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/context_gn/moz.build
77793
index d6ae65b02e63..5c343e4e3e30 100644
77746
index 1412fe4b2580..51f4925bb9e5 100644
77794
--- third_party/libwebrtc/net/dcsctp/socket/context_gn/moz.build
77747
--- third_party/libwebrtc/net/dcsctp/socket/context_gn/moz.build
77795
+++ third_party/libwebrtc/net/dcsctp/socket/context_gn/moz.build
77748
+++ third_party/libwebrtc/net/dcsctp/socket/context_gn/moz.build
77796
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
77749
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
77797
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
77750
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
77798
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
77751
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
77799
 DEFINES["RTC_ENABLE_VP9"] = True
77752
 DEFINES["RTC_ENABLE_VP9"] = True
77800
+DEFINES["USE_GLIB"] = "1"
77753
+DEFINES["USE_GLIB"] = "1"
Lines 77814-77820 index d6ae65b02e63..5c343e4e3e30 100644 Link Here
77814
 
77767
 
77815
 FINAL_LIBRARY = "xul"
77768
 FINAL_LIBRARY = "xul"
77816
 
77769
 
77817
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
77770
@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
77818
 if CONFIG["MOZ_DEBUG"] == "1":
77771
 if CONFIG["MOZ_DEBUG"] == "1":
77819
 
77772
 
77820
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
77773
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 77935-77941 index d6ae65b02e63..5c343e4e3e30 100644 Link Here
77935
 
77888
 
77936
 if CONFIG["TARGET_CPU"] == "x86":
77889
 if CONFIG["TARGET_CPU"] == "x86":
77937
 
77890
 
77938
@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
77891
@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
77939
 
77892
 
77940
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
77893
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
77941
 
77894
 
Lines 77988-77998 index d6ae65b02e63..5c343e4e3e30 100644 Link Here
77988
-
77941
-
77989
 Library("context_gn")
77942
 Library("context_gn")
77990
diff --git third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build
77943
diff --git third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build
77991
index 5077ef17d6e3..afac7802f8e3 100644
77944
index b5f74c59485f..fc81bd30b2b8 100644
77992
--- third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build
77945
--- third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build
77993
+++ third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build
77946
+++ third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build
77994
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
77947
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
77995
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
77948
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
77996
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
77949
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
77997
 DEFINES["RTC_ENABLE_VP9"] = True
77950
 DEFINES["RTC_ENABLE_VP9"] = True
77998
+DEFINES["USE_GLIB"] = "1"
77951
+DEFINES["USE_GLIB"] = "1"
Lines 78012-78018 index 5077ef17d6e3..afac7802f8e3 100644 Link Here
78012
 
77965
 
78013
 FINAL_LIBRARY = "xul"
77966
 FINAL_LIBRARY = "xul"
78014
 
77967
 
78015
@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
77968
@@ -46,186 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
78016
 if CONFIG["MOZ_DEBUG"] == "1":
77969
 if CONFIG["MOZ_DEBUG"] == "1":
78017
 
77970
 
78018
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
77971
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 78206-78216 index 5077ef17d6e3..afac7802f8e3 100644 Link Here
78206
 
78159
 
78207
 Library("dcsctp_socket_gn")
78160
 Library("dcsctp_socket_gn")
78208
diff --git third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build
78161
diff --git third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build
78209
index 754c30dabf4b..43c70d03ca46 100644
78162
index 0a9c0ad00ea5..19c7c7c852fa 100644
78210
--- third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build
78163
--- third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build
78211
+++ third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build
78164
+++ third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build
78212
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
78165
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
78213
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
78166
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
78214
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
78167
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
78215
 DEFINES["RTC_ENABLE_VP9"] = True
78168
 DEFINES["RTC_ENABLE_VP9"] = True
78216
+DEFINES["USE_GLIB"] = "1"
78169
+DEFINES["USE_GLIB"] = "1"
Lines 78230-78236 index 754c30dabf4b..43c70d03ca46 100644 Link Here
78230
 
78183
 
78231
 FINAL_LIBRARY = "xul"
78184
 FINAL_LIBRARY = "xul"
78232
 
78185
 
78233
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
78186
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
78234
 if CONFIG["MOZ_DEBUG"] == "1":
78187
 if CONFIG["MOZ_DEBUG"] == "1":
78235
 
78188
 
78236
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
78189
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 78424-78434 index 754c30dabf4b..43c70d03ca46 100644 Link Here
78424
 
78377
 
78425
 Library("heartbeat_handler_gn")
78378
 Library("heartbeat_handler_gn")
78426
diff --git third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build
78379
diff --git third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build
78427
index 4473e5cdb86d..ef16a31312b8 100644
78380
index ed127c2a2056..1bc00bd677ad 100644
78428
--- third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build
78381
--- third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build
78429
+++ third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build
78382
+++ third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build
78430
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
78383
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
78431
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
78384
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
78432
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
78385
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
78433
 DEFINES["RTC_ENABLE_VP9"] = True
78386
 DEFINES["RTC_ENABLE_VP9"] = True
78434
+DEFINES["USE_GLIB"] = "1"
78387
+DEFINES["USE_GLIB"] = "1"
Lines 78448-78454 index 4473e5cdb86d..ef16a31312b8 100644 Link Here
78448
 
78401
 
78449
 FINAL_LIBRARY = "xul"
78402
 FINAL_LIBRARY = "xul"
78450
 
78403
 
78451
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
78404
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
78452
 if CONFIG["MOZ_DEBUG"] == "1":
78405
 if CONFIG["MOZ_DEBUG"] == "1":
78453
 
78406
 
78454
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
78407
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 78642-78652 index 4473e5cdb86d..ef16a31312b8 100644 Link Here
78642
 
78595
 
78643
 Library("packet_sender_gn")
78596
 Library("packet_sender_gn")
78644
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
78597
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
78645
index f740f1e2814a..66d5e7387bb3 100644
78598
index 49714f1804f3..fca2c697c710 100644
78646
--- third_party/libwebrtc/net/dcsctp/socket/stream_reset_handler_gn/moz.build
78599
--- third_party/libwebrtc/net/dcsctp/socket/stream_reset_handler_gn/moz.build
78647
+++ third_party/libwebrtc/net/dcsctp/socket/stream_reset_handler_gn/moz.build
78600
+++ third_party/libwebrtc/net/dcsctp/socket/stream_reset_handler_gn/moz.build
78648
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
78601
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
78649
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
78602
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
78650
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
78603
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
78651
 DEFINES["RTC_ENABLE_VP9"] = True
78604
 DEFINES["RTC_ENABLE_VP9"] = True
78652
+DEFINES["USE_GLIB"] = "1"
78605
+DEFINES["USE_GLIB"] = "1"
Lines 78666-78672 index f740f1e2814a..66d5e7387bb3 100644 Link Here
78666
 
78619
 
78667
 FINAL_LIBRARY = "xul"
78620
 FINAL_LIBRARY = "xul"
78668
 
78621
 
78669
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
78622
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
78670
 if CONFIG["MOZ_DEBUG"] == "1":
78623
 if CONFIG["MOZ_DEBUG"] == "1":
78671
 
78624
 
78672
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
78625
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 78860-78870 index f740f1e2814a..66d5e7387bb3 100644 Link Here
78860
 
78813
 
78861
 Library("stream_reset_handler_gn")
78814
 Library("stream_reset_handler_gn")
78862
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
78815
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
78863
index 2f57383eed74..ab7a50de0e71 100644
78816
index be93efb070fb..b780282e8e46 100644
78864
--- third_party/libwebrtc/net/dcsctp/socket/transmission_control_block_gn/moz.build
78817
--- third_party/libwebrtc/net/dcsctp/socket/transmission_control_block_gn/moz.build
78865
+++ third_party/libwebrtc/net/dcsctp/socket/transmission_control_block_gn/moz.build
78818
+++ third_party/libwebrtc/net/dcsctp/socket/transmission_control_block_gn/moz.build
78866
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
78819
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
78867
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
78820
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
78868
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
78821
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
78869
 DEFINES["RTC_ENABLE_VP9"] = True
78822
 DEFINES["RTC_ENABLE_VP9"] = True
78870
+DEFINES["USE_GLIB"] = "1"
78823
+DEFINES["USE_GLIB"] = "1"
Lines 78884-78890 index 2f57383eed74..ab7a50de0e71 100644 Link Here
78884
 
78837
 
78885
 FINAL_LIBRARY = "xul"
78838
 FINAL_LIBRARY = "xul"
78886
 
78839
 
78887
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
78840
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
78888
 if CONFIG["MOZ_DEBUG"] == "1":
78841
 if CONFIG["MOZ_DEBUG"] == "1":
78889
 
78842
 
78890
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
78843
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 79078-79088 index 2f57383eed74..ab7a50de0e71 100644 Link Here
79078
 
79031
 
79079
 Library("transmission_control_block_gn")
79032
 Library("transmission_control_block_gn")
79080
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
79033
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
79081
index 92d96b5a4884..b8f118fa70e9 100644
79034
index 19e9a8ae4cb0..ee7ab28bbb77 100644
79082
--- third_party/libwebrtc/net/dcsctp/timer/task_queue_timeout_gn/moz.build
79035
--- third_party/libwebrtc/net/dcsctp/timer/task_queue_timeout_gn/moz.build
79083
+++ third_party/libwebrtc/net/dcsctp/timer/task_queue_timeout_gn/moz.build
79036
+++ third_party/libwebrtc/net/dcsctp/timer/task_queue_timeout_gn/moz.build
79084
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
79037
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
79085
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
79038
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
79086
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
79039
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
79087
 DEFINES["RTC_ENABLE_VP9"] = True
79040
 DEFINES["RTC_ENABLE_VP9"] = True
79088
+DEFINES["USE_GLIB"] = "1"
79041
+DEFINES["USE_GLIB"] = "1"
Lines 79102-79108 index 92d96b5a4884..b8f118fa70e9 100644 Link Here
79102
 
79055
 
79103
 FINAL_LIBRARY = "xul"
79056
 FINAL_LIBRARY = "xul"
79104
 
79057
 
79105
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
79058
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
79106
 if CONFIG["MOZ_DEBUG"] == "1":
79059
 if CONFIG["MOZ_DEBUG"] == "1":
79107
 
79060
 
79108
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
79061
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 79296-79306 index 92d96b5a4884..b8f118fa70e9 100644 Link Here
79296
 
79249
 
79297
 Library("task_queue_timeout_gn")
79250
 Library("task_queue_timeout_gn")
79298
diff --git third_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build third_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build
79251
diff --git third_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build third_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build
79299
index e72d318f368b..5e9b0f5f076e 100644
79252
index fc21b96cb95e..92d3bad017da 100644
79300
--- third_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build
79253
--- third_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build
79301
+++ third_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build
79254
+++ third_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build
79302
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
79255
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
79303
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
79256
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
79304
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
79257
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
79305
 DEFINES["RTC_ENABLE_VP9"] = True
79258
 DEFINES["RTC_ENABLE_VP9"] = True
79306
+DEFINES["USE_GLIB"] = "1"
79259
+DEFINES["USE_GLIB"] = "1"
Lines 79320-79326 index e72d318f368b..5e9b0f5f076e 100644 Link Here
79320
 
79273
 
79321
 FINAL_LIBRARY = "xul"
79274
 FINAL_LIBRARY = "xul"
79322
 
79275
 
79323
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
79276
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
79324
 if CONFIG["MOZ_DEBUG"] == "1":
79277
 if CONFIG["MOZ_DEBUG"] == "1":
79325
 
79278
 
79326
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
79279
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 79507-79517 index e72d318f368b..5e9b0f5f076e 100644 Link Here
79507
 
79460
 
79508
 Library("timer_gn")
79461
 Library("timer_gn")
79509
diff --git third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build
79462
diff --git third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build
79510
index db4877c0eb5a..bee7fe1717f9 100644
79463
index d6f0efb0e95e..d9f2acafec11 100644
79511
--- third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build
79464
--- third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build
79512
+++ third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build
79465
+++ third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build
79513
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
79466
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
79514
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
79467
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
79515
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
79468
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
79516
 DEFINES["RTC_ENABLE_VP9"] = True
79469
 DEFINES["RTC_ENABLE_VP9"] = True
79517
+DEFINES["USE_GLIB"] = "1"
79470
+DEFINES["USE_GLIB"] = "1"
Lines 79531-79537 index db4877c0eb5a..bee7fe1717f9 100644 Link Here
79531
 
79484
 
79532
 FINAL_LIBRARY = "xul"
79485
 FINAL_LIBRARY = "xul"
79533
 
79486
 
79534
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
79487
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
79535
 if CONFIG["MOZ_DEBUG"] == "1":
79488
 if CONFIG["MOZ_DEBUG"] == "1":
79536
 
79489
 
79537
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
79490
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 79725-79735 index db4877c0eb5a..bee7fe1717f9 100644 Link Here
79725
 
79678
 
79726
 Library("outstanding_data_gn")
79679
 Library("outstanding_data_gn")
79727
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
79680
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
79728
index 1d65b2c48361..633445df7694 100644
79681
index e4c78b2b27c0..f24cfb2e48ec 100644
79729
--- third_party/libwebrtc/net/dcsctp/tx/retransmission_error_counter_gn/moz.build
79682
--- third_party/libwebrtc/net/dcsctp/tx/retransmission_error_counter_gn/moz.build
79730
+++ third_party/libwebrtc/net/dcsctp/tx/retransmission_error_counter_gn/moz.build
79683
+++ third_party/libwebrtc/net/dcsctp/tx/retransmission_error_counter_gn/moz.build
79731
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
79684
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
79732
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
79685
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
79733
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
79686
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
79734
 DEFINES["RTC_ENABLE_VP9"] = True
79687
 DEFINES["RTC_ENABLE_VP9"] = True
79735
+DEFINES["USE_GLIB"] = "1"
79688
+DEFINES["USE_GLIB"] = "1"
Lines 79749-79755 index 1d65b2c48361..633445df7694 100644 Link Here
79749
 
79702
 
79750
 FINAL_LIBRARY = "xul"
79703
 FINAL_LIBRARY = "xul"
79751
 
79704
 
79752
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
79705
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
79753
 if CONFIG["MOZ_DEBUG"] == "1":
79706
 if CONFIG["MOZ_DEBUG"] == "1":
79754
 
79707
 
79755
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
79708
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 79943-79953 index 1d65b2c48361..633445df7694 100644 Link Here
79943
 
79896
 
79944
 Library("retransmission_error_counter_gn")
79897
 Library("retransmission_error_counter_gn")
79945
diff --git third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build
79898
diff --git third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build
79946
index 7b314599a9ba..1b8bec53706d 100644
79899
index 94099b89bbc9..d4eef73f4081 100644
79947
--- third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build
79900
--- third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build
79948
+++ third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build
79901
+++ third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build
79949
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
79902
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
79950
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
79903
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
79951
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
79904
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
79952
 DEFINES["RTC_ENABLE_VP9"] = True
79905
 DEFINES["RTC_ENABLE_VP9"] = True
79953
+DEFINES["USE_GLIB"] = "1"
79906
+DEFINES["USE_GLIB"] = "1"
Lines 79967-79973 index 7b314599a9ba..1b8bec53706d 100644 Link Here
79967
 
79920
 
79968
 FINAL_LIBRARY = "xul"
79921
 FINAL_LIBRARY = "xul"
79969
 
79922
 
79970
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
79923
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
79971
 if CONFIG["MOZ_DEBUG"] == "1":
79924
 if CONFIG["MOZ_DEBUG"] == "1":
79972
 
79925
 
79973
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
79926
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 80161-80171 index 7b314599a9ba..1b8bec53706d 100644 Link Here
80161
 
80114
 
80162
 Library("retransmission_queue_gn")
80115
 Library("retransmission_queue_gn")
80163
diff --git third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build
80116
diff --git third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build
80164
index 65d68e087729..c5164b6718d3 100644
80117
index b3cc98e36fcb..7e95c8f18e3d 100644
80165
--- third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build
80118
--- third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build
80166
+++ third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build
80119
+++ third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build
80167
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
80120
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
80168
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
80121
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
80169
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
80122
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
80170
 DEFINES["RTC_ENABLE_VP9"] = True
80123
 DEFINES["RTC_ENABLE_VP9"] = True
80171
+DEFINES["USE_GLIB"] = "1"
80124
+DEFINES["USE_GLIB"] = "1"
Lines 80185-80191 index 65d68e087729..c5164b6718d3 100644 Link Here
80185
 
80138
 
80186
 FINAL_LIBRARY = "xul"
80139
 FINAL_LIBRARY = "xul"
80187
 
80140
 
80188
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
80141
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
80189
 if CONFIG["MOZ_DEBUG"] == "1":
80142
 if CONFIG["MOZ_DEBUG"] == "1":
80190
 
80143
 
80191
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
80144
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 80372-80382 index 65d68e087729..c5164b6718d3 100644 Link Here
80372
 
80325
 
80373
 Library("retransmission_timeout_gn")
80326
 Library("retransmission_timeout_gn")
80374
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
80327
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
80375
index 1cb8bd431eaa..9ea25738de8c 100644
80328
index 0930a4d36c9f..271a2fd7a9a7 100644
80376
--- third_party/libwebrtc/net/dcsctp/tx/rr_send_queue_gn/moz.build
80329
--- third_party/libwebrtc/net/dcsctp/tx/rr_send_queue_gn/moz.build
80377
+++ third_party/libwebrtc/net/dcsctp/tx/rr_send_queue_gn/moz.build
80330
+++ third_party/libwebrtc/net/dcsctp/tx/rr_send_queue_gn/moz.build
80378
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
80331
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
80379
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
80332
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
80380
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
80333
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
80381
 DEFINES["RTC_ENABLE_VP9"] = True
80334
 DEFINES["RTC_ENABLE_VP9"] = True
80382
+DEFINES["USE_GLIB"] = "1"
80335
+DEFINES["USE_GLIB"] = "1"
Lines 80396-80402 index 1cb8bd431eaa..9ea25738de8c 100644 Link Here
80396
 
80349
 
80397
 FINAL_LIBRARY = "xul"
80350
 FINAL_LIBRARY = "xul"
80398
 
80351
 
80399
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
80352
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
80400
 if CONFIG["MOZ_DEBUG"] == "1":
80353
 if CONFIG["MOZ_DEBUG"] == "1":
80401
 
80354
 
80402
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
80355
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 80590-80600 index 1cb8bd431eaa..9ea25738de8c 100644 Link Here
80590
 
80543
 
80591
 Library("rr_send_queue_gn")
80544
 Library("rr_send_queue_gn")
80592
diff --git third_party/libwebrtc/net/dcsctp/tx/send_queue_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/send_queue_gn/moz.build
80545
diff --git third_party/libwebrtc/net/dcsctp/tx/send_queue_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/send_queue_gn/moz.build
80593
index 103522c30ecf..f78f753430a9 100644
80546
index 53637eff6663..a227ea7ffca7 100644
80594
--- third_party/libwebrtc/net/dcsctp/tx/send_queue_gn/moz.build
80547
--- third_party/libwebrtc/net/dcsctp/tx/send_queue_gn/moz.build
80595
+++ third_party/libwebrtc/net/dcsctp/tx/send_queue_gn/moz.build
80548
+++ third_party/libwebrtc/net/dcsctp/tx/send_queue_gn/moz.build
80596
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
80549
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
80597
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
80550
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
80598
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
80551
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
80599
 DEFINES["RTC_ENABLE_VP9"] = True
80552
 DEFINES["RTC_ENABLE_VP9"] = True
80600
+DEFINES["USE_GLIB"] = "1"
80553
+DEFINES["USE_GLIB"] = "1"
Lines 80614-80620 index 103522c30ecf..f78f753430a9 100644 Link Here
80614
 
80567
 
80615
 FINAL_LIBRARY = "xul"
80568
 FINAL_LIBRARY = "xul"
80616
 
80569
 
80617
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
80570
@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
80618
 if CONFIG["MOZ_DEBUG"] == "1":
80571
 if CONFIG["MOZ_DEBUG"] == "1":
80619
 
80572
 
80620
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
80573
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 80735-80741 index 103522c30ecf..f78f753430a9 100644 Link Here
80735
 
80688
 
80736
 if CONFIG["TARGET_CPU"] == "x86":
80689
 if CONFIG["TARGET_CPU"] == "x86":
80737
 
80690
 
80738
@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
80691
@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
80739
 
80692
 
80740
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
80693
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
80741
 
80694
 
Lines 80788-80798 index 103522c30ecf..f78f753430a9 100644 Link Here
80788
-
80741
-
80789
 Library("send_queue_gn")
80742
 Library("send_queue_gn")
80790
diff --git third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build
80743
diff --git third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build
80791
index 1617cd052cfb..1918ce77f1a0 100644
80744
index 664394c22b67..0e1f5e52ab80 100644
80792
--- third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build
80745
--- third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build
80793
+++ third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build
80746
+++ third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build
80794
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
80747
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
80795
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
80748
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
80796
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
80749
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
80797
 DEFINES["RTC_ENABLE_VP9"] = True
80750
 DEFINES["RTC_ENABLE_VP9"] = True
80798
+DEFINES["USE_GLIB"] = "1"
80751
+DEFINES["USE_GLIB"] = "1"
Lines 80812-80818 index 1617cd052cfb..1918ce77f1a0 100644 Link Here
80812
 
80765
 
80813
 FINAL_LIBRARY = "xul"
80766
 FINAL_LIBRARY = "xul"
80814
 
80767
 
80815
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
80768
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
80816
 if CONFIG["MOZ_DEBUG"] == "1":
80769
 if CONFIG["MOZ_DEBUG"] == "1":
80817
 
80770
 
80818
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
80771
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 81006-81016 index 1617cd052cfb..1918ce77f1a0 100644 Link Here
81006
 
80959
 
81007
 Library("stream_scheduler_gn")
80960
 Library("stream_scheduler_gn")
81008
diff --git third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build
80961
diff --git third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build
81009
index 07281aa318a7..2a5a0f61c3c3 100644
80962
index ebe2d31f76cb..4273164eb8ae 100644
81010
--- third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build
80963
--- third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build
81011
+++ third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build
80964
+++ third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build
81012
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
80965
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
81013
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
80966
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
81014
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
80967
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
81015
 DEFINES["RTC_ENABLE_VP9"] = True
80968
 DEFINES["RTC_ENABLE_VP9"] = True
81016
+DEFINES["USE_GLIB"] = "1"
80969
+DEFINES["USE_GLIB"] = "1"
Lines 81030-81036 index 07281aa318a7..2a5a0f61c3c3 100644 Link Here
81030
 
80983
 
81031
 FINAL_LIBRARY = "xul"
80984
 FINAL_LIBRARY = "xul"
81032
 
80985
 
81033
@@ -43,187 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
80986
@@ -44,187 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
81034
 if CONFIG["MOZ_DEBUG"] == "1":
80987
 if CONFIG["MOZ_DEBUG"] == "1":
81035
 
80988
 
81036
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
80989
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 81225-81235 index 07281aa318a7..2a5a0f61c3c3 100644 Link Here
81225
 
81178
 
81226
 Library("async_dns_resolver_gn")
81179
 Library("async_dns_resolver_gn")
81227
diff --git third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build
81180
diff --git third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build
81228
index 59de36d84d9a..1dc426614ba0 100644
81181
index 0739957773e6..99cb949dca52 100644
81229
--- third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build
81182
--- third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build
81230
+++ third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build
81183
+++ third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build
81231
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
81184
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
81232
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
81185
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
81233
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
81186
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
81234
 DEFINES["RTC_ENABLE_VP9"] = True
81187
 DEFINES["RTC_ENABLE_VP9"] = True
81235
+DEFINES["USE_GLIB"] = "1"
81188
+DEFINES["USE_GLIB"] = "1"
Lines 81249-81255 index 59de36d84d9a..1dc426614ba0 100644 Link Here
81249
 
81202
 
81250
 FINAL_LIBRARY = "xul"
81203
 FINAL_LIBRARY = "xul"
81251
 
81204
 
81252
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
81205
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
81253
 if CONFIG["MOZ_DEBUG"] == "1":
81206
 if CONFIG["MOZ_DEBUG"] == "1":
81254
 
81207
 
81255
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
81208
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 81359-81365 index 59de36d84d9a..1dc426614ba0 100644 Link Here
81359
 
81312
 
81360
 if CONFIG["TARGET_CPU"] == "x86":
81313
 if CONFIG["TARGET_CPU"] == "x86":
81361
 
81314
 
81362
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
81315
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
81363
 
81316
 
81364
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
81317
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
81365
 
81318
 
Lines 81412-81422 index 59de36d84d9a..1dc426614ba0 100644 Link Here
81412
-
81365
-
81413
 Library("async_packet_socket_gn")
81366
 Library("async_packet_socket_gn")
81414
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
81367
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
81415
index 2bb40d7b400d..59b686b72228 100644
81368
index dde6dc9d8144..be4e6cad1dbd 100644
81416
--- third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build
81369
--- third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build
81417
+++ third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build
81370
+++ third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build
81418
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
81371
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
81419
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
81372
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
81420
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
81373
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
81421
 DEFINES["RTC_ENABLE_VP9"] = True
81374
 DEFINES["RTC_ENABLE_VP9"] = True
81422
+DEFINES["USE_GLIB"] = "1"
81375
+DEFINES["USE_GLIB"] = "1"
Lines 81436-81442 index 2bb40d7b400d..59b686b72228 100644 Link Here
81436
 
81389
 
81437
 FINAL_LIBRARY = "xul"
81390
 FINAL_LIBRARY = "xul"
81438
 
81391
 
81439
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
81392
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
81440
 if CONFIG["MOZ_DEBUG"] == "1":
81393
 if CONFIG["MOZ_DEBUG"] == "1":
81441
 
81394
 
81442
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
81395
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 81630-81640 index 2bb40d7b400d..59b686b72228 100644 Link Here
81630
 
81583
 
81631
 Library("audio_format_to_string_gn")
81584
 Library("audio_format_to_string_gn")
81632
diff --git third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build
81585
diff --git third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build
81633
index a97cbd0f0e4b..a183036f9f29 100644
81586
index ef6a31fb5e9b..67ba86b45fdf 100644
81634
--- third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build
81587
--- third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build
81635
+++ third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build
81588
+++ third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build
81636
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
81589
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
81637
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
81590
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
81638
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
81591
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
81639
 DEFINES["RTC_ENABLE_VP9"] = True
81592
 DEFINES["RTC_ENABLE_VP9"] = True
81640
+DEFINES["USE_GLIB"] = "1"
81593
+DEFINES["USE_GLIB"] = "1"
Lines 81654-81660 index a97cbd0f0e4b..a183036f9f29 100644 Link Here
81654
 
81607
 
81655
 FINAL_LIBRARY = "xul"
81608
 FINAL_LIBRARY = "xul"
81656
 
81609
 
81657
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
81610
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
81658
 if CONFIG["MOZ_DEBUG"] == "1":
81611
 if CONFIG["MOZ_DEBUG"] == "1":
81659
 
81612
 
81660
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
81613
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 81841-81851 index a97cbd0f0e4b..a183036f9f29 100644 Link Here
81841
 
81794
 
81842
 Library("bit_buffer_gn")
81795
 Library("bit_buffer_gn")
81843
diff --git third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build
81796
diff --git third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build
81844
index 48ec1d8b394a..bb90b19b5ef7 100644
81797
index e98692d2e7b7..45ab9ef5afd1 100644
81845
--- third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build
81798
--- third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build
81846
+++ third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build
81799
+++ third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build
81847
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
81800
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
81848
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
81801
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
81849
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
81802
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
81850
 DEFINES["RTC_ENABLE_VP9"] = True
81803
 DEFINES["RTC_ENABLE_VP9"] = True
81851
+DEFINES["USE_GLIB"] = "1"
81804
+DEFINES["USE_GLIB"] = "1"
Lines 81865-81871 index 48ec1d8b394a..bb90b19b5ef7 100644 Link Here
81865
 
81818
 
81866
 FINAL_LIBRARY = "xul"
81819
 FINAL_LIBRARY = "xul"
81867
 
81820
 
81868
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
81821
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
81869
 if CONFIG["MOZ_DEBUG"] == "1":
81822
 if CONFIG["MOZ_DEBUG"] == "1":
81870
 
81823
 
81871
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
81824
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 82059-82069 index 48ec1d8b394a..bb90b19b5ef7 100644 Link Here
82059
 
82012
 
82060
 Library("bitrate_tracker_gn")
82013
 Library("bitrate_tracker_gn")
82061
diff --git third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build
82014
diff --git third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build
82062
index b6e5cdc25679..f2785c8a470b 100644
82015
index 41bb6e4e0ee4..c8612822886c 100644
82063
--- third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build
82016
--- third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build
82064
+++ third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build
82017
+++ third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build
82065
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
82018
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
82066
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
82019
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
82067
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
82020
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
82068
 DEFINES["RTC_ENABLE_VP9"] = True
82021
 DEFINES["RTC_ENABLE_VP9"] = True
82069
+DEFINES["USE_GLIB"] = "1"
82022
+DEFINES["USE_GLIB"] = "1"
Lines 82083-82089 index b6e5cdc25679..f2785c8a470b 100644 Link Here
82083
 
82036
 
82084
 FINAL_LIBRARY = "xul"
82037
 FINAL_LIBRARY = "xul"
82085
 
82038
 
82086
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
82039
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
82087
 if CONFIG["MOZ_DEBUG"] == "1":
82040
 if CONFIG["MOZ_DEBUG"] == "1":
82088
 
82041
 
82089
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
82042
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 82270-82280 index b6e5cdc25679..f2785c8a470b 100644 Link Here
82270
 
82223
 
82271
 Library("bitstream_reader_gn")
82224
 Library("bitstream_reader_gn")
82272
diff --git third_party/libwebrtc/rtc_base/buffer_gn/moz.build third_party/libwebrtc/rtc_base/buffer_gn/moz.build
82225
diff --git third_party/libwebrtc/rtc_base/buffer_gn/moz.build third_party/libwebrtc/rtc_base/buffer_gn/moz.build
82273
index cb8c70cd12d1..627182b344f7 100644
82226
index 896456d6ec99..534605ccf4e2 100644
82274
--- third_party/libwebrtc/rtc_base/buffer_gn/moz.build
82227
--- third_party/libwebrtc/rtc_base/buffer_gn/moz.build
82275
+++ third_party/libwebrtc/rtc_base/buffer_gn/moz.build
82228
+++ third_party/libwebrtc/rtc_base/buffer_gn/moz.build
82276
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
82229
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
82277
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
82230
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
82278
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
82231
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
82279
 DEFINES["RTC_ENABLE_VP9"] = True
82232
 DEFINES["RTC_ENABLE_VP9"] = True
82280
+DEFINES["USE_GLIB"] = "1"
82233
+DEFINES["USE_GLIB"] = "1"
Lines 82294-82300 index cb8c70cd12d1..627182b344f7 100644 Link Here
82294
 
82247
 
82295
 FINAL_LIBRARY = "xul"
82248
 FINAL_LIBRARY = "xul"
82296
 
82249
 
82297
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
82250
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
82298
 if CONFIG["MOZ_DEBUG"] == "1":
82251
 if CONFIG["MOZ_DEBUG"] == "1":
82299
 
82252
 
82300
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
82253
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 82408-82414 index cb8c70cd12d1..627182b344f7 100644 Link Here
82408
 
82361
 
82409
 if CONFIG["TARGET_CPU"] == "x86":
82362
 if CONFIG["TARGET_CPU"] == "x86":
82410
 
82363
 
82411
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
82364
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
82412
 
82365
 
82413
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
82366
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
82414
 
82367
 
Lines 82461-82471 index cb8c70cd12d1..627182b344f7 100644 Link Here
82461
-
82414
-
82462
 Library("buffer_gn")
82415
 Library("buffer_gn")
82463
diff --git third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build
82416
diff --git third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build
82464
index 53412c151689..d57286760dc5 100644
82417
index efa39af67ca2..4fbf51d84dd6 100644
82465
--- third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build
82418
--- third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build
82466
+++ third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build
82419
+++ third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build
82467
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
82420
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
82468
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
82421
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
82469
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
82422
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
82470
 DEFINES["RTC_ENABLE_VP9"] = True
82423
 DEFINES["RTC_ENABLE_VP9"] = True
82471
+DEFINES["USE_GLIB"] = "1"
82424
+DEFINES["USE_GLIB"] = "1"
Lines 82485-82491 index 53412c151689..d57286760dc5 100644 Link Here
82485
 
82438
 
82486
 FINAL_LIBRARY = "xul"
82439
 FINAL_LIBRARY = "xul"
82487
 
82440
 
82488
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
82441
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
82489
 if CONFIG["MOZ_DEBUG"] == "1":
82442
 if CONFIG["MOZ_DEBUG"] == "1":
82490
 
82443
 
82491
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
82444
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 82672-82682 index 53412c151689..d57286760dc5 100644 Link Here
82672
 
82625
 
82673
 Library("byte_buffer_gn")
82626
 Library("byte_buffer_gn")
82674
diff --git third_party/libwebrtc/rtc_base/byte_order_gn/moz.build third_party/libwebrtc/rtc_base/byte_order_gn/moz.build
82627
diff --git third_party/libwebrtc/rtc_base/byte_order_gn/moz.build third_party/libwebrtc/rtc_base/byte_order_gn/moz.build
82675
index eb8960e92dc5..b483351cb849 100644
82628
index ce685d4814d2..65ab76218c6c 100644
82676
--- third_party/libwebrtc/rtc_base/byte_order_gn/moz.build
82629
--- third_party/libwebrtc/rtc_base/byte_order_gn/moz.build
82677
+++ third_party/libwebrtc/rtc_base/byte_order_gn/moz.build
82630
+++ third_party/libwebrtc/rtc_base/byte_order_gn/moz.build
82678
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
82631
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
82679
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
82632
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
82680
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
82633
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
82681
 DEFINES["RTC_ENABLE_VP9"] = True
82634
 DEFINES["RTC_ENABLE_VP9"] = True
82682
+DEFINES["USE_GLIB"] = "1"
82635
+DEFINES["USE_GLIB"] = "1"
Lines 82696-82702 index eb8960e92dc5..b483351cb849 100644 Link Here
82696
 
82649
 
82697
 FINAL_LIBRARY = "xul"
82650
 FINAL_LIBRARY = "xul"
82698
 
82651
 
82699
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
82652
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
82700
 if CONFIG["MOZ_DEBUG"] == "1":
82653
 if CONFIG["MOZ_DEBUG"] == "1":
82701
 
82654
 
82702
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
82655
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 82806-82812 index eb8960e92dc5..b483351cb849 100644 Link Here
82806
 
82759
 
82807
 if CONFIG["TARGET_CPU"] == "x86":
82760
 if CONFIG["TARGET_CPU"] == "x86":
82808
 
82761
 
82809
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
82762
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
82810
 
82763
 
82811
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
82764
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
82812
 
82765
 
Lines 82859-82869 index eb8960e92dc5..b483351cb849 100644 Link Here
82859
-
82812
-
82860
 Library("byte_order_gn")
82813
 Library("byte_order_gn")
82861
diff --git third_party/libwebrtc/rtc_base/checks_gn/moz.build third_party/libwebrtc/rtc_base/checks_gn/moz.build
82814
diff --git third_party/libwebrtc/rtc_base/checks_gn/moz.build third_party/libwebrtc/rtc_base/checks_gn/moz.build
82862
index 4009fff6361f..bac79efc3909 100644
82815
index 1f38f2ca7a4f..2e0f0e8b7744 100644
82863
--- third_party/libwebrtc/rtc_base/checks_gn/moz.build
82816
--- third_party/libwebrtc/rtc_base/checks_gn/moz.build
82864
+++ third_party/libwebrtc/rtc_base/checks_gn/moz.build
82817
+++ third_party/libwebrtc/rtc_base/checks_gn/moz.build
82865
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
82818
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
82866
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
82819
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
82867
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
82820
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
82868
 DEFINES["RTC_ENABLE_VP9"] = True
82821
 DEFINES["RTC_ENABLE_VP9"] = True
82869
+DEFINES["USE_GLIB"] = "1"
82822
+DEFINES["USE_GLIB"] = "1"
Lines 82883-82889 index 4009fff6361f..bac79efc3909 100644 Link Here
82883
 
82836
 
82884
 FINAL_LIBRARY = "xul"
82837
 FINAL_LIBRARY = "xul"
82885
 
82838
 
82886
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
82839
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
82887
 if CONFIG["MOZ_DEBUG"] == "1":
82840
 if CONFIG["MOZ_DEBUG"] == "1":
82888
 
82841
 
82889
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
82842
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 83070-83080 index 4009fff6361f..bac79efc3909 100644 Link Here
83070
 
83023
 
83071
 Library("checks_gn")
83024
 Library("checks_gn")
83072
diff --git third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build
83025
diff --git third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build
83073
index 758670919dc9..e20bdf1570ff 100644
83026
index 154848b920fa..09fca9233e44 100644
83074
--- third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build
83027
--- third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build
83075
+++ third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build
83028
+++ third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build
83076
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
83029
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
83077
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
83030
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
83078
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
83031
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
83079
 DEFINES["RTC_ENABLE_VP9"] = True
83032
 DEFINES["RTC_ENABLE_VP9"] = True
83080
+DEFINES["USE_GLIB"] = "1"
83033
+DEFINES["USE_GLIB"] = "1"
Lines 83094-83100 index 758670919dc9..e20bdf1570ff 100644 Link Here
83094
 
83047
 
83095
 FINAL_LIBRARY = "xul"
83048
 FINAL_LIBRARY = "xul"
83096
 
83049
 
83097
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
83050
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
83098
 if CONFIG["MOZ_DEBUG"] == "1":
83051
 if CONFIG["MOZ_DEBUG"] == "1":
83099
 
83052
 
83100
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
83053
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 83204-83210 index 758670919dc9..e20bdf1570ff 100644 Link Here
83204
 
83157
 
83205
 if CONFIG["TARGET_CPU"] == "x86":
83158
 if CONFIG["TARGET_CPU"] == "x86":
83206
 
83159
 
83207
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
83160
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
83208
 
83161
 
83209
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
83162
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
83210
 
83163
 
Lines 83257-83267 index 758670919dc9..e20bdf1570ff 100644 Link Here
83257
-
83210
-
83258
 Library("compile_assert_c_gn")
83211
 Library("compile_assert_c_gn")
83259
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
83212
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
83260
index 29e2f794070b..0e1ee33fb9d3 100644
83213
index d5f7393960b9..0108ed9d35e6 100644
83261
--- third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build
83214
--- third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build
83262
+++ third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build
83215
+++ third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build
83263
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
83216
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
83264
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
83217
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
83265
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
83218
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
83266
 DEFINES["RTC_ENABLE_VP9"] = True
83219
 DEFINES["RTC_ENABLE_VP9"] = True
83267
+DEFINES["USE_GLIB"] = "1"
83220
+DEFINES["USE_GLIB"] = "1"
Lines 83281-83287 index 29e2f794070b..0e1ee33fb9d3 100644 Link Here
83281
 
83234
 
83282
 FINAL_LIBRARY = "xul"
83235
 FINAL_LIBRARY = "xul"
83283
 
83236
 
83284
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
83237
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
83285
 if CONFIG["MOZ_DEBUG"] == "1":
83238
 if CONFIG["MOZ_DEBUG"] == "1":
83286
 
83239
 
83287
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
83240
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 83468-83478 index 29e2f794070b..0e1ee33fb9d3 100644 Link Here
83468
 
83421
 
83469
 Library("flat_containers_internal_gn")
83422
 Library("flat_containers_internal_gn")
83470
diff --git third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build
83423
diff --git third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build
83471
index 9bdb5b2ad824..55eff7cde666 100644
83424
index 638358d79d52..c890542ae1f6 100644
83472
--- third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build
83425
--- third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build
83473
+++ third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build
83426
+++ third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build
83474
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
83427
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
83475
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
83428
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
83476
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
83429
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
83477
 DEFINES["RTC_ENABLE_VP9"] = True
83430
 DEFINES["RTC_ENABLE_VP9"] = True
83478
+DEFINES["USE_GLIB"] = "1"
83431
+DEFINES["USE_GLIB"] = "1"
Lines 83492-83498 index 9bdb5b2ad824..55eff7cde666 100644 Link Here
83492
 
83445
 
83493
 FINAL_LIBRARY = "xul"
83446
 FINAL_LIBRARY = "xul"
83494
 
83447
 
83495
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
83448
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
83496
 if CONFIG["MOZ_DEBUG"] == "1":
83449
 if CONFIG["MOZ_DEBUG"] == "1":
83497
 
83450
 
83498
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
83451
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 83606-83612 index 9bdb5b2ad824..55eff7cde666 100644 Link Here
83606
 
83559
 
83607
 if CONFIG["TARGET_CPU"] == "x86":
83560
 if CONFIG["TARGET_CPU"] == "x86":
83608
 
83561
 
83609
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
83562
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
83610
 
83563
 
83611
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
83564
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
83612
 
83565
 
Lines 83659-83669 index 9bdb5b2ad824..55eff7cde666 100644 Link Here
83659
-
83612
-
83660
 Library("flat_map_gn")
83613
 Library("flat_map_gn")
83661
diff --git third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build
83614
diff --git third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build
83662
index 43ac4165fbd2..051e2d72bb5c 100644
83615
index 92883483f5fd..006cc6bb1523 100644
83663
--- third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build
83616
--- third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build
83664
+++ third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build
83617
+++ third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build
83665
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
83618
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
83666
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
83619
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
83667
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
83620
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
83668
 DEFINES["RTC_ENABLE_VP9"] = True
83621
 DEFINES["RTC_ENABLE_VP9"] = True
83669
+DEFINES["USE_GLIB"] = "1"
83622
+DEFINES["USE_GLIB"] = "1"
Lines 83683-83689 index 43ac4165fbd2..051e2d72bb5c 100644 Link Here
83683
 
83636
 
83684
 FINAL_LIBRARY = "xul"
83637
 FINAL_LIBRARY = "xul"
83685
 
83638
 
83686
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
83639
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
83687
 if CONFIG["MOZ_DEBUG"] == "1":
83640
 if CONFIG["MOZ_DEBUG"] == "1":
83688
 
83641
 
83689
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
83642
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 83797-83803 index 43ac4165fbd2..051e2d72bb5c 100644 Link Here
83797
 
83750
 
83798
 if CONFIG["TARGET_CPU"] == "x86":
83751
 if CONFIG["TARGET_CPU"] == "x86":
83799
 
83752
 
83800
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
83753
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
83801
 
83754
 
83802
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
83755
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
83803
 
83756
 
Lines 83850-83860 index 43ac4165fbd2..051e2d72bb5c 100644 Link Here
83850
-
83803
-
83851
 Library("flat_set_gn")
83804
 Library("flat_set_gn")
83852
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
83805
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
83853
index d35d1ab479c6..f01886085505 100644
83806
index d46afc84b9ae..2b9429eb7b3a 100644
83854
--- third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build
83807
--- third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build
83855
+++ third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build
83808
+++ third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build
83856
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
83809
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
83857
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
83810
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
83858
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
83811
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
83859
 DEFINES["RTC_ENABLE_VP9"] = True
83812
 DEFINES["RTC_ENABLE_VP9"] = True
83860
+DEFINES["USE_GLIB"] = "1"
83813
+DEFINES["USE_GLIB"] = "1"
Lines 83874-83880 index d35d1ab479c6..f01886085505 100644 Link Here
83874
 
83827
 
83875
 FINAL_LIBRARY = "xul"
83828
 FINAL_LIBRARY = "xul"
83876
 
83829
 
83877
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
83830
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
83878
 if CONFIG["MOZ_DEBUG"] == "1":
83831
 if CONFIG["MOZ_DEBUG"] == "1":
83879
 
83832
 
83880
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
83833
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 84061-84071 index d35d1ab479c6..f01886085505 100644 Link Here
84061
 
84014
 
84062
 Library("copy_on_write_buffer_gn")
84015
 Library("copy_on_write_buffer_gn")
84063
diff --git third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build
84016
diff --git third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build
84064
index 544b3575f3af..1f93cdc117ab 100644
84017
index d8537d397409..e797c80aed74 100644
84065
--- third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build
84018
--- third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build
84066
+++ third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build
84019
+++ third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build
84067
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
84020
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
84068
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
84021
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
84069
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
84022
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
84070
 DEFINES["RTC_ENABLE_VP9"] = True
84023
 DEFINES["RTC_ENABLE_VP9"] = True
84071
+DEFINES["USE_GLIB"] = "1"
84024
+DEFINES["USE_GLIB"] = "1"
Lines 84085-84091 index 544b3575f3af..1f93cdc117ab 100644 Link Here
84085
 
84038
 
84086
 FINAL_LIBRARY = "xul"
84039
 FINAL_LIBRARY = "xul"
84087
 
84040
 
84088
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
84041
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
84089
 if CONFIG["MOZ_DEBUG"] == "1":
84042
 if CONFIG["MOZ_DEBUG"] == "1":
84090
 
84043
 
84091
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
84044
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 84272-84282 index 544b3575f3af..1f93cdc117ab 100644 Link Here
84272
 
84225
 
84273
 Library("criticalsection_gn")
84226
 Library("criticalsection_gn")
84274
diff --git third_party/libwebrtc/rtc_base/divide_round_gn/moz.build third_party/libwebrtc/rtc_base/divide_round_gn/moz.build
84227
diff --git third_party/libwebrtc/rtc_base/divide_round_gn/moz.build third_party/libwebrtc/rtc_base/divide_round_gn/moz.build
84275
index 013c8ff94548..1156dc035fd3 100644
84228
index d46350e65b1f..862afa6e80cb 100644
84276
--- third_party/libwebrtc/rtc_base/divide_round_gn/moz.build
84229
--- third_party/libwebrtc/rtc_base/divide_round_gn/moz.build
84277
+++ third_party/libwebrtc/rtc_base/divide_round_gn/moz.build
84230
+++ third_party/libwebrtc/rtc_base/divide_round_gn/moz.build
84278
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
84231
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
84279
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
84232
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
84280
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
84233
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
84281
 DEFINES["RTC_ENABLE_VP9"] = True
84234
 DEFINES["RTC_ENABLE_VP9"] = True
84282
+DEFINES["USE_GLIB"] = "1"
84235
+DEFINES["USE_GLIB"] = "1"
Lines 84296-84302 index 013c8ff94548..1156dc035fd3 100644 Link Here
84296
 
84249
 
84297
 FINAL_LIBRARY = "xul"
84250
 FINAL_LIBRARY = "xul"
84298
 
84251
 
84299
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
84252
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
84300
 if CONFIG["MOZ_DEBUG"] == "1":
84253
 if CONFIG["MOZ_DEBUG"] == "1":
84301
 
84254
 
84302
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
84255
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 84410-84416 index 013c8ff94548..1156dc035fd3 100644 Link Here
84410
 
84363
 
84411
 if CONFIG["TARGET_CPU"] == "x86":
84364
 if CONFIG["TARGET_CPU"] == "x86":
84412
 
84365
 
84413
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
84366
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
84414
 
84367
 
84415
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
84368
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
84416
 
84369
 
Lines 84463-84473 index 013c8ff94548..1156dc035fd3 100644 Link Here
84463
-
84416
-
84464
 Library("divide_round_gn")
84417
 Library("divide_round_gn")
84465
diff --git third_party/libwebrtc/rtc_base/dscp_gn/moz.build third_party/libwebrtc/rtc_base/dscp_gn/moz.build
84418
diff --git third_party/libwebrtc/rtc_base/dscp_gn/moz.build third_party/libwebrtc/rtc_base/dscp_gn/moz.build
84466
index 8e779b7743dd..21675b22576d 100644
84419
index fd796dcc7283..a69f3be68a5a 100644
84467
--- third_party/libwebrtc/rtc_base/dscp_gn/moz.build
84420
--- third_party/libwebrtc/rtc_base/dscp_gn/moz.build
84468
+++ third_party/libwebrtc/rtc_base/dscp_gn/moz.build
84421
+++ third_party/libwebrtc/rtc_base/dscp_gn/moz.build
84469
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
84422
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
84470
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
84423
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
84471
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
84424
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
84472
 DEFINES["RTC_ENABLE_VP9"] = True
84425
 DEFINES["RTC_ENABLE_VP9"] = True
84473
+DEFINES["USE_GLIB"] = "1"
84426
+DEFINES["USE_GLIB"] = "1"
Lines 84487-84493 index 8e779b7743dd..21675b22576d 100644 Link Here
84487
 
84440
 
84488
 FINAL_LIBRARY = "xul"
84441
 FINAL_LIBRARY = "xul"
84489
 
84442
 
84490
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
84443
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
84491
 if CONFIG["MOZ_DEBUG"] == "1":
84444
 if CONFIG["MOZ_DEBUG"] == "1":
84492
 
84445
 
84493
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
84446
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 84597-84603 index 8e779b7743dd..21675b22576d 100644 Link Here
84597
 
84550
 
84598
 if CONFIG["TARGET_CPU"] == "x86":
84551
 if CONFIG["TARGET_CPU"] == "x86":
84599
 
84552
 
84600
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
84553
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
84601
 
84554
 
84602
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
84555
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
84603
 
84556
 
Lines 84650-84660 index 8e779b7743dd..21675b22576d 100644 Link Here
84650
-
84603
-
84651
 Library("dscp_gn")
84604
 Library("dscp_gn")
84652
diff --git third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build
84605
diff --git third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build
84653
index 411fcbcd72da..cee2e6eedbcc 100644
84606
index 89739a31462a..caa13bc3d03f 100644
84654
--- third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build
84607
--- third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build
84655
+++ third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build
84608
+++ third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build
84656
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
84609
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
84657
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
84610
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
84658
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
84611
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
84659
 DEFINES["RTC_ENABLE_VP9"] = True
84612
 DEFINES["RTC_ENABLE_VP9"] = True
84660
+DEFINES["USE_GLIB"] = "1"
84613
+DEFINES["USE_GLIB"] = "1"
Lines 84674-84680 index 411fcbcd72da..cee2e6eedbcc 100644 Link Here
84674
 
84627
 
84675
 FINAL_LIBRARY = "xul"
84628
 FINAL_LIBRARY = "xul"
84676
 
84629
 
84677
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
84630
@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
84678
 if CONFIG["MOZ_DEBUG"] == "1":
84631
 if CONFIG["MOZ_DEBUG"] == "1":
84679
 
84632
 
84680
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
84633
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 84868-84878 index 411fcbcd72da..cee2e6eedbcc 100644 Link Here
84868
 
84821
 
84869
 Library("event_tracer_gn")
84822
 Library("event_tracer_gn")
84870
diff --git third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build
84823
diff --git third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build
84871
index 84ed89ed87e1..42435f27ca55 100644
84824
index db73007e0648..3b48de94a7cf 100644
84872
--- third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build
84825
--- third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build
84873
+++ third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build
84826
+++ third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build
84874
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
84827
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
84875
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
84828
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
84876
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
84829
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
84877
 DEFINES["RTC_ENABLE_VP9"] = True
84830
 DEFINES["RTC_ENABLE_VP9"] = True
84878
+DEFINES["USE_GLIB"] = "1"
84831
+DEFINES["USE_GLIB"] = "1"
Lines 84892-84898 index 84ed89ed87e1..42435f27ca55 100644 Link Here
84892
 
84845
 
84893
 FINAL_LIBRARY = "xul"
84846
 FINAL_LIBRARY = "xul"
84894
 
84847
 
84895
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
84848
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
84896
 if CONFIG["MOZ_DEBUG"] == "1":
84849
 if CONFIG["MOZ_DEBUG"] == "1":
84897
 
84850
 
84898
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
84851
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 85086-85096 index 84ed89ed87e1..42435f27ca55 100644 Link Here
85086
 
85039
 
85087
 Library("alr_experiment_gn")
85040
 Library("alr_experiment_gn")
85088
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
85041
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
85089
index c9d63e7c296f..effe36e6b677 100644
85042
index a68f41b455b7..1e18365e267f 100644
85090
--- third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build
85043
--- third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build
85091
+++ third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build
85044
+++ third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build
85092
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
85045
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
85093
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
85046
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
85094
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
85047
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
85095
 DEFINES["RTC_ENABLE_VP9"] = True
85048
 DEFINES["RTC_ENABLE_VP9"] = True
85096
+DEFINES["USE_GLIB"] = "1"
85049
+DEFINES["USE_GLIB"] = "1"
Lines 85110-85116 index c9d63e7c296f..effe36e6b677 100644 Link Here
85110
 
85063
 
85111
 FINAL_LIBRARY = "xul"
85064
 FINAL_LIBRARY = "xul"
85112
 
85065
 
85113
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
85066
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
85114
 if CONFIG["MOZ_DEBUG"] == "1":
85067
 if CONFIG["MOZ_DEBUG"] == "1":
85115
 
85068
 
85116
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
85069
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 85304-85314 index c9d63e7c296f..effe36e6b677 100644 Link Here
85304
 
85257
 
85305
 Library("balanced_degradation_settings_gn")
85258
 Library("balanced_degradation_settings_gn")
85306
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
85259
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
85307
index 3fe445b45d51..a50e956523c8 100644
85260
index 76246fa6ff03..3e75b9cd7207 100644
85308
--- third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build
85261
--- third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build
85309
+++ third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build
85262
+++ third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build
85310
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
85263
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
85311
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
85264
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
85312
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
85265
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
85313
 DEFINES["RTC_ENABLE_VP9"] = True
85266
 DEFINES["RTC_ENABLE_VP9"] = True
85314
+DEFINES["USE_GLIB"] = "1"
85267
+DEFINES["USE_GLIB"] = "1"
Lines 85328-85334 index 3fe445b45d51..a50e956523c8 100644 Link Here
85328
 
85281
 
85329
 FINAL_LIBRARY = "xul"
85282
 FINAL_LIBRARY = "xul"
85330
 
85283
 
85331
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
85284
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
85332
 if CONFIG["MOZ_DEBUG"] == "1":
85285
 if CONFIG["MOZ_DEBUG"] == "1":
85333
 
85286
 
85334
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
85287
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 85522-85532 index 3fe445b45d51..a50e956523c8 100644 Link Here
85522
 
85475
 
85523
 Library("encoder_info_settings_gn")
85476
 Library("encoder_info_settings_gn")
85524
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
85477
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
85525
index 139b64b3d998..1072fbd432a0 100644
85478
index e55be35e9b1a..7058a6b0e3c6 100644
85526
--- third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build
85479
--- third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build
85527
+++ third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build
85480
+++ third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build
85528
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
85481
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
85529
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
85482
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
85530
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
85483
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
85531
 DEFINES["RTC_ENABLE_VP9"] = True
85484
 DEFINES["RTC_ENABLE_VP9"] = True
85532
+DEFINES["USE_GLIB"] = "1"
85485
+DEFINES["USE_GLIB"] = "1"
Lines 85546-85552 index 139b64b3d998..1072fbd432a0 100644 Link Here
85546
 
85499
 
85547
 FINAL_LIBRARY = "xul"
85500
 FINAL_LIBRARY = "xul"
85548
 
85501
 
85549
@@ -46,186 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
85502
@@ -47,186 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
85550
 if CONFIG["MOZ_DEBUG"] == "1":
85503
 if CONFIG["MOZ_DEBUG"] == "1":
85551
 
85504
 
85552
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
85505
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 85740-85750 index 139b64b3d998..1072fbd432a0 100644 Link Here
85740
 
85693
 
85741
 Library("field_trial_parser_gn")
85694
 Library("field_trial_parser_gn")
85742
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
85695
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
85743
index 08398c40cf56..c1357e5111db 100644
85696
index e5b723ef37b6..a02341d3de17 100644
85744
--- third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build
85697
--- third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build
85745
+++ third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build
85698
+++ third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build
85746
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
85699
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
85747
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
85700
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
85748
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
85701
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
85749
 DEFINES["RTC_ENABLE_VP9"] = True
85702
 DEFINES["RTC_ENABLE_VP9"] = True
85750
+DEFINES["USE_GLIB"] = "1"
85703
+DEFINES["USE_GLIB"] = "1"
Lines 85764-85770 index 08398c40cf56..c1357e5111db 100644 Link Here
85764
 
85717
 
85765
 FINAL_LIBRARY = "xul"
85718
 FINAL_LIBRARY = "xul"
85766
 
85719
 
85767
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
85720
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
85768
 if CONFIG["MOZ_DEBUG"] == "1":
85721
 if CONFIG["MOZ_DEBUG"] == "1":
85769
 
85722
 
85770
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
85723
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 85958-85968 index 08398c40cf56..c1357e5111db 100644 Link Here
85958
 
85911
 
85959
 Library("keyframe_interval_settings_experiment_gn")
85912
 Library("keyframe_interval_settings_experiment_gn")
85960
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
85913
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
85961
index d8b7892933f0..bc080f3f2b04 100644
85914
index e8863d79f0bb..220d29302b62 100644
85962
--- third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build
85915
--- third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build
85963
+++ third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build
85916
+++ third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build
85964
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
85917
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
85965
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
85918
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
85966
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
85919
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
85967
 DEFINES["RTC_ENABLE_VP9"] = True
85920
 DEFINES["RTC_ENABLE_VP9"] = True
85968
+DEFINES["USE_GLIB"] = "1"
85921
+DEFINES["USE_GLIB"] = "1"
Lines 85982-85988 index d8b7892933f0..bc080f3f2b04 100644 Link Here
85982
 
85935
 
85983
 FINAL_LIBRARY = "xul"
85936
 FINAL_LIBRARY = "xul"
85984
 
85937
 
85985
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
85938
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
85986
 if CONFIG["MOZ_DEBUG"] == "1":
85939
 if CONFIG["MOZ_DEBUG"] == "1":
85987
 
85940
 
85988
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
85941
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 86176-86186 index d8b7892933f0..bc080f3f2b04 100644 Link Here
86176
 
86129
 
86177
 Library("min_video_bitrate_experiment_gn")
86130
 Library("min_video_bitrate_experiment_gn")
86178
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
86131
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
86179
index 7e7af322ca00..248222fdb89c 100644
86132
index 50cc28070487..9c8d4710941c 100644
86180
--- third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build
86133
--- third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build
86181
+++ third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build
86134
+++ third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build
86182
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
86135
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
86183
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
86136
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
86184
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
86137
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
86185
 DEFINES["RTC_ENABLE_VP9"] = True
86138
 DEFINES["RTC_ENABLE_VP9"] = True
86186
+DEFINES["USE_GLIB"] = "1"
86139
+DEFINES["USE_GLIB"] = "1"
Lines 86200-86206 index 7e7af322ca00..248222fdb89c 100644 Link Here
86200
 
86153
 
86201
 FINAL_LIBRARY = "xul"
86154
 FINAL_LIBRARY = "xul"
86202
 
86155
 
86203
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
86156
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
86204
 if CONFIG["MOZ_DEBUG"] == "1":
86157
 if CONFIG["MOZ_DEBUG"] == "1":
86205
 
86158
 
86206
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
86159
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 86394-86404 index 7e7af322ca00..248222fdb89c 100644 Link Here
86394
 
86347
 
86395
 Library("normalize_simulcast_size_experiment_gn")
86348
 Library("normalize_simulcast_size_experiment_gn")
86396
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
86349
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
86397
index 2ffaf07d5cea..96c027f57661 100644
86350
index 7700987d9727..fed428b40312 100644
86398
--- third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build
86351
--- third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build
86399
+++ third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build
86352
+++ third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build
86400
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
86353
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
86401
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
86354
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
86402
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
86355
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
86403
 DEFINES["RTC_ENABLE_VP9"] = True
86356
 DEFINES["RTC_ENABLE_VP9"] = True
86404
+DEFINES["USE_GLIB"] = "1"
86357
+DEFINES["USE_GLIB"] = "1"
Lines 86418-86424 index 2ffaf07d5cea..96c027f57661 100644 Link Here
86418
 
86371
 
86419
 FINAL_LIBRARY = "xul"
86372
 FINAL_LIBRARY = "xul"
86420
 
86373
 
86421
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
86374
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
86422
 if CONFIG["MOZ_DEBUG"] == "1":
86375
 if CONFIG["MOZ_DEBUG"] == "1":
86423
 
86376
 
86424
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
86377
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 86612-86622 index 2ffaf07d5cea..96c027f57661 100644 Link Here
86612
 
86565
 
86613
 Library("quality_scaler_settings_gn")
86566
 Library("quality_scaler_settings_gn")
86614
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
86567
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
86615
index bc0db9b773f9..f3dc32a385fe 100644
86568
index cdfadf1b3a44..91fa15309a19 100644
86616
--- third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build
86569
--- third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build
86617
+++ third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build
86570
+++ third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build
86618
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
86571
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
86619
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
86572
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
86620
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
86573
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
86621
 DEFINES["RTC_ENABLE_VP9"] = True
86574
 DEFINES["RTC_ENABLE_VP9"] = True
86622
+DEFINES["USE_GLIB"] = "1"
86575
+DEFINES["USE_GLIB"] = "1"
Lines 86636-86642 index bc0db9b773f9..f3dc32a385fe 100644 Link Here
86636
 
86589
 
86637
 FINAL_LIBRARY = "xul"
86590
 FINAL_LIBRARY = "xul"
86638
 
86591
 
86639
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
86592
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
86640
 if CONFIG["MOZ_DEBUG"] == "1":
86593
 if CONFIG["MOZ_DEBUG"] == "1":
86641
 
86594
 
86642
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
86595
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 86830-86840 index bc0db9b773f9..f3dc32a385fe 100644 Link Here
86830
 
86783
 
86831
 Library("quality_scaling_experiment_gn")
86784
 Library("quality_scaling_experiment_gn")
86832
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
86785
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
86833
index 6c3dc1ed384f..e704571afe9c 100644
86786
index d64269a76871..835d78fa3a6c 100644
86834
--- third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build
86787
--- third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build
86835
+++ third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build
86788
+++ third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build
86836
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
86789
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
86837
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
86790
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
86838
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
86791
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
86839
 DEFINES["RTC_ENABLE_VP9"] = True
86792
 DEFINES["RTC_ENABLE_VP9"] = True
86840
+DEFINES["USE_GLIB"] = "1"
86793
+DEFINES["USE_GLIB"] = "1"
Lines 86854-86860 index 6c3dc1ed384f..e704571afe9c 100644 Link Here
86854
 
86807
 
86855
 FINAL_LIBRARY = "xul"
86808
 FINAL_LIBRARY = "xul"
86856
 
86809
 
86857
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
86810
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
86858
 if CONFIG["MOZ_DEBUG"] == "1":
86811
 if CONFIG["MOZ_DEBUG"] == "1":
86859
 
86812
 
86860
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
86813
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 87048-87058 index 6c3dc1ed384f..e704571afe9c 100644 Link Here
87048
 
87001
 
87049
 Library("rate_control_settings_gn")
87002
 Library("rate_control_settings_gn")
87050
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
87003
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
87051
index a96bdf65536e..5a0edcd1347a 100644
87004
index 708a893a10ad..8620aa9d4bd8 100644
87052
--- third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build
87005
--- third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build
87053
+++ third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build
87006
+++ third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build
87054
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
87007
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
87055
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
87008
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
87056
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
87009
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
87057
 DEFINES["RTC_ENABLE_VP9"] = True
87010
 DEFINES["RTC_ENABLE_VP9"] = True
87058
+DEFINES["USE_GLIB"] = "1"
87011
+DEFINES["USE_GLIB"] = "1"
Lines 87072-87078 index a96bdf65536e..5a0edcd1347a 100644 Link Here
87072
 
87025
 
87073
 FINAL_LIBRARY = "xul"
87026
 FINAL_LIBRARY = "xul"
87074
 
87027
 
87075
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
87028
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
87076
 if CONFIG["MOZ_DEBUG"] == "1":
87029
 if CONFIG["MOZ_DEBUG"] == "1":
87077
 
87030
 
87078
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
87031
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 87266-87276 index a96bdf65536e..5a0edcd1347a 100644 Link Here
87266
 
87219
 
87267
 Library("stable_target_rate_experiment_gn")
87220
 Library("stable_target_rate_experiment_gn")
87268
diff --git third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build
87221
diff --git third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build
87269
index fd45f36c268e..74059151d385 100644
87222
index 1a6ff46f9057..286569c90089 100644
87270
--- third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build
87223
--- third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build
87271
+++ third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build
87224
+++ third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build
87272
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
87225
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
87273
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
87226
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
87274
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
87227
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
87275
 DEFINES["RTC_ENABLE_VP9"] = True
87228
 DEFINES["RTC_ENABLE_VP9"] = True
87276
+DEFINES["USE_GLIB"] = "1"
87229
+DEFINES["USE_GLIB"] = "1"
Lines 87290-87296 index fd45f36c268e..74059151d385 100644 Link Here
87290
 
87243
 
87291
 FINAL_LIBRARY = "xul"
87244
 FINAL_LIBRARY = "xul"
87292
 
87245
 
87293
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
87246
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
87294
 if CONFIG["MOZ_DEBUG"] == "1":
87247
 if CONFIG["MOZ_DEBUG"] == "1":
87295
 
87248
 
87296
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
87249
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 87484-87494 index fd45f36c268e..74059151d385 100644 Link Here
87484
 
87437
 
87485
 Library("frequency_tracker_gn")
87438
 Library("frequency_tracker_gn")
87486
diff --git third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build
87439
diff --git third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build
87487
index b4199a311652..d1a4f3caee83 100644
87440
index 493edecc9a2c..fd41ef0a21f7 100644
87488
--- third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build
87441
--- third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build
87489
+++ third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build
87442
+++ third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build
87490
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
87443
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
87491
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
87444
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
87492
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
87445
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
87493
 DEFINES["RTC_ENABLE_VP9"] = True
87446
 DEFINES["RTC_ENABLE_VP9"] = True
87494
+DEFINES["USE_GLIB"] = "1"
87447
+DEFINES["USE_GLIB"] = "1"
Lines 87508-87514 index b4199a311652..d1a4f3caee83 100644 Link Here
87508
 
87461
 
87509
 FINAL_LIBRARY = "xul"
87462
 FINAL_LIBRARY = "xul"
87510
 
87463
 
87511
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
87464
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
87512
 if CONFIG["MOZ_DEBUG"] == "1":
87465
 if CONFIG["MOZ_DEBUG"] == "1":
87513
 
87466
 
87514
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
87467
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 87618-87624 index b4199a311652..d1a4f3caee83 100644 Link Here
87618
 
87571
 
87619
 if CONFIG["TARGET_CPU"] == "x86":
87572
 if CONFIG["TARGET_CPU"] == "x86":
87620
 
87573
 
87621
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
87574
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
87622
 
87575
 
87623
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
87576
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
87624
 
87577
 
Lines 87671-87681 index b4199a311652..d1a4f3caee83 100644 Link Here
87671
-
87624
-
87672
 Library("gtest_prod_gn")
87625
 Library("gtest_prod_gn")
87673
diff --git third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build
87626
diff --git third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build
87674
index e235da2187aa..7c1c2ed4eca6 100644
87627
index 51e370a925b2..17a7725eb3c0 100644
87675
--- third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build
87628
--- third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build
87676
+++ third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build
87629
+++ third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build
87677
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
87630
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
87678
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
87631
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
87679
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
87632
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
87680
 DEFINES["RTC_ENABLE_VP9"] = True
87633
 DEFINES["RTC_ENABLE_VP9"] = True
87681
+DEFINES["USE_GLIB"] = "1"
87634
+DEFINES["USE_GLIB"] = "1"
Lines 87695-87701 index e235da2187aa..7c1c2ed4eca6 100644 Link Here
87695
 
87648
 
87696
 FINAL_LIBRARY = "xul"
87649
 FINAL_LIBRARY = "xul"
87697
 
87650
 
87698
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
87651
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
87699
 if CONFIG["MOZ_DEBUG"] == "1":
87652
 if CONFIG["MOZ_DEBUG"] == "1":
87700
 
87653
 
87701
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
87654
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 87883-87892 index e235da2187aa..7c1c2ed4eca6 100644 Link Here
87883
 Library("histogram_percentile_counter_gn")
87836
 Library("histogram_percentile_counter_gn")
87884
diff --git third_party/libwebrtc/rtc_base/ifaddrs_android_gn/moz.build third_party/libwebrtc/rtc_base/ifaddrs_android_gn/moz.build
87837
diff --git third_party/libwebrtc/rtc_base/ifaddrs_android_gn/moz.build third_party/libwebrtc/rtc_base/ifaddrs_android_gn/moz.build
87885
deleted file mode 100644
87838
deleted file mode 100644
87886
index bc2ed633f802..000000000000
87839
index c4e0aad848a9..000000000000
87887
--- third_party/libwebrtc/rtc_base/ifaddrs_android_gn/moz.build
87840
--- third_party/libwebrtc/rtc_base/ifaddrs_android_gn/moz.build
87888
+++ /dev/null
87841
+++ /dev/null
87889
@@ -1,94 +0,0 @@
87842
@@ -1,95 +0,0 @@
87890
-# This Source Code Form is subject to the terms of the Mozilla Public
87843
-# This Source Code Form is subject to the terms of the Mozilla Public
87891
-# License, v. 2.0. If a copy of the MPL was not distributed with this
87844
-# License, v. 2.0. If a copy of the MPL was not distributed with this
87892
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
87845
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
Lines 87902-87907 index bc2ed633f802..000000000000 Link Here
87902
-DEFINES["ANDROID"] = True
87855
-DEFINES["ANDROID"] = True
87903
-DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
87856
-DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
87904
-DEFINES["HAVE_SYS_UIO_H"] = True
87857
-DEFINES["HAVE_SYS_UIO_H"] = True
87858
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
87905
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
87859
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
87906
-DEFINES["RTC_ENABLE_VP9"] = True
87860
-DEFINES["RTC_ENABLE_VP9"] = True
87907
-DEFINES["WEBRTC_ANDROID"] = True
87861
-DEFINES["WEBRTC_ANDROID"] = True
Lines 87982-87992 index bc2ed633f802..000000000000 Link Here
87982
-
87936
-
87983
-Library("ifaddrs_android_gn")
87937
-Library("ifaddrs_android_gn")
87984
diff --git third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build
87938
diff --git third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build
87985
index a3761c664470..267e43801deb 100644
87939
index 01c10d595e8b..0b3ff10cc360 100644
87986
--- third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build
87940
--- third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build
87987
+++ third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build
87941
+++ third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build
87988
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
87942
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
87989
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
87943
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
87990
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
87944
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
87991
 DEFINES["RTC_ENABLE_VP9"] = True
87945
 DEFINES["RTC_ENABLE_VP9"] = True
87992
+DEFINES["USE_GLIB"] = "1"
87946
+DEFINES["USE_GLIB"] = "1"
Lines 88006-88012 index a3761c664470..267e43801deb 100644 Link Here
88006
 
87960
 
88007
 FINAL_LIBRARY = "xul"
87961
 FINAL_LIBRARY = "xul"
88008
 
87962
 
88009
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
87963
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
88010
 if CONFIG["MOZ_DEBUG"] == "1":
87964
 if CONFIG["MOZ_DEBUG"] == "1":
88011
 
87965
 
88012
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
87966
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 88116-88122 index a3761c664470..267e43801deb 100644 Link Here
88116
 
88070
 
88117
 if CONFIG["TARGET_CPU"] == "x86":
88071
 if CONFIG["TARGET_CPU"] == "x86":
88118
 
88072
 
88119
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
88073
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
88120
 
88074
 
88121
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
88075
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
88122
 
88076
 
Lines 88169-88179 index a3761c664470..267e43801deb 100644 Link Here
88169
-
88123
-
88170
 Library("ignore_wundef_gn")
88124
 Library("ignore_wundef_gn")
88171
diff --git third_party/libwebrtc/rtc_base/ip_address_gn/moz.build third_party/libwebrtc/rtc_base/ip_address_gn/moz.build
88125
diff --git third_party/libwebrtc/rtc_base/ip_address_gn/moz.build third_party/libwebrtc/rtc_base/ip_address_gn/moz.build
88172
index 8591a3b9be6c..d5a8d4cae0ef 100644
88126
index d949fcc26e8d..7d64e4ef330c 100644
88173
--- third_party/libwebrtc/rtc_base/ip_address_gn/moz.build
88127
--- third_party/libwebrtc/rtc_base/ip_address_gn/moz.build
88174
+++ third_party/libwebrtc/rtc_base/ip_address_gn/moz.build
88128
+++ third_party/libwebrtc/rtc_base/ip_address_gn/moz.build
88175
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
88129
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
88176
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
88130
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
88177
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
88131
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
88178
 DEFINES["RTC_ENABLE_VP9"] = True
88132
 DEFINES["RTC_ENABLE_VP9"] = True
88179
+DEFINES["USE_GLIB"] = "1"
88133
+DEFINES["USE_GLIB"] = "1"
Lines 88193-88199 index 8591a3b9be6c..d5a8d4cae0ef 100644 Link Here
88193
 
88147
 
88194
 FINAL_LIBRARY = "xul"
88148
 FINAL_LIBRARY = "xul"
88195
 
88149
 
88196
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
88150
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
88197
 if CONFIG["MOZ_DEBUG"] == "1":
88151
 if CONFIG["MOZ_DEBUG"] == "1":
88198
 
88152
 
88199
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
88153
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 88387-88397 index 8591a3b9be6c..d5a8d4cae0ef 100644 Link Here
88387
 
88341
 
88388
 Library("ip_address_gn")
88342
 Library("ip_address_gn")
88389
diff --git third_party/libwebrtc/rtc_base/logging_gn/moz.build third_party/libwebrtc/rtc_base/logging_gn/moz.build
88343
diff --git third_party/libwebrtc/rtc_base/logging_gn/moz.build third_party/libwebrtc/rtc_base/logging_gn/moz.build
88390
index 0121355ea171..448a2e06255a 100644
88344
index 2dfe0c2fec46..e391440561dd 100644
88391
--- third_party/libwebrtc/rtc_base/logging_gn/moz.build
88345
--- third_party/libwebrtc/rtc_base/logging_gn/moz.build
88392
+++ third_party/libwebrtc/rtc_base/logging_gn/moz.build
88346
+++ third_party/libwebrtc/rtc_base/logging_gn/moz.build
88393
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
88347
@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
88394
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
88348
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
88395
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
88349
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
88396
 DEFINES["RTC_ENABLE_VP9"] = True
88350
 DEFINES["RTC_ENABLE_VP9"] = True
88397
+DEFINES["USE_GLIB"] = "1"
88351
+DEFINES["USE_GLIB"] = "1"
Lines 88412-88418 index 0121355ea171..448a2e06255a 100644 Link Here
88412
 
88366
 
88413
 FINAL_LIBRARY = "xul"
88367
 FINAL_LIBRARY = "xul"
88414
 
88368
 
88415
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
88369
@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
88416
 if CONFIG["MOZ_DEBUG"] == "1":
88370
 if CONFIG["MOZ_DEBUG"] == "1":
88417
 
88371
 
88418
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
88372
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 88606-88616 index 0121355ea171..448a2e06255a 100644 Link Here
88606
 
88560
 
88607
 Library("logging_gn")
88561
 Library("logging_gn")
88608
diff --git third_party/libwebrtc/rtc_base/macromagic_gn/moz.build third_party/libwebrtc/rtc_base/macromagic_gn/moz.build
88562
diff --git third_party/libwebrtc/rtc_base/macromagic_gn/moz.build third_party/libwebrtc/rtc_base/macromagic_gn/moz.build
88609
index fb0141f9992f..dd3d584195c0 100644
88563
index 390b189b0db6..4433ee4394b0 100644
88610
--- third_party/libwebrtc/rtc_base/macromagic_gn/moz.build
88564
--- third_party/libwebrtc/rtc_base/macromagic_gn/moz.build
88611
+++ third_party/libwebrtc/rtc_base/macromagic_gn/moz.build
88565
+++ third_party/libwebrtc/rtc_base/macromagic_gn/moz.build
88612
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
88566
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
88613
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
88567
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
88614
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
88568
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
88615
 DEFINES["RTC_ENABLE_VP9"] = True
88569
 DEFINES["RTC_ENABLE_VP9"] = True
88616
+DEFINES["USE_GLIB"] = "1"
88570
+DEFINES["USE_GLIB"] = "1"
Lines 88630-88636 index fb0141f9992f..dd3d584195c0 100644 Link Here
88630
 
88584
 
88631
 FINAL_LIBRARY = "xul"
88585
 FINAL_LIBRARY = "xul"
88632
 
88586
 
88633
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
88587
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
88634
 if CONFIG["MOZ_DEBUG"] == "1":
88588
 if CONFIG["MOZ_DEBUG"] == "1":
88635
 
88589
 
88636
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
88590
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 88740-88746 index fb0141f9992f..dd3d584195c0 100644 Link Here
88740
 
88694
 
88741
 if CONFIG["TARGET_CPU"] == "x86":
88695
 if CONFIG["TARGET_CPU"] == "x86":
88742
 
88696
 
88743
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
88697
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
88744
 
88698
 
88745
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
88699
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
88746
 
88700
 
Lines 88793-88803 index fb0141f9992f..dd3d584195c0 100644 Link Here
88793
-
88747
-
88794
 Library("macromagic_gn")
88748
 Library("macromagic_gn")
88795
diff --git third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build
88749
diff --git third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build
88796
index 1965f7ec53af..c2362607b3f3 100644
88750
index 0a65ef231ef4..4c8711cb2921 100644
88797
--- third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build
88751
--- third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build
88798
+++ third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build
88752
+++ third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build
88799
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
88753
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
88800
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
88754
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
88801
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
88755
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
88802
 DEFINES["RTC_ENABLE_VP9"] = True
88756
 DEFINES["RTC_ENABLE_VP9"] = True
88803
+DEFINES["USE_GLIB"] = "1"
88757
+DEFINES["USE_GLIB"] = "1"
Lines 88817-88823 index 1965f7ec53af..c2362607b3f3 100644 Link Here
88817
 
88771
 
88818
 FINAL_LIBRARY = "xul"
88772
 FINAL_LIBRARY = "xul"
88819
 
88773
 
88820
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
88774
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
88821
 if CONFIG["MOZ_DEBUG"] == "1":
88775
 if CONFIG["MOZ_DEBUG"] == "1":
88822
 
88776
 
88823
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
88777
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 89004-89014 index 1965f7ec53af..c2362607b3f3 100644 Link Here
89004
 
88958
 
89005
 Library("aligned_malloc_gn")
88959
 Library("aligned_malloc_gn")
89006
diff --git third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build
88960
diff --git third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build
89007
index 1b552f64a772..2890fedddb9a 100644
88961
index 61e454135d16..baf4e8a72632 100644
89008
--- third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build
88962
--- third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build
89009
+++ third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build
88963
+++ third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build
89010
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
88964
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
89011
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
88965
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
89012
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
88966
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
89013
 DEFINES["RTC_ENABLE_VP9"] = True
88967
 DEFINES["RTC_ENABLE_VP9"] = True
89014
+DEFINES["USE_GLIB"] = "1"
88968
+DEFINES["USE_GLIB"] = "1"
Lines 89028-89034 index 1b552f64a772..2890fedddb9a 100644 Link Here
89028
 
88982
 
89029
 FINAL_LIBRARY = "xul"
88983
 FINAL_LIBRARY = "xul"
89030
 
88984
 
89031
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
88985
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
89032
 if CONFIG["MOZ_DEBUG"] == "1":
88986
 if CONFIG["MOZ_DEBUG"] == "1":
89033
 
88987
 
89034
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
88988
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 89142-89148 index 1b552f64a772..2890fedddb9a 100644 Link Here
89142
 
89096
 
89143
 if CONFIG["TARGET_CPU"] == "x86":
89097
 if CONFIG["TARGET_CPU"] == "x86":
89144
 
89098
 
89145
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
89099
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
89146
 
89100
 
89147
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
89101
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
89148
 
89102
 
Lines 89195-89205 index 1b552f64a772..2890fedddb9a 100644 Link Here
89195
-
89149
-
89196
 Library("mod_ops_gn")
89150
 Library("mod_ops_gn")
89197
diff --git third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build
89151
diff --git third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build
89198
index c3715c2c6b20..12388acab2b4 100644
89152
index ec440ef76608..97d948e88c49 100644
89199
--- third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build
89153
--- third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build
89200
+++ third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build
89154
+++ third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build
89201
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
89155
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
89202
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
89156
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
89203
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
89157
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
89204
 DEFINES["RTC_ENABLE_VP9"] = True
89158
 DEFINES["RTC_ENABLE_VP9"] = True
89205
+DEFINES["USE_GLIB"] = "1"
89159
+DEFINES["USE_GLIB"] = "1"
Lines 89219-89225 index c3715c2c6b20..12388acab2b4 100644 Link Here
89219
 
89173
 
89220
 FINAL_LIBRARY = "xul"
89174
 FINAL_LIBRARY = "xul"
89221
 
89175
 
89222
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
89176
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
89223
 if CONFIG["MOZ_DEBUG"] == "1":
89177
 if CONFIG["MOZ_DEBUG"] == "1":
89224
 
89178
 
89225
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
89179
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 89333-89339 index c3715c2c6b20..12388acab2b4 100644 Link Here
89333
 
89287
 
89334
 if CONFIG["TARGET_CPU"] == "x86":
89288
 if CONFIG["TARGET_CPU"] == "x86":
89335
 
89289
 
89336
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
89290
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
89337
 
89291
 
89338
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
89292
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
89339
 
89293
 
Lines 89386-89396 index c3715c2c6b20..12388acab2b4 100644 Link Here
89386
-
89340
-
89387
 Library("moving_max_counter_gn")
89341
 Library("moving_max_counter_gn")
89388
diff --git third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build
89342
diff --git third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build
89389
index 33488c655174..ead57cd08a32 100644
89343
index 68e7540a5cc6..e2763aae13c2 100644
89390
--- third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build
89344
--- third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build
89391
+++ third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build
89345
+++ third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build
89392
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
89346
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
89393
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
89347
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
89394
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
89348
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
89395
 DEFINES["RTC_ENABLE_VP9"] = True
89349
 DEFINES["RTC_ENABLE_VP9"] = True
89396
+DEFINES["USE_GLIB"] = "1"
89350
+DEFINES["USE_GLIB"] = "1"
Lines 89410-89416 index 33488c655174..ead57cd08a32 100644 Link Here
89410
 
89364
 
89411
 FINAL_LIBRARY = "xul"
89365
 FINAL_LIBRARY = "xul"
89412
 
89366
 
89413
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
89367
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
89414
 if CONFIG["MOZ_DEBUG"] == "1":
89368
 if CONFIG["MOZ_DEBUG"] == "1":
89415
 
89369
 
89416
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
89370
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 89604-89614 index 33488c655174..ead57cd08a32 100644 Link Here
89604
 
89558
 
89605
 Library("net_helpers_gn")
89559
 Library("net_helpers_gn")
89606
diff --git third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build
89560
diff --git third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build
89607
index 6c4cd224b98b..bc515fc5c103 100644
89561
index 598652874c2f..b08c4ae86174 100644
89608
--- third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build
89562
--- third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build
89609
+++ third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build
89563
+++ third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build
89610
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
89564
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
89611
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
89565
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
89612
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
89566
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
89613
 DEFINES["RTC_ENABLE_VP9"] = True
89567
 DEFINES["RTC_ENABLE_VP9"] = True
89614
+DEFINES["USE_GLIB"] = "1"
89568
+DEFINES["USE_GLIB"] = "1"
Lines 89628-89634 index 6c4cd224b98b..bc515fc5c103 100644 Link Here
89628
 
89582
 
89629
 FINAL_LIBRARY = "xul"
89583
 FINAL_LIBRARY = "xul"
89630
 
89584
 
89631
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
89585
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
89632
 if CONFIG["MOZ_DEBUG"] == "1":
89586
 if CONFIG["MOZ_DEBUG"] == "1":
89633
 
89587
 
89634
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
89588
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 89738-89744 index 6c4cd224b98b..bc515fc5c103 100644 Link Here
89738
 
89692
 
89739
 if CONFIG["TARGET_CPU"] == "x86":
89693
 if CONFIG["TARGET_CPU"] == "x86":
89740
 
89694
 
89741
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
89695
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
89742
 
89696
 
89743
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
89697
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
89744
 
89698
 
Lines 89791-89801 index 6c4cd224b98b..bc515fc5c103 100644 Link Here
89791
-
89745
-
89792
 Library("ecn_marking_gn")
89746
 Library("ecn_marking_gn")
89793
diff --git third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build
89747
diff --git third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build
89794
index 04b51f0502b3..abba0d8decc4 100644
89748
index c285d04f5def..93432583b4da 100644
89795
--- third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build
89749
--- third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build
89796
+++ third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build
89750
+++ third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build
89797
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
89751
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
89798
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
89752
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
89799
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
89753
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
89800
 DEFINES["RTC_ENABLE_VP9"] = True
89754
 DEFINES["RTC_ENABLE_VP9"] = True
89801
+DEFINES["USE_GLIB"] = "1"
89755
+DEFINES["USE_GLIB"] = "1"
Lines 89815-89821 index 04b51f0502b3..abba0d8decc4 100644 Link Here
89815
 
89769
 
89816
 FINAL_LIBRARY = "xul"
89770
 FINAL_LIBRARY = "xul"
89817
 
89771
 
89818
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
89772
@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
89819
 if CONFIG["MOZ_DEBUG"] == "1":
89773
 if CONFIG["MOZ_DEBUG"] == "1":
89820
 
89774
 
89821
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
89775
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 89998-90008 index 04b51f0502b3..abba0d8decc4 100644 Link Here
89998
 
89952
 
89999
 Library("sent_packet_gn")
89953
 Library("sent_packet_gn")
90000
diff --git third_party/libwebrtc/rtc_base/network_constants_gn/moz.build third_party/libwebrtc/rtc_base/network_constants_gn/moz.build
89954
diff --git third_party/libwebrtc/rtc_base/network_constants_gn/moz.build third_party/libwebrtc/rtc_base/network_constants_gn/moz.build
90001
index b8fb244a8e99..a93a94841ac8 100644
89955
index 3b41f5bba9f9..f95b171fdf32 100644
90002
--- third_party/libwebrtc/rtc_base/network_constants_gn/moz.build
89956
--- third_party/libwebrtc/rtc_base/network_constants_gn/moz.build
90003
+++ third_party/libwebrtc/rtc_base/network_constants_gn/moz.build
89957
+++ third_party/libwebrtc/rtc_base/network_constants_gn/moz.build
90004
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
89958
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
90005
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
89959
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
90006
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
89960
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
90007
 DEFINES["RTC_ENABLE_VP9"] = True
89961
 DEFINES["RTC_ENABLE_VP9"] = True
90008
+DEFINES["USE_GLIB"] = "1"
89962
+DEFINES["USE_GLIB"] = "1"
Lines 90022-90028 index b8fb244a8e99..a93a94841ac8 100644 Link Here
90022
 
89976
 
90023
 FINAL_LIBRARY = "xul"
89977
 FINAL_LIBRARY = "xul"
90024
 
89978
 
90025
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
89979
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
90026
 if CONFIG["MOZ_DEBUG"] == "1":
89980
 if CONFIG["MOZ_DEBUG"] == "1":
90027
 
89981
 
90028
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
89982
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 90209-90219 index b8fb244a8e99..a93a94841ac8 100644 Link Here
90209
 
90163
 
90210
 Library("network_constants_gn")
90164
 Library("network_constants_gn")
90211
diff --git third_party/libwebrtc/rtc_base/network_route_gn/moz.build third_party/libwebrtc/rtc_base/network_route_gn/moz.build
90165
diff --git third_party/libwebrtc/rtc_base/network_route_gn/moz.build third_party/libwebrtc/rtc_base/network_route_gn/moz.build
90212
index 2f552b99a2ba..3a16933c8e3d 100644
90166
index ed2d7204f43b..5f59b36411dd 100644
90213
--- third_party/libwebrtc/rtc_base/network_route_gn/moz.build
90167
--- third_party/libwebrtc/rtc_base/network_route_gn/moz.build
90214
+++ third_party/libwebrtc/rtc_base/network_route_gn/moz.build
90168
+++ third_party/libwebrtc/rtc_base/network_route_gn/moz.build
90215
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
90169
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
90216
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
90170
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
90217
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
90171
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
90218
 DEFINES["RTC_ENABLE_VP9"] = True
90172
 DEFINES["RTC_ENABLE_VP9"] = True
90219
+DEFINES["USE_GLIB"] = "1"
90173
+DEFINES["USE_GLIB"] = "1"
Lines 90233-90239 index 2f552b99a2ba..3a16933c8e3d 100644 Link Here
90233
 
90187
 
90234
 FINAL_LIBRARY = "xul"
90188
 FINAL_LIBRARY = "xul"
90235
 
90189
 
90236
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
90190
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
90237
 if CONFIG["MOZ_DEBUG"] == "1":
90191
 if CONFIG["MOZ_DEBUG"] == "1":
90238
 
90192
 
90239
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
90193
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 90420-90430 index 2f552b99a2ba..3a16933c8e3d 100644 Link Here
90420
 
90374
 
90421
 Library("network_route_gn")
90375
 Library("network_route_gn")
90422
diff --git third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build
90376
diff --git third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build
90423
index c07ee42a4768..ca7dd6bb37c7 100644
90377
index d129b17f1194..cbd1b431f6de 100644
90424
--- third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build
90378
--- third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build
90425
+++ third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build
90379
+++ third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build
90426
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
90380
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
90427
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
90381
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
90428
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
90382
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
90429
 DEFINES["RTC_ENABLE_VP9"] = True
90383
 DEFINES["RTC_ENABLE_VP9"] = True
90430
+DEFINES["USE_GLIB"] = "1"
90384
+DEFINES["USE_GLIB"] = "1"
Lines 90444-90450 index c07ee42a4768..ca7dd6bb37c7 100644 Link Here
90444
 
90398
 
90445
 FINAL_LIBRARY = "xul"
90399
 FINAL_LIBRARY = "xul"
90446
 
90400
 
90447
@@ -43,187 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
90401
@@ -44,187 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
90448
 if CONFIG["MOZ_DEBUG"] == "1":
90402
 if CONFIG["MOZ_DEBUG"] == "1":
90449
 
90403
 
90450
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
90404
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 90639-90649 index c07ee42a4768..ca7dd6bb37c7 100644 Link Here
90639
 
90593
 
90640
 Library("null_socket_server_gn")
90594
 Library("null_socket_server_gn")
90641
diff --git third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build
90595
diff --git third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build
90642
index 11bbb05fa7c9..9ef0efeb1338 100644
90596
index 348ef02526a2..74729015b2fb 100644
90643
--- third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build
90597
--- third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build
90644
+++ third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build
90598
+++ third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build
90645
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
90599
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
90646
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
90600
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
90647
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
90601
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
90648
 DEFINES["RTC_ENABLE_VP9"] = True
90602
 DEFINES["RTC_ENABLE_VP9"] = True
90649
+DEFINES["USE_GLIB"] = "1"
90603
+DEFINES["USE_GLIB"] = "1"
Lines 90663-90669 index 11bbb05fa7c9..9ef0efeb1338 100644 Link Here
90663
 
90617
 
90664
 FINAL_LIBRARY = "xul"
90618
 FINAL_LIBRARY = "xul"
90665
 
90619
 
90666
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
90620
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
90667
 if CONFIG["MOZ_DEBUG"] == "1":
90621
 if CONFIG["MOZ_DEBUG"] == "1":
90668
 
90622
 
90669
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
90623
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 90777-90783 index 11bbb05fa7c9..9ef0efeb1338 100644 Link Here
90777
 
90731
 
90778
 if CONFIG["TARGET_CPU"] == "x86":
90732
 if CONFIG["TARGET_CPU"] == "x86":
90779
 
90733
 
90780
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
90734
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
90781
 
90735
 
90782
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
90736
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
90783
 
90737
 
Lines 90830-90840 index 11bbb05fa7c9..9ef0efeb1338 100644 Link Here
90830
-
90784
-
90831
 Library("one_time_event_gn")
90785
 Library("one_time_event_gn")
90832
diff --git third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build
90786
diff --git third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build
90833
index 945e2783d6ef..a541e3b4d5a2 100644
90787
index 9ad40b93add5..07001c7343ac 100644
90834
--- third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build
90788
--- third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build
90835
+++ third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build
90789
+++ third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build
90836
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
90790
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
90837
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
90791
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
90838
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
90792
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
90839
 DEFINES["RTC_ENABLE_VP9"] = True
90793
 DEFINES["RTC_ENABLE_VP9"] = True
90840
+DEFINES["USE_GLIB"] = "1"
90794
+DEFINES["USE_GLIB"] = "1"
Lines 90854-90860 index 945e2783d6ef..a541e3b4d5a2 100644 Link Here
90854
 
90808
 
90855
 FINAL_LIBRARY = "xul"
90809
 FINAL_LIBRARY = "xul"
90856
 
90810
 
90857
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
90811
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
90858
 if CONFIG["MOZ_DEBUG"] == "1":
90812
 if CONFIG["MOZ_DEBUG"] == "1":
90859
 
90813
 
90860
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
90814
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 91048-91058 index 945e2783d6ef..a541e3b4d5a2 100644 Link Here
91048
 
91002
 
91049
 Library("platform_thread_gn")
91003
 Library("platform_thread_gn")
91050
diff --git third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build
91004
diff --git third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build
91051
index 48c27d813e17..f23aca8108e2 100644
91005
index 0d132b2957f2..68d9e334d850 100644
91052
--- third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build
91006
--- third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build
91053
+++ third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build
91007
+++ third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build
91054
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
91008
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
91055
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
91009
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
91056
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
91010
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
91057
 DEFINES["RTC_ENABLE_VP9"] = True
91011
 DEFINES["RTC_ENABLE_VP9"] = True
91058
+DEFINES["USE_GLIB"] = "1"
91012
+DEFINES["USE_GLIB"] = "1"
Lines 91072-91078 index 48c27d813e17..f23aca8108e2 100644 Link Here
91072
 
91026
 
91073
 FINAL_LIBRARY = "xul"
91027
 FINAL_LIBRARY = "xul"
91074
 
91028
 
91075
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
91029
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
91076
 if CONFIG["MOZ_DEBUG"] == "1":
91030
 if CONFIG["MOZ_DEBUG"] == "1":
91077
 
91031
 
91078
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
91032
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 91259-91269 index 48c27d813e17..f23aca8108e2 100644 Link Here
91259
 
91213
 
91260
 Library("platform_thread_types_gn")
91214
 Library("platform_thread_types_gn")
91261
diff --git third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build
91215
diff --git third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build
91262
index 668f1d0a980d..4d3ef5564a90 100644
91216
index be3e5d165cb6..98b13de31ec0 100644
91263
--- third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build
91217
--- third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build
91264
+++ third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build
91218
+++ third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build
91265
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
91219
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
91266
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
91220
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
91267
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
91221
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
91268
 DEFINES["RTC_ENABLE_VP9"] = True
91222
 DEFINES["RTC_ENABLE_VP9"] = True
91269
+DEFINES["USE_GLIB"] = "1"
91223
+DEFINES["USE_GLIB"] = "1"
Lines 91283-91289 index 668f1d0a980d..4d3ef5564a90 100644 Link Here
91283
 
91237
 
91284
 FINAL_LIBRARY = "xul"
91238
 FINAL_LIBRARY = "xul"
91285
 
91239
 
91286
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
91240
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
91287
 if CONFIG["MOZ_DEBUG"] == "1":
91241
 if CONFIG["MOZ_DEBUG"] == "1":
91288
 
91242
 
91289
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
91243
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 91393-91399 index 668f1d0a980d..4d3ef5564a90 100644 Link Here
91393
 
91347
 
91394
 if CONFIG["TARGET_CPU"] == "x86":
91348
 if CONFIG["TARGET_CPU"] == "x86":
91395
 
91349
 
91396
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
91350
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
91397
 
91351
 
91398
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
91352
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
91399
 
91353
 
Lines 91446-91456 index 668f1d0a980d..4d3ef5564a90 100644 Link Here
91446
-
91400
-
91447
 Library("protobuf_utils_gn")
91401
 Library("protobuf_utils_gn")
91448
diff --git third_party/libwebrtc/rtc_base/race_checker_gn/moz.build third_party/libwebrtc/rtc_base/race_checker_gn/moz.build
91402
diff --git third_party/libwebrtc/rtc_base/race_checker_gn/moz.build third_party/libwebrtc/rtc_base/race_checker_gn/moz.build
91449
index 6d2ee3c0a0b4..6deeed359a2b 100644
91403
index 941e32ae1829..dff9cadb77f1 100644
91450
--- third_party/libwebrtc/rtc_base/race_checker_gn/moz.build
91404
--- third_party/libwebrtc/rtc_base/race_checker_gn/moz.build
91451
+++ third_party/libwebrtc/rtc_base/race_checker_gn/moz.build
91405
+++ third_party/libwebrtc/rtc_base/race_checker_gn/moz.build
91452
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
91406
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
91453
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
91407
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
91454
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
91408
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
91455
 DEFINES["RTC_ENABLE_VP9"] = True
91409
 DEFINES["RTC_ENABLE_VP9"] = True
91456
+DEFINES["USE_GLIB"] = "1"
91410
+DEFINES["USE_GLIB"] = "1"
Lines 91470-91476 index 6d2ee3c0a0b4..6deeed359a2b 100644 Link Here
91470
 
91424
 
91471
 FINAL_LIBRARY = "xul"
91425
 FINAL_LIBRARY = "xul"
91472
 
91426
 
91473
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
91427
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
91474
 if CONFIG["MOZ_DEBUG"] == "1":
91428
 if CONFIG["MOZ_DEBUG"] == "1":
91475
 
91429
 
91476
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
91430
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 91657-91667 index 6d2ee3c0a0b4..6deeed359a2b 100644 Link Here
91657
 
91611
 
91658
 Library("race_checker_gn")
91612
 Library("race_checker_gn")
91659
diff --git third_party/libwebrtc/rtc_base/random_gn/moz.build third_party/libwebrtc/rtc_base/random_gn/moz.build
91613
diff --git third_party/libwebrtc/rtc_base/random_gn/moz.build third_party/libwebrtc/rtc_base/random_gn/moz.build
91660
index 38d713e123cd..70cddc604dc3 100644
91614
index 9a81a9569ef6..e6faef7d99c2 100644
91661
--- third_party/libwebrtc/rtc_base/random_gn/moz.build
91615
--- third_party/libwebrtc/rtc_base/random_gn/moz.build
91662
+++ third_party/libwebrtc/rtc_base/random_gn/moz.build
91616
+++ third_party/libwebrtc/rtc_base/random_gn/moz.build
91663
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
91617
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
91664
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
91618
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
91665
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
91619
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
91666
 DEFINES["RTC_ENABLE_VP9"] = True
91620
 DEFINES["RTC_ENABLE_VP9"] = True
91667
+DEFINES["USE_GLIB"] = "1"
91621
+DEFINES["USE_GLIB"] = "1"
Lines 91681-91687 index 38d713e123cd..70cddc604dc3 100644 Link Here
91681
 
91635
 
91682
 FINAL_LIBRARY = "xul"
91636
 FINAL_LIBRARY = "xul"
91683
 
91637
 
91684
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
91638
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
91685
 if CONFIG["MOZ_DEBUG"] == "1":
91639
 if CONFIG["MOZ_DEBUG"] == "1":
91686
 
91640
 
91687
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
91641
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 91868-91878 index 38d713e123cd..70cddc604dc3 100644 Link Here
91868
 
91822
 
91869
 Library("random_gn")
91823
 Library("random_gn")
91870
diff --git third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build
91824
diff --git third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build
91871
index 8827194a0ddc..2ca7defd349f 100644
91825
index db17875a1c66..7a2df04c78e3 100644
91872
--- third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build
91826
--- third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build
91873
+++ third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build
91827
+++ third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build
91874
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
91828
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
91875
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
91829
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
91876
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
91830
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
91877
 DEFINES["RTC_ENABLE_VP9"] = True
91831
 DEFINES["RTC_ENABLE_VP9"] = True
91878
+DEFINES["USE_GLIB"] = "1"
91832
+DEFINES["USE_GLIB"] = "1"
Lines 91892-91898 index 8827194a0ddc..2ca7defd349f 100644 Link Here
91892
 
91846
 
91893
 FINAL_LIBRARY = "xul"
91847
 FINAL_LIBRARY = "xul"
91894
 
91848
 
91895
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
91849
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
91896
 if CONFIG["MOZ_DEBUG"] == "1":
91850
 if CONFIG["MOZ_DEBUG"] == "1":
91897
 
91851
 
91898
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
91852
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 92090-92100 index 8827194a0ddc..2ca7defd349f 100644 Link Here
92090
 
92044
 
92091
 Library("rate_limiter_gn")
92045
 Library("rate_limiter_gn")
92092
diff --git third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build
92046
diff --git third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build
92093
index 88038145cf15..98328fad3324 100644
92047
index 6bb56ffbd174..d42bea3f3af5 100644
92094
--- third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build
92048
--- third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build
92095
+++ third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build
92049
+++ third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build
92096
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
92050
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
92097
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
92051
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
92098
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
92052
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
92099
 DEFINES["RTC_ENABLE_VP9"] = True
92053
 DEFINES["RTC_ENABLE_VP9"] = True
92100
+DEFINES["USE_GLIB"] = "1"
92054
+DEFINES["USE_GLIB"] = "1"
Lines 92114-92120 index 88038145cf15..98328fad3324 100644 Link Here
92114
 
92068
 
92115
 FINAL_LIBRARY = "xul"
92069
 FINAL_LIBRARY = "xul"
92116
 
92070
 
92117
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
92071
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
92118
 if CONFIG["MOZ_DEBUG"] == "1":
92072
 if CONFIG["MOZ_DEBUG"] == "1":
92119
 
92073
 
92120
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
92074
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 92308-92318 index 88038145cf15..98328fad3324 100644 Link Here
92308
 
92262
 
92309
 Library("rate_statistics_gn")
92263
 Library("rate_statistics_gn")
92310
diff --git third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build
92264
diff --git third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build
92311
index bd0629bfa0db..dce869f89476 100644
92265
index f9532edf05b6..39cdb435615a 100644
92312
--- third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build
92266
--- third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build
92313
+++ third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build
92267
+++ third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build
92314
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
92268
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
92315
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
92269
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
92316
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
92270
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
92317
 DEFINES["RTC_ENABLE_VP9"] = True
92271
 DEFINES["RTC_ENABLE_VP9"] = True
92318
+DEFINES["USE_GLIB"] = "1"
92272
+DEFINES["USE_GLIB"] = "1"
Lines 92332-92338 index bd0629bfa0db..dce869f89476 100644 Link Here
92332
 
92286
 
92333
 FINAL_LIBRARY = "xul"
92287
 FINAL_LIBRARY = "xul"
92334
 
92288
 
92335
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
92289
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
92336
 if CONFIG["MOZ_DEBUG"] == "1":
92290
 if CONFIG["MOZ_DEBUG"] == "1":
92337
 
92291
 
92338
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
92292
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 92526-92536 index bd0629bfa0db..dce869f89476 100644 Link Here
92526
 
92480
 
92527
 Library("rate_tracker_gn")
92481
 Library("rate_tracker_gn")
92528
diff --git third_party/libwebrtc/rtc_base/refcount_gn/moz.build third_party/libwebrtc/rtc_base/refcount_gn/moz.build
92482
diff --git third_party/libwebrtc/rtc_base/refcount_gn/moz.build third_party/libwebrtc/rtc_base/refcount_gn/moz.build
92529
index 3595a7a13a2b..b23b29b3df2a 100644
92483
index 3de678e52f56..dffea650acbd 100644
92530
--- third_party/libwebrtc/rtc_base/refcount_gn/moz.build
92484
--- third_party/libwebrtc/rtc_base/refcount_gn/moz.build
92531
+++ third_party/libwebrtc/rtc_base/refcount_gn/moz.build
92485
+++ third_party/libwebrtc/rtc_base/refcount_gn/moz.build
92532
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
92486
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
92533
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
92487
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
92534
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
92488
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
92535
 DEFINES["RTC_ENABLE_VP9"] = True
92489
 DEFINES["RTC_ENABLE_VP9"] = True
92536
+DEFINES["USE_GLIB"] = "1"
92490
+DEFINES["USE_GLIB"] = "1"
Lines 92550-92556 index 3595a7a13a2b..b23b29b3df2a 100644 Link Here
92550
 
92504
 
92551
 FINAL_LIBRARY = "xul"
92505
 FINAL_LIBRARY = "xul"
92552
 
92506
 
92553
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
92507
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
92554
 if CONFIG["MOZ_DEBUG"] == "1":
92508
 if CONFIG["MOZ_DEBUG"] == "1":
92555
 
92509
 
92556
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
92510
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 92660-92666 index 3595a7a13a2b..b23b29b3df2a 100644 Link Here
92660
 
92614
 
92661
 if CONFIG["TARGET_CPU"] == "x86":
92615
 if CONFIG["TARGET_CPU"] == "x86":
92662
 
92616
 
92663
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
92617
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
92664
 
92618
 
92665
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
92619
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
92666
 
92620
 
Lines 92713-92723 index 3595a7a13a2b..b23b29b3df2a 100644 Link Here
92713
-
92667
-
92714
 Library("refcount_gn")
92668
 Library("refcount_gn")
92715
diff --git third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build
92669
diff --git third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build
92716
index daf579df3533..f83bf4191a50 100644
92670
index 01650e82652c..eb46e9e0940e 100644
92717
--- third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build
92671
--- third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build
92718
+++ third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build
92672
+++ third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build
92719
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
92673
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
92720
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
92674
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
92721
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
92675
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
92722
 DEFINES["RTC_ENABLE_VP9"] = True
92676
 DEFINES["RTC_ENABLE_VP9"] = True
92723
+DEFINES["USE_GLIB"] = "1"
92677
+DEFINES["USE_GLIB"] = "1"
Lines 92737-92743 index daf579df3533..f83bf4191a50 100644 Link Here
92737
 
92691
 
92738
 FINAL_LIBRARY = "xul"
92692
 FINAL_LIBRARY = "xul"
92739
 
92693
 
92740
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
92694
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
92741
 if CONFIG["MOZ_DEBUG"] == "1":
92695
 if CONFIG["MOZ_DEBUG"] == "1":
92742
 
92696
 
92743
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
92697
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 92851-92857 index daf579df3533..f83bf4191a50 100644 Link Here
92851
 
92805
 
92852
 if CONFIG["TARGET_CPU"] == "x86":
92806
 if CONFIG["TARGET_CPU"] == "x86":
92853
 
92807
 
92854
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
92808
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
92855
 
92809
 
92856
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
92810
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
92857
 
92811
 
Lines 92904-92914 index daf579df3533..f83bf4191a50 100644 Link Here
92904
-
92858
-
92905
 Library("rolling_accumulator_gn")
92859
 Library("rolling_accumulator_gn")
92906
diff --git third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build
92860
diff --git third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build
92907
index f01e48e21375..61236b44fa64 100644
92861
index 57d72e2c1e9f..2a64b57441ec 100644
92908
--- third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build
92862
--- third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build
92909
+++ third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build
92863
+++ third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build
92910
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
92864
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
92911
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
92865
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
92912
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
92866
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
92913
 DEFINES["RTC_ENABLE_VP9"] = True
92867
 DEFINES["RTC_ENABLE_VP9"] = True
92914
+DEFINES["USE_GLIB"] = "1"
92868
+DEFINES["USE_GLIB"] = "1"
Lines 92928-92934 index f01e48e21375..61236b44fa64 100644 Link Here
92928
 
92882
 
92929
 FINAL_LIBRARY = "xul"
92883
 FINAL_LIBRARY = "xul"
92930
 
92884
 
92931
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
92885
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
92932
 if CONFIG["MOZ_DEBUG"] == "1":
92886
 if CONFIG["MOZ_DEBUG"] == "1":
92933
 
92887
 
92934
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
92888
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 93122-93132 index f01e48e21375..61236b44fa64 100644 Link Here
93122
 
93076
 
93123
 Library("rtc_event_gn")
93077
 Library("rtc_event_gn")
93124
diff --git third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build
93078
diff --git third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build
93125
index 9c7b0c6d3f55..a11937d5e09e 100644
93079
index e5f133fc9924..63aa82161c35 100644
93126
--- third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build
93080
--- third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build
93127
+++ third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build
93081
+++ third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build
93128
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
93082
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
93129
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
93083
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
93130
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
93084
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
93131
 DEFINES["RTC_ENABLE_VP9"] = True
93085
 DEFINES["RTC_ENABLE_VP9"] = True
93132
+DEFINES["USE_GLIB"] = "1"
93086
+DEFINES["USE_GLIB"] = "1"
Lines 93146-93152 index 9c7b0c6d3f55..a11937d5e09e 100644 Link Here
93146
 
93100
 
93147
 FINAL_LIBRARY = "xul"
93101
 FINAL_LIBRARY = "xul"
93148
 
93102
 
93149
@@ -45,179 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
93103
@@ -46,179 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
93150
 if CONFIG["MOZ_DEBUG"] == "1":
93104
 if CONFIG["MOZ_DEBUG"] == "1":
93151
 
93105
 
93152
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
93106
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 93333-93343 index 9c7b0c6d3f55..a11937d5e09e 100644 Link Here
93333
 
93287
 
93334
 Library("rtc_numerics_gn")
93288
 Library("rtc_numerics_gn")
93335
diff --git third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build
93289
diff --git third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build
93336
index 80d295aa9d5d..5674190b8fd3 100644
93290
index a64091f2b704..b5b71363445a 100644
93337
--- third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build
93291
--- third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build
93338
+++ third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build
93292
+++ third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build
93339
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
93293
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
93340
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
93294
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
93341
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
93295
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
93342
 DEFINES["RTC_ENABLE_VP9"] = True
93296
 DEFINES["RTC_ENABLE_VP9"] = True
93343
+DEFINES["USE_GLIB"] = "1"
93297
+DEFINES["USE_GLIB"] = "1"
Lines 93357-93363 index 80d295aa9d5d..5674190b8fd3 100644 Link Here
93357
 
93311
 
93358
 FINAL_LIBRARY = "xul"
93312
 FINAL_LIBRARY = "xul"
93359
 
93313
 
93360
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
93314
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
93361
 if CONFIG["MOZ_DEBUG"] == "1":
93315
 if CONFIG["MOZ_DEBUG"] == "1":
93362
 
93316
 
93363
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
93317
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 93467-93473 index 80d295aa9d5d..5674190b8fd3 100644 Link Here
93467
 
93421
 
93468
 if CONFIG["TARGET_CPU"] == "x86":
93422
 if CONFIG["TARGET_CPU"] == "x86":
93469
 
93423
 
93470
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
93424
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
93471
 
93425
 
93472
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
93426
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
93473
 
93427
 
Lines 93520-93530 index 80d295aa9d5d..5674190b8fd3 100644 Link Here
93520
-
93474
-
93521
 Library("safe_compare_gn")
93475
 Library("safe_compare_gn")
93522
diff --git third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build
93476
diff --git third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build
93523
index c9b97cb7ed49..614a50cc3677 100644
93477
index 3041610af6d3..059c8cf3092a 100644
93524
--- third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build
93478
--- third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build
93525
+++ third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build
93479
+++ third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build
93526
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
93480
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
93527
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
93481
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
93528
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
93482
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
93529
 DEFINES["RTC_ENABLE_VP9"] = True
93483
 DEFINES["RTC_ENABLE_VP9"] = True
93530
+DEFINES["USE_GLIB"] = "1"
93484
+DEFINES["USE_GLIB"] = "1"
Lines 93544-93550 index c9b97cb7ed49..614a50cc3677 100644 Link Here
93544
 
93498
 
93545
 FINAL_LIBRARY = "xul"
93499
 FINAL_LIBRARY = "xul"
93546
 
93500
 
93547
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
93501
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
93548
 if CONFIG["MOZ_DEBUG"] == "1":
93502
 if CONFIG["MOZ_DEBUG"] == "1":
93549
 
93503
 
93550
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
93504
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 93658-93664 index c9b97cb7ed49..614a50cc3677 100644 Link Here
93658
 
93612
 
93659
 if CONFIG["TARGET_CPU"] == "x86":
93613
 if CONFIG["TARGET_CPU"] == "x86":
93660
 
93614
 
93661
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
93615
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
93662
 
93616
 
93663
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
93617
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
93664
 
93618
 
Lines 93711-93721 index c9b97cb7ed49..614a50cc3677 100644 Link Here
93711
-
93665
-
93712
 Library("safe_conversions_gn")
93666
 Library("safe_conversions_gn")
93713
diff --git third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build
93667
diff --git third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build
93714
index 50e6173fccd3..dd120fb85232 100644
93668
index 58903e9a4e63..2f50afc26237 100644
93715
--- third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build
93669
--- third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build
93716
+++ third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build
93670
+++ third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build
93717
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
93671
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
93718
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
93672
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
93719
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
93673
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
93720
 DEFINES["RTC_ENABLE_VP9"] = True
93674
 DEFINES["RTC_ENABLE_VP9"] = True
93721
+DEFINES["USE_GLIB"] = "1"
93675
+DEFINES["USE_GLIB"] = "1"
Lines 93735-93741 index 50e6173fccd3..dd120fb85232 100644 Link Here
93735
 
93689
 
93736
 FINAL_LIBRARY = "xul"
93690
 FINAL_LIBRARY = "xul"
93737
 
93691
 
93738
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
93692
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
93739
 if CONFIG["MOZ_DEBUG"] == "1":
93693
 if CONFIG["MOZ_DEBUG"] == "1":
93740
 
93694
 
93741
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
93695
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 93849-93855 index 50e6173fccd3..dd120fb85232 100644 Link Here
93849
 
93803
 
93850
 if CONFIG["TARGET_CPU"] == "x86":
93804
 if CONFIG["TARGET_CPU"] == "x86":
93851
 
93805
 
93852
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
93806
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
93853
 
93807
 
93854
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
93808
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
93855
 
93809
 
Lines 93902-93912 index 50e6173fccd3..dd120fb85232 100644 Link Here
93902
-
93856
-
93903
 Library("safe_minmax_gn")
93857
 Library("safe_minmax_gn")
93904
diff --git third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build
93858
diff --git third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build
93905
index 4ffa48a120cb..5a19758cd0c1 100644
93859
index 8ee16d80ed85..c9bc739d62e9 100644
93906
--- third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build
93860
--- third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build
93907
+++ third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build
93861
+++ third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build
93908
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
93862
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
93909
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
93863
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
93910
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
93864
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
93911
 DEFINES["RTC_ENABLE_VP9"] = True
93865
 DEFINES["RTC_ENABLE_VP9"] = True
93912
+DEFINES["USE_GLIB"] = "1"
93866
+DEFINES["USE_GLIB"] = "1"
Lines 93926-93932 index 4ffa48a120cb..5a19758cd0c1 100644 Link Here
93926
 
93880
 
93927
 FINAL_LIBRARY = "xul"
93881
 FINAL_LIBRARY = "xul"
93928
 
93882
 
93929
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
93883
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
93930
 if CONFIG["MOZ_DEBUG"] == "1":
93884
 if CONFIG["MOZ_DEBUG"] == "1":
93931
 
93885
 
93932
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
93886
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 94113-94123 index 4ffa48a120cb..5a19758cd0c1 100644 Link Here
94113
 
94067
 
94114
 Library("sample_counter_gn")
94068
 Library("sample_counter_gn")
94115
diff --git third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build
94069
diff --git third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build
94116
index a860a9f7282b..65d7a7b001cc 100644
94070
index cbd346e5dc21..980b9765b1de 100644
94117
--- third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build
94071
--- third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build
94118
+++ third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build
94072
+++ third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build
94119
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
94073
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
94120
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
94074
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
94121
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
94075
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
94122
 DEFINES["RTC_ENABLE_VP9"] = True
94076
 DEFINES["RTC_ENABLE_VP9"] = True
94123
+DEFINES["USE_GLIB"] = "1"
94077
+DEFINES["USE_GLIB"] = "1"
Lines 94137-94143 index a860a9f7282b..65d7a7b001cc 100644 Link Here
94137
 
94091
 
94138
 FINAL_LIBRARY = "xul"
94092
 FINAL_LIBRARY = "xul"
94139
 
94093
 
94140
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
94094
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
94141
 if CONFIG["MOZ_DEBUG"] == "1":
94095
 if CONFIG["MOZ_DEBUG"] == "1":
94142
 
94096
 
94143
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
94097
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 94247-94253 index a860a9f7282b..65d7a7b001cc 100644 Link Here
94247
 
94201
 
94248
 if CONFIG["TARGET_CPU"] == "x86":
94202
 if CONFIG["TARGET_CPU"] == "x86":
94249
 
94203
 
94250
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
94204
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
94251
 
94205
 
94252
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
94206
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
94253
 
94207
 
Lines 94300-94310 index a860a9f7282b..65d7a7b001cc 100644 Link Here
94300
-
94254
-
94301
 Library("sanitizer_gn")
94255
 Library("sanitizer_gn")
94302
diff --git third_party/libwebrtc/rtc_base/socket_address_gn/moz.build third_party/libwebrtc/rtc_base/socket_address_gn/moz.build
94256
diff --git third_party/libwebrtc/rtc_base/socket_address_gn/moz.build third_party/libwebrtc/rtc_base/socket_address_gn/moz.build
94303
index 04cba77cbb9c..b2c6204e306f 100644
94257
index 7dfe5738c998..91e90e92a460 100644
94304
--- third_party/libwebrtc/rtc_base/socket_address_gn/moz.build
94258
--- third_party/libwebrtc/rtc_base/socket_address_gn/moz.build
94305
+++ third_party/libwebrtc/rtc_base/socket_address_gn/moz.build
94259
+++ third_party/libwebrtc/rtc_base/socket_address_gn/moz.build
94306
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
94260
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
94307
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
94261
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
94308
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
94262
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
94309
 DEFINES["RTC_ENABLE_VP9"] = True
94263
 DEFINES["RTC_ENABLE_VP9"] = True
94310
+DEFINES["USE_GLIB"] = "1"
94264
+DEFINES["USE_GLIB"] = "1"
Lines 94324-94330 index 04cba77cbb9c..b2c6204e306f 100644 Link Here
94324
 
94278
 
94325
 FINAL_LIBRARY = "xul"
94279
 FINAL_LIBRARY = "xul"
94326
 
94280
 
94327
@@ -43,187 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
94281
@@ -44,187 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
94328
 if CONFIG["MOZ_DEBUG"] == "1":
94282
 if CONFIG["MOZ_DEBUG"] == "1":
94329
 
94283
 
94330
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
94284
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 94519-94529 index 04cba77cbb9c..b2c6204e306f 100644 Link Here
94519
 
94473
 
94520
 Library("socket_address_gn")
94474
 Library("socket_address_gn")
94521
diff --git third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build
94475
diff --git third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build
94522
index f3356c04b441..591ac160c8cb 100644
94476
index 5c4cf0261e1a..4de54ef5649f 100644
94523
--- third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build
94477
--- third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build
94524
+++ third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build
94478
+++ third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build
94525
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
94479
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
94526
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
94480
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
94527
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
94481
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
94528
 DEFINES["RTC_ENABLE_VP9"] = True
94482
 DEFINES["RTC_ENABLE_VP9"] = True
94529
+DEFINES["USE_GLIB"] = "1"
94483
+DEFINES["USE_GLIB"] = "1"
Lines 94543-94549 index f3356c04b441..591ac160c8cb 100644 Link Here
94543
 
94497
 
94544
 FINAL_LIBRARY = "xul"
94498
 FINAL_LIBRARY = "xul"
94545
 
94499
 
94546
@@ -39,120 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
94500
@@ -40,120 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
94547
 if CONFIG["MOZ_DEBUG"] == "1":
94501
 if CONFIG["MOZ_DEBUG"] == "1":
94548
 
94502
 
94549
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
94503
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 94665-94671 index f3356c04b441..591ac160c8cb 100644 Link Here
94665
 
94619
 
94666
 if CONFIG["TARGET_CPU"] == "x86":
94620
 if CONFIG["TARGET_CPU"] == "x86":
94667
 
94621
 
94668
@@ -162,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
94622
@@ -163,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
94669
 
94623
 
94670
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
94624
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
94671
 
94625
 
Lines 94718-94728 index f3356c04b441..591ac160c8cb 100644 Link Here
94718
-
94672
-
94719
 Library("socket_factory_gn")
94673
 Library("socket_factory_gn")
94720
diff --git third_party/libwebrtc/rtc_base/socket_gn/moz.build third_party/libwebrtc/rtc_base/socket_gn/moz.build
94674
diff --git third_party/libwebrtc/rtc_base/socket_gn/moz.build third_party/libwebrtc/rtc_base/socket_gn/moz.build
94721
index edca3916c141..483f18116d82 100644
94675
index 43f98b9758bf..27b46ae4f612 100644
94722
--- third_party/libwebrtc/rtc_base/socket_gn/moz.build
94676
--- third_party/libwebrtc/rtc_base/socket_gn/moz.build
94723
+++ third_party/libwebrtc/rtc_base/socket_gn/moz.build
94677
+++ third_party/libwebrtc/rtc_base/socket_gn/moz.build
94724
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
94678
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
94725
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
94679
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
94726
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
94680
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
94727
 DEFINES["RTC_ENABLE_VP9"] = True
94681
 DEFINES["RTC_ENABLE_VP9"] = True
94728
+DEFINES["USE_GLIB"] = "1"
94682
+DEFINES["USE_GLIB"] = "1"
Lines 94742-94748 index edca3916c141..483f18116d82 100644 Link Here
94742
 
94696
 
94743
 FINAL_LIBRARY = "xul"
94697
 FINAL_LIBRARY = "xul"
94744
 
94698
 
94745
@@ -43,187 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
94699
@@ -44,187 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
94746
 if CONFIG["MOZ_DEBUG"] == "1":
94700
 if CONFIG["MOZ_DEBUG"] == "1":
94747
 
94701
 
94748
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
94702
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 94937-94947 index edca3916c141..483f18116d82 100644 Link Here
94937
 
94891
 
94938
 Library("socket_gn")
94892
 Library("socket_gn")
94939
diff --git third_party/libwebrtc/rtc_base/socket_server_gn/moz.build third_party/libwebrtc/rtc_base/socket_server_gn/moz.build
94893
diff --git third_party/libwebrtc/rtc_base/socket_server_gn/moz.build third_party/libwebrtc/rtc_base/socket_server_gn/moz.build
94940
index 942e81926f06..b2c9e653415f 100644
94894
index d24756b4d615..5a576332fb94 100644
94941
--- third_party/libwebrtc/rtc_base/socket_server_gn/moz.build
94895
--- third_party/libwebrtc/rtc_base/socket_server_gn/moz.build
94942
+++ third_party/libwebrtc/rtc_base/socket_server_gn/moz.build
94896
+++ third_party/libwebrtc/rtc_base/socket_server_gn/moz.build
94943
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
94897
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
94944
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
94898
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
94945
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
94899
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
94946
 DEFINES["RTC_ENABLE_VP9"] = True
94900
 DEFINES["RTC_ENABLE_VP9"] = True
94947
+DEFINES["USE_GLIB"] = "1"
94901
+DEFINES["USE_GLIB"] = "1"
Lines 94961-94967 index 942e81926f06..b2c9e653415f 100644 Link Here
94961
 
94915
 
94962
 FINAL_LIBRARY = "xul"
94916
 FINAL_LIBRARY = "xul"
94963
 
94917
 
94964
@@ -39,120 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
94918
@@ -40,120 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
94965
 if CONFIG["MOZ_DEBUG"] == "1":
94919
 if CONFIG["MOZ_DEBUG"] == "1":
94966
 
94920
 
94967
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
94921
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 95083-95089 index 942e81926f06..b2c9e653415f 100644 Link Here
95083
 
95037
 
95084
 if CONFIG["TARGET_CPU"] == "x86":
95038
 if CONFIG["TARGET_CPU"] == "x86":
95085
 
95039
 
95086
@@ -162,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
95040
@@ -163,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
95087
 
95041
 
95088
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
95042
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
95089
 
95043
 
Lines 95136-95146 index 942e81926f06..b2c9e653415f 100644 Link Here
95136
-
95090
-
95137
 Library("socket_server_gn")
95091
 Library("socket_server_gn")
95138
diff --git third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build
95092
diff --git third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build
95139
index 75ac6a6be25d..61f586516d9a 100644
95093
index 7df6c9be0d52..37f417671c69 100644
95140
--- third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build
95094
--- third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build
95141
+++ third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build
95095
+++ third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build
95142
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
95096
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
95143
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
95097
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
95144
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
95098
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
95145
 DEFINES["RTC_ENABLE_VP9"] = True
95099
 DEFINES["RTC_ENABLE_VP9"] = True
95146
+DEFINES["USE_GLIB"] = "1"
95100
+DEFINES["USE_GLIB"] = "1"
Lines 95160-95166 index 75ac6a6be25d..61f586516d9a 100644 Link Here
95160
 
95114
 
95161
 FINAL_LIBRARY = "xul"
95115
 FINAL_LIBRARY = "xul"
95162
 
95116
 
95163
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
95117
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
95164
 if CONFIG["MOZ_DEBUG"] == "1":
95118
 if CONFIG["MOZ_DEBUG"] == "1":
95165
 
95119
 
95166
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
95120
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 95270-95276 index 75ac6a6be25d..61f586516d9a 100644 Link Here
95270
 
95224
 
95271
 if CONFIG["TARGET_CPU"] == "x86":
95225
 if CONFIG["TARGET_CPU"] == "x86":
95272
 
95226
 
95273
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
95227
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
95274
 
95228
 
95275
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
95229
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
95276
 
95230
 
Lines 95323-95333 index 75ac6a6be25d..61f586516d9a 100644 Link Here
95323
-
95277
-
95324
 Library("ssl_adapter_gn")
95278
 Library("ssl_adapter_gn")
95325
diff --git third_party/libwebrtc/rtc_base/ssl_gn/moz.build third_party/libwebrtc/rtc_base/ssl_gn/moz.build
95279
diff --git third_party/libwebrtc/rtc_base/ssl_gn/moz.build third_party/libwebrtc/rtc_base/ssl_gn/moz.build
95326
index e3472674ceed..75f5872592d6 100644
95280
index 3b316011d903..9f73c2a4952a 100644
95327
--- third_party/libwebrtc/rtc_base/ssl_gn/moz.build
95281
--- third_party/libwebrtc/rtc_base/ssl_gn/moz.build
95328
+++ third_party/libwebrtc/rtc_base/ssl_gn/moz.build
95282
+++ third_party/libwebrtc/rtc_base/ssl_gn/moz.build
95329
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
95283
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
95330
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
95284
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
95331
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
95285
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
95332
 DEFINES["RTC_ENABLE_VP9"] = True
95286
 DEFINES["RTC_ENABLE_VP9"] = True
95333
+DEFINES["USE_GLIB"] = "1"
95287
+DEFINES["USE_GLIB"] = "1"
Lines 95347-95353 index e3472674ceed..75f5872592d6 100644 Link Here
95347
 
95301
 
95348
 FINAL_LIBRARY = "xul"
95302
 FINAL_LIBRARY = "xul"
95349
 
95303
 
95350
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
95304
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
95351
 if CONFIG["MOZ_DEBUG"] == "1":
95305
 if CONFIG["MOZ_DEBUG"] == "1":
95352
 
95306
 
95353
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
95307
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 95457-95463 index e3472674ceed..75f5872592d6 100644 Link Here
95457
 
95411
 
95458
 if CONFIG["TARGET_CPU"] == "x86":
95412
 if CONFIG["TARGET_CPU"] == "x86":
95459
 
95413
 
95460
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
95414
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
95461
 
95415
 
95462
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
95416
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
95463
 
95417
 
Lines 95510-95520 index e3472674ceed..75f5872592d6 100644 Link Here
95510
-
95464
-
95511
 Library("ssl_gn")
95465
 Library("ssl_gn")
95512
diff --git third_party/libwebrtc/rtc_base/stringutils_gn/moz.build third_party/libwebrtc/rtc_base/stringutils_gn/moz.build
95466
diff --git third_party/libwebrtc/rtc_base/stringutils_gn/moz.build third_party/libwebrtc/rtc_base/stringutils_gn/moz.build
95513
index 3a9379a6bc47..5c8050faccb3 100644
95467
index 8968548bc44d..6ae58958a750 100644
95514
--- third_party/libwebrtc/rtc_base/stringutils_gn/moz.build
95468
--- third_party/libwebrtc/rtc_base/stringutils_gn/moz.build
95515
+++ third_party/libwebrtc/rtc_base/stringutils_gn/moz.build
95469
+++ third_party/libwebrtc/rtc_base/stringutils_gn/moz.build
95516
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
95470
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
95517
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
95471
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
95518
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
95472
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
95519
 DEFINES["RTC_ENABLE_VP9"] = True
95473
 DEFINES["RTC_ENABLE_VP9"] = True
95520
+DEFINES["USE_GLIB"] = "1"
95474
+DEFINES["USE_GLIB"] = "1"
Lines 95534-95540 index 3a9379a6bc47..5c8050faccb3 100644 Link Here
95534
 
95488
 
95535
 FINAL_LIBRARY = "xul"
95489
 FINAL_LIBRARY = "xul"
95536
 
95490
 
95537
@@ -47,179 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
95491
@@ -48,179 +57,32 @@ if not CONFIG["MOZ_DEBUG"]:
95538
 if CONFIG["MOZ_DEBUG"] == "1":
95492
 if CONFIG["MOZ_DEBUG"] == "1":
95539
 
95493
 
95540
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
95494
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 95721-95731 index 3a9379a6bc47..5c8050faccb3 100644 Link Here
95721
 
95675
 
95722
 Library("stringutils_gn")
95676
 Library("stringutils_gn")
95723
diff --git third_party/libwebrtc/rtc_base/strong_alias_gn/moz.build third_party/libwebrtc/rtc_base/strong_alias_gn/moz.build
95677
diff --git third_party/libwebrtc/rtc_base/strong_alias_gn/moz.build third_party/libwebrtc/rtc_base/strong_alias_gn/moz.build
95724
index f095e4d464fa..1d1169bf8b1c 100644
95678
index 3ca55f387657..3578dca2f457 100644
95725
--- third_party/libwebrtc/rtc_base/strong_alias_gn/moz.build
95679
--- third_party/libwebrtc/rtc_base/strong_alias_gn/moz.build
95726
+++ third_party/libwebrtc/rtc_base/strong_alias_gn/moz.build
95680
+++ third_party/libwebrtc/rtc_base/strong_alias_gn/moz.build
95727
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
95681
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
95728
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
95682
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
95729
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
95683
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
95730
 DEFINES["RTC_ENABLE_VP9"] = True
95684
 DEFINES["RTC_ENABLE_VP9"] = True
95731
+DEFINES["USE_GLIB"] = "1"
95685
+DEFINES["USE_GLIB"] = "1"
Lines 95745-95751 index f095e4d464fa..1d1169bf8b1c 100644 Link Here
95745
 
95699
 
95746
 FINAL_LIBRARY = "xul"
95700
 FINAL_LIBRARY = "xul"
95747
 
95701
 
95748
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
95702
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
95749
 if CONFIG["MOZ_DEBUG"] == "1":
95703
 if CONFIG["MOZ_DEBUG"] == "1":
95750
 
95704
 
95751
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
95705
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 95855-95861 index f095e4d464fa..1d1169bf8b1c 100644 Link Here
95855
 
95809
 
95856
 if CONFIG["TARGET_CPU"] == "x86":
95810
 if CONFIG["TARGET_CPU"] == "x86":
95857
 
95811
 
95858
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
95812
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
95859
 
95813
 
95860
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
95814
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
95861
 
95815
 
Lines 95908-95918 index f095e4d464fa..1d1169bf8b1c 100644 Link Here
95908
-
95862
-
95909
 Library("strong_alias_gn")
95863
 Library("strong_alias_gn")
95910
diff --git third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build
95864
diff --git third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build
95911
index 3fc5f7cf3ddc..f8f4f5f791c7 100644
95865
index 84aa26f7defe..3b411438cbea 100644
95912
--- third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build
95866
--- third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build
95913
+++ third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build
95867
+++ third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build
95914
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
95868
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
95915
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
95869
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
95916
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
95870
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
95917
 DEFINES["RTC_ENABLE_VP9"] = True
95871
 DEFINES["RTC_ENABLE_VP9"] = True
95918
+DEFINES["USE_GLIB"] = "1"
95872
+DEFINES["USE_GLIB"] = "1"
Lines 95932-95938 index 3fc5f7cf3ddc..f8f4f5f791c7 100644 Link Here
95932
 
95886
 
95933
 FINAL_LIBRARY = "xul"
95887
 FINAL_LIBRARY = "xul"
95934
 
95888
 
95935
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
95889
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
95936
 if CONFIG["MOZ_DEBUG"] == "1":
95890
 if CONFIG["MOZ_DEBUG"] == "1":
95937
 
95891
 
95938
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
95892
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 96046-96052 index 3fc5f7cf3ddc..f8f4f5f791c7 100644 Link Here
96046
 
96000
 
96047
 if CONFIG["TARGET_CPU"] == "x86":
96001
 if CONFIG["TARGET_CPU"] == "x86":
96048
 
96002
 
96049
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
96003
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
96050
 
96004
 
96051
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
96005
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
96052
 
96006
 
Lines 96099-96109 index 3fc5f7cf3ddc..f8f4f5f791c7 100644 Link Here
96099
-
96053
-
96100
 Library("swap_queue_gn")
96054
 Library("swap_queue_gn")
96101
diff --git third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build
96055
diff --git third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build
96102
index ba727290af65..0b02cb2f3fe4 100644
96056
index 9ce9d8492bdc..97ba7f1f28a4 100644
96103
--- third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build
96057
--- third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build
96104
+++ third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build
96058
+++ third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build
96105
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
96059
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
96106
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
96060
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
96107
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
96061
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
96108
 DEFINES["RTC_ENABLE_VP9"] = True
96062
 DEFINES["RTC_ENABLE_VP9"] = True
96109
+DEFINES["USE_GLIB"] = "1"
96063
+DEFINES["USE_GLIB"] = "1"
Lines 96123-96129 index ba727290af65..0b02cb2f3fe4 100644 Link Here
96123
 
96077
 
96124
 FINAL_LIBRARY = "xul"
96078
 FINAL_LIBRARY = "xul"
96125
 
96079
 
96126
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
96080
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
96127
 if CONFIG["MOZ_DEBUG"] == "1":
96081
 if CONFIG["MOZ_DEBUG"] == "1":
96128
 
96082
 
96129
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
96083
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 96237-96243 index ba727290af65..0b02cb2f3fe4 100644 Link Here
96237
 
96191
 
96238
 if CONFIG["TARGET_CPU"] == "x86":
96192
 if CONFIG["TARGET_CPU"] == "x86":
96239
 
96193
 
96240
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
96194
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
96241
 
96195
 
96242
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
96196
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
96243
 
96197
 
Lines 96290-96300 index ba727290af65..0b02cb2f3fe4 100644 Link Here
96290
-
96244
-
96291
 Library("mutex_gn")
96245
 Library("mutex_gn")
96292
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
96246
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
96293
index 570234e8e2b0..ca17fd6c0ab5 100644
96247
index 3f32dcb1a7a0..2b47834fa63c 100644
96294
--- third_party/libwebrtc/rtc_base/synchronization/sequence_checker_internal_gn/moz.build
96248
--- third_party/libwebrtc/rtc_base/synchronization/sequence_checker_internal_gn/moz.build
96295
+++ third_party/libwebrtc/rtc_base/synchronization/sequence_checker_internal_gn/moz.build
96249
+++ third_party/libwebrtc/rtc_base/synchronization/sequence_checker_internal_gn/moz.build
96296
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
96250
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
96297
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
96251
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
96298
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
96252
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
96299
 DEFINES["RTC_ENABLE_VP9"] = True
96253
 DEFINES["RTC_ENABLE_VP9"] = True
96300
+DEFINES["USE_GLIB"] = "1"
96254
+DEFINES["USE_GLIB"] = "1"
Lines 96314-96320 index 570234e8e2b0..ca17fd6c0ab5 100644 Link Here
96314
 
96268
 
96315
 FINAL_LIBRARY = "xul"
96269
 FINAL_LIBRARY = "xul"
96316
 
96270
 
96317
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
96271
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
96318
 if CONFIG["MOZ_DEBUG"] == "1":
96272
 if CONFIG["MOZ_DEBUG"] == "1":
96319
 
96273
 
96320
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
96274
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 96501-96511 index 570234e8e2b0..ca17fd6c0ab5 100644 Link Here
96501
 
96455
 
96502
 Library("sequence_checker_internal_gn")
96456
 Library("sequence_checker_internal_gn")
96503
diff --git third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build
96457
diff --git third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build
96504
index 662dc4ca7ae1..197cc9f03ae6 100644
96458
index 3e512b9b5730..c09f2aea4cb5 100644
96505
--- third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build
96459
--- third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build
96506
+++ third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build
96460
+++ third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build
96507
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
96461
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
96508
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
96462
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
96509
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
96463
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
96510
 DEFINES["RTC_ENABLE_VP9"] = True
96464
 DEFINES["RTC_ENABLE_VP9"] = True
96511
+DEFINES["USE_GLIB"] = "1"
96465
+DEFINES["USE_GLIB"] = "1"
Lines 96525-96531 index 662dc4ca7ae1..197cc9f03ae6 100644 Link Here
96525
 
96479
 
96526
 FINAL_LIBRARY = "xul"
96480
 FINAL_LIBRARY = "xul"
96527
 
96481
 
96528
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
96482
@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
96529
 if CONFIG["MOZ_DEBUG"] == "1":
96483
 if CONFIG["MOZ_DEBUG"] == "1":
96530
 
96484
 
96531
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
96485
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 96708-96718 index 662dc4ca7ae1..197cc9f03ae6 100644 Link Here
96708
 
96662
 
96709
 Library("yield_gn")
96663
 Library("yield_gn")
96710
diff --git third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build
96664
diff --git third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build
96711
index 45cb36beecd3..32deffc163e4 100644
96665
index 3f1dd4f9247c..7269d51420de 100644
96712
--- third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build
96666
--- third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build
96713
+++ third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build
96667
+++ third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build
96714
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
96668
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
96715
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
96669
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
96716
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
96670
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
96717
 DEFINES["RTC_ENABLE_VP9"] = True
96671
 DEFINES["RTC_ENABLE_VP9"] = True
96718
+DEFINES["USE_GLIB"] = "1"
96672
+DEFINES["USE_GLIB"] = "1"
Lines 96732-96738 index 45cb36beecd3..32deffc163e4 100644 Link Here
96732
 
96686
 
96733
 FINAL_LIBRARY = "xul"
96687
 FINAL_LIBRARY = "xul"
96734
 
96688
 
96735
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
96689
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
96736
 if CONFIG["MOZ_DEBUG"] == "1":
96690
 if CONFIG["MOZ_DEBUG"] == "1":
96737
 
96691
 
96738
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
96692
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 96919-96929 index 45cb36beecd3..32deffc163e4 100644 Link Here
96919
 
96873
 
96920
 Library("yield_policy_gn")
96874
 Library("yield_policy_gn")
96921
diff --git third_party/libwebrtc/rtc_base/system/arch_gn/moz.build third_party/libwebrtc/rtc_base/system/arch_gn/moz.build
96875
diff --git third_party/libwebrtc/rtc_base/system/arch_gn/moz.build third_party/libwebrtc/rtc_base/system/arch_gn/moz.build
96922
index c3db5cb3ded8..a2e813fa095d 100644
96876
index 4deae9759dba..e7eb27834aca 100644
96923
--- third_party/libwebrtc/rtc_base/system/arch_gn/moz.build
96877
--- third_party/libwebrtc/rtc_base/system/arch_gn/moz.build
96924
+++ third_party/libwebrtc/rtc_base/system/arch_gn/moz.build
96878
+++ third_party/libwebrtc/rtc_base/system/arch_gn/moz.build
96925
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
96879
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
96926
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
96880
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
96927
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
96881
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
96928
 DEFINES["RTC_ENABLE_VP9"] = True
96882
 DEFINES["RTC_ENABLE_VP9"] = True
96929
+DEFINES["USE_GLIB"] = "1"
96883
+DEFINES["USE_GLIB"] = "1"
Lines 96943-96949 index c3db5cb3ded8..a2e813fa095d 100644 Link Here
96943
 
96897
 
96944
 FINAL_LIBRARY = "xul"
96898
 FINAL_LIBRARY = "xul"
96945
 
96899
 
96946
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
96900
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
96947
 if CONFIG["MOZ_DEBUG"] == "1":
96901
 if CONFIG["MOZ_DEBUG"] == "1":
96948
 
96902
 
96949
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
96903
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 97053-97059 index c3db5cb3ded8..a2e813fa095d 100644 Link Here
97053
 
97007
 
97054
 if CONFIG["TARGET_CPU"] == "x86":
97008
 if CONFIG["TARGET_CPU"] == "x86":
97055
 
97009
 
97056
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
97010
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
97057
 
97011
 
97058
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
97012
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
97059
 
97013
 
Lines 97107-97116 index c3db5cb3ded8..a2e813fa095d 100644 Link Here
97107
 Library("arch_gn")
97061
 Library("arch_gn")
97108
diff --git third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build
97062
diff --git third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build
97109
deleted file mode 100644
97063
deleted file mode 100644
97110
index 89f37a5264ae..000000000000
97064
index 0a5db7e1cf27..000000000000
97111
--- third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build
97065
--- third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build
97112
+++ /dev/null
97066
+++ /dev/null
97113
@@ -1,79 +0,0 @@
97067
@@ -1,80 +0,0 @@
97114
-# This Source Code Form is subject to the terms of the Mozilla Public
97068
-# This Source Code Form is subject to the terms of the Mozilla Public
97115
-# License, v. 2.0. If a copy of the MPL was not distributed with this
97069
-# License, v. 2.0. If a copy of the MPL was not distributed with this
97116
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
97070
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
Lines 97123-97128 index 89f37a5264ae..000000000000 Link Here
97123
-AllowCompilerWarnings()
97077
-AllowCompilerWarnings()
97124
-
97078
-
97125
-DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
97079
-DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
97080
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
97126
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
97081
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
97127
-DEFINES["RTC_ENABLE_VP9"] = True
97082
-DEFINES["RTC_ENABLE_VP9"] = True
97128
-DEFINES["WEBRTC_ARCH_ARM"] = True
97083
-DEFINES["WEBRTC_ARCH_ARM"] = True
Lines 97192-97201 index 89f37a5264ae..000000000000 Link Here
97192
-Library("asm_defines_gn")
97147
-Library("asm_defines_gn")
97193
diff --git third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build
97148
diff --git third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build
97194
deleted file mode 100644
97149
deleted file mode 100644
97195
index 558f19324d33..000000000000
97150
index b151034cb93e..000000000000
97196
--- third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build
97151
--- third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build
97197
+++ /dev/null
97152
+++ /dev/null
97198
@@ -1,67 +0,0 @@
97153
@@ -1,68 +0,0 @@
97199
-# This Source Code Form is subject to the terms of the Mozilla Public
97154
-# This Source Code Form is subject to the terms of the Mozilla Public
97200
-# License, v. 2.0. If a copy of the MPL was not distributed with this
97155
-# License, v. 2.0. If a copy of the MPL was not distributed with this
97201
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
97156
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
Lines 97212-97217 index 558f19324d33..000000000000 Link Here
97212
-AllowCompilerWarnings()
97167
-AllowCompilerWarnings()
97213
-
97168
-
97214
-DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
97169
-DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
97170
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
97215
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
97171
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
97216
-DEFINES["RTC_ENABLE_VP9"] = True
97172
-DEFINES["RTC_ENABLE_VP9"] = True
97217
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
97173
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
Lines 97264-97274 index 558f19324d33..000000000000 Link Here
97264
-
97220
-
97265
-Library("cocoa_threading_gn")
97221
-Library("cocoa_threading_gn")
97266
diff --git third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build
97222
diff --git third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build
97267
index c5dee909a263..f7eba12a6be4 100644
97223
index e0f7d039805f..d46c159135e3 100644
97268
--- third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build
97224
--- third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build
97269
+++ third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build
97225
+++ third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build
97270
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
97226
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
97271
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
97227
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
97272
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
97228
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
97273
 DEFINES["RTC_ENABLE_VP9"] = True
97229
 DEFINES["RTC_ENABLE_VP9"] = True
97274
+DEFINES["USE_GLIB"] = "1"
97230
+DEFINES["USE_GLIB"] = "1"
Lines 97288-97294 index c5dee909a263..f7eba12a6be4 100644 Link Here
97288
 
97244
 
97289
 FINAL_LIBRARY = "xul"
97245
 FINAL_LIBRARY = "xul"
97290
 
97246
 
97291
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
97247
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
97292
 if CONFIG["MOZ_DEBUG"] == "1":
97248
 if CONFIG["MOZ_DEBUG"] == "1":
97293
 
97249
 
97294
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
97250
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 97476-97485 index c5dee909a263..f7eba12a6be4 100644 Link Here
97476
 Library("file_wrapper_gn")
97432
 Library("file_wrapper_gn")
97477
diff --git third_party/libwebrtc/rtc_base/system/gcd_helpers_gn/moz.build third_party/libwebrtc/rtc_base/system/gcd_helpers_gn/moz.build
97433
diff --git third_party/libwebrtc/rtc_base/system/gcd_helpers_gn/moz.build third_party/libwebrtc/rtc_base/system/gcd_helpers_gn/moz.build
97478
deleted file mode 100644
97434
deleted file mode 100644
97479
index ebb3552a5504..000000000000
97435
index 20d7ec25d78c..000000000000
97480
--- third_party/libwebrtc/rtc_base/system/gcd_helpers_gn/moz.build
97436
--- third_party/libwebrtc/rtc_base/system/gcd_helpers_gn/moz.build
97481
+++ /dev/null
97437
+++ /dev/null
97482
@@ -1,67 +0,0 @@
97438
@@ -1,68 +0,0 @@
97483
-# This Source Code Form is subject to the terms of the Mozilla Public
97439
-# This Source Code Form is subject to the terms of the Mozilla Public
97484
-# License, v. 2.0. If a copy of the MPL was not distributed with this
97440
-# License, v. 2.0. If a copy of the MPL was not distributed with this
97485
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
97441
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
Lines 97496-97501 index ebb3552a5504..000000000000 Link Here
97496
-AllowCompilerWarnings()
97452
-AllowCompilerWarnings()
97497
-
97453
-
97498
-DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
97454
-DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
97455
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
97499
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
97456
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
97500
-DEFINES["RTC_ENABLE_VP9"] = True
97457
-DEFINES["RTC_ENABLE_VP9"] = True
97501
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
97458
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
Lines 97548-97558 index ebb3552a5504..000000000000 Link Here
97548
-
97505
-
97549
-Library("gcd_helpers_gn")
97506
-Library("gcd_helpers_gn")
97550
diff --git third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build
97507
diff --git third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build
97551
index 5d57390d5397..b48a3638292c 100644
97508
index 6f3525b99ada..c14467e95dc7 100644
97552
--- third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build
97509
--- third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build
97553
+++ third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build
97510
+++ third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build
97554
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
97511
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
97555
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
97512
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
97556
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
97513
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
97557
 DEFINES["RTC_ENABLE_VP9"] = True
97514
 DEFINES["RTC_ENABLE_VP9"] = True
97558
+DEFINES["USE_GLIB"] = "1"
97515
+DEFINES["USE_GLIB"] = "1"
Lines 97572-97578 index 5d57390d5397..b48a3638292c 100644 Link Here
97572
 
97529
 
97573
 FINAL_LIBRARY = "xul"
97530
 FINAL_LIBRARY = "xul"
97574
 
97531
 
97575
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
97532
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
97576
 if CONFIG["MOZ_DEBUG"] == "1":
97533
 if CONFIG["MOZ_DEBUG"] == "1":
97577
 
97534
 
97578
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
97535
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 97682-97688 index 5d57390d5397..b48a3638292c 100644 Link Here
97682
 
97639
 
97683
 if CONFIG["TARGET_CPU"] == "x86":
97640
 if CONFIG["TARGET_CPU"] == "x86":
97684
 
97641
 
97685
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
97642
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
97686
 
97643
 
97687
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
97644
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
97688
 
97645
 
Lines 97735-97745 index 5d57390d5397..b48a3638292c 100644 Link Here
97735
-
97692
-
97736
 Library("ignore_warnings_gn")
97693
 Library("ignore_warnings_gn")
97737
diff --git third_party/libwebrtc/rtc_base/system/inline_gn/moz.build third_party/libwebrtc/rtc_base/system/inline_gn/moz.build
97694
diff --git third_party/libwebrtc/rtc_base/system/inline_gn/moz.build third_party/libwebrtc/rtc_base/system/inline_gn/moz.build
97738
index a7d22c9d0e49..4a835c05d986 100644
97695
index 2cb5fb8f52a9..1e8684bd302d 100644
97739
--- third_party/libwebrtc/rtc_base/system/inline_gn/moz.build
97696
--- third_party/libwebrtc/rtc_base/system/inline_gn/moz.build
97740
+++ third_party/libwebrtc/rtc_base/system/inline_gn/moz.build
97697
+++ third_party/libwebrtc/rtc_base/system/inline_gn/moz.build
97741
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
97698
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
97742
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
97699
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
97743
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
97700
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
97744
 DEFINES["RTC_ENABLE_VP9"] = True
97701
 DEFINES["RTC_ENABLE_VP9"] = True
97745
+DEFINES["USE_GLIB"] = "1"
97702
+DEFINES["USE_GLIB"] = "1"
Lines 97759-97765 index a7d22c9d0e49..4a835c05d986 100644 Link Here
97759
 
97716
 
97760
 FINAL_LIBRARY = "xul"
97717
 FINAL_LIBRARY = "xul"
97761
 
97718
 
97762
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
97719
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
97763
 if CONFIG["MOZ_DEBUG"] == "1":
97720
 if CONFIG["MOZ_DEBUG"] == "1":
97764
 
97721
 
97765
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
97722
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 97869-97875 index a7d22c9d0e49..4a835c05d986 100644 Link Here
97869
 
97826
 
97870
 if CONFIG["TARGET_CPU"] == "x86":
97827
 if CONFIG["TARGET_CPU"] == "x86":
97871
 
97828
 
97872
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
97829
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
97873
 
97830
 
97874
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
97831
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
97875
 
97832
 
Lines 97922-97932 index a7d22c9d0e49..4a835c05d986 100644 Link Here
97922
-
97879
-
97923
 Library("inline_gn")
97880
 Library("inline_gn")
97924
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
97881
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
97925
index 790097730f5b..c2c0856a03a4 100644
97882
index e92150e1d709..da652288e143 100644
97926
--- third_party/libwebrtc/rtc_base/system/no_unique_address_gn/moz.build
97883
--- third_party/libwebrtc/rtc_base/system/no_unique_address_gn/moz.build
97927
+++ third_party/libwebrtc/rtc_base/system/no_unique_address_gn/moz.build
97884
+++ third_party/libwebrtc/rtc_base/system/no_unique_address_gn/moz.build
97928
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
97885
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
97929
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
97886
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
97930
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
97887
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
97931
 DEFINES["RTC_ENABLE_VP9"] = True
97888
 DEFINES["RTC_ENABLE_VP9"] = True
97932
+DEFINES["USE_GLIB"] = "1"
97889
+DEFINES["USE_GLIB"] = "1"
Lines 97946-97952 index 790097730f5b..c2c0856a03a4 100644 Link Here
97946
 
97903
 
97947
 FINAL_LIBRARY = "xul"
97904
 FINAL_LIBRARY = "xul"
97948
 
97905
 
97949
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
97906
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
97950
 if CONFIG["MOZ_DEBUG"] == "1":
97907
 if CONFIG["MOZ_DEBUG"] == "1":
97951
 
97908
 
97952
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
97909
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 98056-98062 index 790097730f5b..c2c0856a03a4 100644 Link Here
98056
 
98013
 
98057
 if CONFIG["TARGET_CPU"] == "x86":
98014
 if CONFIG["TARGET_CPU"] == "x86":
98058
 
98015
 
98059
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
98016
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
98060
 
98017
 
98061
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
98018
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
98062
 
98019
 
Lines 98109-98119 index 790097730f5b..c2c0856a03a4 100644 Link Here
98109
-
98066
-
98110
 Library("no_unique_address_gn")
98067
 Library("no_unique_address_gn")
98111
diff --git third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build
98068
diff --git third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build
98112
index 5fc704343e06..c60c915ab864 100644
98069
index 8a7929181db2..8a2c396a6f97 100644
98113
--- third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build
98070
--- third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build
98114
+++ third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build
98071
+++ third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build
98115
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
98072
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
98116
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
98073
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
98117
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
98074
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
98118
 DEFINES["RTC_ENABLE_VP9"] = True
98075
 DEFINES["RTC_ENABLE_VP9"] = True
98119
+DEFINES["USE_GLIB"] = "1"
98076
+DEFINES["USE_GLIB"] = "1"
Lines 98133-98139 index 5fc704343e06..c60c915ab864 100644 Link Here
98133
 
98090
 
98134
 FINAL_LIBRARY = "xul"
98091
 FINAL_LIBRARY = "xul"
98135
 
98092
 
98136
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
98093
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
98137
 if CONFIG["MOZ_DEBUG"] == "1":
98094
 if CONFIG["MOZ_DEBUG"] == "1":
98138
 
98095
 
98139
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
98096
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 98243-98249 index 5fc704343e06..c60c915ab864 100644 Link Here
98243
 
98200
 
98244
 if CONFIG["TARGET_CPU"] == "x86":
98201
 if CONFIG["TARGET_CPU"] == "x86":
98245
 
98202
 
98246
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
98203
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
98247
 
98204
 
98248
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
98205
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
98249
 
98206
 
Lines 98296-98306 index 5fc704343e06..c60c915ab864 100644 Link Here
98296
-
98253
-
98297
 Library("rtc_export_gn")
98254
 Library("rtc_export_gn")
98298
diff --git third_party/libwebrtc/rtc_base/system/unused_gn/moz.build third_party/libwebrtc/rtc_base/system/unused_gn/moz.build
98255
diff --git third_party/libwebrtc/rtc_base/system/unused_gn/moz.build third_party/libwebrtc/rtc_base/system/unused_gn/moz.build
98299
index f7b9e968bc50..55dff7ae76d6 100644
98256
index ca4dda9a2e4d..006c6586f890 100644
98300
--- third_party/libwebrtc/rtc_base/system/unused_gn/moz.build
98257
--- third_party/libwebrtc/rtc_base/system/unused_gn/moz.build
98301
+++ third_party/libwebrtc/rtc_base/system/unused_gn/moz.build
98258
+++ third_party/libwebrtc/rtc_base/system/unused_gn/moz.build
98302
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
98259
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
98303
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
98260
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
98304
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
98261
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
98305
 DEFINES["RTC_ENABLE_VP9"] = True
98262
 DEFINES["RTC_ENABLE_VP9"] = True
98306
+DEFINES["USE_GLIB"] = "1"
98263
+DEFINES["USE_GLIB"] = "1"
Lines 98320-98326 index f7b9e968bc50..55dff7ae76d6 100644 Link Here
98320
 
98277
 
98321
 FINAL_LIBRARY = "xul"
98278
 FINAL_LIBRARY = "xul"
98322
 
98279
 
98323
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
98280
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
98324
 if CONFIG["MOZ_DEBUG"] == "1":
98281
 if CONFIG["MOZ_DEBUG"] == "1":
98325
 
98282
 
98326
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
98283
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 98430-98436 index f7b9e968bc50..55dff7ae76d6 100644 Link Here
98430
 
98387
 
98431
 if CONFIG["TARGET_CPU"] == "x86":
98388
 if CONFIG["TARGET_CPU"] == "x86":
98432
 
98389
 
98433
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
98390
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
98434
 
98391
 
98435
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
98392
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
98436
 
98393
 
Lines 98483-98493 index f7b9e968bc50..55dff7ae76d6 100644 Link Here
98483
-
98440
-
98484
 Library("unused_gn")
98441
 Library("unused_gn")
98485
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
98442
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
98486
index 5fcc0bfdb857..4a52fef8ab31 100644
98443
index 39fd02456daa..bf0e8a8cd3f7 100644
98487
--- third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build
98444
--- third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build
98488
+++ third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build
98445
+++ third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build
98489
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
98446
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
98490
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
98447
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
98491
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
98448
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
98492
 DEFINES["RTC_ENABLE_VP9"] = True
98449
 DEFINES["RTC_ENABLE_VP9"] = True
98493
+DEFINES["USE_GLIB"] = "1"
98450
+DEFINES["USE_GLIB"] = "1"
Lines 98507-98513 index 5fcc0bfdb857..4a52fef8ab31 100644 Link Here
98507
 
98464
 
98508
 FINAL_LIBRARY = "xul"
98465
 FINAL_LIBRARY = "xul"
98509
 
98466
 
98510
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
98467
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
98511
 if CONFIG["MOZ_DEBUG"] == "1":
98468
 if CONFIG["MOZ_DEBUG"] == "1":
98512
 
98469
 
98513
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
98470
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 98617-98623 index 5fcc0bfdb857..4a52fef8ab31 100644 Link Here
98617
 
98574
 
98618
 if CONFIG["TARGET_CPU"] == "x86":
98575
 if CONFIG["TARGET_CPU"] == "x86":
98619
 
98576
 
98620
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
98577
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
98621
 
98578
 
98622
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
98579
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
98623
 
98580
 
Lines 98670-98680 index 5fcc0bfdb857..4a52fef8ab31 100644 Link Here
98670
-
98627
-
98671
 Library("warn_current_thread_is_deadlocked_gn")
98628
 Library("warn_current_thread_is_deadlocked_gn")
98672
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
98629
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
98673
index 7cf1e2075a0f..e4e1313c11ac 100644
98630
index 087b4c4d88d2..e8429bb53f50 100644
98674
--- third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build
98631
--- third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build
98675
+++ third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build
98632
+++ third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build
98676
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
98633
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
98677
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
98634
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
98678
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
98635
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
98679
 DEFINES["RTC_ENABLE_VP9"] = True
98636
 DEFINES["RTC_ENABLE_VP9"] = True
98680
+DEFINES["USE_GLIB"] = "1"
98637
+DEFINES["USE_GLIB"] = "1"
Lines 98694-98700 index 7cf1e2075a0f..e4e1313c11ac 100644 Link Here
98694
 
98651
 
98695
 FINAL_LIBRARY = "xul"
98652
 FINAL_LIBRARY = "xul"
98696
 
98653
 
98697
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
98654
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
98698
 if CONFIG["MOZ_DEBUG"] == "1":
98655
 if CONFIG["MOZ_DEBUG"] == "1":
98699
 
98656
 
98700
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
98657
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 98892-98902 index 7cf1e2075a0f..e4e1313c11ac 100644 Link Here
98892
 
98849
 
98893
 Library("repeating_task_gn")
98850
 Library("repeating_task_gn")
98894
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
98851
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
98895
index 6450a0f93d9c..17a7e7e1fd02 100644
98852
index ae1efc51c7bd..6ef27d676626 100644
98896
--- third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build
98853
--- third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build
98897
+++ third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build
98854
+++ third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build
98898
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
98855
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
98899
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
98856
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
98900
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
98857
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
98901
 DEFINES["RTC_ENABLE_VP9"] = True
98858
 DEFINES["RTC_ENABLE_VP9"] = True
98902
+DEFINES["USE_GLIB"] = "1"
98859
+DEFINES["USE_GLIB"] = "1"
Lines 98916-98922 index 6450a0f93d9c..17a7e7e1fd02 100644 Link Here
98916
 
98873
 
98917
 FINAL_LIBRARY = "xul"
98874
 FINAL_LIBRARY = "xul"
98918
 
98875
 
98919
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
98876
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
98920
 if CONFIG["MOZ_DEBUG"] == "1":
98877
 if CONFIG["MOZ_DEBUG"] == "1":
98921
 
98878
 
98922
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
98879
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 99103-99113 index 6450a0f93d9c..17a7e7e1fd02 100644 Link Here
99103
 
99060
 
99104
 Library("base64_gn")
99061
 Library("base64_gn")
99105
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
99062
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
99106
index c49d14388071..0ffbd2fcb7c5 100644
99063
index d5acb89419a4..7c934ab8aa45 100644
99107
--- third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build
99064
--- third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build
99108
+++ third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build
99065
+++ third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build
99109
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
99066
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
99110
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
99067
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
99111
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
99068
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
99112
 DEFINES["RTC_ENABLE_VP9"] = True
99069
 DEFINES["RTC_ENABLE_VP9"] = True
99113
+DEFINES["USE_GLIB"] = "1"
99070
+DEFINES["USE_GLIB"] = "1"
Lines 99127-99133 index c49d14388071..0ffbd2fcb7c5 100644 Link Here
99127
 
99084
 
99128
 FINAL_LIBRARY = "xul"
99085
 FINAL_LIBRARY = "xul"
99129
 
99086
 
99130
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
99087
@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
99131
 if CONFIG["MOZ_DEBUG"] == "1":
99088
 if CONFIG["MOZ_DEBUG"] == "1":
99132
 
99089
 
99133
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
99090
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 99310-99320 index c49d14388071..0ffbd2fcb7c5 100644 Link Here
99310
 
99267
 
99311
 Library("sigslot_gn")
99268
 Library("sigslot_gn")
99312
diff --git third_party/libwebrtc/rtc_base/threading_gn/moz.build third_party/libwebrtc/rtc_base/threading_gn/moz.build
99269
diff --git third_party/libwebrtc/rtc_base/threading_gn/moz.build third_party/libwebrtc/rtc_base/threading_gn/moz.build
99313
index e7736326f899..f9660eb3f4bf 100644
99270
index 25c10fd9be18..4bbc22347358 100644
99314
--- third_party/libwebrtc/rtc_base/threading_gn/moz.build
99271
--- third_party/libwebrtc/rtc_base/threading_gn/moz.build
99315
+++ third_party/libwebrtc/rtc_base/threading_gn/moz.build
99272
+++ third_party/libwebrtc/rtc_base/threading_gn/moz.build
99316
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
99273
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
99317
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
99274
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
99318
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
99275
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
99319
 DEFINES["RTC_ENABLE_VP9"] = True
99276
 DEFINES["RTC_ENABLE_VP9"] = True
99320
+DEFINES["USE_GLIB"] = "1"
99277
+DEFINES["USE_GLIB"] = "1"
Lines 99334-99340 index e7736326f899..f9660eb3f4bf 100644 Link Here
99334
 
99291
 
99335
 FINAL_LIBRARY = "xul"
99292
 FINAL_LIBRARY = "xul"
99336
 
99293
 
99337
@@ -46,203 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
99294
@@ -47,203 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
99338
 if CONFIG["MOZ_DEBUG"] == "1":
99295
 if CONFIG["MOZ_DEBUG"] == "1":
99339
 
99296
 
99340
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
99297
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 99545-99555 index e7736326f899..f9660eb3f4bf 100644 Link Here
99545
 
99502
 
99546
 Library("threading_gn")
99503
 Library("threading_gn")
99547
diff --git third_party/libwebrtc/rtc_base/timeutils_gn/moz.build third_party/libwebrtc/rtc_base/timeutils_gn/moz.build
99504
diff --git third_party/libwebrtc/rtc_base/timeutils_gn/moz.build third_party/libwebrtc/rtc_base/timeutils_gn/moz.build
99548
index d0e0c964838e..b0b2d2ee8d11 100644
99505
index 4a4eb9a5299d..c44c88674e94 100644
99549
--- third_party/libwebrtc/rtc_base/timeutils_gn/moz.build
99506
--- third_party/libwebrtc/rtc_base/timeutils_gn/moz.build
99550
+++ third_party/libwebrtc/rtc_base/timeutils_gn/moz.build
99507
+++ third_party/libwebrtc/rtc_base/timeutils_gn/moz.build
99551
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
99508
@@ -13,12 +13,21 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
99552
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
99509
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
99553
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
99510
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
99554
 DEFINES["RTC_ENABLE_VP9"] = True
99511
 DEFINES["RTC_ENABLE_VP9"] = True
99555
+DEFINES["USE_GLIB"] = "1"
99512
+DEFINES["USE_GLIB"] = "1"
Lines 99570-99576 index d0e0c964838e..b0b2d2ee8d11 100644 Link Here
99570
 
99527
 
99571
 FINAL_LIBRARY = "xul"
99528
 FINAL_LIBRARY = "xul"
99572
 
99529
 
99573
@@ -45,186 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
99530
@@ -46,186 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
99574
 if CONFIG["MOZ_DEBUG"] == "1":
99531
 if CONFIG["MOZ_DEBUG"] == "1":
99575
 
99532
 
99576
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
99533
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 99764-99774 index d0e0c964838e..b0b2d2ee8d11 100644 Link Here
99764
 
99721
 
99765
 Library("timeutils_gn")
99722
 Library("timeutils_gn")
99766
diff --git third_party/libwebrtc/rtc_base/type_traits_gn/moz.build third_party/libwebrtc/rtc_base/type_traits_gn/moz.build
99723
diff --git third_party/libwebrtc/rtc_base/type_traits_gn/moz.build third_party/libwebrtc/rtc_base/type_traits_gn/moz.build
99767
index 53e285beefd0..3eaba3fb643a 100644
99724
index f2f4e6b6ca45..ae4a3a9be6cc 100644
99768
--- third_party/libwebrtc/rtc_base/type_traits_gn/moz.build
99725
--- third_party/libwebrtc/rtc_base/type_traits_gn/moz.build
99769
+++ third_party/libwebrtc/rtc_base/type_traits_gn/moz.build
99726
+++ third_party/libwebrtc/rtc_base/type_traits_gn/moz.build
99770
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
99727
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
99771
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
99728
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
99772
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
99729
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
99773
 DEFINES["RTC_ENABLE_VP9"] = True
99730
 DEFINES["RTC_ENABLE_VP9"] = True
99774
+DEFINES["USE_GLIB"] = "1"
99731
+DEFINES["USE_GLIB"] = "1"
Lines 99788-99794 index 53e285beefd0..3eaba3fb643a 100644 Link Here
99788
 
99745
 
99789
 FINAL_LIBRARY = "xul"
99746
 FINAL_LIBRARY = "xul"
99790
 
99747
 
99791
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
99748
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
99792
 if CONFIG["MOZ_DEBUG"] == "1":
99749
 if CONFIG["MOZ_DEBUG"] == "1":
99793
 
99750
 
99794
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
99751
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 99898-99904 index 53e285beefd0..3eaba3fb643a 100644 Link Here
99898
 
99855
 
99899
 if CONFIG["TARGET_CPU"] == "x86":
99856
 if CONFIG["TARGET_CPU"] == "x86":
99900
 
99857
 
99901
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
99858
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
99902
 
99859
 
99903
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
99860
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
99904
 
99861
 
Lines 99951-99961 index 53e285beefd0..3eaba3fb643a 100644 Link Here
99951
-
99908
-
99952
 Library("type_traits_gn")
99909
 Library("type_traits_gn")
99953
diff --git third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build
99910
diff --git third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build
99954
index 20c6f058f674..8adce8dc7f84 100644
99911
index e1cd710315ee..7fdf646e5b07 100644
99955
--- third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build
99912
--- third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build
99956
+++ third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build
99913
+++ third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build
99957
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
99914
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
99958
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
99915
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
99959
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
99916
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
99960
 DEFINES["RTC_ENABLE_VP9"] = True
99917
 DEFINES["RTC_ENABLE_VP9"] = True
99961
+DEFINES["USE_GLIB"] = "1"
99918
+DEFINES["USE_GLIB"] = "1"
Lines 99975-99981 index 20c6f058f674..8adce8dc7f84 100644 Link Here
99975
 
99932
 
99976
 FINAL_LIBRARY = "xul"
99933
 FINAL_LIBRARY = "xul"
99977
 
99934
 
99978
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
99935
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
99979
 if CONFIG["MOZ_DEBUG"] == "1":
99936
 if CONFIG["MOZ_DEBUG"] == "1":
99980
 
99937
 
99981
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
99938
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 100085-100091 index 20c6f058f674..8adce8dc7f84 100644 Link Here
100085
 
100042
 
100086
 if CONFIG["TARGET_CPU"] == "x86":
100043
 if CONFIG["TARGET_CPU"] == "x86":
100087
 
100044
 
100088
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
100045
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
100089
 
100046
 
100090
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
100047
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
100091
 
100048
 
Lines 100138-100148 index 20c6f058f674..8adce8dc7f84 100644 Link Here
100138
-
100095
-
100139
 Library("unique_id_generator_gn")
100096
 Library("unique_id_generator_gn")
100140
diff --git third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build
100097
diff --git third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build
100141
index 8a5700f89120..694cd6886a8f 100644
100098
index cd430975e933..5415e6422549 100644
100142
--- third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build
100099
--- third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build
100143
+++ third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build
100100
+++ third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build
100144
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
100101
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
100145
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
100102
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
100146
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
100103
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
100147
 DEFINES["RTC_ENABLE_VP9"] = True
100104
 DEFINES["RTC_ENABLE_VP9"] = True
100148
+DEFINES["USE_GLIB"] = "1"
100105
+DEFINES["USE_GLIB"] = "1"
Lines 100162-100168 index 8a5700f89120..694cd6886a8f 100644 Link Here
100162
 
100119
 
100163
 FINAL_LIBRARY = "xul"
100120
 FINAL_LIBRARY = "xul"
100164
 
100121
 
100165
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
100122
@@ -40,112 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
100166
 if CONFIG["MOZ_DEBUG"] == "1":
100123
 if CONFIG["MOZ_DEBUG"] == "1":
100167
 
100124
 
100168
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
100125
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 100276-100282 index 8a5700f89120..694cd6886a8f 100644 Link Here
100276
 
100233
 
100277
 if CONFIG["TARGET_CPU"] == "x86":
100234
 if CONFIG["TARGET_CPU"] == "x86":
100278
 
100235
 
100279
@@ -154,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
100236
@@ -155,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
100280
 
100237
 
100281
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
100238
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
100282
 
100239
 
Lines 100329-100339 index 8a5700f89120..694cd6886a8f 100644 Link Here
100329
-
100286
-
100330
 Library("unit_base_gn")
100287
 Library("unit_base_gn")
100331
diff --git third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build
100288
diff --git third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build
100332
index 037497b88501..44308d06766c 100644
100289
index abd3030f27e3..d0ec863efabb 100644
100333
--- third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build
100290
--- third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build
100334
+++ third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build
100291
+++ third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build
100335
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
100292
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
100336
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
100293
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
100337
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
100294
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
100338
 DEFINES["RTC_ENABLE_VP9"] = True
100295
 DEFINES["RTC_ENABLE_VP9"] = True
100339
+DEFINES["USE_GLIB"] = "1"
100296
+DEFINES["USE_GLIB"] = "1"
Lines 100353-100359 index 037497b88501..44308d06766c 100644 Link Here
100353
 
100310
 
100354
 FINAL_LIBRARY = "xul"
100311
 FINAL_LIBRARY = "xul"
100355
 
100312
 
100356
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
100313
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
100357
 if CONFIG["MOZ_DEBUG"] == "1":
100314
 if CONFIG["MOZ_DEBUG"] == "1":
100358
 
100315
 
100359
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
100316
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 100541-100550 index 037497b88501..44308d06766c 100644 Link Here
100541
 Library("weak_ptr_gn")
100498
 Library("weak_ptr_gn")
100542
diff --git third_party/libwebrtc/rtc_base/win/create_direct3d_device_gn/moz.build third_party/libwebrtc/rtc_base/win/create_direct3d_device_gn/moz.build
100499
diff --git third_party/libwebrtc/rtc_base/win/create_direct3d_device_gn/moz.build third_party/libwebrtc/rtc_base/win/create_direct3d_device_gn/moz.build
100543
deleted file mode 100644
100500
deleted file mode 100644
100544
index 6782a6918724..000000000000
100501
index 93df4e562812..000000000000
100545
--- third_party/libwebrtc/rtc_base/win/create_direct3d_device_gn/moz.build
100502
--- third_party/libwebrtc/rtc_base/win/create_direct3d_device_gn/moz.build
100546
+++ /dev/null
100503
+++ /dev/null
100547
@@ -1,85 +0,0 @@
100504
@@ -1,86 +0,0 @@
100548
-# This Source Code Form is subject to the terms of the Mozilla Public
100505
-# This Source Code Form is subject to the terms of the Mozilla Public
100549
-# License, v. 2.0. If a copy of the MPL was not distributed with this
100506
-# License, v. 2.0. If a copy of the MPL was not distributed with this
100550
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
100507
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
Lines 100560-100565 index 6782a6918724..000000000000 Link Here
100560
-DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
100517
-DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
100561
-DEFINES["NOMINMAX"] = True
100518
-DEFINES["NOMINMAX"] = True
100562
-DEFINES["NTDDI_VERSION"] = "0x0A000000"
100519
-DEFINES["NTDDI_VERSION"] = "0x0A000000"
100520
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
100563
-DEFINES["PSAPI_VERSION"] = "2"
100521
-DEFINES["PSAPI_VERSION"] = "2"
100564
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
100522
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
100565
-DEFINES["RTC_ENABLE_VP9"] = True
100523
-DEFINES["RTC_ENABLE_VP9"] = True
Lines 100632-100641 index 6782a6918724..000000000000 Link Here
100632
-Library("create_direct3d_device_gn")
100590
-Library("create_direct3d_device_gn")
100633
diff --git third_party/libwebrtc/rtc_base/win/get_activation_factory_gn/moz.build third_party/libwebrtc/rtc_base/win/get_activation_factory_gn/moz.build
100591
diff --git third_party/libwebrtc/rtc_base/win/get_activation_factory_gn/moz.build third_party/libwebrtc/rtc_base/win/get_activation_factory_gn/moz.build
100634
deleted file mode 100644
100592
deleted file mode 100644
100635
index f2ad41ae9f27..000000000000
100593
index 8fa6b23b483a..000000000000
100636
--- third_party/libwebrtc/rtc_base/win/get_activation_factory_gn/moz.build
100594
--- third_party/libwebrtc/rtc_base/win/get_activation_factory_gn/moz.build
100637
+++ /dev/null
100595
+++ /dev/null
100638
@@ -1,85 +0,0 @@
100596
@@ -1,86 +0,0 @@
100639
-# This Source Code Form is subject to the terms of the Mozilla Public
100597
-# This Source Code Form is subject to the terms of the Mozilla Public
100640
-# License, v. 2.0. If a copy of the MPL was not distributed with this
100598
-# License, v. 2.0. If a copy of the MPL was not distributed with this
100641
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
100599
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
Lines 100651-100656 index f2ad41ae9f27..000000000000 Link Here
100651
-DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
100609
-DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
100652
-DEFINES["NOMINMAX"] = True
100610
-DEFINES["NOMINMAX"] = True
100653
-DEFINES["NTDDI_VERSION"] = "0x0A000000"
100611
-DEFINES["NTDDI_VERSION"] = "0x0A000000"
100612
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
100654
-DEFINES["PSAPI_VERSION"] = "2"
100613
-DEFINES["PSAPI_VERSION"] = "2"
100655
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
100614
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
100656
-DEFINES["RTC_ENABLE_VP9"] = True
100615
-DEFINES["RTC_ENABLE_VP9"] = True
Lines 100723-100732 index f2ad41ae9f27..000000000000 Link Here
100723
-Library("get_activation_factory_gn")
100682
-Library("get_activation_factory_gn")
100724
diff --git third_party/libwebrtc/rtc_base/win/hstring_gn/moz.build third_party/libwebrtc/rtc_base/win/hstring_gn/moz.build
100683
diff --git third_party/libwebrtc/rtc_base/win/hstring_gn/moz.build third_party/libwebrtc/rtc_base/win/hstring_gn/moz.build
100725
deleted file mode 100644
100684
deleted file mode 100644
100726
index ba15ff2b3c18..000000000000
100685
index 5578d95daeba..000000000000
100727
--- third_party/libwebrtc/rtc_base/win/hstring_gn/moz.build
100686
--- third_party/libwebrtc/rtc_base/win/hstring_gn/moz.build
100728
+++ /dev/null
100687
+++ /dev/null
100729
@@ -1,85 +0,0 @@
100688
@@ -1,86 +0,0 @@
100730
-# This Source Code Form is subject to the terms of the Mozilla Public
100689
-# This Source Code Form is subject to the terms of the Mozilla Public
100731
-# License, v. 2.0. If a copy of the MPL was not distributed with this
100690
-# License, v. 2.0. If a copy of the MPL was not distributed with this
100732
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
100691
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
Lines 100742-100747 index ba15ff2b3c18..000000000000 Link Here
100742
-DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
100701
-DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
100743
-DEFINES["NOMINMAX"] = True
100702
-DEFINES["NOMINMAX"] = True
100744
-DEFINES["NTDDI_VERSION"] = "0x0A000000"
100703
-DEFINES["NTDDI_VERSION"] = "0x0A000000"
100704
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
100745
-DEFINES["PSAPI_VERSION"] = "2"
100705
-DEFINES["PSAPI_VERSION"] = "2"
100746
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
100706
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
100747
-DEFINES["RTC_ENABLE_VP9"] = True
100707
-DEFINES["RTC_ENABLE_VP9"] = True
Lines 100814-100823 index ba15ff2b3c18..000000000000 Link Here
100814
-Library("hstring_gn")
100774
-Library("hstring_gn")
100815
diff --git third_party/libwebrtc/rtc_base/win/windows_version_gn/moz.build third_party/libwebrtc/rtc_base/win/windows_version_gn/moz.build
100775
diff --git third_party/libwebrtc/rtc_base/win/windows_version_gn/moz.build third_party/libwebrtc/rtc_base/win/windows_version_gn/moz.build
100816
deleted file mode 100644
100776
deleted file mode 100644
100817
index 8720108cc441..000000000000
100777
index 8875633ae5e1..000000000000
100818
--- third_party/libwebrtc/rtc_base/win/windows_version_gn/moz.build
100778
--- third_party/libwebrtc/rtc_base/win/windows_version_gn/moz.build
100819
+++ /dev/null
100779
+++ /dev/null
100820
@@ -1,85 +0,0 @@
100780
@@ -1,86 +0,0 @@
100821
-# This Source Code Form is subject to the terms of the Mozilla Public
100781
-# This Source Code Form is subject to the terms of the Mozilla Public
100822
-# License, v. 2.0. If a copy of the MPL was not distributed with this
100782
-# License, v. 2.0. If a copy of the MPL was not distributed with this
100823
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
100783
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
Lines 100833-100838 index 8720108cc441..000000000000 Link Here
100833
-DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
100793
-DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
100834
-DEFINES["NOMINMAX"] = True
100794
-DEFINES["NOMINMAX"] = True
100835
-DEFINES["NTDDI_VERSION"] = "0x0A000000"
100795
-DEFINES["NTDDI_VERSION"] = "0x0A000000"
100796
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
100836
-DEFINES["PSAPI_VERSION"] = "2"
100797
-DEFINES["PSAPI_VERSION"] = "2"
100837
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
100798
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
100838
-DEFINES["RTC_ENABLE_VP9"] = True
100799
-DEFINES["RTC_ENABLE_VP9"] = True
Lines 100905-100914 index 8720108cc441..000000000000 Link Here
100905
-Library("windows_version_gn")
100866
-Library("windows_version_gn")
100906
diff --git third_party/libwebrtc/rtc_base/win32_gn/moz.build third_party/libwebrtc/rtc_base/win32_gn/moz.build
100867
diff --git third_party/libwebrtc/rtc_base/win32_gn/moz.build third_party/libwebrtc/rtc_base/win32_gn/moz.build
100907
deleted file mode 100644
100868
deleted file mode 100644
100908
index 0c72f4850db5..000000000000
100869
index cbdb0a0a3d14..000000000000
100909
--- third_party/libwebrtc/rtc_base/win32_gn/moz.build
100870
--- third_party/libwebrtc/rtc_base/win32_gn/moz.build
100910
+++ /dev/null
100871
+++ /dev/null
100911
@@ -1,92 +0,0 @@
100872
@@ -1,93 +0,0 @@
100912
-# This Source Code Form is subject to the terms of the Mozilla Public
100873
-# This Source Code Form is subject to the terms of the Mozilla Public
100913
-# License, v. 2.0. If a copy of the MPL was not distributed with this
100874
-# License, v. 2.0. If a copy of the MPL was not distributed with this
100914
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
100875
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
Lines 100924-100929 index 0c72f4850db5..000000000000 Link Here
100924
-DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
100885
-DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
100925
-DEFINES["NOMINMAX"] = True
100886
-DEFINES["NOMINMAX"] = True
100926
-DEFINES["NTDDI_VERSION"] = "0x0A000000"
100887
-DEFINES["NTDDI_VERSION"] = "0x0A000000"
100888
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
100927
-DEFINES["PSAPI_VERSION"] = "2"
100889
-DEFINES["PSAPI_VERSION"] = "2"
100928
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
100890
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
100929
-DEFINES["RTC_ENABLE_VP9"] = True
100891
-DEFINES["RTC_ENABLE_VP9"] = True
Lines 101002-101012 index 0c72f4850db5..000000000000 Link Here
101002
-
100964
-
101003
-Library("win32_gn")
100965
-Library("win32_gn")
101004
diff --git third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build
100966
diff --git third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build
101005
index 6571d6610000..8364eaec6364 100644
100967
index 7c022b4d3b00..c5aebb895490 100644
101006
--- third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build
100968
--- third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build
101007
+++ third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build
100969
+++ third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build
101008
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
100970
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
101009
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
100971
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
101010
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
100972
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
101011
 DEFINES["RTC_ENABLE_VP9"] = True
100973
 DEFINES["RTC_ENABLE_VP9"] = True
101012
+DEFINES["USE_GLIB"] = "1"
100974
+DEFINES["USE_GLIB"] = "1"
Lines 101026-101032 index 6571d6610000..8364eaec6364 100644 Link Here
101026
 
100988
 
101027
 FINAL_LIBRARY = "xul"
100989
 FINAL_LIBRARY = "xul"
101028
 
100990
 
101029
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
100991
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
101030
 if CONFIG["MOZ_DEBUG"] == "1":
100992
 if CONFIG["MOZ_DEBUG"] == "1":
101031
 
100993
 
101032
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
100994
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 101214-101223 index 6571d6610000..8364eaec6364 100644 Link Here
101214
 Library("zero_memory_gn")
101176
 Library("zero_memory_gn")
101215
diff --git third_party/libwebrtc/sdk/base_objc_gn/moz.build third_party/libwebrtc/sdk/base_objc_gn/moz.build
101177
diff --git third_party/libwebrtc/sdk/base_objc_gn/moz.build third_party/libwebrtc/sdk/base_objc_gn/moz.build
101216
deleted file mode 100644
101178
deleted file mode 100644
101217
index aa939b4394b7..000000000000
101179
index b717f3d73aea..000000000000
101218
--- third_party/libwebrtc/sdk/base_objc_gn/moz.build
101180
--- third_party/libwebrtc/sdk/base_objc_gn/moz.build
101219
+++ /dev/null
101181
+++ /dev/null
101220
@@ -1,80 +0,0 @@
101182
@@ -1,81 +0,0 @@
101221
-# This Source Code Form is subject to the terms of the Mozilla Public
101183
-# This Source Code Form is subject to the terms of the Mozilla Public
101222
-# License, v. 2.0. If a copy of the MPL was not distributed with this
101184
-# License, v. 2.0. If a copy of the MPL was not distributed with this
101223
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
101185
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
Lines 101238-101243 index aa939b4394b7..000000000000 Link Here
101238
-AllowCompilerWarnings()
101200
-AllowCompilerWarnings()
101239
-
101201
-
101240
-DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
101202
-DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
101203
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
101241
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
101204
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
101242
-DEFINES["RTC_ENABLE_VP9"] = True
101205
-DEFINES["RTC_ENABLE_VP9"] = True
101243
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
101206
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
Lines 101300-101309 index aa939b4394b7..000000000000 Link Here
101300
-Library("base_objc_gn")
101263
-Library("base_objc_gn")
101301
diff --git third_party/libwebrtc/sdk/helpers_objc_gn/moz.build third_party/libwebrtc/sdk/helpers_objc_gn/moz.build
101264
diff --git third_party/libwebrtc/sdk/helpers_objc_gn/moz.build third_party/libwebrtc/sdk/helpers_objc_gn/moz.build
101302
deleted file mode 100644
101265
deleted file mode 100644
101303
index 161ce60f39a6..000000000000
101266
index 50505e56c2d0..000000000000
101304
--- third_party/libwebrtc/sdk/helpers_objc_gn/moz.build
101267
--- third_party/libwebrtc/sdk/helpers_objc_gn/moz.build
101305
+++ /dev/null
101268
+++ /dev/null
101306
@@ -1,75 +0,0 @@
101269
@@ -1,76 +0,0 @@
101307
-# This Source Code Form is subject to the terms of the Mozilla Public
101270
-# This Source Code Form is subject to the terms of the Mozilla Public
101308
-# License, v. 2.0. If a copy of the MPL was not distributed with this
101271
-# License, v. 2.0. If a copy of the MPL was not distributed with this
101309
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
101272
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
Lines 101324-101329 index 161ce60f39a6..000000000000 Link Here
101324
-AllowCompilerWarnings()
101287
-AllowCompilerWarnings()
101325
-
101288
-
101326
-DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
101289
-DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
101290
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
101327
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
101291
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
101328
-DEFINES["RTC_ENABLE_VP9"] = True
101292
-DEFINES["RTC_ENABLE_VP9"] = True
101329
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
101293
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
Lines 101381-101390 index 161ce60f39a6..000000000000 Link Here
101381
-Library("helpers_objc_gn")
101345
-Library("helpers_objc_gn")
101382
diff --git third_party/libwebrtc/sdk/videocapture_objc_gn/moz.build third_party/libwebrtc/sdk/videocapture_objc_gn/moz.build
101346
diff --git third_party/libwebrtc/sdk/videocapture_objc_gn/moz.build third_party/libwebrtc/sdk/videocapture_objc_gn/moz.build
101383
deleted file mode 100644
101347
deleted file mode 100644
101384
index db4fdfb6b108..000000000000
101348
index 178d8f87063a..000000000000
101385
--- third_party/libwebrtc/sdk/videocapture_objc_gn/moz.build
101349
--- third_party/libwebrtc/sdk/videocapture_objc_gn/moz.build
101386
+++ /dev/null
101350
+++ /dev/null
101387
@@ -1,70 +0,0 @@
101351
@@ -1,71 +0,0 @@
101388
-# This Source Code Form is subject to the terms of the Mozilla Public
101352
-# This Source Code Form is subject to the terms of the Mozilla Public
101389
-# License, v. 2.0. If a copy of the MPL was not distributed with this
101353
-# License, v. 2.0. If a copy of the MPL was not distributed with this
101390
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
101354
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
Lines 101401-101406 index db4fdfb6b108..000000000000 Link Here
101401
-AllowCompilerWarnings()
101365
-AllowCompilerWarnings()
101402
-
101366
-
101403
-DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
101367
-DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
101368
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
101404
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
101369
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
101405
-DEFINES["RTC_ENABLE_VP9"] = True
101370
-DEFINES["RTC_ENABLE_VP9"] = True
101406
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
101371
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
Lines 101457-101466 index db4fdfb6b108..000000000000 Link Here
101457
-Library("videocapture_objc_gn")
101422
-Library("videocapture_objc_gn")
101458
diff --git third_party/libwebrtc/sdk/videoframebuffer_objc_gn/moz.build third_party/libwebrtc/sdk/videoframebuffer_objc_gn/moz.build
101423
diff --git third_party/libwebrtc/sdk/videoframebuffer_objc_gn/moz.build third_party/libwebrtc/sdk/videoframebuffer_objc_gn/moz.build
101459
deleted file mode 100644
101424
deleted file mode 100644
101460
index f705e220de43..000000000000
101425
index 8c659d55bf23..000000000000
101461
--- third_party/libwebrtc/sdk/videoframebuffer_objc_gn/moz.build
101426
--- third_party/libwebrtc/sdk/videoframebuffer_objc_gn/moz.build
101462
+++ /dev/null
101427
+++ /dev/null
101463
@@ -1,73 +0,0 @@
101428
@@ -1,74 +0,0 @@
101464
-# This Source Code Form is subject to the terms of the Mozilla Public
101429
-# This Source Code Form is subject to the terms of the Mozilla Public
101465
-# License, v. 2.0. If a copy of the MPL was not distributed with this
101430
-# License, v. 2.0. If a copy of the MPL was not distributed with this
101466
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
101431
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
Lines 101477-101482 index f705e220de43..000000000000 Link Here
101477
-AllowCompilerWarnings()
101442
-AllowCompilerWarnings()
101478
-
101443
-
101479
-DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
101444
-DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
101445
-DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
101480
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
101446
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
101481
-DEFINES["RTC_ENABLE_VP9"] = True
101447
-DEFINES["RTC_ENABLE_VP9"] = True
101482
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
101448
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
Lines 101535-101545 index f705e220de43..000000000000 Link Here
101535
-
101501
-
101536
-Library("videoframebuffer_objc_gn")
101502
-Library("videoframebuffer_objc_gn")
101537
diff --git third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build
101503
diff --git third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build
101538
index 12ee5d255fe2..6bd1fd6680b8 100644
101504
index 8e69f1bd487a..10ca6bd2865c 100644
101539
--- third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build
101505
--- third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build
101540
+++ third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build
101506
+++ third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build
101541
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
101507
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
101542
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
101508
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
101543
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
101509
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
101544
 DEFINES["RTC_ENABLE_VP9"] = True
101510
 DEFINES["RTC_ENABLE_VP9"] = True
101545
+DEFINES["USE_GLIB"] = "1"
101511
+DEFINES["USE_GLIB"] = "1"
Lines 101559-101565 index 12ee5d255fe2..6bd1fd6680b8 100644 Link Here
101559
 
101525
 
101560
 FINAL_LIBRARY = "xul"
101526
 FINAL_LIBRARY = "xul"
101561
 
101527
 
101562
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
101528
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
101563
 if CONFIG["MOZ_DEBUG"] == "1":
101529
 if CONFIG["MOZ_DEBUG"] == "1":
101564
 
101530
 
101565
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
101531
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 101746-101756 index 12ee5d255fe2..6bd1fd6680b8 100644 Link Here
101746
 
101712
 
101747
 Library("denormal_disabler_gn")
101713
 Library("denormal_disabler_gn")
101748
diff --git third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build
101714
diff --git third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build
101749
index 2c548ba00fb6..a701c73887a2 100644
101715
index 2c1b80184520..2982fabad79a 100644
101750
--- third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build
101716
--- third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build
101751
+++ third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build
101717
+++ third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build
101752
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
101718
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
101753
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
101719
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
101754
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
101720
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
101755
 DEFINES["RTC_ENABLE_VP9"] = True
101721
 DEFINES["RTC_ENABLE_VP9"] = True
101756
+DEFINES["USE_GLIB"] = "1"
101722
+DEFINES["USE_GLIB"] = "1"
Lines 101770-101776 index 2c548ba00fb6..a701c73887a2 100644 Link Here
101770
 
101736
 
101771
 FINAL_LIBRARY = "xul"
101737
 FINAL_LIBRARY = "xul"
101772
 
101738
 
101773
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
101739
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
101774
 if CONFIG["MOZ_DEBUG"] == "1":
101740
 if CONFIG["MOZ_DEBUG"] == "1":
101775
 
101741
 
101776
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
101742
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 101964-101974 index 2c548ba00fb6..a701c73887a2 100644 Link Here
101964
 
101930
 
101965
 Library("field_trial_gn")
101931
 Library("field_trial_gn")
101966
diff --git third_party/libwebrtc/system_wrappers/metrics_gn/moz.build third_party/libwebrtc/system_wrappers/metrics_gn/moz.build
101932
diff --git third_party/libwebrtc/system_wrappers/metrics_gn/moz.build third_party/libwebrtc/system_wrappers/metrics_gn/moz.build
101967
index 57f648c68c3e..e2880acbca11 100644
101933
index 77e78153ea35..ad2149b736c2 100644
101968
--- third_party/libwebrtc/system_wrappers/metrics_gn/moz.build
101934
--- third_party/libwebrtc/system_wrappers/metrics_gn/moz.build
101969
+++ third_party/libwebrtc/system_wrappers/metrics_gn/moz.build
101935
+++ third_party/libwebrtc/system_wrappers/metrics_gn/moz.build
101970
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
101936
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
101971
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
101937
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
101972
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
101938
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
101973
 DEFINES["RTC_ENABLE_VP9"] = True
101939
 DEFINES["RTC_ENABLE_VP9"] = True
101974
+DEFINES["USE_GLIB"] = "1"
101940
+DEFINES["USE_GLIB"] = "1"
Lines 101988-101994 index 57f648c68c3e..e2880acbca11 100644 Link Here
101988
 
101954
 
101989
 FINAL_LIBRARY = "xul"
101955
 FINAL_LIBRARY = "xul"
101990
 
101956
 
101991
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
101957
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
101992
 if CONFIG["MOZ_DEBUG"] == "1":
101958
 if CONFIG["MOZ_DEBUG"] == "1":
101993
 
101959
 
101994
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
101960
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 102175-102185 index 57f648c68c3e..e2880acbca11 100644 Link Here
102175
 
102141
 
102176
 Library("metrics_gn")
102142
 Library("metrics_gn")
102177
diff --git third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build
102143
diff --git third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build
102178
index 315dc3c5a19f..ed99cf26c467 100644
102144
index 639e627348c4..e0895664e27d 100644
102179
--- third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build
102145
--- third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build
102180
+++ third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build
102146
+++ third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build
102181
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
102147
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
102182
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
102148
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
102183
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
102149
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
102184
 DEFINES["RTC_ENABLE_VP9"] = True
102150
 DEFINES["RTC_ENABLE_VP9"] = True
102185
+DEFINES["USE_GLIB"] = "1"
102151
+DEFINES["USE_GLIB"] = "1"
Lines 102199-102205 index 315dc3c5a19f..ed99cf26c467 100644 Link Here
102199
 
102165
 
102200
 FINAL_LIBRARY = "xul"
102166
 FINAL_LIBRARY = "xul"
102201
 
102167
 
102202
@@ -47,200 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
102168
@@ -48,200 +57,32 @@ if not CONFIG["MOZ_DEBUG"]:
102203
 if CONFIG["MOZ_DEBUG"] == "1":
102169
 if CONFIG["MOZ_DEBUG"] == "1":
102204
 
102170
 
102205
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
102171
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 102407-102417 index 315dc3c5a19f..ed99cf26c467 100644 Link Here
102407
 
102373
 
102408
 Library("system_wrappers_gn")
102374
 Library("system_wrappers_gn")
102409
diff --git third_party/libwebrtc/test/network/simulated_network_gn/moz.build third_party/libwebrtc/test/network/simulated_network_gn/moz.build
102375
diff --git third_party/libwebrtc/test/network/simulated_network_gn/moz.build third_party/libwebrtc/test/network/simulated_network_gn/moz.build
102410
index eef00c758907..40a957d79e39 100644
102376
index 32db92831a8b..b2fd5c533459 100644
102411
--- third_party/libwebrtc/test/network/simulated_network_gn/moz.build
102377
--- third_party/libwebrtc/test/network/simulated_network_gn/moz.build
102412
+++ third_party/libwebrtc/test/network/simulated_network_gn/moz.build
102378
+++ third_party/libwebrtc/test/network/simulated_network_gn/moz.build
102413
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
102379
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
102414
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
102380
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
102415
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
102381
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
102416
 DEFINES["RTC_ENABLE_VP9"] = True
102382
 DEFINES["RTC_ENABLE_VP9"] = True
102417
+DEFINES["USE_GLIB"] = "1"
102383
+DEFINES["USE_GLIB"] = "1"
Lines 102431-102437 index eef00c758907..40a957d79e39 100644 Link Here
102431
 
102397
 
102432
 FINAL_LIBRARY = "xul"
102398
 FINAL_LIBRARY = "xul"
102433
 
102399
 
102434
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
102400
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
102435
 if CONFIG["MOZ_DEBUG"] == "1":
102401
 if CONFIG["MOZ_DEBUG"] == "1":
102436
 
102402
 
102437
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
102403
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 102618-102628 index eef00c758907..40a957d79e39 100644 Link Here
102618
 
102584
 
102619
 Library("simulated_network_gn")
102585
 Library("simulated_network_gn")
102620
diff --git third_party/libwebrtc/test/rtp_test_utils_gn/moz.build third_party/libwebrtc/test/rtp_test_utils_gn/moz.build
102586
diff --git third_party/libwebrtc/test/rtp_test_utils_gn/moz.build third_party/libwebrtc/test/rtp_test_utils_gn/moz.build
102621
index 8ba53a95692c..647a18cc18ac 100644
102587
index 2d610fe2fe88..e290a713c076 100644
102622
--- third_party/libwebrtc/test/rtp_test_utils_gn/moz.build
102588
--- third_party/libwebrtc/test/rtp_test_utils_gn/moz.build
102623
+++ third_party/libwebrtc/test/rtp_test_utils_gn/moz.build
102589
+++ third_party/libwebrtc/test/rtp_test_utils_gn/moz.build
102624
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
102590
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
102625
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
102591
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
102626
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
102592
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
102627
 DEFINES["RTC_ENABLE_VP9"] = True
102593
 DEFINES["RTC_ENABLE_VP9"] = True
102628
+DEFINES["USE_GLIB"] = "1"
102594
+DEFINES["USE_GLIB"] = "1"
Lines 102642-102648 index 8ba53a95692c..647a18cc18ac 100644 Link Here
102642
 
102608
 
102643
 FINAL_LIBRARY = "xul"
102609
 FINAL_LIBRARY = "xul"
102644
 
102610
 
102645
@@ -39,124 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
102611
@@ -40,124 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
102646
 if CONFIG["MOZ_DEBUG"] == "1":
102612
 if CONFIG["MOZ_DEBUG"] == "1":
102647
 
102613
 
102648
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
102614
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 102768-102774 index 8ba53a95692c..647a18cc18ac 100644 Link Here
102768
 
102734
 
102769
 if CONFIG["TARGET_CPU"] == "x86":
102735
 if CONFIG["TARGET_CPU"] == "x86":
102770
 
102736
 
102771
@@ -166,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
102737
@@ -167,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
102772
 
102738
 
102773
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
102739
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
102774
 
102740
 
Lines 103572-103582 index d06b3dade25e..4208f752cbc2 100644 Link Here
103572
 
103538
 
103573
 Library("crc32c_sse42_gn")
103539
 Library("crc32c_sse42_gn")
103574
diff --git third_party/libwebrtc/third_party/dav1d/dav1d_gn/moz.build third_party/libwebrtc/third_party/dav1d/dav1d_gn/moz.build
103540
diff --git third_party/libwebrtc/third_party/dav1d/dav1d_gn/moz.build third_party/libwebrtc/third_party/dav1d/dav1d_gn/moz.build
103575
index 3773aea3b30c..05dfadacfca8 100644
103541
index 1bfed617a6fe..806fe6e74dc3 100644
103576
--- third_party/libwebrtc/third_party/dav1d/dav1d_gn/moz.build
103542
--- third_party/libwebrtc/third_party/dav1d/dav1d_gn/moz.build
103577
+++ third_party/libwebrtc/third_party/dav1d/dav1d_gn/moz.build
103543
+++ third_party/libwebrtc/third_party/dav1d/dav1d_gn/moz.build
103578
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
103544
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
103579
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
103545
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
103580
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
103546
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
103581
 DEFINES["RTC_ENABLE_VP9"] = True
103547
 DEFINES["RTC_ENABLE_VP9"] = True
103582
+DEFINES["USE_GLIB"] = "1"
103548
+DEFINES["USE_GLIB"] = "1"
Lines 103596-103602 index 3773aea3b30c..05dfadacfca8 100644 Link Here
103596
 
103562
 
103597
 FINAL_LIBRARY = "xul"
103563
 FINAL_LIBRARY = "xul"
103598
 
103564
 
103599
@@ -41,108 +50,17 @@ if not CONFIG["MOZ_DEBUG"]:
103565
@@ -42,108 +51,17 @@ if not CONFIG["MOZ_DEBUG"]:
103600
 if CONFIG["MOZ_DEBUG"] == "1":
103566
 if CONFIG["MOZ_DEBUG"] == "1":
103601
 
103567
 
103602
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
103568
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 103706-103712 index 3773aea3b30c..05dfadacfca8 100644 Link Here
103706
 
103672
 
103707
 if CONFIG["TARGET_CPU"] == "x86":
103673
 if CONFIG["TARGET_CPU"] == "x86":
103708
 
103674
 
103709
@@ -152,50 +70,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
103675
@@ -153,50 +71,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
103710
 
103676
 
103711
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
103677
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
103712
 
103678
 
Lines 103758-103865 index 3773aea3b30c..05dfadacfca8 100644 Link Here
103758
-    DEFINES["_GNU_SOURCE"] = True
103724
-    DEFINES["_GNU_SOURCE"] = True
103759
-
103725
-
103760
 Library("dav1d_gn")
103726
 Library("dav1d_gn")
103761
diff --git third_party/libwebrtc/third_party/drm/drm_gn/moz.build third_party/libwebrtc/third_party/drm/drm_gn/moz.build
103762
index 06bad5c1495d..b43a1368f34e 100644
103763
--- third_party/libwebrtc/third_party/drm/drm_gn/moz.build
103764
+++ third_party/libwebrtc/third_party/drm/drm_gn/moz.build
103765
@@ -12,20 +12,16 @@ AllowCompilerWarnings()
103766
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
103767
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
103768
 DEFINES["RTC_ENABLE_VP9"] = True
103769
-DEFINES["USE_AURA"] = "1"
103770
 DEFINES["USE_GLIB"] = "1"
103771
-DEFINES["USE_NSS_CERTS"] = "1"
103772
 DEFINES["USE_OZONE"] = "1"
103773
-DEFINES["USE_UDEV"] = True
103774
+DEFINES["WEBRTC_BSD"] = True
103775
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
103776
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
103777
-DEFINES["WEBRTC_LINUX"] = True
103778
 DEFINES["WEBRTC_MOZILLA_BUILD"] = True
103779
 DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
103780
 DEFINES["WEBRTC_POSIX"] = True
103781
 DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
103782
 DEFINES["_FILE_OFFSET_BITS"] = "64"
103783
-DEFINES["_GNU_SOURCE"] = True
103784
 DEFINES["_LARGEFILE64_SOURCE"] = True
103785
 DEFINES["_LARGEFILE_SOURCE"] = True
103786
 DEFINES["__STDC_CONSTANT_MACROS"] = True
103787
@@ -62,12 +58,6 @@ if CONFIG["TARGET_CPU"] == "aarch64":
103788
     DEFINES["WEBRTC_ARCH_ARM64"] = True
103789
     DEFINES["WEBRTC_HAS_NEON"] = True
103790
 
103791
-if CONFIG["TARGET_CPU"] == "arm":
103792
-
103793
-    DEFINES["WEBRTC_ARCH_ARM"] = True
103794
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
103795
-    DEFINES["WEBRTC_HAS_NEON"] = True
103796
-
103797
 if CONFIG["TARGET_CPU"] == "mips32":
103798
 
103799
     DEFINES["MIPS32_LE"] = True
103800
@@ -81,7 +71,7 @@ if CONFIG["TARGET_CPU"] == "x86_64":
103801
 
103802
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
103803
 
103804
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
103805
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
103806
 
103807
     DEFINES["USE_X11"] = "1"
103808
 
103809
diff --git third_party/libwebrtc/third_party/gbm/gbm_gn/moz.build third_party/libwebrtc/third_party/gbm/gbm_gn/moz.build
103810
index 5334af6f6d3e..8ac69036fd19 100644
103811
--- third_party/libwebrtc/third_party/gbm/gbm_gn/moz.build
103812
+++ third_party/libwebrtc/third_party/gbm/gbm_gn/moz.build
103813
@@ -12,20 +12,16 @@ AllowCompilerWarnings()
103814
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
103815
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
103816
 DEFINES["RTC_ENABLE_VP9"] = True
103817
-DEFINES["USE_AURA"] = "1"
103818
 DEFINES["USE_GLIB"] = "1"
103819
-DEFINES["USE_NSS_CERTS"] = "1"
103820
 DEFINES["USE_OZONE"] = "1"
103821
-DEFINES["USE_UDEV"] = True
103822
+DEFINES["WEBRTC_BSD"] = True
103823
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
103824
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
103825
-DEFINES["WEBRTC_LINUX"] = True
103826
 DEFINES["WEBRTC_MOZILLA_BUILD"] = True
103827
 DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
103828
 DEFINES["WEBRTC_POSIX"] = True
103829
 DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
103830
 DEFINES["_FILE_OFFSET_BITS"] = "64"
103831
-DEFINES["_GNU_SOURCE"] = True
103832
 DEFINES["_LARGEFILE64_SOURCE"] = True
103833
 DEFINES["_LARGEFILE_SOURCE"] = True
103834
 DEFINES["__STDC_CONSTANT_MACROS"] = True
103835
@@ -60,12 +56,6 @@ if CONFIG["TARGET_CPU"] == "aarch64":
103836
     DEFINES["WEBRTC_ARCH_ARM64"] = True
103837
     DEFINES["WEBRTC_HAS_NEON"] = True
103838
 
103839
-if CONFIG["TARGET_CPU"] == "arm":
103840
-
103841
-    DEFINES["WEBRTC_ARCH_ARM"] = True
103842
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
103843
-    DEFINES["WEBRTC_HAS_NEON"] = True
103844
-
103845
 if CONFIG["TARGET_CPU"] == "mips32":
103846
 
103847
     DEFINES["MIPS32_LE"] = True
103848
@@ -79,7 +69,7 @@ if CONFIG["TARGET_CPU"] == "x86_64":
103849
 
103850
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
103851
 
103852
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
103853
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
103854
 
103855
     DEFINES["USE_X11"] = "1"
103856
 
103857
diff --git third_party/libwebrtc/third_party/libaom/libaom_gn/moz.build third_party/libwebrtc/third_party/libaom/libaom_gn/moz.build
103727
diff --git third_party/libwebrtc/third_party/libaom/libaom_gn/moz.build third_party/libwebrtc/third_party/libaom/libaom_gn/moz.build
103858
index 8a8fc71f17af..93fd56af47e5 100644
103728
index 829835d9d69d..f861dd357a02 100644
103859
--- third_party/libwebrtc/third_party/libaom/libaom_gn/moz.build
103729
--- third_party/libwebrtc/third_party/libaom/libaom_gn/moz.build
103860
+++ third_party/libwebrtc/third_party/libaom/libaom_gn/moz.build
103730
+++ third_party/libwebrtc/third_party/libaom/libaom_gn/moz.build
103861
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
103731
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
103862
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
103732
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
103863
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
103733
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
103864
 DEFINES["RTC_ENABLE_VP9"] = True
103734
 DEFINES["RTC_ENABLE_VP9"] = True
103865
+DEFINES["USE_GLIB"] = "1"
103735
+DEFINES["USE_GLIB"] = "1"
Lines 103879-103885 index 8a8fc71f17af..93fd56af47e5 100644 Link Here
103879
 
103749
 
103880
 FINAL_LIBRARY = "xul"
103750
 FINAL_LIBRARY = "xul"
103881
 
103751
 
103882
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
103752
@@ -40,108 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
103883
 if CONFIG["MOZ_DEBUG"] == "1":
103753
 if CONFIG["MOZ_DEBUG"] == "1":
103884
 
103754
 
103885
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
103755
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 103989-103995 index 8a8fc71f17af..93fd56af47e5 100644 Link Here
103989
 
103859
 
103990
 if CONFIG["TARGET_CPU"] == "x86":
103860
 if CONFIG["TARGET_CPU"] == "x86":
103991
 
103861
 
103992
@@ -150,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
103862
@@ -151,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
103993
 
103863
 
103994
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
103864
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
103995
 
103865
 
Lines 104042-104052 index 8a8fc71f17af..93fd56af47e5 100644 Link Here
104042
-
103912
-
104043
 Library("aom_gn")
103913
 Library("aom_gn")
104044
diff --git third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build
103914
diff --git third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build
104045
index 22ab191e5227..a27cb940a7c6 100644
103915
index 7d1347ef2c7f..2cd44f6fb564 100644
104046
--- third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build
103916
--- third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build
104047
+++ third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build
103917
+++ third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build
104048
@@ -12,20 +12,16 @@ AllowCompilerWarnings()
103918
@@ -13,20 +13,16 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
104049
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
103919
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
104050
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
103920
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
104051
 DEFINES["RTC_ENABLE_VP9"] = True
103921
 DEFINES["RTC_ENABLE_VP9"] = True
104052
-DEFINES["USE_AURA"] = "1"
103922
-DEFINES["USE_AURA"] = "1"
Lines 104067-104073 index 22ab191e5227..a27cb940a7c6 100644 Link Here
104067
 DEFINES["_LARGEFILE64_SOURCE"] = True
103937
 DEFINES["_LARGEFILE64_SOURCE"] = True
104068
 DEFINES["_LARGEFILE_SOURCE"] = True
103938
 DEFINES["_LARGEFILE_SOURCE"] = True
104069
 DEFINES["__STDC_CONSTANT_MACROS"] = True
103939
 DEFINES["__STDC_CONSTANT_MACROS"] = True
104070
@@ -61,12 +57,6 @@ if CONFIG["TARGET_CPU"] == "aarch64":
103940
@@ -62,12 +58,6 @@ if CONFIG["TARGET_CPU"] == "aarch64":
104071
     DEFINES["WEBRTC_ARCH_ARM64"] = True
103941
     DEFINES["WEBRTC_ARCH_ARM64"] = True
104072
     DEFINES["WEBRTC_HAS_NEON"] = True
103942
     DEFINES["WEBRTC_HAS_NEON"] = True
104073
 
103943
 
Lines 104080-104086 index 22ab191e5227..a27cb940a7c6 100644 Link Here
104080
 if CONFIG["TARGET_CPU"] == "mips32":
103950
 if CONFIG["TARGET_CPU"] == "mips32":
104081
 
103951
 
104082
     DEFINES["MIPS32_LE"] = True
103952
     DEFINES["MIPS32_LE"] = True
104083
@@ -80,7 +70,7 @@ if CONFIG["TARGET_CPU"] == "x86_64":
103953
@@ -81,7 +71,7 @@ if CONFIG["TARGET_CPU"] == "x86_64":
104084
 
103954
 
104085
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
103955
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
104086
 
103956
 
Lines 104090-104100 index 22ab191e5227..a27cb940a7c6 100644 Link Here
104090
     DEFINES["USE_X11"] = "1"
103960
     DEFINES["USE_X11"] = "1"
104091
 
103961
 
104092
diff --git third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build
103962
diff --git third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build
104093
index 4a72444177d6..0536f67f8865 100644
103963
index 9f0e46f16702..6545a40c6ef1 100644
104094
--- third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build
103964
--- third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build
104095
+++ third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build
103965
+++ third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build
104096
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
103966
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
104097
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
103967
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
104098
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
103968
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
104099
 DEFINES["RTC_ENABLE_VP9"] = True
103969
 DEFINES["RTC_ENABLE_VP9"] = True
104100
+DEFINES["USE_GLIB"] = "1"
103970
+DEFINES["USE_GLIB"] = "1"
Lines 104114-104120 index 4a72444177d6..0536f67f8865 100644 Link Here
104114
 
103984
 
104115
 FINAL_LIBRARY = "xul"
103985
 FINAL_LIBRARY = "xul"
104116
 
103986
 
104117
@@ -41,108 +50,17 @@ if not CONFIG["MOZ_DEBUG"]:
103987
@@ -42,108 +51,17 @@ if not CONFIG["MOZ_DEBUG"]:
104118
 if CONFIG["MOZ_DEBUG"] == "1":
103988
 if CONFIG["MOZ_DEBUG"] == "1":
104119
 
103989
 
104120
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
103990
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 104224-104230 index 4a72444177d6..0536f67f8865 100644 Link Here
104224
 
104094
 
104225
 if CONFIG["TARGET_CPU"] == "x86":
104095
 if CONFIG["TARGET_CPU"] == "x86":
104226
 
104096
 
104227
@@ -152,50 +70,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
104097
@@ -153,50 +71,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
104228
 
104098
 
104229
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
104099
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
104230
 
104100
 
Lines 104453-104507 index dc7c06ffc21f..1617e9c2e1bb 100644 Link Here
104453
+    DEFINES["USE_X11"] = "1"
104323
+    DEFINES["USE_X11"] = "1"
104454
 
104324
 
104455
 Library("pffft_gn")
104325
 Library("pffft_gn")
104456
diff --git third_party/libwebrtc/third_party/pipewire/pipewire_gn/moz.build third_party/libwebrtc/third_party/pipewire/pipewire_gn/moz.build
104457
index 7ee6d71247e1..e5048d9d598c 100644
104458
--- third_party/libwebrtc/third_party/pipewire/pipewire_gn/moz.build
104459
+++ third_party/libwebrtc/third_party/pipewire/pipewire_gn/moz.build
104460
@@ -12,21 +12,17 @@ AllowCompilerWarnings()
104461
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
104462
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
104463
 DEFINES["RTC_ENABLE_VP9"] = True
104464
-DEFINES["USE_AURA"] = "1"
104465
 DEFINES["USE_GLIB"] = "1"
104466
-DEFINES["USE_NSS_CERTS"] = "1"
104467
 DEFINES["USE_OZONE"] = "1"
104468
-DEFINES["USE_UDEV"] = True
104469
+DEFINES["WEBRTC_BSD"] = True
104470
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
104471
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
104472
-DEFINES["WEBRTC_LINUX"] = True
104473
 DEFINES["WEBRTC_MOZILLA_BUILD"] = True
104474
 DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
104475
 DEFINES["WEBRTC_POSIX"] = True
104476
 DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
104477
 DEFINES["WEBRTC_USE_PIPEWIRE"] = True
104478
 DEFINES["_FILE_OFFSET_BITS"] = "64"
104479
-DEFINES["_GNU_SOURCE"] = True
104480
 DEFINES["_LARGEFILE64_SOURCE"] = True
104481
 DEFINES["_LARGEFILE_SOURCE"] = True
104482
 DEFINES["__STDC_CONSTANT_MACROS"] = True
104483
@@ -61,12 +57,6 @@ if CONFIG["TARGET_CPU"] == "aarch64":
104484
     DEFINES["WEBRTC_ARCH_ARM64"] = True
104485
     DEFINES["WEBRTC_HAS_NEON"] = True
104486
 
104487
-if CONFIG["TARGET_CPU"] == "arm":
104488
-
104489
-    DEFINES["WEBRTC_ARCH_ARM"] = True
104490
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
104491
-    DEFINES["WEBRTC_HAS_NEON"] = True
104492
-
104493
 if CONFIG["TARGET_CPU"] == "mips32":
104494
 
104495
     DEFINES["MIPS32_LE"] = True
104496
@@ -80,7 +70,7 @@ if CONFIG["TARGET_CPU"] == "x86_64":
104497
 
104498
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
104499
 
104500
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
104501
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
104502
 
104503
     DEFINES["USE_X11"] = "1"
104504
 
104505
diff --git third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build
104326
diff --git third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build
104506
index 2dfd79a68cf7..3703f7ef3366 100644
104327
index 2dfd79a68cf7..3703f7ef3366 100644
104507
--- third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build
104328
--- third_party/libwebrtc/third_party/rnnoise/rnn_vad_gn/moz.build
Lines 104669-104679 index 2dfd79a68cf7..3703f7ef3366 100644 Link Here
104669
 
104490
 
104670
 Library("rnn_vad_gn")
104491
 Library("rnn_vad_gn")
104671
diff --git third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build
104492
diff --git third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build
104672
index 07c16154f97d..393215e34c1e 100644
104493
index 2c62e9cbe092..d82fa66a2945 100644
104673
--- third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build
104494
--- third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build
104674
+++ third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build
104495
+++ third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build
104675
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
104496
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
104676
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
104497
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
104677
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
104498
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
104678
 DEFINES["RTC_ENABLE_VP9"] = True
104499
 DEFINES["RTC_ENABLE_VP9"] = True
104679
+DEFINES["USE_GLIB"] = "1"
104500
+DEFINES["USE_GLIB"] = "1"
Lines 104693-104699 index 07c16154f97d..393215e34c1e 100644 Link Here
104693
 
104514
 
104694
 FINAL_LIBRARY = "xul"
104515
 FINAL_LIBRARY = "xul"
104695
 
104516
 
104696
@@ -51,191 +60,32 @@ if not CONFIG["MOZ_DEBUG"]:
104517
@@ -52,191 +61,32 @@ if not CONFIG["MOZ_DEBUG"]:
104697
 if CONFIG["MOZ_DEBUG"] == "1":
104518
 if CONFIG["MOZ_DEBUG"] == "1":
104698
 
104519
 
104699
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
104520
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 104892-104902 index 07c16154f97d..393215e34c1e 100644 Link Here
104892
 
104713
 
104893
 Library("video_adaptation_gn")
104714
 Library("video_adaptation_gn")
104894
diff --git third_party/libwebrtc/video/config/encoder_config_gn/moz.build third_party/libwebrtc/video/config/encoder_config_gn/moz.build
104715
diff --git third_party/libwebrtc/video/config/encoder_config_gn/moz.build third_party/libwebrtc/video/config/encoder_config_gn/moz.build
104895
index b48b001014bc..eebc89a69ef7 100644
104716
index 8f1b9bb33967..a7be3784a0df 100644
104896
--- third_party/libwebrtc/video/config/encoder_config_gn/moz.build
104717
--- third_party/libwebrtc/video/config/encoder_config_gn/moz.build
104897
+++ third_party/libwebrtc/video/config/encoder_config_gn/moz.build
104718
+++ third_party/libwebrtc/video/config/encoder_config_gn/moz.build
104898
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
104719
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
104899
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
104720
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
104900
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
104721
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
104901
 DEFINES["RTC_ENABLE_VP9"] = True
104722
 DEFINES["RTC_ENABLE_VP9"] = True
104902
+DEFINES["USE_GLIB"] = "1"
104723
+DEFINES["USE_GLIB"] = "1"
Lines 104916-104922 index b48b001014bc..eebc89a69ef7 100644 Link Here
104916
 
104737
 
104917
 FINAL_LIBRARY = "xul"
104738
 FINAL_LIBRARY = "xul"
104918
 
104739
 
104919
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
104740
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
104920
 if CONFIG["MOZ_DEBUG"] == "1":
104741
 if CONFIG["MOZ_DEBUG"] == "1":
104921
 
104742
 
104922
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
104743
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 105110-105120 index b48b001014bc..eebc89a69ef7 100644 Link Here
105110
 
104931
 
105111
 Library("encoder_config_gn")
104932
 Library("encoder_config_gn")
105112
diff --git third_party/libwebrtc/video/config/streams_config_gn/moz.build third_party/libwebrtc/video/config/streams_config_gn/moz.build
104933
diff --git third_party/libwebrtc/video/config/streams_config_gn/moz.build third_party/libwebrtc/video/config/streams_config_gn/moz.build
105113
index b3f38848dde8..02e9a43bc366 100644
104934
index f8965ab6f5df..7981a149e1f0 100644
105114
--- third_party/libwebrtc/video/config/streams_config_gn/moz.build
104935
--- third_party/libwebrtc/video/config/streams_config_gn/moz.build
105115
+++ third_party/libwebrtc/video/config/streams_config_gn/moz.build
104936
+++ third_party/libwebrtc/video/config/streams_config_gn/moz.build
105116
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
104937
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
105117
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
104938
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
105118
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
104939
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
105119
 DEFINES["RTC_ENABLE_VP9"] = True
104940
 DEFINES["RTC_ENABLE_VP9"] = True
105120
+DEFINES["USE_GLIB"] = "1"
104941
+DEFINES["USE_GLIB"] = "1"
Lines 105134-105140 index b3f38848dde8..02e9a43bc366 100644 Link Here
105134
 
104955
 
105135
 FINAL_LIBRARY = "xul"
104956
 FINAL_LIBRARY = "xul"
105136
 
104957
 
105137
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
104958
@@ -45,191 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
105138
 if CONFIG["MOZ_DEBUG"] == "1":
104959
 if CONFIG["MOZ_DEBUG"] == "1":
105139
 
104960
 
105140
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
104961
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 105333-105343 index b3f38848dde8..02e9a43bc366 100644 Link Here
105333
 
105154
 
105334
 Library("streams_config_gn")
105155
 Library("streams_config_gn")
105335
diff --git third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build
105156
diff --git third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build
105336
index 6aeed8259081..670e89595328 100644
105157
index 0e4f9c57e0ae..d6e888a454a7 100644
105337
--- third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build
105158
--- third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build
105338
+++ third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build
105159
+++ third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build
105339
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
105160
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
105340
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
105161
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
105341
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
105162
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
105342
 DEFINES["RTC_ENABLE_VP9"] = True
105163
 DEFINES["RTC_ENABLE_VP9"] = True
105343
+DEFINES["USE_GLIB"] = "1"
105164
+DEFINES["USE_GLIB"] = "1"
Lines 105357-105363 index 6aeed8259081..670e89595328 100644 Link Here
105357
 
105178
 
105358
 FINAL_LIBRARY = "xul"
105179
 FINAL_LIBRARY = "xul"
105359
 
105180
 
105360
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
105181
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
105361
 if CONFIG["MOZ_DEBUG"] == "1":
105182
 if CONFIG["MOZ_DEBUG"] == "1":
105362
 
105183
 
105363
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
105184
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 105551-105561 index 6aeed8259081..670e89595328 100644 Link Here
105551
 
105372
 
105552
 Library("corruption_classifier_gn")
105373
 Library("corruption_classifier_gn")
105553
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
105374
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
105554
index 9e7ad18b2421..a79ced32f2f1 100644
105375
index 5f3217f3222e..610cdfe12383 100644
105555
--- third_party/libwebrtc/video/corruption_detection/frame_instrumentation_evaluation_gn/moz.build
105376
--- third_party/libwebrtc/video/corruption_detection/frame_instrumentation_evaluation_gn/moz.build
105556
+++ third_party/libwebrtc/video/corruption_detection/frame_instrumentation_evaluation_gn/moz.build
105377
+++ third_party/libwebrtc/video/corruption_detection/frame_instrumentation_evaluation_gn/moz.build
105557
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
105378
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
105558
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
105379
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
105559
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
105380
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
105560
 DEFINES["RTC_ENABLE_VP9"] = True
105381
 DEFINES["RTC_ENABLE_VP9"] = True
105561
+DEFINES["USE_GLIB"] = "1"
105382
+DEFINES["USE_GLIB"] = "1"
Lines 105575-105581 index 9e7ad18b2421..a79ced32f2f1 100644 Link Here
105575
 
105396
 
105576
 FINAL_LIBRARY = "xul"
105397
 FINAL_LIBRARY = "xul"
105577
 
105398
 
105578
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
105399
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
105579
 if CONFIG["MOZ_DEBUG"] == "1":
105400
 if CONFIG["MOZ_DEBUG"] == "1":
105580
 
105401
 
105581
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
105402
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 105769-105779 index 9e7ad18b2421..a79ced32f2f1 100644 Link Here
105769
 
105590
 
105770
 Library("frame_instrumentation_evaluation_gn")
105591
 Library("frame_instrumentation_evaluation_gn")
105771
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
105592
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
105772
index 5a1b79701b0b..0cfa6950a537 100644
105593
index 9d03622daa05..81d9185c0a7d 100644
105773
--- third_party/libwebrtc/video/corruption_detection/frame_instrumentation_generator_gn/moz.build
105594
--- third_party/libwebrtc/video/corruption_detection/frame_instrumentation_generator_gn/moz.build
105774
+++ third_party/libwebrtc/video/corruption_detection/frame_instrumentation_generator_gn/moz.build
105595
+++ third_party/libwebrtc/video/corruption_detection/frame_instrumentation_generator_gn/moz.build
105775
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
105596
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
105776
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
105597
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
105777
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
105598
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
105778
 DEFINES["RTC_ENABLE_VP9"] = True
105599
 DEFINES["RTC_ENABLE_VP9"] = True
105779
+DEFINES["USE_GLIB"] = "1"
105600
+DEFINES["USE_GLIB"] = "1"
Lines 105793-105799 index 5a1b79701b0b..0cfa6950a537 100644 Link Here
105793
 
105614
 
105794
 FINAL_LIBRARY = "xul"
105615
 FINAL_LIBRARY = "xul"
105795
 
105616
 
105796
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
105617
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
105797
 if CONFIG["MOZ_DEBUG"] == "1":
105618
 if CONFIG["MOZ_DEBUG"] == "1":
105798
 
105619
 
105799
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
105620
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 105992-106002 index 5a1b79701b0b..0cfa6950a537 100644 Link Here
105992
 
105813
 
105993
 Library("frame_instrumentation_generator_gn")
105814
 Library("frame_instrumentation_generator_gn")
105994
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
105815
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
105995
index 0e7ce07afba2..2a396481ef05 100644
105816
index 37551c088b6f..166e00c8e94b 100644
105996
--- third_party/libwebrtc/video/corruption_detection/generic_mapping_functions_gn/moz.build
105817
--- third_party/libwebrtc/video/corruption_detection/generic_mapping_functions_gn/moz.build
105997
+++ third_party/libwebrtc/video/corruption_detection/generic_mapping_functions_gn/moz.build
105818
+++ third_party/libwebrtc/video/corruption_detection/generic_mapping_functions_gn/moz.build
105998
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
105819
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
105999
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
105820
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
106000
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
105821
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
106001
 DEFINES["RTC_ENABLE_VP9"] = True
105822
 DEFINES["RTC_ENABLE_VP9"] = True
106002
+DEFINES["USE_GLIB"] = "1"
105823
+DEFINES["USE_GLIB"] = "1"
Lines 106016-106022 index 0e7ce07afba2..2a396481ef05 100644 Link Here
106016
 
105837
 
106017
 FINAL_LIBRARY = "xul"
105838
 FINAL_LIBRARY = "xul"
106018
 
105839
 
106019
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
105840
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
106020
 if CONFIG["MOZ_DEBUG"] == "1":
105841
 if CONFIG["MOZ_DEBUG"] == "1":
106021
 
105842
 
106022
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
105843
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 106210-106220 index 0e7ce07afba2..2a396481ef05 100644 Link Here
106210
 
106031
 
106211
 Library("generic_mapping_functions_gn")
106032
 Library("generic_mapping_functions_gn")
106212
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
106033
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
106213
index 99c1fae3146f..6a61f9a394da 100644
106034
index d1ea963e5731..336c6e382e2f 100644
106214
--- third_party/libwebrtc/video/corruption_detection/halton_frame_sampler_gn/moz.build
106035
--- third_party/libwebrtc/video/corruption_detection/halton_frame_sampler_gn/moz.build
106215
+++ third_party/libwebrtc/video/corruption_detection/halton_frame_sampler_gn/moz.build
106036
+++ third_party/libwebrtc/video/corruption_detection/halton_frame_sampler_gn/moz.build
106216
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
106037
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
106217
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
106038
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
106218
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
106039
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
106219
 DEFINES["RTC_ENABLE_VP9"] = True
106040
 DEFINES["RTC_ENABLE_VP9"] = True
106220
+DEFINES["USE_GLIB"] = "1"
106041
+DEFINES["USE_GLIB"] = "1"
Lines 106234-106240 index 99c1fae3146f..6a61f9a394da 100644 Link Here
106234
 
106055
 
106235
 FINAL_LIBRARY = "xul"
106056
 FINAL_LIBRARY = "xul"
106236
 
106057
 
106237
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
106058
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
106238
 if CONFIG["MOZ_DEBUG"] == "1":
106059
 if CONFIG["MOZ_DEBUG"] == "1":
106239
 
106060
 
106240
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
106061
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 106428-106438 index 99c1fae3146f..6a61f9a394da 100644 Link Here
106428
 
106249
 
106429
 Library("halton_frame_sampler_gn")
106250
 Library("halton_frame_sampler_gn")
106430
diff --git third_party/libwebrtc/video/corruption_detection/halton_sequence_gn/moz.build third_party/libwebrtc/video/corruption_detection/halton_sequence_gn/moz.build
106251
diff --git third_party/libwebrtc/video/corruption_detection/halton_sequence_gn/moz.build third_party/libwebrtc/video/corruption_detection/halton_sequence_gn/moz.build
106431
index ffcf6099f6c0..968541539a49 100644
106252
index 2ca4023e96ed..ef1e0a772a9a 100644
106432
--- third_party/libwebrtc/video/corruption_detection/halton_sequence_gn/moz.build
106253
--- third_party/libwebrtc/video/corruption_detection/halton_sequence_gn/moz.build
106433
+++ third_party/libwebrtc/video/corruption_detection/halton_sequence_gn/moz.build
106254
+++ third_party/libwebrtc/video/corruption_detection/halton_sequence_gn/moz.build
106434
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
106255
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
106435
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
106256
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
106436
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
106257
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
106437
 DEFINES["RTC_ENABLE_VP9"] = True
106258
 DEFINES["RTC_ENABLE_VP9"] = True
106438
+DEFINES["USE_GLIB"] = "1"
106259
+DEFINES["USE_GLIB"] = "1"
Lines 106452-106458 index ffcf6099f6c0..968541539a49 100644 Link Here
106452
 
106273
 
106453
 FINAL_LIBRARY = "xul"
106274
 FINAL_LIBRARY = "xul"
106454
 
106275
 
106455
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
106276
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
106456
 if CONFIG["MOZ_DEBUG"] == "1":
106277
 if CONFIG["MOZ_DEBUG"] == "1":
106457
 
106278
 
106458
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
106279
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 106639-106649 index ffcf6099f6c0..968541539a49 100644 Link Here
106639
 
106460
 
106640
 Library("halton_sequence_gn")
106461
 Library("halton_sequence_gn")
106641
diff --git third_party/libwebrtc/video/decode_synchronizer_gn/moz.build third_party/libwebrtc/video/decode_synchronizer_gn/moz.build
106462
diff --git third_party/libwebrtc/video/decode_synchronizer_gn/moz.build third_party/libwebrtc/video/decode_synchronizer_gn/moz.build
106642
index d41c0c6b2925..014608d80234 100644
106463
index 27a93ff88bdf..4cb2ebd4a0ea 100644
106643
--- third_party/libwebrtc/video/decode_synchronizer_gn/moz.build
106464
--- third_party/libwebrtc/video/decode_synchronizer_gn/moz.build
106644
+++ third_party/libwebrtc/video/decode_synchronizer_gn/moz.build
106465
+++ third_party/libwebrtc/video/decode_synchronizer_gn/moz.build
106645
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
106466
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
106646
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
106467
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
106647
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
106468
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
106648
 DEFINES["RTC_ENABLE_VP9"] = True
106469
 DEFINES["RTC_ENABLE_VP9"] = True
106649
+DEFINES["USE_GLIB"] = "1"
106470
+DEFINES["USE_GLIB"] = "1"
Lines 106663-106669 index d41c0c6b2925..014608d80234 100644 Link Here
106663
 
106484
 
106664
 FINAL_LIBRARY = "xul"
106485
 FINAL_LIBRARY = "xul"
106665
 
106486
 
106666
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
106487
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
106667
 if CONFIG["MOZ_DEBUG"] == "1":
106488
 if CONFIG["MOZ_DEBUG"] == "1":
106668
 
106489
 
106669
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
106490
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 106861-106871 index d41c0c6b2925..014608d80234 100644 Link Here
106861
 
106682
 
106862
 Library("decode_synchronizer_gn")
106683
 Library("decode_synchronizer_gn")
106863
diff --git third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build
106684
diff --git third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build
106864
index 5b2a99954cc4..7ed9a69b2f88 100644
106685
index 6833cde2b29a..94ba7405ba0e 100644
106865
--- third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build
106686
--- third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build
106866
+++ third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build
106687
+++ third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build
106867
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
106688
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
106868
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
106689
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
106869
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
106690
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
106870
 DEFINES["RTC_ENABLE_VP9"] = True
106691
 DEFINES["RTC_ENABLE_VP9"] = True
106871
+DEFINES["USE_GLIB"] = "1"
106692
+DEFINES["USE_GLIB"] = "1"
Lines 106885-106891 index 5b2a99954cc4..7ed9a69b2f88 100644 Link Here
106885
 
106706
 
106886
 FINAL_LIBRARY = "xul"
106707
 FINAL_LIBRARY = "xul"
106887
 
106708
 
106888
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
106709
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
106889
 if CONFIG["MOZ_DEBUG"] == "1":
106710
 if CONFIG["MOZ_DEBUG"] == "1":
106890
 
106711
 
106891
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
106712
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 107083-107093 index 5b2a99954cc4..7ed9a69b2f88 100644 Link Here
107083
 
106904
 
107084
 Library("frame_cadence_adapter_gn")
106905
 Library("frame_cadence_adapter_gn")
107085
diff --git third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build
106906
diff --git third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build
107086
index 6859cfa6b9d4..b07b1298bb9a 100644
106907
index 492e8396d7f1..35c08dd6c9da 100644
107087
--- third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build
106908
--- third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build
107088
+++ third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build
106909
+++ third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build
107089
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
106910
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
107090
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
106911
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
107091
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
106912
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
107092
 DEFINES["RTC_ENABLE_VP9"] = True
106913
 DEFINES["RTC_ENABLE_VP9"] = True
107093
+DEFINES["USE_GLIB"] = "1"
106914
+DEFINES["USE_GLIB"] = "1"
Lines 107107-107113 index 6859cfa6b9d4..b07b1298bb9a 100644 Link Here
107107
 
106928
 
107108
 FINAL_LIBRARY = "xul"
106929
 FINAL_LIBRARY = "xul"
107109
 
106930
 
107110
@@ -39,123 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
106931
@@ -40,123 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
107111
 if CONFIG["MOZ_DEBUG"] == "1":
106932
 if CONFIG["MOZ_DEBUG"] == "1":
107112
 
106933
 
107113
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
106934
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 107232-107238 index 6859cfa6b9d4..b07b1298bb9a 100644 Link Here
107232
 
107053
 
107233
 if CONFIG["TARGET_CPU"] == "x86":
107054
 if CONFIG["TARGET_CPU"] == "x86":
107234
 
107055
 
107235
@@ -165,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
107056
@@ -166,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
107236
 
107057
 
107237
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
107058
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
107238
 
107059
 
Lines 107285-107295 index 6859cfa6b9d4..b07b1298bb9a 100644 Link Here
107285
-
107106
-
107286
 Library("frame_decode_scheduler_gn")
107107
 Library("frame_decode_scheduler_gn")
107287
diff --git third_party/libwebrtc/video/frame_decode_timing_gn/moz.build third_party/libwebrtc/video/frame_decode_timing_gn/moz.build
107108
diff --git third_party/libwebrtc/video/frame_decode_timing_gn/moz.build third_party/libwebrtc/video/frame_decode_timing_gn/moz.build
107288
index 8ef09f2eec94..c60e05070dc5 100644
107109
index 58a909e8d4b0..f7d64ab60379 100644
107289
--- third_party/libwebrtc/video/frame_decode_timing_gn/moz.build
107110
--- third_party/libwebrtc/video/frame_decode_timing_gn/moz.build
107290
+++ third_party/libwebrtc/video/frame_decode_timing_gn/moz.build
107111
+++ third_party/libwebrtc/video/frame_decode_timing_gn/moz.build
107291
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
107112
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
107292
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
107113
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
107293
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
107114
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
107294
 DEFINES["RTC_ENABLE_VP9"] = True
107115
 DEFINES["RTC_ENABLE_VP9"] = True
107295
+DEFINES["USE_GLIB"] = "1"
107116
+DEFINES["USE_GLIB"] = "1"
Lines 107309-107315 index 8ef09f2eec94..c60e05070dc5 100644 Link Here
107309
 
107130
 
107310
 FINAL_LIBRARY = "xul"
107131
 FINAL_LIBRARY = "xul"
107311
 
107132
 
107312
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
107133
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
107313
 if CONFIG["MOZ_DEBUG"] == "1":
107134
 if CONFIG["MOZ_DEBUG"] == "1":
107314
 
107135
 
107315
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
107136
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 107507-107517 index 8ef09f2eec94..c60e05070dc5 100644 Link Here
107507
 
107328
 
107508
 Library("frame_decode_timing_gn")
107329
 Library("frame_decode_timing_gn")
107509
diff --git third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build
107330
diff --git third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build
107510
index f76bfc61db99..66b7669f9d5f 100644
107331
index 2b688c034655..566b0c806c68 100644
107511
--- third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build
107332
--- third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build
107512
+++ third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build
107333
+++ third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build
107513
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
107334
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
107514
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
107335
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
107515
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
107336
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
107516
 DEFINES["RTC_ENABLE_VP9"] = True
107337
 DEFINES["RTC_ENABLE_VP9"] = True
107517
+DEFINES["USE_GLIB"] = "1"
107338
+DEFINES["USE_GLIB"] = "1"
Lines 107531-107537 index f76bfc61db99..66b7669f9d5f 100644 Link Here
107531
 
107352
 
107532
 FINAL_LIBRARY = "xul"
107353
 FINAL_LIBRARY = "xul"
107533
 
107354
 
107534
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
107355
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
107535
 if CONFIG["MOZ_DEBUG"] == "1":
107356
 if CONFIG["MOZ_DEBUG"] == "1":
107536
 
107357
 
107537
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
107358
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 107730-107740 index f76bfc61db99..66b7669f9d5f 100644 Link Here
107730
 
107551
 
107731
 Library("frame_dumping_decoder_gn")
107552
 Library("frame_dumping_decoder_gn")
107732
diff --git third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build
107553
diff --git third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build
107733
index c4bad706172c..18ffb380392c 100644
107554
index 7205ea8c1cf3..dd0edb14e927 100644
107734
--- third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build
107555
--- third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build
107735
+++ third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build
107556
+++ third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build
107736
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
107557
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
107737
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
107558
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
107738
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
107559
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
107739
 DEFINES["RTC_ENABLE_VP9"] = True
107560
 DEFINES["RTC_ENABLE_VP9"] = True
107740
+DEFINES["USE_GLIB"] = "1"
107561
+DEFINES["USE_GLIB"] = "1"
Lines 107754-107760 index c4bad706172c..18ffb380392c 100644 Link Here
107754
 
107575
 
107755
 FINAL_LIBRARY = "xul"
107576
 FINAL_LIBRARY = "xul"
107756
 
107577
 
107757
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
107578
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
107758
 if CONFIG["MOZ_DEBUG"] == "1":
107579
 if CONFIG["MOZ_DEBUG"] == "1":
107759
 
107580
 
107760
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
107581
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 107953-107963 index c4bad706172c..18ffb380392c 100644 Link Here
107953
 
107774
 
107954
 Library("frame_dumping_encoder_gn")
107775
 Library("frame_dumping_encoder_gn")
107955
diff --git third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build
107776
diff --git third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build
107956
index 092bbc95e288..f1c6ded0f367 100644
107777
index 4b7bf065fbf1..450ec1241bb6 100644
107957
--- third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build
107778
--- third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build
107958
+++ third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build
107779
+++ third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build
107959
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
107780
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
107960
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
107781
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
107961
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
107782
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
107962
 DEFINES["RTC_ENABLE_VP9"] = True
107783
 DEFINES["RTC_ENABLE_VP9"] = True
107963
+DEFINES["USE_GLIB"] = "1"
107784
+DEFINES["USE_GLIB"] = "1"
Lines 107977-107983 index 092bbc95e288..f1c6ded0f367 100644 Link Here
107977
 
107798
 
107978
 FINAL_LIBRARY = "xul"
107799
 FINAL_LIBRARY = "xul"
107979
 
107800
 
107980
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
107801
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
107981
 if CONFIG["MOZ_DEBUG"] == "1":
107802
 if CONFIG["MOZ_DEBUG"] == "1":
107982
 
107803
 
107983
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
107804
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 108171-108181 index 092bbc95e288..f1c6ded0f367 100644 Link Here
108171
 
107992
 
108172
 Library("incoming_video_stream_gn")
107993
 Library("incoming_video_stream_gn")
108173
diff --git third_party/libwebrtc/video/render/video_render_frames_gn/moz.build third_party/libwebrtc/video/render/video_render_frames_gn/moz.build
107994
diff --git third_party/libwebrtc/video/render/video_render_frames_gn/moz.build third_party/libwebrtc/video/render/video_render_frames_gn/moz.build
108174
index 39558b4b3e5b..c1df4e9bd177 100644
107995
index 40c2cc0ee11c..afc161293679 100644
108175
--- third_party/libwebrtc/video/render/video_render_frames_gn/moz.build
107996
--- third_party/libwebrtc/video/render/video_render_frames_gn/moz.build
108176
+++ third_party/libwebrtc/video/render/video_render_frames_gn/moz.build
107997
+++ third_party/libwebrtc/video/render/video_render_frames_gn/moz.build
108177
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
107998
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
108178
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
107999
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
108179
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
108000
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
108180
 DEFINES["RTC_ENABLE_VP9"] = True
108001
 DEFINES["RTC_ENABLE_VP9"] = True
108181
+DEFINES["USE_GLIB"] = "1"
108002
+DEFINES["USE_GLIB"] = "1"
Lines 108195-108201 index 39558b4b3e5b..c1df4e9bd177 100644 Link Here
108195
 
108016
 
108196
 FINAL_LIBRARY = "xul"
108017
 FINAL_LIBRARY = "xul"
108197
 
108018
 
108198
@@ -43,186 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
108019
@@ -44,186 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
108199
 if CONFIG["MOZ_DEBUG"] == "1":
108020
 if CONFIG["MOZ_DEBUG"] == "1":
108200
 
108021
 
108201
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
108022
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 108389-108399 index 39558b4b3e5b..c1df4e9bd177 100644 Link Here
108389
 
108210
 
108390
 Library("video_render_frames_gn")
108211
 Library("video_render_frames_gn")
108391
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
108212
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
108392
index f4f66565f437..7dc1d04b59ba 100644
108213
index f48a99ae30f0..278644a5eed5 100644
108393
--- third_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build
108214
--- third_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build
108394
+++ third_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build
108215
+++ third_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build
108395
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
108216
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
108396
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
108217
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
108397
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
108218
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
108398
 DEFINES["RTC_ENABLE_VP9"] = True
108219
 DEFINES["RTC_ENABLE_VP9"] = True
108399
+DEFINES["USE_GLIB"] = "1"
108220
+DEFINES["USE_GLIB"] = "1"
Lines 108413-108419 index f4f66565f437..7dc1d04b59ba 100644 Link Here
108413
 
108234
 
108414
 FINAL_LIBRARY = "xul"
108235
 FINAL_LIBRARY = "xul"
108415
 
108236
 
108416
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
108237
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
108417
 if CONFIG["MOZ_DEBUG"] == "1":
108238
 if CONFIG["MOZ_DEBUG"] == "1":
108418
 
108239
 
108419
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
108240
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 108611-108621 index f4f66565f437..7dc1d04b59ba 100644 Link Here
108611
 
108432
 
108612
 Library("task_queue_frame_decode_scheduler_gn")
108433
 Library("task_queue_frame_decode_scheduler_gn")
108613
diff --git third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build
108434
diff --git third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build
108614
index 29ff4759b500..95d109725a60 100644
108435
index 44c3fed1208b..feacfc5d5716 100644
108615
--- third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build
108436
--- third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build
108616
+++ third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build
108437
+++ third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build
108617
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
108438
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
108618
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
108439
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
108619
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
108440
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
108620
 DEFINES["RTC_ENABLE_VP9"] = True
108441
 DEFINES["RTC_ENABLE_VP9"] = True
108621
+DEFINES["USE_GLIB"] = "1"
108442
+DEFINES["USE_GLIB"] = "1"
Lines 108635-108641 index 29ff4759b500..95d109725a60 100644 Link Here
108635
 
108456
 
108636
 FINAL_LIBRARY = "xul"
108457
 FINAL_LIBRARY = "xul"
108637
 
108458
 
108638
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
108459
@@ -44,175 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
108639
 if CONFIG["MOZ_DEBUG"] == "1":
108460
 if CONFIG["MOZ_DEBUG"] == "1":
108640
 
108461
 
108641
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
108462
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 108818-108828 index 29ff4759b500..95d109725a60 100644 Link Here
108818
 
108639
 
108819
 Library("unique_timestamp_counter_gn")
108640
 Library("unique_timestamp_counter_gn")
108820
diff --git third_party/libwebrtc/video/video_gn/moz.build third_party/libwebrtc/video/video_gn/moz.build
108641
diff --git third_party/libwebrtc/video/video_gn/moz.build third_party/libwebrtc/video/video_gn/moz.build
108821
index edf7a88ed789..bb85d9269feb 100644
108642
index 86ce29262eb6..db6309640745 100644
108822
--- third_party/libwebrtc/video/video_gn/moz.build
108643
--- third_party/libwebrtc/video/video_gn/moz.build
108823
+++ third_party/libwebrtc/video/video_gn/moz.build
108644
+++ third_party/libwebrtc/video/video_gn/moz.build
108824
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
108645
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
108825
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
108646
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
108826
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
108647
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
108827
 DEFINES["RTC_ENABLE_VP9"] = True
108648
 DEFINES["RTC_ENABLE_VP9"] = True
108828
+DEFINES["USE_GLIB"] = "1"
108649
+DEFINES["USE_GLIB"] = "1"
Lines 108842-108848 index edf7a88ed789..bb85d9269feb 100644 Link Here
108842
 
108663
 
108843
 FINAL_LIBRARY = "xul"
108664
 FINAL_LIBRARY = "xul"
108844
 
108665
 
108845
@@ -62,191 +71,32 @@ if not CONFIG["MOZ_DEBUG"]:
108666
@@ -63,191 +72,32 @@ if not CONFIG["MOZ_DEBUG"]:
108846
 if CONFIG["MOZ_DEBUG"] == "1":
108667
 if CONFIG["MOZ_DEBUG"] == "1":
108847
 
108668
 
108848
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
108669
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 109041-109051 index edf7a88ed789..bb85d9269feb 100644 Link Here
109041
 
108862
 
109042
 Library("video_gn")
108863
 Library("video_gn")
109043
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
108864
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
109044
index d530ed77f21f..239678e8ec81 100644
108865
index 12d0513ca083..a938e5cb2bf2 100644
109045
--- third_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build
108866
--- third_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build
109046
+++ third_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build
108867
+++ third_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build
109047
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
108868
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
109048
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
108869
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
109049
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
108870
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
109050
 DEFINES["RTC_ENABLE_VP9"] = True
108871
 DEFINES["RTC_ENABLE_VP9"] = True
109051
+DEFINES["USE_GLIB"] = "1"
108872
+DEFINES["USE_GLIB"] = "1"
Lines 109065-109071 index d530ed77f21f..239678e8ec81 100644 Link Here
109065
 
108886
 
109066
 FINAL_LIBRARY = "xul"
108887
 FINAL_LIBRARY = "xul"
109067
 
108888
 
109068
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
108889
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
109069
 if CONFIG["MOZ_DEBUG"] == "1":
108890
 if CONFIG["MOZ_DEBUG"] == "1":
109070
 
108891
 
109071
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
108892
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 109263-109273 index d530ed77f21f..239678e8ec81 100644 Link Here
109263
 
109084
 
109264
 Library("video_receive_stream_timeout_tracker_gn")
109085
 Library("video_receive_stream_timeout_tracker_gn")
109265
diff --git third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build
109086
diff --git third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build
109266
index c53b093328e9..e2abf01eacce 100644
109087
index a197def242bb..84863d3a8c02 100644
109267
--- third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build
109088
--- third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build
109268
+++ third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build
109089
+++ third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build
109269
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
109090
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
109270
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
109091
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
109271
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
109092
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
109272
 DEFINES["RTC_ENABLE_VP9"] = True
109093
 DEFINES["RTC_ENABLE_VP9"] = True
109273
+DEFINES["USE_GLIB"] = "1"
109094
+DEFINES["USE_GLIB"] = "1"
Lines 109287-109293 index c53b093328e9..e2abf01eacce 100644 Link Here
109287
 
109108
 
109288
 FINAL_LIBRARY = "xul"
109109
 FINAL_LIBRARY = "xul"
109289
 
109110
 
109290
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
109111
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
109291
 if CONFIG["MOZ_DEBUG"] == "1":
109112
 if CONFIG["MOZ_DEBUG"] == "1":
109292
 
109113
 
109293
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
109114
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 109486-109496 index c53b093328e9..e2abf01eacce 100644 Link Here
109486
 
109307
 
109487
 Library("video_stream_buffer_controller_gn")
109308
 Library("video_stream_buffer_controller_gn")
109488
diff --git third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build
109309
diff --git third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build
109489
index f971adeadf17..e988fef7d80f 100644
109310
index 6ea5c303a15d..c678f28a8343 100644
109490
--- third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build
109311
--- third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build
109491
+++ third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build
109312
+++ third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build
109492
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
109313
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
109493
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
109314
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
109494
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
109315
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
109495
 DEFINES["RTC_ENABLE_VP9"] = True
109316
 DEFINES["RTC_ENABLE_VP9"] = True
109496
+DEFINES["USE_GLIB"] = "1"
109317
+DEFINES["USE_GLIB"] = "1"
Lines 109510-109516 index f971adeadf17..e988fef7d80f 100644 Link Here
109510
 
109331
 
109511
 FINAL_LIBRARY = "xul"
109332
 FINAL_LIBRARY = "xul"
109512
 
109333
 
109513
@@ -51,191 +60,32 @@ if not CONFIG["MOZ_DEBUG"]:
109334
@@ -52,191 +61,32 @@ if not CONFIG["MOZ_DEBUG"]:
109514
 if CONFIG["MOZ_DEBUG"] == "1":
109335
 if CONFIG["MOZ_DEBUG"] == "1":
109515
 
109336
 
109516
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
109337
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 109709-109719 index f971adeadf17..e988fef7d80f 100644 Link Here
109709
 
109530
 
109710
 Library("video_stream_encoder_impl_gn")
109531
 Library("video_stream_encoder_impl_gn")
109711
diff --git third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build
109532
diff --git third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build
109712
index 5d1297f9aa4e..30518fdfa2be 100644
109533
index b270923b1375..89c31ebae9ee 100644
109713
--- third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build
109534
--- third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build
109714
+++ third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build
109535
+++ third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build
109715
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
109536
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
109716
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
109537
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
109717
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
109538
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
109718
 DEFINES["RTC_ENABLE_VP9"] = True
109539
 DEFINES["RTC_ENABLE_VP9"] = True
109719
+DEFINES["USE_GLIB"] = "1"
109540
+DEFINES["USE_GLIB"] = "1"
Lines 109733-109739 index 5d1297f9aa4e..30518fdfa2be 100644 Link Here
109733
 
109554
 
109734
 FINAL_LIBRARY = "xul"
109555
 FINAL_LIBRARY = "xul"
109735
 
109556
 
109736
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
109557
@@ -40,119 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
109737
 if CONFIG["MOZ_DEBUG"] == "1":
109558
 if CONFIG["MOZ_DEBUG"] == "1":
109738
 
109559
 
109739
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
109560
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 109854-109860 index 5d1297f9aa4e..30518fdfa2be 100644 Link Here
109854
 
109675
 
109855
 if CONFIG["TARGET_CPU"] == "x86":
109676
 if CONFIG["TARGET_CPU"] == "x86":
109856
 
109677
 
109857
@@ -161,50 +68,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
109678
@@ -162,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
109858
 
109679
 
109859
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
109680
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
109860
 
109681
 
Lines 109907-109917 index 5d1297f9aa4e..30518fdfa2be 100644 Link Here
109907
-
109728
-
109908
 Library("video_stream_encoder_interface_gn")
109729
 Library("video_stream_encoder_interface_gn")
109909
diff --git third_party/libwebrtc/webrtc_gn/moz.build third_party/libwebrtc/webrtc_gn/moz.build
109730
diff --git third_party/libwebrtc/webrtc_gn/moz.build third_party/libwebrtc/webrtc_gn/moz.build
109910
index affa5998b64e..0fbfe6858f2a 100644
109731
index 0bf8e11b5430..e393c24e9a7b 100644
109911
--- third_party/libwebrtc/webrtc_gn/moz.build
109732
--- third_party/libwebrtc/webrtc_gn/moz.build
109912
+++ third_party/libwebrtc/webrtc_gn/moz.build
109733
+++ third_party/libwebrtc/webrtc_gn/moz.build
109913
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
109734
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
109914
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
109735
 DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0"
109915
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
109736
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
109916
 DEFINES["RTC_ENABLE_VP9"] = True
109737
 DEFINES["RTC_ENABLE_VP9"] = True
109917
+DEFINES["USE_GLIB"] = "1"
109738
+DEFINES["USE_GLIB"] = "1"
Lines 109931-109937 index affa5998b64e..0fbfe6858f2a 100644 Link Here
109931
 
109752
 
109932
 FINAL_LIBRARY = "xul"
109753
 FINAL_LIBRARY = "xul"
109933
 
109754
 
109934
@@ -39,144 +48,23 @@ if not CONFIG["MOZ_DEBUG"]:
109755
@@ -40,147 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
109935
 if CONFIG["MOZ_DEBUG"] == "1":
109756
 if CONFIG["MOZ_DEBUG"] == "1":
109936
 
109757
 
109937
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
109758
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 110057-110063 index affa5998b64e..0fbfe6858f2a 100644 Link Here
110057
 
109878
 
110058
     DEFINES["WEBRTC_ARCH_ARM64"] = True
109879
     DEFINES["WEBRTC_ARCH_ARM64"] = True
110059
     DEFINES["WEBRTC_HAS_NEON"] = True
109880
     DEFINES["WEBRTC_HAS_NEON"] = True
110060
+    DEFINES["WEBRTC_USE_PIPEWIRE"] = True
110061
 
109881
 
110062
-if CONFIG["TARGET_CPU"] == "arm":
109882
-if CONFIG["TARGET_CPU"] == "arm":
110063
-
109883
-
Lines 110068-110108 index affa5998b64e..0fbfe6858f2a 100644 Link Here
110068
-if CONFIG["TARGET_CPU"] == "loongarch64":
109888
-if CONFIG["TARGET_CPU"] == "loongarch64":
110069
-
109889
-
110070
-    DEFINES["_GNU_SOURCE"] = True
109890
-    DEFINES["_GNU_SOURCE"] = True
110071
+    LOCAL_INCLUDES += [
109891
-
110072
+        "/third_party/pipewire/"
110073
+    ]
110074
 
110075
 if CONFIG["TARGET_CPU"] == "mips32":
109892
 if CONFIG["TARGET_CPU"] == "mips32":
110076
 
109893
 
110077
     DEFINES["MIPS32_LE"] = True
109894
     DEFINES["MIPS32_LE"] = True
110078
     DEFINES["MIPS_FPU_LE"] = True
109895
     DEFINES["MIPS_FPU_LE"] = True
110079
     DEFINES["WEBRTC_USE_PIPEWIRE"] = True
110080
-    DEFINES["_GNU_SOURCE"] = True
109896
-    DEFINES["_GNU_SOURCE"] = True
110081
 
109897
-
110082
     LOCAL_INCLUDES += [
109898
-if CONFIG["TARGET_CPU"] == "mips64":
110083
         "/third_party/pipewire/"
109899
-
110084
@@ -185,7 +73,6 @@ if CONFIG["TARGET_CPU"] == "mips32":
110085
 if CONFIG["TARGET_CPU"] == "mips64":
110086
 
110087
     DEFINES["WEBRTC_USE_PIPEWIRE"] = True
110088
-    DEFINES["_GNU_SOURCE"] = True
109900
-    DEFINES["_GNU_SOURCE"] = True
110089
 
109901
 
110090
     LOCAL_INCLUDES += [
110091
         "/third_party/pipewire/"
110092
@@ -194,32 +81,22 @@ if CONFIG["TARGET_CPU"] == "mips64":
110093
 if CONFIG["TARGET_CPU"] == "x86":
109902
 if CONFIG["TARGET_CPU"] == "x86":
110094
 
109903
 
110095
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
109904
@@ -190,27 +69,7 @@ if CONFIG["TARGET_CPU"] == "x86_64":
110096
+    DEFINES["WEBRTC_USE_PIPEWIRE"] = True
110097
+
110098
+    LOCAL_INCLUDES += [
110099
+        "/third_party/pipewire/"
110100
+    ]
110101
 
110102
 if CONFIG["TARGET_CPU"] == "x86_64":
110103
 
109905
 
110104
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
109906
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
110105
+    DEFINES["WEBRTC_USE_PIPEWIRE"] = True
110106
 
109907
 
110107
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
109908
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
110108
-
109909
-
Lines 110123-110138 index affa5998b64e..0fbfe6858f2a 100644 Link Here
110123
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
109924
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
110124
-
109925
-
110125
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
109926
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
110126
+    LOCAL_INCLUDES += [
109927
-
110127
+        "/third_party/pipewire/"
110128
+    ]
110129
 
110130
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
109928
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
110131
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
109929
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
110132
 
109930
 
110133
     DEFINES["USE_X11"] = "1"
109931
     DEFINES["USE_X11"] = "1"
110134
 
109932
 
110135
@@ -233,46 +110,4 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
109933
@@ -224,26 +83,4 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
110136
         "Xrender"
109934
         "Xrender"
110137
     ]
109935
     ]
110138
 
109936
 
Lines 110144-110181 index affa5998b64e..0fbfe6858f2a 100644 Link Here
110144
-
109942
-
110145
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
109943
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
110146
-
109944
-
110147
-    DEFINES["WEBRTC_USE_PIPEWIRE"] = True
110148
-    DEFINES["_GNU_SOURCE"] = True
109945
-    DEFINES["_GNU_SOURCE"] = True
110149
-
109946
-
110150
-    LOCAL_INCLUDES += [
110151
-        "/third_party/pipewire/"
110152
-    ]
110153
-
110154
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
109947
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
110155
-
109948
-
110156
-    DEFINES["WEBRTC_USE_PIPEWIRE"] = True
110157
-    DEFINES["_GNU_SOURCE"] = True
109949
-    DEFINES["_GNU_SOURCE"] = True
110158
-
109950
-
110159
-    LOCAL_INCLUDES += [
110160
-        "/third_party/pipewire/"
110161
-    ]
110162
-
110163
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
109951
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
110164
-
109952
-
110165
-    DEFINES["WEBRTC_USE_PIPEWIRE"] = True
110166
-    DEFINES["_GNU_SOURCE"] = True
109953
-    DEFINES["_GNU_SOURCE"] = True
110167
-
109954
-
110168
-    LOCAL_INCLUDES += [
110169
-        "/third_party/pipewire/"
110170
-    ]
110171
-
110172
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
109955
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
110173
-
109956
-
110174
-    DEFINES["WEBRTC_USE_PIPEWIRE"] = True
110175
-    DEFINES["_GNU_SOURCE"] = True
109957
-    DEFINES["_GNU_SOURCE"] = True
110176
-
110177
-    LOCAL_INCLUDES += [
110178
-        "/third_party/pipewire/"
110179
-    ]
110180
-
109958
-
110181
 Library("webrtc_gn")
109959
 Library("webrtc_gn")
(-)b/www/librewolf/files/patch-third__party_sqlite3_ext_sqlite-vec_sqlite-vec.c (+15 lines)
Added Link Here
1
diff --git third_party/sqlite3/ext/sqlite-vec/sqlite-vec.c third_party/sqlite3/ext/sqlite-vec/sqlite-vec.c
2
index 96612e26d385..c43c46136bef 100644
3
--- third_party/sqlite3/ext/sqlite-vec/sqlite-vec.c
4
+++ third_party/sqlite3/ext/sqlite-vec/sqlite-vec.c
5
@@ -11,6 +11,10 @@
6
 #include <stdlib.h>
7
 #include <string.h>
8
 
9
+#ifdef __FreeBSD__
10
+#include <sys/types.h>
11
+#endif
12
+
13
 #ifndef SQLITE_VEC_OMIT_FS
14
 #include <stdio.h>
15
 #endif
(-)b/www/librewolf/files/patch-toolkit_xre_nsEmbedFunctions.cpp (-1 / +17 lines)
Added Link Here
0
- 
1
diff --git toolkit/xre/nsEmbedFunctions.cpp toolkit/xre/nsEmbedFunctions.cpp
2
index 9ce6af94637c..44165558f7ec 100644
3
--- toolkit/xre/nsEmbedFunctions.cpp
4
+++ toolkit/xre/nsEmbedFunctions.cpp
5
@@ -360,10 +360,12 @@ nsresult XRE_InitChildProcess(int aArgc, char* aArgv[],
6
           static_cast<CrashReporter::ProcessId>(*crashHelperPidArg);
7
 #endif  // defined(XP_LINUX) && !defined(MOZ_WIDGET_ANDROID)
8
 
9
+#if !defined(XP_FREEBSD)
10
       exceptionHandlerIsSet = CrashReporter::SetRemoteExceptionHandler(
11
           std::move(*crashReporterArg), crashHelperPid);
12
       MOZ_ASSERT(exceptionHandlerIsSet,
13
                  "Should have been able to set remote exception handler");
14
+#endif
15
 
16
       if (!exceptionHandlerIsSet) {
17
         // Bug 684322 will add better visibility into this condition

Return to bug 287141