View | Details | Raw Unified | Return to bug 275521 | Differences between
and this patch

Collapse All | Expand All

(-)b/www/librewolf/Makefile (-2 / +1 lines)
Lines 1-6 Link Here
1
PORTNAME=	librewolf
1
PORTNAME=	librewolf
2
DISTVERSION=	117.0.1-1
2
DISTVERSION=	120.0.1
3
PORTREVISION=	2
4
CATEGORIES=	www wayland
3
CATEGORIES=	www wayland
5
MASTER_SITES=	https://gitlab.com/api/v4/projects/32320088/packages/generic/librewolf-source/${DISTVERSION:R}-1/
4
MASTER_SITES=	https://gitlab.com/api/v4/projects/32320088/packages/generic/librewolf-source/${DISTVERSION:R}-1/
6
DISTNAME=	${PORTNAME}-${DISTVERSION:R}-1.source.
5
DISTNAME=	${PORTNAME}-${DISTVERSION:R}-1.source.
(-)b/www/librewolf/distinfo (-3 / +3 lines)
Lines 1-5 Link Here
1
TIMESTAMP = 1696616618
1
TIMESTAMP = 1701533441
2
SHA256 (librewolf-117.0-1.source.tar.gz) = 446e9479547dceda58cbcdc2f9f503539086ddb193c8b1206b7c736cd56e44c3
2
SHA256 (librewolf-120.0-1.source.tar.gz) = 9654cf9ee9083193b5e4311c136735c23a834cba740fc65dd7da72c790119283
3
SIZE (librewolf-117.0-1.source.tar.gz) = 903353725
3
SIZE (librewolf-120.0-1.source.tar.gz) = 939472740
4
SHA256 (patches/unity_kde/unity-menubar.patch?inline=false) = ff6e224ed0eb3c9d4c3ae92acd9cd04d750e0bcc6be1fa64ccc1317abcc13711
4
SHA256 (patches/unity_kde/unity-menubar.patch?inline=false) = ff6e224ed0eb3c9d4c3ae92acd9cd04d750e0bcc6be1fa64ccc1317abcc13711
5
SIZE (patches/unity_kde/unity-menubar.patch?inline=false) = 163548
5
SIZE (patches/unity_kde/unity-menubar.patch?inline=false) = 163548
(-)b/www/librewolf/files/patch-libwebrtc-generated (-1134 / +1710 lines)
Lines 1-11 Link Here
1
commit 0aac9b2c295097dbef4d85302845196eaf9c9d60
1
commit 7f6be72c2d5b9ddb298305edbc5bb9fc1e7a4475
2
Author: Christoph Moench-Tegeder <cmt@FreeBSD.org>
2
Author: Christoph Moench-Tegeder <cmt@FreeBSD.org>
3
Date:   Sat Aug 19 19:46:49 2023 +0000
4
3
5
    regenerate FreeBSD libwebrtc patch for Firefox 117
4
    regenerate FreeBSD libwebrtc patch for Firefox 120
6
5
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
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
8
index aa958f70420c..e6a2d969a1fd 100644
7
index cf60c534b8df..e6a2d969a1fd 100644
9
--- third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
8
--- third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
10
+++ third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
9
+++ third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
11
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
10
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 29-35 index aa958f70420c..e6a2d969a1fd 100644 Link Here
29
 
28
 
30
 FINAL_LIBRARY = "webrtc"
29
 FINAL_LIBRARY = "webrtc"
31
 
30
 
32
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
31
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
33
 if CONFIG["MOZ_DEBUG"] == "1":
32
 if CONFIG["MOZ_DEBUG"] == "1":
34
 
33
 
35
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
34
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 94-99 index aa958f70420c..e6a2d969a1fd 100644 Link Here
94
-    DEFINES["NOMINMAX"] = True
93
-    DEFINES["NOMINMAX"] = True
95
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
94
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
96
-    DEFINES["PSAPI_VERSION"] = "2"
95
-    DEFINES["PSAPI_VERSION"] = "2"
96
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
97
-    DEFINES["UNICODE"] = True
97
-    DEFINES["UNICODE"] = True
98
-    DEFINES["USE_AURA"] = "1"
98
-    DEFINES["USE_AURA"] = "1"
99
-    DEFINES["WEBRTC_WIN"] = True
99
-    DEFINES["WEBRTC_WIN"] = True
Lines 216-222 index aa958f70420c..e6a2d969a1fd 100644 Link Here
216
 
216
 
217
 Library("resource_adaptation_api_gn")
217
 Library("resource_adaptation_api_gn")
218
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
219
index e453cb8585d0..552c7e77985a 100644
219
index d8f3d9bc8f6f..552c7e77985a 100644
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
+++ third_party/libwebrtc/api/array_view_gn/moz.build
222
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
222
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 240-246 index e453cb8585d0..552c7e77985a 100644 Link Here
240
 
240
 
241
 FINAL_LIBRARY = "webrtc"
241
 FINAL_LIBRARY = "webrtc"
242
 
242
 
243
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
243
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
244
 if CONFIG["MOZ_DEBUG"] == "1":
244
 if CONFIG["MOZ_DEBUG"] == "1":
245
 
245
 
246
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
246
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 305-310 index e453cb8585d0..552c7e77985a 100644 Link Here
305
-    DEFINES["NOMINMAX"] = True
305
-    DEFINES["NOMINMAX"] = True
306
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
306
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
307
-    DEFINES["PSAPI_VERSION"] = "2"
307
-    DEFINES["PSAPI_VERSION"] = "2"
308
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
308
-    DEFINES["UNICODE"] = True
309
-    DEFINES["UNICODE"] = True
309
-    DEFINES["USE_AURA"] = "1"
310
-    DEFINES["USE_AURA"] = "1"
310
-    DEFINES["WEBRTC_WIN"] = True
311
-    DEFINES["WEBRTC_WIN"] = True
Lines 349-355 index e453cb8585d0..552c7e77985a 100644 Link Here
349
 
350
 
350
 if CONFIG["CPU_ARCH"] == "x86":
351
 if CONFIG["CPU_ARCH"] == "x86":
351
 
352
 
352
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
353
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
353
 
354
 
354
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
355
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
355
 
356
 
Lines 409-415 index e453cb8585d0..552c7e77985a 100644 Link Here
409
-
410
-
410
 Library("array_view_gn")
411
 Library("array_view_gn")
411
diff --git third_party/libwebrtc/api/audio/aec3_config_gn/moz.build third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
412
diff --git third_party/libwebrtc/api/audio/aec3_config_gn/moz.build third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
412
index c2d256488d9b..1b3eb3a6acb6 100644
413
index d79aa2f0200c..1b3eb3a6acb6 100644
413
--- third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
414
--- third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
414
+++ third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
415
+++ third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
415
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
416
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 433-439 index c2d256488d9b..1b3eb3a6acb6 100644 Link Here
433
 
434
 
434
 FINAL_LIBRARY = "webrtc"
435
 FINAL_LIBRARY = "webrtc"
435
 
436
 
436
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
437
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
437
 if CONFIG["MOZ_DEBUG"] == "1":
438
 if CONFIG["MOZ_DEBUG"] == "1":
438
 
439
 
439
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
440
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 498-503 index c2d256488d9b..1b3eb3a6acb6 100644 Link Here
498
-    DEFINES["NOMINMAX"] = True
499
-    DEFINES["NOMINMAX"] = True
499
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
500
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
500
-    DEFINES["PSAPI_VERSION"] = "2"
501
-    DEFINES["PSAPI_VERSION"] = "2"
502
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
501
-    DEFINES["UNICODE"] = True
503
-    DEFINES["UNICODE"] = True
502
-    DEFINES["USE_AURA"] = "1"
504
-    DEFINES["USE_AURA"] = "1"
503
-    DEFINES["WEBRTC_WIN"] = True
505
-    DEFINES["WEBRTC_WIN"] = True
Lines 620-626 index c2d256488d9b..1b3eb3a6acb6 100644 Link Here
620
 
622
 
621
 Library("aec3_config_gn")
623
 Library("aec3_config_gn")
622
diff --git third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
624
diff --git third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
623
index ecd28a700696..4e5509d7162d 100644
625
index 2c211f384b72..f9c2d536b5d3 100644
624
--- third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
626
--- third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
625
+++ third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
627
+++ third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
626
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
628
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
Lines 629-635 index ecd28a700696..4e5509d7162d 100644 Link Here
629
 DEFINES["RTC_ENABLE_VP9"] = True
631
 DEFINES["RTC_ENABLE_VP9"] = True
630
+DEFINES["USE_GLIB"] = "1"
632
+DEFINES["USE_GLIB"] = "1"
631
+DEFINES["USE_OZONE"] = "1"
633
+DEFINES["USE_OZONE"] = "1"
632
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "0"
634
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
633
+DEFINES["WEBRTC_BSD"] = True
635
+DEFINES["WEBRTC_BSD"] = True
634
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
636
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
635
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
637
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
Lines 645-651 index ecd28a700696..4e5509d7162d 100644 Link Here
645
 
647
 
646
 FINAL_LIBRARY = "webrtc"
648
 FINAL_LIBRARY = "webrtc"
647
 
649
 
648
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
650
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
649
 if CONFIG["MOZ_DEBUG"] == "1":
651
 if CONFIG["MOZ_DEBUG"] == "1":
650
 
652
 
651
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
653
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 714-719 index ecd28a700696..4e5509d7162d 100644 Link Here
714
-    DEFINES["NOMINMAX"] = True
716
-    DEFINES["NOMINMAX"] = True
715
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
717
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
716
-    DEFINES["PSAPI_VERSION"] = "2"
718
-    DEFINES["PSAPI_VERSION"] = "2"
719
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
717
-    DEFINES["UNICODE"] = True
720
-    DEFINES["UNICODE"] = True
718
-    DEFINES["USE_AURA"] = "1"
721
-    DEFINES["USE_AURA"] = "1"
719
-    DEFINES["WEBRTC_WIN"] = True
722
-    DEFINES["WEBRTC_WIN"] = True
Lines 843-849 index ecd28a700696..4e5509d7162d 100644 Link Here
843
 
846
 
844
 Library("aec3_factory_gn")
847
 Library("aec3_factory_gn")
845
diff --git third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
848
diff --git third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
846
index 6fac266c7368..ce2f85ba66dc 100644
849
index 9248b91c2d92..ce2f85ba66dc 100644
847
--- third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
850
--- third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
848
+++ third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
851
+++ third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
849
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
852
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 867-873 index 6fac266c7368..ce2f85ba66dc 100644 Link Here
867
 
870
 
868
 FINAL_LIBRARY = "webrtc"
871
 FINAL_LIBRARY = "webrtc"
869
 
872
 
870
@@ -44,183 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
873
@@ -44,184 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
871
 if CONFIG["MOZ_DEBUG"] == "1":
874
 if CONFIG["MOZ_DEBUG"] == "1":
872
 
875
 
873
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
876
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 932-937 index 6fac266c7368..ce2f85ba66dc 100644 Link Here
932
-    DEFINES["NOMINMAX"] = True
935
-    DEFINES["NOMINMAX"] = True
933
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
936
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
934
-    DEFINES["PSAPI_VERSION"] = "2"
937
-    DEFINES["PSAPI_VERSION"] = "2"
938
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
935
-    DEFINES["UNICODE"] = True
939
-    DEFINES["UNICODE"] = True
936
-    DEFINES["USE_AURA"] = "1"
940
-    DEFINES["USE_AURA"] = "1"
937
-    DEFINES["WEBRTC_WIN"] = True
941
-    DEFINES["WEBRTC_WIN"] = True
Lines 1058-1064 index 6fac266c7368..ce2f85ba66dc 100644 Link Here
1058
 
1062
 
1059
 Library("audio_frame_api_gn")
1063
 Library("audio_frame_api_gn")
1060
diff --git third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build
1064
diff --git third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build
1061
index 1732aa7d0c9a..a6098a248028 100644
1065
index cb3495a89e19..a6098a248028 100644
1062
--- third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build
1066
--- third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build
1063
+++ third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build
1067
+++ third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build
1064
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
1068
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 1082-1088 index 1732aa7d0c9a..a6098a248028 100644 Link Here
1082
 
1086
 
1083
 FINAL_LIBRARY = "webrtc"
1087
 FINAL_LIBRARY = "webrtc"
1084
 
1088
 
1085
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
1089
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
1086
 if CONFIG["MOZ_DEBUG"] == "1":
1090
 if CONFIG["MOZ_DEBUG"] == "1":
1087
 
1091
 
1088
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
1092
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 1143-1148 index 1732aa7d0c9a..a6098a248028 100644 Link Here
1143
-    DEFINES["NOMINMAX"] = True
1147
-    DEFINES["NOMINMAX"] = True
1144
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
1148
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
1145
-    DEFINES["PSAPI_VERSION"] = "2"
1149
-    DEFINES["PSAPI_VERSION"] = "2"
1150
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
1146
-    DEFINES["UNICODE"] = True
1151
-    DEFINES["UNICODE"] = True
1147
-    DEFINES["USE_AURA"] = "1"
1152
-    DEFINES["USE_AURA"] = "1"
1148
-    DEFINES["WEBRTC_WIN"] = True
1153
-    DEFINES["WEBRTC_WIN"] = True
Lines 1187-1193 index 1732aa7d0c9a..a6098a248028 100644 Link Here
1187
 
1192
 
1188
 if CONFIG["CPU_ARCH"] == "x86":
1193
 if CONFIG["CPU_ARCH"] == "x86":
1189
 
1194
 
1190
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
1195
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
1191
 
1196
 
1192
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
1197
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
1193
 
1198
 
Lines 1247-1253 index 1732aa7d0c9a..a6098a248028 100644 Link Here
1247
-
1252
-
1248
 Library("audio_frame_processor_gn")
1253
 Library("audio_frame_processor_gn")
1249
diff --git third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build
1254
diff --git third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build
1250
index 4eac2aa4b4f4..2df8ddd20ca2 100644
1255
index 0ef13b0f4588..2df8ddd20ca2 100644
1251
--- third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build
1256
--- third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build
1252
+++ third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build
1257
+++ third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build
1253
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
1258
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 1271-1277 index 4eac2aa4b4f4..2df8ddd20ca2 100644 Link Here
1271
 
1276
 
1272
 FINAL_LIBRARY = "webrtc"
1277
 FINAL_LIBRARY = "webrtc"
1273
 
1278
 
1274
@@ -39,111 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
1279
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
1275
 if CONFIG["MOZ_DEBUG"] == "1":
1280
 if CONFIG["MOZ_DEBUG"] == "1":
1276
 
1281
 
1277
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
1282
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 1336-1341 index 4eac2aa4b4f4..2df8ddd20ca2 100644 Link Here
1336
-    DEFINES["NOMINMAX"] = True
1341
-    DEFINES["NOMINMAX"] = True
1337
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
1342
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
1338
-    DEFINES["PSAPI_VERSION"] = "2"
1343
-    DEFINES["PSAPI_VERSION"] = "2"
1344
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
1339
-    DEFINES["UNICODE"] = True
1345
-    DEFINES["UNICODE"] = True
1340
-    DEFINES["USE_AURA"] = "1"
1346
-    DEFINES["USE_AURA"] = "1"
1341
-    DEFINES["WEBRTC_WIN"] = True
1347
-    DEFINES["WEBRTC_WIN"] = True
Lines 1384-1390 index 4eac2aa4b4f4..2df8ddd20ca2 100644 Link Here
1384
 
1390
 
1385
 if CONFIG["CPU_ARCH"] == "x86":
1391
 if CONFIG["CPU_ARCH"] == "x86":
1386
 
1392
 
1387
@@ -153,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
1393
@@ -154,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
1388
 
1394
 
1389
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
1395
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
1390
 
1396
 
Lines 1444-1450 index 4eac2aa4b4f4..2df8ddd20ca2 100644 Link Here
1444
-
1450
-
1445
 Library("audio_mixer_api_gn")
1451
 Library("audio_mixer_api_gn")
1446
diff --git third_party/libwebrtc/api/audio/echo_control_gn/moz.build third_party/libwebrtc/api/audio/echo_control_gn/moz.build
1452
diff --git third_party/libwebrtc/api/audio/echo_control_gn/moz.build third_party/libwebrtc/api/audio/echo_control_gn/moz.build
1447
index 2e128f80386d..6e4054510c88 100644
1453
index 81070090281f..6e4054510c88 100644
1448
--- third_party/libwebrtc/api/audio/echo_control_gn/moz.build
1454
--- third_party/libwebrtc/api/audio/echo_control_gn/moz.build
1449
+++ third_party/libwebrtc/api/audio/echo_control_gn/moz.build
1455
+++ third_party/libwebrtc/api/audio/echo_control_gn/moz.build
1450
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
1456
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 1468-1474 index 2e128f80386d..6e4054510c88 100644 Link Here
1468
 
1474
 
1469
 FINAL_LIBRARY = "webrtc"
1475
 FINAL_LIBRARY = "webrtc"
1470
 
1476
 
1471
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
1477
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
1472
 if CONFIG["MOZ_DEBUG"] == "1":
1478
 if CONFIG["MOZ_DEBUG"] == "1":
1473
 
1479
 
1474
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
1480
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 1533-1538 index 2e128f80386d..6e4054510c88 100644 Link Here
1533
-    DEFINES["NOMINMAX"] = True
1539
-    DEFINES["NOMINMAX"] = True
1534
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
1540
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
1535
-    DEFINES["PSAPI_VERSION"] = "2"
1541
-    DEFINES["PSAPI_VERSION"] = "2"
1542
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
1536
-    DEFINES["UNICODE"] = True
1543
-    DEFINES["UNICODE"] = True
1537
-    DEFINES["USE_AURA"] = "1"
1544
-    DEFINES["USE_AURA"] = "1"
1538
-    DEFINES["WEBRTC_WIN"] = True
1545
-    DEFINES["WEBRTC_WIN"] = True
Lines 1577-1583 index 2e128f80386d..6e4054510c88 100644 Link Here
1577
 
1584
 
1578
 if CONFIG["CPU_ARCH"] == "x86":
1585
 if CONFIG["CPU_ARCH"] == "x86":
1579
 
1586
 
1580
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
1587
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
1581
 
1588
 
1582
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
1589
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
1583
 
1590
 
Lines 1637-1643 index 2e128f80386d..6e4054510c88 100644 Link Here
1637
-
1644
-
1638
 Library("echo_control_gn")
1645
 Library("echo_control_gn")
1639
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
1646
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
1640
index 87335c298d63..9f1caaa8645d 100644
1647
index ff00330a684c..9f1caaa8645d 100644
1641
--- third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build
1648
--- third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build
1642
+++ third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build
1649
+++ third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build
1643
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
1650
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 1661-1667 index 87335c298d63..9f1caaa8645d 100644 Link Here
1661
 
1668
 
1662
 FINAL_LIBRARY = "webrtc"
1669
 FINAL_LIBRARY = "webrtc"
1663
 
1670
 
1664
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
1671
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
1665
 if CONFIG["MOZ_DEBUG"] == "1":
1672
 if CONFIG["MOZ_DEBUG"] == "1":
1666
 
1673
 
1667
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
1674
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 1726-1731 index 87335c298d63..9f1caaa8645d 100644 Link Here
1726
-    DEFINES["NOMINMAX"] = True
1733
-    DEFINES["NOMINMAX"] = True
1727
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
1734
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
1728
-    DEFINES["PSAPI_VERSION"] = "2"
1735
-    DEFINES["PSAPI_VERSION"] = "2"
1736
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
1729
-    DEFINES["UNICODE"] = True
1737
-    DEFINES["UNICODE"] = True
1730
-    DEFINES["USE_AURA"] = "1"
1738
-    DEFINES["USE_AURA"] = "1"
1731
-    DEFINES["WEBRTC_WIN"] = True
1739
-    DEFINES["WEBRTC_WIN"] = True
Lines 1852-1858 index 87335c298d63..9f1caaa8645d 100644 Link Here
1852
 
1860
 
1853
 Library("audio_decoder_L16_gn")
1861
 Library("audio_decoder_L16_gn")
1854
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
1862
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
1855
index 49e0d546f1ce..57de72563f2e 100644
1863
index ee8f51ccb440..57de72563f2e 100644
1856
--- third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build
1864
--- third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build
1857
+++ third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build
1865
+++ third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build
1858
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
1866
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 1876-1882 index 49e0d546f1ce..57de72563f2e 100644 Link Here
1876
 
1884
 
1877
 FINAL_LIBRARY = "webrtc"
1885
 FINAL_LIBRARY = "webrtc"
1878
 
1886
 
1879
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
1887
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
1880
 if CONFIG["MOZ_DEBUG"] == "1":
1888
 if CONFIG["MOZ_DEBUG"] == "1":
1881
 
1889
 
1882
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
1890
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 1941-1946 index 49e0d546f1ce..57de72563f2e 100644 Link Here
1941
-    DEFINES["NOMINMAX"] = True
1949
-    DEFINES["NOMINMAX"] = True
1942
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
1950
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
1943
-    DEFINES["PSAPI_VERSION"] = "2"
1951
-    DEFINES["PSAPI_VERSION"] = "2"
1952
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
1944
-    DEFINES["UNICODE"] = True
1953
-    DEFINES["UNICODE"] = True
1945
-    DEFINES["USE_AURA"] = "1"
1954
-    DEFINES["USE_AURA"] = "1"
1946
-    DEFINES["WEBRTC_WIN"] = True
1955
-    DEFINES["WEBRTC_WIN"] = True
Lines 2067-2073 index 49e0d546f1ce..57de72563f2e 100644 Link Here
2067
 
2076
 
2068
 Library("audio_encoder_L16_gn")
2077
 Library("audio_encoder_L16_gn")
2069
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
2078
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
2070
index 846946073ee1..0a34d8fdda8a 100644
2079
index e9984fe360ce..0a34d8fdda8a 100644
2071
--- third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build
2080
--- third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build
2072
+++ third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build
2081
+++ third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build
2073
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
2082
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 2091-2097 index 846946073ee1..0a34d8fdda8a 100644 Link Here
2091
 
2100
 
2092
 FINAL_LIBRARY = "webrtc"
2101
 FINAL_LIBRARY = "webrtc"
2093
 
2102
 
2094
@@ -46,183 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
2103
@@ -46,184 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
2095
 if CONFIG["MOZ_DEBUG"] == "1":
2104
 if CONFIG["MOZ_DEBUG"] == "1":
2096
 
2105
 
2097
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
2106
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 2156-2161 index 846946073ee1..0a34d8fdda8a 100644 Link Here
2156
-    DEFINES["NOMINMAX"] = True
2165
-    DEFINES["NOMINMAX"] = True
2157
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
2166
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
2158
-    DEFINES["PSAPI_VERSION"] = "2"
2167
-    DEFINES["PSAPI_VERSION"] = "2"
2168
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
2159
-    DEFINES["UNICODE"] = True
2169
-    DEFINES["UNICODE"] = True
2160
-    DEFINES["USE_AURA"] = "1"
2170
-    DEFINES["USE_AURA"] = "1"
2161
-    DEFINES["WEBRTC_WIN"] = True
2171
-    DEFINES["WEBRTC_WIN"] = True
Lines 2282-2288 index 846946073ee1..0a34d8fdda8a 100644 Link Here
2282
 
2292
 
2283
 Library("audio_codecs_api_gn")
2293
 Library("audio_codecs_api_gn")
2284
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
2294
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
2285
index 366307ea13d7..7ea300e23f2a 100644
2295
index c0f6570d24b9..7ea300e23f2a 100644
2286
--- third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build
2296
--- third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build
2287
+++ third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build
2297
+++ third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build
2288
@@ -12,13 +12,22 @@ AllowCompilerWarnings()
2298
@@ -12,13 +12,22 @@ AllowCompilerWarnings()
Lines 2308-2314 index 366307ea13d7..7ea300e23f2a 100644 Link Here
2308
 
2318
 
2309
 FINAL_LIBRARY = "webrtc"
2319
 FINAL_LIBRARY = "webrtc"
2310
 
2320
 
2311
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
2321
@@ -45,191 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
2312
 if CONFIG["MOZ_DEBUG"] == "1":
2322
 if CONFIG["MOZ_DEBUG"] == "1":
2313
 
2323
 
2314
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
2324
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 2377-2382 index 366307ea13d7..7ea300e23f2a 100644 Link Here
2377
-    DEFINES["NOMINMAX"] = True
2387
-    DEFINES["NOMINMAX"] = True
2378
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
2388
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
2379
-    DEFINES["PSAPI_VERSION"] = "2"
2389
-    DEFINES["PSAPI_VERSION"] = "2"
2390
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
2380
-    DEFINES["UNICODE"] = True
2391
-    DEFINES["UNICODE"] = True
2381
-    DEFINES["USE_AURA"] = "1"
2392
-    DEFINES["USE_AURA"] = "1"
2382
-    DEFINES["WEBRTC_WIN"] = True
2393
-    DEFINES["WEBRTC_WIN"] = True
Lines 2506-2512 index 366307ea13d7..7ea300e23f2a 100644 Link Here
2506
 
2517
 
2507
 Library("builtin_audio_decoder_factory_gn")
2518
 Library("builtin_audio_decoder_factory_gn")
2508
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
2519
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
2509
index db0e3fbe00d5..0818f76d7b90 100644
2520
index bb012a151a7c..0818f76d7b90 100644
2510
--- third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build
2521
--- third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build
2511
+++ third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build
2522
+++ third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build
2512
@@ -12,13 +12,22 @@ AllowCompilerWarnings()
2523
@@ -12,13 +12,22 @@ AllowCompilerWarnings()
Lines 2532-2538 index db0e3fbe00d5..0818f76d7b90 100644 Link Here
2532
 
2543
 
2533
 FINAL_LIBRARY = "webrtc"
2544
 FINAL_LIBRARY = "webrtc"
2534
 
2545
 
2535
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
2546
@@ -45,191 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
2536
 if CONFIG["MOZ_DEBUG"] == "1":
2547
 if CONFIG["MOZ_DEBUG"] == "1":
2537
 
2548
 
2538
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
2549
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 2601-2606 index db0e3fbe00d5..0818f76d7b90 100644 Link Here
2601
-    DEFINES["NOMINMAX"] = True
2612
-    DEFINES["NOMINMAX"] = True
2602
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
2613
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
2603
-    DEFINES["PSAPI_VERSION"] = "2"
2614
-    DEFINES["PSAPI_VERSION"] = "2"
2615
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
2604
-    DEFINES["UNICODE"] = True
2616
-    DEFINES["UNICODE"] = True
2605
-    DEFINES["USE_AURA"] = "1"
2617
-    DEFINES["USE_AURA"] = "1"
2606
-    DEFINES["WEBRTC_WIN"] = True
2618
-    DEFINES["WEBRTC_WIN"] = True
Lines 2730-2736 index db0e3fbe00d5..0818f76d7b90 100644 Link Here
2730
 
2742
 
2731
 Library("builtin_audio_encoder_factory_gn")
2743
 Library("builtin_audio_encoder_factory_gn")
2732
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
2744
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
2733
index 4782d01dd10f..588ec3b5b33b 100644
2745
index 2a3e692b812d..588ec3b5b33b 100644
2734
--- third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build
2746
--- third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build
2735
+++ third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build
2747
+++ third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build
2736
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
2748
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 2754-2760 index 4782d01dd10f..588ec3b5b33b 100644 Link Here
2754
 
2766
 
2755
 FINAL_LIBRARY = "webrtc"
2767
 FINAL_LIBRARY = "webrtc"
2756
 
2768
 
2757
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
2769
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
2758
 if CONFIG["MOZ_DEBUG"] == "1":
2770
 if CONFIG["MOZ_DEBUG"] == "1":
2759
 
2771
 
2760
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
2772
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 2819-2824 index 4782d01dd10f..588ec3b5b33b 100644 Link Here
2819
-    DEFINES["NOMINMAX"] = True
2831
-    DEFINES["NOMINMAX"] = True
2820
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
2832
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
2821
-    DEFINES["PSAPI_VERSION"] = "2"
2833
-    DEFINES["PSAPI_VERSION"] = "2"
2834
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
2822
-    DEFINES["UNICODE"] = True
2835
-    DEFINES["UNICODE"] = True
2823
-    DEFINES["USE_AURA"] = "1"
2836
-    DEFINES["USE_AURA"] = "1"
2824
-    DEFINES["WEBRTC_WIN"] = True
2837
-    DEFINES["WEBRTC_WIN"] = True
Lines 2945-2951 index 4782d01dd10f..588ec3b5b33b 100644 Link Here
2945
 
2958
 
2946
 Library("audio_decoder_g711_gn")
2959
 Library("audio_decoder_g711_gn")
2947
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
2960
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
2948
index c972978c13ef..20d76c5496fa 100644
2961
index 7f89c91164f6..20d76c5496fa 100644
2949
--- third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build
2962
--- third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build
2950
+++ third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build
2963
+++ third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build
2951
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
2964
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 2969-2975 index c972978c13ef..20d76c5496fa 100644 Link Here
2969
 
2982
 
2970
 FINAL_LIBRARY = "webrtc"
2983
 FINAL_LIBRARY = "webrtc"
2971
 
2984
 
2972
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
2985
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
2973
 if CONFIG["MOZ_DEBUG"] == "1":
2986
 if CONFIG["MOZ_DEBUG"] == "1":
2974
 
2987
 
2975
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
2988
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 3034-3039 index c972978c13ef..20d76c5496fa 100644 Link Here
3034
-    DEFINES["NOMINMAX"] = True
3047
-    DEFINES["NOMINMAX"] = True
3035
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
3048
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
3036
-    DEFINES["PSAPI_VERSION"] = "2"
3049
-    DEFINES["PSAPI_VERSION"] = "2"
3050
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
3037
-    DEFINES["UNICODE"] = True
3051
-    DEFINES["UNICODE"] = True
3038
-    DEFINES["USE_AURA"] = "1"
3052
-    DEFINES["USE_AURA"] = "1"
3039
-    DEFINES["WEBRTC_WIN"] = True
3053
-    DEFINES["WEBRTC_WIN"] = True
Lines 3160-3166 index c972978c13ef..20d76c5496fa 100644 Link Here
3160
 
3174
 
3161
 Library("audio_encoder_g711_gn")
3175
 Library("audio_encoder_g711_gn")
3162
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
3176
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
3163
index 77003c77a9dd..f738a9569a45 100644
3177
index 9dd0927ed536..f738a9569a45 100644
3164
--- third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build
3178
--- third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build
3165
+++ third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build
3179
+++ third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build
3166
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
3180
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 3184-3190 index 77003c77a9dd..f738a9569a45 100644 Link Here
3184
 
3198
 
3185
 FINAL_LIBRARY = "webrtc"
3199
 FINAL_LIBRARY = "webrtc"
3186
 
3200
 
3187
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
3201
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
3188
 if CONFIG["MOZ_DEBUG"] == "1":
3202
 if CONFIG["MOZ_DEBUG"] == "1":
3189
 
3203
 
3190
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
3204
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 3249-3254 index 77003c77a9dd..f738a9569a45 100644 Link Here
3249
-    DEFINES["NOMINMAX"] = True
3263
-    DEFINES["NOMINMAX"] = True
3250
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
3264
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
3251
-    DEFINES["PSAPI_VERSION"] = "2"
3265
-    DEFINES["PSAPI_VERSION"] = "2"
3266
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
3252
-    DEFINES["UNICODE"] = True
3267
-    DEFINES["UNICODE"] = True
3253
-    DEFINES["USE_AURA"] = "1"
3268
-    DEFINES["USE_AURA"] = "1"
3254
-    DEFINES["WEBRTC_WIN"] = True
3269
-    DEFINES["WEBRTC_WIN"] = True
Lines 3375-3381 index 77003c77a9dd..f738a9569a45 100644 Link Here
3375
 
3390
 
3376
 Library("audio_decoder_g722_gn")
3391
 Library("audio_decoder_g722_gn")
3377
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
3392
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
3378
index 41e1e248c525..2cc917d90aab 100644
3393
index 4ecf66bd1968..2cc917d90aab 100644
3379
--- third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build
3394
--- third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build
3380
+++ third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build
3395
+++ third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build
3381
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
3396
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 3399-3405 index 41e1e248c525..2cc917d90aab 100644 Link Here
3399
 
3414
 
3400
 FINAL_LIBRARY = "webrtc"
3415
 FINAL_LIBRARY = "webrtc"
3401
 
3416
 
3402
@@ -39,111 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
3417
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
3403
 if CONFIG["MOZ_DEBUG"] == "1":
3418
 if CONFIG["MOZ_DEBUG"] == "1":
3404
 
3419
 
3405
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
3420
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 3464-3469 index 41e1e248c525..2cc917d90aab 100644 Link Here
3464
-    DEFINES["NOMINMAX"] = True
3479
-    DEFINES["NOMINMAX"] = True
3465
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
3480
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
3466
-    DEFINES["PSAPI_VERSION"] = "2"
3481
-    DEFINES["PSAPI_VERSION"] = "2"
3482
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
3467
-    DEFINES["UNICODE"] = True
3483
-    DEFINES["UNICODE"] = True
3468
-    DEFINES["USE_AURA"] = "1"
3484
-    DEFINES["USE_AURA"] = "1"
3469
-    DEFINES["WEBRTC_WIN"] = True
3485
-    DEFINES["WEBRTC_WIN"] = True
Lines 3512-3518 index 41e1e248c525..2cc917d90aab 100644 Link Here
3512
 
3528
 
3513
 if CONFIG["CPU_ARCH"] == "x86":
3529
 if CONFIG["CPU_ARCH"] == "x86":
3514
 
3530
 
3515
@@ -153,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
3531
@@ -154,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
3516
 
3532
 
3517
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
3533
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
3518
 
3534
 
Lines 3572-3578 index 41e1e248c525..2cc917d90aab 100644 Link Here
3572
-
3588
-
3573
 Library("audio_encoder_g722_config_gn")
3589
 Library("audio_encoder_g722_config_gn")
3574
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
3590
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
3575
index c3beba6cdb78..8f13941e25c3 100644
3591
index 36bd517e0079..8f13941e25c3 100644
3576
--- third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build
3592
--- third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build
3577
+++ third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build
3593
+++ third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build
3578
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
3594
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 3596-3602 index c3beba6cdb78..8f13941e25c3 100644 Link Here
3596
 
3612
 
3597
 FINAL_LIBRARY = "webrtc"
3613
 FINAL_LIBRARY = "webrtc"
3598
 
3614
 
3599
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
3615
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
3600
 if CONFIG["MOZ_DEBUG"] == "1":
3616
 if CONFIG["MOZ_DEBUG"] == "1":
3601
 
3617
 
3602
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
3618
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 3661-3666 index c3beba6cdb78..8f13941e25c3 100644 Link Here
3661
-    DEFINES["NOMINMAX"] = True
3677
-    DEFINES["NOMINMAX"] = True
3662
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
3678
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
3663
-    DEFINES["PSAPI_VERSION"] = "2"
3679
-    DEFINES["PSAPI_VERSION"] = "2"
3680
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
3664
-    DEFINES["UNICODE"] = True
3681
-    DEFINES["UNICODE"] = True
3665
-    DEFINES["USE_AURA"] = "1"
3682
-    DEFINES["USE_AURA"] = "1"
3666
-    DEFINES["WEBRTC_WIN"] = True
3683
-    DEFINES["WEBRTC_WIN"] = True
Lines 3787-3793 index c3beba6cdb78..8f13941e25c3 100644 Link Here
3787
 
3804
 
3788
 Library("audio_encoder_g722_gn")
3805
 Library("audio_encoder_g722_gn")
3789
diff --git third_party/libwebrtc/api/audio_codecs/ilbc/audio_decoder_ilbc_gn/moz.build third_party/libwebrtc/api/audio_codecs/ilbc/audio_decoder_ilbc_gn/moz.build
3806
diff --git third_party/libwebrtc/api/audio_codecs/ilbc/audio_decoder_ilbc_gn/moz.build third_party/libwebrtc/api/audio_codecs/ilbc/audio_decoder_ilbc_gn/moz.build
3790
index 53e9d1a4a7ef..ada577bf55ee 100644
3807
index f02bb1035f05..ada577bf55ee 100644
3791
--- third_party/libwebrtc/api/audio_codecs/ilbc/audio_decoder_ilbc_gn/moz.build
3808
--- third_party/libwebrtc/api/audio_codecs/ilbc/audio_decoder_ilbc_gn/moz.build
3792
+++ third_party/libwebrtc/api/audio_codecs/ilbc/audio_decoder_ilbc_gn/moz.build
3809
+++ third_party/libwebrtc/api/audio_codecs/ilbc/audio_decoder_ilbc_gn/moz.build
3793
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
3810
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 3811-3817 index 53e9d1a4a7ef..ada577bf55ee 100644 Link Here
3811
 
3828
 
3812
 FINAL_LIBRARY = "webrtc"
3829
 FINAL_LIBRARY = "webrtc"
3813
 
3830
 
3814
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
3831
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
3815
 if CONFIG["MOZ_DEBUG"] == "1":
3832
 if CONFIG["MOZ_DEBUG"] == "1":
3816
 
3833
 
3817
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
3834
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 3880-3885 index 53e9d1a4a7ef..ada577bf55ee 100644 Link Here
3880
-    DEFINES["NOMINMAX"] = True
3897
-    DEFINES["NOMINMAX"] = True
3881
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
3898
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
3882
-    DEFINES["PSAPI_VERSION"] = "2"
3899
-    DEFINES["PSAPI_VERSION"] = "2"
3900
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
3883
-    DEFINES["UNICODE"] = True
3901
-    DEFINES["UNICODE"] = True
3884
-    DEFINES["USE_AURA"] = "1"
3902
-    DEFINES["USE_AURA"] = "1"
3885
-    DEFINES["WEBRTC_WIN"] = True
3903
-    DEFINES["WEBRTC_WIN"] = True
Lines 4009-4015 index 53e9d1a4a7ef..ada577bf55ee 100644 Link Here
4009
 
4027
 
4010
 Library("audio_decoder_ilbc_gn")
4028
 Library("audio_decoder_ilbc_gn")
4011
diff --git third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_config_gn/moz.build third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_config_gn/moz.build
4029
diff --git third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_config_gn/moz.build third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_config_gn/moz.build
4012
index 75737b8f19b0..008599051c34 100644
4030
index 28a357256253..008599051c34 100644
4013
--- third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_config_gn/moz.build
4031
--- third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_config_gn/moz.build
4014
+++ third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_config_gn/moz.build
4032
+++ third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_config_gn/moz.build
4015
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
4033
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 4033-4039 index 75737b8f19b0..008599051c34 100644 Link Here
4033
 
4051
 
4034
 FINAL_LIBRARY = "webrtc"
4052
 FINAL_LIBRARY = "webrtc"
4035
 
4053
 
4036
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
4054
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
4037
 if CONFIG["MOZ_DEBUG"] == "1":
4055
 if CONFIG["MOZ_DEBUG"] == "1":
4038
 
4056
 
4039
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
4057
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 4094-4099 index 75737b8f19b0..008599051c34 100644 Link Here
4094
-    DEFINES["NOMINMAX"] = True
4112
-    DEFINES["NOMINMAX"] = True
4095
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
4113
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
4096
-    DEFINES["PSAPI_VERSION"] = "2"
4114
-    DEFINES["PSAPI_VERSION"] = "2"
4115
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
4097
-    DEFINES["UNICODE"] = True
4116
-    DEFINES["UNICODE"] = True
4098
-    DEFINES["USE_AURA"] = "1"
4117
-    DEFINES["USE_AURA"] = "1"
4099
-    DEFINES["WEBRTC_WIN"] = True
4118
-    DEFINES["WEBRTC_WIN"] = True
Lines 4138-4144 index 75737b8f19b0..008599051c34 100644 Link Here
4138
 
4157
 
4139
 if CONFIG["CPU_ARCH"] == "x86":
4158
 if CONFIG["CPU_ARCH"] == "x86":
4140
 
4159
 
4141
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
4160
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
4142
 
4161
 
4143
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
4162
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
4144
 
4163
 
Lines 4198-4204 index 75737b8f19b0..008599051c34 100644 Link Here
4198
-
4217
-
4199
 Library("audio_encoder_ilbc_config_gn")
4218
 Library("audio_encoder_ilbc_config_gn")
4200
diff --git third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_gn/moz.build third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_gn/moz.build
4219
diff --git third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_gn/moz.build third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_gn/moz.build
4201
index bddfe4219301..5d2f4376ee92 100644
4220
index 97953a5df078..5d2f4376ee92 100644
4202
--- third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_gn/moz.build
4221
--- third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_gn/moz.build
4203
+++ third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_gn/moz.build
4222
+++ third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_gn/moz.build
4204
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
4223
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 4222-4228 index bddfe4219301..5d2f4376ee92 100644 Link Here
4222
 
4241
 
4223
 FINAL_LIBRARY = "webrtc"
4242
 FINAL_LIBRARY = "webrtc"
4224
 
4243
 
4225
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
4244
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
4226
 if CONFIG["MOZ_DEBUG"] == "1":
4245
 if CONFIG["MOZ_DEBUG"] == "1":
4227
 
4246
 
4228
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
4247
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 4291-4296 index bddfe4219301..5d2f4376ee92 100644 Link Here
4291
-    DEFINES["NOMINMAX"] = True
4310
-    DEFINES["NOMINMAX"] = True
4292
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
4311
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
4293
-    DEFINES["PSAPI_VERSION"] = "2"
4312
-    DEFINES["PSAPI_VERSION"] = "2"
4313
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
4294
-    DEFINES["UNICODE"] = True
4314
-    DEFINES["UNICODE"] = True
4295
-    DEFINES["USE_AURA"] = "1"
4315
-    DEFINES["USE_AURA"] = "1"
4296
-    DEFINES["WEBRTC_WIN"] = True
4316
-    DEFINES["WEBRTC_WIN"] = True
Lines 4420-4426 index bddfe4219301..5d2f4376ee92 100644 Link Here
4420
 
4440
 
4421
 Library("audio_encoder_ilbc_gn")
4441
 Library("audio_encoder_ilbc_gn")
4422
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
4442
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
4423
index 2b2bc6d9a7b7..fce4fdca7298 100644
4443
index 21c64c783062..fce4fdca7298 100644
4424
--- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build
4444
--- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build
4425
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build
4445
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build
4426
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
4446
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 4444-4450 index 2b2bc6d9a7b7..fce4fdca7298 100644 Link Here
4444
 
4464
 
4445
 FINAL_LIBRARY = "webrtc"
4465
 FINAL_LIBRARY = "webrtc"
4446
 
4466
 
4447
@@ -44,183 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
4467
@@ -44,184 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
4448
 if CONFIG["MOZ_DEBUG"] == "1":
4468
 if CONFIG["MOZ_DEBUG"] == "1":
4449
 
4469
 
4450
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
4470
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 4509-4514 index 2b2bc6d9a7b7..fce4fdca7298 100644 Link Here
4509
-    DEFINES["NOMINMAX"] = True
4529
-    DEFINES["NOMINMAX"] = True
4510
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
4530
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
4511
-    DEFINES["PSAPI_VERSION"] = "2"
4531
-    DEFINES["PSAPI_VERSION"] = "2"
4532
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
4512
-    DEFINES["UNICODE"] = True
4533
-    DEFINES["UNICODE"] = True
4513
-    DEFINES["USE_AURA"] = "1"
4534
-    DEFINES["USE_AURA"] = "1"
4514
-    DEFINES["WEBRTC_WIN"] = True
4535
-    DEFINES["WEBRTC_WIN"] = True
Lines 4635-4641 index 2b2bc6d9a7b7..fce4fdca7298 100644 Link Here
4635
 
4656
 
4636
 Library("audio_decoder_multiopus_gn")
4657
 Library("audio_decoder_multiopus_gn")
4637
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
4658
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
4638
index e2c470d5ee58..0c7b461dd94a 100644
4659
index 9b1098290596..0c7b461dd94a 100644
4639
--- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build
4660
--- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build
4640
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build
4661
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build
4641
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
4662
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 4659-4665 index e2c470d5ee58..0c7b461dd94a 100644 Link Here
4659
 
4680
 
4660
 FINAL_LIBRARY = "webrtc"
4681
 FINAL_LIBRARY = "webrtc"
4661
 
4682
 
4662
@@ -39,111 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
4683
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
4663
 if CONFIG["MOZ_DEBUG"] == "1":
4684
 if CONFIG["MOZ_DEBUG"] == "1":
4664
 
4685
 
4665
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
4686
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 4724-4729 index e2c470d5ee58..0c7b461dd94a 100644 Link Here
4724
-    DEFINES["NOMINMAX"] = True
4745
-    DEFINES["NOMINMAX"] = True
4725
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
4746
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
4726
-    DEFINES["PSAPI_VERSION"] = "2"
4747
-    DEFINES["PSAPI_VERSION"] = "2"
4748
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
4727
-    DEFINES["UNICODE"] = True
4749
-    DEFINES["UNICODE"] = True
4728
-    DEFINES["USE_AURA"] = "1"
4750
-    DEFINES["USE_AURA"] = "1"
4729
-    DEFINES["WEBRTC_WIN"] = True
4751
-    DEFINES["WEBRTC_WIN"] = True
Lines 4772-4778 index e2c470d5ee58..0c7b461dd94a 100644 Link Here
4772
 
4794
 
4773
 if CONFIG["CPU_ARCH"] == "x86":
4795
 if CONFIG["CPU_ARCH"] == "x86":
4774
 
4796
 
4775
@@ -153,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
4797
@@ -154,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
4776
 
4798
 
4777
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
4799
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
4778
 
4800
 
Lines 4832-4838 index e2c470d5ee58..0c7b461dd94a 100644 Link Here
4832
-
4854
-
4833
 Library("audio_decoder_opus_config_gn")
4855
 Library("audio_decoder_opus_config_gn")
4834
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
4856
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
4835
index 58e6355a5568..c40633ff9ee4 100644
4857
index 24625fb77d03..c40633ff9ee4 100644
4836
--- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build
4858
--- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build
4837
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build
4859
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build
4838
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
4860
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 4856-4862 index 58e6355a5568..c40633ff9ee4 100644 Link Here
4856
 
4878
 
4857
 FINAL_LIBRARY = "webrtc"
4879
 FINAL_LIBRARY = "webrtc"
4858
 
4880
 
4859
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
4881
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
4860
 if CONFIG["MOZ_DEBUG"] == "1":
4882
 if CONFIG["MOZ_DEBUG"] == "1":
4861
 
4883
 
4862
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
4884
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 4925-4930 index 58e6355a5568..c40633ff9ee4 100644 Link Here
4925
-    DEFINES["NOMINMAX"] = True
4947
-    DEFINES["NOMINMAX"] = True
4926
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
4948
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
4927
-    DEFINES["PSAPI_VERSION"] = "2"
4949
-    DEFINES["PSAPI_VERSION"] = "2"
4950
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
4928
-    DEFINES["UNICODE"] = True
4951
-    DEFINES["UNICODE"] = True
4929
-    DEFINES["USE_AURA"] = "1"
4952
-    DEFINES["USE_AURA"] = "1"
4930
-    DEFINES["WEBRTC_WIN"] = True
4953
-    DEFINES["WEBRTC_WIN"] = True
Lines 5054-5060 index 58e6355a5568..c40633ff9ee4 100644 Link Here
5054
 
5077
 
5055
 Library("audio_decoder_opus_gn")
5078
 Library("audio_decoder_opus_gn")
5056
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
5079
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
5057
index 91afd0a4e40a..27167f6f4829 100644
5080
index 2c2a46ea430d..27167f6f4829 100644
5058
--- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build
5081
--- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build
5059
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build
5082
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build
5060
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
5083
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 5078-5084 index 91afd0a4e40a..27167f6f4829 100644 Link Here
5078
 
5101
 
5079
 FINAL_LIBRARY = "webrtc"
5102
 FINAL_LIBRARY = "webrtc"
5080
 
5103
 
5081
@@ -44,183 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
5104
@@ -44,184 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
5082
 if CONFIG["MOZ_DEBUG"] == "1":
5105
 if CONFIG["MOZ_DEBUG"] == "1":
5083
 
5106
 
5084
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
5107
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 5143-5148 index 91afd0a4e40a..27167f6f4829 100644 Link Here
5143
-    DEFINES["NOMINMAX"] = True
5166
-    DEFINES["NOMINMAX"] = True
5144
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
5167
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
5145
-    DEFINES["PSAPI_VERSION"] = "2"
5168
-    DEFINES["PSAPI_VERSION"] = "2"
5169
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
5146
-    DEFINES["UNICODE"] = True
5170
-    DEFINES["UNICODE"] = True
5147
-    DEFINES["USE_AURA"] = "1"
5171
-    DEFINES["USE_AURA"] = "1"
5148
-    DEFINES["WEBRTC_WIN"] = True
5172
-    DEFINES["WEBRTC_WIN"] = True
Lines 5269-5275 index 91afd0a4e40a..27167f6f4829 100644 Link Here
5269
 
5293
 
5270
 Library("audio_encoder_multiopus_gn")
5294
 Library("audio_encoder_multiopus_gn")
5271
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
5295
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
5272
index 06732b48f469..0ccb94d1f9fb 100644
5296
index 5346ca5b1a16..0ccb94d1f9fb 100644
5273
--- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build
5297
--- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build
5274
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build
5298
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build
5275
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
5299
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
Lines 5294-5300 index 06732b48f469..0ccb94d1f9fb 100644 Link Here
5294
 
5318
 
5295
 FINAL_LIBRARY = "webrtc"
5319
 FINAL_LIBRARY = "webrtc"
5296
 
5320
 
5297
@@ -48,175 +57,32 @@ if not CONFIG["MOZ_DEBUG"]:
5321
@@ -48,176 +57,32 @@ if not CONFIG["MOZ_DEBUG"]:
5298
 if CONFIG["MOZ_DEBUG"] == "1":
5322
 if CONFIG["MOZ_DEBUG"] == "1":
5299
 
5323
 
5300
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
5324
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 5355-5360 index 06732b48f469..0ccb94d1f9fb 100644 Link Here
5355
-    DEFINES["NOMINMAX"] = True
5379
-    DEFINES["NOMINMAX"] = True
5356
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
5380
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
5357
-    DEFINES["PSAPI_VERSION"] = "2"
5381
-    DEFINES["PSAPI_VERSION"] = "2"
5382
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
5358
-    DEFINES["UNICODE"] = True
5383
-    DEFINES["UNICODE"] = True
5359
-    DEFINES["USE_AURA"] = "1"
5384
-    DEFINES["USE_AURA"] = "1"
5360
-    DEFINES["WEBRTC_WIN"] = True
5385
-    DEFINES["WEBRTC_WIN"] = True
Lines 5477-5483 index 06732b48f469..0ccb94d1f9fb 100644 Link Here
5477
 
5502
 
5478
 Library("audio_encoder_opus_config_gn")
5503
 Library("audio_encoder_opus_config_gn")
5479
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
5504
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
5480
index ab84d3f7559f..e4bcd225837a 100644
5505
index 09647c7b4de8..e4bcd225837a 100644
5481
--- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build
5506
--- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build
5482
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build
5507
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build
5483
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
5508
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 5501-5507 index ab84d3f7559f..e4bcd225837a 100644 Link Here
5501
 
5526
 
5502
 FINAL_LIBRARY = "webrtc"
5527
 FINAL_LIBRARY = "webrtc"
5503
 
5528
 
5504
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
5529
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
5505
 if CONFIG["MOZ_DEBUG"] == "1":
5530
 if CONFIG["MOZ_DEBUG"] == "1":
5506
 
5531
 
5507
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
5532
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 5570-5575 index ab84d3f7559f..e4bcd225837a 100644 Link Here
5570
-    DEFINES["NOMINMAX"] = True
5595
-    DEFINES["NOMINMAX"] = True
5571
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
5596
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
5572
-    DEFINES["PSAPI_VERSION"] = "2"
5597
-    DEFINES["PSAPI_VERSION"] = "2"
5598
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
5573
-    DEFINES["UNICODE"] = True
5599
-    DEFINES["UNICODE"] = True
5574
-    DEFINES["USE_AURA"] = "1"
5600
-    DEFINES["USE_AURA"] = "1"
5575
-    DEFINES["WEBRTC_WIN"] = True
5601
-    DEFINES["WEBRTC_WIN"] = True
Lines 5699-5705 index ab84d3f7559f..e4bcd225837a 100644 Link Here
5699
 
5725
 
5700
 Library("audio_encoder_opus_gn")
5726
 Library("audio_encoder_opus_gn")
5701
diff --git third_party/libwebrtc/api/audio_options_api_gn/moz.build third_party/libwebrtc/api/audio_options_api_gn/moz.build
5727
diff --git third_party/libwebrtc/api/audio_options_api_gn/moz.build third_party/libwebrtc/api/audio_options_api_gn/moz.build
5702
index 1b19c42e986c..8d416085b79b 100644
5728
index 9e2bb7030b2b..8d416085b79b 100644
5703
--- third_party/libwebrtc/api/audio_options_api_gn/moz.build
5729
--- third_party/libwebrtc/api/audio_options_api_gn/moz.build
5704
+++ third_party/libwebrtc/api/audio_options_api_gn/moz.build
5730
+++ third_party/libwebrtc/api/audio_options_api_gn/moz.build
5705
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
5731
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 5723-5729 index 1b19c42e986c..8d416085b79b 100644 Link Here
5723
 
5749
 
5724
 FINAL_LIBRARY = "webrtc"
5750
 FINAL_LIBRARY = "webrtc"
5725
 
5751
 
5726
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
5752
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
5727
 if CONFIG["MOZ_DEBUG"] == "1":
5753
 if CONFIG["MOZ_DEBUG"] == "1":
5728
 
5754
 
5729
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
5755
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 5788-5793 index 1b19c42e986c..8d416085b79b 100644 Link Here
5788
-    DEFINES["NOMINMAX"] = True
5814
-    DEFINES["NOMINMAX"] = True
5789
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
5815
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
5790
-    DEFINES["PSAPI_VERSION"] = "2"
5816
-    DEFINES["PSAPI_VERSION"] = "2"
5817
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
5791
-    DEFINES["UNICODE"] = True
5818
-    DEFINES["UNICODE"] = True
5792
-    DEFINES["USE_AURA"] = "1"
5819
-    DEFINES["USE_AURA"] = "1"
5793
-    DEFINES["WEBRTC_WIN"] = True
5820
-    DEFINES["WEBRTC_WIN"] = True
Lines 5910-5916 index 1b19c42e986c..8d416085b79b 100644 Link Here
5910
 
5937
 
5911
 Library("audio_options_api_gn")
5938
 Library("audio_options_api_gn")
5912
diff --git third_party/libwebrtc/api/bitrate_allocation_gn/moz.build third_party/libwebrtc/api/bitrate_allocation_gn/moz.build
5939
diff --git third_party/libwebrtc/api/bitrate_allocation_gn/moz.build third_party/libwebrtc/api/bitrate_allocation_gn/moz.build
5913
index a694eff03b3f..953d60cc35a0 100644
5940
index 28e30f3e79d7..953d60cc35a0 100644
5914
--- third_party/libwebrtc/api/bitrate_allocation_gn/moz.build
5941
--- third_party/libwebrtc/api/bitrate_allocation_gn/moz.build
5915
+++ third_party/libwebrtc/api/bitrate_allocation_gn/moz.build
5942
+++ third_party/libwebrtc/api/bitrate_allocation_gn/moz.build
5916
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
5943
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 5934-5940 index a694eff03b3f..953d60cc35a0 100644 Link Here
5934
 
5961
 
5935
 FINAL_LIBRARY = "webrtc"
5962
 FINAL_LIBRARY = "webrtc"
5936
 
5963
 
5937
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
5964
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
5938
 if CONFIG["MOZ_DEBUG"] == "1":
5965
 if CONFIG["MOZ_DEBUG"] == "1":
5939
 
5966
 
5940
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
5967
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 5999-6004 index a694eff03b3f..953d60cc35a0 100644 Link Here
5999
-    DEFINES["NOMINMAX"] = True
6026
-    DEFINES["NOMINMAX"] = True
6000
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
6027
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
6001
-    DEFINES["PSAPI_VERSION"] = "2"
6028
-    DEFINES["PSAPI_VERSION"] = "2"
6029
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
6002
-    DEFINES["UNICODE"] = True
6030
-    DEFINES["UNICODE"] = True
6003
-    DEFINES["USE_AURA"] = "1"
6031
-    DEFINES["USE_AURA"] = "1"
6004
-    DEFINES["WEBRTC_WIN"] = True
6032
-    DEFINES["WEBRTC_WIN"] = True
Lines 6043-6049 index a694eff03b3f..953d60cc35a0 100644 Link Here
6043
 
6071
 
6044
 if CONFIG["CPU_ARCH"] == "x86":
6072
 if CONFIG["CPU_ARCH"] == "x86":
6045
 
6073
 
6046
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
6074
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
6047
 
6075
 
6048
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
6076
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
6049
 
6077
 
Lines 6103-6109 index a694eff03b3f..953d60cc35a0 100644 Link Here
6103
-
6131
-
6104
 Library("bitrate_allocation_gn")
6132
 Library("bitrate_allocation_gn")
6105
diff --git third_party/libwebrtc/api/call_api_gn/moz.build third_party/libwebrtc/api/call_api_gn/moz.build
6133
diff --git third_party/libwebrtc/api/call_api_gn/moz.build third_party/libwebrtc/api/call_api_gn/moz.build
6106
index e446d8228025..8b21859a8adb 100644
6134
index 2094b105a2db..8b21859a8adb 100644
6107
--- third_party/libwebrtc/api/call_api_gn/moz.build
6135
--- third_party/libwebrtc/api/call_api_gn/moz.build
6108
+++ third_party/libwebrtc/api/call_api_gn/moz.build
6136
+++ third_party/libwebrtc/api/call_api_gn/moz.build
6109
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
6137
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 6127-6133 index e446d8228025..8b21859a8adb 100644 Link Here
6127
 
6155
 
6128
 FINAL_LIBRARY = "webrtc"
6156
 FINAL_LIBRARY = "webrtc"
6129
 
6157
 
6130
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
6158
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
6131
 if CONFIG["MOZ_DEBUG"] == "1":
6159
 if CONFIG["MOZ_DEBUG"] == "1":
6132
 
6160
 
6133
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
6161
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 6188-6193 index e446d8228025..8b21859a8adb 100644 Link Here
6188
-    DEFINES["NOMINMAX"] = True
6216
-    DEFINES["NOMINMAX"] = True
6189
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
6217
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
6190
-    DEFINES["PSAPI_VERSION"] = "2"
6218
-    DEFINES["PSAPI_VERSION"] = "2"
6219
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
6191
-    DEFINES["UNICODE"] = True
6220
-    DEFINES["UNICODE"] = True
6192
-    DEFINES["USE_AURA"] = "1"
6221
-    DEFINES["USE_AURA"] = "1"
6193
-    DEFINES["WEBRTC_WIN"] = True
6222
-    DEFINES["WEBRTC_WIN"] = True
Lines 6232-6238 index e446d8228025..8b21859a8adb 100644 Link Here
6232
 
6261
 
6233
 if CONFIG["CPU_ARCH"] == "x86":
6262
 if CONFIG["CPU_ARCH"] == "x86":
6234
 
6263
 
6235
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
6264
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
6236
 
6265
 
6237
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
6266
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
6238
 
6267
 
Lines 6292-6298 index e446d8228025..8b21859a8adb 100644 Link Here
6292
-
6321
-
6293
 Library("call_api_gn")
6322
 Library("call_api_gn")
6294
diff --git third_party/libwebrtc/api/callfactory_api_gn/moz.build third_party/libwebrtc/api/callfactory_api_gn/moz.build
6323
diff --git third_party/libwebrtc/api/callfactory_api_gn/moz.build third_party/libwebrtc/api/callfactory_api_gn/moz.build
6295
index b0f2bbbf3545..e51b0bd98f1a 100644
6324
index f676975bfa32..e51b0bd98f1a 100644
6296
--- third_party/libwebrtc/api/callfactory_api_gn/moz.build
6325
--- third_party/libwebrtc/api/callfactory_api_gn/moz.build
6297
+++ third_party/libwebrtc/api/callfactory_api_gn/moz.build
6326
+++ third_party/libwebrtc/api/callfactory_api_gn/moz.build
6298
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
6327
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 6316-6322 index b0f2bbbf3545..e51b0bd98f1a 100644 Link Here
6316
 
6345
 
6317
 FINAL_LIBRARY = "webrtc"
6346
 FINAL_LIBRARY = "webrtc"
6318
 
6347
 
6319
@@ -39,118 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
6348
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
6320
 if CONFIG["MOZ_DEBUG"] == "1":
6349
 if CONFIG["MOZ_DEBUG"] == "1":
6321
 
6350
 
6322
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
6351
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 6385-6390 index b0f2bbbf3545..e51b0bd98f1a 100644 Link Here
6385
-    DEFINES["NOMINMAX"] = True
6414
-    DEFINES["NOMINMAX"] = True
6386
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
6415
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
6387
-    DEFINES["PSAPI_VERSION"] = "2"
6416
-    DEFINES["PSAPI_VERSION"] = "2"
6417
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
6388
-    DEFINES["UNICODE"] = True
6418
-    DEFINES["UNICODE"] = True
6389
-    DEFINES["USE_AURA"] = "1"
6419
-    DEFINES["USE_AURA"] = "1"
6390
-    DEFINES["WEBRTC_WIN"] = True
6420
-    DEFINES["WEBRTC_WIN"] = True
Lines 6436-6442 index b0f2bbbf3545..e51b0bd98f1a 100644 Link Here
6436
 
6466
 
6437
 if CONFIG["CPU_ARCH"] == "x86":
6467
 if CONFIG["CPU_ARCH"] == "x86":
6438
 
6468
 
6439
@@ -160,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
6469
@@ -161,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
6440
 
6470
 
6441
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
6471
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
6442
 
6472
 
Lines 6496-6502 index b0f2bbbf3545..e51b0bd98f1a 100644 Link Here
6496
-
6526
-
6497
 Library("callfactory_api_gn")
6527
 Library("callfactory_api_gn")
6498
diff --git third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build
6528
diff --git third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build
6499
index 1ce4cdd00a59..16ee32317d2a 100644
6529
index 1c1515cdae84..16ee32317d2a 100644
6500
--- third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build
6530
--- third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build
6501
+++ third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build
6531
+++ third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build
6502
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
6532
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 6520-6526 index 1ce4cdd00a59..16ee32317d2a 100644 Link Here
6520
 
6550
 
6521
 FINAL_LIBRARY = "webrtc"
6551
 FINAL_LIBRARY = "webrtc"
6522
 
6552
 
6523
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
6553
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
6524
 if CONFIG["MOZ_DEBUG"] == "1":
6554
 if CONFIG["MOZ_DEBUG"] == "1":
6525
 
6555
 
6526
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
6556
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 6585-6590 index 1ce4cdd00a59..16ee32317d2a 100644 Link Here
6585
-    DEFINES["NOMINMAX"] = True
6615
-    DEFINES["NOMINMAX"] = True
6586
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
6616
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
6587
-    DEFINES["PSAPI_VERSION"] = "2"
6617
-    DEFINES["PSAPI_VERSION"] = "2"
6618
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
6588
-    DEFINES["UNICODE"] = True
6619
-    DEFINES["UNICODE"] = True
6589
-    DEFINES["USE_AURA"] = "1"
6620
-    DEFINES["USE_AURA"] = "1"
6590
-    DEFINES["WEBRTC_WIN"] = True
6621
-    DEFINES["WEBRTC_WIN"] = True
Lines 6629-6635 index 1ce4cdd00a59..16ee32317d2a 100644 Link Here
6629
 
6660
 
6630
 if CONFIG["CPU_ARCH"] == "x86":
6661
 if CONFIG["CPU_ARCH"] == "x86":
6631
 
6662
 
6632
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
6663
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
6633
 
6664
 
6634
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
6665
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
6635
 
6666
 
Lines 6689-6695 index 1ce4cdd00a59..16ee32317d2a 100644 Link Here
6689
-
6720
-
6690
 Library("frame_decryptor_interface_gn")
6721
 Library("frame_decryptor_interface_gn")
6691
diff --git third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build
6722
diff --git third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build
6692
index b8385d1daacd..0ee97ec6c218 100644
6723
index fc6892af6621..0ee97ec6c218 100644
6693
--- third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build
6724
--- third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build
6694
+++ third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build
6725
+++ third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build
6695
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
6726
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 6713-6719 index b8385d1daacd..0ee97ec6c218 100644 Link Here
6713
 
6744
 
6714
 FINAL_LIBRARY = "webrtc"
6745
 FINAL_LIBRARY = "webrtc"
6715
 
6746
 
6716
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
6747
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
6717
 if CONFIG["MOZ_DEBUG"] == "1":
6748
 if CONFIG["MOZ_DEBUG"] == "1":
6718
 
6749
 
6719
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
6750
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 6778-6783 index b8385d1daacd..0ee97ec6c218 100644 Link Here
6778
-    DEFINES["NOMINMAX"] = True
6809
-    DEFINES["NOMINMAX"] = True
6779
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
6810
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
6780
-    DEFINES["PSAPI_VERSION"] = "2"
6811
-    DEFINES["PSAPI_VERSION"] = "2"
6812
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
6781
-    DEFINES["UNICODE"] = True
6813
-    DEFINES["UNICODE"] = True
6782
-    DEFINES["USE_AURA"] = "1"
6814
-    DEFINES["USE_AURA"] = "1"
6783
-    DEFINES["WEBRTC_WIN"] = True
6815
-    DEFINES["WEBRTC_WIN"] = True
Lines 6822-6828 index b8385d1daacd..0ee97ec6c218 100644 Link Here
6822
 
6854
 
6823
 if CONFIG["CPU_ARCH"] == "x86":
6855
 if CONFIG["CPU_ARCH"] == "x86":
6824
 
6856
 
6825
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
6857
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
6826
 
6858
 
6827
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
6859
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
6828
 
6860
 
Lines 6882-6888 index b8385d1daacd..0ee97ec6c218 100644 Link Here
6882
-
6914
-
6883
 Library("frame_encryptor_interface_gn")
6915
 Library("frame_encryptor_interface_gn")
6884
diff --git third_party/libwebrtc/api/crypto/options_gn/moz.build third_party/libwebrtc/api/crypto/options_gn/moz.build
6916
diff --git third_party/libwebrtc/api/crypto/options_gn/moz.build third_party/libwebrtc/api/crypto/options_gn/moz.build
6885
index aee1983c3e76..c6ad466bcf88 100644
6917
index 252c6e021d12..c6ad466bcf88 100644
6886
--- third_party/libwebrtc/api/crypto/options_gn/moz.build
6918
--- third_party/libwebrtc/api/crypto/options_gn/moz.build
6887
+++ third_party/libwebrtc/api/crypto/options_gn/moz.build
6919
+++ third_party/libwebrtc/api/crypto/options_gn/moz.build
6888
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
6920
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 6906-6912 index aee1983c3e76..c6ad466bcf88 100644 Link Here
6906
 
6938
 
6907
 FINAL_LIBRARY = "webrtc"
6939
 FINAL_LIBRARY = "webrtc"
6908
 
6940
 
6909
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
6941
@@ -43,176 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
6910
 if CONFIG["MOZ_DEBUG"] == "1":
6942
 if CONFIG["MOZ_DEBUG"] == "1":
6911
 
6943
 
6912
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
6944
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 6967-6972 index aee1983c3e76..c6ad466bcf88 100644 Link Here
6967
-    DEFINES["NOMINMAX"] = True
6999
-    DEFINES["NOMINMAX"] = True
6968
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
7000
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
6969
-    DEFINES["PSAPI_VERSION"] = "2"
7001
-    DEFINES["PSAPI_VERSION"] = "2"
7002
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
6970
-    DEFINES["UNICODE"] = True
7003
-    DEFINES["UNICODE"] = True
6971
-    DEFINES["USE_AURA"] = "1"
7004
-    DEFINES["USE_AURA"] = "1"
6972
-    DEFINES["WEBRTC_WIN"] = True
7005
-    DEFINES["WEBRTC_WIN"] = True
Lines 7089-7095 index aee1983c3e76..c6ad466bcf88 100644 Link Here
7089
 
7122
 
7090
 Library("options_gn")
7123
 Library("options_gn")
7091
diff --git third_party/libwebrtc/api/fec_controller_api_gn/moz.build third_party/libwebrtc/api/fec_controller_api_gn/moz.build
7124
diff --git third_party/libwebrtc/api/fec_controller_api_gn/moz.build third_party/libwebrtc/api/fec_controller_api_gn/moz.build
7092
index 014e7fe571aa..0e340edaa9b8 100644
7125
index 8f7d88432678..0e340edaa9b8 100644
7093
--- third_party/libwebrtc/api/fec_controller_api_gn/moz.build
7126
--- third_party/libwebrtc/api/fec_controller_api_gn/moz.build
7094
+++ third_party/libwebrtc/api/fec_controller_api_gn/moz.build
7127
+++ third_party/libwebrtc/api/fec_controller_api_gn/moz.build
7095
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
7128
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 7113-7119 index 014e7fe571aa..0e340edaa9b8 100644 Link Here
7113
 
7146
 
7114
 FINAL_LIBRARY = "webrtc"
7147
 FINAL_LIBRARY = "webrtc"
7115
 
7148
 
7116
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
7149
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
7117
 if CONFIG["MOZ_DEBUG"] == "1":
7150
 if CONFIG["MOZ_DEBUG"] == "1":
7118
 
7151
 
7119
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
7152
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 7174-7179 index 014e7fe571aa..0e340edaa9b8 100644 Link Here
7174
-    DEFINES["NOMINMAX"] = True
7207
-    DEFINES["NOMINMAX"] = True
7175
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
7208
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
7176
-    DEFINES["PSAPI_VERSION"] = "2"
7209
-    DEFINES["PSAPI_VERSION"] = "2"
7210
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
7177
-    DEFINES["UNICODE"] = True
7211
-    DEFINES["UNICODE"] = True
7178
-    DEFINES["USE_AURA"] = "1"
7212
-    DEFINES["USE_AURA"] = "1"
7179
-    DEFINES["WEBRTC_WIN"] = True
7213
-    DEFINES["WEBRTC_WIN"] = True
Lines 7218-7224 index 014e7fe571aa..0e340edaa9b8 100644 Link Here
7218
 
7252
 
7219
 if CONFIG["CPU_ARCH"] == "x86":
7253
 if CONFIG["CPU_ARCH"] == "x86":
7220
 
7254
 
7221
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
7255
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
7222
 
7256
 
7223
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
7257
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
7224
 
7258
 
Lines 7278-7284 index 014e7fe571aa..0e340edaa9b8 100644 Link Here
7278
-
7312
-
7279
 Library("fec_controller_api_gn")
7313
 Library("fec_controller_api_gn")
7280
diff --git third_party/libwebrtc/api/field_trials_registry_gn/moz.build third_party/libwebrtc/api/field_trials_registry_gn/moz.build
7314
diff --git third_party/libwebrtc/api/field_trials_registry_gn/moz.build third_party/libwebrtc/api/field_trials_registry_gn/moz.build
7281
index f8884b4cd26a..bb3da46c855c 100644
7315
index e105574d498d..bb3da46c855c 100644
7282
--- third_party/libwebrtc/api/field_trials_registry_gn/moz.build
7316
--- third_party/libwebrtc/api/field_trials_registry_gn/moz.build
7283
+++ third_party/libwebrtc/api/field_trials_registry_gn/moz.build
7317
+++ third_party/libwebrtc/api/field_trials_registry_gn/moz.build
7284
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
7318
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 7302-7308 index f8884b4cd26a..bb3da46c855c 100644 Link Here
7302
 
7336
 
7303
 FINAL_LIBRARY = "webrtc"
7337
 FINAL_LIBRARY = "webrtc"
7304
 
7338
 
7305
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
7339
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
7306
 if CONFIG["MOZ_DEBUG"] == "1":
7340
 if CONFIG["MOZ_DEBUG"] == "1":
7307
 
7341
 
7308
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
7342
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 7367-7372 index f8884b4cd26a..bb3da46c855c 100644 Link Here
7367
-    DEFINES["NOMINMAX"] = True
7401
-    DEFINES["NOMINMAX"] = True
7368
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
7402
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
7369
-    DEFINES["PSAPI_VERSION"] = "2"
7403
-    DEFINES["PSAPI_VERSION"] = "2"
7404
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
7370
-    DEFINES["UNICODE"] = True
7405
-    DEFINES["UNICODE"] = True
7371
-    DEFINES["USE_AURA"] = "1"
7406
-    DEFINES["USE_AURA"] = "1"
7372
-    DEFINES["WEBRTC_WIN"] = True
7407
-    DEFINES["WEBRTC_WIN"] = True
Lines 7493-7499 index f8884b4cd26a..bb3da46c855c 100644 Link Here
7493
 
7528
 
7494
 Library("field_trials_registry_gn")
7529
 Library("field_trials_registry_gn")
7495
diff --git third_party/libwebrtc/api/field_trials_view_gn/moz.build third_party/libwebrtc/api/field_trials_view_gn/moz.build
7530
diff --git third_party/libwebrtc/api/field_trials_view_gn/moz.build third_party/libwebrtc/api/field_trials_view_gn/moz.build
7496
index 2c7f147d4afb..3078bdae753b 100644
7531
index 39a6ff80e8c9..3078bdae753b 100644
7497
--- third_party/libwebrtc/api/field_trials_view_gn/moz.build
7532
--- third_party/libwebrtc/api/field_trials_view_gn/moz.build
7498
+++ third_party/libwebrtc/api/field_trials_view_gn/moz.build
7533
+++ third_party/libwebrtc/api/field_trials_view_gn/moz.build
7499
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
7534
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 7517-7523 index 2c7f147d4afb..3078bdae753b 100644 Link Here
7517
 
7552
 
7518
 FINAL_LIBRARY = "webrtc"
7553
 FINAL_LIBRARY = "webrtc"
7519
 
7554
 
7520
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
7555
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
7521
 if CONFIG["MOZ_DEBUG"] == "1":
7556
 if CONFIG["MOZ_DEBUG"] == "1":
7522
 
7557
 
7523
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
7558
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 7578-7583 index 2c7f147d4afb..3078bdae753b 100644 Link Here
7578
-    DEFINES["NOMINMAX"] = True
7613
-    DEFINES["NOMINMAX"] = True
7579
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
7614
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
7580
-    DEFINES["PSAPI_VERSION"] = "2"
7615
-    DEFINES["PSAPI_VERSION"] = "2"
7616
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
7581
-    DEFINES["UNICODE"] = True
7617
-    DEFINES["UNICODE"] = True
7582
-    DEFINES["USE_AURA"] = "1"
7618
-    DEFINES["USE_AURA"] = "1"
7583
-    DEFINES["WEBRTC_WIN"] = True
7619
-    DEFINES["WEBRTC_WIN"] = True
Lines 7622-7628 index 2c7f147d4afb..3078bdae753b 100644 Link Here
7622
 
7658
 
7623
 if CONFIG["CPU_ARCH"] == "x86":
7659
 if CONFIG["CPU_ARCH"] == "x86":
7624
 
7660
 
7625
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
7661
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
7626
 
7662
 
7627
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
7663
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
7628
 
7664
 
Lines 7682-7688 index 2c7f147d4afb..3078bdae753b 100644 Link Here
7682
-
7718
-
7683
 Library("field_trials_view_gn")
7719
 Library("field_trials_view_gn")
7684
diff --git third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
7720
diff --git third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
7685
index 885c8437ae88..43b4eeb1d4f0 100644
7721
index ef81027714d8..43b4eeb1d4f0 100644
7686
--- third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
7722
--- third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
7687
+++ third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
7723
+++ third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
7688
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
7724
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 7706-7712 index 885c8437ae88..43b4eeb1d4f0 100644 Link Here
7706
 
7742
 
7707
 FINAL_LIBRARY = "webrtc"
7743
 FINAL_LIBRARY = "webrtc"
7708
 
7744
 
7709
@@ -39,118 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
7745
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
7710
 if CONFIG["MOZ_DEBUG"] == "1":
7746
 if CONFIG["MOZ_DEBUG"] == "1":
7711
 
7747
 
7712
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
7748
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 7775-7780 index 885c8437ae88..43b4eeb1d4f0 100644 Link Here
7775
-    DEFINES["NOMINMAX"] = True
7811
-    DEFINES["NOMINMAX"] = True
7776
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
7812
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
7777
-    DEFINES["PSAPI_VERSION"] = "2"
7813
-    DEFINES["PSAPI_VERSION"] = "2"
7814
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
7778
-    DEFINES["UNICODE"] = True
7815
-    DEFINES["UNICODE"] = True
7779
-    DEFINES["USE_AURA"] = "1"
7816
-    DEFINES["USE_AURA"] = "1"
7780
-    DEFINES["WEBRTC_WIN"] = True
7817
-    DEFINES["WEBRTC_WIN"] = True
Lines 7826-7832 index 885c8437ae88..43b4eeb1d4f0 100644 Link Here
7826
 
7863
 
7827
 if CONFIG["CPU_ARCH"] == "x86":
7864
 if CONFIG["CPU_ARCH"] == "x86":
7828
 
7865
 
7829
@@ -160,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
7866
@@ -161,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
7830
 
7867
 
7831
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
7868
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
7832
 
7869
 
Lines 7886-7892 index 885c8437ae88..43b4eeb1d4f0 100644 Link Here
7886
-
7923
-
7887
 Library("frame_transformer_interface_gn")
7924
 Library("frame_transformer_interface_gn")
7888
diff --git third_party/libwebrtc/api/function_view_gn/moz.build third_party/libwebrtc/api/function_view_gn/moz.build
7925
diff --git third_party/libwebrtc/api/function_view_gn/moz.build third_party/libwebrtc/api/function_view_gn/moz.build
7889
index 59ebc4ae7ad2..53144eed7f3b 100644
7926
index 9acc4015af79..53144eed7f3b 100644
7890
--- third_party/libwebrtc/api/function_view_gn/moz.build
7927
--- third_party/libwebrtc/api/function_view_gn/moz.build
7891
+++ third_party/libwebrtc/api/function_view_gn/moz.build
7928
+++ third_party/libwebrtc/api/function_view_gn/moz.build
7892
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
7929
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 7910-7916 index 59ebc4ae7ad2..53144eed7f3b 100644 Link Here
7910
 
7947
 
7911
 FINAL_LIBRARY = "webrtc"
7948
 FINAL_LIBRARY = "webrtc"
7912
 
7949
 
7913
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
7950
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
7914
 if CONFIG["MOZ_DEBUG"] == "1":
7951
 if CONFIG["MOZ_DEBUG"] == "1":
7915
 
7952
 
7916
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
7953
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 7975-7980 index 59ebc4ae7ad2..53144eed7f3b 100644 Link Here
7975
-    DEFINES["NOMINMAX"] = True
8012
-    DEFINES["NOMINMAX"] = True
7976
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
8013
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
7977
-    DEFINES["PSAPI_VERSION"] = "2"
8014
-    DEFINES["PSAPI_VERSION"] = "2"
8015
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
7978
-    DEFINES["UNICODE"] = True
8016
-    DEFINES["UNICODE"] = True
7979
-    DEFINES["USE_AURA"] = "1"
8017
-    DEFINES["USE_AURA"] = "1"
7980
-    DEFINES["WEBRTC_WIN"] = True
8018
-    DEFINES["WEBRTC_WIN"] = True
Lines 8019-8025 index 59ebc4ae7ad2..53144eed7f3b 100644 Link Here
8019
 
8057
 
8020
 if CONFIG["CPU_ARCH"] == "x86":
8058
 if CONFIG["CPU_ARCH"] == "x86":
8021
 
8059
 
8022
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
8060
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
8023
 
8061
 
8024
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
8062
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
8025
 
8063
 
Lines 8079-8085 index 59ebc4ae7ad2..53144eed7f3b 100644 Link Here
8079
-
8117
-
8080
 Library("function_view_gn")
8118
 Library("function_view_gn")
8081
diff --git third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build
8119
diff --git third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build
8082
index 5e41eca1b72c..a918a1104b37 100644
8120
index 708cabfc90c4..a918a1104b37 100644
8083
--- third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build
8121
--- third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build
8084
+++ third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build
8122
+++ third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build
8085
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
8123
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 8103-8109 index 5e41eca1b72c..a918a1104b37 100644 Link Here
8103
 
8141
 
8104
 FINAL_LIBRARY = "webrtc"
8142
 FINAL_LIBRARY = "webrtc"
8105
 
8143
 
8106
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
8144
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
8107
 if CONFIG["MOZ_DEBUG"] == "1":
8145
 if CONFIG["MOZ_DEBUG"] == "1":
8108
 
8146
 
8109
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
8147
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 8164-8169 index 5e41eca1b72c..a918a1104b37 100644 Link Here
8164
-    DEFINES["NOMINMAX"] = True
8202
-    DEFINES["NOMINMAX"] = True
8165
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
8203
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
8166
-    DEFINES["PSAPI_VERSION"] = "2"
8204
-    DEFINES["PSAPI_VERSION"] = "2"
8205
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
8167
-    DEFINES["UNICODE"] = True
8206
-    DEFINES["UNICODE"] = True
8168
-    DEFINES["USE_AURA"] = "1"
8207
-    DEFINES["USE_AURA"] = "1"
8169
-    DEFINES["WEBRTC_WIN"] = True
8208
-    DEFINES["WEBRTC_WIN"] = True
Lines 8208-8214 index 5e41eca1b72c..a918a1104b37 100644 Link Here
8208
 
8247
 
8209
 if CONFIG["CPU_ARCH"] == "x86":
8248
 if CONFIG["CPU_ARCH"] == "x86":
8210
 
8249
 
8211
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
8250
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
8212
 
8251
 
8213
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
8252
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
8214
 
8253
 
Lines 8268-8274 index 5e41eca1b72c..a918a1104b37 100644 Link Here
8268
-
8307
-
8269
 Library("jingle_logging_api_gn")
8308
 Library("jingle_logging_api_gn")
8270
diff --git third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build
8309
diff --git third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build
8271
index 579b7f164b6a..bdbc0d078b7f 100644
8310
index ed1b2f9cf11c..bdbc0d078b7f 100644
8272
--- third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build
8311
--- third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build
8273
+++ third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build
8312
+++ third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build
8274
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
8313
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 8292-8298 index 579b7f164b6a..bdbc0d078b7f 100644 Link Here
8292
 
8331
 
8293
 FINAL_LIBRARY = "webrtc"
8332
 FINAL_LIBRARY = "webrtc"
8294
 
8333
 
8295
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
8334
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
8296
 if CONFIG["MOZ_DEBUG"] == "1":
8335
 if CONFIG["MOZ_DEBUG"] == "1":
8297
 
8336
 
8298
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
8337
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 8353-8358 index 579b7f164b6a..bdbc0d078b7f 100644 Link Here
8353
-    DEFINES["NOMINMAX"] = True
8392
-    DEFINES["NOMINMAX"] = True
8354
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
8393
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
8355
-    DEFINES["PSAPI_VERSION"] = "2"
8394
-    DEFINES["PSAPI_VERSION"] = "2"
8395
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
8356
-    DEFINES["UNICODE"] = True
8396
-    DEFINES["UNICODE"] = True
8357
-    DEFINES["USE_AURA"] = "1"
8397
-    DEFINES["USE_AURA"] = "1"
8358
-    DEFINES["WEBRTC_WIN"] = True
8398
-    DEFINES["WEBRTC_WIN"] = True
Lines 8397-8403 index 579b7f164b6a..bdbc0d078b7f 100644 Link Here
8397
 
8437
 
8398
 if CONFIG["CPU_ARCH"] == "x86":
8438
 if CONFIG["CPU_ARCH"] == "x86":
8399
 
8439
 
8400
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
8440
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
8401
 
8441
 
8402
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
8442
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
8403
 
8443
 
Lines 8457-8463 index 579b7f164b6a..bdbc0d078b7f 100644 Link Here
8457
-
8497
-
8458
 Library("jingle_peerconnection_api_gn")
8498
 Library("jingle_peerconnection_api_gn")
8459
diff --git third_party/libwebrtc/api/location_gn/moz.build third_party/libwebrtc/api/location_gn/moz.build
8499
diff --git third_party/libwebrtc/api/location_gn/moz.build third_party/libwebrtc/api/location_gn/moz.build
8460
index 434406691e4c..0251460ee9f6 100644
8500
index d6d7c4901a0a..0251460ee9f6 100644
8461
--- third_party/libwebrtc/api/location_gn/moz.build
8501
--- third_party/libwebrtc/api/location_gn/moz.build
8462
+++ third_party/libwebrtc/api/location_gn/moz.build
8502
+++ third_party/libwebrtc/api/location_gn/moz.build
8463
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
8503
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 8481-8487 index 434406691e4c..0251460ee9f6 100644 Link Here
8481
 
8521
 
8482
 FINAL_LIBRARY = "webrtc"
8522
 FINAL_LIBRARY = "webrtc"
8483
 
8523
 
8484
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
8524
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
8485
 if CONFIG["MOZ_DEBUG"] == "1":
8525
 if CONFIG["MOZ_DEBUG"] == "1":
8486
 
8526
 
8487
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
8527
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 8542-8547 index 434406691e4c..0251460ee9f6 100644 Link Here
8542
-    DEFINES["NOMINMAX"] = True
8582
-    DEFINES["NOMINMAX"] = True
8543
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
8583
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
8544
-    DEFINES["PSAPI_VERSION"] = "2"
8584
-    DEFINES["PSAPI_VERSION"] = "2"
8585
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
8545
-    DEFINES["UNICODE"] = True
8586
-    DEFINES["UNICODE"] = True
8546
-    DEFINES["USE_AURA"] = "1"
8587
-    DEFINES["USE_AURA"] = "1"
8547
-    DEFINES["WEBRTC_WIN"] = True
8588
-    DEFINES["WEBRTC_WIN"] = True
Lines 8586-8592 index 434406691e4c..0251460ee9f6 100644 Link Here
8586
 
8627
 
8587
 if CONFIG["CPU_ARCH"] == "x86":
8628
 if CONFIG["CPU_ARCH"] == "x86":
8588
 
8629
 
8589
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
8630
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
8590
 
8631
 
8591
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
8632
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
8592
 
8633
 
Lines 8646-8652 index 434406691e4c..0251460ee9f6 100644 Link Here
8646
-
8687
-
8647
 Library("location_gn")
8688
 Library("location_gn")
8648
diff --git third_party/libwebrtc/api/make_ref_counted_gn/moz.build third_party/libwebrtc/api/make_ref_counted_gn/moz.build
8689
diff --git third_party/libwebrtc/api/make_ref_counted_gn/moz.build third_party/libwebrtc/api/make_ref_counted_gn/moz.build
8649
index 8b3a500acb00..2565408ce87a 100644
8690
index 289b08052239..2565408ce87a 100644
8650
--- third_party/libwebrtc/api/make_ref_counted_gn/moz.build
8691
--- third_party/libwebrtc/api/make_ref_counted_gn/moz.build
8651
+++ third_party/libwebrtc/api/make_ref_counted_gn/moz.build
8692
+++ third_party/libwebrtc/api/make_ref_counted_gn/moz.build
8652
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
8693
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 8670-8676 index 8b3a500acb00..2565408ce87a 100644 Link Here
8670
 
8711
 
8671
 FINAL_LIBRARY = "webrtc"
8712
 FINAL_LIBRARY = "webrtc"
8672
 
8713
 
8673
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
8714
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
8674
 if CONFIG["MOZ_DEBUG"] == "1":
8715
 if CONFIG["MOZ_DEBUG"] == "1":
8675
 
8716
 
8676
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
8717
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 8731-8736 index 8b3a500acb00..2565408ce87a 100644 Link Here
8731
-    DEFINES["NOMINMAX"] = True
8772
-    DEFINES["NOMINMAX"] = True
8732
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
8773
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
8733
-    DEFINES["PSAPI_VERSION"] = "2"
8774
-    DEFINES["PSAPI_VERSION"] = "2"
8775
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
8734
-    DEFINES["UNICODE"] = True
8776
-    DEFINES["UNICODE"] = True
8735
-    DEFINES["USE_AURA"] = "1"
8777
-    DEFINES["USE_AURA"] = "1"
8736
-    DEFINES["WEBRTC_WIN"] = True
8778
-    DEFINES["WEBRTC_WIN"] = True
Lines 8775-8781 index 8b3a500acb00..2565408ce87a 100644 Link Here
8775
 
8817
 
8776
 if CONFIG["CPU_ARCH"] == "x86":
8818
 if CONFIG["CPU_ARCH"] == "x86":
8777
 
8819
 
8778
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
8820
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
8779
 
8821
 
8780
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
8822
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
8781
 
8823
 
Lines 8835-8841 index 8b3a500acb00..2565408ce87a 100644 Link Here
8835
-
8877
-
8836
 Library("make_ref_counted_gn")
8878
 Library("make_ref_counted_gn")
8837
diff --git third_party/libwebrtc/api/media_stream_interface_gn/moz.build third_party/libwebrtc/api/media_stream_interface_gn/moz.build
8879
diff --git third_party/libwebrtc/api/media_stream_interface_gn/moz.build third_party/libwebrtc/api/media_stream_interface_gn/moz.build
8838
index b80f10168f55..7aea55ea197a 100644
8880
index 0f053a0e9732..7aea55ea197a 100644
8839
--- third_party/libwebrtc/api/media_stream_interface_gn/moz.build
8881
--- third_party/libwebrtc/api/media_stream_interface_gn/moz.build
8840
+++ third_party/libwebrtc/api/media_stream_interface_gn/moz.build
8882
+++ third_party/libwebrtc/api/media_stream_interface_gn/moz.build
8841
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
8883
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 8859-8865 index b80f10168f55..7aea55ea197a 100644 Link Here
8859
 
8901
 
8860
 FINAL_LIBRARY = "webrtc"
8902
 FINAL_LIBRARY = "webrtc"
8861
 
8903
 
8862
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
8904
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
8863
 if CONFIG["MOZ_DEBUG"] == "1":
8905
 if CONFIG["MOZ_DEBUG"] == "1":
8864
 
8906
 
8865
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
8907
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 8924-8929 index b80f10168f55..7aea55ea197a 100644 Link Here
8924
-    DEFINES["NOMINMAX"] = True
8966
-    DEFINES["NOMINMAX"] = True
8925
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
8967
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
8926
-    DEFINES["PSAPI_VERSION"] = "2"
8968
-    DEFINES["PSAPI_VERSION"] = "2"
8969
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
8927
-    DEFINES["UNICODE"] = True
8970
-    DEFINES["UNICODE"] = True
8928
-    DEFINES["USE_AURA"] = "1"
8971
-    DEFINES["USE_AURA"] = "1"
8929
-    DEFINES["WEBRTC_WIN"] = True
8972
-    DEFINES["WEBRTC_WIN"] = True
Lines 9050-9056 index b80f10168f55..7aea55ea197a 100644 Link Here
9050
 
9093
 
9051
 Library("media_stream_interface_gn")
9094
 Library("media_stream_interface_gn")
9052
diff --git third_party/libwebrtc/api/metronome/metronome_gn/moz.build third_party/libwebrtc/api/metronome/metronome_gn/moz.build
9095
diff --git third_party/libwebrtc/api/metronome/metronome_gn/moz.build third_party/libwebrtc/api/metronome/metronome_gn/moz.build
9053
index dce0ca43192e..9559599c7097 100644
9096
index e1a50bdc44b3..9559599c7097 100644
9054
--- third_party/libwebrtc/api/metronome/metronome_gn/moz.build
9097
--- third_party/libwebrtc/api/metronome/metronome_gn/moz.build
9055
+++ third_party/libwebrtc/api/metronome/metronome_gn/moz.build
9098
+++ third_party/libwebrtc/api/metronome/metronome_gn/moz.build
9056
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
9099
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 9074-9080 index dce0ca43192e..9559599c7097 100644 Link Here
9074
 
9117
 
9075
 FINAL_LIBRARY = "webrtc"
9118
 FINAL_LIBRARY = "webrtc"
9076
 
9119
 
9077
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
9120
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
9078
 if CONFIG["MOZ_DEBUG"] == "1":
9121
 if CONFIG["MOZ_DEBUG"] == "1":
9079
 
9122
 
9080
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
9123
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 9139-9144 index dce0ca43192e..9559599c7097 100644 Link Here
9139
-    DEFINES["NOMINMAX"] = True
9182
-    DEFINES["NOMINMAX"] = True
9140
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
9183
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
9141
-    DEFINES["PSAPI_VERSION"] = "2"
9184
-    DEFINES["PSAPI_VERSION"] = "2"
9185
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
9142
-    DEFINES["UNICODE"] = True
9186
-    DEFINES["UNICODE"] = True
9143
-    DEFINES["USE_AURA"] = "1"
9187
-    DEFINES["USE_AURA"] = "1"
9144
-    DEFINES["WEBRTC_WIN"] = True
9188
-    DEFINES["WEBRTC_WIN"] = True
Lines 9183-9189 index dce0ca43192e..9559599c7097 100644 Link Here
9183
 
9227
 
9184
 if CONFIG["CPU_ARCH"] == "x86":
9228
 if CONFIG["CPU_ARCH"] == "x86":
9185
 
9229
 
9186
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
9230
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
9187
 
9231
 
9188
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
9232
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
9189
 
9233
 
Lines 9243-9249 index dce0ca43192e..9559599c7097 100644 Link Here
9243
-
9287
-
9244
 Library("metronome_gn")
9288
 Library("metronome_gn")
9245
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
9289
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
9246
index 273be80f73aa..3def73b6e920 100644
9290
index 2b2a9624b435..3def73b6e920 100644
9247
--- third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build
9291
--- third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build
9248
+++ third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build
9292
+++ third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build
9249
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
9293
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 9267-9273 index 273be80f73aa..3def73b6e920 100644 Link Here
9267
 
9311
 
9268
 FINAL_LIBRARY = "webrtc"
9312
 FINAL_LIBRARY = "webrtc"
9269
 
9313
 
9270
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
9314
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
9271
 if CONFIG["MOZ_DEBUG"] == "1":
9315
 if CONFIG["MOZ_DEBUG"] == "1":
9272
 
9316
 
9273
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
9317
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 9336-9341 index 273be80f73aa..3def73b6e920 100644 Link Here
9336
-    DEFINES["NOMINMAX"] = True
9380
-    DEFINES["NOMINMAX"] = True
9337
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
9381
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
9338
-    DEFINES["PSAPI_VERSION"] = "2"
9382
-    DEFINES["PSAPI_VERSION"] = "2"
9383
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
9339
-    DEFINES["UNICODE"] = True
9384
-    DEFINES["UNICODE"] = True
9340
-    DEFINES["USE_AURA"] = "1"
9385
-    DEFINES["USE_AURA"] = "1"
9341
-    DEFINES["WEBRTC_WIN"] = True
9386
-    DEFINES["WEBRTC_WIN"] = True
Lines 9465-9471 index 273be80f73aa..3def73b6e920 100644 Link Here
9465
 
9510
 
9466
 Library("default_neteq_controller_factory_gn")
9511
 Library("default_neteq_controller_factory_gn")
9467
diff --git third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build
9512
diff --git third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build
9468
index f06937f581eb..909633162ae6 100644
9513
index c41da3b9396f..909633162ae6 100644
9469
--- third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build
9514
--- third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build
9470
+++ third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build
9515
+++ third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build
9471
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
9516
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 9489-9495 index f06937f581eb..909633162ae6 100644 Link Here
9489
 
9534
 
9490
 FINAL_LIBRARY = "webrtc"
9535
 FINAL_LIBRARY = "webrtc"
9491
 
9536
 
9492
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
9537
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
9493
 if CONFIG["MOZ_DEBUG"] == "1":
9538
 if CONFIG["MOZ_DEBUG"] == "1":
9494
 
9539
 
9495
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
9540
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 9558-9563 index f06937f581eb..909633162ae6 100644 Link Here
9558
-    DEFINES["NOMINMAX"] = True
9603
-    DEFINES["NOMINMAX"] = True
9559
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
9604
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
9560
-    DEFINES["PSAPI_VERSION"] = "2"
9605
-    DEFINES["PSAPI_VERSION"] = "2"
9606
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
9561
-    DEFINES["UNICODE"] = True
9607
-    DEFINES["UNICODE"] = True
9562
-    DEFINES["USE_AURA"] = "1"
9608
-    DEFINES["USE_AURA"] = "1"
9563
-    DEFINES["WEBRTC_WIN"] = True
9609
-    DEFINES["WEBRTC_WIN"] = True
Lines 9687-9693 index f06937f581eb..909633162ae6 100644 Link Here
9687
 
9733
 
9688
 Library("neteq_api_gn")
9734
 Library("neteq_api_gn")
9689
diff --git third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build
9735
diff --git third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build
9690
index d09b5aed5335..b63d342a355c 100644
9736
index 9de0a88ffdfc..b63d342a355c 100644
9691
--- third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build
9737
--- third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build
9692
+++ third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build
9738
+++ third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build
9693
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
9739
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 9711-9717 index d09b5aed5335..b63d342a355c 100644 Link Here
9711
 
9757
 
9712
 FINAL_LIBRARY = "webrtc"
9758
 FINAL_LIBRARY = "webrtc"
9713
 
9759
 
9714
@@ -39,118 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
9760
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
9715
 if CONFIG["MOZ_DEBUG"] == "1":
9761
 if CONFIG["MOZ_DEBUG"] == "1":
9716
 
9762
 
9717
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
9763
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 9780-9785 index d09b5aed5335..b63d342a355c 100644 Link Here
9780
-    DEFINES["NOMINMAX"] = True
9826
-    DEFINES["NOMINMAX"] = True
9781
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
9827
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
9782
-    DEFINES["PSAPI_VERSION"] = "2"
9828
-    DEFINES["PSAPI_VERSION"] = "2"
9829
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
9783
-    DEFINES["UNICODE"] = True
9830
-    DEFINES["UNICODE"] = True
9784
-    DEFINES["USE_AURA"] = "1"
9831
-    DEFINES["USE_AURA"] = "1"
9785
-    DEFINES["WEBRTC_WIN"] = True
9832
-    DEFINES["WEBRTC_WIN"] = True
Lines 9831-9837 index d09b5aed5335..b63d342a355c 100644 Link Here
9831
 
9878
 
9832
 if CONFIG["CPU_ARCH"] == "x86":
9879
 if CONFIG["CPU_ARCH"] == "x86":
9833
 
9880
 
9834
@@ -160,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
9881
@@ -161,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
9835
 
9882
 
9836
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
9883
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
9837
 
9884
 
Lines 9891-9897 index d09b5aed5335..b63d342a355c 100644 Link Here
9891
-
9938
-
9892
 Library("neteq_controller_api_gn")
9939
 Library("neteq_controller_api_gn")
9893
diff --git third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build
9940
diff --git third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build
9894
index 012522550973..10f3a99bcbcd 100644
9941
index e5ce9fb71897..10f3a99bcbcd 100644
9895
--- third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build
9942
--- third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build
9896
+++ third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build
9943
+++ third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build
9897
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
9944
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 9915-9921 index 012522550973..10f3a99bcbcd 100644 Link Here
9915
 
9962
 
9916
 FINAL_LIBRARY = "webrtc"
9963
 FINAL_LIBRARY = "webrtc"
9917
 
9964
 
9918
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
9965
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
9919
 if CONFIG["MOZ_DEBUG"] == "1":
9966
 if CONFIG["MOZ_DEBUG"] == "1":
9920
 
9967
 
9921
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
9968
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 9980-9985 index 012522550973..10f3a99bcbcd 100644 Link Here
9980
-    DEFINES["NOMINMAX"] = True
10027
-    DEFINES["NOMINMAX"] = True
9981
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
10028
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
9982
-    DEFINES["PSAPI_VERSION"] = "2"
10029
-    DEFINES["PSAPI_VERSION"] = "2"
10030
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
9983
-    DEFINES["UNICODE"] = True
10031
-    DEFINES["UNICODE"] = True
9984
-    DEFINES["USE_AURA"] = "1"
10032
-    DEFINES["USE_AURA"] = "1"
9985
-    DEFINES["WEBRTC_WIN"] = True
10033
-    DEFINES["WEBRTC_WIN"] = True
Lines 10102-10108 index 012522550973..10f3a99bcbcd 100644 Link Here
10102
 
10150
 
10103
 Library("tick_timer_gn")
10151
 Library("tick_timer_gn")
10104
diff --git third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build
10152
diff --git third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build
10105
index 2a95233bda53..7f30532ddb95 100644
10153
index e57a49f708fb..7f30532ddb95 100644
10106
--- third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build
10154
--- third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build
10107
+++ third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build
10155
+++ third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build
10108
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
10156
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 10126-10132 index 2a95233bda53..7f30532ddb95 100644 Link Here
10126
 
10174
 
10127
 FINAL_LIBRARY = "webrtc"
10175
 FINAL_LIBRARY = "webrtc"
10128
 
10176
 
10129
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
10177
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
10130
 if CONFIG["MOZ_DEBUG"] == "1":
10178
 if CONFIG["MOZ_DEBUG"] == "1":
10131
 
10179
 
10132
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
10180
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 10187-10192 index 2a95233bda53..7f30532ddb95 100644 Link Here
10187
-    DEFINES["NOMINMAX"] = True
10235
-    DEFINES["NOMINMAX"] = True
10188
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
10236
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
10189
-    DEFINES["PSAPI_VERSION"] = "2"
10237
-    DEFINES["PSAPI_VERSION"] = "2"
10238
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
10190
-    DEFINES["UNICODE"] = True
10239
-    DEFINES["UNICODE"] = True
10191
-    DEFINES["USE_AURA"] = "1"
10240
-    DEFINES["USE_AURA"] = "1"
10192
-    DEFINES["WEBRTC_WIN"] = True
10241
-    DEFINES["WEBRTC_WIN"] = True
Lines 10231-10237 index 2a95233bda53..7f30532ddb95 100644 Link Here
10231
 
10280
 
10232
 if CONFIG["CPU_ARCH"] == "x86":
10281
 if CONFIG["CPU_ARCH"] == "x86":
10233
 
10282
 
10234
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
10283
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
10235
 
10284
 
10236
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
10285
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
10237
 
10286
 
Lines 10291-10297 index 2a95233bda53..7f30532ddb95 100644 Link Here
10291
-
10340
-
10292
 Library("network_state_predictor_api_gn")
10341
 Library("network_state_predictor_api_gn")
10293
diff --git third_party/libwebrtc/api/priority_gn/moz.build third_party/libwebrtc/api/priority_gn/moz.build
10342
diff --git third_party/libwebrtc/api/priority_gn/moz.build third_party/libwebrtc/api/priority_gn/moz.build
10294
index 08cb5bf2d567..461d52f93d0e 100644
10343
index 5436f2c351a1..461d52f93d0e 100644
10295
--- third_party/libwebrtc/api/priority_gn/moz.build
10344
--- third_party/libwebrtc/api/priority_gn/moz.build
10296
+++ third_party/libwebrtc/api/priority_gn/moz.build
10345
+++ third_party/libwebrtc/api/priority_gn/moz.build
10297
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
10346
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 10315-10321 index 08cb5bf2d567..461d52f93d0e 100644 Link Here
10315
 
10364
 
10316
 FINAL_LIBRARY = "webrtc"
10365
 FINAL_LIBRARY = "webrtc"
10317
 
10366
 
10318
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
10367
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
10319
 if CONFIG["MOZ_DEBUG"] == "1":
10368
 if CONFIG["MOZ_DEBUG"] == "1":
10320
 
10369
 
10321
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
10370
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 10376-10381 index 08cb5bf2d567..461d52f93d0e 100644 Link Here
10376
-    DEFINES["NOMINMAX"] = True
10425
-    DEFINES["NOMINMAX"] = True
10377
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
10426
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
10378
-    DEFINES["PSAPI_VERSION"] = "2"
10427
-    DEFINES["PSAPI_VERSION"] = "2"
10428
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
10379
-    DEFINES["UNICODE"] = True
10429
-    DEFINES["UNICODE"] = True
10380
-    DEFINES["USE_AURA"] = "1"
10430
-    DEFINES["USE_AURA"] = "1"
10381
-    DEFINES["WEBRTC_WIN"] = True
10431
-    DEFINES["WEBRTC_WIN"] = True
Lines 10420-10426 index 08cb5bf2d567..461d52f93d0e 100644 Link Here
10420
 
10470
 
10421
 if CONFIG["CPU_ARCH"] == "x86":
10471
 if CONFIG["CPU_ARCH"] == "x86":
10422
 
10472
 
10423
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
10473
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
10424
 
10474
 
10425
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
10475
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
10426
 
10476
 
Lines 10480-10486 index 08cb5bf2d567..461d52f93d0e 100644 Link Here
10480
-
10530
-
10481
 Library("priority_gn")
10531
 Library("priority_gn")
10482
diff --git third_party/libwebrtc/api/refcountedbase_gn/moz.build third_party/libwebrtc/api/refcountedbase_gn/moz.build
10532
diff --git third_party/libwebrtc/api/refcountedbase_gn/moz.build third_party/libwebrtc/api/refcountedbase_gn/moz.build
10483
index f2a22be84640..b048864ad448 100644
10533
index f69b13a731a3..b048864ad448 100644
10484
--- third_party/libwebrtc/api/refcountedbase_gn/moz.build
10534
--- third_party/libwebrtc/api/refcountedbase_gn/moz.build
10485
+++ third_party/libwebrtc/api/refcountedbase_gn/moz.build
10535
+++ third_party/libwebrtc/api/refcountedbase_gn/moz.build
10486
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
10536
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 10504-10510 index f2a22be84640..b048864ad448 100644 Link Here
10504
 
10554
 
10505
 FINAL_LIBRARY = "webrtc"
10555
 FINAL_LIBRARY = "webrtc"
10506
 
10556
 
10507
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
10557
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
10508
 if CONFIG["MOZ_DEBUG"] == "1":
10558
 if CONFIG["MOZ_DEBUG"] == "1":
10509
 
10559
 
10510
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
10560
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 10565-10570 index f2a22be84640..b048864ad448 100644 Link Here
10565
-    DEFINES["NOMINMAX"] = True
10615
-    DEFINES["NOMINMAX"] = True
10566
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
10616
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
10567
-    DEFINES["PSAPI_VERSION"] = "2"
10617
-    DEFINES["PSAPI_VERSION"] = "2"
10618
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
10568
-    DEFINES["UNICODE"] = True
10619
-    DEFINES["UNICODE"] = True
10569
-    DEFINES["USE_AURA"] = "1"
10620
-    DEFINES["USE_AURA"] = "1"
10570
-    DEFINES["WEBRTC_WIN"] = True
10621
-    DEFINES["WEBRTC_WIN"] = True
Lines 10609-10615 index f2a22be84640..b048864ad448 100644 Link Here
10609
 
10660
 
10610
 if CONFIG["CPU_ARCH"] == "x86":
10661
 if CONFIG["CPU_ARCH"] == "x86":
10611
 
10662
 
10612
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
10663
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
10613
 
10664
 
10614
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
10665
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
10615
 
10666
 
Lines 10669-10675 index f2a22be84640..b048864ad448 100644 Link Here
10669
-
10720
-
10670
 Library("refcountedbase_gn")
10721
 Library("refcountedbase_gn")
10671
diff --git third_party/libwebrtc/api/rtc_error_gn/moz.build third_party/libwebrtc/api/rtc_error_gn/moz.build
10722
diff --git third_party/libwebrtc/api/rtc_error_gn/moz.build third_party/libwebrtc/api/rtc_error_gn/moz.build
10672
index 07efa1cf5563..fcf285f401fc 100644
10723
index aaa86c696fa6..fcf285f401fc 100644
10673
--- third_party/libwebrtc/api/rtc_error_gn/moz.build
10724
--- third_party/libwebrtc/api/rtc_error_gn/moz.build
10674
+++ third_party/libwebrtc/api/rtc_error_gn/moz.build
10725
+++ third_party/libwebrtc/api/rtc_error_gn/moz.build
10675
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
10726
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 10693-10699 index 07efa1cf5563..fcf285f401fc 100644 Link Here
10693
 
10744
 
10694
 FINAL_LIBRARY = "webrtc"
10745
 FINAL_LIBRARY = "webrtc"
10695
 
10746
 
10696
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
10747
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
10697
 if CONFIG["MOZ_DEBUG"] == "1":
10748
 if CONFIG["MOZ_DEBUG"] == "1":
10698
 
10749
 
10699
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
10750
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 10758-10763 index 07efa1cf5563..fcf285f401fc 100644 Link Here
10758
-    DEFINES["NOMINMAX"] = True
10809
-    DEFINES["NOMINMAX"] = True
10759
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
10810
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
10760
-    DEFINES["PSAPI_VERSION"] = "2"
10811
-    DEFINES["PSAPI_VERSION"] = "2"
10812
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
10761
-    DEFINES["UNICODE"] = True
10813
-    DEFINES["UNICODE"] = True
10762
-    DEFINES["USE_AURA"] = "1"
10814
-    DEFINES["USE_AURA"] = "1"
10763
-    DEFINES["WEBRTC_WIN"] = True
10815
-    DEFINES["WEBRTC_WIN"] = True
Lines 10884-10890 index 07efa1cf5563..fcf285f401fc 100644 Link Here
10884
 
10936
 
10885
 Library("rtc_error_gn")
10937
 Library("rtc_error_gn")
10886
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
10938
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
10887
index a96be6791fdc..68470ecf6df4 100644
10939
index 180dfb1ff4b4..68470ecf6df4 100644
10888
--- third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build
10940
--- third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build
10889
+++ third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build
10941
+++ third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build
10890
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
10942
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 10908-10914 index a96be6791fdc..68470ecf6df4 100644 Link Here
10908
 
10960
 
10909
 FINAL_LIBRARY = "webrtc"
10961
 FINAL_LIBRARY = "webrtc"
10910
 
10962
 
10911
@@ -44,183 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
10963
@@ -44,184 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
10912
 if CONFIG["MOZ_DEBUG"] == "1":
10964
 if CONFIG["MOZ_DEBUG"] == "1":
10913
 
10965
 
10914
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
10966
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 10973-10978 index a96be6791fdc..68470ecf6df4 100644 Link Here
10973
-    DEFINES["NOMINMAX"] = True
11025
-    DEFINES["NOMINMAX"] = True
10974
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
11026
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
10975
-    DEFINES["PSAPI_VERSION"] = "2"
11027
-    DEFINES["PSAPI_VERSION"] = "2"
11028
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
10976
-    DEFINES["UNICODE"] = True
11029
-    DEFINES["UNICODE"] = True
10977
-    DEFINES["USE_AURA"] = "1"
11030
-    DEFINES["USE_AURA"] = "1"
10978
-    DEFINES["WEBRTC_WIN"] = True
11031
-    DEFINES["WEBRTC_WIN"] = True
Lines 11099-11105 index a96be6791fdc..68470ecf6df4 100644 Link Here
11099
 
11152
 
11100
 Library("rtc_event_log_gn")
11153
 Library("rtc_event_log_gn")
11101
diff --git third_party/libwebrtc/api/rtp_headers_gn/moz.build third_party/libwebrtc/api/rtp_headers_gn/moz.build
11154
diff --git third_party/libwebrtc/api/rtp_headers_gn/moz.build third_party/libwebrtc/api/rtp_headers_gn/moz.build
11102
index d26fa6a026f9..b5647f419f7c 100644
11155
index 1641b4594ef6..b5647f419f7c 100644
11103
--- third_party/libwebrtc/api/rtp_headers_gn/moz.build
11156
--- third_party/libwebrtc/api/rtp_headers_gn/moz.build
11104
+++ third_party/libwebrtc/api/rtp_headers_gn/moz.build
11157
+++ third_party/libwebrtc/api/rtp_headers_gn/moz.build
11105
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
11158
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 11123-11129 index d26fa6a026f9..b5647f419f7c 100644 Link Here
11123
 
11176
 
11124
 FINAL_LIBRARY = "webrtc"
11177
 FINAL_LIBRARY = "webrtc"
11125
 
11178
 
11126
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
11179
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
11127
 if CONFIG["MOZ_DEBUG"] == "1":
11180
 if CONFIG["MOZ_DEBUG"] == "1":
11128
 
11181
 
11129
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
11182
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 11188-11193 index d26fa6a026f9..b5647f419f7c 100644 Link Here
11188
-    DEFINES["NOMINMAX"] = True
11241
-    DEFINES["NOMINMAX"] = True
11189
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
11242
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
11190
-    DEFINES["PSAPI_VERSION"] = "2"
11243
-    DEFINES["PSAPI_VERSION"] = "2"
11244
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
11191
-    DEFINES["UNICODE"] = True
11245
-    DEFINES["UNICODE"] = True
11192
-    DEFINES["USE_AURA"] = "1"
11246
-    DEFINES["USE_AURA"] = "1"
11193
-    DEFINES["WEBRTC_WIN"] = True
11247
-    DEFINES["WEBRTC_WIN"] = True
Lines 11314-11320 index d26fa6a026f9..b5647f419f7c 100644 Link Here
11314
 
11368
 
11315
 Library("rtp_headers_gn")
11369
 Library("rtp_headers_gn")
11316
diff --git third_party/libwebrtc/api/rtp_packet_info_gn/moz.build third_party/libwebrtc/api/rtp_packet_info_gn/moz.build
11370
diff --git third_party/libwebrtc/api/rtp_packet_info_gn/moz.build third_party/libwebrtc/api/rtp_packet_info_gn/moz.build
11317
index 99c25cbbaead..df1cf58c7083 100644
11371
index d331490f9baf..df1cf58c7083 100644
11318
--- third_party/libwebrtc/api/rtp_packet_info_gn/moz.build
11372
--- third_party/libwebrtc/api/rtp_packet_info_gn/moz.build
11319
+++ third_party/libwebrtc/api/rtp_packet_info_gn/moz.build
11373
+++ third_party/libwebrtc/api/rtp_packet_info_gn/moz.build
11320
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
11374
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 11338-11344 index 99c25cbbaead..df1cf58c7083 100644 Link Here
11338
 
11392
 
11339
 FINAL_LIBRARY = "webrtc"
11393
 FINAL_LIBRARY = "webrtc"
11340
 
11394
 
11341
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
11395
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
11342
 if CONFIG["MOZ_DEBUG"] == "1":
11396
 if CONFIG["MOZ_DEBUG"] == "1":
11343
 
11397
 
11344
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
11398
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 11403-11408 index 99c25cbbaead..df1cf58c7083 100644 Link Here
11403
-    DEFINES["NOMINMAX"] = True
11457
-    DEFINES["NOMINMAX"] = True
11404
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
11458
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
11405
-    DEFINES["PSAPI_VERSION"] = "2"
11459
-    DEFINES["PSAPI_VERSION"] = "2"
11460
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
11406
-    DEFINES["UNICODE"] = True
11461
-    DEFINES["UNICODE"] = True
11407
-    DEFINES["USE_AURA"] = "1"
11462
-    DEFINES["USE_AURA"] = "1"
11408
-    DEFINES["WEBRTC_WIN"] = True
11463
-    DEFINES["WEBRTC_WIN"] = True
Lines 11529-11535 index 99c25cbbaead..df1cf58c7083 100644 Link Here
11529
 
11584
 
11530
 Library("rtp_packet_info_gn")
11585
 Library("rtp_packet_info_gn")
11531
diff --git third_party/libwebrtc/api/rtp_parameters_gn/moz.build third_party/libwebrtc/api/rtp_parameters_gn/moz.build
11586
diff --git third_party/libwebrtc/api/rtp_parameters_gn/moz.build third_party/libwebrtc/api/rtp_parameters_gn/moz.build
11532
index 4dc6e4a74378..ddc2e7f5536f 100644
11587
index 520476ac0560..ddc2e7f5536f 100644
11533
--- third_party/libwebrtc/api/rtp_parameters_gn/moz.build
11588
--- third_party/libwebrtc/api/rtp_parameters_gn/moz.build
11534
+++ third_party/libwebrtc/api/rtp_parameters_gn/moz.build
11589
+++ third_party/libwebrtc/api/rtp_parameters_gn/moz.build
11535
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
11590
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 11553-11559 index 4dc6e4a74378..ddc2e7f5536f 100644 Link Here
11553
 
11608
 
11554
 FINAL_LIBRARY = "webrtc"
11609
 FINAL_LIBRARY = "webrtc"
11555
 
11610
 
11556
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
11611
@@ -44,180 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
11557
 if CONFIG["MOZ_DEBUG"] == "1":
11612
 if CONFIG["MOZ_DEBUG"] == "1":
11558
 
11613
 
11559
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
11614
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 11618-11623 index 4dc6e4a74378..ddc2e7f5536f 100644 Link Here
11618
-    DEFINES["NOMINMAX"] = True
11673
-    DEFINES["NOMINMAX"] = True
11619
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
11674
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
11620
-    DEFINES["PSAPI_VERSION"] = "2"
11675
-    DEFINES["PSAPI_VERSION"] = "2"
11676
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
11621
-    DEFINES["UNICODE"] = True
11677
-    DEFINES["UNICODE"] = True
11622
-    DEFINES["USE_AURA"] = "1"
11678
-    DEFINES["USE_AURA"] = "1"
11623
-    DEFINES["WEBRTC_WIN"] = True
11679
-    DEFINES["WEBRTC_WIN"] = True
Lines 11740-11746 index 4dc6e4a74378..ddc2e7f5536f 100644 Link Here
11740
 
11796
 
11741
 Library("rtp_parameters_gn")
11797
 Library("rtp_parameters_gn")
11742
diff --git third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build
11798
diff --git third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build
11743
index 9712e13ddd16..5f6e81fb3f4e 100644
11799
index ac0c98a19350..5f6e81fb3f4e 100644
11744
--- third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build
11800
--- third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build
11745
+++ third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build
11801
+++ third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build
11746
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
11802
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 11764-11770 index 9712e13ddd16..5f6e81fb3f4e 100644 Link Here
11764
 
11820
 
11765
 FINAL_LIBRARY = "webrtc"
11821
 FINAL_LIBRARY = "webrtc"
11766
 
11822
 
11767
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
11823
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
11768
 if CONFIG["MOZ_DEBUG"] == "1":
11824
 if CONFIG["MOZ_DEBUG"] == "1":
11769
 
11825
 
11770
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
11826
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 11825-11830 index 9712e13ddd16..5f6e81fb3f4e 100644 Link Here
11825
-    DEFINES["NOMINMAX"] = True
11881
-    DEFINES["NOMINMAX"] = True
11826
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
11882
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
11827
-    DEFINES["PSAPI_VERSION"] = "2"
11883
-    DEFINES["PSAPI_VERSION"] = "2"
11884
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
11828
-    DEFINES["UNICODE"] = True
11885
-    DEFINES["UNICODE"] = True
11829
-    DEFINES["USE_AURA"] = "1"
11886
-    DEFINES["USE_AURA"] = "1"
11830
-    DEFINES["WEBRTC_WIN"] = True
11887
-    DEFINES["WEBRTC_WIN"] = True
Lines 11869-11875 index 9712e13ddd16..5f6e81fb3f4e 100644 Link Here
11869
 
11926
 
11870
 if CONFIG["CPU_ARCH"] == "x86":
11927
 if CONFIG["CPU_ARCH"] == "x86":
11871
 
11928
 
11872
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
11929
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
11873
 
11930
 
11874
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
11931
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
11875
 
11932
 
Lines 11929-11935 index 9712e13ddd16..5f6e81fb3f4e 100644 Link Here
11929
-
11986
-
11930
 Library("rtp_sender_interface_gn")
11987
 Library("rtp_sender_interface_gn")
11931
diff --git third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build
11988
diff --git third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build
11932
index 5cc94b1d99f7..f274d0055498 100644
11989
index 7e18b2e7cc9d..f274d0055498 100644
11933
--- third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build
11990
--- third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build
11934
+++ third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build
11991
+++ third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build
11935
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
11992
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 11953-11959 index 5cc94b1d99f7..f274d0055498 100644 Link Here
11953
 
12010
 
11954
 FINAL_LIBRARY = "webrtc"
12011
 FINAL_LIBRARY = "webrtc"
11955
 
12012
 
11956
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
12013
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
11957
 if CONFIG["MOZ_DEBUG"] == "1":
12014
 if CONFIG["MOZ_DEBUG"] == "1":
11958
 
12015
 
11959
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
12016
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 12018-12023 index 5cc94b1d99f7..f274d0055498 100644 Link Here
12018
-    DEFINES["NOMINMAX"] = True
12075
-    DEFINES["NOMINMAX"] = True
12019
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
12076
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
12020
-    DEFINES["PSAPI_VERSION"] = "2"
12077
-    DEFINES["PSAPI_VERSION"] = "2"
12078
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
12021
-    DEFINES["UNICODE"] = True
12079
-    DEFINES["UNICODE"] = True
12022
-    DEFINES["USE_AURA"] = "1"
12080
-    DEFINES["USE_AURA"] = "1"
12023
-    DEFINES["WEBRTC_WIN"] = True
12081
-    DEFINES["WEBRTC_WIN"] = True
Lines 12144-12150 index 5cc94b1d99f7..f274d0055498 100644 Link Here
12144
 
12202
 
12145
 Library("rtp_sender_setparameters_callback_gn")
12203
 Library("rtp_sender_setparameters_callback_gn")
12146
diff --git third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build
12204
diff --git third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build
12147
index 1ca9b4be66c4..a4bf4591450e 100644
12205
index 2b0d37565ec8..a4bf4591450e 100644
12148
--- third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build
12206
--- third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build
12149
+++ third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build
12207
+++ third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build
12150
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
12208
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 12168-12174 index 1ca9b4be66c4..a4bf4591450e 100644 Link Here
12168
 
12226
 
12169
 FINAL_LIBRARY = "webrtc"
12227
 FINAL_LIBRARY = "webrtc"
12170
 
12228
 
12171
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
12229
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
12172
 if CONFIG["MOZ_DEBUG"] == "1":
12230
 if CONFIG["MOZ_DEBUG"] == "1":
12173
 
12231
 
12174
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
12232
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 12229-12234 index 1ca9b4be66c4..a4bf4591450e 100644 Link Here
12229
-    DEFINES["NOMINMAX"] = True
12287
-    DEFINES["NOMINMAX"] = True
12230
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
12288
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
12231
-    DEFINES["PSAPI_VERSION"] = "2"
12289
-    DEFINES["PSAPI_VERSION"] = "2"
12290
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
12232
-    DEFINES["UNICODE"] = True
12291
-    DEFINES["UNICODE"] = True
12233
-    DEFINES["USE_AURA"] = "1"
12292
-    DEFINES["USE_AURA"] = "1"
12234
-    DEFINES["WEBRTC_WIN"] = True
12293
-    DEFINES["WEBRTC_WIN"] = True
Lines 12273-12279 index 1ca9b4be66c4..a4bf4591450e 100644 Link Here
12273
 
12332
 
12274
 if CONFIG["CPU_ARCH"] == "x86":
12333
 if CONFIG["CPU_ARCH"] == "x86":
12275
 
12334
 
12276
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
12335
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
12277
 
12336
 
12278
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
12337
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
12279
 
12338
 
Lines 12333-12339 index 1ca9b4be66c4..a4bf4591450e 100644 Link Here
12333
-
12392
-
12334
 Library("rtp_transceiver_direction_gn")
12393
 Library("rtp_transceiver_direction_gn")
12335
diff --git third_party/libwebrtc/api/scoped_refptr_gn/moz.build third_party/libwebrtc/api/scoped_refptr_gn/moz.build
12394
diff --git third_party/libwebrtc/api/scoped_refptr_gn/moz.build third_party/libwebrtc/api/scoped_refptr_gn/moz.build
12336
index d4dbda2c18f8..951e821afca9 100644
12395
index 532aa24725fd..951e821afca9 100644
12337
--- third_party/libwebrtc/api/scoped_refptr_gn/moz.build
12396
--- third_party/libwebrtc/api/scoped_refptr_gn/moz.build
12338
+++ third_party/libwebrtc/api/scoped_refptr_gn/moz.build
12397
+++ third_party/libwebrtc/api/scoped_refptr_gn/moz.build
12339
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
12398
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 12357-12363 index d4dbda2c18f8..951e821afca9 100644 Link Here
12357
 
12416
 
12358
 FINAL_LIBRARY = "webrtc"
12417
 FINAL_LIBRARY = "webrtc"
12359
 
12418
 
12360
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
12419
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
12361
 if CONFIG["MOZ_DEBUG"] == "1":
12420
 if CONFIG["MOZ_DEBUG"] == "1":
12362
 
12421
 
12363
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
12422
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 12418-12423 index d4dbda2c18f8..951e821afca9 100644 Link Here
12418
-    DEFINES["NOMINMAX"] = True
12477
-    DEFINES["NOMINMAX"] = True
12419
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
12478
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
12420
-    DEFINES["PSAPI_VERSION"] = "2"
12479
-    DEFINES["PSAPI_VERSION"] = "2"
12480
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
12421
-    DEFINES["UNICODE"] = True
12481
-    DEFINES["UNICODE"] = True
12422
-    DEFINES["USE_AURA"] = "1"
12482
-    DEFINES["USE_AURA"] = "1"
12423
-    DEFINES["WEBRTC_WIN"] = True
12483
-    DEFINES["WEBRTC_WIN"] = True
Lines 12462-12468 index d4dbda2c18f8..951e821afca9 100644 Link Here
12462
 
12522
 
12463
 if CONFIG["CPU_ARCH"] == "x86":
12523
 if CONFIG["CPU_ARCH"] == "x86":
12464
 
12524
 
12465
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
12525
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
12466
 
12526
 
12467
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
12527
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
12468
 
12528
 
Lines 12522-12528 index d4dbda2c18f8..951e821afca9 100644 Link Here
12522
-
12582
-
12523
 Library("scoped_refptr_gn")
12583
 Library("scoped_refptr_gn")
12524
diff --git third_party/libwebrtc/api/sequence_checker_gn/moz.build third_party/libwebrtc/api/sequence_checker_gn/moz.build
12584
diff --git third_party/libwebrtc/api/sequence_checker_gn/moz.build third_party/libwebrtc/api/sequence_checker_gn/moz.build
12525
index d3dd3980f86a..81e314ac9523 100644
12585
index 0ffdd1ceb77f..81e314ac9523 100644
12526
--- third_party/libwebrtc/api/sequence_checker_gn/moz.build
12586
--- third_party/libwebrtc/api/sequence_checker_gn/moz.build
12527
+++ third_party/libwebrtc/api/sequence_checker_gn/moz.build
12587
+++ third_party/libwebrtc/api/sequence_checker_gn/moz.build
12528
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
12588
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 12546-12552 index d3dd3980f86a..81e314ac9523 100644 Link Here
12546
 
12606
 
12547
 FINAL_LIBRARY = "webrtc"
12607
 FINAL_LIBRARY = "webrtc"
12548
 
12608
 
12549
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
12609
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
12550
 if CONFIG["MOZ_DEBUG"] == "1":
12610
 if CONFIG["MOZ_DEBUG"] == "1":
12551
 
12611
 
12552
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
12612
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 12611-12616 index d3dd3980f86a..81e314ac9523 100644 Link Here
12611
-    DEFINES["NOMINMAX"] = True
12671
-    DEFINES["NOMINMAX"] = True
12612
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
12672
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
12613
-    DEFINES["PSAPI_VERSION"] = "2"
12673
-    DEFINES["PSAPI_VERSION"] = "2"
12674
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
12614
-    DEFINES["UNICODE"] = True
12675
-    DEFINES["UNICODE"] = True
12615
-    DEFINES["USE_AURA"] = "1"
12676
-    DEFINES["USE_AURA"] = "1"
12616
-    DEFINES["WEBRTC_WIN"] = True
12677
-    DEFINES["WEBRTC_WIN"] = True
Lines 12655-12661 index d3dd3980f86a..81e314ac9523 100644 Link Here
12655
 
12716
 
12656
 if CONFIG["CPU_ARCH"] == "x86":
12717
 if CONFIG["CPU_ARCH"] == "x86":
12657
 
12718
 
12658
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
12719
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
12659
 
12720
 
12660
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
12721
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
12661
 
12722
 
Lines 12715-12721 index d3dd3980f86a..81e314ac9523 100644 Link Here
12715
-
12776
-
12716
 Library("sequence_checker_gn")
12777
 Library("sequence_checker_gn")
12717
diff --git third_party/libwebrtc/api/simulated_network_api_gn/moz.build third_party/libwebrtc/api/simulated_network_api_gn/moz.build
12778
diff --git third_party/libwebrtc/api/simulated_network_api_gn/moz.build third_party/libwebrtc/api/simulated_network_api_gn/moz.build
12718
index 0867200479f4..04a99f0b12ea 100644
12779
index 1acee4faa0e8..04a99f0b12ea 100644
12719
--- third_party/libwebrtc/api/simulated_network_api_gn/moz.build
12780
--- third_party/libwebrtc/api/simulated_network_api_gn/moz.build
12720
+++ third_party/libwebrtc/api/simulated_network_api_gn/moz.build
12781
+++ third_party/libwebrtc/api/simulated_network_api_gn/moz.build
12721
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
12782
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 12739-12745 index 0867200479f4..04a99f0b12ea 100644 Link Here
12739
 
12800
 
12740
 FINAL_LIBRARY = "webrtc"
12801
 FINAL_LIBRARY = "webrtc"
12741
 
12802
 
12742
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
12803
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
12743
 if CONFIG["MOZ_DEBUG"] == "1":
12804
 if CONFIG["MOZ_DEBUG"] == "1":
12744
 
12805
 
12745
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
12806
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 12804-12809 index 0867200479f4..04a99f0b12ea 100644 Link Here
12804
-    DEFINES["NOMINMAX"] = True
12865
-    DEFINES["NOMINMAX"] = True
12805
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
12866
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
12806
-    DEFINES["PSAPI_VERSION"] = "2"
12867
-    DEFINES["PSAPI_VERSION"] = "2"
12868
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
12807
-    DEFINES["UNICODE"] = True
12869
-    DEFINES["UNICODE"] = True
12808
-    DEFINES["USE_AURA"] = "1"
12870
-    DEFINES["USE_AURA"] = "1"
12809
-    DEFINES["WEBRTC_WIN"] = True
12871
-    DEFINES["WEBRTC_WIN"] = True
Lines 12848-12854 index 0867200479f4..04a99f0b12ea 100644 Link Here
12848
 
12910
 
12849
 if CONFIG["CPU_ARCH"] == "x86":
12911
 if CONFIG["CPU_ARCH"] == "x86":
12850
 
12912
 
12851
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
12913
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
12852
 
12914
 
12853
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
12915
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
12854
 
12916
 
Lines 12908-12914 index 0867200479f4..04a99f0b12ea 100644 Link Here
12908
-
12970
-
12909
 Library("simulated_network_api_gn")
12971
 Library("simulated_network_api_gn")
12910
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
12972
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
12911
index d7e6a087fa00..ba1a6b109e0e 100644
12973
index 4bc637d87c92..ba1a6b109e0e 100644
12912
--- third_party/libwebrtc/api/task_queue/pending_task_safety_flag_gn/moz.build
12974
--- third_party/libwebrtc/api/task_queue/pending_task_safety_flag_gn/moz.build
12913
+++ third_party/libwebrtc/api/task_queue/pending_task_safety_flag_gn/moz.build
12975
+++ third_party/libwebrtc/api/task_queue/pending_task_safety_flag_gn/moz.build
12914
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
12976
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 12932-12938 index d7e6a087fa00..ba1a6b109e0e 100644 Link Here
12932
 
12994
 
12933
 FINAL_LIBRARY = "webrtc"
12995
 FINAL_LIBRARY = "webrtc"
12934
 
12996
 
12935
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
12997
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
12936
 if CONFIG["MOZ_DEBUG"] == "1":
12998
 if CONFIG["MOZ_DEBUG"] == "1":
12937
 
12999
 
12938
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
13000
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 12997-13002 index d7e6a087fa00..ba1a6b109e0e 100644 Link Here
12997
-    DEFINES["NOMINMAX"] = True
13059
-    DEFINES["NOMINMAX"] = True
12998
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
13060
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
12999
-    DEFINES["PSAPI_VERSION"] = "2"
13061
-    DEFINES["PSAPI_VERSION"] = "2"
13062
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
13000
-    DEFINES["UNICODE"] = True
13063
-    DEFINES["UNICODE"] = True
13001
-    DEFINES["USE_AURA"] = "1"
13064
-    DEFINES["USE_AURA"] = "1"
13002
-    DEFINES["WEBRTC_WIN"] = True
13065
-    DEFINES["WEBRTC_WIN"] = True
Lines 13119-13125 index d7e6a087fa00..ba1a6b109e0e 100644 Link Here
13119
 
13182
 
13120
 Library("pending_task_safety_flag_gn")
13183
 Library("pending_task_safety_flag_gn")
13121
diff --git third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build
13184
diff --git third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build
13122
index c4d9c9d67d0a..7ff2201844db 100644
13185
index 7026eeea61ac..7ff2201844db 100644
13123
--- third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build
13186
--- third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build
13124
+++ third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build
13187
+++ third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build
13125
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
13188
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 13143-13149 index c4d9c9d67d0a..7ff2201844db 100644 Link Here
13143
 
13206
 
13144
 FINAL_LIBRARY = "webrtc"
13207
 FINAL_LIBRARY = "webrtc"
13145
 
13208
 
13146
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
13209
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
13147
 if CONFIG["MOZ_DEBUG"] == "1":
13210
 if CONFIG["MOZ_DEBUG"] == "1":
13148
 
13211
 
13149
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
13212
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 13208-13213 index c4d9c9d67d0a..7ff2201844db 100644 Link Here
13208
-    DEFINES["NOMINMAX"] = True
13271
-    DEFINES["NOMINMAX"] = True
13209
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
13272
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
13210
-    DEFINES["PSAPI_VERSION"] = "2"
13273
-    DEFINES["PSAPI_VERSION"] = "2"
13274
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
13211
-    DEFINES["UNICODE"] = True
13275
-    DEFINES["UNICODE"] = True
13212
-    DEFINES["USE_AURA"] = "1"
13276
-    DEFINES["USE_AURA"] = "1"
13213
-    DEFINES["WEBRTC_WIN"] = True
13277
-    DEFINES["WEBRTC_WIN"] = True
Lines 13330-13336 index c4d9c9d67d0a..7ff2201844db 100644 Link Here
13330
 
13394
 
13331
 Library("task_queue_gn")
13395
 Library("task_queue_gn")
13332
diff --git third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build
13396
diff --git third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build
13333
index fba5b45a5df7..39a9ebc0842e 100644
13397
index d09913813a7e..39a9ebc0842e 100644
13334
--- third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build
13398
--- third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build
13335
+++ third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build
13399
+++ third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build
13336
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
13400
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 13354-13360 index fba5b45a5df7..39a9ebc0842e 100644 Link Here
13354
 
13418
 
13355
 FINAL_LIBRARY = "webrtc"
13419
 FINAL_LIBRARY = "webrtc"
13356
 
13420
 
13357
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
13421
@@ -43,176 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
13358
 if CONFIG["MOZ_DEBUG"] == "1":
13422
 if CONFIG["MOZ_DEBUG"] == "1":
13359
 
13423
 
13360
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
13424
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 13415-13420 index fba5b45a5df7..39a9ebc0842e 100644 Link Here
13415
-    DEFINES["NOMINMAX"] = True
13479
-    DEFINES["NOMINMAX"] = True
13416
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
13480
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
13417
-    DEFINES["PSAPI_VERSION"] = "2"
13481
-    DEFINES["PSAPI_VERSION"] = "2"
13482
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
13418
-    DEFINES["UNICODE"] = True
13483
-    DEFINES["UNICODE"] = True
13419
-    DEFINES["USE_AURA"] = "1"
13484
-    DEFINES["USE_AURA"] = "1"
13420
-    DEFINES["WEBRTC_WIN"] = True
13485
-    DEFINES["WEBRTC_WIN"] = True
Lines 13537-13543 index fba5b45a5df7..39a9ebc0842e 100644 Link Here
13537
 
13602
 
13538
 Library("bitrate_settings_gn")
13603
 Library("bitrate_settings_gn")
13539
diff --git third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build
13604
diff --git third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build
13540
index ac59bcbcde75..cbeb41795c2d 100644
13605
index 5bd7a14d5ed6..cbeb41795c2d 100644
13541
--- third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build
13606
--- third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build
13542
+++ third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build
13607
+++ third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build
13543
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
13608
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 13561-13567 index ac59bcbcde75..cbeb41795c2d 100644 Link Here
13561
 
13626
 
13562
 FINAL_LIBRARY = "webrtc"
13627
 FINAL_LIBRARY = "webrtc"
13563
 
13628
 
13564
@@ -39,111 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
13629
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
13565
 if CONFIG["MOZ_DEBUG"] == "1":
13630
 if CONFIG["MOZ_DEBUG"] == "1":
13566
 
13631
 
13567
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
13632
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 13626-13631 index ac59bcbcde75..cbeb41795c2d 100644 Link Here
13626
-    DEFINES["NOMINMAX"] = True
13691
-    DEFINES["NOMINMAX"] = True
13627
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
13692
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
13628
-    DEFINES["PSAPI_VERSION"] = "2"
13693
-    DEFINES["PSAPI_VERSION"] = "2"
13694
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
13629
-    DEFINES["UNICODE"] = True
13695
-    DEFINES["UNICODE"] = True
13630
-    DEFINES["USE_AURA"] = "1"
13696
-    DEFINES["USE_AURA"] = "1"
13631
-    DEFINES["WEBRTC_WIN"] = True
13697
-    DEFINES["WEBRTC_WIN"] = True
Lines 13674-13680 index ac59bcbcde75..cbeb41795c2d 100644 Link Here
13674
 
13740
 
13675
 if CONFIG["CPU_ARCH"] == "x86":
13741
 if CONFIG["CPU_ARCH"] == "x86":
13676
 
13742
 
13677
@@ -153,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
13743
@@ -154,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
13678
 
13744
 
13679
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
13745
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
13680
 
13746
 
Lines 13734-13740 index ac59bcbcde75..cbeb41795c2d 100644 Link Here
13734
-
13800
-
13735
 Library("datagram_transport_interface_gn")
13801
 Library("datagram_transport_interface_gn")
13736
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
13802
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
13737
index 1ef79b4d200b..e4486979adcc 100644
13803
index 38a5c45915e9..e4486979adcc 100644
13738
--- third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build
13804
--- third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build
13739
+++ third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build
13805
+++ third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build
13740
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
13806
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 13758-13764 index 1ef79b4d200b..e4486979adcc 100644 Link Here
13758
 
13824
 
13759
 FINAL_LIBRARY = "webrtc"
13825
 FINAL_LIBRARY = "webrtc"
13760
 
13826
 
13761
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
13827
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
13762
 if CONFIG["MOZ_DEBUG"] == "1":
13828
 if CONFIG["MOZ_DEBUG"] == "1":
13763
 
13829
 
13764
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
13830
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 13823-13828 index 1ef79b4d200b..e4486979adcc 100644 Link Here
13823
-    DEFINES["NOMINMAX"] = True
13889
-    DEFINES["NOMINMAX"] = True
13824
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
13890
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
13825
-    DEFINES["PSAPI_VERSION"] = "2"
13891
-    DEFINES["PSAPI_VERSION"] = "2"
13892
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
13826
-    DEFINES["UNICODE"] = True
13893
-    DEFINES["UNICODE"] = True
13827
-    DEFINES["USE_AURA"] = "1"
13894
-    DEFINES["USE_AURA"] = "1"
13828
-    DEFINES["WEBRTC_WIN"] = True
13895
-    DEFINES["WEBRTC_WIN"] = True
Lines 13949-13955 index 1ef79b4d200b..e4486979adcc 100644 Link Here
13949
 
14016
 
13950
 Library("field_trial_based_config_gn")
14017
 Library("field_trial_based_config_gn")
13951
diff --git third_party/libwebrtc/api/transport/goog_cc_gn/moz.build third_party/libwebrtc/api/transport/goog_cc_gn/moz.build
14018
diff --git third_party/libwebrtc/api/transport/goog_cc_gn/moz.build third_party/libwebrtc/api/transport/goog_cc_gn/moz.build
13952
index 69fd4ce27866..dee377f35156 100644
14019
index d88a604315bf..dee377f35156 100644
13953
--- third_party/libwebrtc/api/transport/goog_cc_gn/moz.build
14020
--- third_party/libwebrtc/api/transport/goog_cc_gn/moz.build
13954
+++ third_party/libwebrtc/api/transport/goog_cc_gn/moz.build
14021
+++ third_party/libwebrtc/api/transport/goog_cc_gn/moz.build
13955
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
14022
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 13973-13979 index 69fd4ce27866..dee377f35156 100644 Link Here
13973
 
14040
 
13974
 FINAL_LIBRARY = "webrtc"
14041
 FINAL_LIBRARY = "webrtc"
13975
 
14042
 
13976
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
14043
@@ -43,192 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
13977
 if CONFIG["MOZ_DEBUG"] == "1":
14044
 if CONFIG["MOZ_DEBUG"] == "1":
13978
 
14045
 
13979
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
14046
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 14043-14048 index 69fd4ce27866..dee377f35156 100644 Link Here
14043
-    DEFINES["NOMINMAX"] = True
14110
-    DEFINES["NOMINMAX"] = True
14044
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
14111
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
14045
-    DEFINES["PSAPI_VERSION"] = "2"
14112
-    DEFINES["PSAPI_VERSION"] = "2"
14113
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
14046
-    DEFINES["UNICODE"] = True
14114
-    DEFINES["UNICODE"] = True
14047
-    DEFINES["USE_AURA"] = "1"
14115
-    DEFINES["USE_AURA"] = "1"
14048
-    DEFINES["WEBRTC_WIN"] = True
14116
-    DEFINES["WEBRTC_WIN"] = True
Lines 14172-14178 index 69fd4ce27866..dee377f35156 100644 Link Here
14172
 
14240
 
14173
 Library("goog_cc_gn")
14241
 Library("goog_cc_gn")
14174
diff --git third_party/libwebrtc/api/transport/network_control_gn/moz.build third_party/libwebrtc/api/transport/network_control_gn/moz.build
14242
diff --git third_party/libwebrtc/api/transport/network_control_gn/moz.build third_party/libwebrtc/api/transport/network_control_gn/moz.build
14175
index 181843597f7a..f03b20773145 100644
14243
index 2a3988f5695d..f03b20773145 100644
14176
--- third_party/libwebrtc/api/transport/network_control_gn/moz.build
14244
--- third_party/libwebrtc/api/transport/network_control_gn/moz.build
14177
+++ third_party/libwebrtc/api/transport/network_control_gn/moz.build
14245
+++ third_party/libwebrtc/api/transport/network_control_gn/moz.build
14178
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
14246
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 14196-14202 index 181843597f7a..f03b20773145 100644 Link Here
14196
 
14264
 
14197
 FINAL_LIBRARY = "webrtc"
14265
 FINAL_LIBRARY = "webrtc"
14198
 
14266
 
14199
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
14267
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
14200
 if CONFIG["MOZ_DEBUG"] == "1":
14268
 if CONFIG["MOZ_DEBUG"] == "1":
14201
 
14269
 
14202
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
14270
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 14261-14266 index 181843597f7a..f03b20773145 100644 Link Here
14261
-    DEFINES["NOMINMAX"] = True
14329
-    DEFINES["NOMINMAX"] = True
14262
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
14330
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
14263
-    DEFINES["PSAPI_VERSION"] = "2"
14331
-    DEFINES["PSAPI_VERSION"] = "2"
14332
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
14264
-    DEFINES["UNICODE"] = True
14333
-    DEFINES["UNICODE"] = True
14265
-    DEFINES["USE_AURA"] = "1"
14334
-    DEFINES["USE_AURA"] = "1"
14266
-    DEFINES["WEBRTC_WIN"] = True
14335
-    DEFINES["WEBRTC_WIN"] = True
Lines 14387-14393 index 181843597f7a..f03b20773145 100644 Link Here
14387
 
14456
 
14388
 Library("network_control_gn")
14457
 Library("network_control_gn")
14389
diff --git third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build
14458
diff --git third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build
14390
index 0ee9e1fa1b7e..8c55ec075d15 100644
14459
index a662091d3eef..8c55ec075d15 100644
14391
--- third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build
14460
--- third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build
14392
+++ third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build
14461
+++ third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build
14393
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
14462
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 14411-14417 index 0ee9e1fa1b7e..8c55ec075d15 100644 Link Here
14411
 
14480
 
14412
 FINAL_LIBRARY = "webrtc"
14481
 FINAL_LIBRARY = "webrtc"
14413
 
14482
 
14414
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
14483
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
14415
 if CONFIG["MOZ_DEBUG"] == "1":
14484
 if CONFIG["MOZ_DEBUG"] == "1":
14416
 
14485
 
14417
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
14486
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 14476-14481 index 0ee9e1fa1b7e..8c55ec075d15 100644 Link Here
14476
-    DEFINES["NOMINMAX"] = True
14545
-    DEFINES["NOMINMAX"] = True
14477
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
14546
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
14478
-    DEFINES["PSAPI_VERSION"] = "2"
14547
-    DEFINES["PSAPI_VERSION"] = "2"
14548
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
14479
-    DEFINES["UNICODE"] = True
14549
-    DEFINES["UNICODE"] = True
14480
-    DEFINES["USE_AURA"] = "1"
14550
-    DEFINES["USE_AURA"] = "1"
14481
-    DEFINES["WEBRTC_WIN"] = True
14551
-    DEFINES["WEBRTC_WIN"] = True
Lines 14598-14604 index 0ee9e1fa1b7e..8c55ec075d15 100644 Link Here
14598
 
14668
 
14599
 Library("dependency_descriptor_gn")
14669
 Library("dependency_descriptor_gn")
14600
diff --git third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build
14670
diff --git third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build
14601
index b43f4a77ec51..7862f9ee7c3d 100644
14671
index 324f779cb8f0..7862f9ee7c3d 100644
14602
--- third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build
14672
--- third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build
14603
+++ third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build
14673
+++ third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build
14604
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
14674
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 14622-14628 index b43f4a77ec51..7862f9ee7c3d 100644 Link Here
14622
 
14692
 
14623
 FINAL_LIBRARY = "webrtc"
14693
 FINAL_LIBRARY = "webrtc"
14624
 
14694
 
14625
@@ -39,111 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
14695
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
14626
 if CONFIG["MOZ_DEBUG"] == "1":
14696
 if CONFIG["MOZ_DEBUG"] == "1":
14627
 
14697
 
14628
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
14698
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 14687-14692 index b43f4a77ec51..7862f9ee7c3d 100644 Link Here
14687
-    DEFINES["NOMINMAX"] = True
14757
-    DEFINES["NOMINMAX"] = True
14688
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
14758
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
14689
-    DEFINES["PSAPI_VERSION"] = "2"
14759
-    DEFINES["PSAPI_VERSION"] = "2"
14760
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
14690
-    DEFINES["UNICODE"] = True
14761
-    DEFINES["UNICODE"] = True
14691
-    DEFINES["USE_AURA"] = "1"
14762
-    DEFINES["USE_AURA"] = "1"
14692
-    DEFINES["WEBRTC_WIN"] = True
14763
-    DEFINES["WEBRTC_WIN"] = True
Lines 14735-14741 index b43f4a77ec51..7862f9ee7c3d 100644 Link Here
14735
 
14806
 
14736
 if CONFIG["CPU_ARCH"] == "x86":
14807
 if CONFIG["CPU_ARCH"] == "x86":
14737
 
14808
 
14738
@@ -153,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
14809
@@ -154,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
14739
 
14810
 
14740
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
14811
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
14741
 
14812
 
Lines 14795-14801 index b43f4a77ec51..7862f9ee7c3d 100644 Link Here
14795
-
14866
-
14796
 Library("rtp_source_gn")
14867
 Library("rtp_source_gn")
14797
diff --git third_party/libwebrtc/api/transport/stun_types_gn/moz.build third_party/libwebrtc/api/transport/stun_types_gn/moz.build
14868
diff --git third_party/libwebrtc/api/transport/stun_types_gn/moz.build third_party/libwebrtc/api/transport/stun_types_gn/moz.build
14798
index dd75da361bf7..39d0ef9756e1 100644
14869
index 6bf7ef309680..39d0ef9756e1 100644
14799
--- third_party/libwebrtc/api/transport/stun_types_gn/moz.build
14870
--- third_party/libwebrtc/api/transport/stun_types_gn/moz.build
14800
+++ third_party/libwebrtc/api/transport/stun_types_gn/moz.build
14871
+++ third_party/libwebrtc/api/transport/stun_types_gn/moz.build
14801
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
14872
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 14819-14825 index dd75da361bf7..39d0ef9756e1 100644 Link Here
14819
 
14890
 
14820
 FINAL_LIBRARY = "webrtc"
14891
 FINAL_LIBRARY = "webrtc"
14821
 
14892
 
14822
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
14893
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
14823
 if CONFIG["MOZ_DEBUG"] == "1":
14894
 if CONFIG["MOZ_DEBUG"] == "1":
14824
 
14895
 
14825
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
14896
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 14880-14885 index dd75da361bf7..39d0ef9756e1 100644 Link Here
14880
-    DEFINES["NOMINMAX"] = True
14951
-    DEFINES["NOMINMAX"] = True
14881
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
14952
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
14882
-    DEFINES["PSAPI_VERSION"] = "2"
14953
-    DEFINES["PSAPI_VERSION"] = "2"
14954
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
14883
-    DEFINES["UNICODE"] = True
14955
-    DEFINES["UNICODE"] = True
14884
-    DEFINES["USE_AURA"] = "1"
14956
-    DEFINES["USE_AURA"] = "1"
14885
-    DEFINES["WEBRTC_WIN"] = True
14957
-    DEFINES["WEBRTC_WIN"] = True
Lines 14924-14930 index dd75da361bf7..39d0ef9756e1 100644 Link Here
14924
 
14996
 
14925
 if CONFIG["CPU_ARCH"] == "x86":
14997
 if CONFIG["CPU_ARCH"] == "x86":
14926
 
14998
 
14927
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
14999
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
14928
 
15000
 
14929
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
15001
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
14930
 
15002
 
Lines 14984-14990 index dd75da361bf7..39d0ef9756e1 100644 Link Here
14984
-
15056
-
14985
 Library("stun_types_gn")
15057
 Library("stun_types_gn")
14986
diff --git third_party/libwebrtc/api/transport_api_gn/moz.build third_party/libwebrtc/api/transport_api_gn/moz.build
15058
diff --git third_party/libwebrtc/api/transport_api_gn/moz.build third_party/libwebrtc/api/transport_api_gn/moz.build
14987
index 5335c2c5196b..98964899137c 100644
15059
index 77a120da7d27..98964899137c 100644
14988
--- third_party/libwebrtc/api/transport_api_gn/moz.build
15060
--- third_party/libwebrtc/api/transport_api_gn/moz.build
14989
+++ third_party/libwebrtc/api/transport_api_gn/moz.build
15061
+++ third_party/libwebrtc/api/transport_api_gn/moz.build
14990
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
15062
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 15008-15014 index 5335c2c5196b..98964899137c 100644 Link Here
15008
 
15080
 
15009
 FINAL_LIBRARY = "webrtc"
15081
 FINAL_LIBRARY = "webrtc"
15010
 
15082
 
15011
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
15083
@@ -43,176 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
15012
 if CONFIG["MOZ_DEBUG"] == "1":
15084
 if CONFIG["MOZ_DEBUG"] == "1":
15013
 
15085
 
15014
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
15086
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 15069-15074 index 5335c2c5196b..98964899137c 100644 Link Here
15069
-    DEFINES["NOMINMAX"] = True
15141
-    DEFINES["NOMINMAX"] = True
15070
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
15142
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
15071
-    DEFINES["PSAPI_VERSION"] = "2"
15143
-    DEFINES["PSAPI_VERSION"] = "2"
15144
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
15072
-    DEFINES["UNICODE"] = True
15145
-    DEFINES["UNICODE"] = True
15073
-    DEFINES["USE_AURA"] = "1"
15146
-    DEFINES["USE_AURA"] = "1"
15074
-    DEFINES["WEBRTC_WIN"] = True
15147
-    DEFINES["WEBRTC_WIN"] = True
Lines 15191-15197 index 5335c2c5196b..98964899137c 100644 Link Here
15191
 
15264
 
15192
 Library("transport_api_gn")
15265
 Library("transport_api_gn")
15193
diff --git third_party/libwebrtc/api/units/data_rate_gn/moz.build third_party/libwebrtc/api/units/data_rate_gn/moz.build
15266
diff --git third_party/libwebrtc/api/units/data_rate_gn/moz.build third_party/libwebrtc/api/units/data_rate_gn/moz.build
15194
index de76b8e11c82..710093b8259e 100644
15267
index d8f82d3a1cee..710093b8259e 100644
15195
--- third_party/libwebrtc/api/units/data_rate_gn/moz.build
15268
--- third_party/libwebrtc/api/units/data_rate_gn/moz.build
15196
+++ third_party/libwebrtc/api/units/data_rate_gn/moz.build
15269
+++ third_party/libwebrtc/api/units/data_rate_gn/moz.build
15197
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
15270
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 15215-15221 index de76b8e11c82..710093b8259e 100644 Link Here
15215
 
15288
 
15216
 FINAL_LIBRARY = "webrtc"
15289
 FINAL_LIBRARY = "webrtc"
15217
 
15290
 
15218
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
15291
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
15219
 if CONFIG["MOZ_DEBUG"] == "1":
15292
 if CONFIG["MOZ_DEBUG"] == "1":
15220
 
15293
 
15221
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
15294
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 15280-15285 index de76b8e11c82..710093b8259e 100644 Link Here
15280
-    DEFINES["NOMINMAX"] = True
15353
-    DEFINES["NOMINMAX"] = True
15281
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
15354
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
15282
-    DEFINES["PSAPI_VERSION"] = "2"
15355
-    DEFINES["PSAPI_VERSION"] = "2"
15356
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
15283
-    DEFINES["UNICODE"] = True
15357
-    DEFINES["UNICODE"] = True
15284
-    DEFINES["USE_AURA"] = "1"
15358
-    DEFINES["USE_AURA"] = "1"
15285
-    DEFINES["WEBRTC_WIN"] = True
15359
-    DEFINES["WEBRTC_WIN"] = True
Lines 15402-15408 index de76b8e11c82..710093b8259e 100644 Link Here
15402
 
15476
 
15403
 Library("data_rate_gn")
15477
 Library("data_rate_gn")
15404
diff --git third_party/libwebrtc/api/units/data_size_gn/moz.build third_party/libwebrtc/api/units/data_size_gn/moz.build
15478
diff --git third_party/libwebrtc/api/units/data_size_gn/moz.build third_party/libwebrtc/api/units/data_size_gn/moz.build
15405
index dc54ce4f156e..ef4aba55e68f 100644
15479
index d853774794c3..ef4aba55e68f 100644
15406
--- third_party/libwebrtc/api/units/data_size_gn/moz.build
15480
--- third_party/libwebrtc/api/units/data_size_gn/moz.build
15407
+++ third_party/libwebrtc/api/units/data_size_gn/moz.build
15481
+++ third_party/libwebrtc/api/units/data_size_gn/moz.build
15408
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
15482
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 15426-15432 index dc54ce4f156e..ef4aba55e68f 100644 Link Here
15426
 
15500
 
15427
 FINAL_LIBRARY = "webrtc"
15501
 FINAL_LIBRARY = "webrtc"
15428
 
15502
 
15429
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
15503
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
15430
 if CONFIG["MOZ_DEBUG"] == "1":
15504
 if CONFIG["MOZ_DEBUG"] == "1":
15431
 
15505
 
15432
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
15506
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 15491-15496 index dc54ce4f156e..ef4aba55e68f 100644 Link Here
15491
-    DEFINES["NOMINMAX"] = True
15565
-    DEFINES["NOMINMAX"] = True
15492
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
15566
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
15493
-    DEFINES["PSAPI_VERSION"] = "2"
15567
-    DEFINES["PSAPI_VERSION"] = "2"
15568
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
15494
-    DEFINES["UNICODE"] = True
15569
-    DEFINES["UNICODE"] = True
15495
-    DEFINES["USE_AURA"] = "1"
15570
-    DEFINES["USE_AURA"] = "1"
15496
-    DEFINES["WEBRTC_WIN"] = True
15571
-    DEFINES["WEBRTC_WIN"] = True
Lines 15613-15619 index dc54ce4f156e..ef4aba55e68f 100644 Link Here
15613
 
15688
 
15614
 Library("data_size_gn")
15689
 Library("data_size_gn")
15615
diff --git third_party/libwebrtc/api/units/frequency_gn/moz.build third_party/libwebrtc/api/units/frequency_gn/moz.build
15690
diff --git third_party/libwebrtc/api/units/frequency_gn/moz.build third_party/libwebrtc/api/units/frequency_gn/moz.build
15616
index 3c84c283b8ec..07ce5ab7d03d 100644
15691
index 327675f5f3df..07ce5ab7d03d 100644
15617
--- third_party/libwebrtc/api/units/frequency_gn/moz.build
15692
--- third_party/libwebrtc/api/units/frequency_gn/moz.build
15618
+++ third_party/libwebrtc/api/units/frequency_gn/moz.build
15693
+++ third_party/libwebrtc/api/units/frequency_gn/moz.build
15619
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
15694
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 15637-15643 index 3c84c283b8ec..07ce5ab7d03d 100644 Link Here
15637
 
15712
 
15638
 FINAL_LIBRARY = "webrtc"
15713
 FINAL_LIBRARY = "webrtc"
15639
 
15714
 
15640
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
15715
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
15641
 if CONFIG["MOZ_DEBUG"] == "1":
15716
 if CONFIG["MOZ_DEBUG"] == "1":
15642
 
15717
 
15643
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
15718
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 15702-15707 index 3c84c283b8ec..07ce5ab7d03d 100644 Link Here
15702
-    DEFINES["NOMINMAX"] = True
15777
-    DEFINES["NOMINMAX"] = True
15703
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
15778
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
15704
-    DEFINES["PSAPI_VERSION"] = "2"
15779
-    DEFINES["PSAPI_VERSION"] = "2"
15780
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
15705
-    DEFINES["UNICODE"] = True
15781
-    DEFINES["UNICODE"] = True
15706
-    DEFINES["USE_AURA"] = "1"
15782
-    DEFINES["USE_AURA"] = "1"
15707
-    DEFINES["WEBRTC_WIN"] = True
15783
-    DEFINES["WEBRTC_WIN"] = True
Lines 15824-15830 index 3c84c283b8ec..07ce5ab7d03d 100644 Link Here
15824
 
15900
 
15825
 Library("frequency_gn")
15901
 Library("frequency_gn")
15826
diff --git third_party/libwebrtc/api/units/time_delta_gn/moz.build third_party/libwebrtc/api/units/time_delta_gn/moz.build
15902
diff --git third_party/libwebrtc/api/units/time_delta_gn/moz.build third_party/libwebrtc/api/units/time_delta_gn/moz.build
15827
index 3fe57620d83d..99beb9e82767 100644
15903
index d03e4e4e7622..99beb9e82767 100644
15828
--- third_party/libwebrtc/api/units/time_delta_gn/moz.build
15904
--- third_party/libwebrtc/api/units/time_delta_gn/moz.build
15829
+++ third_party/libwebrtc/api/units/time_delta_gn/moz.build
15905
+++ third_party/libwebrtc/api/units/time_delta_gn/moz.build
15830
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
15906
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 15848-15854 index 3fe57620d83d..99beb9e82767 100644 Link Here
15848
 
15924
 
15849
 FINAL_LIBRARY = "webrtc"
15925
 FINAL_LIBRARY = "webrtc"
15850
 
15926
 
15851
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
15927
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
15852
 if CONFIG["MOZ_DEBUG"] == "1":
15928
 if CONFIG["MOZ_DEBUG"] == "1":
15853
 
15929
 
15854
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
15930
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 15913-15918 index 3fe57620d83d..99beb9e82767 100644 Link Here
15913
-    DEFINES["NOMINMAX"] = True
15989
-    DEFINES["NOMINMAX"] = True
15914
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
15990
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
15915
-    DEFINES["PSAPI_VERSION"] = "2"
15991
-    DEFINES["PSAPI_VERSION"] = "2"
15992
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
15916
-    DEFINES["UNICODE"] = True
15993
-    DEFINES["UNICODE"] = True
15917
-    DEFINES["USE_AURA"] = "1"
15994
-    DEFINES["USE_AURA"] = "1"
15918
-    DEFINES["WEBRTC_WIN"] = True
15995
-    DEFINES["WEBRTC_WIN"] = True
Lines 16035-16041 index 3fe57620d83d..99beb9e82767 100644 Link Here
16035
 
16112
 
16036
 Library("time_delta_gn")
16113
 Library("time_delta_gn")
16037
diff --git third_party/libwebrtc/api/units/timestamp_gn/moz.build third_party/libwebrtc/api/units/timestamp_gn/moz.build
16114
diff --git third_party/libwebrtc/api/units/timestamp_gn/moz.build third_party/libwebrtc/api/units/timestamp_gn/moz.build
16038
index a869cbcd713e..41f7f84b1527 100644
16115
index a59e0e689e83..41f7f84b1527 100644
16039
--- third_party/libwebrtc/api/units/timestamp_gn/moz.build
16116
--- third_party/libwebrtc/api/units/timestamp_gn/moz.build
16040
+++ third_party/libwebrtc/api/units/timestamp_gn/moz.build
16117
+++ third_party/libwebrtc/api/units/timestamp_gn/moz.build
16041
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
16118
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 16059-16065 index a869cbcd713e..41f7f84b1527 100644 Link Here
16059
 
16136
 
16060
 FINAL_LIBRARY = "webrtc"
16137
 FINAL_LIBRARY = "webrtc"
16061
 
16138
 
16062
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
16139
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
16063
 if CONFIG["MOZ_DEBUG"] == "1":
16140
 if CONFIG["MOZ_DEBUG"] == "1":
16064
 
16141
 
16065
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
16142
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 16124-16129 index a869cbcd713e..41f7f84b1527 100644 Link Here
16124
-    DEFINES["NOMINMAX"] = True
16201
-    DEFINES["NOMINMAX"] = True
16125
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
16202
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
16126
-    DEFINES["PSAPI_VERSION"] = "2"
16203
-    DEFINES["PSAPI_VERSION"] = "2"
16204
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
16127
-    DEFINES["UNICODE"] = True
16205
-    DEFINES["UNICODE"] = True
16128
-    DEFINES["USE_AURA"] = "1"
16206
-    DEFINES["USE_AURA"] = "1"
16129
-    DEFINES["WEBRTC_WIN"] = True
16207
-    DEFINES["WEBRTC_WIN"] = True
Lines 16246-16252 index a869cbcd713e..41f7f84b1527 100644 Link Here
16246
 
16324
 
16247
 Library("timestamp_gn")
16325
 Library("timestamp_gn")
16248
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
16326
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
16249
index 40823f23553c..020bfc89b65a 100644
16327
index d49b61c9005c..020bfc89b65a 100644
16250
--- third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build
16328
--- third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build
16251
+++ third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build
16329
+++ third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build
16252
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
16330
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 16270-16276 index 40823f23553c..020bfc89b65a 100644 Link Here
16270
 
16348
 
16271
 FINAL_LIBRARY = "webrtc"
16349
 FINAL_LIBRARY = "webrtc"
16272
 
16350
 
16273
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
16351
@@ -43,192 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
16274
 if CONFIG["MOZ_DEBUG"] == "1":
16352
 if CONFIG["MOZ_DEBUG"] == "1":
16275
 
16353
 
16276
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
16354
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 16340-16345 index 40823f23553c..020bfc89b65a 100644 Link Here
16340
-    DEFINES["NOMINMAX"] = True
16418
-    DEFINES["NOMINMAX"] = True
16341
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
16419
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
16342
-    DEFINES["PSAPI_VERSION"] = "2"
16420
-    DEFINES["PSAPI_VERSION"] = "2"
16421
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
16343
-    DEFINES["UNICODE"] = True
16422
-    DEFINES["UNICODE"] = True
16344
-    DEFINES["USE_AURA"] = "1"
16423
-    DEFINES["USE_AURA"] = "1"
16345
-    DEFINES["WEBRTC_WIN"] = True
16424
-    DEFINES["WEBRTC_WIN"] = True
Lines 16469-16475 index 40823f23553c..020bfc89b65a 100644 Link Here
16469
 
16548
 
16470
 Library("builtin_video_bitrate_allocator_factory_gn")
16549
 Library("builtin_video_bitrate_allocator_factory_gn")
16471
diff --git third_party/libwebrtc/api/video/encoded_frame_gn/moz.build third_party/libwebrtc/api/video/encoded_frame_gn/moz.build
16550
diff --git third_party/libwebrtc/api/video/encoded_frame_gn/moz.build third_party/libwebrtc/api/video/encoded_frame_gn/moz.build
16472
index f5aee8c8e896..d43142211cf9 100644
16551
index 5d024d30e9f2..d43142211cf9 100644
16473
--- third_party/libwebrtc/api/video/encoded_frame_gn/moz.build
16552
--- third_party/libwebrtc/api/video/encoded_frame_gn/moz.build
16474
+++ third_party/libwebrtc/api/video/encoded_frame_gn/moz.build
16553
+++ third_party/libwebrtc/api/video/encoded_frame_gn/moz.build
16475
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
16554
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 16493-16499 index f5aee8c8e896..d43142211cf9 100644 Link Here
16493
 
16572
 
16494
 FINAL_LIBRARY = "webrtc"
16573
 FINAL_LIBRARY = "webrtc"
16495
 
16574
 
16496
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
16575
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
16497
 if CONFIG["MOZ_DEBUG"] == "1":
16576
 if CONFIG["MOZ_DEBUG"] == "1":
16498
 
16577
 
16499
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
16578
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 16562-16567 index f5aee8c8e896..d43142211cf9 100644 Link Here
16562
-    DEFINES["NOMINMAX"] = True
16641
-    DEFINES["NOMINMAX"] = True
16563
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
16642
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
16564
-    DEFINES["PSAPI_VERSION"] = "2"
16643
-    DEFINES["PSAPI_VERSION"] = "2"
16644
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
16565
-    DEFINES["UNICODE"] = True
16645
-    DEFINES["UNICODE"] = True
16566
-    DEFINES["USE_AURA"] = "1"
16646
-    DEFINES["USE_AURA"] = "1"
16567
-    DEFINES["WEBRTC_WIN"] = True
16647
-    DEFINES["WEBRTC_WIN"] = True
Lines 16691-16697 index f5aee8c8e896..d43142211cf9 100644 Link Here
16691
 
16771
 
16692
 Library("encoded_frame_gn")
16772
 Library("encoded_frame_gn")
16693
diff --git third_party/libwebrtc/api/video/encoded_image_gn/moz.build third_party/libwebrtc/api/video/encoded_image_gn/moz.build
16773
diff --git third_party/libwebrtc/api/video/encoded_image_gn/moz.build third_party/libwebrtc/api/video/encoded_image_gn/moz.build
16694
index aebcf21b3767..4c046aa480ac 100644
16774
index c1c76b29d8a4..4c046aa480ac 100644
16695
--- third_party/libwebrtc/api/video/encoded_image_gn/moz.build
16775
--- third_party/libwebrtc/api/video/encoded_image_gn/moz.build
16696
+++ third_party/libwebrtc/api/video/encoded_image_gn/moz.build
16776
+++ third_party/libwebrtc/api/video/encoded_image_gn/moz.build
16697
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
16777
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 16715-16721 index aebcf21b3767..4c046aa480ac 100644 Link Here
16715
 
16795
 
16716
 FINAL_LIBRARY = "webrtc"
16796
 FINAL_LIBRARY = "webrtc"
16717
 
16797
 
16718
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
16798
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
16719
 if CONFIG["MOZ_DEBUG"] == "1":
16799
 if CONFIG["MOZ_DEBUG"] == "1":
16720
 
16800
 
16721
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
16801
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 16780-16785 index aebcf21b3767..4c046aa480ac 100644 Link Here
16780
-    DEFINES["NOMINMAX"] = True
16860
-    DEFINES["NOMINMAX"] = True
16781
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
16861
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
16782
-    DEFINES["PSAPI_VERSION"] = "2"
16862
-    DEFINES["PSAPI_VERSION"] = "2"
16863
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
16783
-    DEFINES["UNICODE"] = True
16864
-    DEFINES["UNICODE"] = True
16784
-    DEFINES["USE_AURA"] = "1"
16865
-    DEFINES["USE_AURA"] = "1"
16785
-    DEFINES["WEBRTC_WIN"] = True
16866
-    DEFINES["WEBRTC_WIN"] = True
Lines 16906-16912 index aebcf21b3767..4c046aa480ac 100644 Link Here
16906
 
16987
 
16907
 Library("encoded_image_gn")
16988
 Library("encoded_image_gn")
16908
diff --git third_party/libwebrtc/api/video/frame_buffer_gn/moz.build third_party/libwebrtc/api/video/frame_buffer_gn/moz.build
16989
diff --git third_party/libwebrtc/api/video/frame_buffer_gn/moz.build third_party/libwebrtc/api/video/frame_buffer_gn/moz.build
16909
index 67d7583074d3..ea11fb826b9e 100644
16990
index 6f8d8b947437..ea11fb826b9e 100644
16910
--- third_party/libwebrtc/api/video/frame_buffer_gn/moz.build
16991
--- third_party/libwebrtc/api/video/frame_buffer_gn/moz.build
16911
+++ third_party/libwebrtc/api/video/frame_buffer_gn/moz.build
16992
+++ third_party/libwebrtc/api/video/frame_buffer_gn/moz.build
16912
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
16993
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 16930-16936 index 67d7583074d3..ea11fb826b9e 100644 Link Here
16930
 
17011
 
16931
 FINAL_LIBRARY = "webrtc"
17012
 FINAL_LIBRARY = "webrtc"
16932
 
17013
 
16933
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
17014
@@ -43,192 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
16934
 if CONFIG["MOZ_DEBUG"] == "1":
17015
 if CONFIG["MOZ_DEBUG"] == "1":
16935
 
17016
 
16936
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
17017
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 17000-17005 index 67d7583074d3..ea11fb826b9e 100644 Link Here
17000
-    DEFINES["NOMINMAX"] = True
17081
-    DEFINES["NOMINMAX"] = True
17001
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
17082
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
17002
-    DEFINES["PSAPI_VERSION"] = "2"
17083
-    DEFINES["PSAPI_VERSION"] = "2"
17084
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
17003
-    DEFINES["UNICODE"] = True
17085
-    DEFINES["UNICODE"] = True
17004
-    DEFINES["USE_AURA"] = "1"
17086
-    DEFINES["USE_AURA"] = "1"
17005
-    DEFINES["WEBRTC_WIN"] = True
17087
-    DEFINES["WEBRTC_WIN"] = True
Lines 17129-17135 index 67d7583074d3..ea11fb826b9e 100644 Link Here
17129
 
17211
 
17130
 Library("frame_buffer_gn")
17212
 Library("frame_buffer_gn")
17131
diff --git third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build
17213
diff --git third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build
17132
index af294ef3ca63..63707a6269b2 100644
17214
index d6cbcd817ba6..63707a6269b2 100644
17133
--- third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build
17215
--- third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build
17134
+++ third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build
17216
+++ third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build
17135
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
17217
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 17153-17159 index af294ef3ca63..63707a6269b2 100644 Link Here
17153
 
17235
 
17154
 FINAL_LIBRARY = "webrtc"
17236
 FINAL_LIBRARY = "webrtc"
17155
 
17237
 
17156
@@ -39,111 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
17238
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
17157
 if CONFIG["MOZ_DEBUG"] == "1":
17239
 if CONFIG["MOZ_DEBUG"] == "1":
17158
 
17240
 
17159
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
17241
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 17218-17223 index af294ef3ca63..63707a6269b2 100644 Link Here
17218
-    DEFINES["NOMINMAX"] = True
17300
-    DEFINES["NOMINMAX"] = True
17219
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
17301
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
17220
-    DEFINES["PSAPI_VERSION"] = "2"
17302
-    DEFINES["PSAPI_VERSION"] = "2"
17303
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
17221
-    DEFINES["UNICODE"] = True
17304
-    DEFINES["UNICODE"] = True
17222
-    DEFINES["USE_AURA"] = "1"
17305
-    DEFINES["USE_AURA"] = "1"
17223
-    DEFINES["WEBRTC_WIN"] = True
17306
-    DEFINES["WEBRTC_WIN"] = True
Lines 17266-17272 index af294ef3ca63..63707a6269b2 100644 Link Here
17266
 
17349
 
17267
 if CONFIG["CPU_ARCH"] == "x86":
17350
 if CONFIG["CPU_ARCH"] == "x86":
17268
 
17351
 
17269
@@ -153,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
17352
@@ -154,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
17270
 
17353
 
17271
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
17354
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
17272
 
17355
 
Lines 17326-17332 index af294ef3ca63..63707a6269b2 100644 Link Here
17326
-
17409
-
17327
 Library("recordable_encoded_frame_gn")
17410
 Library("recordable_encoded_frame_gn")
17328
diff --git third_party/libwebrtc/api/video/render_resolution_gn/moz.build third_party/libwebrtc/api/video/render_resolution_gn/moz.build
17411
diff --git third_party/libwebrtc/api/video/render_resolution_gn/moz.build third_party/libwebrtc/api/video/render_resolution_gn/moz.build
17329
index 5f97a983f82e..abe0dea08303 100644
17412
index 46f2db422c1d..abe0dea08303 100644
17330
--- third_party/libwebrtc/api/video/render_resolution_gn/moz.build
17413
--- third_party/libwebrtc/api/video/render_resolution_gn/moz.build
17331
+++ third_party/libwebrtc/api/video/render_resolution_gn/moz.build
17414
+++ third_party/libwebrtc/api/video/render_resolution_gn/moz.build
17332
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
17415
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 17350-17356 index 5f97a983f82e..abe0dea08303 100644 Link Here
17350
 
17433
 
17351
 FINAL_LIBRARY = "webrtc"
17434
 FINAL_LIBRARY = "webrtc"
17352
 
17435
 
17353
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
17436
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
17354
 if CONFIG["MOZ_DEBUG"] == "1":
17437
 if CONFIG["MOZ_DEBUG"] == "1":
17355
 
17438
 
17356
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
17439
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 17411-17416 index 5f97a983f82e..abe0dea08303 100644 Link Here
17411
-    DEFINES["NOMINMAX"] = True
17494
-    DEFINES["NOMINMAX"] = True
17412
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
17495
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
17413
-    DEFINES["PSAPI_VERSION"] = "2"
17496
-    DEFINES["PSAPI_VERSION"] = "2"
17497
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
17414
-    DEFINES["UNICODE"] = True
17498
-    DEFINES["UNICODE"] = True
17415
-    DEFINES["USE_AURA"] = "1"
17499
-    DEFINES["USE_AURA"] = "1"
17416
-    DEFINES["WEBRTC_WIN"] = True
17500
-    DEFINES["WEBRTC_WIN"] = True
Lines 17455-17461 index 5f97a983f82e..abe0dea08303 100644 Link Here
17455
 
17539
 
17456
 if CONFIG["CPU_ARCH"] == "x86":
17540
 if CONFIG["CPU_ARCH"] == "x86":
17457
 
17541
 
17458
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
17542
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
17459
 
17543
 
17460
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
17544
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
17461
 
17545
 
Lines 17515-17521 index 5f97a983f82e..abe0dea08303 100644 Link Here
17515
-
17599
-
17516
 Library("render_resolution_gn")
17600
 Library("render_resolution_gn")
17517
diff --git third_party/libwebrtc/api/video/resolution_gn/moz.build third_party/libwebrtc/api/video/resolution_gn/moz.build
17601
diff --git third_party/libwebrtc/api/video/resolution_gn/moz.build third_party/libwebrtc/api/video/resolution_gn/moz.build
17518
index deafa478ddb9..10bf77256f20 100644
17602
index 15d96f409306..10bf77256f20 100644
17519
--- third_party/libwebrtc/api/video/resolution_gn/moz.build
17603
--- third_party/libwebrtc/api/video/resolution_gn/moz.build
17520
+++ third_party/libwebrtc/api/video/resolution_gn/moz.build
17604
+++ third_party/libwebrtc/api/video/resolution_gn/moz.build
17521
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
17605
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 17539-17545 index deafa478ddb9..10bf77256f20 100644 Link Here
17539
 
17623
 
17540
 FINAL_LIBRARY = "webrtc"
17624
 FINAL_LIBRARY = "webrtc"
17541
 
17625
 
17542
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
17626
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
17543
 if CONFIG["MOZ_DEBUG"] == "1":
17627
 if CONFIG["MOZ_DEBUG"] == "1":
17544
 
17628
 
17545
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
17629
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 17600-17605 index deafa478ddb9..10bf77256f20 100644 Link Here
17600
-    DEFINES["NOMINMAX"] = True
17684
-    DEFINES["NOMINMAX"] = True
17601
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
17685
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
17602
-    DEFINES["PSAPI_VERSION"] = "2"
17686
-    DEFINES["PSAPI_VERSION"] = "2"
17687
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
17603
-    DEFINES["UNICODE"] = True
17688
-    DEFINES["UNICODE"] = True
17604
-    DEFINES["USE_AURA"] = "1"
17689
-    DEFINES["USE_AURA"] = "1"
17605
-    DEFINES["WEBRTC_WIN"] = True
17690
-    DEFINES["WEBRTC_WIN"] = True
Lines 17644-17650 index deafa478ddb9..10bf77256f20 100644 Link Here
17644
 
17729
 
17645
 if CONFIG["CPU_ARCH"] == "x86":
17730
 if CONFIG["CPU_ARCH"] == "x86":
17646
 
17731
 
17647
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
17732
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
17648
 
17733
 
17649
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
17734
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
17650
 
17735
 
Lines 17704-17710 index deafa478ddb9..10bf77256f20 100644 Link Here
17704
-
17789
-
17705
 Library("resolution_gn")
17790
 Library("resolution_gn")
17706
diff --git third_party/libwebrtc/api/video/video_adaptation_gn/moz.build third_party/libwebrtc/api/video/video_adaptation_gn/moz.build
17791
diff --git third_party/libwebrtc/api/video/video_adaptation_gn/moz.build third_party/libwebrtc/api/video/video_adaptation_gn/moz.build
17707
index 3b4495f26c0c..cd0d8268f411 100644
17792
index a06f4ca3cac6..cd0d8268f411 100644
17708
--- third_party/libwebrtc/api/video/video_adaptation_gn/moz.build
17793
--- third_party/libwebrtc/api/video/video_adaptation_gn/moz.build
17709
+++ third_party/libwebrtc/api/video/video_adaptation_gn/moz.build
17794
+++ third_party/libwebrtc/api/video/video_adaptation_gn/moz.build
17710
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
17795
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 17728-17734 index 3b4495f26c0c..cd0d8268f411 100644 Link Here
17728
 
17813
 
17729
 FINAL_LIBRARY = "webrtc"
17814
 FINAL_LIBRARY = "webrtc"
17730
 
17815
 
17731
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
17816
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
17732
 if CONFIG["MOZ_DEBUG"] == "1":
17817
 if CONFIG["MOZ_DEBUG"] == "1":
17733
 
17818
 
17734
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
17819
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 17793-17798 index 3b4495f26c0c..cd0d8268f411 100644 Link Here
17793
-    DEFINES["NOMINMAX"] = True
17878
-    DEFINES["NOMINMAX"] = True
17794
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
17879
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
17795
-    DEFINES["PSAPI_VERSION"] = "2"
17880
-    DEFINES["PSAPI_VERSION"] = "2"
17881
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
17796
-    DEFINES["UNICODE"] = True
17882
-    DEFINES["UNICODE"] = True
17797
-    DEFINES["USE_AURA"] = "1"
17883
-    DEFINES["USE_AURA"] = "1"
17798
-    DEFINES["WEBRTC_WIN"] = True
17884
-    DEFINES["WEBRTC_WIN"] = True
Lines 17915-17921 index 3b4495f26c0c..cd0d8268f411 100644 Link Here
17915
 
18001
 
17916
 Library("video_adaptation_gn")
18002
 Library("video_adaptation_gn")
17917
diff --git third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build
18003
diff --git third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build
17918
index 2c7b1f39e7c2..b2366c6af2a0 100644
18004
index 6ebe9921df53..b2366c6af2a0 100644
17919
--- third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build
18005
--- third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build
17920
+++ third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build
18006
+++ third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build
17921
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
18007
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 17939-17945 index 2c7b1f39e7c2..b2366c6af2a0 100644 Link Here
17939
 
18025
 
17940
 FINAL_LIBRARY = "webrtc"
18026
 FINAL_LIBRARY = "webrtc"
17941
 
18027
 
17942
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
18028
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
17943
 if CONFIG["MOZ_DEBUG"] == "1":
18029
 if CONFIG["MOZ_DEBUG"] == "1":
17944
 
18030
 
17945
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
18031
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 18004-18009 index 2c7b1f39e7c2..b2366c6af2a0 100644 Link Here
18004
-    DEFINES["NOMINMAX"] = True
18090
-    DEFINES["NOMINMAX"] = True
18005
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
18091
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
18006
-    DEFINES["PSAPI_VERSION"] = "2"
18092
-    DEFINES["PSAPI_VERSION"] = "2"
18093
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
18007
-    DEFINES["UNICODE"] = True
18094
-    DEFINES["UNICODE"] = True
18008
-    DEFINES["USE_AURA"] = "1"
18095
-    DEFINES["USE_AURA"] = "1"
18009
-    DEFINES["WEBRTC_WIN"] = True
18096
-    DEFINES["WEBRTC_WIN"] = True
Lines 18126-18132 index 2c7b1f39e7c2..b2366c6af2a0 100644 Link Here
18126
 
18213
 
18127
 Library("video_bitrate_allocation_gn")
18214
 Library("video_bitrate_allocation_gn")
18128
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
18215
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
18129
index a6e2e2c6f5a9..8eb8884fe45b 100644
18216
index 1712dffdc683..8eb8884fe45b 100644
18130
--- third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build
18217
--- third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build
18131
+++ third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build
18218
+++ third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build
18132
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
18219
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 18150-18156 index a6e2e2c6f5a9..8eb8884fe45b 100644 Link Here
18150
 
18237
 
18151
 FINAL_LIBRARY = "webrtc"
18238
 FINAL_LIBRARY = "webrtc"
18152
 
18239
 
18153
@@ -39,111 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
18240
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
18154
 if CONFIG["MOZ_DEBUG"] == "1":
18241
 if CONFIG["MOZ_DEBUG"] == "1":
18155
 
18242
 
18156
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
18243
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 18215-18220 index a6e2e2c6f5a9..8eb8884fe45b 100644 Link Here
18215
-    DEFINES["NOMINMAX"] = True
18302
-    DEFINES["NOMINMAX"] = True
18216
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
18303
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
18217
-    DEFINES["PSAPI_VERSION"] = "2"
18304
-    DEFINES["PSAPI_VERSION"] = "2"
18305
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
18218
-    DEFINES["UNICODE"] = True
18306
-    DEFINES["UNICODE"] = True
18219
-    DEFINES["USE_AURA"] = "1"
18307
-    DEFINES["USE_AURA"] = "1"
18220
-    DEFINES["WEBRTC_WIN"] = True
18308
-    DEFINES["WEBRTC_WIN"] = True
Lines 18263-18269 index a6e2e2c6f5a9..8eb8884fe45b 100644 Link Here
18263
 
18351
 
18264
 if CONFIG["CPU_ARCH"] == "x86":
18352
 if CONFIG["CPU_ARCH"] == "x86":
18265
 
18353
 
18266
@@ -153,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
18354
@@ -154,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
18267
 
18355
 
18268
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
18356
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
18269
 
18357
 
Lines 18323-18329 index a6e2e2c6f5a9..8eb8884fe45b 100644 Link Here
18323
-
18411
-
18324
 Library("video_bitrate_allocator_factory_gn")
18412
 Library("video_bitrate_allocator_factory_gn")
18325
diff --git third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build
18413
diff --git third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build
18326
index f09476aacb87..7f6b2b8a30ac 100644
18414
index b203fa6d7475..7f6b2b8a30ac 100644
18327
--- third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build
18415
--- third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build
18328
+++ third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build
18416
+++ third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build
18329
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
18417
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 18347-18353 index f09476aacb87..7f6b2b8a30ac 100644 Link Here
18347
 
18435
 
18348
 FINAL_LIBRARY = "webrtc"
18436
 FINAL_LIBRARY = "webrtc"
18349
 
18437
 
18350
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
18438
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
18351
 if CONFIG["MOZ_DEBUG"] == "1":
18439
 if CONFIG["MOZ_DEBUG"] == "1":
18352
 
18440
 
18353
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
18441
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 18412-18417 index f09476aacb87..7f6b2b8a30ac 100644 Link Here
18412
-    DEFINES["NOMINMAX"] = True
18500
-    DEFINES["NOMINMAX"] = True
18413
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
18501
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
18414
-    DEFINES["PSAPI_VERSION"] = "2"
18502
-    DEFINES["PSAPI_VERSION"] = "2"
18503
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
18415
-    DEFINES["UNICODE"] = True
18504
-    DEFINES["UNICODE"] = True
18416
-    DEFINES["USE_AURA"] = "1"
18505
-    DEFINES["USE_AURA"] = "1"
18417
-    DEFINES["WEBRTC_WIN"] = True
18506
-    DEFINES["WEBRTC_WIN"] = True
Lines 18534-18540 index f09476aacb87..7f6b2b8a30ac 100644 Link Here
18534
 
18623
 
18535
 Library("video_bitrate_allocator_gn")
18624
 Library("video_bitrate_allocator_gn")
18536
diff --git third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build
18625
diff --git third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build
18537
index 2ac72c5b5429..b7f4cc420178 100644
18626
index b8327ec933cb..b7f4cc420178 100644
18538
--- third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build
18627
--- third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build
18539
+++ third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build
18628
+++ third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build
18540
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
18629
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 18558-18564 index 2ac72c5b5429..b7f4cc420178 100644 Link Here
18558
 
18647
 
18559
 FINAL_LIBRARY = "webrtc"
18648
 FINAL_LIBRARY = "webrtc"
18560
 
18649
 
18561
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
18650
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
18562
 if CONFIG["MOZ_DEBUG"] == "1":
18651
 if CONFIG["MOZ_DEBUG"] == "1":
18563
 
18652
 
18564
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
18653
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 18619-18624 index 2ac72c5b5429..b7f4cc420178 100644 Link Here
18619
-    DEFINES["NOMINMAX"] = True
18708
-    DEFINES["NOMINMAX"] = True
18620
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
18709
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
18621
-    DEFINES["PSAPI_VERSION"] = "2"
18710
-    DEFINES["PSAPI_VERSION"] = "2"
18711
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
18622
-    DEFINES["UNICODE"] = True
18712
-    DEFINES["UNICODE"] = True
18623
-    DEFINES["USE_AURA"] = "1"
18713
-    DEFINES["USE_AURA"] = "1"
18624
-    DEFINES["WEBRTC_WIN"] = True
18714
-    DEFINES["WEBRTC_WIN"] = True
Lines 18663-18669 index 2ac72c5b5429..b7f4cc420178 100644 Link Here
18663
 
18753
 
18664
 if CONFIG["CPU_ARCH"] == "x86":
18754
 if CONFIG["CPU_ARCH"] == "x86":
18665
 
18755
 
18666
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
18756
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
18667
 
18757
 
18668
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
18758
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
18669
 
18759
 
Lines 18723-18729 index 2ac72c5b5429..b7f4cc420178 100644 Link Here
18723
-
18813
-
18724
 Library("video_codec_constants_gn")
18814
 Library("video_codec_constants_gn")
18725
diff --git third_party/libwebrtc/api/video/video_frame_gn/moz.build third_party/libwebrtc/api/video/video_frame_gn/moz.build
18815
diff --git third_party/libwebrtc/api/video/video_frame_gn/moz.build third_party/libwebrtc/api/video/video_frame_gn/moz.build
18726
index 7a4e9fdc2c33..c7700a5bcd92 100644
18816
index 7d21dfb24a71..c7700a5bcd92 100644
18727
--- third_party/libwebrtc/api/video/video_frame_gn/moz.build
18817
--- third_party/libwebrtc/api/video/video_frame_gn/moz.build
18728
+++ third_party/libwebrtc/api/video/video_frame_gn/moz.build
18818
+++ third_party/libwebrtc/api/video/video_frame_gn/moz.build
18729
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
18819
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 18747-18753 index 7a4e9fdc2c33..c7700a5bcd92 100644 Link Here
18747
 
18837
 
18748
 FINAL_LIBRARY = "webrtc"
18838
 FINAL_LIBRARY = "webrtc"
18749
 
18839
 
18750
@@ -54,183 +63,32 @@ if not CONFIG["MOZ_DEBUG"]:
18840
@@ -54,184 +63,32 @@ if not CONFIG["MOZ_DEBUG"]:
18751
 if CONFIG["MOZ_DEBUG"] == "1":
18841
 if CONFIG["MOZ_DEBUG"] == "1":
18752
 
18842
 
18753
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
18843
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 18812-18817 index 7a4e9fdc2c33..c7700a5bcd92 100644 Link Here
18812
-    DEFINES["NOMINMAX"] = True
18902
-    DEFINES["NOMINMAX"] = True
18813
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
18903
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
18814
-    DEFINES["PSAPI_VERSION"] = "2"
18904
-    DEFINES["PSAPI_VERSION"] = "2"
18905
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
18815
-    DEFINES["UNICODE"] = True
18906
-    DEFINES["UNICODE"] = True
18816
-    DEFINES["USE_AURA"] = "1"
18907
-    DEFINES["USE_AURA"] = "1"
18817
-    DEFINES["WEBRTC_WIN"] = True
18908
-    DEFINES["WEBRTC_WIN"] = True
Lines 18938-18944 index 7a4e9fdc2c33..c7700a5bcd92 100644 Link Here
18938
 
19029
 
18939
 Library("video_frame_gn")
19030
 Library("video_frame_gn")
18940
diff --git third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build
19031
diff --git third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build
18941
index e56d43a29930..735fd52d03b8 100644
19032
index 01eabd0d3249..735fd52d03b8 100644
18942
--- third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build
19033
--- third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build
18943
+++ third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build
19034
+++ third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build
18944
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
19035
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 18962-18968 index e56d43a29930..735fd52d03b8 100644 Link Here
18962
 
19053
 
18963
 FINAL_LIBRARY = "webrtc"
19054
 FINAL_LIBRARY = "webrtc"
18964
 
19055
 
18965
@@ -50,183 +59,32 @@ if not CONFIG["MOZ_DEBUG"]:
19056
@@ -50,184 +59,32 @@ if not CONFIG["MOZ_DEBUG"]:
18966
 if CONFIG["MOZ_DEBUG"] == "1":
19057
 if CONFIG["MOZ_DEBUG"] == "1":
18967
 
19058
 
18968
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
19059
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 19027-19032 index e56d43a29930..735fd52d03b8 100644 Link Here
19027
-    DEFINES["NOMINMAX"] = True
19118
-    DEFINES["NOMINMAX"] = True
19028
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
19119
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
19029
-    DEFINES["PSAPI_VERSION"] = "2"
19120
-    DEFINES["PSAPI_VERSION"] = "2"
19121
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
19030
-    DEFINES["UNICODE"] = True
19122
-    DEFINES["UNICODE"] = True
19031
-    DEFINES["USE_AURA"] = "1"
19123
-    DEFINES["USE_AURA"] = "1"
19032
-    DEFINES["WEBRTC_WIN"] = True
19124
-    DEFINES["WEBRTC_WIN"] = True
Lines 19153-19159 index e56d43a29930..735fd52d03b8 100644 Link Here
19153
 
19245
 
19154
 Library("video_frame_i010_gn")
19246
 Library("video_frame_i010_gn")
19155
diff --git third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build
19247
diff --git third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build
19156
index 2d2221dbb57d..eb03efadbe9a 100644
19248
index 48f4a170531a..eb03efadbe9a 100644
19157
--- third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build
19249
--- third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build
19158
+++ third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build
19250
+++ third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build
19159
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
19251
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 19177-19183 index 2d2221dbb57d..eb03efadbe9a 100644 Link Here
19177
 
19269
 
19178
 FINAL_LIBRARY = "webrtc"
19270
 FINAL_LIBRARY = "webrtc"
19179
 
19271
 
19180
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
19272
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
19181
 if CONFIG["MOZ_DEBUG"] == "1":
19273
 if CONFIG["MOZ_DEBUG"] == "1":
19182
 
19274
 
19183
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
19275
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 19242-19247 index 2d2221dbb57d..eb03efadbe9a 100644 Link Here
19242
-    DEFINES["NOMINMAX"] = True
19334
-    DEFINES["NOMINMAX"] = True
19243
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
19335
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
19244
-    DEFINES["PSAPI_VERSION"] = "2"
19336
-    DEFINES["PSAPI_VERSION"] = "2"
19337
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
19245
-    DEFINES["UNICODE"] = True
19338
-    DEFINES["UNICODE"] = True
19246
-    DEFINES["USE_AURA"] = "1"
19339
-    DEFINES["USE_AURA"] = "1"
19247
-    DEFINES["WEBRTC_WIN"] = True
19340
-    DEFINES["WEBRTC_WIN"] = True
Lines 19368-19374 index 2d2221dbb57d..eb03efadbe9a 100644 Link Here
19368
 
19461
 
19369
 Library("video_frame_metadata_gn")
19462
 Library("video_frame_metadata_gn")
19370
diff --git third_party/libwebrtc/api/video/video_frame_type_gn/moz.build third_party/libwebrtc/api/video/video_frame_type_gn/moz.build
19463
diff --git third_party/libwebrtc/api/video/video_frame_type_gn/moz.build third_party/libwebrtc/api/video/video_frame_type_gn/moz.build
19371
index bc4c46bfbdc5..7b04b10d4157 100644
19464
index 46adc4af5f34..7b04b10d4157 100644
19372
--- third_party/libwebrtc/api/video/video_frame_type_gn/moz.build
19465
--- third_party/libwebrtc/api/video/video_frame_type_gn/moz.build
19373
+++ third_party/libwebrtc/api/video/video_frame_type_gn/moz.build
19466
+++ third_party/libwebrtc/api/video/video_frame_type_gn/moz.build
19374
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
19467
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 19392-19398 index bc4c46bfbdc5..7b04b10d4157 100644 Link Here
19392
 
19485
 
19393
 FINAL_LIBRARY = "webrtc"
19486
 FINAL_LIBRARY = "webrtc"
19394
 
19487
 
19395
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
19488
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
19396
 if CONFIG["MOZ_DEBUG"] == "1":
19489
 if CONFIG["MOZ_DEBUG"] == "1":
19397
 
19490
 
19398
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
19491
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 19453-19458 index bc4c46bfbdc5..7b04b10d4157 100644 Link Here
19453
-    DEFINES["NOMINMAX"] = True
19546
-    DEFINES["NOMINMAX"] = True
19454
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
19547
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
19455
-    DEFINES["PSAPI_VERSION"] = "2"
19548
-    DEFINES["PSAPI_VERSION"] = "2"
19549
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
19456
-    DEFINES["UNICODE"] = True
19550
-    DEFINES["UNICODE"] = True
19457
-    DEFINES["USE_AURA"] = "1"
19551
-    DEFINES["USE_AURA"] = "1"
19458
-    DEFINES["WEBRTC_WIN"] = True
19552
-    DEFINES["WEBRTC_WIN"] = True
Lines 19497-19503 index bc4c46bfbdc5..7b04b10d4157 100644 Link Here
19497
 
19591
 
19498
 if CONFIG["CPU_ARCH"] == "x86":
19592
 if CONFIG["CPU_ARCH"] == "x86":
19499
 
19593
 
19500
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
19594
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
19501
 
19595
 
19502
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
19596
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
19503
 
19597
 
Lines 19557-19563 index bc4c46bfbdc5..7b04b10d4157 100644 Link Here
19557
-
19651
-
19558
 Library("video_frame_type_gn")
19652
 Library("video_frame_type_gn")
19559
diff --git third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build
19653
diff --git third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build
19560
index ded4d37ab6b7..0129e1ce4ed0 100644
19654
index 817d778c165b..0129e1ce4ed0 100644
19561
--- third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build
19655
--- third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build
19562
+++ third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build
19656
+++ third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build
19563
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
19657
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 19581-19587 index ded4d37ab6b7..0129e1ce4ed0 100644 Link Here
19581
 
19675
 
19582
 FINAL_LIBRARY = "webrtc"
19676
 FINAL_LIBRARY = "webrtc"
19583
 
19677
 
19584
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
19678
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
19585
 if CONFIG["MOZ_DEBUG"] == "1":
19679
 if CONFIG["MOZ_DEBUG"] == "1":
19586
 
19680
 
19587
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
19681
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 19646-19651 index ded4d37ab6b7..0129e1ce4ed0 100644 Link Here
19646
-    DEFINES["NOMINMAX"] = True
19740
-    DEFINES["NOMINMAX"] = True
19647
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
19741
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
19648
-    DEFINES["PSAPI_VERSION"] = "2"
19742
-    DEFINES["PSAPI_VERSION"] = "2"
19743
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
19649
-    DEFINES["UNICODE"] = True
19744
-    DEFINES["UNICODE"] = True
19650
-    DEFINES["USE_AURA"] = "1"
19745
-    DEFINES["USE_AURA"] = "1"
19651
-    DEFINES["WEBRTC_WIN"] = True
19746
-    DEFINES["WEBRTC_WIN"] = True
Lines 19690-19696 index ded4d37ab6b7..0129e1ce4ed0 100644 Link Here
19690
 
19785
 
19691
 if CONFIG["CPU_ARCH"] == "x86":
19786
 if CONFIG["CPU_ARCH"] == "x86":
19692
 
19787
 
19693
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
19788
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
19694
 
19789
 
19695
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
19790
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
19696
 
19791
 
Lines 19750-19756 index ded4d37ab6b7..0129e1ce4ed0 100644 Link Here
19750
-
19845
-
19751
 Library("video_layers_allocation_gn")
19846
 Library("video_layers_allocation_gn")
19752
diff --git third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build
19847
diff --git third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build
19753
index fffe252ebd5c..1bdba7c6dffa 100644
19848
index ebe08ca9fdf2..1bdba7c6dffa 100644
19754
--- third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build
19849
--- third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build
19755
+++ third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build
19850
+++ third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build
19756
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
19851
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 19774-19780 index fffe252ebd5c..1bdba7c6dffa 100644 Link Here
19774
 
19869
 
19775
 FINAL_LIBRARY = "webrtc"
19870
 FINAL_LIBRARY = "webrtc"
19776
 
19871
 
19777
@@ -46,183 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
19872
@@ -46,184 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
19778
 if CONFIG["MOZ_DEBUG"] == "1":
19873
 if CONFIG["MOZ_DEBUG"] == "1":
19779
 
19874
 
19780
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
19875
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 19839-19844 index fffe252ebd5c..1bdba7c6dffa 100644 Link Here
19839
-    DEFINES["NOMINMAX"] = True
19934
-    DEFINES["NOMINMAX"] = True
19840
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
19935
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
19841
-    DEFINES["PSAPI_VERSION"] = "2"
19936
-    DEFINES["PSAPI_VERSION"] = "2"
19937
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
19842
-    DEFINES["UNICODE"] = True
19938
-    DEFINES["UNICODE"] = True
19843
-    DEFINES["USE_AURA"] = "1"
19939
-    DEFINES["USE_AURA"] = "1"
19844
-    DEFINES["WEBRTC_WIN"] = True
19940
-    DEFINES["WEBRTC_WIN"] = True
Lines 19965-19971 index fffe252ebd5c..1bdba7c6dffa 100644 Link Here
19965
 
20061
 
19966
 Library("video_rtp_headers_gn")
20062
 Library("video_rtp_headers_gn")
19967
diff --git third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build
20063
diff --git third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build
19968
index e36bc0df9828..cb189ba6fbb8 100644
20064
index 96a4350fec9b..cb189ba6fbb8 100644
19969
--- third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build
20065
--- third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build
19970
+++ third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build
20066
+++ third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build
19971
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
20067
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 19989-19995 index e36bc0df9828..cb189ba6fbb8 100644 Link Here
19989
 
20085
 
19990
 FINAL_LIBRARY = "webrtc"
20086
 FINAL_LIBRARY = "webrtc"
19991
 
20087
 
19992
@@ -39,111 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
20088
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
19993
 if CONFIG["MOZ_DEBUG"] == "1":
20089
 if CONFIG["MOZ_DEBUG"] == "1":
19994
 
20090
 
19995
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
20091
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 20054-20059 index e36bc0df9828..cb189ba6fbb8 100644 Link Here
20054
-    DEFINES["NOMINMAX"] = True
20150
-    DEFINES["NOMINMAX"] = True
20055
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
20151
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
20056
-    DEFINES["PSAPI_VERSION"] = "2"
20152
-    DEFINES["PSAPI_VERSION"] = "2"
20153
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
20057
-    DEFINES["UNICODE"] = True
20154
-    DEFINES["UNICODE"] = True
20058
-    DEFINES["USE_AURA"] = "1"
20155
-    DEFINES["USE_AURA"] = "1"
20059
-    DEFINES["WEBRTC_WIN"] = True
20156
-    DEFINES["WEBRTC_WIN"] = True
Lines 20102-20108 index e36bc0df9828..cb189ba6fbb8 100644 Link Here
20102
 
20199
 
20103
 if CONFIG["CPU_ARCH"] == "x86":
20200
 if CONFIG["CPU_ARCH"] == "x86":
20104
 
20201
 
20105
@@ -153,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
20202
@@ -154,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
20106
 
20203
 
20107
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
20204
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
20108
 
20205
 
Lines 20162-20168 index e36bc0df9828..cb189ba6fbb8 100644 Link Here
20162
-
20259
-
20163
 Library("video_stream_encoder_gn")
20260
 Library("video_stream_encoder_gn")
20164
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
20261
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
20165
index dcf5d2273c8d..86180d10a821 100644
20262
index aabf7973ec3e..86180d10a821 100644
20166
--- third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build
20263
--- third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build
20167
+++ third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build
20264
+++ third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build
20168
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
20265
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 20186-20192 index dcf5d2273c8d..86180d10a821 100644 Link Here
20186
 
20283
 
20187
 FINAL_LIBRARY = "webrtc"
20284
 FINAL_LIBRARY = "webrtc"
20188
 
20285
 
20189
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
20286
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
20190
 if CONFIG["MOZ_DEBUG"] == "1":
20287
 if CONFIG["MOZ_DEBUG"] == "1":
20191
 
20288
 
20192
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
20289
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 20251-20256 index dcf5d2273c8d..86180d10a821 100644 Link Here
20251
-    DEFINES["NOMINMAX"] = True
20348
-    DEFINES["NOMINMAX"] = True
20252
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
20349
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
20253
-    DEFINES["PSAPI_VERSION"] = "2"
20350
-    DEFINES["PSAPI_VERSION"] = "2"
20351
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
20254
-    DEFINES["UNICODE"] = True
20352
-    DEFINES["UNICODE"] = True
20255
-    DEFINES["USE_AURA"] = "1"
20353
-    DEFINES["USE_AURA"] = "1"
20256
-    DEFINES["WEBRTC_WIN"] = True
20354
-    DEFINES["WEBRTC_WIN"] = True
Lines 20295-20301 index dcf5d2273c8d..86180d10a821 100644 Link Here
20295
 
20393
 
20296
 if CONFIG["CPU_ARCH"] == "x86":
20394
 if CONFIG["CPU_ARCH"] == "x86":
20297
 
20395
 
20298
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
20396
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
20299
 
20397
 
20300
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
20398
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
20301
 
20399
 
Lines 20355-20361 index dcf5d2273c8d..86180d10a821 100644 Link Here
20355
-
20453
-
20356
 Library("bitstream_parser_api_gn")
20454
 Library("bitstream_parser_api_gn")
20357
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
20455
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
20358
index 987a01bd2f1a..dfcfda00467b 100644
20456
index 83c15c45c4b7..dfcfda00467b 100644
20359
--- third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build
20457
--- third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build
20360
+++ third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build
20458
+++ third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build
20361
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
20459
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 20379-20385 index 987a01bd2f1a..dfcfda00467b 100644 Link Here
20379
 
20477
 
20380
 FINAL_LIBRARY = "webrtc"
20478
 FINAL_LIBRARY = "webrtc"
20381
 
20479
 
20382
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
20480
@@ -44,192 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
20383
 if CONFIG["MOZ_DEBUG"] == "1":
20481
 if CONFIG["MOZ_DEBUG"] == "1":
20384
 
20482
 
20385
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
20483
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 20449-20454 index 987a01bd2f1a..dfcfda00467b 100644 Link Here
20449
-    DEFINES["NOMINMAX"] = True
20547
-    DEFINES["NOMINMAX"] = True
20450
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
20548
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
20451
-    DEFINES["PSAPI_VERSION"] = "2"
20549
-    DEFINES["PSAPI_VERSION"] = "2"
20550
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
20452
-    DEFINES["UNICODE"] = True
20551
-    DEFINES["UNICODE"] = True
20453
-    DEFINES["USE_AURA"] = "1"
20552
-    DEFINES["USE_AURA"] = "1"
20454
-    DEFINES["WEBRTC_WIN"] = True
20553
-    DEFINES["WEBRTC_WIN"] = True
Lines 20578-20584 index 987a01bd2f1a..dfcfda00467b 100644 Link Here
20578
 
20677
 
20579
 Library("rtc_software_fallback_wrappers_gn")
20678
 Library("rtc_software_fallback_wrappers_gn")
20580
diff --git third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build
20679
diff --git third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build
20581
index a308bfc58fd9..50cd221a39d7 100644
20680
index 5817876c23d3..50cd221a39d7 100644
20582
--- third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build
20681
--- third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build
20583
+++ third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build
20682
+++ third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build
20584
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
20683
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 20602-20608 index a308bfc58fd9..50cd221a39d7 100644 Link Here
20602
 
20701
 
20603
 FINAL_LIBRARY = "webrtc"
20702
 FINAL_LIBRARY = "webrtc"
20604
 
20703
 
20605
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
20704
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
20606
 if CONFIG["MOZ_DEBUG"] == "1":
20705
 if CONFIG["MOZ_DEBUG"] == "1":
20607
 
20706
 
20608
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
20707
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 20667-20672 index a308bfc58fd9..50cd221a39d7 100644 Link Here
20667
-    DEFINES["NOMINMAX"] = True
20766
-    DEFINES["NOMINMAX"] = True
20668
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
20767
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
20669
-    DEFINES["PSAPI_VERSION"] = "2"
20768
-    DEFINES["PSAPI_VERSION"] = "2"
20769
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
20670
-    DEFINES["UNICODE"] = True
20770
-    DEFINES["UNICODE"] = True
20671
-    DEFINES["USE_AURA"] = "1"
20771
-    DEFINES["USE_AURA"] = "1"
20672
-    DEFINES["WEBRTC_WIN"] = True
20772
-    DEFINES["WEBRTC_WIN"] = True
Lines 20789-20795 index a308bfc58fd9..50cd221a39d7 100644 Link Here
20789
 
20889
 
20790
 Library("scalability_mode_gn")
20890
 Library("scalability_mode_gn")
20791
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
20891
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
20792
index eccdc6cfc778..748f6fb1b597 100644
20892
index b834c671ea9e..748f6fb1b597 100644
20793
--- third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build
20893
--- third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build
20794
+++ third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build
20894
+++ third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build
20795
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
20895
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 20813-20819 index eccdc6cfc778..748f6fb1b597 100644 Link Here
20813
 
20913
 
20814
 FINAL_LIBRARY = "webrtc"
20914
 FINAL_LIBRARY = "webrtc"
20815
 
20915
 
20816
@@ -53,183 +62,32 @@ if not CONFIG["MOZ_DEBUG"]:
20916
@@ -53,184 +62,32 @@ if not CONFIG["MOZ_DEBUG"]:
20817
 if CONFIG["MOZ_DEBUG"] == "1":
20917
 if CONFIG["MOZ_DEBUG"] == "1":
20818
 
20918
 
20819
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
20919
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 20878-20883 index eccdc6cfc778..748f6fb1b597 100644 Link Here
20878
-    DEFINES["NOMINMAX"] = True
20978
-    DEFINES["NOMINMAX"] = True
20879
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
20979
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
20880
-    DEFINES["PSAPI_VERSION"] = "2"
20980
-    DEFINES["PSAPI_VERSION"] = "2"
20981
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
20881
-    DEFINES["UNICODE"] = True
20982
-    DEFINES["UNICODE"] = True
20882
-    DEFINES["USE_AURA"] = "1"
20983
-    DEFINES["USE_AURA"] = "1"
20883
-    DEFINES["WEBRTC_WIN"] = True
20984
-    DEFINES["WEBRTC_WIN"] = True
Lines 21004-21010 index eccdc6cfc778..748f6fb1b597 100644 Link Here
21004
 
21105
 
21005
 Library("video_codecs_api_gn")
21106
 Library("video_codecs_api_gn")
21006
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
21107
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
21007
index 41d547569586..2b71c8370242 100644
21108
index d85e55ac74e9..2b71c8370242 100644
21008
--- third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build
21109
--- third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build
21009
+++ third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build
21110
+++ third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build
21010
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
21111
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 21028-21034 index 41d547569586..2b71c8370242 100644 Link Here
21028
 
21129
 
21029
 FINAL_LIBRARY = "webrtc"
21130
 FINAL_LIBRARY = "webrtc"
21030
 
21131
 
21031
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
21132
@@ -43,192 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
21032
 if CONFIG["MOZ_DEBUG"] == "1":
21133
 if CONFIG["MOZ_DEBUG"] == "1":
21033
 
21134
 
21034
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
21135
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 21098-21103 index 41d547569586..2b71c8370242 100644 Link Here
21098
-    DEFINES["NOMINMAX"] = True
21199
-    DEFINES["NOMINMAX"] = True
21099
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
21200
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
21100
-    DEFINES["PSAPI_VERSION"] = "2"
21201
-    DEFINES["PSAPI_VERSION"] = "2"
21202
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
21101
-    DEFINES["UNICODE"] = True
21203
-    DEFINES["UNICODE"] = True
21102
-    DEFINES["USE_AURA"] = "1"
21204
-    DEFINES["USE_AURA"] = "1"
21103
-    DEFINES["WEBRTC_WIN"] = True
21205
-    DEFINES["WEBRTC_WIN"] = True
Lines 21227-21233 index 41d547569586..2b71c8370242 100644 Link Here
21227
 
21329
 
21228
 Library("vp8_temporal_layers_factory_gn")
21330
 Library("vp8_temporal_layers_factory_gn")
21229
diff --git third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build
21331
diff --git third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build
21230
index 77f7ba4d70db..524de95cf6e8 100644
21332
index 242fc4076dc9..524de95cf6e8 100644
21231
--- third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build
21333
--- third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build
21232
+++ third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build
21334
+++ third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build
21233
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
21335
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 21251-21257 index 77f7ba4d70db..524de95cf6e8 100644 Link Here
21251
 
21353
 
21252
 FINAL_LIBRARY = "webrtc"
21354
 FINAL_LIBRARY = "webrtc"
21253
 
21355
 
21254
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
21356
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
21255
 if CONFIG["MOZ_DEBUG"] == "1":
21357
 if CONFIG["MOZ_DEBUG"] == "1":
21256
 
21358
 
21257
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
21359
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 21312-21317 index 77f7ba4d70db..524de95cf6e8 100644 Link Here
21312
-    DEFINES["NOMINMAX"] = True
21414
-    DEFINES["NOMINMAX"] = True
21313
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
21415
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
21314
-    DEFINES["PSAPI_VERSION"] = "2"
21416
-    DEFINES["PSAPI_VERSION"] = "2"
21417
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
21315
-    DEFINES["UNICODE"] = True
21418
-    DEFINES["UNICODE"] = True
21316
-    DEFINES["USE_AURA"] = "1"
21419
-    DEFINES["USE_AURA"] = "1"
21317
-    DEFINES["WEBRTC_WIN"] = True
21420
-    DEFINES["WEBRTC_WIN"] = True
Lines 21356-21362 index 77f7ba4d70db..524de95cf6e8 100644 Link Here
21356
 
21459
 
21357
 if CONFIG["CPU_ARCH"] == "x86":
21460
 if CONFIG["CPU_ARCH"] == "x86":
21358
 
21461
 
21359
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
21462
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
21360
 
21463
 
21361
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
21464
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
21362
 
21465
 
Lines 21416-21422 index 77f7ba4d70db..524de95cf6e8 100644 Link Here
21416
-
21519
-
21417
 Library("video_track_source_constraints_gn")
21520
 Library("video_track_source_constraints_gn")
21418
diff --git third_party/libwebrtc/audio/audio_gn/moz.build third_party/libwebrtc/audio/audio_gn/moz.build
21521
diff --git third_party/libwebrtc/audio/audio_gn/moz.build third_party/libwebrtc/audio/audio_gn/moz.build
21419
index 8a35de2e88b4..beb8a0df1b72 100644
21522
index d5a7476444a4..beb8a0df1b72 100644
21420
--- third_party/libwebrtc/audio/audio_gn/moz.build
21523
--- third_party/libwebrtc/audio/audio_gn/moz.build
21421
+++ third_party/libwebrtc/audio/audio_gn/moz.build
21524
+++ third_party/libwebrtc/audio/audio_gn/moz.build
21422
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
21525
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 21440-21446 index 8a35de2e88b4..beb8a0df1b72 100644 Link Here
21440
 
21543
 
21441
 FINAL_LIBRARY = "webrtc"
21544
 FINAL_LIBRARY = "webrtc"
21442
 
21545
 
21443
@@ -55,191 +64,32 @@ if not CONFIG["MOZ_DEBUG"]:
21546
@@ -55,192 +64,32 @@ if not CONFIG["MOZ_DEBUG"]:
21444
 if CONFIG["MOZ_DEBUG"] == "1":
21547
 if CONFIG["MOZ_DEBUG"] == "1":
21445
 
21548
 
21446
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
21549
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 21510-21515 index 8a35de2e88b4..beb8a0df1b72 100644 Link Here
21510
-    DEFINES["NOMINMAX"] = True
21613
-    DEFINES["NOMINMAX"] = True
21511
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
21614
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
21512
-    DEFINES["PSAPI_VERSION"] = "2"
21615
-    DEFINES["PSAPI_VERSION"] = "2"
21616
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
21513
-    DEFINES["UNICODE"] = True
21617
-    DEFINES["UNICODE"] = True
21514
-    DEFINES["USE_AURA"] = "1"
21618
-    DEFINES["USE_AURA"] = "1"
21515
-    DEFINES["WEBRTC_WIN"] = True
21619
-    DEFINES["WEBRTC_WIN"] = True
Lines 21639-21645 index 8a35de2e88b4..beb8a0df1b72 100644 Link Here
21639
 
21743
 
21640
 Library("audio_gn")
21744
 Library("audio_gn")
21641
diff --git third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build
21745
diff --git third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build
21642
index 81aea2d62785..1e0bdc5fc767 100644
21746
index 8581c24422ee..1e0bdc5fc767 100644
21643
--- third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build
21747
--- third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build
21644
+++ third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build
21748
+++ third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build
21645
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
21749
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 21663-21669 index 81aea2d62785..1e0bdc5fc767 100644 Link Here
21663
 
21767
 
21664
 FINAL_LIBRARY = "webrtc"
21768
 FINAL_LIBRARY = "webrtc"
21665
 
21769
 
21666
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
21770
@@ -45,191 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
21667
 if CONFIG["MOZ_DEBUG"] == "1":
21771
 if CONFIG["MOZ_DEBUG"] == "1":
21668
 
21772
 
21669
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
21773
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 21732-21737 index 81aea2d62785..1e0bdc5fc767 100644 Link Here
21732
-    DEFINES["NOMINMAX"] = True
21836
-    DEFINES["NOMINMAX"] = True
21733
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
21837
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
21734
-    DEFINES["PSAPI_VERSION"] = "2"
21838
-    DEFINES["PSAPI_VERSION"] = "2"
21839
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
21735
-    DEFINES["UNICODE"] = True
21840
-    DEFINES["UNICODE"] = True
21736
-    DEFINES["USE_AURA"] = "1"
21841
-    DEFINES["USE_AURA"] = "1"
21737
-    DEFINES["WEBRTC_WIN"] = True
21842
-    DEFINES["WEBRTC_WIN"] = True
Lines 21861-21867 index 81aea2d62785..1e0bdc5fc767 100644 Link Here
21861
 
21966
 
21862
 Library("audio_frame_operations_gn")
21967
 Library("audio_frame_operations_gn")
21863
diff --git third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build
21968
diff --git third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build
21864
index b67981ba5850..5bb0f70142e3 100644
21969
index d7ca4d9c12ba..5bb0f70142e3 100644
21865
--- third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build
21970
--- third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build
21866
+++ third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build
21971
+++ third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build
21867
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
21972
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 21885-21891 index b67981ba5850..5bb0f70142e3 100644 Link Here
21885
 
21990
 
21886
 FINAL_LIBRARY = "webrtc"
21991
 FINAL_LIBRARY = "webrtc"
21887
 
21992
 
21888
@@ -52,191 +61,32 @@ if not CONFIG["MOZ_DEBUG"]:
21993
@@ -52,192 +61,32 @@ if not CONFIG["MOZ_DEBUG"]:
21889
 if CONFIG["MOZ_DEBUG"] == "1":
21994
 if CONFIG["MOZ_DEBUG"] == "1":
21890
 
21995
 
21891
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
21996
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 21955-21960 index b67981ba5850..5bb0f70142e3 100644 Link Here
21955
-    DEFINES["NOMINMAX"] = True
22060
-    DEFINES["NOMINMAX"] = True
21956
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
22061
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
21957
-    DEFINES["PSAPI_VERSION"] = "2"
22062
-    DEFINES["PSAPI_VERSION"] = "2"
22063
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
21958
-    DEFINES["UNICODE"] = True
22064
-    DEFINES["UNICODE"] = True
21959
-    DEFINES["USE_AURA"] = "1"
22065
-    DEFINES["USE_AURA"] = "1"
21960
-    DEFINES["WEBRTC_WIN"] = True
22066
-    DEFINES["WEBRTC_WIN"] = True
Lines 22084-22090 index b67981ba5850..5bb0f70142e3 100644 Link Here
22084
 
22190
 
22085
 Library("resource_adaptation_gn")
22191
 Library("resource_adaptation_gn")
22086
diff --git third_party/libwebrtc/call/audio_sender_interface_gn/moz.build third_party/libwebrtc/call/audio_sender_interface_gn/moz.build
22192
diff --git third_party/libwebrtc/call/audio_sender_interface_gn/moz.build third_party/libwebrtc/call/audio_sender_interface_gn/moz.build
22087
index 6779dfa7cc01..75c30bf9abf4 100644
22193
index a76d7380394a..75c30bf9abf4 100644
22088
--- third_party/libwebrtc/call/audio_sender_interface_gn/moz.build
22194
--- third_party/libwebrtc/call/audio_sender_interface_gn/moz.build
22089
+++ third_party/libwebrtc/call/audio_sender_interface_gn/moz.build
22195
+++ third_party/libwebrtc/call/audio_sender_interface_gn/moz.build
22090
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
22196
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 22108-22114 index 6779dfa7cc01..75c30bf9abf4 100644 Link Here
22108
 
22214
 
22109
 FINAL_LIBRARY = "webrtc"
22215
 FINAL_LIBRARY = "webrtc"
22110
 
22216
 
22111
@@ -39,111 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
22217
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
22112
 if CONFIG["MOZ_DEBUG"] == "1":
22218
 if CONFIG["MOZ_DEBUG"] == "1":
22113
 
22219
 
22114
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
22220
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 22173-22178 index 6779dfa7cc01..75c30bf9abf4 100644 Link Here
22173
-    DEFINES["NOMINMAX"] = True
22279
-    DEFINES["NOMINMAX"] = True
22174
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
22280
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
22175
-    DEFINES["PSAPI_VERSION"] = "2"
22281
-    DEFINES["PSAPI_VERSION"] = "2"
22282
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
22176
-    DEFINES["UNICODE"] = True
22283
-    DEFINES["UNICODE"] = True
22177
-    DEFINES["USE_AURA"] = "1"
22284
-    DEFINES["USE_AURA"] = "1"
22178
-    DEFINES["WEBRTC_WIN"] = True
22285
-    DEFINES["WEBRTC_WIN"] = True
Lines 22221-22227 index 6779dfa7cc01..75c30bf9abf4 100644 Link Here
22221
 
22328
 
22222
 if CONFIG["CPU_ARCH"] == "x86":
22329
 if CONFIG["CPU_ARCH"] == "x86":
22223
 
22330
 
22224
@@ -153,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
22331
@@ -154,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
22225
 
22332
 
22226
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
22333
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
22227
 
22334
 
Lines 22281-22287 index 6779dfa7cc01..75c30bf9abf4 100644 Link Here
22281
-
22388
-
22282
 Library("audio_sender_interface_gn")
22389
 Library("audio_sender_interface_gn")
22283
diff --git third_party/libwebrtc/call/bitrate_allocator_gn/moz.build third_party/libwebrtc/call/bitrate_allocator_gn/moz.build
22390
diff --git third_party/libwebrtc/call/bitrate_allocator_gn/moz.build third_party/libwebrtc/call/bitrate_allocator_gn/moz.build
22284
index ef48a850a44f..7e63d38a987e 100644
22391
index 9e269f9892a1..7e63d38a987e 100644
22285
--- third_party/libwebrtc/call/bitrate_allocator_gn/moz.build
22392
--- third_party/libwebrtc/call/bitrate_allocator_gn/moz.build
22286
+++ third_party/libwebrtc/call/bitrate_allocator_gn/moz.build
22393
+++ third_party/libwebrtc/call/bitrate_allocator_gn/moz.build
22287
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
22394
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 22305-22311 index ef48a850a44f..7e63d38a987e 100644 Link Here
22305
 
22412
 
22306
 FINAL_LIBRARY = "webrtc"
22413
 FINAL_LIBRARY = "webrtc"
22307
 
22414
 
22308
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
22415
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
22309
 if CONFIG["MOZ_DEBUG"] == "1":
22416
 if CONFIG["MOZ_DEBUG"] == "1":
22310
 
22417
 
22311
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
22418
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 22374-22379 index ef48a850a44f..7e63d38a987e 100644 Link Here
22374
-    DEFINES["NOMINMAX"] = True
22481
-    DEFINES["NOMINMAX"] = True
22375
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
22482
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
22376
-    DEFINES["PSAPI_VERSION"] = "2"
22483
-    DEFINES["PSAPI_VERSION"] = "2"
22484
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
22377
-    DEFINES["UNICODE"] = True
22485
-    DEFINES["UNICODE"] = True
22378
-    DEFINES["USE_AURA"] = "1"
22486
-    DEFINES["USE_AURA"] = "1"
22379
-    DEFINES["WEBRTC_WIN"] = True
22487
-    DEFINES["WEBRTC_WIN"] = True
Lines 22503-22509 index ef48a850a44f..7e63d38a987e 100644 Link Here
22503
 
22611
 
22504
 Library("bitrate_allocator_gn")
22612
 Library("bitrate_allocator_gn")
22505
diff --git third_party/libwebrtc/call/bitrate_configurator_gn/moz.build third_party/libwebrtc/call/bitrate_configurator_gn/moz.build
22613
diff --git third_party/libwebrtc/call/bitrate_configurator_gn/moz.build third_party/libwebrtc/call/bitrate_configurator_gn/moz.build
22506
index b70008b5486c..f62f036ab699 100644
22614
index f577a10a860c..f62f036ab699 100644
22507
--- third_party/libwebrtc/call/bitrate_configurator_gn/moz.build
22615
--- third_party/libwebrtc/call/bitrate_configurator_gn/moz.build
22508
+++ third_party/libwebrtc/call/bitrate_configurator_gn/moz.build
22616
+++ third_party/libwebrtc/call/bitrate_configurator_gn/moz.build
22509
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
22617
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 22527-22533 index b70008b5486c..f62f036ab699 100644 Link Here
22527
 
22635
 
22528
 FINAL_LIBRARY = "webrtc"
22636
 FINAL_LIBRARY = "webrtc"
22529
 
22637
 
22530
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
22638
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
22531
 if CONFIG["MOZ_DEBUG"] == "1":
22639
 if CONFIG["MOZ_DEBUG"] == "1":
22532
 
22640
 
22533
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
22641
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 22596-22601 index b70008b5486c..f62f036ab699 100644 Link Here
22596
-    DEFINES["NOMINMAX"] = True
22704
-    DEFINES["NOMINMAX"] = True
22597
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
22705
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
22598
-    DEFINES["PSAPI_VERSION"] = "2"
22706
-    DEFINES["PSAPI_VERSION"] = "2"
22707
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
22599
-    DEFINES["UNICODE"] = True
22708
-    DEFINES["UNICODE"] = True
22600
-    DEFINES["USE_AURA"] = "1"
22709
-    DEFINES["USE_AURA"] = "1"
22601
-    DEFINES["WEBRTC_WIN"] = True
22710
-    DEFINES["WEBRTC_WIN"] = True
Lines 22725-22731 index b70008b5486c..f62f036ab699 100644 Link Here
22725
 
22834
 
22726
 Library("bitrate_configurator_gn")
22835
 Library("bitrate_configurator_gn")
22727
diff --git third_party/libwebrtc/call/call_gn/moz.build third_party/libwebrtc/call/call_gn/moz.build
22836
diff --git third_party/libwebrtc/call/call_gn/moz.build third_party/libwebrtc/call/call_gn/moz.build
22728
index 1f5190649461..21474e0e8eb1 100644
22837
index e8f85c808cb0..21474e0e8eb1 100644
22729
--- third_party/libwebrtc/call/call_gn/moz.build
22838
--- third_party/libwebrtc/call/call_gn/moz.build
22730
+++ third_party/libwebrtc/call/call_gn/moz.build
22839
+++ third_party/libwebrtc/call/call_gn/moz.build
22731
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
22840
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 22749-22755 index 1f5190649461..21474e0e8eb1 100644 Link Here
22749
 
22858
 
22750
 FINAL_LIBRARY = "webrtc"
22859
 FINAL_LIBRARY = "webrtc"
22751
 
22860
 
22752
@@ -45,191 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
22861
@@ -45,192 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
22753
 if CONFIG["MOZ_DEBUG"] == "1":
22862
 if CONFIG["MOZ_DEBUG"] == "1":
22754
 
22863
 
22755
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
22864
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 22819-22824 index 1f5190649461..21474e0e8eb1 100644 Link Here
22819
-    DEFINES["NOMINMAX"] = True
22928
-    DEFINES["NOMINMAX"] = True
22820
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
22929
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
22821
-    DEFINES["PSAPI_VERSION"] = "2"
22930
-    DEFINES["PSAPI_VERSION"] = "2"
22931
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
22822
-    DEFINES["UNICODE"] = True
22932
-    DEFINES["UNICODE"] = True
22823
-    DEFINES["USE_AURA"] = "1"
22933
-    DEFINES["USE_AURA"] = "1"
22824
-    DEFINES["WEBRTC_WIN"] = True
22934
-    DEFINES["WEBRTC_WIN"] = True
Lines 22948-22954 index 1f5190649461..21474e0e8eb1 100644 Link Here
22948
 
23058
 
22949
 Library("call_gn")
23059
 Library("call_gn")
22950
diff --git third_party/libwebrtc/call/call_interfaces_gn/moz.build third_party/libwebrtc/call/call_interfaces_gn/moz.build
23060
diff --git third_party/libwebrtc/call/call_interfaces_gn/moz.build third_party/libwebrtc/call/call_interfaces_gn/moz.build
22951
index 9782bf65f418..d02126352f57 100644
23061
index 2a5fa2a72c2f..d02126352f57 100644
22952
--- third_party/libwebrtc/call/call_interfaces_gn/moz.build
23062
--- third_party/libwebrtc/call/call_interfaces_gn/moz.build
22953
+++ third_party/libwebrtc/call/call_interfaces_gn/moz.build
23063
+++ third_party/libwebrtc/call/call_interfaces_gn/moz.build
22954
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
23064
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 22972-22978 index 9782bf65f418..d02126352f57 100644 Link Here
22972
 
23082
 
22973
 FINAL_LIBRARY = "webrtc"
23083
 FINAL_LIBRARY = "webrtc"
22974
 
23084
 
22975
@@ -49,190 +58,32 @@ if not CONFIG["MOZ_DEBUG"]:
23085
@@ -49,191 +58,32 @@ if not CONFIG["MOZ_DEBUG"]:
22976
 if CONFIG["MOZ_DEBUG"] == "1":
23086
 if CONFIG["MOZ_DEBUG"] == "1":
22977
 
23087
 
22978
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
23088
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 23041-23046 index 9782bf65f418..d02126352f57 100644 Link Here
23041
-    DEFINES["NOMINMAX"] = True
23151
-    DEFINES["NOMINMAX"] = True
23042
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
23152
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
23043
-    DEFINES["PSAPI_VERSION"] = "2"
23153
-    DEFINES["PSAPI_VERSION"] = "2"
23154
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
23044
-    DEFINES["UNICODE"] = True
23155
-    DEFINES["UNICODE"] = True
23045
-    DEFINES["USE_AURA"] = "1"
23156
-    DEFINES["USE_AURA"] = "1"
23046
-    DEFINES["WEBRTC_WIN"] = True
23157
-    DEFINES["WEBRTC_WIN"] = True
Lines 23170-23176 index 9782bf65f418..d02126352f57 100644 Link Here
23170
 
23281
 
23171
 Library("call_interfaces_gn")
23282
 Library("call_interfaces_gn")
23172
diff --git third_party/libwebrtc/call/receive_stream_interface_gn/moz.build third_party/libwebrtc/call/receive_stream_interface_gn/moz.build
23283
diff --git third_party/libwebrtc/call/receive_stream_interface_gn/moz.build third_party/libwebrtc/call/receive_stream_interface_gn/moz.build
23173
index 7be3350326f2..2d90f7bf5333 100644
23284
index 549bd503205d..2d90f7bf5333 100644
23174
--- third_party/libwebrtc/call/receive_stream_interface_gn/moz.build
23285
--- third_party/libwebrtc/call/receive_stream_interface_gn/moz.build
23175
+++ third_party/libwebrtc/call/receive_stream_interface_gn/moz.build
23286
+++ third_party/libwebrtc/call/receive_stream_interface_gn/moz.build
23176
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
23287
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 23194-23200 index 7be3350326f2..2d90f7bf5333 100644 Link Here
23194
 
23305
 
23195
 FINAL_LIBRARY = "webrtc"
23306
 FINAL_LIBRARY = "webrtc"
23196
 
23307
 
23197
@@ -39,118 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
23308
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
23198
 if CONFIG["MOZ_DEBUG"] == "1":
23309
 if CONFIG["MOZ_DEBUG"] == "1":
23199
 
23310
 
23200
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
23311
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 23263-23268 index 7be3350326f2..2d90f7bf5333 100644 Link Here
23263
-    DEFINES["NOMINMAX"] = True
23374
-    DEFINES["NOMINMAX"] = True
23264
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
23375
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
23265
-    DEFINES["PSAPI_VERSION"] = "2"
23376
-    DEFINES["PSAPI_VERSION"] = "2"
23377
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
23266
-    DEFINES["UNICODE"] = True
23378
-    DEFINES["UNICODE"] = True
23267
-    DEFINES["USE_AURA"] = "1"
23379
-    DEFINES["USE_AURA"] = "1"
23268
-    DEFINES["WEBRTC_WIN"] = True
23380
-    DEFINES["WEBRTC_WIN"] = True
Lines 23314-23320 index 7be3350326f2..2d90f7bf5333 100644 Link Here
23314
 
23426
 
23315
 if CONFIG["CPU_ARCH"] == "x86":
23427
 if CONFIG["CPU_ARCH"] == "x86":
23316
 
23428
 
23317
@@ -160,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
23429
@@ -161,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
23318
 
23430
 
23319
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
23431
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
23320
 
23432
 
Lines 23374-23380 index 7be3350326f2..2d90f7bf5333 100644 Link Here
23374
-
23486
-
23375
 Library("receive_stream_interface_gn")
23487
 Library("receive_stream_interface_gn")
23376
diff --git third_party/libwebrtc/call/rtp_interfaces_gn/moz.build third_party/libwebrtc/call/rtp_interfaces_gn/moz.build
23488
diff --git third_party/libwebrtc/call/rtp_interfaces_gn/moz.build third_party/libwebrtc/call/rtp_interfaces_gn/moz.build
23377
index 8e64b723410f..f0698d5291ce 100644
23489
index f3c600262bd3..f0698d5291ce 100644
23378
--- third_party/libwebrtc/call/rtp_interfaces_gn/moz.build
23490
--- third_party/libwebrtc/call/rtp_interfaces_gn/moz.build
23379
+++ third_party/libwebrtc/call/rtp_interfaces_gn/moz.build
23491
+++ third_party/libwebrtc/call/rtp_interfaces_gn/moz.build
23380
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
23492
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 23398-23404 index 8e64b723410f..f0698d5291ce 100644 Link Here
23398
 
23510
 
23399
 FINAL_LIBRARY = "webrtc"
23511
 FINAL_LIBRARY = "webrtc"
23400
 
23512
 
23401
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
23513
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
23402
 if CONFIG["MOZ_DEBUG"] == "1":
23514
 if CONFIG["MOZ_DEBUG"] == "1":
23403
 
23515
 
23404
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
23516
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 23467-23472 index 8e64b723410f..f0698d5291ce 100644 Link Here
23467
-    DEFINES["NOMINMAX"] = True
23579
-    DEFINES["NOMINMAX"] = True
23468
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
23580
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
23469
-    DEFINES["PSAPI_VERSION"] = "2"
23581
-    DEFINES["PSAPI_VERSION"] = "2"
23582
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
23470
-    DEFINES["UNICODE"] = True
23583
-    DEFINES["UNICODE"] = True
23471
-    DEFINES["USE_AURA"] = "1"
23584
-    DEFINES["USE_AURA"] = "1"
23472
-    DEFINES["WEBRTC_WIN"] = True
23585
-    DEFINES["WEBRTC_WIN"] = True
Lines 23596-23602 index 8e64b723410f..f0698d5291ce 100644 Link Here
23596
 
23709
 
23597
 Library("rtp_interfaces_gn")
23710
 Library("rtp_interfaces_gn")
23598
diff --git third_party/libwebrtc/call/rtp_receiver_gn/moz.build third_party/libwebrtc/call/rtp_receiver_gn/moz.build
23711
diff --git third_party/libwebrtc/call/rtp_receiver_gn/moz.build third_party/libwebrtc/call/rtp_receiver_gn/moz.build
23599
index c3f5b80c8581..4b5e64a7b0a9 100644
23712
index f6d84604e352..4b5e64a7b0a9 100644
23600
--- third_party/libwebrtc/call/rtp_receiver_gn/moz.build
23713
--- third_party/libwebrtc/call/rtp_receiver_gn/moz.build
23601
+++ third_party/libwebrtc/call/rtp_receiver_gn/moz.build
23714
+++ third_party/libwebrtc/call/rtp_receiver_gn/moz.build
23602
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
23715
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 23620-23626 index c3f5b80c8581..4b5e64a7b0a9 100644 Link Here
23620
 
23733
 
23621
 FINAL_LIBRARY = "webrtc"
23734
 FINAL_LIBRARY = "webrtc"
23622
 
23735
 
23623
@@ -45,191 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
23736
@@ -45,192 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
23624
 if CONFIG["MOZ_DEBUG"] == "1":
23737
 if CONFIG["MOZ_DEBUG"] == "1":
23625
 
23738
 
23626
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
23739
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 23690-23695 index c3f5b80c8581..4b5e64a7b0a9 100644 Link Here
23690
-    DEFINES["NOMINMAX"] = True
23803
-    DEFINES["NOMINMAX"] = True
23691
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
23804
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
23692
-    DEFINES["PSAPI_VERSION"] = "2"
23805
-    DEFINES["PSAPI_VERSION"] = "2"
23806
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
23693
-    DEFINES["UNICODE"] = True
23807
-    DEFINES["UNICODE"] = True
23694
-    DEFINES["USE_AURA"] = "1"
23808
-    DEFINES["USE_AURA"] = "1"
23695
-    DEFINES["WEBRTC_WIN"] = True
23809
-    DEFINES["WEBRTC_WIN"] = True
Lines 23819-23825 index c3f5b80c8581..4b5e64a7b0a9 100644 Link Here
23819
 
23933
 
23820
 Library("rtp_receiver_gn")
23934
 Library("rtp_receiver_gn")
23821
diff --git third_party/libwebrtc/call/rtp_sender_gn/moz.build third_party/libwebrtc/call/rtp_sender_gn/moz.build
23935
diff --git third_party/libwebrtc/call/rtp_sender_gn/moz.build third_party/libwebrtc/call/rtp_sender_gn/moz.build
23822
index 1ed4fe8bb42c..2959f53394c1 100644
23936
index 50741e5d42f8..2959f53394c1 100644
23823
--- third_party/libwebrtc/call/rtp_sender_gn/moz.build
23937
--- third_party/libwebrtc/call/rtp_sender_gn/moz.build
23824
+++ third_party/libwebrtc/call/rtp_sender_gn/moz.build
23938
+++ third_party/libwebrtc/call/rtp_sender_gn/moz.build
23825
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
23939
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 23843-23849 index 1ed4fe8bb42c..2959f53394c1 100644 Link Here
23843
 
23957
 
23844
 FINAL_LIBRARY = "webrtc"
23958
 FINAL_LIBRARY = "webrtc"
23845
 
23959
 
23846
@@ -45,191 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
23960
@@ -45,192 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
23847
 if CONFIG["MOZ_DEBUG"] == "1":
23961
 if CONFIG["MOZ_DEBUG"] == "1":
23848
 
23962
 
23849
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
23963
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 23913-23918 index 1ed4fe8bb42c..2959f53394c1 100644 Link Here
23913
-    DEFINES["NOMINMAX"] = True
24027
-    DEFINES["NOMINMAX"] = True
23914
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
24028
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
23915
-    DEFINES["PSAPI_VERSION"] = "2"
24029
-    DEFINES["PSAPI_VERSION"] = "2"
24030
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
23916
-    DEFINES["UNICODE"] = True
24031
-    DEFINES["UNICODE"] = True
23917
-    DEFINES["USE_AURA"] = "1"
24032
-    DEFINES["USE_AURA"] = "1"
23918
-    DEFINES["WEBRTC_WIN"] = True
24033
-    DEFINES["WEBRTC_WIN"] = True
Lines 24042-24048 index 1ed4fe8bb42c..2959f53394c1 100644 Link Here
24042
 
24157
 
24043
 Library("rtp_sender_gn")
24158
 Library("rtp_sender_gn")
24044
diff --git third_party/libwebrtc/call/version_gn/moz.build third_party/libwebrtc/call/version_gn/moz.build
24159
diff --git third_party/libwebrtc/call/version_gn/moz.build third_party/libwebrtc/call/version_gn/moz.build
24045
index d6382035216b..b2052c8cd0fb 100644
24160
index 8fa85ca64b07..b2052c8cd0fb 100644
24046
--- third_party/libwebrtc/call/version_gn/moz.build
24161
--- third_party/libwebrtc/call/version_gn/moz.build
24047
+++ third_party/libwebrtc/call/version_gn/moz.build
24162
+++ third_party/libwebrtc/call/version_gn/moz.build
24048
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
24163
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 24066-24072 index d6382035216b..b2052c8cd0fb 100644 Link Here
24066
 
24181
 
24067
 FINAL_LIBRARY = "webrtc"
24182
 FINAL_LIBRARY = "webrtc"
24068
 
24183
 
24069
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
24184
@@ -43,176 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
24070
 if CONFIG["MOZ_DEBUG"] == "1":
24185
 if CONFIG["MOZ_DEBUG"] == "1":
24071
 
24186
 
24072
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
24187
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 24127-24132 index d6382035216b..b2052c8cd0fb 100644 Link Here
24127
-    DEFINES["NOMINMAX"] = True
24242
-    DEFINES["NOMINMAX"] = True
24128
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
24243
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
24129
-    DEFINES["PSAPI_VERSION"] = "2"
24244
-    DEFINES["PSAPI_VERSION"] = "2"
24245
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
24130
-    DEFINES["UNICODE"] = True
24246
-    DEFINES["UNICODE"] = True
24131
-    DEFINES["USE_AURA"] = "1"
24247
-    DEFINES["USE_AURA"] = "1"
24132
-    DEFINES["WEBRTC_WIN"] = True
24248
-    DEFINES["WEBRTC_WIN"] = True
Lines 24249-24255 index d6382035216b..b2052c8cd0fb 100644 Link Here
24249
 
24365
 
24250
 Library("version_gn")
24366
 Library("version_gn")
24251
diff --git third_party/libwebrtc/call/video_stream_api_gn/moz.build third_party/libwebrtc/call/video_stream_api_gn/moz.build
24367
diff --git third_party/libwebrtc/call/video_stream_api_gn/moz.build third_party/libwebrtc/call/video_stream_api_gn/moz.build
24252
index c441da830946..7eea7977d9df 100644
24368
index f52180065b76..7eea7977d9df 100644
24253
--- third_party/libwebrtc/call/video_stream_api_gn/moz.build
24369
--- third_party/libwebrtc/call/video_stream_api_gn/moz.build
24254
+++ third_party/libwebrtc/call/video_stream_api_gn/moz.build
24370
+++ third_party/libwebrtc/call/video_stream_api_gn/moz.build
24255
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
24371
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 24273-24279 index c441da830946..7eea7977d9df 100644 Link Here
24273
 
24389
 
24274
 FINAL_LIBRARY = "webrtc"
24390
 FINAL_LIBRARY = "webrtc"
24275
 
24391
 
24276
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
24392
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
24277
 if CONFIG["MOZ_DEBUG"] == "1":
24393
 if CONFIG["MOZ_DEBUG"] == "1":
24278
 
24394
 
24279
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
24395
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 24342-24347 index c441da830946..7eea7977d9df 100644 Link Here
24342
-    DEFINES["NOMINMAX"] = True
24458
-    DEFINES["NOMINMAX"] = True
24343
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
24459
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
24344
-    DEFINES["PSAPI_VERSION"] = "2"
24460
-    DEFINES["PSAPI_VERSION"] = "2"
24461
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
24345
-    DEFINES["UNICODE"] = True
24462
-    DEFINES["UNICODE"] = True
24346
-    DEFINES["USE_AURA"] = "1"
24463
-    DEFINES["USE_AURA"] = "1"
24347
-    DEFINES["WEBRTC_WIN"] = True
24464
-    DEFINES["WEBRTC_WIN"] = True
Lines 24471-24477 index c441da830946..7eea7977d9df 100644 Link Here
24471
 
24588
 
24472
 Library("video_stream_api_gn")
24589
 Library("video_stream_api_gn")
24473
diff --git third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build
24590
diff --git third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build
24474
index 5526be7b8bed..30d931689b62 100644
24591
index 2bb7c94a3725..30d931689b62 100644
24475
--- third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build
24592
--- third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build
24476
+++ third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build
24593
+++ third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build
24477
@@ -17,12 +17,21 @@ CXXFLAGS += [
24594
@@ -17,12 +17,21 @@ CXXFLAGS += [
Lines 24496-24502 index 5526be7b8bed..30d931689b62 100644 Link Here
24496
 
24613
 
24497
 FINAL_LIBRARY = "webrtc"
24614
 FINAL_LIBRARY = "webrtc"
24498
 
24615
 
24499
@@ -50,137 +59,16 @@ if not CONFIG["MOZ_DEBUG"]:
24616
@@ -50,138 +59,16 @@ if not CONFIG["MOZ_DEBUG"]:
24500
 if CONFIG["MOZ_DEBUG"] == "1":
24617
 if CONFIG["MOZ_DEBUG"] == "1":
24501
 
24618
 
24502
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
24619
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 24566-24571 index 5526be7b8bed..30d931689b62 100644 Link Here
24566
-    DEFINES["NOMINMAX"] = True
24683
-    DEFINES["NOMINMAX"] = True
24567
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
24684
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
24568
-    DEFINES["PSAPI_VERSION"] = "2"
24685
-    DEFINES["PSAPI_VERSION"] = "2"
24686
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
24569
-    DEFINES["UNICODE"] = True
24687
-    DEFINES["UNICODE"] = True
24570
-    DEFINES["USE_AURA"] = "1"
24688
-    DEFINES["USE_AURA"] = "1"
24571
-    DEFINES["WEBRTC_WIN"] = True
24689
-    DEFINES["WEBRTC_WIN"] = True
Lines 24638-24644 index 5526be7b8bed..30d931689b62 100644 Link Here
24638
 
24756
 
24639
 Library("common_audio_avx2_gn")
24757
 Library("common_audio_avx2_gn")
24640
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
24758
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
24641
index 9381d65ceafe..30c5b7a739fc 100644
24759
index a285d2d59936..30c5b7a739fc 100644
24642
--- third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build
24760
--- third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build
24643
+++ third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build
24761
+++ third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build
24644
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
24762
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 24662-24668 index 9381d65ceafe..30c5b7a739fc 100644 Link Here
24662
 
24780
 
24663
 FINAL_LIBRARY = "webrtc"
24781
 FINAL_LIBRARY = "webrtc"
24664
 
24782
 
24665
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
24783
@@ -39,109 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
24666
 if CONFIG["MOZ_DEBUG"] == "1":
24784
 if CONFIG["MOZ_DEBUG"] == "1":
24667
 
24785
 
24668
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
24786
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 24723-24728 index 9381d65ceafe..30c5b7a739fc 100644 Link Here
24723
-    DEFINES["NOMINMAX"] = True
24841
-    DEFINES["NOMINMAX"] = True
24724
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
24842
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
24725
-    DEFINES["PSAPI_VERSION"] = "2"
24843
-    DEFINES["PSAPI_VERSION"] = "2"
24844
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
24726
-    DEFINES["UNICODE"] = True
24845
-    DEFINES["UNICODE"] = True
24727
-    DEFINES["USE_AURA"] = "1"
24846
-    DEFINES["USE_AURA"] = "1"
24728
-    DEFINES["WEBRTC_WIN"] = True
24847
-    DEFINES["WEBRTC_WIN"] = True
Lines 24772-24778 index 9381d65ceafe..30c5b7a739fc 100644 Link Here
24772
 
24891
 
24773
 if CONFIG["CPU_ARCH"] == "x86":
24892
 if CONFIG["CPU_ARCH"] == "x86":
24774
 
24893
 
24775
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
24894
@@ -151,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
24776
 
24895
 
24777
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
24896
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
24778
 
24897
 
Lines 24832-24838 index 9381d65ceafe..30c5b7a739fc 100644 Link Here
24832
-
24951
-
24833
 Library("common_audio_c_arm_asm_gn")
24952
 Library("common_audio_c_arm_asm_gn")
24834
diff --git third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build
24953
diff --git third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build
24835
index c9d2d986330f..cbb28b276a83 100644
24954
index 60ee6cfc164b..cbb28b276a83 100644
24836
--- third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build
24955
--- third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build
24837
+++ third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build
24956
+++ third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build
24838
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
24957
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 24856-24862 index c9d2d986330f..cbb28b276a83 100644 Link Here
24856
 
24975
 
24857
 FINAL_LIBRARY = "webrtc"
24976
 FINAL_LIBRARY = "webrtc"
24858
 
24977
 
24859
@@ -80,113 +89,12 @@ if not CONFIG["MOZ_DEBUG"]:
24978
@@ -80,114 +89,12 @@ if not CONFIG["MOZ_DEBUG"]:
24860
 if CONFIG["MOZ_DEBUG"] == "1":
24979
 if CONFIG["MOZ_DEBUG"] == "1":
24861
 
24980
 
24862
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
24981
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 24943-24948 index c9d2d986330f..cbb28b276a83 100644 Link Here
24943
-    DEFINES["NOMINMAX"] = True
25062
-    DEFINES["NOMINMAX"] = True
24944
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
25063
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
24945
-    DEFINES["PSAPI_VERSION"] = "2"
25064
-    DEFINES["PSAPI_VERSION"] = "2"
25065
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
24946
-    DEFINES["UNICODE"] = True
25066
-    DEFINES["UNICODE"] = True
24947
-    DEFINES["USE_AURA"] = "1"
25067
-    DEFINES["USE_AURA"] = "1"
24948
-    DEFINES["WEBRTC_WIN"] = True
25068
-    DEFINES["WEBRTC_WIN"] = True
Lines 24974-24980 index c9d2d986330f..cbb28b276a83 100644 Link Here
24974
 
25094
 
24975
     UNIFIED_SOURCES += [
25095
     UNIFIED_SOURCES += [
24976
         "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
25096
         "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
24977
@@ -194,26 +102,10 @@ if CONFIG["OS_TARGET"] == "WINNT":
25097
@@ -195,26 +102,10 @@ if CONFIG["OS_TARGET"] == "WINNT":
24978
         "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
25098
         "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
24979
     ]
25099
     ]
24980
 
25100
 
Lines 25001-25007 index c9d2d986330f..cbb28b276a83 100644 Link Here
25001
 
25121
 
25002
     SOURCES += [
25122
     SOURCES += [
25003
         "/third_party/libwebrtc/common_audio/signal_processing/resample_by_2_mips.c"
25123
         "/third_party/libwebrtc/common_audio/signal_processing/resample_by_2_mips.c"
25004
@@ -230,8 +122,6 @@ if CONFIG["CPU_ARCH"] == "mips32":
25124
@@ -231,8 +122,6 @@ if CONFIG["CPU_ARCH"] == "mips32":
25005
 
25125
 
25006
 if CONFIG["CPU_ARCH"] == "mips64":
25126
 if CONFIG["CPU_ARCH"] == "mips64":
25007
 
25127
 
Lines 25010-25016 index c9d2d986330f..cbb28b276a83 100644 Link Here
25010
     UNIFIED_SOURCES += [
25130
     UNIFIED_SOURCES += [
25011
         "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
25131
         "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
25012
         "/third_party/libwebrtc/common_audio/signal_processing/complex_fft.c",
25132
         "/third_party/libwebrtc/common_audio/signal_processing/complex_fft.c",
25013
@@ -246,85 +136,13 @@ if CONFIG["CPU_ARCH"] == "ppc64":
25133
@@ -247,85 +136,13 @@ if CONFIG["CPU_ARCH"] == "ppc64":
25014
         "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
25134
         "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
25015
     ]
25135
     ]
25016
 
25136
 
Lines 25097-25103 index c9d2d986330f..cbb28b276a83 100644 Link Here
25097
 
25217
 
25098
     UNIFIED_SOURCES += [
25218
     UNIFIED_SOURCES += [
25099
         "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
25219
         "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
25100
@@ -332,21 +150,9 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
25220
@@ -333,21 +150,9 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
25101
         "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
25221
         "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
25102
     ]
25222
     ]
25103
 
25223
 
Lines 25121-25127 index c9d2d986330f..cbb28b276a83 100644 Link Here
25121
 
25241
 
25122
     UNIFIED_SOURCES += [
25242
     UNIFIED_SOURCES += [
25123
         "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
25243
         "/third_party/libwebrtc/common_audio/signal_processing/complex_bit_reverse.c",
25124
@@ -354,14 +160,8 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
25244
@@ -355,14 +160,8 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
25125
         "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
25245
         "/third_party/libwebrtc/common_audio/signal_processing/filter_ar_fast_q12.c"
25126
     ]
25246
     ]
25127
 
25247
 
Lines 25139-25145 index c9d2d986330f..cbb28b276a83 100644 Link Here
25139
 
25259
 
25140
 Library("common_audio_c_gn")
25260
 Library("common_audio_c_gn")
25141
diff --git third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build
25261
diff --git third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build
25142
index 90260ba8646c..54512f5b3543 100644
25262
index 7a43796b2c52..54512f5b3543 100644
25143
--- third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build
25263
--- third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build
25144
+++ third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build
25264
+++ third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build
25145
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
25265
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 25163-25169 index 90260ba8646c..54512f5b3543 100644 Link Here
25163
 
25283
 
25164
 FINAL_LIBRARY = "webrtc"
25284
 FINAL_LIBRARY = "webrtc"
25165
 
25285
 
25166
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
25286
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
25167
 if CONFIG["MOZ_DEBUG"] == "1":
25287
 if CONFIG["MOZ_DEBUG"] == "1":
25168
 
25288
 
25169
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
25289
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 25232-25237 index 90260ba8646c..54512f5b3543 100644 Link Here
25232
-    DEFINES["NOMINMAX"] = True
25352
-    DEFINES["NOMINMAX"] = True
25233
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
25353
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
25234
-    DEFINES["PSAPI_VERSION"] = "2"
25354
-    DEFINES["PSAPI_VERSION"] = "2"
25355
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
25235
-    DEFINES["UNICODE"] = True
25356
-    DEFINES["UNICODE"] = True
25236
-    DEFINES["USE_AURA"] = "1"
25357
-    DEFINES["USE_AURA"] = "1"
25237
-    DEFINES["WEBRTC_WIN"] = True
25358
-    DEFINES["WEBRTC_WIN"] = True
Lines 25361-25367 index 90260ba8646c..54512f5b3543 100644 Link Here
25361
 
25482
 
25362
 Library("common_audio_cc_gn")
25483
 Library("common_audio_cc_gn")
25363
diff --git third_party/libwebrtc/common_audio/common_audio_gn/moz.build third_party/libwebrtc/common_audio/common_audio_gn/moz.build
25484
diff --git third_party/libwebrtc/common_audio/common_audio_gn/moz.build third_party/libwebrtc/common_audio/common_audio_gn/moz.build
25364
index c7b74d2e510c..1048f961f8f0 100644
25485
index e9262fe04295..1048f961f8f0 100644
25365
--- third_party/libwebrtc/common_audio/common_audio_gn/moz.build
25486
--- third_party/libwebrtc/common_audio/common_audio_gn/moz.build
25366
+++ third_party/libwebrtc/common_audio/common_audio_gn/moz.build
25487
+++ third_party/libwebrtc/common_audio/common_audio_gn/moz.build
25367
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
25488
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 25385-25391 index c7b74d2e510c..1048f961f8f0 100644 Link Here
25385
 
25506
 
25386
 FINAL_LIBRARY = "webrtc"
25507
 FINAL_LIBRARY = "webrtc"
25387
 
25508
 
25388
@@ -56,190 +65,32 @@ if not CONFIG["MOZ_DEBUG"]:
25509
@@ -56,191 +65,32 @@ if not CONFIG["MOZ_DEBUG"]:
25389
 if CONFIG["MOZ_DEBUG"] == "1":
25510
 if CONFIG["MOZ_DEBUG"] == "1":
25390
 
25511
 
25391
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
25512
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 25454-25459 index c7b74d2e510c..1048f961f8f0 100644 Link Here
25454
-    DEFINES["NOMINMAX"] = True
25575
-    DEFINES["NOMINMAX"] = True
25455
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
25576
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
25456
-    DEFINES["PSAPI_VERSION"] = "2"
25577
-    DEFINES["PSAPI_VERSION"] = "2"
25578
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
25457
-    DEFINES["UNICODE"] = True
25579
-    DEFINES["UNICODE"] = True
25458
-    DEFINES["USE_AURA"] = "1"
25580
-    DEFINES["USE_AURA"] = "1"
25459
-    DEFINES["WEBRTC_WIN"] = True
25581
-    DEFINES["WEBRTC_WIN"] = True
Lines 25583-25589 index c7b74d2e510c..1048f961f8f0 100644 Link Here
25583
 
25705
 
25584
 Library("common_audio_gn")
25706
 Library("common_audio_gn")
25585
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
25707
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
25586
index d51e7f4e3541..7d3d05a3e0af 100644
25708
index 4d06ac630236..7d3d05a3e0af 100644
25587
--- third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build
25709
--- third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build
25588
+++ third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build
25710
+++ third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build
25589
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
25711
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
Lines 25609-25615 index d51e7f4e3541..7d3d05a3e0af 100644 Link Here
25609
 
25731
 
25610
 FINAL_LIBRARY = "webrtc"
25732
 FINAL_LIBRARY = "webrtc"
25611
 
25733
 
25612
@@ -46,148 +56,10 @@ if not CONFIG["MOZ_DEBUG"]:
25734
@@ -46,149 +56,10 @@ if not CONFIG["MOZ_DEBUG"]:
25613
 if CONFIG["MOZ_DEBUG"] == "1":
25735
 if CONFIG["MOZ_DEBUG"] == "1":
25614
 
25736
 
25615
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
25737
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 25681-25686 index d51e7f4e3541..7d3d05a3e0af 100644 Link Here
25681
-    DEFINES["NOMINMAX"] = True
25803
-    DEFINES["NOMINMAX"] = True
25682
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
25804
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
25683
-    DEFINES["PSAPI_VERSION"] = "2"
25805
-    DEFINES["PSAPI_VERSION"] = "2"
25806
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
25684
-    DEFINES["UNICODE"] = True
25807
-    DEFINES["UNICODE"] = True
25685
-    DEFINES["USE_AURA"] = "1"
25808
-    DEFINES["USE_AURA"] = "1"
25686
-    DEFINES["WEBRTC_ARCH_ARM64"] = True
25809
-    DEFINES["WEBRTC_ARCH_ARM64"] = True
Lines 25760-25766 index d51e7f4e3541..7d3d05a3e0af 100644 Link Here
25760
-
25883
-
25761
 Library("common_audio_neon_c_gn")
25884
 Library("common_audio_neon_c_gn")
25762
diff --git third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build
25885
diff --git third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build
25763
index 8df7017bff19..8ad021bcb676 100644
25886
index 97be131af11f..8ad021bcb676 100644
25764
--- third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build
25887
--- third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build
25765
+++ third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build
25888
+++ third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build
25766
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
25889
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
Lines 25786-25792 index 8df7017bff19..8ad021bcb676 100644 Link Here
25786
 
25909
 
25787
 FINAL_LIBRARY = "webrtc"
25910
 FINAL_LIBRARY = "webrtc"
25788
 
25911
 
25789
@@ -45,148 +55,10 @@ if not CONFIG["MOZ_DEBUG"]:
25912
@@ -45,149 +55,10 @@ if not CONFIG["MOZ_DEBUG"]:
25790
 if CONFIG["MOZ_DEBUG"] == "1":
25913
 if CONFIG["MOZ_DEBUG"] == "1":
25791
 
25914
 
25792
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
25915
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 25858-25863 index 8df7017bff19..8ad021bcb676 100644 Link Here
25858
-    DEFINES["NOMINMAX"] = True
25981
-    DEFINES["NOMINMAX"] = True
25859
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
25982
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
25860
-    DEFINES["PSAPI_VERSION"] = "2"
25983
-    DEFINES["PSAPI_VERSION"] = "2"
25984
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
25861
-    DEFINES["UNICODE"] = True
25985
-    DEFINES["UNICODE"] = True
25862
-    DEFINES["USE_AURA"] = "1"
25986
-    DEFINES["USE_AURA"] = "1"
25863
-    DEFINES["WEBRTC_ARCH_ARM64"] = True
25987
-    DEFINES["WEBRTC_ARCH_ARM64"] = True
Lines 25937-25943 index 8df7017bff19..8ad021bcb676 100644 Link Here
25937
-
26061
-
25938
 Library("common_audio_neon_gn")
26062
 Library("common_audio_neon_gn")
25939
diff --git third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build
26063
diff --git third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build
25940
index 022ff2845548..81c11ad52373 100644
26064
index a14d0288c33b..81c11ad52373 100644
25941
--- third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build
26065
--- third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build
25942
+++ third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build
26066
+++ third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build
25943
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
26067
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
Lines 25962-25968 index 022ff2845548..81c11ad52373 100644 Link Here
25962
 
26086
 
25963
 FINAL_LIBRARY = "webrtc"
26087
 FINAL_LIBRARY = "webrtc"
25964
 
26088
 
25965
@@ -45,159 +54,23 @@ if not CONFIG["MOZ_DEBUG"]:
26089
@@ -45,160 +54,23 @@ if not CONFIG["MOZ_DEBUG"]:
25966
 if CONFIG["MOZ_DEBUG"] == "1":
26090
 if CONFIG["MOZ_DEBUG"] == "1":
25967
 
26091
 
25968
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
26092
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 26040-26045 index 022ff2845548..81c11ad52373 100644 Link Here
26040
-    DEFINES["NOMINMAX"] = True
26164
-    DEFINES["NOMINMAX"] = True
26041
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
26165
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
26042
-    DEFINES["PSAPI_VERSION"] = "2"
26166
-    DEFINES["PSAPI_VERSION"] = "2"
26167
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
26043
-    DEFINES["UNICODE"] = True
26168
-    DEFINES["UNICODE"] = True
26044
-    DEFINES["USE_AURA"] = "1"
26169
-    DEFINES["USE_AURA"] = "1"
26045
-    DEFINES["WEBRTC_WIN"] = True
26170
-    DEFINES["WEBRTC_WIN"] = True
Lines 26127-26133 index 022ff2845548..81c11ad52373 100644 Link Here
26127
 
26252
 
26128
 Library("common_audio_sse2_gn")
26253
 Library("common_audio_sse2_gn")
26129
diff --git third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build
26254
diff --git third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build
26130
index 52e5226e09a0..f34663641568 100644
26255
index 3e85d36442c7..f34663641568 100644
26131
--- third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build
26256
--- third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build
26132
+++ third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build
26257
+++ third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build
26133
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
26258
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 26151-26157 index 52e5226e09a0..f34663641568 100644 Link Here
26151
 
26276
 
26152
 FINAL_LIBRARY = "webrtc"
26277
 FINAL_LIBRARY = "webrtc"
26153
 
26278
 
26154
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
26279
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
26155
 if CONFIG["MOZ_DEBUG"] == "1":
26280
 if CONFIG["MOZ_DEBUG"] == "1":
26156
 
26281
 
26157
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
26282
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 26220-26225 index 52e5226e09a0..f34663641568 100644 Link Here
26220
-    DEFINES["NOMINMAX"] = True
26345
-    DEFINES["NOMINMAX"] = True
26221
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
26346
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
26222
-    DEFINES["PSAPI_VERSION"] = "2"
26347
-    DEFINES["PSAPI_VERSION"] = "2"
26348
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
26223
-    DEFINES["UNICODE"] = True
26349
-    DEFINES["UNICODE"] = True
26224
-    DEFINES["USE_AURA"] = "1"
26350
-    DEFINES["USE_AURA"] = "1"
26225
-    DEFINES["WEBRTC_WIN"] = True
26351
-    DEFINES["WEBRTC_WIN"] = True
Lines 26349-26355 index 52e5226e09a0..f34663641568 100644 Link Here
26349
 
26475
 
26350
 Library("fir_filter_factory_gn")
26476
 Library("fir_filter_factory_gn")
26351
diff --git third_party/libwebrtc/common_audio/fir_filter_gn/moz.build third_party/libwebrtc/common_audio/fir_filter_gn/moz.build
26477
diff --git third_party/libwebrtc/common_audio/fir_filter_gn/moz.build third_party/libwebrtc/common_audio/fir_filter_gn/moz.build
26352
index f931502550d0..3ccb102e85a9 100644
26478
index 1adcf568a2a1..3ccb102e85a9 100644
26353
--- third_party/libwebrtc/common_audio/fir_filter_gn/moz.build
26479
--- third_party/libwebrtc/common_audio/fir_filter_gn/moz.build
26354
+++ third_party/libwebrtc/common_audio/fir_filter_gn/moz.build
26480
+++ third_party/libwebrtc/common_audio/fir_filter_gn/moz.build
26355
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
26481
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 26373-26379 index f931502550d0..3ccb102e85a9 100644 Link Here
26373
 
26499
 
26374
 FINAL_LIBRARY = "webrtc"
26500
 FINAL_LIBRARY = "webrtc"
26375
 
26501
 
26376
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
26502
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
26377
 if CONFIG["MOZ_DEBUG"] == "1":
26503
 if CONFIG["MOZ_DEBUG"] == "1":
26378
 
26504
 
26379
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
26505
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 26434-26439 index f931502550d0..3ccb102e85a9 100644 Link Here
26434
-    DEFINES["NOMINMAX"] = True
26560
-    DEFINES["NOMINMAX"] = True
26435
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
26561
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
26436
-    DEFINES["PSAPI_VERSION"] = "2"
26562
-    DEFINES["PSAPI_VERSION"] = "2"
26563
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
26437
-    DEFINES["UNICODE"] = True
26564
-    DEFINES["UNICODE"] = True
26438
-    DEFINES["USE_AURA"] = "1"
26565
-    DEFINES["USE_AURA"] = "1"
26439
-    DEFINES["WEBRTC_WIN"] = True
26566
-    DEFINES["WEBRTC_WIN"] = True
Lines 26478-26484 index f931502550d0..3ccb102e85a9 100644 Link Here
26478
 
26605
 
26479
 if CONFIG["CPU_ARCH"] == "x86":
26606
 if CONFIG["CPU_ARCH"] == "x86":
26480
 
26607
 
26481
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
26608
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
26482
 
26609
 
26483
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
26610
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
26484
 
26611
 
Lines 26538-26544 index f931502550d0..3ccb102e85a9 100644 Link Here
26538
-
26665
-
26539
 Library("fir_filter_gn")
26666
 Library("fir_filter_gn")
26540
diff --git third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build
26667
diff --git third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build
26541
index 57e889cebd1b..8dc865c12715 100644
26668
index 57f76c8c6a16..8dc865c12715 100644
26542
--- third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build
26669
--- third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build
26543
+++ third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build
26670
+++ third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build
26544
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
26671
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 26562-26568 index 57e889cebd1b..8dc865c12715 100644 Link Here
26562
 
26689
 
26563
 FINAL_LIBRARY = "webrtc"
26690
 FINAL_LIBRARY = "webrtc"
26564
 
26691
 
26565
@@ -39,118 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
26692
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
26566
 if CONFIG["MOZ_DEBUG"] == "1":
26693
 if CONFIG["MOZ_DEBUG"] == "1":
26567
 
26694
 
26568
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
26695
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 26631-26636 index 57e889cebd1b..8dc865c12715 100644 Link Here
26631
-    DEFINES["NOMINMAX"] = True
26758
-    DEFINES["NOMINMAX"] = True
26632
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
26759
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
26633
-    DEFINES["PSAPI_VERSION"] = "2"
26760
-    DEFINES["PSAPI_VERSION"] = "2"
26761
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
26634
-    DEFINES["UNICODE"] = True
26762
-    DEFINES["UNICODE"] = True
26635
-    DEFINES["USE_AURA"] = "1"
26763
-    DEFINES["USE_AURA"] = "1"
26636
-    DEFINES["WEBRTC_WIN"] = True
26764
-    DEFINES["WEBRTC_WIN"] = True
Lines 26682-26688 index 57e889cebd1b..8dc865c12715 100644 Link Here
26682
 
26810
 
26683
 if CONFIG["CPU_ARCH"] == "x86":
26811
 if CONFIG["CPU_ARCH"] == "x86":
26684
 
26812
 
26685
@@ -160,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
26813
@@ -161,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
26686
 
26814
 
26687
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
26815
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
26688
 
26816
 
Lines 26742-26748 index 57e889cebd1b..8dc865c12715 100644 Link Here
26742
-
26870
-
26743
 Library("sinc_resampler_gn")
26871
 Library("sinc_resampler_gn")
26744
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
26872
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
26745
index 2f5623b61072..284df3697995 100644
26873
index 19a28dc32329..284df3697995 100644
26746
--- third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build
26874
--- third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build
26747
+++ third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build
26875
+++ third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build
26748
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
26876
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 26766-26772 index 2f5623b61072..284df3697995 100644 Link Here
26766
 
26894
 
26767
 FINAL_LIBRARY = "webrtc"
26895
 FINAL_LIBRARY = "webrtc"
26768
 
26896
 
26769
@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
26897
@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]:
26770
 if CONFIG["MOZ_DEBUG"] == "1":
26898
 if CONFIG["MOZ_DEBUG"] == "1":
26771
 
26899
 
26772
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
26900
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 26835-26840 index 2f5623b61072..284df3697995 100644 Link Here
26835
-    DEFINES["NOMINMAX"] = True
26963
-    DEFINES["NOMINMAX"] = True
26836
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
26964
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
26837
-    DEFINES["PSAPI_VERSION"] = "2"
26965
-    DEFINES["PSAPI_VERSION"] = "2"
26966
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
26838
-    DEFINES["UNICODE"] = True
26967
-    DEFINES["UNICODE"] = True
26839
-    DEFINES["USE_AURA"] = "1"
26968
-    DEFINES["USE_AURA"] = "1"
26840
-    DEFINES["WEBRTC_WIN"] = True
26969
-    DEFINES["WEBRTC_WIN"] = True
Lines 26865-26871 index 2f5623b61072..284df3697995 100644 Link Here
26865
 
26994
 
26866
 if CONFIG["CPU_ARCH"] == "aarch64":
26995
 if CONFIG["CPU_ARCH"] == "aarch64":
26867
 
26996
 
26868
@@ -144,133 +63,42 @@ if CONFIG["CPU_ARCH"] == "aarch64":
26997
@@ -145,133 +63,42 @@ if CONFIG["CPU_ARCH"] == "aarch64":
26869
         "/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128/ooura_fft_neon.cc"
26998
         "/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128/ooura_fft_neon.cc"
26870
     ]
26999
     ]
26871
 
27000
 
Lines 27009-27015 index 2f5623b61072..284df3697995 100644 Link Here
27009
 
27138
 
27010
 Library("fft_size_128_gn")
27139
 Library("fft_size_128_gn")
27011
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
27140
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
27012
index 8639a7ae2e0e..3105fcab9d6b 100644
27141
index 62c0fba896d9..3105fcab9d6b 100644
27013
--- third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build
27142
--- third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build
27014
+++ third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build
27143
+++ third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build
27015
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
27144
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 27033-27039 index 8639a7ae2e0e..3105fcab9d6b 100644 Link Here
27033
 
27162
 
27034
 FINAL_LIBRARY = "webrtc"
27163
 FINAL_LIBRARY = "webrtc"
27035
 
27164
 
27036
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
27165
@@ -43,176 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
27037
 if CONFIG["MOZ_DEBUG"] == "1":
27166
 if CONFIG["MOZ_DEBUG"] == "1":
27038
 
27167
 
27039
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
27168
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 27094-27099 index 8639a7ae2e0e..3105fcab9d6b 100644 Link Here
27094
-    DEFINES["NOMINMAX"] = True
27223
-    DEFINES["NOMINMAX"] = True
27095
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
27224
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
27096
-    DEFINES["PSAPI_VERSION"] = "2"
27225
-    DEFINES["PSAPI_VERSION"] = "2"
27226
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
27097
-    DEFINES["UNICODE"] = True
27227
-    DEFINES["UNICODE"] = True
27098
-    DEFINES["USE_AURA"] = "1"
27228
-    DEFINES["USE_AURA"] = "1"
27099
-    DEFINES["WEBRTC_WIN"] = True
27229
-    DEFINES["WEBRTC_WIN"] = True
Lines 27216-27222 index 8639a7ae2e0e..3105fcab9d6b 100644 Link Here
27216
 
27346
 
27217
 Library("fft_size_256_gn")
27347
 Library("fft_size_256_gn")
27218
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
27348
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
27219
index 4bae7df22774..5d194b7d816a 100644
27349
index d2d0287623b5..5d194b7d816a 100644
27220
--- third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build
27350
--- third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build
27221
+++ third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build
27351
+++ third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build
27222
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
27352
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 27240-27246 index 4bae7df22774..5d194b7d816a 100644 Link Here
27240
 
27370
 
27241
 FINAL_LIBRARY = "webrtc"
27371
 FINAL_LIBRARY = "webrtc"
27242
 
27372
 
27243
@@ -39,115 +48,21 @@ if not CONFIG["MOZ_DEBUG"]:
27373
@@ -39,116 +48,21 @@ if not CONFIG["MOZ_DEBUG"]:
27244
 if CONFIG["MOZ_DEBUG"] == "1":
27374
 if CONFIG["MOZ_DEBUG"] == "1":
27245
 
27375
 
27246
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
27376
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 27309-27314 index 4bae7df22774..5d194b7d816a 100644 Link Here
27309
-    DEFINES["NOMINMAX"] = True
27439
-    DEFINES["NOMINMAX"] = True
27310
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
27440
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
27311
-    DEFINES["PSAPI_VERSION"] = "2"
27441
-    DEFINES["PSAPI_VERSION"] = "2"
27442
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
27312
-    DEFINES["UNICODE"] = True
27443
-    DEFINES["UNICODE"] = True
27313
-    DEFINES["USE_AURA"] = "1"
27444
-    DEFINES["USE_AURA"] = "1"
27314
-    DEFINES["WEBRTC_WIN"] = True
27445
-    DEFINES["WEBRTC_WIN"] = True
Lines 27359-27365 index 4bae7df22774..5d194b7d816a 100644 Link Here
27359
 
27490
 
27360
     UNIFIED_SOURCES += [
27491
     UNIFIED_SOURCES += [
27361
         "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_mips.c"
27492
         "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_mips.c"
27362
@@ -155,8 +70,6 @@ if CONFIG["CPU_ARCH"] == "mips32":
27493
@@ -156,8 +70,6 @@ if CONFIG["CPU_ARCH"] == "mips32":
27363
 
27494
 
27364
 if CONFIG["CPU_ARCH"] == "mips64":
27495
 if CONFIG["CPU_ARCH"] == "mips64":
27365
 
27496
 
Lines 27368-27374 index 4bae7df22774..5d194b7d816a 100644 Link Here
27368
     UNIFIED_SOURCES += [
27499
     UNIFIED_SOURCES += [
27369
         "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c"
27500
         "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c"
27370
     ]
27501
     ]
27371
@@ -167,107 +80,28 @@ if CONFIG["CPU_ARCH"] == "ppc64":
27502
@@ -168,107 +80,28 @@ if CONFIG["CPU_ARCH"] == "ppc64":
27372
         "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c"
27503
         "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c"
27373
     ]
27504
     ]
27374
 
27505
 
Lines 27482-27488 index 4bae7df22774..5d194b7d816a 100644 Link Here
27482
 
27613
 
27483
 Library("spl_sqrt_floor_gn")
27614
 Library("spl_sqrt_floor_gn")
27484
diff --git third_party/libwebrtc/common_video/common_video_gn/moz.build third_party/libwebrtc/common_video/common_video_gn/moz.build
27615
diff --git third_party/libwebrtc/common_video/common_video_gn/moz.build third_party/libwebrtc/common_video/common_video_gn/moz.build
27485
index 869db500add1..9e5cdb7e6cce 100644
27616
index d6fc7c3632a4..9e5cdb7e6cce 100644
27486
--- third_party/libwebrtc/common_video/common_video_gn/moz.build
27617
--- third_party/libwebrtc/common_video/common_video_gn/moz.build
27487
+++ third_party/libwebrtc/common_video/common_video_gn/moz.build
27618
+++ third_party/libwebrtc/common_video/common_video_gn/moz.build
27488
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
27619
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 27506-27512 index 869db500add1..9e5cdb7e6cce 100644 Link Here
27506
 
27637
 
27507
 FINAL_LIBRARY = "webrtc"
27638
 FINAL_LIBRARY = "webrtc"
27508
 
27639
 
27509
@@ -55,183 +64,32 @@ if not CONFIG["MOZ_DEBUG"]:
27640
@@ -55,184 +64,32 @@ if not CONFIG["MOZ_DEBUG"]:
27510
 if CONFIG["MOZ_DEBUG"] == "1":
27641
 if CONFIG["MOZ_DEBUG"] == "1":
27511
 
27642
 
27512
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
27643
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 27571-27576 index 869db500add1..9e5cdb7e6cce 100644 Link Here
27571
-    DEFINES["NOMINMAX"] = True
27702
-    DEFINES["NOMINMAX"] = True
27572
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
27703
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
27573
-    DEFINES["PSAPI_VERSION"] = "2"
27704
-    DEFINES["PSAPI_VERSION"] = "2"
27705
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
27574
-    DEFINES["UNICODE"] = True
27706
-    DEFINES["UNICODE"] = True
27575
-    DEFINES["USE_AURA"] = "1"
27707
-    DEFINES["USE_AURA"] = "1"
27576
-    DEFINES["WEBRTC_WIN"] = True
27708
-    DEFINES["WEBRTC_WIN"] = True
Lines 27697-27703 index 869db500add1..9e5cdb7e6cce 100644 Link Here
27697
 
27829
 
27698
 Library("common_video_gn")
27830
 Library("common_video_gn")
27699
diff --git third_party/libwebrtc/common_video/frame_counts_gn/moz.build third_party/libwebrtc/common_video/frame_counts_gn/moz.build
27831
diff --git third_party/libwebrtc/common_video/frame_counts_gn/moz.build third_party/libwebrtc/common_video/frame_counts_gn/moz.build
27700
index 6029016a0e4b..0bd2ab0ab211 100644
27832
index 0d69ba8281d2..0bd2ab0ab211 100644
27701
--- third_party/libwebrtc/common_video/frame_counts_gn/moz.build
27833
--- third_party/libwebrtc/common_video/frame_counts_gn/moz.build
27702
+++ third_party/libwebrtc/common_video/frame_counts_gn/moz.build
27834
+++ third_party/libwebrtc/common_video/frame_counts_gn/moz.build
27703
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
27835
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 27721-27727 index 6029016a0e4b..0bd2ab0ab211 100644 Link Here
27721
 
27853
 
27722
 FINAL_LIBRARY = "webrtc"
27854
 FINAL_LIBRARY = "webrtc"
27723
 
27855
 
27724
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
27856
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
27725
 if CONFIG["MOZ_DEBUG"] == "1":
27857
 if CONFIG["MOZ_DEBUG"] == "1":
27726
 
27858
 
27727
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
27859
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 27782-27787 index 6029016a0e4b..0bd2ab0ab211 100644 Link Here
27782
-    DEFINES["NOMINMAX"] = True
27914
-    DEFINES["NOMINMAX"] = True
27783
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
27915
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
27784
-    DEFINES["PSAPI_VERSION"] = "2"
27916
-    DEFINES["PSAPI_VERSION"] = "2"
27917
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
27785
-    DEFINES["UNICODE"] = True
27918
-    DEFINES["UNICODE"] = True
27786
-    DEFINES["USE_AURA"] = "1"
27919
-    DEFINES["USE_AURA"] = "1"
27787
-    DEFINES["WEBRTC_WIN"] = True
27920
-    DEFINES["WEBRTC_WIN"] = True
Lines 27826-27832 index 6029016a0e4b..0bd2ab0ab211 100644 Link Here
27826
 
27959
 
27827
 if CONFIG["CPU_ARCH"] == "x86":
27960
 if CONFIG["CPU_ARCH"] == "x86":
27828
 
27961
 
27829
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
27962
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
27830
 
27963
 
27831
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
27964
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
27832
 
27965
 
Lines 27886-27892 index 6029016a0e4b..0bd2ab0ab211 100644 Link Here
27886
-
28019
-
27887
 Library("frame_counts_gn")
28020
 Library("frame_counts_gn")
27888
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
28021
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
27889
index b09e027176e1..0ab69dd829cb 100644
28022
index 5498cbba7c3c..0ab69dd829cb 100644
27890
--- third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build
28023
--- third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build
27891
+++ third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build
28024
+++ third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build
27892
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
28025
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 27910-27916 index b09e027176e1..0ab69dd829cb 100644 Link Here
27910
 
28043
 
27911
 FINAL_LIBRARY = "webrtc"
28044
 FINAL_LIBRARY = "webrtc"
27912
 
28045
 
27913
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
28046
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
27914
 if CONFIG["MOZ_DEBUG"] == "1":
28047
 if CONFIG["MOZ_DEBUG"] == "1":
27915
 
28048
 
27916
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
28049
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 27975-27980 index b09e027176e1..0ab69dd829cb 100644 Link Here
27975
-    DEFINES["NOMINMAX"] = True
28108
-    DEFINES["NOMINMAX"] = True
27976
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
28109
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
27977
-    DEFINES["PSAPI_VERSION"] = "2"
28110
-    DEFINES["PSAPI_VERSION"] = "2"
28111
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
27978
-    DEFINES["UNICODE"] = True
28112
-    DEFINES["UNICODE"] = True
27979
-    DEFINES["USE_AURA"] = "1"
28113
-    DEFINES["USE_AURA"] = "1"
27980
-    DEFINES["WEBRTC_WIN"] = True
28114
-    DEFINES["WEBRTC_WIN"] = True
Lines 28097-28103 index b09e027176e1..0ab69dd829cb 100644 Link Here
28097
 
28231
 
28098
 Library("generic_frame_descriptor_gn")
28232
 Library("generic_frame_descriptor_gn")
28099
diff --git third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build
28233
diff --git third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build
28100
index 2ae645ea741d..82f547782ab4 100644
28234
index 27d3bb37aa44..82f547782ab4 100644
28101
--- third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build
28235
--- third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build
28102
+++ third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build
28236
+++ third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build
28103
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
28237
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 28121-28127 index 2ae645ea741d..82f547782ab4 100644 Link Here
28121
 
28255
 
28122
 FINAL_LIBRARY = "webrtc"
28256
 FINAL_LIBRARY = "webrtc"
28123
 
28257
 
28124
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
28258
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
28125
 if CONFIG["MOZ_DEBUG"] == "1":
28259
 if CONFIG["MOZ_DEBUG"] == "1":
28126
 
28260
 
28127
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
28261
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 28182-28187 index 2ae645ea741d..82f547782ab4 100644 Link Here
28182
-    DEFINES["NOMINMAX"] = True
28316
-    DEFINES["NOMINMAX"] = True
28183
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
28317
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
28184
-    DEFINES["PSAPI_VERSION"] = "2"
28318
-    DEFINES["PSAPI_VERSION"] = "2"
28319
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
28185
-    DEFINES["UNICODE"] = True
28320
-    DEFINES["UNICODE"] = True
28186
-    DEFINES["USE_AURA"] = "1"
28321
-    DEFINES["USE_AURA"] = "1"
28187
-    DEFINES["WEBRTC_WIN"] = True
28322
-    DEFINES["WEBRTC_WIN"] = True
Lines 28226-28232 index 2ae645ea741d..82f547782ab4 100644 Link Here
28226
 
28361
 
28227
 if CONFIG["CPU_ARCH"] == "x86":
28362
 if CONFIG["CPU_ARCH"] == "x86":
28228
 
28363
 
28229
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
28364
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
28230
 
28365
 
28231
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
28366
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
28232
 
28367
 
Lines 28300-28306 index 2f9f14acb430..f8143d2798f0 100644 Link Here
28300
-
28435
-
28301
 Library("registered_field_trials_header_gn")
28436
 Library("registered_field_trials_header_gn")
28302
diff --git third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build
28437
diff --git third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build
28303
index ddc4a9cc8bdb..76b97cad597b 100644
28438
index f70052f36f23..76b97cad597b 100644
28304
--- third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build
28439
--- third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build
28305
+++ third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build
28440
+++ third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build
28306
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
28441
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 28324-28330 index ddc4a9cc8bdb..76b97cad597b 100644 Link Here
28324
 
28459
 
28325
 FINAL_LIBRARY = "webrtc"
28460
 FINAL_LIBRARY = "webrtc"
28326
 
28461
 
28327
@@ -47,183 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
28462
@@ -47,184 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
28328
 if CONFIG["MOZ_DEBUG"] == "1":
28463
 if CONFIG["MOZ_DEBUG"] == "1":
28329
 
28464
 
28330
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
28465
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 28389-28394 index ddc4a9cc8bdb..76b97cad597b 100644 Link Here
28389
-    DEFINES["NOMINMAX"] = True
28524
-    DEFINES["NOMINMAX"] = True
28390
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
28525
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
28391
-    DEFINES["PSAPI_VERSION"] = "2"
28526
-    DEFINES["PSAPI_VERSION"] = "2"
28527
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
28392
-    DEFINES["UNICODE"] = True
28528
-    DEFINES["UNICODE"] = True
28393
-    DEFINES["USE_AURA"] = "1"
28529
-    DEFINES["USE_AURA"] = "1"
28394
-    DEFINES["WEBRTC_WIN"] = True
28530
-    DEFINES["WEBRTC_WIN"] = True
Lines 28515-28521 index ddc4a9cc8bdb..76b97cad597b 100644 Link Here
28515
 
28651
 
28516
 Library("rtc_event_audio_gn")
28652
 Library("rtc_event_audio_gn")
28517
diff --git third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build
28653
diff --git third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build
28518
index 270182b2be45..48e47598a034 100644
28654
index 8fc25dce315c..48e47598a034 100644
28519
--- third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build
28655
--- third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build
28520
+++ third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build
28656
+++ third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build
28521
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
28657
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 28539-28545 index 270182b2be45..48e47598a034 100644 Link Here
28539
 
28675
 
28540
 FINAL_LIBRARY = "webrtc"
28676
 FINAL_LIBRARY = "webrtc"
28541
 
28677
 
28542
@@ -48,183 +57,32 @@ if not CONFIG["MOZ_DEBUG"]:
28678
@@ -48,184 +57,32 @@ if not CONFIG["MOZ_DEBUG"]:
28543
 if CONFIG["MOZ_DEBUG"] == "1":
28679
 if CONFIG["MOZ_DEBUG"] == "1":
28544
 
28680
 
28545
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
28681
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 28604-28609 index 270182b2be45..48e47598a034 100644 Link Here
28604
-    DEFINES["NOMINMAX"] = True
28740
-    DEFINES["NOMINMAX"] = True
28605
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
28741
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
28606
-    DEFINES["PSAPI_VERSION"] = "2"
28742
-    DEFINES["PSAPI_VERSION"] = "2"
28743
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
28607
-    DEFINES["UNICODE"] = True
28744
-    DEFINES["UNICODE"] = True
28608
-    DEFINES["USE_AURA"] = "1"
28745
-    DEFINES["USE_AURA"] = "1"
28609
-    DEFINES["WEBRTC_WIN"] = True
28746
-    DEFINES["WEBRTC_WIN"] = True
Lines 28730-28736 index 270182b2be45..48e47598a034 100644 Link Here
28730
 
28867
 
28731
 Library("rtc_event_bwe_gn")
28868
 Library("rtc_event_bwe_gn")
28732
diff --git third_party/libwebrtc/logging/rtc_event_field_gn/moz.build third_party/libwebrtc/logging/rtc_event_field_gn/moz.build
28869
diff --git third_party/libwebrtc/logging/rtc_event_field_gn/moz.build third_party/libwebrtc/logging/rtc_event_field_gn/moz.build
28733
index 7a816f43289d..9c1a7bd6de3f 100644
28870
index 74aa081cb186..9c1a7bd6de3f 100644
28734
--- third_party/libwebrtc/logging/rtc_event_field_gn/moz.build
28871
--- third_party/libwebrtc/logging/rtc_event_field_gn/moz.build
28735
+++ third_party/libwebrtc/logging/rtc_event_field_gn/moz.build
28872
+++ third_party/libwebrtc/logging/rtc_event_field_gn/moz.build
28736
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
28873
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 28754-28760 index 7a816f43289d..9c1a7bd6de3f 100644 Link Here
28754
 
28891
 
28755
 FINAL_LIBRARY = "webrtc"
28892
 FINAL_LIBRARY = "webrtc"
28756
 
28893
 
28757
@@ -46,183 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
28894
@@ -46,184 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
28758
 if CONFIG["MOZ_DEBUG"] == "1":
28895
 if CONFIG["MOZ_DEBUG"] == "1":
28759
 
28896
 
28760
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
28897
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 28819-28824 index 7a816f43289d..9c1a7bd6de3f 100644 Link Here
28819
-    DEFINES["NOMINMAX"] = True
28956
-    DEFINES["NOMINMAX"] = True
28820
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
28957
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
28821
-    DEFINES["PSAPI_VERSION"] = "2"
28958
-    DEFINES["PSAPI_VERSION"] = "2"
28959
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
28822
-    DEFINES["UNICODE"] = True
28960
-    DEFINES["UNICODE"] = True
28823
-    DEFINES["USE_AURA"] = "1"
28961
-    DEFINES["USE_AURA"] = "1"
28824
-    DEFINES["WEBRTC_WIN"] = True
28962
-    DEFINES["WEBRTC_WIN"] = True
Lines 28945-28951 index 7a816f43289d..9c1a7bd6de3f 100644 Link Here
28945
 
29083
 
28946
 Library("rtc_event_field_gn")
29084
 Library("rtc_event_field_gn")
28947
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
29085
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
28948
index d9020f9a56c3..5362e89efe76 100644
29086
index 90e2882090ab..5362e89efe76 100644
28949
--- third_party/libwebrtc/logging/rtc_event_log_parse_status_gn/moz.build
29087
--- third_party/libwebrtc/logging/rtc_event_log_parse_status_gn/moz.build
28950
+++ third_party/libwebrtc/logging/rtc_event_log_parse_status_gn/moz.build
29088
+++ third_party/libwebrtc/logging/rtc_event_log_parse_status_gn/moz.build
28951
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
29089
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 28969-28975 index d9020f9a56c3..5362e89efe76 100644 Link Here
28969
 
29107
 
28970
 FINAL_LIBRARY = "webrtc"
29108
 FINAL_LIBRARY = "webrtc"
28971
 
29109
 
28972
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
29110
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
28973
 if CONFIG["MOZ_DEBUG"] == "1":
29111
 if CONFIG["MOZ_DEBUG"] == "1":
28974
 
29112
 
28975
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
29113
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 29034-29039 index d9020f9a56c3..5362e89efe76 100644 Link Here
29034
-    DEFINES["NOMINMAX"] = True
29172
-    DEFINES["NOMINMAX"] = True
29035
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
29173
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
29036
-    DEFINES["PSAPI_VERSION"] = "2"
29174
-    DEFINES["PSAPI_VERSION"] = "2"
29175
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
29037
-    DEFINES["UNICODE"] = True
29176
-    DEFINES["UNICODE"] = True
29038
-    DEFINES["USE_AURA"] = "1"
29177
-    DEFINES["USE_AURA"] = "1"
29039
-    DEFINES["WEBRTC_WIN"] = True
29178
-    DEFINES["WEBRTC_WIN"] = True
Lines 29078-29084 index d9020f9a56c3..5362e89efe76 100644 Link Here
29078
 
29217
 
29079
 if CONFIG["CPU_ARCH"] == "x86":
29218
 if CONFIG["CPU_ARCH"] == "x86":
29080
 
29219
 
29081
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
29220
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
29082
 
29221
 
29083
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
29222
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
29084
 
29223
 
Lines 29138-29144 index d9020f9a56c3..5362e89efe76 100644 Link Here
29138
-
29277
-
29139
 Library("rtc_event_log_parse_status_gn")
29278
 Library("rtc_event_log_parse_status_gn")
29140
diff --git third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build
29279
diff --git third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build
29141
index ad1c2615454e..7838b57024ae 100644
29280
index a0a2f85ecf25..7838b57024ae 100644
29142
--- third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build
29281
--- third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build
29143
+++ third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build
29282
+++ third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build
29144
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
29283
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 29162-29168 index ad1c2615454e..7838b57024ae 100644 Link Here
29162
 
29301
 
29163
 FINAL_LIBRARY = "webrtc"
29302
 FINAL_LIBRARY = "webrtc"
29164
 
29303
 
29165
@@ -45,179 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
29304
@@ -45,180 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
29166
 if CONFIG["MOZ_DEBUG"] == "1":
29305
 if CONFIG["MOZ_DEBUG"] == "1":
29167
 
29306
 
29168
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
29307
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 29227-29232 index ad1c2615454e..7838b57024ae 100644 Link Here
29227
-    DEFINES["NOMINMAX"] = True
29366
-    DEFINES["NOMINMAX"] = True
29228
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
29367
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
29229
-    DEFINES["PSAPI_VERSION"] = "2"
29368
-    DEFINES["PSAPI_VERSION"] = "2"
29369
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
29230
-    DEFINES["UNICODE"] = True
29370
-    DEFINES["UNICODE"] = True
29231
-    DEFINES["USE_AURA"] = "1"
29371
-    DEFINES["USE_AURA"] = "1"
29232
-    DEFINES["WEBRTC_WIN"] = True
29372
-    DEFINES["WEBRTC_WIN"] = True
Lines 29349-29355 index ad1c2615454e..7838b57024ae 100644 Link Here
29349
 
29489
 
29350
 Library("rtc_event_number_encodings_gn")
29490
 Library("rtc_event_number_encodings_gn")
29351
diff --git third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build
29491
diff --git third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build
29352
index a920e8d64332..ffe265db0851 100644
29492
index 78992d519f70..ffe265db0851 100644
29353
--- third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build
29493
--- third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build
29354
+++ third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build
29494
+++ third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build
29355
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
29495
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 29373-29379 index a920e8d64332..ffe265db0851 100644 Link Here
29373
 
29513
 
29374
 FINAL_LIBRARY = "webrtc"
29514
 FINAL_LIBRARY = "webrtc"
29375
 
29515
 
29376
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
29516
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
29377
 if CONFIG["MOZ_DEBUG"] == "1":
29517
 if CONFIG["MOZ_DEBUG"] == "1":
29378
 
29518
 
29379
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
29519
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 29438-29443 index a920e8d64332..ffe265db0851 100644 Link Here
29438
-    DEFINES["NOMINMAX"] = True
29578
-    DEFINES["NOMINMAX"] = True
29439
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
29579
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
29440
-    DEFINES["PSAPI_VERSION"] = "2"
29580
-    DEFINES["PSAPI_VERSION"] = "2"
29581
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
29441
-    DEFINES["UNICODE"] = True
29582
-    DEFINES["UNICODE"] = True
29442
-    DEFINES["USE_AURA"] = "1"
29583
-    DEFINES["USE_AURA"] = "1"
29443
-    DEFINES["WEBRTC_WIN"] = True
29584
-    DEFINES["WEBRTC_WIN"] = True
Lines 29564-29570 index a920e8d64332..ffe265db0851 100644 Link Here
29564
 
29705
 
29565
 Library("rtc_event_pacing_gn")
29706
 Library("rtc_event_pacing_gn")
29566
diff --git third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build
29707
diff --git third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build
29567
index bb826e4a720e..b290dc3e72e7 100644
29708
index e69cf32fd67c..b290dc3e72e7 100644
29568
--- third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build
29709
--- third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build
29569
+++ third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build
29710
+++ third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build
29570
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
29711
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 29588-29594 index bb826e4a720e..b290dc3e72e7 100644 Link Here
29588
 
29729
 
29589
 FINAL_LIBRARY = "webrtc"
29730
 FINAL_LIBRARY = "webrtc"
29590
 
29731
 
29591
@@ -46,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
29732
@@ -46,191 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
29592
 if CONFIG["MOZ_DEBUG"] == "1":
29733
 if CONFIG["MOZ_DEBUG"] == "1":
29593
 
29734
 
29594
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
29735
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 29657-29662 index bb826e4a720e..b290dc3e72e7 100644 Link Here
29657
-    DEFINES["NOMINMAX"] = True
29798
-    DEFINES["NOMINMAX"] = True
29658
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
29799
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
29659
-    DEFINES["PSAPI_VERSION"] = "2"
29800
-    DEFINES["PSAPI_VERSION"] = "2"
29801
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
29660
-    DEFINES["UNICODE"] = True
29802
-    DEFINES["UNICODE"] = True
29661
-    DEFINES["USE_AURA"] = "1"
29803
-    DEFINES["USE_AURA"] = "1"
29662
-    DEFINES["WEBRTC_WIN"] = True
29804
-    DEFINES["WEBRTC_WIN"] = True
Lines 29786-29792 index bb826e4a720e..b290dc3e72e7 100644 Link Here
29786
 
29928
 
29787
 Library("rtc_event_rtp_rtcp_gn")
29929
 Library("rtc_event_rtp_rtcp_gn")
29788
diff --git third_party/libwebrtc/logging/rtc_event_video_gn/moz.build third_party/libwebrtc/logging/rtc_event_video_gn/moz.build
29930
diff --git third_party/libwebrtc/logging/rtc_event_video_gn/moz.build third_party/libwebrtc/logging/rtc_event_video_gn/moz.build
29789
index 423abc9ec40c..cf444b4316cd 100644
29931
index 5f3539a0f37d..cf444b4316cd 100644
29790
--- third_party/libwebrtc/logging/rtc_event_video_gn/moz.build
29932
--- third_party/libwebrtc/logging/rtc_event_video_gn/moz.build
29791
+++ third_party/libwebrtc/logging/rtc_event_video_gn/moz.build
29933
+++ third_party/libwebrtc/logging/rtc_event_video_gn/moz.build
29792
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
29934
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 29810-29816 index 423abc9ec40c..cf444b4316cd 100644 Link Here
29810
 
29952
 
29811
 FINAL_LIBRARY = "webrtc"
29953
 FINAL_LIBRARY = "webrtc"
29812
 
29954
 
29813
@@ -44,183 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
29955
@@ -44,184 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
29814
 if CONFIG["MOZ_DEBUG"] == "1":
29956
 if CONFIG["MOZ_DEBUG"] == "1":
29815
 
29957
 
29816
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
29958
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 29875-29880 index 423abc9ec40c..cf444b4316cd 100644 Link Here
29875
-    DEFINES["NOMINMAX"] = True
30017
-    DEFINES["NOMINMAX"] = True
29876
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
30018
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
29877
-    DEFINES["PSAPI_VERSION"] = "2"
30019
-    DEFINES["PSAPI_VERSION"] = "2"
30020
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
29878
-    DEFINES["UNICODE"] = True
30021
-    DEFINES["UNICODE"] = True
29879
-    DEFINES["USE_AURA"] = "1"
30022
-    DEFINES["USE_AURA"] = "1"
29880
-    DEFINES["WEBRTC_WIN"] = True
30023
-    DEFINES["WEBRTC_WIN"] = True
Lines 30001-30007 index 423abc9ec40c..cf444b4316cd 100644 Link Here
30001
 
30144
 
30002
 Library("rtc_event_video_gn")
30145
 Library("rtc_event_video_gn")
30003
diff --git third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build
30146
diff --git third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build
30004
index 14ba953e29d3..96ef93e69179 100644
30147
index 690d57689b4c..96ef93e69179 100644
30005
--- third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build
30148
--- third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build
30006
+++ third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build
30149
+++ third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build
30007
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
30150
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 30025-30031 index 14ba953e29d3..96ef93e69179 100644 Link Here
30025
 
30168
 
30026
 FINAL_LIBRARY = "webrtc"
30169
 FINAL_LIBRARY = "webrtc"
30027
 
30170
 
30028
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
30171
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
30029
 if CONFIG["MOZ_DEBUG"] == "1":
30172
 if CONFIG["MOZ_DEBUG"] == "1":
30030
 
30173
 
30031
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
30174
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 30090-30095 index 14ba953e29d3..96ef93e69179 100644 Link Here
30090
-    DEFINES["NOMINMAX"] = True
30233
-    DEFINES["NOMINMAX"] = True
30091
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
30234
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
30092
-    DEFINES["PSAPI_VERSION"] = "2"
30235
-    DEFINES["PSAPI_VERSION"] = "2"
30236
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
30093
-    DEFINES["UNICODE"] = True
30237
-    DEFINES["UNICODE"] = True
30094
-    DEFINES["USE_AURA"] = "1"
30238
-    DEFINES["USE_AURA"] = "1"
30095
-    DEFINES["WEBRTC_WIN"] = True
30239
-    DEFINES["WEBRTC_WIN"] = True
Lines 30216-30222 index 14ba953e29d3..96ef93e69179 100644 Link Here
30216
 
30360
 
30217
 Library("rtc_stream_config_gn")
30361
 Library("rtc_stream_config_gn")
30218
diff --git third_party/libwebrtc/media/codec_gn/moz.build third_party/libwebrtc/media/codec_gn/moz.build
30362
diff --git third_party/libwebrtc/media/codec_gn/moz.build third_party/libwebrtc/media/codec_gn/moz.build
30219
index 6b56a082191f..f5bac588d11b 100644
30363
index 44eb62e22127..f5bac588d11b 100644
30220
--- third_party/libwebrtc/media/codec_gn/moz.build
30364
--- third_party/libwebrtc/media/codec_gn/moz.build
30221
+++ third_party/libwebrtc/media/codec_gn/moz.build
30365
+++ third_party/libwebrtc/media/codec_gn/moz.build
30222
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
30366
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 30240-30246 index 6b56a082191f..f5bac588d11b 100644 Link Here
30240
 
30384
 
30241
 FINAL_LIBRARY = "webrtc"
30385
 FINAL_LIBRARY = "webrtc"
30242
 
30386
 
30243
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
30387
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
30244
 if CONFIG["MOZ_DEBUG"] == "1":
30388
 if CONFIG["MOZ_DEBUG"] == "1":
30245
 
30389
 
30246
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
30390
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 30305-30310 index 6b56a082191f..f5bac588d11b 100644 Link Here
30305
-    DEFINES["NOMINMAX"] = True
30449
-    DEFINES["NOMINMAX"] = True
30306
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
30450
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
30307
-    DEFINES["PSAPI_VERSION"] = "2"
30451
-    DEFINES["PSAPI_VERSION"] = "2"
30452
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
30308
-    DEFINES["UNICODE"] = True
30453
-    DEFINES["UNICODE"] = True
30309
-    DEFINES["USE_AURA"] = "1"
30454
-    DEFINES["USE_AURA"] = "1"
30310
-    DEFINES["WEBRTC_WIN"] = True
30455
-    DEFINES["WEBRTC_WIN"] = True
Lines 30431-30437 index 6b56a082191f..f5bac588d11b 100644 Link Here
30431
 
30576
 
30432
 Library("codec_gn")
30577
 Library("codec_gn")
30433
diff --git third_party/libwebrtc/media/delayable_gn/moz.build third_party/libwebrtc/media/delayable_gn/moz.build
30578
diff --git third_party/libwebrtc/media/delayable_gn/moz.build third_party/libwebrtc/media/delayable_gn/moz.build
30434
index 12b25ac016e3..3a95f5ef1faf 100644
30579
index a7495471d729..3a95f5ef1faf 100644
30435
--- third_party/libwebrtc/media/delayable_gn/moz.build
30580
--- third_party/libwebrtc/media/delayable_gn/moz.build
30436
+++ third_party/libwebrtc/media/delayable_gn/moz.build
30581
+++ third_party/libwebrtc/media/delayable_gn/moz.build
30437
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
30582
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 30455-30461 index 12b25ac016e3..3a95f5ef1faf 100644 Link Here
30455
 
30600
 
30456
 FINAL_LIBRARY = "webrtc"
30601
 FINAL_LIBRARY = "webrtc"
30457
 
30602
 
30458
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
30603
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
30459
 if CONFIG["MOZ_DEBUG"] == "1":
30604
 if CONFIG["MOZ_DEBUG"] == "1":
30460
 
30605
 
30461
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
30606
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 30516-30521 index 12b25ac016e3..3a95f5ef1faf 100644 Link Here
30516
-    DEFINES["NOMINMAX"] = True
30661
-    DEFINES["NOMINMAX"] = True
30517
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
30662
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
30518
-    DEFINES["PSAPI_VERSION"] = "2"
30663
-    DEFINES["PSAPI_VERSION"] = "2"
30664
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
30519
-    DEFINES["UNICODE"] = True
30665
-    DEFINES["UNICODE"] = True
30520
-    DEFINES["USE_AURA"] = "1"
30666
-    DEFINES["USE_AURA"] = "1"
30521
-    DEFINES["WEBRTC_WIN"] = True
30667
-    DEFINES["WEBRTC_WIN"] = True
Lines 30560-30566 index 12b25ac016e3..3a95f5ef1faf 100644 Link Here
30560
 
30706
 
30561
 if CONFIG["CPU_ARCH"] == "x86":
30707
 if CONFIG["CPU_ARCH"] == "x86":
30562
 
30708
 
30563
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
30709
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
30564
 
30710
 
30565
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
30711
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
30566
 
30712
 
Lines 30620-30626 index 12b25ac016e3..3a95f5ef1faf 100644 Link Here
30620
-
30766
-
30621
 Library("delayable_gn")
30767
 Library("delayable_gn")
30622
diff --git third_party/libwebrtc/media/media_channel_gn/moz.build third_party/libwebrtc/media/media_channel_gn/moz.build
30768
diff --git third_party/libwebrtc/media/media_channel_gn/moz.build third_party/libwebrtc/media/media_channel_gn/moz.build
30623
index d031085023fb..863e7fde7105 100644
30769
index 4dc8bd6ca428..863e7fde7105 100644
30624
--- third_party/libwebrtc/media/media_channel_gn/moz.build
30770
--- third_party/libwebrtc/media/media_channel_gn/moz.build
30625
+++ third_party/libwebrtc/media/media_channel_gn/moz.build
30771
+++ third_party/libwebrtc/media/media_channel_gn/moz.build
30626
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
30772
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 30644-30650 index d031085023fb..863e7fde7105 100644 Link Here
30644
 
30790
 
30645
 FINAL_LIBRARY = "webrtc"
30791
 FINAL_LIBRARY = "webrtc"
30646
 
30792
 
30647
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
30793
@@ -39,120 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
30648
 if CONFIG["MOZ_DEBUG"] == "1":
30794
 if CONFIG["MOZ_DEBUG"] == "1":
30649
 
30795
 
30650
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
30796
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 30714-30719 index d031085023fb..863e7fde7105 100644 Link Here
30714
-    DEFINES["NOMINMAX"] = True
30860
-    DEFINES["NOMINMAX"] = True
30715
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
30861
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
30716
-    DEFINES["PSAPI_VERSION"] = "2"
30862
-    DEFINES["PSAPI_VERSION"] = "2"
30863
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
30717
-    DEFINES["UNICODE"] = True
30864
-    DEFINES["UNICODE"] = True
30718
-    DEFINES["USE_AURA"] = "1"
30865
-    DEFINES["USE_AURA"] = "1"
30719
-    DEFINES["WEBRTC_WIN"] = True
30866
-    DEFINES["WEBRTC_WIN"] = True
Lines 30765-30771 index d031085023fb..863e7fde7105 100644 Link Here
30765
 
30912
 
30766
 if CONFIG["CPU_ARCH"] == "x86":
30913
 if CONFIG["CPU_ARCH"] == "x86":
30767
 
30914
 
30768
@@ -161,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
30915
@@ -162,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
30769
 
30916
 
30770
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
30917
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
30771
 
30918
 
Lines 30825-30831 index d031085023fb..863e7fde7105 100644 Link Here
30825
-
30972
-
30826
 Library("media_channel_gn")
30973
 Library("media_channel_gn")
30827
diff --git third_party/libwebrtc/media/media_channel_impl_gn/moz.build third_party/libwebrtc/media/media_channel_impl_gn/moz.build
30974
diff --git third_party/libwebrtc/media/media_channel_impl_gn/moz.build third_party/libwebrtc/media/media_channel_impl_gn/moz.build
30828
index 49b90be2fc51..7f0b3bc10a7f 100644
30975
index edd945d56d4a..7f0b3bc10a7f 100644
30829
--- third_party/libwebrtc/media/media_channel_impl_gn/moz.build
30976
--- third_party/libwebrtc/media/media_channel_impl_gn/moz.build
30830
+++ third_party/libwebrtc/media/media_channel_impl_gn/moz.build
30977
+++ third_party/libwebrtc/media/media_channel_impl_gn/moz.build
30831
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
30978
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 30849-30855 index 49b90be2fc51..7f0b3bc10a7f 100644 Link Here
30849
 
30996
 
30850
 FINAL_LIBRARY = "webrtc"
30997
 FINAL_LIBRARY = "webrtc"
30851
 
30998
 
30852
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
30999
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
30853
 if CONFIG["MOZ_DEBUG"] == "1":
31000
 if CONFIG["MOZ_DEBUG"] == "1":
30854
 
31001
 
30855
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
31002
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 30910-30915 index 49b90be2fc51..7f0b3bc10a7f 100644 Link Here
30910
-    DEFINES["NOMINMAX"] = True
31057
-    DEFINES["NOMINMAX"] = True
30911
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
31058
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
30912
-    DEFINES["PSAPI_VERSION"] = "2"
31059
-    DEFINES["PSAPI_VERSION"] = "2"
31060
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
30913
-    DEFINES["UNICODE"] = True
31061
-    DEFINES["UNICODE"] = True
30914
-    DEFINES["USE_AURA"] = "1"
31062
-    DEFINES["USE_AURA"] = "1"
30915
-    DEFINES["WEBRTC_WIN"] = True
31063
-    DEFINES["WEBRTC_WIN"] = True
Lines 30954-30960 index 49b90be2fc51..7f0b3bc10a7f 100644 Link Here
30954
 
31102
 
30955
 if CONFIG["CPU_ARCH"] == "x86":
31103
 if CONFIG["CPU_ARCH"] == "x86":
30956
 
31104
 
30957
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
31105
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
30958
 
31106
 
30959
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
31107
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
30960
 
31108
 
Lines 31014-31020 index 49b90be2fc51..7f0b3bc10a7f 100644 Link Here
31014
-
31162
-
31015
 Library("media_channel_impl_gn")
31163
 Library("media_channel_impl_gn")
31016
diff --git third_party/libwebrtc/media/media_constants_gn/moz.build third_party/libwebrtc/media/media_constants_gn/moz.build
31164
diff --git third_party/libwebrtc/media/media_constants_gn/moz.build third_party/libwebrtc/media/media_constants_gn/moz.build
31017
index fb30505356f2..28762fdde6a3 100644
31165
index 65d70a73b67e..28762fdde6a3 100644
31018
--- third_party/libwebrtc/media/media_constants_gn/moz.build
31166
--- third_party/libwebrtc/media/media_constants_gn/moz.build
31019
+++ third_party/libwebrtc/media/media_constants_gn/moz.build
31167
+++ third_party/libwebrtc/media/media_constants_gn/moz.build
31020
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
31168
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 31038-31044 index fb30505356f2..28762fdde6a3 100644 Link Here
31038
 
31186
 
31039
 FINAL_LIBRARY = "webrtc"
31187
 FINAL_LIBRARY = "webrtc"
31040
 
31188
 
31041
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
31189
@@ -43,176 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
31042
 if CONFIG["MOZ_DEBUG"] == "1":
31190
 if CONFIG["MOZ_DEBUG"] == "1":
31043
 
31191
 
31044
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
31192
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 31099-31104 index fb30505356f2..28762fdde6a3 100644 Link Here
31099
-    DEFINES["NOMINMAX"] = True
31247
-    DEFINES["NOMINMAX"] = True
31100
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
31248
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
31101
-    DEFINES["PSAPI_VERSION"] = "2"
31249
-    DEFINES["PSAPI_VERSION"] = "2"
31250
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
31102
-    DEFINES["UNICODE"] = True
31251
-    DEFINES["UNICODE"] = True
31103
-    DEFINES["USE_AURA"] = "1"
31252
-    DEFINES["USE_AURA"] = "1"
31104
-    DEFINES["WEBRTC_WIN"] = True
31253
-    DEFINES["WEBRTC_WIN"] = True
Lines 31221-31227 index fb30505356f2..28762fdde6a3 100644 Link Here
31221
 
31370
 
31222
 Library("media_constants_gn")
31371
 Library("media_constants_gn")
31223
diff --git third_party/libwebrtc/media/rid_description_gn/moz.build third_party/libwebrtc/media/rid_description_gn/moz.build
31372
diff --git third_party/libwebrtc/media/rid_description_gn/moz.build third_party/libwebrtc/media/rid_description_gn/moz.build
31224
index 73ebe8374986..c11ccc5b2902 100644
31373
index 7d43f55fff53..c11ccc5b2902 100644
31225
--- third_party/libwebrtc/media/rid_description_gn/moz.build
31374
--- third_party/libwebrtc/media/rid_description_gn/moz.build
31226
+++ third_party/libwebrtc/media/rid_description_gn/moz.build
31375
+++ third_party/libwebrtc/media/rid_description_gn/moz.build
31227
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
31376
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 31245-31251 index 73ebe8374986..c11ccc5b2902 100644 Link Here
31245
 
31394
 
31246
 FINAL_LIBRARY = "webrtc"
31395
 FINAL_LIBRARY = "webrtc"
31247
 
31396
 
31248
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
31397
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
31249
 if CONFIG["MOZ_DEBUG"] == "1":
31398
 if CONFIG["MOZ_DEBUG"] == "1":
31250
 
31399
 
31251
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
31400
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 31306-31311 index 73ebe8374986..c11ccc5b2902 100644 Link Here
31306
-    DEFINES["NOMINMAX"] = True
31455
-    DEFINES["NOMINMAX"] = True
31307
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
31456
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
31308
-    DEFINES["PSAPI_VERSION"] = "2"
31457
-    DEFINES["PSAPI_VERSION"] = "2"
31458
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
31309
-    DEFINES["UNICODE"] = True
31459
-    DEFINES["UNICODE"] = True
31310
-    DEFINES["USE_AURA"] = "1"
31460
-    DEFINES["USE_AURA"] = "1"
31311
-    DEFINES["WEBRTC_WIN"] = True
31461
-    DEFINES["WEBRTC_WIN"] = True
Lines 31350-31356 index 73ebe8374986..c11ccc5b2902 100644 Link Here
31350
 
31500
 
31351
 if CONFIG["CPU_ARCH"] == "x86":
31501
 if CONFIG["CPU_ARCH"] == "x86":
31352
 
31502
 
31353
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
31503
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
31354
 
31504
 
31355
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
31505
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
31356
 
31506
 
Lines 31410-31416 index 73ebe8374986..c11ccc5b2902 100644 Link Here
31410
-
31560
-
31411
 Library("rid_description_gn")
31561
 Library("rid_description_gn")
31412
diff --git third_party/libwebrtc/media/rtc_media_base_gn/moz.build third_party/libwebrtc/media/rtc_media_base_gn/moz.build
31562
diff --git third_party/libwebrtc/media/rtc_media_base_gn/moz.build third_party/libwebrtc/media/rtc_media_base_gn/moz.build
31413
index a48b9886dd24..fcc31ea11376 100644
31563
index 0bcef3ddc6fa..fcc31ea11376 100644
31414
--- third_party/libwebrtc/media/rtc_media_base_gn/moz.build
31564
--- third_party/libwebrtc/media/rtc_media_base_gn/moz.build
31415
+++ third_party/libwebrtc/media/rtc_media_base_gn/moz.build
31565
+++ third_party/libwebrtc/media/rtc_media_base_gn/moz.build
31416
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
31566
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 31434-31440 index a48b9886dd24..fcc31ea11376 100644 Link Here
31434
 
31584
 
31435
 FINAL_LIBRARY = "webrtc"
31585
 FINAL_LIBRARY = "webrtc"
31436
 
31586
 
31437
@@ -46,191 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
31587
@@ -46,192 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
31438
 if CONFIG["MOZ_DEBUG"] == "1":
31588
 if CONFIG["MOZ_DEBUG"] == "1":
31439
 
31589
 
31440
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
31590
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 31504-31509 index a48b9886dd24..fcc31ea11376 100644 Link Here
31504
-    DEFINES["NOMINMAX"] = True
31654
-    DEFINES["NOMINMAX"] = True
31505
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
31655
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
31506
-    DEFINES["PSAPI_VERSION"] = "2"
31656
-    DEFINES["PSAPI_VERSION"] = "2"
31657
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
31507
-    DEFINES["UNICODE"] = True
31658
-    DEFINES["UNICODE"] = True
31508
-    DEFINES["USE_AURA"] = "1"
31659
-    DEFINES["USE_AURA"] = "1"
31509
-    DEFINES["WEBRTC_WIN"] = True
31660
-    DEFINES["WEBRTC_WIN"] = True
Lines 31633-31639 index a48b9886dd24..fcc31ea11376 100644 Link Here
31633
 
31784
 
31634
 Library("rtc_media_base_gn")
31785
 Library("rtc_media_base_gn")
31635
diff --git third_party/libwebrtc/media/rtc_media_config_gn/moz.build third_party/libwebrtc/media/rtc_media_config_gn/moz.build
31786
diff --git third_party/libwebrtc/media/rtc_media_config_gn/moz.build third_party/libwebrtc/media/rtc_media_config_gn/moz.build
31636
index 568632c48fb8..94c43caef47b 100644
31787
index 75c9f13a6c63..94c43caef47b 100644
31637
--- third_party/libwebrtc/media/rtc_media_config_gn/moz.build
31788
--- third_party/libwebrtc/media/rtc_media_config_gn/moz.build
31638
+++ third_party/libwebrtc/media/rtc_media_config_gn/moz.build
31789
+++ third_party/libwebrtc/media/rtc_media_config_gn/moz.build
31639
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
31790
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 31657-31663 index 568632c48fb8..94c43caef47b 100644 Link Here
31657
 
31808
 
31658
 FINAL_LIBRARY = "webrtc"
31809
 FINAL_LIBRARY = "webrtc"
31659
 
31810
 
31660
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
31811
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
31661
 if CONFIG["MOZ_DEBUG"] == "1":
31812
 if CONFIG["MOZ_DEBUG"] == "1":
31662
 
31813
 
31663
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
31814
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 31718-31723 index 568632c48fb8..94c43caef47b 100644 Link Here
31718
-    DEFINES["NOMINMAX"] = True
31869
-    DEFINES["NOMINMAX"] = True
31719
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
31870
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
31720
-    DEFINES["PSAPI_VERSION"] = "2"
31871
-    DEFINES["PSAPI_VERSION"] = "2"
31872
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
31721
-    DEFINES["UNICODE"] = True
31873
-    DEFINES["UNICODE"] = True
31722
-    DEFINES["USE_AURA"] = "1"
31874
-    DEFINES["USE_AURA"] = "1"
31723
-    DEFINES["WEBRTC_WIN"] = True
31875
-    DEFINES["WEBRTC_WIN"] = True
Lines 31762-31768 index 568632c48fb8..94c43caef47b 100644 Link Here
31762
 
31914
 
31763
 if CONFIG["CPU_ARCH"] == "x86":
31915
 if CONFIG["CPU_ARCH"] == "x86":
31764
 
31916
 
31765
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
31917
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
31766
 
31918
 
31767
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
31919
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
31768
 
31920
 
Lines 31822-31828 index 568632c48fb8..94c43caef47b 100644 Link Here
31822
-
31974
-
31823
 Library("rtc_media_config_gn")
31975
 Library("rtc_media_config_gn")
31824
diff --git third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build
31976
diff --git third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build
31825
index 4293ba6d9066..01eda12bd559 100644
31977
index f996de1736e6..01eda12bd559 100644
31826
--- third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build
31978
--- third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build
31827
+++ third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build
31979
+++ third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build
31828
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
31980
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 31846-31852 index 4293ba6d9066..01eda12bd559 100644 Link Here
31846
 
31998
 
31847
 FINAL_LIBRARY = "webrtc"
31999
 FINAL_LIBRARY = "webrtc"
31848
 
32000
 
31849
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
32001
@@ -43,192 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
31850
 if CONFIG["MOZ_DEBUG"] == "1":
32002
 if CONFIG["MOZ_DEBUG"] == "1":
31851
 
32003
 
31852
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
32004
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 31916-31921 index 4293ba6d9066..01eda12bd559 100644 Link Here
31916
-    DEFINES["NOMINMAX"] = True
32068
-    DEFINES["NOMINMAX"] = True
31917
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
32069
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
31918
-    DEFINES["PSAPI_VERSION"] = "2"
32070
-    DEFINES["PSAPI_VERSION"] = "2"
32071
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
31919
-    DEFINES["UNICODE"] = True
32072
-    DEFINES["UNICODE"] = True
31920
-    DEFINES["USE_AURA"] = "1"
32073
-    DEFINES["USE_AURA"] = "1"
31921
-    DEFINES["WEBRTC_WIN"] = True
32074
-    DEFINES["WEBRTC_WIN"] = True
Lines 32045-32051 index 4293ba6d9066..01eda12bd559 100644 Link Here
32045
 
32198
 
32046
 Library("rtc_simulcast_encoder_adapter_gn")
32199
 Library("rtc_simulcast_encoder_adapter_gn")
32047
diff --git third_party/libwebrtc/media/rtp_utils_gn/moz.build third_party/libwebrtc/media/rtp_utils_gn/moz.build
32200
diff --git third_party/libwebrtc/media/rtp_utils_gn/moz.build third_party/libwebrtc/media/rtp_utils_gn/moz.build
32048
index d12f755865a5..a5d44da104b6 100644
32201
index 8c8975d554e3..a5d44da104b6 100644
32049
--- third_party/libwebrtc/media/rtp_utils_gn/moz.build
32202
--- third_party/libwebrtc/media/rtp_utils_gn/moz.build
32050
+++ third_party/libwebrtc/media/rtp_utils_gn/moz.build
32203
+++ third_party/libwebrtc/media/rtp_utils_gn/moz.build
32051
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
32204
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 32069-32075 index d12f755865a5..a5d44da104b6 100644 Link Here
32069
 
32222
 
32070
 FINAL_LIBRARY = "webrtc"
32223
 FINAL_LIBRARY = "webrtc"
32071
 
32224
 
32072
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
32225
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
32073
 if CONFIG["MOZ_DEBUG"] == "1":
32226
 if CONFIG["MOZ_DEBUG"] == "1":
32074
 
32227
 
32075
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
32228
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 32130-32135 index d12f755865a5..a5d44da104b6 100644 Link Here
32130
-    DEFINES["NOMINMAX"] = True
32283
-    DEFINES["NOMINMAX"] = True
32131
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
32284
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
32132
-    DEFINES["PSAPI_VERSION"] = "2"
32285
-    DEFINES["PSAPI_VERSION"] = "2"
32286
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
32133
-    DEFINES["UNICODE"] = True
32287
-    DEFINES["UNICODE"] = True
32134
-    DEFINES["USE_AURA"] = "1"
32288
-    DEFINES["USE_AURA"] = "1"
32135
-    DEFINES["WEBRTC_WIN"] = True
32289
-    DEFINES["WEBRTC_WIN"] = True
Lines 32174-32180 index d12f755865a5..a5d44da104b6 100644 Link Here
32174
 
32328
 
32175
 if CONFIG["CPU_ARCH"] == "x86":
32329
 if CONFIG["CPU_ARCH"] == "x86":
32176
 
32330
 
32177
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
32331
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
32178
 
32332
 
32179
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
32333
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
32180
 
32334
 
Lines 32234-32240 index d12f755865a5..a5d44da104b6 100644 Link Here
32234
-
32388
-
32235
 Library("rtp_utils_gn")
32389
 Library("rtp_utils_gn")
32236
diff --git third_party/libwebrtc/media/stream_params_gn/moz.build third_party/libwebrtc/media/stream_params_gn/moz.build
32390
diff --git third_party/libwebrtc/media/stream_params_gn/moz.build third_party/libwebrtc/media/stream_params_gn/moz.build
32237
index 2deba906b932..65ec7aef0025 100644
32391
index 0bd146d3a00f..65ec7aef0025 100644
32238
--- third_party/libwebrtc/media/stream_params_gn/moz.build
32392
--- third_party/libwebrtc/media/stream_params_gn/moz.build
32239
+++ third_party/libwebrtc/media/stream_params_gn/moz.build
32393
+++ third_party/libwebrtc/media/stream_params_gn/moz.build
32240
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
32394
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 32258-32264 index 2deba906b932..65ec7aef0025 100644 Link Here
32258
 
32412
 
32259
 FINAL_LIBRARY = "webrtc"
32413
 FINAL_LIBRARY = "webrtc"
32260
 
32414
 
32261
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
32415
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
32262
 if CONFIG["MOZ_DEBUG"] == "1":
32416
 if CONFIG["MOZ_DEBUG"] == "1":
32263
 
32417
 
32264
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
32418
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 32319-32324 index 2deba906b932..65ec7aef0025 100644 Link Here
32319
-    DEFINES["NOMINMAX"] = True
32473
-    DEFINES["NOMINMAX"] = True
32320
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
32474
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
32321
-    DEFINES["PSAPI_VERSION"] = "2"
32475
-    DEFINES["PSAPI_VERSION"] = "2"
32476
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
32322
-    DEFINES["UNICODE"] = True
32477
-    DEFINES["UNICODE"] = True
32323
-    DEFINES["USE_AURA"] = "1"
32478
-    DEFINES["USE_AURA"] = "1"
32324
-    DEFINES["WEBRTC_WIN"] = True
32479
-    DEFINES["WEBRTC_WIN"] = True
Lines 32363-32369 index 2deba906b932..65ec7aef0025 100644 Link Here
32363
 
32518
 
32364
 if CONFIG["CPU_ARCH"] == "x86":
32519
 if CONFIG["CPU_ARCH"] == "x86":
32365
 
32520
 
32366
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
32521
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
32367
 
32522
 
32368
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
32523
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
32369
 
32524
 
Lines 32423-32429 index 2deba906b932..65ec7aef0025 100644 Link Here
32423
-
32578
-
32424
 Library("stream_params_gn")
32579
 Library("stream_params_gn")
32425
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
32580
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
32426
index f599fadae2f0..90a52e406005 100644
32581
index 672365609554..90a52e406005 100644
32427
--- third_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build
32582
--- third_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build
32428
+++ third_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build
32583
+++ third_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build
32429
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
32584
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 32447-32453 index f599fadae2f0..90a52e406005 100644 Link Here
32447
 
32602
 
32448
 FINAL_LIBRARY = "webrtc"
32603
 FINAL_LIBRARY = "webrtc"
32449
 
32604
 
32450
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
32605
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
32451
 if CONFIG["MOZ_DEBUG"] == "1":
32606
 if CONFIG["MOZ_DEBUG"] == "1":
32452
 
32607
 
32453
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
32608
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 32512-32517 index f599fadae2f0..90a52e406005 100644 Link Here
32512
-    DEFINES["NOMINMAX"] = True
32667
-    DEFINES["NOMINMAX"] = True
32513
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
32668
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
32514
-    DEFINES["PSAPI_VERSION"] = "2"
32669
-    DEFINES["PSAPI_VERSION"] = "2"
32670
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
32515
-    DEFINES["UNICODE"] = True
32671
-    DEFINES["UNICODE"] = True
32516
-    DEFINES["USE_AURA"] = "1"
32672
-    DEFINES["USE_AURA"] = "1"
32517
-    DEFINES["WEBRTC_WIN"] = True
32673
-    DEFINES["WEBRTC_WIN"] = True
Lines 32638-32644 index f599fadae2f0..90a52e406005 100644 Link Here
32638
 
32794
 
32639
 Library("async_audio_processing_gn")
32795
 Library("async_audio_processing_gn")
32640
diff --git third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build
32796
diff --git third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build
32641
index 03d99c93b89a..a1a7c66b6ff0 100644
32797
index 6de6d897f1be..a1a7c66b6ff0 100644
32642
--- third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build
32798
--- third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build
32643
+++ third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build
32799
+++ third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build
32644
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
32800
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 32662-32668 index 03d99c93b89a..a1a7c66b6ff0 100644 Link Here
32662
 
32818
 
32663
 FINAL_LIBRARY = "webrtc"
32819
 FINAL_LIBRARY = "webrtc"
32664
 
32820
 
32665
@@ -47,190 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
32821
@@ -47,191 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
32666
 if CONFIG["MOZ_DEBUG"] == "1":
32822
 if CONFIG["MOZ_DEBUG"] == "1":
32667
 
32823
 
32668
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
32824
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 32731-32736 index 03d99c93b89a..a1a7c66b6ff0 100644 Link Here
32731
-    DEFINES["NOMINMAX"] = True
32887
-    DEFINES["NOMINMAX"] = True
32732
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
32888
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
32733
-    DEFINES["PSAPI_VERSION"] = "2"
32889
-    DEFINES["PSAPI_VERSION"] = "2"
32890
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
32734
-    DEFINES["UNICODE"] = True
32891
-    DEFINES["UNICODE"] = True
32735
-    DEFINES["USE_AURA"] = "1"
32892
-    DEFINES["USE_AURA"] = "1"
32736
-    DEFINES["WEBRTC_WIN"] = True
32893
-    DEFINES["WEBRTC_WIN"] = True
Lines 32860-32866 index 03d99c93b89a..a1a7c66b6ff0 100644 Link Here
32860
 
33017
 
32861
 Library("audio_coding_gn")
33018
 Library("audio_coding_gn")
32862
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
33019
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
32863
index 2826ed8642f9..e8194cf79b99 100644
33020
index 913ce4614a58..e8194cf79b99 100644
32864
--- third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build
33021
--- third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build
32865
+++ third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build
33022
+++ third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build
32866
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
33023
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 32884-32890 index 2826ed8642f9..e8194cf79b99 100644 Link Here
32884
 
33041
 
32885
 FINAL_LIBRARY = "webrtc"
33042
 FINAL_LIBRARY = "webrtc"
32886
 
33043
 
32887
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
33044
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
32888
 if CONFIG["MOZ_DEBUG"] == "1":
33045
 if CONFIG["MOZ_DEBUG"] == "1":
32889
 
33046
 
32890
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
33047
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 32945-32950 index 2826ed8642f9..e8194cf79b99 100644 Link Here
32945
-    DEFINES["NOMINMAX"] = True
33102
-    DEFINES["NOMINMAX"] = True
32946
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
33103
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
32947
-    DEFINES["PSAPI_VERSION"] = "2"
33104
-    DEFINES["PSAPI_VERSION"] = "2"
33105
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
32948
-    DEFINES["UNICODE"] = True
33106
-    DEFINES["UNICODE"] = True
32949
-    DEFINES["USE_AURA"] = "1"
33107
-    DEFINES["USE_AURA"] = "1"
32950
-    DEFINES["WEBRTC_WIN"] = True
33108
-    DEFINES["WEBRTC_WIN"] = True
Lines 32989-32995 index 2826ed8642f9..e8194cf79b99 100644 Link Here
32989
 
33147
 
32990
 if CONFIG["CPU_ARCH"] == "x86":
33148
 if CONFIG["CPU_ARCH"] == "x86":
32991
 
33149
 
32992
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
33150
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
32993
 
33151
 
32994
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
33152
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
32995
 
33153
 
Lines 33049-33055 index 2826ed8642f9..e8194cf79b99 100644 Link Here
33049
-
33207
-
33050
 Library("audio_coding_module_typedefs_gn")
33208
 Library("audio_coding_module_typedefs_gn")
33051
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
33209
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
33052
index bf852e8442a4..de2e04dffe32 100644
33210
index cfb5a0f7e572..de2e04dffe32 100644
33053
--- third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build
33211
--- third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build
33054
+++ third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build
33212
+++ third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build
33055
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
33213
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 33073-33079 index bf852e8442a4..de2e04dffe32 100644 Link Here
33073
 
33231
 
33074
 FINAL_LIBRARY = "webrtc"
33232
 FINAL_LIBRARY = "webrtc"
33075
 
33233
 
33076
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
33234
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
33077
 if CONFIG["MOZ_DEBUG"] == "1":
33235
 if CONFIG["MOZ_DEBUG"] == "1":
33078
 
33236
 
33079
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
33237
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 33138-33143 index bf852e8442a4..de2e04dffe32 100644 Link Here
33138
-    DEFINES["NOMINMAX"] = True
33296
-    DEFINES["NOMINMAX"] = True
33139
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
33297
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
33140
-    DEFINES["PSAPI_VERSION"] = "2"
33298
-    DEFINES["PSAPI_VERSION"] = "2"
33299
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
33141
-    DEFINES["UNICODE"] = True
33300
-    DEFINES["UNICODE"] = True
33142
-    DEFINES["USE_AURA"] = "1"
33301
-    DEFINES["USE_AURA"] = "1"
33143
-    DEFINES["WEBRTC_WIN"] = True
33302
-    DEFINES["WEBRTC_WIN"] = True
Lines 33264-33270 index bf852e8442a4..de2e04dffe32 100644 Link Here
33264
 
33423
 
33265
 Library("audio_coding_opus_common_gn")
33424
 Library("audio_coding_opus_common_gn")
33266
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
33425
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
33267
index 56b6d50f6cb7..7ef50512ec05 100644
33426
index c02002dcc947..7ef50512ec05 100644
33268
--- third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build
33427
--- third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build
33269
+++ third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build
33428
+++ third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build
33270
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
33429
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 33288-33294 index 56b6d50f6cb7..7ef50512ec05 100644 Link Here
33288
 
33447
 
33289
 FINAL_LIBRARY = "webrtc"
33448
 FINAL_LIBRARY = "webrtc"
33290
 
33449
 
33291
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
33450
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
33292
 if CONFIG["MOZ_DEBUG"] == "1":
33451
 if CONFIG["MOZ_DEBUG"] == "1":
33293
 
33452
 
33294
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
33453
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 33357-33362 index 56b6d50f6cb7..7ef50512ec05 100644 Link Here
33357
-    DEFINES["NOMINMAX"] = True
33516
-    DEFINES["NOMINMAX"] = True
33358
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
33517
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
33359
-    DEFINES["PSAPI_VERSION"] = "2"
33518
-    DEFINES["PSAPI_VERSION"] = "2"
33519
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
33360
-    DEFINES["UNICODE"] = True
33520
-    DEFINES["UNICODE"] = True
33361
-    DEFINES["USE_AURA"] = "1"
33521
-    DEFINES["USE_AURA"] = "1"
33362
-    DEFINES["WEBRTC_WIN"] = True
33522
-    DEFINES["WEBRTC_WIN"] = True
Lines 33486-33492 index 56b6d50f6cb7..7ef50512ec05 100644 Link Here
33486
 
33646
 
33487
 Library("audio_encoder_cng_gn")
33647
 Library("audio_encoder_cng_gn")
33488
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
33648
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
33489
index 37cf81ad9f54..a17cc5124685 100644
33649
index dd5c574a76bd..a17cc5124685 100644
33490
--- third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build
33650
--- third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build
33491
+++ third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build
33651
+++ third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build
33492
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
33652
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 33510-33516 index 37cf81ad9f54..a17cc5124685 100644 Link Here
33510
 
33670
 
33511
 FINAL_LIBRARY = "webrtc"
33671
 FINAL_LIBRARY = "webrtc"
33512
 
33672
 
33513
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
33673
@@ -43,176 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
33514
 if CONFIG["MOZ_DEBUG"] == "1":
33674
 if CONFIG["MOZ_DEBUG"] == "1":
33515
 
33675
 
33516
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
33676
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 33571-33576 index 37cf81ad9f54..a17cc5124685 100644 Link Here
33571
-    DEFINES["NOMINMAX"] = True
33731
-    DEFINES["NOMINMAX"] = True
33572
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
33732
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
33573
-    DEFINES["PSAPI_VERSION"] = "2"
33733
-    DEFINES["PSAPI_VERSION"] = "2"
33734
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
33574
-    DEFINES["UNICODE"] = True
33735
-    DEFINES["UNICODE"] = True
33575
-    DEFINES["USE_AURA"] = "1"
33736
-    DEFINES["USE_AURA"] = "1"
33576
-    DEFINES["WEBRTC_WIN"] = True
33737
-    DEFINES["WEBRTC_WIN"] = True
Lines 33693-33699 index 37cf81ad9f54..a17cc5124685 100644 Link Here
33693
 
33854
 
33694
 Library("audio_network_adaptor_config_gn")
33855
 Library("audio_network_adaptor_config_gn")
33695
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
33856
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
33696
index 1d0905ebc109..ba348ebeecff 100644
33857
index 4cfce8c2f74c..ba348ebeecff 100644
33697
--- third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build
33858
--- third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build
33698
+++ third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build
33859
+++ third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build
33699
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
33860
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 33717-33723 index 1d0905ebc109..ba348ebeecff 100644 Link Here
33717
 
33878
 
33718
 FINAL_LIBRARY = "webrtc"
33879
 FINAL_LIBRARY = "webrtc"
33719
 
33880
 
33720
@@ -53,190 +62,32 @@ if not CONFIG["MOZ_DEBUG"]:
33881
@@ -53,191 +62,32 @@ if not CONFIG["MOZ_DEBUG"]:
33721
 if CONFIG["MOZ_DEBUG"] == "1":
33882
 if CONFIG["MOZ_DEBUG"] == "1":
33722
 
33883
 
33723
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
33884
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 33786-33791 index 1d0905ebc109..ba348ebeecff 100644 Link Here
33786
-    DEFINES["NOMINMAX"] = True
33947
-    DEFINES["NOMINMAX"] = True
33787
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
33948
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
33788
-    DEFINES["PSAPI_VERSION"] = "2"
33949
-    DEFINES["PSAPI_VERSION"] = "2"
33950
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
33789
-    DEFINES["UNICODE"] = True
33951
-    DEFINES["UNICODE"] = True
33790
-    DEFINES["USE_AURA"] = "1"
33952
-    DEFINES["USE_AURA"] = "1"
33791
-    DEFINES["WEBRTC_WIN"] = True
33953
-    DEFINES["WEBRTC_WIN"] = True
Lines 33915-33921 index 1d0905ebc109..ba348ebeecff 100644 Link Here
33915
 
34077
 
33916
 Library("audio_network_adaptor_gn")
34078
 Library("audio_network_adaptor_gn")
33917
diff --git third_party/libwebrtc/modules/audio_coding/default_neteq_factory_gn/moz.build third_party/libwebrtc/modules/audio_coding/default_neteq_factory_gn/moz.build
34079
diff --git third_party/libwebrtc/modules/audio_coding/default_neteq_factory_gn/moz.build third_party/libwebrtc/modules/audio_coding/default_neteq_factory_gn/moz.build
33918
index 206a4ae313fd..145619c84116 100644
34080
index e6cc1fe4062d..145619c84116 100644
33919
--- third_party/libwebrtc/modules/audio_coding/default_neteq_factory_gn/moz.build
34081
--- third_party/libwebrtc/modules/audio_coding/default_neteq_factory_gn/moz.build
33920
+++ third_party/libwebrtc/modules/audio_coding/default_neteq_factory_gn/moz.build
34082
+++ third_party/libwebrtc/modules/audio_coding/default_neteq_factory_gn/moz.build
33921
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
34083
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 33939-33945 index 206a4ae313fd..145619c84116 100644 Link Here
33939
 
34101
 
33940
 FINAL_LIBRARY = "webrtc"
34102
 FINAL_LIBRARY = "webrtc"
33941
 
34103
 
33942
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
34104
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
33943
 if CONFIG["MOZ_DEBUG"] == "1":
34105
 if CONFIG["MOZ_DEBUG"] == "1":
33944
 
34106
 
33945
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
34107
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 34008-34013 index 206a4ae313fd..145619c84116 100644 Link Here
34008
-    DEFINES["NOMINMAX"] = True
34170
-    DEFINES["NOMINMAX"] = True
34009
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
34171
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
34010
-    DEFINES["PSAPI_VERSION"] = "2"
34172
-    DEFINES["PSAPI_VERSION"] = "2"
34173
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
34011
-    DEFINES["UNICODE"] = True
34174
-    DEFINES["UNICODE"] = True
34012
-    DEFINES["USE_AURA"] = "1"
34175
-    DEFINES["USE_AURA"] = "1"
34013
-    DEFINES["WEBRTC_WIN"] = True
34176
-    DEFINES["WEBRTC_WIN"] = True
Lines 34137-34143 index 206a4ae313fd..145619c84116 100644 Link Here
34137
 
34300
 
34138
 Library("default_neteq_factory_gn")
34301
 Library("default_neteq_factory_gn")
34139
diff --git third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build
34302
diff --git third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build
34140
index 8322910094eb..7bfe819841af 100644
34303
index 2df6e3c8edd2..7bfe819841af 100644
34141
--- third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build
34304
--- third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build
34142
+++ third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build
34305
+++ third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build
34143
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
34306
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 34161-34167 index 8322910094eb..7bfe819841af 100644 Link Here
34161
 
34324
 
34162
 FINAL_LIBRARY = "webrtc"
34325
 FINAL_LIBRARY = "webrtc"
34163
 
34326
 
34164
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
34327
@@ -43,176 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
34165
 if CONFIG["MOZ_DEBUG"] == "1":
34328
 if CONFIG["MOZ_DEBUG"] == "1":
34166
 
34329
 
34167
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
34330
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 34222-34227 index 8322910094eb..7bfe819841af 100644 Link Here
34222
-    DEFINES["NOMINMAX"] = True
34385
-    DEFINES["NOMINMAX"] = True
34223
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
34386
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
34224
-    DEFINES["PSAPI_VERSION"] = "2"
34387
-    DEFINES["PSAPI_VERSION"] = "2"
34388
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
34225
-    DEFINES["UNICODE"] = True
34389
-    DEFINES["UNICODE"] = True
34226
-    DEFINES["USE_AURA"] = "1"
34390
-    DEFINES["USE_AURA"] = "1"
34227
-    DEFINES["WEBRTC_WIN"] = True
34391
-    DEFINES["WEBRTC_WIN"] = True
Lines 34344-34350 index 8322910094eb..7bfe819841af 100644 Link Here
34344
 
34508
 
34345
 Library("g711_c_gn")
34509
 Library("g711_c_gn")
34346
diff --git third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build
34510
diff --git third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build
34347
index 3a21cddc41e2..80e618a7fa10 100644
34511
index bd1a9d275900..80e618a7fa10 100644
34348
--- third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build
34512
--- third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build
34349
+++ third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build
34513
+++ third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build
34350
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
34514
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 34368-34374 index 3a21cddc41e2..80e618a7fa10 100644 Link Here
34368
 
34532
 
34369
 FINAL_LIBRARY = "webrtc"
34533
 FINAL_LIBRARY = "webrtc"
34370
 
34534
 
34371
@@ -44,183 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
34535
@@ -44,184 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
34372
 if CONFIG["MOZ_DEBUG"] == "1":
34536
 if CONFIG["MOZ_DEBUG"] == "1":
34373
 
34537
 
34374
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
34538
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 34433-34438 index 3a21cddc41e2..80e618a7fa10 100644 Link Here
34433
-    DEFINES["NOMINMAX"] = True
34597
-    DEFINES["NOMINMAX"] = True
34434
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
34598
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
34435
-    DEFINES["PSAPI_VERSION"] = "2"
34599
-    DEFINES["PSAPI_VERSION"] = "2"
34600
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
34436
-    DEFINES["UNICODE"] = True
34601
-    DEFINES["UNICODE"] = True
34437
-    DEFINES["USE_AURA"] = "1"
34602
-    DEFINES["USE_AURA"] = "1"
34438
-    DEFINES["WEBRTC_WIN"] = True
34603
-    DEFINES["WEBRTC_WIN"] = True
Lines 34559-34565 index 3a21cddc41e2..80e618a7fa10 100644 Link Here
34559
 
34724
 
34560
 Library("g711_gn")
34725
 Library("g711_gn")
34561
diff --git third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build
34726
diff --git third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build
34562
index dc05788b8021..add81cce3212 100644
34727
index 08787b33eb7c..add81cce3212 100644
34563
--- third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build
34728
--- third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build
34564
+++ third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build
34729
+++ third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build
34565
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
34730
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 34583-34589 index dc05788b8021..add81cce3212 100644 Link Here
34583
 
34748
 
34584
 FINAL_LIBRARY = "webrtc"
34749
 FINAL_LIBRARY = "webrtc"
34585
 
34750
 
34586
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
34751
@@ -43,176 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
34587
 if CONFIG["MOZ_DEBUG"] == "1":
34752
 if CONFIG["MOZ_DEBUG"] == "1":
34588
 
34753
 
34589
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
34754
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 34644-34649 index dc05788b8021..add81cce3212 100644 Link Here
34644
-    DEFINES["NOMINMAX"] = True
34809
-    DEFINES["NOMINMAX"] = True
34645
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
34810
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
34646
-    DEFINES["PSAPI_VERSION"] = "2"
34811
-    DEFINES["PSAPI_VERSION"] = "2"
34812
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
34647
-    DEFINES["UNICODE"] = True
34813
-    DEFINES["UNICODE"] = True
34648
-    DEFINES["USE_AURA"] = "1"
34814
-    DEFINES["USE_AURA"] = "1"
34649
-    DEFINES["WEBRTC_WIN"] = True
34815
-    DEFINES["WEBRTC_WIN"] = True
Lines 34766-34772 index dc05788b8021..add81cce3212 100644 Link Here
34766
 
34932
 
34767
 Library("g722_c_gn")
34933
 Library("g722_c_gn")
34768
diff --git third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build
34934
diff --git third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build
34769
index 910eef267ffc..d53536655acd 100644
34935
index d177f4acd05c..d53536655acd 100644
34770
--- third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build
34936
--- third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build
34771
+++ third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build
34937
+++ third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build
34772
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
34938
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 34790-34796 index 910eef267ffc..d53536655acd 100644 Link Here
34790
 
34956
 
34791
 FINAL_LIBRARY = "webrtc"
34957
 FINAL_LIBRARY = "webrtc"
34792
 
34958
 
34793
@@ -44,183 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
34959
@@ -44,184 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
34794
 if CONFIG["MOZ_DEBUG"] == "1":
34960
 if CONFIG["MOZ_DEBUG"] == "1":
34795
 
34961
 
34796
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
34962
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 34855-34860 index 910eef267ffc..d53536655acd 100644 Link Here
34855
-    DEFINES["NOMINMAX"] = True
35021
-    DEFINES["NOMINMAX"] = True
34856
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
35022
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
34857
-    DEFINES["PSAPI_VERSION"] = "2"
35023
-    DEFINES["PSAPI_VERSION"] = "2"
35024
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
34858
-    DEFINES["UNICODE"] = True
35025
-    DEFINES["UNICODE"] = True
34859
-    DEFINES["USE_AURA"] = "1"
35026
-    DEFINES["USE_AURA"] = "1"
34860
-    DEFINES["WEBRTC_WIN"] = True
35027
-    DEFINES["WEBRTC_WIN"] = True
Lines 34981-34987 index 910eef267ffc..d53536655acd 100644 Link Here
34981
 
35148
 
34982
 Library("g722_gn")
35149
 Library("g722_gn")
34983
diff --git third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build
35150
diff --git third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build
34984
index 1ff9bdf07a4b..9871fbb1c38f 100644
35151
index 41df630ed58f..9871fbb1c38f 100644
34985
--- third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build
35152
--- third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build
34986
+++ third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build
35153
+++ third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build
34987
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
35154
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 35005-35011 index 1ff9bdf07a4b..9871fbb1c38f 100644 Link Here
35005
 
35172
 
35006
 FINAL_LIBRARY = "webrtc"
35173
 FINAL_LIBRARY = "webrtc"
35007
 
35174
 
35008
@@ -111,190 +120,32 @@ if not CONFIG["MOZ_DEBUG"]:
35175
@@ -111,191 +120,32 @@ if not CONFIG["MOZ_DEBUG"]:
35009
 if CONFIG["MOZ_DEBUG"] == "1":
35176
 if CONFIG["MOZ_DEBUG"] == "1":
35010
 
35177
 
35011
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
35178
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 35074-35079 index 1ff9bdf07a4b..9871fbb1c38f 100644 Link Here
35074
-    DEFINES["NOMINMAX"] = True
35241
-    DEFINES["NOMINMAX"] = True
35075
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
35242
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
35076
-    DEFINES["PSAPI_VERSION"] = "2"
35243
-    DEFINES["PSAPI_VERSION"] = "2"
35244
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
35077
-    DEFINES["UNICODE"] = True
35245
-    DEFINES["UNICODE"] = True
35078
-    DEFINES["USE_AURA"] = "1"
35246
-    DEFINES["USE_AURA"] = "1"
35079
-    DEFINES["WEBRTC_WIN"] = True
35247
-    DEFINES["WEBRTC_WIN"] = True
Lines 35203-35209 index 1ff9bdf07a4b..9871fbb1c38f 100644 Link Here
35203
 
35371
 
35204
 Library("ilbc_c_gn")
35372
 Library("ilbc_c_gn")
35205
diff --git third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build
35373
diff --git third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build
35206
index 4a7279386ee5..b1811c428dda 100644
35374
index b496b6dd4294..b1811c428dda 100644
35207
--- third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build
35375
--- third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build
35208
+++ third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build
35376
+++ third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build
35209
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
35377
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 35227-35233 index 4a7279386ee5..b1811c428dda 100644 Link Here
35227
 
35395
 
35228
 FINAL_LIBRARY = "webrtc"
35396
 FINAL_LIBRARY = "webrtc"
35229
 
35397
 
35230
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
35398
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
35231
 if CONFIG["MOZ_DEBUG"] == "1":
35399
 if CONFIG["MOZ_DEBUG"] == "1":
35232
 
35400
 
35233
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
35401
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 35296-35301 index 4a7279386ee5..b1811c428dda 100644 Link Here
35296
-    DEFINES["NOMINMAX"] = True
35464
-    DEFINES["NOMINMAX"] = True
35297
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
35465
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
35298
-    DEFINES["PSAPI_VERSION"] = "2"
35466
-    DEFINES["PSAPI_VERSION"] = "2"
35467
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
35299
-    DEFINES["UNICODE"] = True
35468
-    DEFINES["UNICODE"] = True
35300
-    DEFINES["USE_AURA"] = "1"
35469
-    DEFINES["USE_AURA"] = "1"
35301
-    DEFINES["WEBRTC_WIN"] = True
35470
-    DEFINES["WEBRTC_WIN"] = True
Lines 35425-35431 index 4a7279386ee5..b1811c428dda 100644 Link Here
35425
 
35594
 
35426
 Library("ilbc_gn")
35595
 Library("ilbc_gn")
35427
diff --git third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build
35596
diff --git third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build
35428
index bb9cdf4460c3..00d886763be2 100644
35597
index 2b241db41ce3..00d886763be2 100644
35429
--- third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build
35598
--- third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build
35430
+++ third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build
35599
+++ third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build
35431
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
35600
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 35449-35455 index bb9cdf4460c3..00d886763be2 100644 Link Here
35449
 
35618
 
35450
 FINAL_LIBRARY = "webrtc"
35619
 FINAL_LIBRARY = "webrtc"
35451
 
35620
 
35452
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
35621
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
35453
 if CONFIG["MOZ_DEBUG"] == "1":
35622
 if CONFIG["MOZ_DEBUG"] == "1":
35454
 
35623
 
35455
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
35624
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 35510-35515 index bb9cdf4460c3..00d886763be2 100644 Link Here
35510
-    DEFINES["NOMINMAX"] = True
35679
-    DEFINES["NOMINMAX"] = True
35511
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
35680
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
35512
-    DEFINES["PSAPI_VERSION"] = "2"
35681
-    DEFINES["PSAPI_VERSION"] = "2"
35682
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
35513
-    DEFINES["UNICODE"] = True
35683
-    DEFINES["UNICODE"] = True
35514
-    DEFINES["USE_AURA"] = "1"
35684
-    DEFINES["USE_AURA"] = "1"
35515
-    DEFINES["WEBRTC_WIN"] = True
35685
-    DEFINES["WEBRTC_WIN"] = True
Lines 35554-35560 index bb9cdf4460c3..00d886763be2 100644 Link Here
35554
 
35724
 
35555
 if CONFIG["CPU_ARCH"] == "x86":
35725
 if CONFIG["CPU_ARCH"] == "x86":
35556
 
35726
 
35557
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
35727
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
35558
 
35728
 
35559
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
35729
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
35560
 
35730
 
Lines 35614-35620 index bb9cdf4460c3..00d886763be2 100644 Link Here
35614
-
35784
-
35615
 Library("isac_bwinfo_gn")
35785
 Library("isac_bwinfo_gn")
35616
diff --git third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build
35786
diff --git third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build
35617
index 86f566663ad5..dbed4ddcb476 100644
35787
index c62913859d4c..dbed4ddcb476 100644
35618
--- third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build
35788
--- third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build
35619
+++ third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build
35789
+++ third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build
35620
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
35790
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 35638-35644 index 86f566663ad5..dbed4ddcb476 100644 Link Here
35638
 
35808
 
35639
 FINAL_LIBRARY = "webrtc"
35809
 FINAL_LIBRARY = "webrtc"
35640
 
35810
 
35641
@@ -46,175 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
35811
@@ -46,176 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
35642
 if CONFIG["MOZ_DEBUG"] == "1":
35812
 if CONFIG["MOZ_DEBUG"] == "1":
35643
 
35813
 
35644
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
35814
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 35699-35704 index 86f566663ad5..dbed4ddcb476 100644 Link Here
35699
-    DEFINES["NOMINMAX"] = True
35869
-    DEFINES["NOMINMAX"] = True
35700
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
35870
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
35701
-    DEFINES["PSAPI_VERSION"] = "2"
35871
-    DEFINES["PSAPI_VERSION"] = "2"
35872
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
35702
-    DEFINES["UNICODE"] = True
35873
-    DEFINES["UNICODE"] = True
35703
-    DEFINES["USE_AURA"] = "1"
35874
-    DEFINES["USE_AURA"] = "1"
35704
-    DEFINES["WEBRTC_WIN"] = True
35875
-    DEFINES["WEBRTC_WIN"] = True
Lines 35821-35827 index 86f566663ad5..dbed4ddcb476 100644 Link Here
35821
 
35992
 
35822
 Library("isac_vad_gn")
35993
 Library("isac_vad_gn")
35823
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
35994
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
35824
index b642ffbe952b..9c04c9bb3900 100644
35995
index 30c17ef7197f..9c04c9bb3900 100644
35825
--- third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build
35996
--- third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build
35826
+++ third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build
35997
+++ third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build
35827
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
35998
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 35845-35851 index b642ffbe952b..9c04c9bb3900 100644 Link Here
35845
 
36016
 
35846
 FINAL_LIBRARY = "webrtc"
36017
 FINAL_LIBRARY = "webrtc"
35847
 
36018
 
35848
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
36019
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
35849
 if CONFIG["MOZ_DEBUG"] == "1":
36020
 if CONFIG["MOZ_DEBUG"] == "1":
35850
 
36021
 
35851
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
36022
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 35910-35915 index b642ffbe952b..9c04c9bb3900 100644 Link Here
35910
-    DEFINES["NOMINMAX"] = True
36081
-    DEFINES["NOMINMAX"] = True
35911
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
36082
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
35912
-    DEFINES["PSAPI_VERSION"] = "2"
36083
-    DEFINES["PSAPI_VERSION"] = "2"
36084
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
35913
-    DEFINES["UNICODE"] = True
36085
-    DEFINES["UNICODE"] = True
35914
-    DEFINES["USE_AURA"] = "1"
36086
-    DEFINES["USE_AURA"] = "1"
35915
-    DEFINES["WEBRTC_WIN"] = True
36087
-    DEFINES["WEBRTC_WIN"] = True
Lines 36036-36042 index b642ffbe952b..9c04c9bb3900 100644 Link Here
36036
 
36208
 
36037
 Library("legacy_encoded_audio_frame_gn")
36209
 Library("legacy_encoded_audio_frame_gn")
36038
diff --git third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build
36210
diff --git third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build
36039
index 823aea6ddaa0..ecf6b3b2fde3 100644
36211
index 8e8f87b11f8f..ecf6b3b2fde3 100644
36040
--- third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build
36212
--- third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build
36041
+++ third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build
36213
+++ third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build
36042
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
36214
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 36060-36066 index 823aea6ddaa0..ecf6b3b2fde3 100644 Link Here
36060
 
36232
 
36061
 FINAL_LIBRARY = "webrtc"
36233
 FINAL_LIBRARY = "webrtc"
36062
 
36234
 
36063
@@ -78,190 +87,32 @@ if not CONFIG["MOZ_DEBUG"]:
36235
@@ -78,191 +87,32 @@ if not CONFIG["MOZ_DEBUG"]:
36064
 if CONFIG["MOZ_DEBUG"] == "1":
36236
 if CONFIG["MOZ_DEBUG"] == "1":
36065
 
36237
 
36066
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
36238
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 36129-36134 index 823aea6ddaa0..ecf6b3b2fde3 100644 Link Here
36129
-    DEFINES["NOMINMAX"] = True
36301
-    DEFINES["NOMINMAX"] = True
36130
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
36302
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
36131
-    DEFINES["PSAPI_VERSION"] = "2"
36303
-    DEFINES["PSAPI_VERSION"] = "2"
36304
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
36132
-    DEFINES["UNICODE"] = True
36305
-    DEFINES["UNICODE"] = True
36133
-    DEFINES["USE_AURA"] = "1"
36306
-    DEFINES["USE_AURA"] = "1"
36134
-    DEFINES["WEBRTC_WIN"] = True
36307
-    DEFINES["WEBRTC_WIN"] = True
Lines 36258-36264 index 823aea6ddaa0..ecf6b3b2fde3 100644 Link Here
36258
 
36431
 
36259
 Library("neteq_gn")
36432
 Library("neteq_gn")
36260
diff --git third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build
36433
diff --git third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build
36261
index 54863e95aee7..936368e4205a 100644
36434
index 84e0a295f629..936368e4205a 100644
36262
--- third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build
36435
--- third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build
36263
+++ third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build
36436
+++ third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build
36264
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
36437
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 36282-36288 index 54863e95aee7..936368e4205a 100644 Link Here
36282
 
36455
 
36283
 FINAL_LIBRARY = "webrtc"
36456
 FINAL_LIBRARY = "webrtc"
36284
 
36457
 
36285
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
36458
@@ -43,176 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
36286
 if CONFIG["MOZ_DEBUG"] == "1":
36459
 if CONFIG["MOZ_DEBUG"] == "1":
36287
 
36460
 
36288
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
36461
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 36343-36348 index 54863e95aee7..936368e4205a 100644 Link Here
36343
-    DEFINES["NOMINMAX"] = True
36516
-    DEFINES["NOMINMAX"] = True
36344
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
36517
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
36345
-    DEFINES["PSAPI_VERSION"] = "2"
36518
-    DEFINES["PSAPI_VERSION"] = "2"
36519
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
36346
-    DEFINES["UNICODE"] = True
36520
-    DEFINES["UNICODE"] = True
36347
-    DEFINES["USE_AURA"] = "1"
36521
-    DEFINES["USE_AURA"] = "1"
36348
-    DEFINES["WEBRTC_WIN"] = True
36522
-    DEFINES["WEBRTC_WIN"] = True
Lines 36465-36471 index 54863e95aee7..936368e4205a 100644 Link Here
36465
 
36639
 
36466
 Library("pcm16b_c_gn")
36640
 Library("pcm16b_c_gn")
36467
diff --git third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build
36641
diff --git third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build
36468
index afee108cb3a1..436a0dda6fd4 100644
36642
index f22a2a913cd4..436a0dda6fd4 100644
36469
--- third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build
36643
--- third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build
36470
+++ third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build
36644
+++ third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build
36471
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
36645
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 36489-36495 index afee108cb3a1..436a0dda6fd4 100644 Link Here
36489
 
36663
 
36490
 FINAL_LIBRARY = "webrtc"
36664
 FINAL_LIBRARY = "webrtc"
36491
 
36665
 
36492
@@ -45,183 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
36666
@@ -45,184 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
36493
 if CONFIG["MOZ_DEBUG"] == "1":
36667
 if CONFIG["MOZ_DEBUG"] == "1":
36494
 
36668
 
36495
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
36669
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 36554-36559 index afee108cb3a1..436a0dda6fd4 100644 Link Here
36554
-    DEFINES["NOMINMAX"] = True
36728
-    DEFINES["NOMINMAX"] = True
36555
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
36729
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
36556
-    DEFINES["PSAPI_VERSION"] = "2"
36730
-    DEFINES["PSAPI_VERSION"] = "2"
36731
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
36557
-    DEFINES["UNICODE"] = True
36732
-    DEFINES["UNICODE"] = True
36558
-    DEFINES["USE_AURA"] = "1"
36733
-    DEFINES["USE_AURA"] = "1"
36559
-    DEFINES["WEBRTC_WIN"] = True
36734
-    DEFINES["WEBRTC_WIN"] = True
Lines 36680-36686 index afee108cb3a1..436a0dda6fd4 100644 Link Here
36680
 
36855
 
36681
 Library("pcm16b_gn")
36856
 Library("pcm16b_gn")
36682
diff --git third_party/libwebrtc/modules/audio_coding/red_gn/moz.build third_party/libwebrtc/modules/audio_coding/red_gn/moz.build
36857
diff --git third_party/libwebrtc/modules/audio_coding/red_gn/moz.build third_party/libwebrtc/modules/audio_coding/red_gn/moz.build
36683
index c4fa5c8bc4fe..7be902bc7b5d 100644
36858
index fb39f9f6a26f..7be902bc7b5d 100644
36684
--- third_party/libwebrtc/modules/audio_coding/red_gn/moz.build
36859
--- third_party/libwebrtc/modules/audio_coding/red_gn/moz.build
36685
+++ third_party/libwebrtc/modules/audio_coding/red_gn/moz.build
36860
+++ third_party/libwebrtc/modules/audio_coding/red_gn/moz.build
36686
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
36861
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 36704-36710 index c4fa5c8bc4fe..7be902bc7b5d 100644 Link Here
36704
 
36879
 
36705
 FINAL_LIBRARY = "webrtc"
36880
 FINAL_LIBRARY = "webrtc"
36706
 
36881
 
36707
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
36882
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
36708
 if CONFIG["MOZ_DEBUG"] == "1":
36883
 if CONFIG["MOZ_DEBUG"] == "1":
36709
 
36884
 
36710
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
36885
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 36773-36778 index c4fa5c8bc4fe..7be902bc7b5d 100644 Link Here
36773
-    DEFINES["NOMINMAX"] = True
36948
-    DEFINES["NOMINMAX"] = True
36774
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
36949
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
36775
-    DEFINES["PSAPI_VERSION"] = "2"
36950
-    DEFINES["PSAPI_VERSION"] = "2"
36951
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
36776
-    DEFINES["UNICODE"] = True
36952
-    DEFINES["UNICODE"] = True
36777
-    DEFINES["USE_AURA"] = "1"
36953
-    DEFINES["USE_AURA"] = "1"
36778
-    DEFINES["WEBRTC_WIN"] = True
36954
-    DEFINES["WEBRTC_WIN"] = True
Lines 36902-36908 index c4fa5c8bc4fe..7be902bc7b5d 100644 Link Here
36902
 
37078
 
36903
 Library("red_gn")
37079
 Library("red_gn")
36904
diff --git third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build
37080
diff --git third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build
36905
index 4a9c24069e74..ea61654f618e 100644
37081
index 8ea3e31f6dd9..ea61654f618e 100644
36906
--- third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build
37082
--- third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build
36907
+++ third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build
37083
+++ third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build
36908
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
37084
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 36926-36932 index 4a9c24069e74..ea61654f618e 100644 Link Here
36926
 
37102
 
36927
 FINAL_LIBRARY = "webrtc"
37103
 FINAL_LIBRARY = "webrtc"
36928
 
37104
 
36929
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
37105
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
36930
 if CONFIG["MOZ_DEBUG"] == "1":
37106
 if CONFIG["MOZ_DEBUG"] == "1":
36931
 
37107
 
36932
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
37108
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 36995-37000 index 4a9c24069e74..ea61654f618e 100644 Link Here
36995
-    DEFINES["NOMINMAX"] = True
37171
-    DEFINES["NOMINMAX"] = True
36996
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
37172
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
36997
-    DEFINES["PSAPI_VERSION"] = "2"
37173
-    DEFINES["PSAPI_VERSION"] = "2"
37174
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
36998
-    DEFINES["UNICODE"] = True
37175
-    DEFINES["UNICODE"] = True
36999
-    DEFINES["USE_AURA"] = "1"
37176
-    DEFINES["USE_AURA"] = "1"
37000
-    DEFINES["WEBRTC_WIN"] = True
37177
-    DEFINES["WEBRTC_WIN"] = True
Lines 37124-37130 index 4a9c24069e74..ea61654f618e 100644 Link Here
37124
 
37301
 
37125
 Library("webrtc_cng_gn")
37302
 Library("webrtc_cng_gn")
37126
diff --git third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build
37303
diff --git third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build
37127
index 99ea47c13acc..1edab76c795b 100644
37304
index 20fde0e64ac9..1edab76c795b 100644
37128
--- third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build
37305
--- third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build
37129
+++ third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build
37306
+++ third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build
37130
@@ -12,6 +12,9 @@ AllowCompilerWarnings()
37307
@@ -12,6 +12,9 @@ AllowCompilerWarnings()
Lines 37151-37157 index 99ea47c13acc..1edab76c795b 100644 Link Here
37151
 
37328
 
37152
 FINAL_LIBRARY = "webrtc"
37329
 FINAL_LIBRARY = "webrtc"
37153
 
37330
 
37154
@@ -48,183 +57,32 @@ if not CONFIG["MOZ_DEBUG"]:
37331
@@ -48,184 +57,32 @@ if not CONFIG["MOZ_DEBUG"]:
37155
 if CONFIG["MOZ_DEBUG"] == "1":
37332
 if CONFIG["MOZ_DEBUG"] == "1":
37156
 
37333
 
37157
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
37334
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 37216-37221 index 99ea47c13acc..1edab76c795b 100644 Link Here
37216
-    DEFINES["NOMINMAX"] = True
37393
-    DEFINES["NOMINMAX"] = True
37217
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
37394
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
37218
-    DEFINES["PSAPI_VERSION"] = "2"
37395
-    DEFINES["PSAPI_VERSION"] = "2"
37396
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
37219
-    DEFINES["UNICODE"] = True
37397
-    DEFINES["UNICODE"] = True
37220
-    DEFINES["USE_AURA"] = "1"
37398
-    DEFINES["USE_AURA"] = "1"
37221
-    DEFINES["WEBRTC_WIN"] = True
37399
-    DEFINES["WEBRTC_WIN"] = True
Lines 37342-37348 index 99ea47c13acc..1edab76c795b 100644 Link Here
37342
 
37520
 
37343
 Library("webrtc_multiopus_gn")
37521
 Library("webrtc_multiopus_gn")
37344
diff --git third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build
37522
diff --git third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build
37345
index 49fb552b0d38..bdf1cbbf4c27 100644
37523
index 5e03548319b0..bdf1cbbf4c27 100644
37346
--- third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build
37524
--- third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build
37347
+++ third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build
37525
+++ third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build
37348
@@ -12,6 +12,9 @@ AllowCompilerWarnings()
37526
@@ -12,6 +12,9 @@ AllowCompilerWarnings()
Lines 37369-37375 index 49fb552b0d38..bdf1cbbf4c27 100644 Link Here
37369
 
37547
 
37370
 FINAL_LIBRARY = "webrtc"
37548
 FINAL_LIBRARY = "webrtc"
37371
 
37549
 
37372
@@ -48,190 +57,32 @@ if not CONFIG["MOZ_DEBUG"]:
37550
@@ -48,191 +57,32 @@ if not CONFIG["MOZ_DEBUG"]:
37373
 if CONFIG["MOZ_DEBUG"] == "1":
37551
 if CONFIG["MOZ_DEBUG"] == "1":
37374
 
37552
 
37375
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
37553
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 37438-37443 index 49fb552b0d38..bdf1cbbf4c27 100644 Link Here
37438
-    DEFINES["NOMINMAX"] = True
37616
-    DEFINES["NOMINMAX"] = True
37439
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
37617
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
37440
-    DEFINES["PSAPI_VERSION"] = "2"
37618
-    DEFINES["PSAPI_VERSION"] = "2"
37619
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
37441
-    DEFINES["UNICODE"] = True
37620
-    DEFINES["UNICODE"] = True
37442
-    DEFINES["USE_AURA"] = "1"
37621
-    DEFINES["USE_AURA"] = "1"
37443
-    DEFINES["WEBRTC_WIN"] = True
37622
-    DEFINES["WEBRTC_WIN"] = True
Lines 37567-37573 index 49fb552b0d38..bdf1cbbf4c27 100644 Link Here
37567
 
37746
 
37568
 Library("webrtc_opus_gn")
37747
 Library("webrtc_opus_gn")
37569
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
37748
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
37570
index 20e1d37306c9..604d2ff1160d 100644
37749
index b24ff8634633..604d2ff1160d 100644
37571
--- third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build
37750
--- third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build
37572
+++ third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build
37751
+++ third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build
37573
@@ -12,6 +12,9 @@ AllowCompilerWarnings()
37752
@@ -12,6 +12,9 @@ AllowCompilerWarnings()
Lines 37594-37600 index 20e1d37306c9..604d2ff1160d 100644 Link Here
37594
 
37773
 
37595
 FINAL_LIBRARY = "webrtc"
37774
 FINAL_LIBRARY = "webrtc"
37596
 
37775
 
37597
@@ -47,183 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
37776
@@ -47,184 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
37598
 if CONFIG["MOZ_DEBUG"] == "1":
37777
 if CONFIG["MOZ_DEBUG"] == "1":
37599
 
37778
 
37600
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
37779
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 37659-37664 index 20e1d37306c9..604d2ff1160d 100644 Link Here
37659
-    DEFINES["NOMINMAX"] = True
37838
-    DEFINES["NOMINMAX"] = True
37660
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
37839
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
37661
-    DEFINES["PSAPI_VERSION"] = "2"
37840
-    DEFINES["PSAPI_VERSION"] = "2"
37841
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
37662
-    DEFINES["UNICODE"] = True
37842
-    DEFINES["UNICODE"] = True
37663
-    DEFINES["USE_AURA"] = "1"
37843
-    DEFINES["USE_AURA"] = "1"
37664
-    DEFINES["WEBRTC_WIN"] = True
37844
-    DEFINES["WEBRTC_WIN"] = True
Lines 37785-37791 index 20e1d37306c9..604d2ff1160d 100644 Link Here
37785
 
37965
 
37786
 Library("webrtc_opus_wrapper_gn")
37966
 Library("webrtc_opus_wrapper_gn")
37787
diff --git third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build
37967
diff --git third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build
37788
index 40ed29f25814..101e685fa20c 100644
37968
index f5ade1b42680..101e685fa20c 100644
37789
--- third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build
37969
--- third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build
37790
+++ third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build
37970
+++ third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build
37791
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
37971
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 37809-37815 index 40ed29f25814..101e685fa20c 100644 Link Here
37809
 
37989
 
37810
 FINAL_LIBRARY = "webrtc"
37990
 FINAL_LIBRARY = "webrtc"
37811
 
37991
 
37812
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
37992
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
37813
 if CONFIG["MOZ_DEBUG"] == "1":
37993
 if CONFIG["MOZ_DEBUG"] == "1":
37814
 
37994
 
37815
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
37995
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 37870-37875 index 40ed29f25814..101e685fa20c 100644 Link Here
37870
-    DEFINES["NOMINMAX"] = True
38050
-    DEFINES["NOMINMAX"] = True
37871
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
38051
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
37872
-    DEFINES["PSAPI_VERSION"] = "2"
38052
-    DEFINES["PSAPI_VERSION"] = "2"
38053
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
37873
-    DEFINES["UNICODE"] = True
38054
-    DEFINES["UNICODE"] = True
37874
-    DEFINES["USE_AURA"] = "1"
38055
-    DEFINES["USE_AURA"] = "1"
37875
-    DEFINES["WEBRTC_WIN"] = True
38056
-    DEFINES["WEBRTC_WIN"] = True
Lines 37914-37920 index 40ed29f25814..101e685fa20c 100644 Link Here
37914
 
38095
 
37915
 if CONFIG["CPU_ARCH"] == "x86":
38096
 if CONFIG["CPU_ARCH"] == "x86":
37916
 
38097
 
37917
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
38098
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
37918
 
38099
 
37919
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
38100
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
37920
 
38101
 
Lines 37974-37980 index 40ed29f25814..101e685fa20c 100644 Link Here
37974
-
38155
-
37975
 Library("audio_device_gn")
38156
 Library("audio_device_gn")
37976
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
38157
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
37977
index c6a45f9a3761..f1359947dd44 100644
38158
index 38d1ab41e0c5..f1359947dd44 100644
37978
--- third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build
38159
--- third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build
37979
+++ third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build
38160
+++ third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build
37980
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
38161
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 37998-38004 index c6a45f9a3761..f1359947dd44 100644 Link Here
37998
 
38179
 
37999
 FINAL_LIBRARY = "webrtc"
38180
 FINAL_LIBRARY = "webrtc"
38000
 
38181
 
38001
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
38182
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
38002
 if CONFIG["MOZ_DEBUG"] == "1":
38183
 if CONFIG["MOZ_DEBUG"] == "1":
38003
 
38184
 
38004
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
38185
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 38067-38072 index c6a45f9a3761..f1359947dd44 100644 Link Here
38067
-    DEFINES["NOMINMAX"] = True
38248
-    DEFINES["NOMINMAX"] = True
38068
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
38249
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
38069
-    DEFINES["PSAPI_VERSION"] = "2"
38250
-    DEFINES["PSAPI_VERSION"] = "2"
38251
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
38070
-    DEFINES["UNICODE"] = True
38252
-    DEFINES["UNICODE"] = True
38071
-    DEFINES["USE_AURA"] = "1"
38253
-    DEFINES["USE_AURA"] = "1"
38072
-    DEFINES["WEBRTC_WIN"] = True
38254
-    DEFINES["WEBRTC_WIN"] = True
Lines 38196-38202 index c6a45f9a3761..f1359947dd44 100644 Link Here
38196
 
38378
 
38197
 Library("audio_frame_manipulator_gn")
38379
 Library("audio_frame_manipulator_gn")
38198
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
38380
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
38199
index 32a47e6b064d..44ff455cc768 100644
38381
index 9ddb221f803a..580b07079735 100644
38200
--- third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build
38382
--- third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build
38201
+++ third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build
38383
+++ third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build
38202
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
38384
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
Lines 38205-38211 index 32a47e6b064d..44ff455cc768 100644 Link Here
38205
 DEFINES["RTC_ENABLE_VP9"] = True
38387
 DEFINES["RTC_ENABLE_VP9"] = True
38206
+DEFINES["USE_GLIB"] = "1"
38388
+DEFINES["USE_GLIB"] = "1"
38207
+DEFINES["USE_OZONE"] = "1"
38389
+DEFINES["USE_OZONE"] = "1"
38208
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "0"
38390
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
38209
+DEFINES["WEBRTC_BSD"] = True
38391
+DEFINES["WEBRTC_BSD"] = True
38210
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
38392
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
38211
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
38393
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
Lines 38221-38227 index 32a47e6b064d..44ff455cc768 100644 Link Here
38221
 
38403
 
38222
 FINAL_LIBRARY = "webrtc"
38404
 FINAL_LIBRARY = "webrtc"
38223
 
38405
 
38224
@@ -46,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
38406
@@ -46,191 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
38225
 if CONFIG["MOZ_DEBUG"] == "1":
38407
 if CONFIG["MOZ_DEBUG"] == "1":
38226
 
38408
 
38227
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
38409
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 38290-38295 index 32a47e6b064d..44ff455cc768 100644 Link Here
38290
-    DEFINES["NOMINMAX"] = True
38472
-    DEFINES["NOMINMAX"] = True
38291
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
38473
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
38292
-    DEFINES["PSAPI_VERSION"] = "2"
38474
-    DEFINES["PSAPI_VERSION"] = "2"
38475
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
38293
-    DEFINES["UNICODE"] = True
38476
-    DEFINES["UNICODE"] = True
38294
-    DEFINES["USE_AURA"] = "1"
38477
-    DEFINES["USE_AURA"] = "1"
38295
-    DEFINES["WEBRTC_WIN"] = True
38478
-    DEFINES["WEBRTC_WIN"] = True
Lines 38419-38425 index 32a47e6b064d..44ff455cc768 100644 Link Here
38419
 
38602
 
38420
 Library("audio_mixer_impl_gn")
38603
 Library("audio_mixer_impl_gn")
38421
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
38604
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
38422
index 60ecc93ab967..556de6ede5e6 100644
38605
index 6cd8d88b8c81..556de6ede5e6 100644
38423
--- third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build
38606
--- third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build
38424
+++ third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build
38607
+++ third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build
38425
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
38608
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 38443-38449 index 60ecc93ab967..556de6ede5e6 100644 Link Here
38443
 
38626
 
38444
 FINAL_LIBRARY = "webrtc"
38627
 FINAL_LIBRARY = "webrtc"
38445
 
38628
 
38446
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
38629
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
38447
 if CONFIG["MOZ_DEBUG"] == "1":
38630
 if CONFIG["MOZ_DEBUG"] == "1":
38448
 
38631
 
38449
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
38632
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 38508-38513 index 60ecc93ab967..556de6ede5e6 100644 Link Here
38508
-    DEFINES["NOMINMAX"] = True
38691
-    DEFINES["NOMINMAX"] = True
38509
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
38692
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
38510
-    DEFINES["PSAPI_VERSION"] = "2"
38693
-    DEFINES["PSAPI_VERSION"] = "2"
38694
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
38511
-    DEFINES["UNICODE"] = True
38695
-    DEFINES["UNICODE"] = True
38512
-    DEFINES["USE_AURA"] = "1"
38696
-    DEFINES["USE_AURA"] = "1"
38513
-    DEFINES["WEBRTC_WIN"] = True
38697
-    DEFINES["WEBRTC_WIN"] = True
Lines 38552-38558 index 60ecc93ab967..556de6ede5e6 100644 Link Here
38552
 
38736
 
38553
 if CONFIG["CPU_ARCH"] == "x86":
38737
 if CONFIG["CPU_ARCH"] == "x86":
38554
 
38738
 
38555
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
38739
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
38556
 
38740
 
38557
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
38741
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
38558
 
38742
 
Lines 38612-38618 index 60ecc93ab967..556de6ede5e6 100644 Link Here
38612
-
38796
-
38613
 Library("adaptive_fir_filter_erl_gn")
38797
 Library("adaptive_fir_filter_erl_gn")
38614
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
38798
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
38615
index fd78a435604d..aed93b9c682d 100644
38799
index 45d622758a47..aed93b9c682d 100644
38616
--- third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build
38800
--- third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build
38617
+++ third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build
38801
+++ third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build
38618
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
38802
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 38636-38642 index fd78a435604d..aed93b9c682d 100644 Link Here
38636
 
38820
 
38637
 FINAL_LIBRARY = "webrtc"
38821
 FINAL_LIBRARY = "webrtc"
38638
 
38822
 
38639
@@ -39,118 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
38823
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
38640
 if CONFIG["MOZ_DEBUG"] == "1":
38824
 if CONFIG["MOZ_DEBUG"] == "1":
38641
 
38825
 
38642
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
38826
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 38705-38710 index fd78a435604d..aed93b9c682d 100644 Link Here
38705
-    DEFINES["NOMINMAX"] = True
38889
-    DEFINES["NOMINMAX"] = True
38706
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
38890
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
38707
-    DEFINES["PSAPI_VERSION"] = "2"
38891
-    DEFINES["PSAPI_VERSION"] = "2"
38892
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
38708
-    DEFINES["UNICODE"] = True
38893
-    DEFINES["UNICODE"] = True
38709
-    DEFINES["USE_AURA"] = "1"
38894
-    DEFINES["USE_AURA"] = "1"
38710
-    DEFINES["WEBRTC_WIN"] = True
38895
-    DEFINES["WEBRTC_WIN"] = True
Lines 38756-38762 index fd78a435604d..aed93b9c682d 100644 Link Here
38756
 
38941
 
38757
 if CONFIG["CPU_ARCH"] == "x86":
38942
 if CONFIG["CPU_ARCH"] == "x86":
38758
 
38943
 
38759
@@ -160,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
38944
@@ -161,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
38760
 
38945
 
38761
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
38946
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
38762
 
38947
 
Lines 38816-38822 index fd78a435604d..aed93b9c682d 100644 Link Here
38816
-
39001
-
38817
 Library("adaptive_fir_filter_gn")
39002
 Library("adaptive_fir_filter_gn")
38818
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
39003
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
38819
index 6f67bd6fad7f..301dd09d6644 100644
39004
index b3264d122d3d..1577754992fb 100644
38820
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build
39005
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build
38821
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build
39006
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build
38822
@@ -17,13 +17,22 @@ CXXFLAGS += [
39007
@@ -17,13 +17,22 @@ CXXFLAGS += [
Lines 38825-38831 index 6f67bd6fad7f..301dd09d6644 100644 Link Here
38825
 DEFINES["RTC_ENABLE_VP9"] = True
39010
 DEFINES["RTC_ENABLE_VP9"] = True
38826
+DEFINES["USE_GLIB"] = "1"
39011
+DEFINES["USE_GLIB"] = "1"
38827
+DEFINES["USE_OZONE"] = "1"
39012
+DEFINES["USE_OZONE"] = "1"
38828
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "0"
39013
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
38829
+DEFINES["WEBRTC_BSD"] = True
39014
+DEFINES["WEBRTC_BSD"] = True
38830
 DEFINES["WEBRTC_ENABLE_AVX2"] = True
39015
 DEFINES["WEBRTC_ENABLE_AVX2"] = True
38831
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
39016
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
Lines 38842-38848 index 6f67bd6fad7f..301dd09d6644 100644 Link Here
38842
 
39027
 
38843
 FINAL_LIBRARY = "webrtc"
39028
 FINAL_LIBRARY = "webrtc"
38844
 
39029
 
38845
@@ -54,137 +63,16 @@ if not CONFIG["MOZ_DEBUG"]:
39030
@@ -54,138 +63,16 @@ if not CONFIG["MOZ_DEBUG"]:
38846
 if CONFIG["MOZ_DEBUG"] == "1":
39031
 if CONFIG["MOZ_DEBUG"] == "1":
38847
 
39032
 
38848
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
39033
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 38912-38917 index 6f67bd6fad7f..301dd09d6644 100644 Link Here
38912
-    DEFINES["NOMINMAX"] = True
39097
-    DEFINES["NOMINMAX"] = True
38913
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
39098
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
38914
-    DEFINES["PSAPI_VERSION"] = "2"
39099
-    DEFINES["PSAPI_VERSION"] = "2"
39100
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
38915
-    DEFINES["UNICODE"] = True
39101
-    DEFINES["UNICODE"] = True
38916
-    DEFINES["USE_AURA"] = "1"
39102
-    DEFINES["USE_AURA"] = "1"
38917
-    DEFINES["WEBRTC_WIN"] = True
39103
-    DEFINES["WEBRTC_WIN"] = True
Lines 38984-38990 index 6f67bd6fad7f..301dd09d6644 100644 Link Here
38984
 
39170
 
38985
 Library("aec3_avx2_gn")
39171
 Library("aec3_avx2_gn")
38986
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
39172
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
38987
index b0952a7d0cd8..8a9d53a1b709 100644
39173
index efeca7bd9fe3..8a9d53a1b709 100644
38988
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build
39174
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build
38989
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build
39175
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build
38990
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
39176
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 39008-39014 index b0952a7d0cd8..8a9d53a1b709 100644 Link Here
39008
 
39194
 
39009
 FINAL_LIBRARY = "webrtc"
39195
 FINAL_LIBRARY = "webrtc"
39010
 
39196
 
39011
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
39197
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
39012
 if CONFIG["MOZ_DEBUG"] == "1":
39198
 if CONFIG["MOZ_DEBUG"] == "1":
39013
 
39199
 
39014
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
39200
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 39069-39074 index b0952a7d0cd8..8a9d53a1b709 100644 Link Here
39069
-    DEFINES["NOMINMAX"] = True
39255
-    DEFINES["NOMINMAX"] = True
39070
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
39256
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
39071
-    DEFINES["PSAPI_VERSION"] = "2"
39257
-    DEFINES["PSAPI_VERSION"] = "2"
39258
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
39072
-    DEFINES["UNICODE"] = True
39259
-    DEFINES["UNICODE"] = True
39073
-    DEFINES["USE_AURA"] = "1"
39260
-    DEFINES["USE_AURA"] = "1"
39074
-    DEFINES["WEBRTC_WIN"] = True
39261
-    DEFINES["WEBRTC_WIN"] = True
Lines 39113-39119 index b0952a7d0cd8..8a9d53a1b709 100644 Link Here
39113
 
39300
 
39114
 if CONFIG["CPU_ARCH"] == "x86":
39301
 if CONFIG["CPU_ARCH"] == "x86":
39115
 
39302
 
39116
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
39303
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
39117
 
39304
 
39118
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
39305
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
39119
 
39306
 
Lines 39173-39179 index b0952a7d0cd8..8a9d53a1b709 100644 Link Here
39173
-
39360
-
39174
 Library("aec3_common_gn")
39361
 Library("aec3_common_gn")
39175
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
39362
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
39176
index 97bbc435395f..0fba9b70c95b 100644
39363
index 7884ff5655eb..0fba9b70c95b 100644
39177
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build
39364
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build
39178
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build
39365
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build
39179
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
39366
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 39197-39203 index 97bbc435395f..0fba9b70c95b 100644 Link Here
39197
 
39384
 
39198
 FINAL_LIBRARY = "webrtc"
39385
 FINAL_LIBRARY = "webrtc"
39199
 
39386
 
39200
@@ -39,118 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
39387
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
39201
 if CONFIG["MOZ_DEBUG"] == "1":
39388
 if CONFIG["MOZ_DEBUG"] == "1":
39202
 
39389
 
39203
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
39390
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 39266-39271 index 97bbc435395f..0fba9b70c95b 100644 Link Here
39266
-    DEFINES["NOMINMAX"] = True
39453
-    DEFINES["NOMINMAX"] = True
39267
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
39454
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
39268
-    DEFINES["PSAPI_VERSION"] = "2"
39455
-    DEFINES["PSAPI_VERSION"] = "2"
39456
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
39269
-    DEFINES["UNICODE"] = True
39457
-    DEFINES["UNICODE"] = True
39270
-    DEFINES["USE_AURA"] = "1"
39458
-    DEFINES["USE_AURA"] = "1"
39271
-    DEFINES["WEBRTC_WIN"] = True
39459
-    DEFINES["WEBRTC_WIN"] = True
Lines 39317-39323 index 97bbc435395f..0fba9b70c95b 100644 Link Here
39317
 
39505
 
39318
 if CONFIG["CPU_ARCH"] == "x86":
39506
 if CONFIG["CPU_ARCH"] == "x86":
39319
 
39507
 
39320
@@ -160,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
39508
@@ -161,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
39321
 
39509
 
39322
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
39510
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
39323
 
39511
 
Lines 39377-39383 index 97bbc435395f..0fba9b70c95b 100644 Link Here
39377
-
39565
-
39378
 Library("aec3_fft_gn")
39566
 Library("aec3_fft_gn")
39379
diff --git third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build
39567
diff --git third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build
39380
index 6646d41ff3a8..b680faacb6b6 100644
39568
index 941f61d2d060..f4ed63e8bf46 100644
39381
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build
39569
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build
39382
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build
39570
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build
39383
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
39571
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
Lines 39386-39392 index 6646d41ff3a8..b680faacb6b6 100644 Link Here
39386
 DEFINES["RTC_ENABLE_VP9"] = True
39574
 DEFINES["RTC_ENABLE_VP9"] = True
39387
+DEFINES["USE_GLIB"] = "1"
39575
+DEFINES["USE_GLIB"] = "1"
39388
+DEFINES["USE_OZONE"] = "1"
39576
+DEFINES["USE_OZONE"] = "1"
39389
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "0"
39577
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
39390
+DEFINES["WEBRTC_BSD"] = True
39578
+DEFINES["WEBRTC_BSD"] = True
39391
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
39579
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
39392
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
39580
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
Lines 39402-39408 index 6646d41ff3a8..b680faacb6b6 100644 Link Here
39402
 
39590
 
39403
 FINAL_LIBRARY = "webrtc"
39591
 FINAL_LIBRARY = "webrtc"
39404
 
39592
 
39405
@@ -100,190 +109,32 @@ if not CONFIG["MOZ_DEBUG"]:
39593
@@ -100,191 +109,32 @@ if not CONFIG["MOZ_DEBUG"]:
39406
 if CONFIG["MOZ_DEBUG"] == "1":
39594
 if CONFIG["MOZ_DEBUG"] == "1":
39407
 
39595
 
39408
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
39596
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 39471-39476 index 6646d41ff3a8..b680faacb6b6 100644 Link Here
39471
-    DEFINES["NOMINMAX"] = True
39659
-    DEFINES["NOMINMAX"] = True
39472
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
39660
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
39473
-    DEFINES["PSAPI_VERSION"] = "2"
39661
-    DEFINES["PSAPI_VERSION"] = "2"
39662
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
39474
-    DEFINES["UNICODE"] = True
39663
-    DEFINES["UNICODE"] = True
39475
-    DEFINES["USE_AURA"] = "1"
39664
-    DEFINES["USE_AURA"] = "1"
39476
-    DEFINES["WEBRTC_WIN"] = True
39665
-    DEFINES["WEBRTC_WIN"] = True
Lines 39600-39606 index 6646d41ff3a8..b680faacb6b6 100644 Link Here
39600
 
39789
 
39601
 Library("aec3_gn")
39790
 Library("aec3_gn")
39602
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
39791
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
39603
index d77163999ba8..bbfd52a05ced 100644
39792
index 21aea046cbc1..bbfd52a05ced 100644
39604
--- third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build
39793
--- third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build
39605
+++ third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build
39794
+++ third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build
39606
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
39795
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 39624-39630 index d77163999ba8..bbfd52a05ced 100644 Link Here
39624
 
39813
 
39625
 FINAL_LIBRARY = "webrtc"
39814
 FINAL_LIBRARY = "webrtc"
39626
 
39815
 
39627
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
39816
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
39628
 if CONFIG["MOZ_DEBUG"] == "1":
39817
 if CONFIG["MOZ_DEBUG"] == "1":
39629
 
39818
 
39630
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
39819
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 39689-39694 index d77163999ba8..bbfd52a05ced 100644 Link Here
39689
-    DEFINES["NOMINMAX"] = True
39878
-    DEFINES["NOMINMAX"] = True
39690
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
39879
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
39691
-    DEFINES["PSAPI_VERSION"] = "2"
39880
-    DEFINES["PSAPI_VERSION"] = "2"
39881
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
39692
-    DEFINES["UNICODE"] = True
39882
-    DEFINES["UNICODE"] = True
39693
-    DEFINES["USE_AURA"] = "1"
39883
-    DEFINES["USE_AURA"] = "1"
39694
-    DEFINES["WEBRTC_WIN"] = True
39884
-    DEFINES["WEBRTC_WIN"] = True
Lines 39733-39739 index d77163999ba8..bbfd52a05ced 100644 Link Here
39733
 
39923
 
39734
 if CONFIG["CPU_ARCH"] == "x86":
39924
 if CONFIG["CPU_ARCH"] == "x86":
39735
 
39925
 
39736
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
39926
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
39737
 
39927
 
39738
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
39928
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
39739
 
39929
 
Lines 39793-39799 index d77163999ba8..bbfd52a05ced 100644 Link Here
39793
-
39983
-
39794
 Library("fft_data_gn")
39984
 Library("fft_data_gn")
39795
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
39985
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
39796
index bae4fa297266..af83e29c22cb 100644
39986
index cad86a818768..af83e29c22cb 100644
39797
--- third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build
39987
--- third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build
39798
+++ third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build
39988
+++ third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build
39799
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
39989
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 39817-39823 index bae4fa297266..af83e29c22cb 100644 Link Here
39817
 
40007
 
39818
 FINAL_LIBRARY = "webrtc"
40008
 FINAL_LIBRARY = "webrtc"
39819
 
40009
 
39820
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
40010
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
39821
 if CONFIG["MOZ_DEBUG"] == "1":
40011
 if CONFIG["MOZ_DEBUG"] == "1":
39822
 
40012
 
39823
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
40013
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 39882-39887 index bae4fa297266..af83e29c22cb 100644 Link Here
39882
-    DEFINES["NOMINMAX"] = True
40072
-    DEFINES["NOMINMAX"] = True
39883
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
40073
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
39884
-    DEFINES["PSAPI_VERSION"] = "2"
40074
-    DEFINES["PSAPI_VERSION"] = "2"
40075
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
39885
-    DEFINES["UNICODE"] = True
40076
-    DEFINES["UNICODE"] = True
39886
-    DEFINES["USE_AURA"] = "1"
40077
-    DEFINES["USE_AURA"] = "1"
39887
-    DEFINES["WEBRTC_WIN"] = True
40078
-    DEFINES["WEBRTC_WIN"] = True
Lines 39926-39932 index bae4fa297266..af83e29c22cb 100644 Link Here
39926
 
40117
 
39927
 if CONFIG["CPU_ARCH"] == "x86":
40118
 if CONFIG["CPU_ARCH"] == "x86":
39928
 
40119
 
39929
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
40120
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
39930
 
40121
 
39931
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
40122
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
39932
 
40123
 
Lines 39986-39992 index bae4fa297266..af83e29c22cb 100644 Link Here
39986
-
40177
-
39987
 Library("matched_filter_gn")
40178
 Library("matched_filter_gn")
39988
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
40179
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
39989
index b7a10f5d7c88..8068d5e8b48a 100644
40180
index 257968fc0611..8068d5e8b48a 100644
39990
--- third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build
40181
--- third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build
39991
+++ third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build
40182
+++ third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build
39992
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
40183
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 40010-40016 index b7a10f5d7c88..8068d5e8b48a 100644 Link Here
40010
 
40201
 
40011
 FINAL_LIBRARY = "webrtc"
40202
 FINAL_LIBRARY = "webrtc"
40012
 
40203
 
40013
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
40204
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
40014
 if CONFIG["MOZ_DEBUG"] == "1":
40205
 if CONFIG["MOZ_DEBUG"] == "1":
40015
 
40206
 
40016
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
40207
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 40075-40080 index b7a10f5d7c88..8068d5e8b48a 100644 Link Here
40075
-    DEFINES["NOMINMAX"] = True
40266
-    DEFINES["NOMINMAX"] = True
40076
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
40267
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
40077
-    DEFINES["PSAPI_VERSION"] = "2"
40268
-    DEFINES["PSAPI_VERSION"] = "2"
40269
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
40078
-    DEFINES["UNICODE"] = True
40270
-    DEFINES["UNICODE"] = True
40079
-    DEFINES["USE_AURA"] = "1"
40271
-    DEFINES["USE_AURA"] = "1"
40080
-    DEFINES["WEBRTC_WIN"] = True
40272
-    DEFINES["WEBRTC_WIN"] = True
Lines 40119-40125 index b7a10f5d7c88..8068d5e8b48a 100644 Link Here
40119
 
40311
 
40120
 if CONFIG["CPU_ARCH"] == "x86":
40312
 if CONFIG["CPU_ARCH"] == "x86":
40121
 
40313
 
40122
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
40314
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
40123
 
40315
 
40124
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
40316
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
40125
 
40317
 
Lines 40179-40185 index b7a10f5d7c88..8068d5e8b48a 100644 Link Here
40179
-
40371
-
40180
 Library("render_buffer_gn")
40372
 Library("render_buffer_gn")
40181
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
40373
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
40182
index 89ee0b6a8172..e2c6c18ff9e0 100644
40374
index fdcb81d98cb9..e2c6c18ff9e0 100644
40183
--- third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build
40375
--- third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build
40184
+++ third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build
40376
+++ third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build
40185
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
40377
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 40203-40209 index 89ee0b6a8172..e2c6c18ff9e0 100644 Link Here
40203
 
40395
 
40204
 FINAL_LIBRARY = "webrtc"
40396
 FINAL_LIBRARY = "webrtc"
40205
 
40397
 
40206
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
40398
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
40207
 if CONFIG["MOZ_DEBUG"] == "1":
40399
 if CONFIG["MOZ_DEBUG"] == "1":
40208
 
40400
 
40209
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
40401
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 40268-40273 index 89ee0b6a8172..e2c6c18ff9e0 100644 Link Here
40268
-    DEFINES["NOMINMAX"] = True
40460
-    DEFINES["NOMINMAX"] = True
40269
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
40461
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
40270
-    DEFINES["PSAPI_VERSION"] = "2"
40462
-    DEFINES["PSAPI_VERSION"] = "2"
40463
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
40271
-    DEFINES["UNICODE"] = True
40464
-    DEFINES["UNICODE"] = True
40272
-    DEFINES["USE_AURA"] = "1"
40465
-    DEFINES["USE_AURA"] = "1"
40273
-    DEFINES["WEBRTC_WIN"] = True
40466
-    DEFINES["WEBRTC_WIN"] = True
Lines 40312-40318 index 89ee0b6a8172..e2c6c18ff9e0 100644 Link Here
40312
 
40505
 
40313
 if CONFIG["CPU_ARCH"] == "x86":
40506
 if CONFIG["CPU_ARCH"] == "x86":
40314
 
40507
 
40315
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
40508
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
40316
 
40509
 
40317
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
40510
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
40318
 
40511
 
Lines 40372-40378 index 89ee0b6a8172..e2c6c18ff9e0 100644 Link Here
40372
-
40565
-
40373
 Library("vector_math_gn")
40566
 Library("vector_math_gn")
40374
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
40567
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
40375
index 201cd58360cf..28209dac0b7d 100644
40568
index 003b6457cdcb..28209dac0b7d 100644
40376
--- third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build
40569
--- third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build
40377
+++ third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build
40570
+++ third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build
40378
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
40571
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 40396-40402 index 201cd58360cf..28209dac0b7d 100644 Link Here
40396
 
40589
 
40397
 FINAL_LIBRARY = "webrtc"
40590
 FINAL_LIBRARY = "webrtc"
40398
 
40591
 
40399
@@ -39,111 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
40592
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
40400
 if CONFIG["MOZ_DEBUG"] == "1":
40593
 if CONFIG["MOZ_DEBUG"] == "1":
40401
 
40594
 
40402
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
40595
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 40461-40466 index 201cd58360cf..28209dac0b7d 100644 Link Here
40461
-    DEFINES["NOMINMAX"] = True
40654
-    DEFINES["NOMINMAX"] = True
40462
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
40655
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
40463
-    DEFINES["PSAPI_VERSION"] = "2"
40656
-    DEFINES["PSAPI_VERSION"] = "2"
40657
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
40464
-    DEFINES["UNICODE"] = True
40658
-    DEFINES["UNICODE"] = True
40465
-    DEFINES["USE_AURA"] = "1"
40659
-    DEFINES["USE_AURA"] = "1"
40466
-    DEFINES["WEBRTC_WIN"] = True
40660
-    DEFINES["WEBRTC_WIN"] = True
Lines 40509-40515 index 201cd58360cf..28209dac0b7d 100644 Link Here
40509
 
40703
 
40510
 if CONFIG["CPU_ARCH"] == "x86":
40704
 if CONFIG["CPU_ARCH"] == "x86":
40511
 
40705
 
40512
@@ -153,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
40706
@@ -154,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
40513
 
40707
 
40514
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
40708
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
40515
 
40709
 
Lines 40569-40575 index 201cd58360cf..28209dac0b7d 100644 Link Here
40569
-
40763
-
40570
 Library("aec_dump_gn")
40764
 Library("aec_dump_gn")
40571
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
40765
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
40572
index 974b70b087d2..e7cd5f585b83 100644
40766
index 7c41104199e4..e7cd5f585b83 100644
40573
--- third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build
40767
--- third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build
40574
+++ third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build
40768
+++ third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build
40575
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
40769
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 40593-40599 index 974b70b087d2..e7cd5f585b83 100644 Link Here
40593
 
40787
 
40594
 FINAL_LIBRARY = "webrtc"
40788
 FINAL_LIBRARY = "webrtc"
40595
 
40789
 
40596
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
40790
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
40597
 if CONFIG["MOZ_DEBUG"] == "1":
40791
 if CONFIG["MOZ_DEBUG"] == "1":
40598
 
40792
 
40599
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
40793
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 40658-40663 index 974b70b087d2..e7cd5f585b83 100644 Link Here
40658
-    DEFINES["NOMINMAX"] = True
40852
-    DEFINES["NOMINMAX"] = True
40659
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
40853
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
40660
-    DEFINES["PSAPI_VERSION"] = "2"
40854
-    DEFINES["PSAPI_VERSION"] = "2"
40855
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
40661
-    DEFINES["UNICODE"] = True
40856
-    DEFINES["UNICODE"] = True
40662
-    DEFINES["USE_AURA"] = "1"
40857
-    DEFINES["USE_AURA"] = "1"
40663
-    DEFINES["WEBRTC_WIN"] = True
40858
-    DEFINES["WEBRTC_WIN"] = True
Lines 40784-40790 index 974b70b087d2..e7cd5f585b83 100644 Link Here
40784
 
40979
 
40785
 Library("null_aec_dump_factory_gn")
40980
 Library("null_aec_dump_factory_gn")
40786
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
40981
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
40787
index 1c47bbd5cc1e..c51fcb7d6a97 100644
40982
index 3e6e8171e9d6..c51fcb7d6a97 100644
40788
--- third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build
40983
--- third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build
40789
+++ third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build
40984
+++ third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build
40790
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
40985
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 40808-40814 index 1c47bbd5cc1e..c51fcb7d6a97 100644 Link Here
40808
 
41003
 
40809
 FINAL_LIBRARY = "webrtc"
41004
 FINAL_LIBRARY = "webrtc"
40810
 
41005
 
40811
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
41006
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
40812
 if CONFIG["MOZ_DEBUG"] == "1":
41007
 if CONFIG["MOZ_DEBUG"] == "1":
40813
 
41008
 
40814
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
41009
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 40873-40878 index 1c47bbd5cc1e..c51fcb7d6a97 100644 Link Here
40873
-    DEFINES["NOMINMAX"] = True
41068
-    DEFINES["NOMINMAX"] = True
40874
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
41069
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
40875
-    DEFINES["PSAPI_VERSION"] = "2"
41070
-    DEFINES["PSAPI_VERSION"] = "2"
41071
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
40876
-    DEFINES["UNICODE"] = True
41072
-    DEFINES["UNICODE"] = True
40877
-    DEFINES["USE_AURA"] = "1"
41073
-    DEFINES["USE_AURA"] = "1"
40878
-    DEFINES["WEBRTC_WIN"] = True
41074
-    DEFINES["WEBRTC_WIN"] = True
Lines 40999-41005 index 1c47bbd5cc1e..c51fcb7d6a97 100644 Link Here
40999
 
41195
 
41000
 Library("aec_dump_interface_gn")
41196
 Library("aec_dump_interface_gn")
41001
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
41197
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
41002
index f0e41cd6bd08..9fec01cfbcec 100644
41198
index 987403719789..9fec01cfbcec 100644
41003
--- third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build
41199
--- third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build
41004
+++ third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build
41200
+++ third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build
41005
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
41201
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 41023-41029 index f0e41cd6bd08..9fec01cfbcec 100644 Link Here
41023
 
41219
 
41024
 FINAL_LIBRARY = "webrtc"
41220
 FINAL_LIBRARY = "webrtc"
41025
 
41221
 
41026
@@ -44,113 +53,7 @@ if not CONFIG["MOZ_DEBUG"]:
41222
@@ -44,114 +53,7 @@ if not CONFIG["MOZ_DEBUG"]:
41027
 if CONFIG["MOZ_DEBUG"] == "1":
41223
 if CONFIG["MOZ_DEBUG"] == "1":
41028
 
41224
 
41029
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
41225
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 41104-41109 index f0e41cd6bd08..9fec01cfbcec 100644 Link Here
41104
-    DEFINES["NOMINMAX"] = True
41300
-    DEFINES["NOMINMAX"] = True
41105
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
41301
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
41106
-    DEFINES["PSAPI_VERSION"] = "2"
41302
-    DEFINES["PSAPI_VERSION"] = "2"
41303
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
41107
-    DEFINES["UNICODE"] = True
41304
-    DEFINES["UNICODE"] = True
41108
-    DEFINES["USE_AURA"] = "1"
41305
-    DEFINES["USE_AURA"] = "1"
41109
-    DEFINES["WEBRTC_WIN"] = True
41306
-    DEFINES["WEBRTC_WIN"] = True
Lines 41138-41144 index f0e41cd6bd08..9fec01cfbcec 100644 Link Here
41138
 
41335
 
41139
 if CONFIG["CPU_ARCH"] == "aarch64":
41336
 if CONFIG["CPU_ARCH"] == "aarch64":
41140
 
41337
 
41141
@@ -158,20 +61,7 @@ if CONFIG["CPU_ARCH"] == "aarch64":
41338
@@ -159,20 +61,7 @@ if CONFIG["CPU_ARCH"] == "aarch64":
41142
     DEFINES["WEBRTC_HAS_NEON"] = True
41339
     DEFINES["WEBRTC_HAS_NEON"] = True
41143
 
41340
 
41144
     SOURCES += [
41341
     SOURCES += [
Lines 41160-41166 index f0e41cd6bd08..9fec01cfbcec 100644 Link Here
41160
         "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_neon.cc"
41357
         "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_neon.cc"
41161
     ]
41358
     ]
41162
 
41359
 
41163
@@ -179,7 +69,6 @@ if CONFIG["CPU_ARCH"] == "mips32":
41360
@@ -180,7 +69,6 @@ if CONFIG["CPU_ARCH"] == "mips32":
41164
 
41361
 
41165
     DEFINES["MIPS32_LE"] = True
41362
     DEFINES["MIPS32_LE"] = True
41166
     DEFINES["MIPS_FPU_LE"] = True
41363
     DEFINES["MIPS_FPU_LE"] = True
Lines 41168-41174 index f0e41cd6bd08..9fec01cfbcec 100644 Link Here
41168
 
41365
 
41169
     SOURCES += [
41366
     SOURCES += [
41170
         "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_mips.cc"
41367
         "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_mips.cc"
41171
@@ -187,8 +76,6 @@ if CONFIG["CPU_ARCH"] == "mips32":
41368
@@ -188,8 +76,6 @@ if CONFIG["CPU_ARCH"] == "mips32":
41172
 
41369
 
41173
 if CONFIG["CPU_ARCH"] == "mips64":
41370
 if CONFIG["CPU_ARCH"] == "mips64":
41174
 
41371
 
Lines 41177-41183 index f0e41cd6bd08..9fec01cfbcec 100644 Link Here
41177
     SOURCES += [
41374
     SOURCES += [
41178
         "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc"
41375
         "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc"
41179
     ]
41376
     ]
41180
@@ -199,95 +86,28 @@ if CONFIG["CPU_ARCH"] == "ppc64":
41377
@@ -200,95 +86,28 @@ if CONFIG["CPU_ARCH"] == "ppc64":
41181
         "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc"
41378
         "/third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_c.cc"
41182
     ]
41379
     ]
41183
 
41380
 
Lines 41279-41285 index f0e41cd6bd08..9fec01cfbcec 100644 Link Here
41279
 
41476
 
41280
 Library("aecm_core_gn")
41477
 Library("aecm_core_gn")
41281
diff --git third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build
41478
diff --git third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build
41282
index 45e6cad30638..cafd3cc50045 100644
41479
index 98bf50c39e96..fdcc87394fd4 100644
41283
--- third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build
41480
--- third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build
41284
+++ third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build
41481
+++ third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build
41285
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
41482
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
Lines 41288-41294 index 45e6cad30638..cafd3cc50045 100644 Link Here
41288
 DEFINES["RTC_ENABLE_VP9"] = True
41485
 DEFINES["RTC_ENABLE_VP9"] = True
41289
+DEFINES["USE_GLIB"] = "1"
41486
+DEFINES["USE_GLIB"] = "1"
41290
+DEFINES["USE_OZONE"] = "1"
41487
+DEFINES["USE_OZONE"] = "1"
41291
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "0"
41488
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
41292
+DEFINES["WEBRTC_BSD"] = True
41489
+DEFINES["WEBRTC_BSD"] = True
41293
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
41490
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
41294
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
41491
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
Lines 41304-41310 index 45e6cad30638..cafd3cc50045 100644 Link Here
41304
 
41501
 
41305
 FINAL_LIBRARY = "webrtc"
41502
 FINAL_LIBRARY = "webrtc"
41306
 
41503
 
41307
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
41504
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
41308
 if CONFIG["MOZ_DEBUG"] == "1":
41505
 if CONFIG["MOZ_DEBUG"] == "1":
41309
 
41506
 
41310
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
41507
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 41373-41378 index 45e6cad30638..cafd3cc50045 100644 Link Here
41373
-    DEFINES["NOMINMAX"] = True
41570
-    DEFINES["NOMINMAX"] = True
41374
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
41571
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
41375
-    DEFINES["PSAPI_VERSION"] = "2"
41572
-    DEFINES["PSAPI_VERSION"] = "2"
41573
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
41376
-    DEFINES["UNICODE"] = True
41574
-    DEFINES["UNICODE"] = True
41377
-    DEFINES["USE_AURA"] = "1"
41575
-    DEFINES["USE_AURA"] = "1"
41378
-    DEFINES["WEBRTC_WIN"] = True
41576
-    DEFINES["WEBRTC_WIN"] = True
Lines 41502-41508 index 45e6cad30638..cafd3cc50045 100644 Link Here
41502
 
41700
 
41503
 Library("agc_gn")
41701
 Library("agc_gn")
41504
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
41702
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
41505
index c6ab9b3160de..6cc48faee4a7 100644
41703
index 71e47161531c..6cc48faee4a7 100644
41506
--- third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build
41704
--- third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build
41507
+++ third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build
41705
+++ third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build
41508
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
41706
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 41526-41532 index c6ab9b3160de..6cc48faee4a7 100644 Link Here
41526
 
41724
 
41527
 FINAL_LIBRARY = "webrtc"
41725
 FINAL_LIBRARY = "webrtc"
41528
 
41726
 
41529
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
41727
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
41530
 if CONFIG["MOZ_DEBUG"] == "1":
41728
 if CONFIG["MOZ_DEBUG"] == "1":
41531
 
41729
 
41532
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
41730
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 41587-41592 index c6ab9b3160de..6cc48faee4a7 100644 Link Here
41587
-    DEFINES["NOMINMAX"] = True
41785
-    DEFINES["NOMINMAX"] = True
41588
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
41786
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
41589
-    DEFINES["PSAPI_VERSION"] = "2"
41787
-    DEFINES["PSAPI_VERSION"] = "2"
41788
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
41590
-    DEFINES["UNICODE"] = True
41789
-    DEFINES["UNICODE"] = True
41591
-    DEFINES["USE_AURA"] = "1"
41790
-    DEFINES["USE_AURA"] = "1"
41592
-    DEFINES["WEBRTC_WIN"] = True
41791
-    DEFINES["WEBRTC_WIN"] = True
Lines 41631-41637 index c6ab9b3160de..6cc48faee4a7 100644 Link Here
41631
 
41830
 
41632
 if CONFIG["CPU_ARCH"] == "x86":
41831
 if CONFIG["CPU_ARCH"] == "x86":
41633
 
41832
 
41634
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
41833
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
41635
 
41834
 
41636
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
41835
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
41637
 
41836
 
Lines 41691-41697 index c6ab9b3160de..6cc48faee4a7 100644 Link Here
41691
-
41890
-
41692
 Library("gain_control_interface_gn")
41891
 Library("gain_control_interface_gn")
41693
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
41892
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
41694
index 0188a8ac107e..364ef9950f2c 100644
41893
index 53ca84fe865c..364ef9950f2c 100644
41695
--- third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build
41894
--- third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build
41696
+++ third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build
41895
+++ third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build
41697
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
41896
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 41715-41721 index 0188a8ac107e..364ef9950f2c 100644 Link Here
41715
 
41914
 
41716
 FINAL_LIBRARY = "webrtc"
41915
 FINAL_LIBRARY = "webrtc"
41717
 
41916
 
41718
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
41917
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
41719
 if CONFIG["MOZ_DEBUG"] == "1":
41918
 if CONFIG["MOZ_DEBUG"] == "1":
41720
 
41919
 
41721
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
41920
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 41784-41789 index 0188a8ac107e..364ef9950f2c 100644 Link Here
41784
-    DEFINES["NOMINMAX"] = True
41983
-    DEFINES["NOMINMAX"] = True
41785
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
41984
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
41786
-    DEFINES["PSAPI_VERSION"] = "2"
41985
-    DEFINES["PSAPI_VERSION"] = "2"
41986
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
41787
-    DEFINES["UNICODE"] = True
41987
-    DEFINES["UNICODE"] = True
41788
-    DEFINES["USE_AURA"] = "1"
41988
-    DEFINES["USE_AURA"] = "1"
41789
-    DEFINES["WEBRTC_WIN"] = True
41989
-    DEFINES["WEBRTC_WIN"] = True
Lines 41913-41919 index 0188a8ac107e..364ef9950f2c 100644 Link Here
41913
 
42113
 
41914
 Library("legacy_agc_gn")
42114
 Library("legacy_agc_gn")
41915
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
42115
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
41916
index 9db9a639e7ae..865eee21cf92 100644
42116
index ce184f633c68..865eee21cf92 100644
41917
--- third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build
42117
--- third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build
41918
+++ third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build
42118
+++ third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build
41919
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
42119
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 41937-41943 index 9db9a639e7ae..865eee21cf92 100644 Link Here
41937
 
42137
 
41938
 FINAL_LIBRARY = "webrtc"
42138
 FINAL_LIBRARY = "webrtc"
41939
 
42139
 
41940
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
42140
@@ -45,191 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
41941
 if CONFIG["MOZ_DEBUG"] == "1":
42141
 if CONFIG["MOZ_DEBUG"] == "1":
41942
 
42142
 
41943
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
42143
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 42006-42011 index 9db9a639e7ae..865eee21cf92 100644 Link Here
42006
-    DEFINES["NOMINMAX"] = True
42206
-    DEFINES["NOMINMAX"] = True
42007
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
42207
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
42008
-    DEFINES["PSAPI_VERSION"] = "2"
42208
-    DEFINES["PSAPI_VERSION"] = "2"
42209
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
42009
-    DEFINES["UNICODE"] = True
42210
-    DEFINES["UNICODE"] = True
42010
-    DEFINES["USE_AURA"] = "1"
42211
-    DEFINES["USE_AURA"] = "1"
42011
-    DEFINES["WEBRTC_WIN"] = True
42212
-    DEFINES["WEBRTC_WIN"] = True
Lines 42135-42141 index 9db9a639e7ae..865eee21cf92 100644 Link Here
42135
 
42336
 
42136
 Library("level_estimation_gn")
42337
 Library("level_estimation_gn")
42137
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
42338
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
42138
index 7d16c9a9f5c1..ab3f79521ab8 100644
42339
index e12d0140a005..d8235d61acec 100644
42139
--- third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build
42340
--- third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build
42140
+++ third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build
42341
+++ third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build
42141
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
42342
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
Lines 42144-42150 index 7d16c9a9f5c1..ab3f79521ab8 100644 Link Here
42144
 DEFINES["RTC_ENABLE_VP9"] = True
42345
 DEFINES["RTC_ENABLE_VP9"] = True
42145
+DEFINES["USE_GLIB"] = "1"
42346
+DEFINES["USE_GLIB"] = "1"
42146
+DEFINES["USE_OZONE"] = "1"
42347
+DEFINES["USE_OZONE"] = "1"
42147
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "0"
42348
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
42148
+DEFINES["WEBRTC_BSD"] = True
42349
+DEFINES["WEBRTC_BSD"] = True
42149
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
42350
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
42150
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
42351
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
Lines 42160-42166 index 7d16c9a9f5c1..ab3f79521ab8 100644 Link Here
42160
 
42361
 
42161
 FINAL_LIBRARY = "webrtc"
42362
 FINAL_LIBRARY = "webrtc"
42162
 
42363
 
42163
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
42364
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
42164
 if CONFIG["MOZ_DEBUG"] == "1":
42365
 if CONFIG["MOZ_DEBUG"] == "1":
42165
 
42366
 
42166
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
42367
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 42229-42234 index 7d16c9a9f5c1..ab3f79521ab8 100644 Link Here
42229
-    DEFINES["NOMINMAX"] = True
42430
-    DEFINES["NOMINMAX"] = True
42230
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
42431
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
42231
-    DEFINES["PSAPI_VERSION"] = "2"
42432
-    DEFINES["PSAPI_VERSION"] = "2"
42433
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
42232
-    DEFINES["UNICODE"] = True
42434
-    DEFINES["UNICODE"] = True
42233
-    DEFINES["USE_AURA"] = "1"
42435
-    DEFINES["USE_AURA"] = "1"
42234
-    DEFINES["WEBRTC_WIN"] = True
42436
-    DEFINES["WEBRTC_WIN"] = True
Lines 42358-42364 index 7d16c9a9f5c1..ab3f79521ab8 100644 Link Here
42358
 
42560
 
42359
 Library("adaptive_digital_gain_controller_gn")
42561
 Library("adaptive_digital_gain_controller_gn")
42360
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
42562
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
42361
index f396f42e5776..1d4e4aaebbe3 100644
42563
index 0b0a0b2c19a1..1d4e4aaebbe3 100644
42362
--- third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build
42564
--- third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build
42363
+++ third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build
42565
+++ third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build
42364
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
42566
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 42382-42388 index f396f42e5776..1d4e4aaebbe3 100644 Link Here
42382
 
42584
 
42383
 FINAL_LIBRARY = "webrtc"
42585
 FINAL_LIBRARY = "webrtc"
42384
 
42586
 
42385
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
42587
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
42386
 if CONFIG["MOZ_DEBUG"] == "1":
42588
 if CONFIG["MOZ_DEBUG"] == "1":
42387
 
42589
 
42388
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
42590
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 42447-42452 index f396f42e5776..1d4e4aaebbe3 100644 Link Here
42447
-    DEFINES["NOMINMAX"] = True
42649
-    DEFINES["NOMINMAX"] = True
42448
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
42650
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
42449
-    DEFINES["PSAPI_VERSION"] = "2"
42651
-    DEFINES["PSAPI_VERSION"] = "2"
42652
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
42450
-    DEFINES["UNICODE"] = True
42653
-    DEFINES["UNICODE"] = True
42451
-    DEFINES["USE_AURA"] = "1"
42654
-    DEFINES["USE_AURA"] = "1"
42452
-    DEFINES["WEBRTC_WIN"] = True
42655
-    DEFINES["WEBRTC_WIN"] = True
Lines 42569-42575 index f396f42e5776..1d4e4aaebbe3 100644 Link Here
42569
 
42772
 
42570
 Library("biquad_filter_gn")
42773
 Library("biquad_filter_gn")
42571
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
42774
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
42572
index 9cddd69abef4..fc59d2ead813 100644
42775
index 24809f2af822..fc59d2ead813 100644
42573
--- third_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build
42776
--- third_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build
42574
+++ third_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build
42777
+++ third_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build
42575
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
42778
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 42593-42599 index 9cddd69abef4..fc59d2ead813 100644 Link Here
42593
 
42796
 
42594
 FINAL_LIBRARY = "webrtc"
42797
 FINAL_LIBRARY = "webrtc"
42595
 
42798
 
42596
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
42799
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
42597
 if CONFIG["MOZ_DEBUG"] == "1":
42800
 if CONFIG["MOZ_DEBUG"] == "1":
42598
 
42801
 
42599
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
42802
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 42662-42667 index 9cddd69abef4..fc59d2ead813 100644 Link Here
42662
-    DEFINES["NOMINMAX"] = True
42865
-    DEFINES["NOMINMAX"] = True
42663
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
42866
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
42664
-    DEFINES["PSAPI_VERSION"] = "2"
42867
-    DEFINES["PSAPI_VERSION"] = "2"
42868
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
42665
-    DEFINES["UNICODE"] = True
42869
-    DEFINES["UNICODE"] = True
42666
-    DEFINES["USE_AURA"] = "1"
42870
-    DEFINES["USE_AURA"] = "1"
42667
-    DEFINES["WEBRTC_WIN"] = True
42871
-    DEFINES["WEBRTC_WIN"] = True
Lines 42791-42797 index 9cddd69abef4..fc59d2ead813 100644 Link Here
42791
 
42995
 
42792
 Library("clipping_predictor_gn")
42996
 Library("clipping_predictor_gn")
42793
diff --git third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build
42997
diff --git third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build
42794
index 274cae23a398..c4e0b45cf302 100644
42998
index 06cd0cd8b986..c4e0b45cf302 100644
42795
--- third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build
42999
--- third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build
42796
+++ third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build
43000
+++ third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build
42797
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
43001
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 42815-42821 index 274cae23a398..c4e0b45cf302 100644 Link Here
42815
 
43019
 
42816
 FINAL_LIBRARY = "webrtc"
43020
 FINAL_LIBRARY = "webrtc"
42817
 
43021
 
42818
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
43022
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
42819
 if CONFIG["MOZ_DEBUG"] == "1":
43023
 if CONFIG["MOZ_DEBUG"] == "1":
42820
 
43024
 
42821
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
43025
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 42876-42881 index 274cae23a398..c4e0b45cf302 100644 Link Here
42876
-    DEFINES["NOMINMAX"] = True
43080
-    DEFINES["NOMINMAX"] = True
42877
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
43081
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
42878
-    DEFINES["PSAPI_VERSION"] = "2"
43082
-    DEFINES["PSAPI_VERSION"] = "2"
43083
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
42879
-    DEFINES["UNICODE"] = True
43084
-    DEFINES["UNICODE"] = True
42880
-    DEFINES["USE_AURA"] = "1"
43085
-    DEFINES["USE_AURA"] = "1"
42881
-    DEFINES["WEBRTC_WIN"] = True
43086
-    DEFINES["WEBRTC_WIN"] = True
Lines 42920-42926 index 274cae23a398..c4e0b45cf302 100644 Link Here
42920
 
43125
 
42921
 if CONFIG["CPU_ARCH"] == "x86":
43126
 if CONFIG["CPU_ARCH"] == "x86":
42922
 
43127
 
42923
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
43128
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
42924
 
43129
 
42925
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
43130
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
42926
 
43131
 
Lines 42980-42986 index 274cae23a398..c4e0b45cf302 100644 Link Here
42980
-
43185
-
42981
 Library("common_gn")
43186
 Library("common_gn")
42982
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
43187
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
42983
index a4572251ad4c..6817471d99c1 100644
43188
index f837c9d4c0f1..6817471d99c1 100644
42984
--- third_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build
43189
--- third_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build
42985
+++ third_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build
43190
+++ third_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build
42986
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
43191
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 43004-43010 index a4572251ad4c..6817471d99c1 100644 Link Here
43004
 
43209
 
43005
 FINAL_LIBRARY = "webrtc"
43210
 FINAL_LIBRARY = "webrtc"
43006
 
43211
 
43007
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
43212
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
43008
 if CONFIG["MOZ_DEBUG"] == "1":
43213
 if CONFIG["MOZ_DEBUG"] == "1":
43009
 
43214
 
43010
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
43215
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 43073-43078 index a4572251ad4c..6817471d99c1 100644 Link Here
43073
-    DEFINES["NOMINMAX"] = True
43278
-    DEFINES["NOMINMAX"] = True
43074
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
43279
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
43075
-    DEFINES["PSAPI_VERSION"] = "2"
43280
-    DEFINES["PSAPI_VERSION"] = "2"
43281
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
43076
-    DEFINES["UNICODE"] = True
43282
-    DEFINES["UNICODE"] = True
43077
-    DEFINES["USE_AURA"] = "1"
43283
-    DEFINES["USE_AURA"] = "1"
43078
-    DEFINES["WEBRTC_WIN"] = True
43284
-    DEFINES["WEBRTC_WIN"] = True
Lines 43202-43208 index a4572251ad4c..6817471d99c1 100644 Link Here
43202
 
43408
 
43203
 Library("cpu_features_gn")
43409
 Library("cpu_features_gn")
43204
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
43410
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
43205
index 3a54fc31711b..e87103152bc9 100644
43411
index b58b5595104e..aa7b9fbe475c 100644
43206
--- third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build
43412
--- third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build
43207
+++ third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build
43413
+++ third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build
43208
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
43414
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
Lines 43211-43217 index 3a54fc31711b..e87103152bc9 100644 Link Here
43211
 DEFINES["RTC_ENABLE_VP9"] = True
43417
 DEFINES["RTC_ENABLE_VP9"] = True
43212
+DEFINES["USE_GLIB"] = "1"
43418
+DEFINES["USE_GLIB"] = "1"
43213
+DEFINES["USE_OZONE"] = "1"
43419
+DEFINES["USE_OZONE"] = "1"
43214
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "0"
43420
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
43215
+DEFINES["WEBRTC_BSD"] = True
43421
+DEFINES["WEBRTC_BSD"] = True
43216
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
43422
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
43217
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
43423
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
Lines 43227-43233 index 3a54fc31711b..e87103152bc9 100644 Link Here
43227
 
43433
 
43228
 FINAL_LIBRARY = "webrtc"
43434
 FINAL_LIBRARY = "webrtc"
43229
 
43435
 
43230
@@ -46,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
43436
@@ -46,191 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
43231
 if CONFIG["MOZ_DEBUG"] == "1":
43437
 if CONFIG["MOZ_DEBUG"] == "1":
43232
 
43438
 
43233
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
43439
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 43296-43301 index 3a54fc31711b..e87103152bc9 100644 Link Here
43296
-    DEFINES["NOMINMAX"] = True
43502
-    DEFINES["NOMINMAX"] = True
43297
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
43503
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
43298
-    DEFINES["PSAPI_VERSION"] = "2"
43504
-    DEFINES["PSAPI_VERSION"] = "2"
43505
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
43299
-    DEFINES["UNICODE"] = True
43506
-    DEFINES["UNICODE"] = True
43300
-    DEFINES["USE_AURA"] = "1"
43507
-    DEFINES["USE_AURA"] = "1"
43301
-    DEFINES["WEBRTC_WIN"] = True
43508
-    DEFINES["WEBRTC_WIN"] = True
Lines 43425-43431 index 3a54fc31711b..e87103152bc9 100644 Link Here
43425
 
43632
 
43426
 Library("fixed_digital_gn")
43633
 Library("fixed_digital_gn")
43427
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
43634
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
43428
index 394aa109faf3..cb41c74ad271 100644
43635
index f16780d288ef..cb41c74ad271 100644
43429
--- third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build
43636
--- third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build
43430
+++ third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build
43637
+++ third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build
43431
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
43638
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 43449-43455 index 394aa109faf3..cb41c74ad271 100644 Link Here
43449
 
43656
 
43450
 FINAL_LIBRARY = "webrtc"
43657
 FINAL_LIBRARY = "webrtc"
43451
 
43658
 
43452
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
43659
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
43453
 if CONFIG["MOZ_DEBUG"] == "1":
43660
 if CONFIG["MOZ_DEBUG"] == "1":
43454
 
43661
 
43455
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
43662
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 43514-43519 index 394aa109faf3..cb41c74ad271 100644 Link Here
43514
-    DEFINES["NOMINMAX"] = True
43721
-    DEFINES["NOMINMAX"] = True
43515
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
43722
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
43516
-    DEFINES["PSAPI_VERSION"] = "2"
43723
-    DEFINES["PSAPI_VERSION"] = "2"
43724
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
43517
-    DEFINES["UNICODE"] = True
43725
-    DEFINES["UNICODE"] = True
43518
-    DEFINES["USE_AURA"] = "1"
43726
-    DEFINES["USE_AURA"] = "1"
43519
-    DEFINES["WEBRTC_WIN"] = True
43727
-    DEFINES["WEBRTC_WIN"] = True
Lines 43636-43642 index 394aa109faf3..cb41c74ad271 100644 Link Here
43636
 
43844
 
43637
 Library("gain_applier_gn")
43845
 Library("gain_applier_gn")
43638
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
43846
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
43639
index 5b1d68415a52..32bf484b86e7 100644
43847
index 767e386207c7..32bf484b86e7 100644
43640
--- third_party/libwebrtc/modules/audio_processing/agc2/gain_map_gn/moz.build
43848
--- third_party/libwebrtc/modules/audio_processing/agc2/gain_map_gn/moz.build
43641
+++ third_party/libwebrtc/modules/audio_processing/agc2/gain_map_gn/moz.build
43849
+++ third_party/libwebrtc/modules/audio_processing/agc2/gain_map_gn/moz.build
43642
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
43850
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 43660-43666 index 5b1d68415a52..32bf484b86e7 100644 Link Here
43660
 
43868
 
43661
 FINAL_LIBRARY = "webrtc"
43869
 FINAL_LIBRARY = "webrtc"
43662
 
43870
 
43663
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
43871
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
43664
 if CONFIG["MOZ_DEBUG"] == "1":
43872
 if CONFIG["MOZ_DEBUG"] == "1":
43665
 
43873
 
43666
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
43874
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 43721-43726 index 5b1d68415a52..32bf484b86e7 100644 Link Here
43721
-    DEFINES["NOMINMAX"] = True
43929
-    DEFINES["NOMINMAX"] = True
43722
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
43930
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
43723
-    DEFINES["PSAPI_VERSION"] = "2"
43931
-    DEFINES["PSAPI_VERSION"] = "2"
43932
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
43724
-    DEFINES["UNICODE"] = True
43933
-    DEFINES["UNICODE"] = True
43725
-    DEFINES["USE_AURA"] = "1"
43934
-    DEFINES["USE_AURA"] = "1"
43726
-    DEFINES["WEBRTC_WIN"] = True
43935
-    DEFINES["WEBRTC_WIN"] = True
Lines 43765-43771 index 5b1d68415a52..32bf484b86e7 100644 Link Here
43765
 
43974
 
43766
 if CONFIG["CPU_ARCH"] == "x86":
43975
 if CONFIG["CPU_ARCH"] == "x86":
43767
 
43976
 
43768
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
43977
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
43769
 
43978
 
43770
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
43979
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
43771
 
43980
 
Lines 43825-43831 index 5b1d68415a52..32bf484b86e7 100644 Link Here
43825
-
44034
-
43826
 Library("gain_map_gn")
44035
 Library("gain_map_gn")
43827
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
44036
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
43828
index 582eb326f3d6..8fa3a2bba795 100644
44037
index 74604a6acbf1..451dc5c6c994 100644
43829
--- third_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build
44038
--- third_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build
43830
+++ third_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build
44039
+++ third_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build
43831
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
44040
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
Lines 43834-43840 index 582eb326f3d6..8fa3a2bba795 100644 Link Here
43834
 DEFINES["RTC_ENABLE_VP9"] = True
44043
 DEFINES["RTC_ENABLE_VP9"] = True
43835
+DEFINES["USE_GLIB"] = "1"
44044
+DEFINES["USE_GLIB"] = "1"
43836
+DEFINES["USE_OZONE"] = "1"
44045
+DEFINES["USE_OZONE"] = "1"
43837
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "0"
44046
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
43838
+DEFINES["WEBRTC_BSD"] = True
44047
+DEFINES["WEBRTC_BSD"] = True
43839
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
44048
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
43840
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
44049
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
Lines 43850-43856 index 582eb326f3d6..8fa3a2bba795 100644 Link Here
43850
 
44059
 
43851
 FINAL_LIBRARY = "webrtc"
44060
 FINAL_LIBRARY = "webrtc"
43852
 
44061
 
43853
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
44062
@@ -45,191 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
43854
 if CONFIG["MOZ_DEBUG"] == "1":
44063
 if CONFIG["MOZ_DEBUG"] == "1":
43855
 
44064
 
43856
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
44065
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 43919-43924 index 582eb326f3d6..8fa3a2bba795 100644 Link Here
43919
-    DEFINES["NOMINMAX"] = True
44128
-    DEFINES["NOMINMAX"] = True
43920
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
44129
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
43921
-    DEFINES["PSAPI_VERSION"] = "2"
44130
-    DEFINES["PSAPI_VERSION"] = "2"
44131
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
43922
-    DEFINES["UNICODE"] = True
44132
-    DEFINES["UNICODE"] = True
43923
-    DEFINES["USE_AURA"] = "1"
44133
-    DEFINES["USE_AURA"] = "1"
43924
-    DEFINES["WEBRTC_WIN"] = True
44134
-    DEFINES["WEBRTC_WIN"] = True
Lines 44048-44054 index 582eb326f3d6..8fa3a2bba795 100644 Link Here
44048
 
44258
 
44049
 Library("input_volume_controller_gn")
44259
 Library("input_volume_controller_gn")
44050
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
44260
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
44051
index 5a662f407985..c92be24aa407 100644
44261
index 3e808b4bc055..c92be24aa407 100644
44052
--- third_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build
44262
--- third_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build
44053
+++ third_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build
44263
+++ third_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build
44054
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
44264
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 44072-44078 index 5a662f407985..c92be24aa407 100644 Link Here
44072
 
44282
 
44073
 FINAL_LIBRARY = "webrtc"
44283
 FINAL_LIBRARY = "webrtc"
44074
 
44284
 
44075
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
44285
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
44076
 if CONFIG["MOZ_DEBUG"] == "1":
44286
 if CONFIG["MOZ_DEBUG"] == "1":
44077
 
44287
 
44078
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
44288
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 44137-44142 index 5a662f407985..c92be24aa407 100644 Link Here
44137
-    DEFINES["NOMINMAX"] = True
44347
-    DEFINES["NOMINMAX"] = True
44138
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
44348
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
44139
-    DEFINES["PSAPI_VERSION"] = "2"
44349
-    DEFINES["PSAPI_VERSION"] = "2"
44350
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
44140
-    DEFINES["UNICODE"] = True
44351
-    DEFINES["UNICODE"] = True
44141
-    DEFINES["USE_AURA"] = "1"
44352
-    DEFINES["USE_AURA"] = "1"
44142
-    DEFINES["WEBRTC_WIN"] = True
44353
-    DEFINES["WEBRTC_WIN"] = True
Lines 44263-44269 index 5a662f407985..c92be24aa407 100644 Link Here
44263
 
44474
 
44264
 Library("input_volume_stats_reporter_gn")
44475
 Library("input_volume_stats_reporter_gn")
44265
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
44476
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
44266
index ba000d386223..21a9e8b6511a 100644
44477
index 180fffdc4497..e4926bc41ed4 100644
44267
--- third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build
44478
--- third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build
44268
+++ third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build
44479
+++ third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build
44269
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
44480
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
Lines 44272-44278 index ba000d386223..21a9e8b6511a 100644 Link Here
44272
 DEFINES["RTC_ENABLE_VP9"] = True
44483
 DEFINES["RTC_ENABLE_VP9"] = True
44273
+DEFINES["USE_GLIB"] = "1"
44484
+DEFINES["USE_GLIB"] = "1"
44274
+DEFINES["USE_OZONE"] = "1"
44485
+DEFINES["USE_OZONE"] = "1"
44275
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "0"
44486
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
44276
+DEFINES["WEBRTC_BSD"] = True
44487
+DEFINES["WEBRTC_BSD"] = True
44277
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
44488
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
44278
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
44489
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
Lines 44288-44294 index ba000d386223..21a9e8b6511a 100644 Link Here
44288
 
44499
 
44289
 FINAL_LIBRARY = "webrtc"
44500
 FINAL_LIBRARY = "webrtc"
44290
 
44501
 
44291
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
44502
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
44292
 if CONFIG["MOZ_DEBUG"] == "1":
44503
 if CONFIG["MOZ_DEBUG"] == "1":
44293
 
44504
 
44294
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
44505
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 44357-44362 index ba000d386223..21a9e8b6511a 100644 Link Here
44357
-    DEFINES["NOMINMAX"] = True
44568
-    DEFINES["NOMINMAX"] = True
44358
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
44569
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
44359
-    DEFINES["PSAPI_VERSION"] = "2"
44570
-    DEFINES["PSAPI_VERSION"] = "2"
44571
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
44360
-    DEFINES["UNICODE"] = True
44572
-    DEFINES["UNICODE"] = True
44361
-    DEFINES["USE_AURA"] = "1"
44573
-    DEFINES["USE_AURA"] = "1"
44362
-    DEFINES["WEBRTC_WIN"] = True
44574
-    DEFINES["WEBRTC_WIN"] = True
Lines 44486-44492 index ba000d386223..21a9e8b6511a 100644 Link Here
44486
 
44698
 
44487
 Library("noise_level_estimator_gn")
44699
 Library("noise_level_estimator_gn")
44488
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
44700
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
44489
index 3f00e43e7c28..87c64337304c 100644
44701
index 0991577d7318..87c64337304c 100644
44490
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build
44702
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build
44491
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build
44703
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build
44492
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
44704
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 44510-44516 index 3f00e43e7c28..87c64337304c 100644 Link Here
44510
 
44722
 
44511
 FINAL_LIBRARY = "webrtc"
44723
 FINAL_LIBRARY = "webrtc"
44512
 
44724
 
44513
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
44725
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
44514
 if CONFIG["MOZ_DEBUG"] == "1":
44726
 if CONFIG["MOZ_DEBUG"] == "1":
44515
 
44727
 
44516
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
44728
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 44579-44584 index 3f00e43e7c28..87c64337304c 100644 Link Here
44579
-    DEFINES["NOMINMAX"] = True
44791
-    DEFINES["NOMINMAX"] = True
44580
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
44792
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
44581
-    DEFINES["PSAPI_VERSION"] = "2"
44793
-    DEFINES["PSAPI_VERSION"] = "2"
44794
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
44582
-    DEFINES["UNICODE"] = True
44795
-    DEFINES["UNICODE"] = True
44583
-    DEFINES["USE_AURA"] = "1"
44796
-    DEFINES["USE_AURA"] = "1"
44584
-    DEFINES["WEBRTC_WIN"] = True
44797
-    DEFINES["WEBRTC_WIN"] = True
Lines 44708-44714 index 3f00e43e7c28..87c64337304c 100644 Link Here
44708
 
44921
 
44709
 Library("rnn_vad_auto_correlation_gn")
44922
 Library("rnn_vad_auto_correlation_gn")
44710
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
44923
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
44711
index 64d3371d81b0..bd147bc9f851 100644
44924
index 7aa475e6d79c..bd147bc9f851 100644
44712
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_common_gn/moz.build
44925
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_common_gn/moz.build
44713
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_common_gn/moz.build
44926
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_common_gn/moz.build
44714
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
44927
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 44732-44738 index 64d3371d81b0..bd147bc9f851 100644 Link Here
44732
 
44945
 
44733
 FINAL_LIBRARY = "webrtc"
44946
 FINAL_LIBRARY = "webrtc"
44734
 
44947
 
44735
@@ -39,118 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
44948
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
44736
 if CONFIG["MOZ_DEBUG"] == "1":
44949
 if CONFIG["MOZ_DEBUG"] == "1":
44737
 
44950
 
44738
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
44951
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 44801-44806 index 64d3371d81b0..bd147bc9f851 100644 Link Here
44801
-    DEFINES["NOMINMAX"] = True
45014
-    DEFINES["NOMINMAX"] = True
44802
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
45015
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
44803
-    DEFINES["PSAPI_VERSION"] = "2"
45016
-    DEFINES["PSAPI_VERSION"] = "2"
45017
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
44804
-    DEFINES["UNICODE"] = True
45018
-    DEFINES["UNICODE"] = True
44805
-    DEFINES["USE_AURA"] = "1"
45019
-    DEFINES["USE_AURA"] = "1"
44806
-    DEFINES["WEBRTC_WIN"] = True
45020
-    DEFINES["WEBRTC_WIN"] = True
Lines 44852-44858 index 64d3371d81b0..bd147bc9f851 100644 Link Here
44852
 
45066
 
44853
 if CONFIG["CPU_ARCH"] == "x86":
45067
 if CONFIG["CPU_ARCH"] == "x86":
44854
 
45068
 
44855
@@ -160,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
45069
@@ -161,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
44856
 
45070
 
44857
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
45071
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
44858
 
45072
 
Lines 44912-44918 index 64d3371d81b0..bd147bc9f851 100644 Link Here
44912
-
45126
-
44913
 Library("rnn_vad_common_gn")
45127
 Library("rnn_vad_common_gn")
44914
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
45128
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
44915
index 82e5302312e5..ef8d61998fa0 100644
45129
index b59fa2425449..ef8d61998fa0 100644
44916
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build
45130
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build
44917
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build
45131
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build
44918
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
45132
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 44936-44942 index 82e5302312e5..ef8d61998fa0 100644 Link Here
44936
 
45150
 
44937
 FINAL_LIBRARY = "webrtc"
45151
 FINAL_LIBRARY = "webrtc"
44938
 
45152
 
44939
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
45153
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
44940
 if CONFIG["MOZ_DEBUG"] == "1":
45154
 if CONFIG["MOZ_DEBUG"] == "1":
44941
 
45155
 
44942
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
45156
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 45005-45010 index 82e5302312e5..ef8d61998fa0 100644 Link Here
45005
-    DEFINES["NOMINMAX"] = True
45219
-    DEFINES["NOMINMAX"] = True
45006
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
45220
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
45007
-    DEFINES["PSAPI_VERSION"] = "2"
45221
-    DEFINES["PSAPI_VERSION"] = "2"
45222
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
45008
-    DEFINES["UNICODE"] = True
45223
-    DEFINES["UNICODE"] = True
45009
-    DEFINES["USE_AURA"] = "1"
45224
-    DEFINES["USE_AURA"] = "1"
45010
-    DEFINES["WEBRTC_WIN"] = True
45225
-    DEFINES["WEBRTC_WIN"] = True
Lines 45134-45140 index 82e5302312e5..ef8d61998fa0 100644 Link Here
45134
 
45349
 
45135
 Library("rnn_vad_gn")
45350
 Library("rnn_vad_gn")
45136
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
45351
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
45137
index 7dd4619965ab..63049c23fc5e 100644
45352
index dbf41809ebab..63049c23fc5e 100644
45138
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build
45353
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build
45139
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build
45354
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build
45140
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
45355
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 45158-45164 index 7dd4619965ab..63049c23fc5e 100644 Link Here
45158
 
45373
 
45159
 FINAL_LIBRARY = "webrtc"
45374
 FINAL_LIBRARY = "webrtc"
45160
 
45375
 
45161
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
45376
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
45162
 if CONFIG["MOZ_DEBUG"] == "1":
45377
 if CONFIG["MOZ_DEBUG"] == "1":
45163
 
45378
 
45164
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
45379
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 45227-45232 index 7dd4619965ab..63049c23fc5e 100644 Link Here
45227
-    DEFINES["NOMINMAX"] = True
45442
-    DEFINES["NOMINMAX"] = True
45228
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
45443
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
45229
-    DEFINES["PSAPI_VERSION"] = "2"
45444
-    DEFINES["PSAPI_VERSION"] = "2"
45445
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
45230
-    DEFINES["UNICODE"] = True
45446
-    DEFINES["UNICODE"] = True
45231
-    DEFINES["USE_AURA"] = "1"
45447
-    DEFINES["USE_AURA"] = "1"
45232
-    DEFINES["WEBRTC_WIN"] = True
45448
-    DEFINES["WEBRTC_WIN"] = True
Lines 45356-45362 index 7dd4619965ab..63049c23fc5e 100644 Link Here
45356
 
45572
 
45357
 Library("rnn_vad_layers_gn")
45573
 Library("rnn_vad_layers_gn")
45358
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
45574
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
45359
index 1fcbbbe408fa..ebc5b9a10d04 100644
45575
index cc8c7fe209b7..ebc5b9a10d04 100644
45360
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_lp_residual_gn/moz.build
45576
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_lp_residual_gn/moz.build
45361
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_lp_residual_gn/moz.build
45577
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_lp_residual_gn/moz.build
45362
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
45578
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 45380-45386 index 1fcbbbe408fa..ebc5b9a10d04 100644 Link Here
45380
 
45596
 
45381
 FINAL_LIBRARY = "webrtc"
45597
 FINAL_LIBRARY = "webrtc"
45382
 
45598
 
45383
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
45599
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
45384
 if CONFIG["MOZ_DEBUG"] == "1":
45600
 if CONFIG["MOZ_DEBUG"] == "1":
45385
 
45601
 
45386
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
45602
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 45445-45450 index 1fcbbbe408fa..ebc5b9a10d04 100644 Link Here
45445
-    DEFINES["NOMINMAX"] = True
45661
-    DEFINES["NOMINMAX"] = True
45446
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
45662
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
45447
-    DEFINES["PSAPI_VERSION"] = "2"
45663
-    DEFINES["PSAPI_VERSION"] = "2"
45664
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
45448
-    DEFINES["UNICODE"] = True
45665
-    DEFINES["UNICODE"] = True
45449
-    DEFINES["USE_AURA"] = "1"
45666
-    DEFINES["USE_AURA"] = "1"
45450
-    DEFINES["WEBRTC_WIN"] = True
45667
-    DEFINES["WEBRTC_WIN"] = True
Lines 45567-45573 index 1fcbbbe408fa..ebc5b9a10d04 100644 Link Here
45567
 
45784
 
45568
 Library("rnn_vad_lp_residual_gn")
45785
 Library("rnn_vad_lp_residual_gn")
45569
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
45786
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
45570
index 6a69de9e292e..3d0349fab510 100644
45787
index 2cd91c9827a0..3d0349fab510 100644
45571
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build
45788
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build
45572
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build
45789
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build
45573
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
45790
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 45591-45597 index 6a69de9e292e..3d0349fab510 100644 Link Here
45591
 
45808
 
45592
 FINAL_LIBRARY = "webrtc"
45809
 FINAL_LIBRARY = "webrtc"
45593
 
45810
 
45594
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
45811
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
45595
 if CONFIG["MOZ_DEBUG"] == "1":
45812
 if CONFIG["MOZ_DEBUG"] == "1":
45596
 
45813
 
45597
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
45814
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 45660-45665 index 6a69de9e292e..3d0349fab510 100644 Link Here
45660
-    DEFINES["NOMINMAX"] = True
45877
-    DEFINES["NOMINMAX"] = True
45661
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
45878
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
45662
-    DEFINES["PSAPI_VERSION"] = "2"
45879
-    DEFINES["PSAPI_VERSION"] = "2"
45880
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
45663
-    DEFINES["UNICODE"] = True
45881
-    DEFINES["UNICODE"] = True
45664
-    DEFINES["USE_AURA"] = "1"
45882
-    DEFINES["USE_AURA"] = "1"
45665
-    DEFINES["WEBRTC_WIN"] = True
45883
-    DEFINES["WEBRTC_WIN"] = True
Lines 45789-45795 index 6a69de9e292e..3d0349fab510 100644 Link Here
45789
 
46007
 
45790
 Library("rnn_vad_pitch_gn")
46008
 Library("rnn_vad_pitch_gn")
45791
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
46009
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
45792
index d2a4eb7261b6..1a81378e66f5 100644
46010
index 65a132c3343c..1a81378e66f5 100644
45793
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_ring_buffer_gn/moz.build
46011
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_ring_buffer_gn/moz.build
45794
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_ring_buffer_gn/moz.build
46012
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_ring_buffer_gn/moz.build
45795
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
46013
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 45813-45819 index d2a4eb7261b6..1a81378e66f5 100644 Link Here
45813
 
46031
 
45814
 FINAL_LIBRARY = "webrtc"
46032
 FINAL_LIBRARY = "webrtc"
45815
 
46033
 
45816
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
46034
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
45817
 if CONFIG["MOZ_DEBUG"] == "1":
46035
 if CONFIG["MOZ_DEBUG"] == "1":
45818
 
46036
 
45819
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
46037
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 45878-45883 index d2a4eb7261b6..1a81378e66f5 100644 Link Here
45878
-    DEFINES["NOMINMAX"] = True
46096
-    DEFINES["NOMINMAX"] = True
45879
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
46097
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
45880
-    DEFINES["PSAPI_VERSION"] = "2"
46098
-    DEFINES["PSAPI_VERSION"] = "2"
46099
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
45881
-    DEFINES["UNICODE"] = True
46100
-    DEFINES["UNICODE"] = True
45882
-    DEFINES["USE_AURA"] = "1"
46101
-    DEFINES["USE_AURA"] = "1"
45883
-    DEFINES["WEBRTC_WIN"] = True
46102
-    DEFINES["WEBRTC_WIN"] = True
Lines 45922-45928 index d2a4eb7261b6..1a81378e66f5 100644 Link Here
45922
 
46141
 
45923
 if CONFIG["CPU_ARCH"] == "x86":
46142
 if CONFIG["CPU_ARCH"] == "x86":
45924
 
46143
 
45925
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
46144
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
45926
 
46145
 
45927
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
46146
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
45928
 
46147
 
Lines 45982-45988 index d2a4eb7261b6..1a81378e66f5 100644 Link Here
45982
-
46201
-
45983
 Library("rnn_vad_ring_buffer_gn")
46202
 Library("rnn_vad_ring_buffer_gn")
45984
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
46203
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
45985
index c6913470c362..916932ccba9a 100644
46204
index e87d61316604..916932ccba9a 100644
45986
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_sequence_buffer_gn/moz.build
46205
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_sequence_buffer_gn/moz.build
45987
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_sequence_buffer_gn/moz.build
46206
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_sequence_buffer_gn/moz.build
45988
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
46207
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 46006-46012 index c6913470c362..916932ccba9a 100644 Link Here
46006
 
46225
 
46007
 FINAL_LIBRARY = "webrtc"
46226
 FINAL_LIBRARY = "webrtc"
46008
 
46227
 
46009
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
46228
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
46010
 if CONFIG["MOZ_DEBUG"] == "1":
46229
 if CONFIG["MOZ_DEBUG"] == "1":
46011
 
46230
 
46012
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
46231
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 46071-46076 index c6913470c362..916932ccba9a 100644 Link Here
46071
-    DEFINES["NOMINMAX"] = True
46290
-    DEFINES["NOMINMAX"] = True
46072
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
46291
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
46073
-    DEFINES["PSAPI_VERSION"] = "2"
46292
-    DEFINES["PSAPI_VERSION"] = "2"
46293
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
46074
-    DEFINES["UNICODE"] = True
46294
-    DEFINES["UNICODE"] = True
46075
-    DEFINES["USE_AURA"] = "1"
46295
-    DEFINES["USE_AURA"] = "1"
46076
-    DEFINES["WEBRTC_WIN"] = True
46296
-    DEFINES["WEBRTC_WIN"] = True
Lines 46115-46121 index c6913470c362..916932ccba9a 100644 Link Here
46115
 
46335
 
46116
 if CONFIG["CPU_ARCH"] == "x86":
46336
 if CONFIG["CPU_ARCH"] == "x86":
46117
 
46337
 
46118
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
46338
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
46119
 
46339
 
46120
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
46340
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
46121
 
46341
 
Lines 46175-46181 index c6913470c362..916932ccba9a 100644 Link Here
46175
-
46395
-
46176
 Library("rnn_vad_sequence_buffer_gn")
46396
 Library("rnn_vad_sequence_buffer_gn")
46177
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
46397
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
46178
index 8298c7e091d7..db6f13136c47 100644
46398
index 6b1a7cecb4b6..db6f13136c47 100644
46179
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build
46399
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build
46180
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build
46400
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build
46181
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
46401
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 46199-46205 index 8298c7e091d7..db6f13136c47 100644 Link Here
46199
 
46419
 
46200
 FINAL_LIBRARY = "webrtc"
46420
 FINAL_LIBRARY = "webrtc"
46201
 
46421
 
46202
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
46422
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
46203
 if CONFIG["MOZ_DEBUG"] == "1":
46423
 if CONFIG["MOZ_DEBUG"] == "1":
46204
 
46424
 
46205
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
46425
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 46268-46273 index 8298c7e091d7..db6f13136c47 100644 Link Here
46268
-    DEFINES["NOMINMAX"] = True
46488
-    DEFINES["NOMINMAX"] = True
46269
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
46489
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
46270
-    DEFINES["PSAPI_VERSION"] = "2"
46490
-    DEFINES["PSAPI_VERSION"] = "2"
46491
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
46271
-    DEFINES["UNICODE"] = True
46492
-    DEFINES["UNICODE"] = True
46272
-    DEFINES["USE_AURA"] = "1"
46493
-    DEFINES["USE_AURA"] = "1"
46273
-    DEFINES["WEBRTC_WIN"] = True
46494
-    DEFINES["WEBRTC_WIN"] = True
Lines 46397-46403 index 8298c7e091d7..db6f13136c47 100644 Link Here
46397
 
46618
 
46398
 Library("rnn_vad_spectral_features_gn")
46619
 Library("rnn_vad_spectral_features_gn")
46399
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
46620
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
46400
index acb933045439..e9cb91b4da31 100644
46621
index fc9ecf452bbe..e9cb91b4da31 100644
46401
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_symmetric_matrix_buffer_gn/moz.build
46622
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_symmetric_matrix_buffer_gn/moz.build
46402
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_symmetric_matrix_buffer_gn/moz.build
46623
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_symmetric_matrix_buffer_gn/moz.build
46403
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
46624
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 46421-46427 index acb933045439..e9cb91b4da31 100644 Link Here
46421
 
46642
 
46422
 FINAL_LIBRARY = "webrtc"
46643
 FINAL_LIBRARY = "webrtc"
46423
 
46644
 
46424
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
46645
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
46425
 if CONFIG["MOZ_DEBUG"] == "1":
46646
 if CONFIG["MOZ_DEBUG"] == "1":
46426
 
46647
 
46427
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
46648
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 46486-46491 index acb933045439..e9cb91b4da31 100644 Link Here
46486
-    DEFINES["NOMINMAX"] = True
46707
-    DEFINES["NOMINMAX"] = True
46487
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
46708
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
46488
-    DEFINES["PSAPI_VERSION"] = "2"
46709
-    DEFINES["PSAPI_VERSION"] = "2"
46710
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
46489
-    DEFINES["UNICODE"] = True
46711
-    DEFINES["UNICODE"] = True
46490
-    DEFINES["USE_AURA"] = "1"
46712
-    DEFINES["USE_AURA"] = "1"
46491
-    DEFINES["WEBRTC_WIN"] = True
46713
-    DEFINES["WEBRTC_WIN"] = True
Lines 46530-46536 index acb933045439..e9cb91b4da31 100644 Link Here
46530
 
46752
 
46531
 if CONFIG["CPU_ARCH"] == "x86":
46753
 if CONFIG["CPU_ARCH"] == "x86":
46532
 
46754
 
46533
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
46755
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
46534
 
46756
 
46535
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
46757
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
46536
 
46758
 
Lines 46590-46596 index acb933045439..e9cb91b4da31 100644 Link Here
46590
-
46812
-
46591
 Library("rnn_vad_symmetric_matrix_buffer_gn")
46813
 Library("rnn_vad_symmetric_matrix_buffer_gn")
46592
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
46814
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
46593
index 275c512cf6bb..d8f9ba076c5f 100644
46815
index d8d5fdd2d7d0..d8f9ba076c5f 100644
46594
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build
46816
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build
46595
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build
46817
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build
46596
@@ -17,12 +17,21 @@ CXXFLAGS += [
46818
@@ -17,12 +17,21 @@ CXXFLAGS += [
Lines 46615-46621 index 275c512cf6bb..d8f9ba076c5f 100644 Link Here
46615
 
46837
 
46616
 FINAL_LIBRARY = "webrtc"
46838
 FINAL_LIBRARY = "webrtc"
46617
 
46839
 
46618
@@ -49,137 +58,16 @@ if not CONFIG["MOZ_DEBUG"]:
46840
@@ -49,138 +58,16 @@ if not CONFIG["MOZ_DEBUG"]:
46619
 if CONFIG["MOZ_DEBUG"] == "1":
46841
 if CONFIG["MOZ_DEBUG"] == "1":
46620
 
46842
 
46621
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
46843
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 46685-46690 index 275c512cf6bb..d8f9ba076c5f 100644 Link Here
46685
-    DEFINES["NOMINMAX"] = True
46907
-    DEFINES["NOMINMAX"] = True
46686
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
46908
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
46687
-    DEFINES["PSAPI_VERSION"] = "2"
46909
-    DEFINES["PSAPI_VERSION"] = "2"
46910
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
46688
-    DEFINES["UNICODE"] = True
46911
-    DEFINES["UNICODE"] = True
46689
-    DEFINES["USE_AURA"] = "1"
46912
-    DEFINES["USE_AURA"] = "1"
46690
-    DEFINES["WEBRTC_WIN"] = True
46913
-    DEFINES["WEBRTC_WIN"] = True
Lines 46757-46763 index 275c512cf6bb..d8f9ba076c5f 100644 Link Here
46757
 
46980
 
46758
 Library("vector_math_avx2_gn")
46981
 Library("vector_math_avx2_gn")
46759
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
46982
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
46760
index 263ec679e37d..e2c6c18ff9e0 100644
46983
index b901f045aafb..e2c6c18ff9e0 100644
46761
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_gn/moz.build
46984
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_gn/moz.build
46762
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_gn/moz.build
46985
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_gn/moz.build
46763
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
46986
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 46781-46787 index 263ec679e37d..e2c6c18ff9e0 100644 Link Here
46781
 
47004
 
46782
 FINAL_LIBRARY = "webrtc"
47005
 FINAL_LIBRARY = "webrtc"
46783
 
47006
 
46784
@@ -39,118 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
47007
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
46785
 if CONFIG["MOZ_DEBUG"] == "1":
47008
 if CONFIG["MOZ_DEBUG"] == "1":
46786
 
47009
 
46787
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
47010
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 46850-46855 index 263ec679e37d..e2c6c18ff9e0 100644 Link Here
46850
-    DEFINES["NOMINMAX"] = True
47073
-    DEFINES["NOMINMAX"] = True
46851
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
47074
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
46852
-    DEFINES["PSAPI_VERSION"] = "2"
47075
-    DEFINES["PSAPI_VERSION"] = "2"
47076
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
46853
-    DEFINES["UNICODE"] = True
47077
-    DEFINES["UNICODE"] = True
46854
-    DEFINES["USE_AURA"] = "1"
47078
-    DEFINES["USE_AURA"] = "1"
46855
-    DEFINES["WEBRTC_WIN"] = True
47079
-    DEFINES["WEBRTC_WIN"] = True
Lines 46901-46907 index 263ec679e37d..e2c6c18ff9e0 100644 Link Here
46901
 
47125
 
46902
 if CONFIG["CPU_ARCH"] == "x86":
47126
 if CONFIG["CPU_ARCH"] == "x86":
46903
 
47127
 
46904
@@ -160,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
47128
@@ -161,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
46905
 
47129
 
46906
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
47130
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
46907
 
47131
 
Lines 46961-46967 index 263ec679e37d..e2c6c18ff9e0 100644 Link Here
46961
-
47185
-
46962
 Library("vector_math_gn")
47186
 Library("vector_math_gn")
46963
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
47187
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
46964
index a1e6f309bffa..934bd6d2cdd2 100644
47188
index 57ace6dc36ca..25e1268d0588 100644
46965
--- third_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build
47189
--- third_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build
46966
+++ third_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build
47190
+++ third_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build
46967
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
47191
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
Lines 46970-46976 index a1e6f309bffa..934bd6d2cdd2 100644 Link Here
46970
 DEFINES["RTC_ENABLE_VP9"] = True
47194
 DEFINES["RTC_ENABLE_VP9"] = True
46971
+DEFINES["USE_GLIB"] = "1"
47195
+DEFINES["USE_GLIB"] = "1"
46972
+DEFINES["USE_OZONE"] = "1"
47196
+DEFINES["USE_OZONE"] = "1"
46973
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "0"
47197
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
46974
+DEFINES["WEBRTC_BSD"] = True
47198
+DEFINES["WEBRTC_BSD"] = True
46975
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
47199
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
46976
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
47200
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
Lines 46986-46992 index a1e6f309bffa..934bd6d2cdd2 100644 Link Here
46986
 
47210
 
46987
 FINAL_LIBRARY = "webrtc"
47211
 FINAL_LIBRARY = "webrtc"
46988
 
47212
 
46989
@@ -45,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
47213
@@ -45,191 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
46990
 if CONFIG["MOZ_DEBUG"] == "1":
47214
 if CONFIG["MOZ_DEBUG"] == "1":
46991
 
47215
 
46992
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
47216
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 47055-47060 index a1e6f309bffa..934bd6d2cdd2 100644 Link Here
47055
-    DEFINES["NOMINMAX"] = True
47279
-    DEFINES["NOMINMAX"] = True
47056
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
47280
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
47057
-    DEFINES["PSAPI_VERSION"] = "2"
47281
-    DEFINES["PSAPI_VERSION"] = "2"
47282
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
47058
-    DEFINES["UNICODE"] = True
47283
-    DEFINES["UNICODE"] = True
47059
-    DEFINES["USE_AURA"] = "1"
47284
-    DEFINES["USE_AURA"] = "1"
47060
-    DEFINES["WEBRTC_WIN"] = True
47285
-    DEFINES["WEBRTC_WIN"] = True
Lines 47184-47190 index a1e6f309bffa..934bd6d2cdd2 100644 Link Here
47184
 
47409
 
47185
 Library("saturation_protector_gn")
47410
 Library("saturation_protector_gn")
47186
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
47411
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
47187
index bb1dbc67b847..ad6f735a2729 100644
47412
index 52e43c4ba419..718d870cddd3 100644
47188
--- third_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build
47413
--- third_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build
47189
+++ third_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build
47414
+++ third_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build
47190
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
47415
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
Lines 47193-47199 index bb1dbc67b847..ad6f735a2729 100644 Link Here
47193
 DEFINES["RTC_ENABLE_VP9"] = True
47418
 DEFINES["RTC_ENABLE_VP9"] = True
47194
+DEFINES["USE_GLIB"] = "1"
47419
+DEFINES["USE_GLIB"] = "1"
47195
+DEFINES["USE_OZONE"] = "1"
47420
+DEFINES["USE_OZONE"] = "1"
47196
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "0"
47421
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
47197
+DEFINES["WEBRTC_BSD"] = True
47422
+DEFINES["WEBRTC_BSD"] = True
47198
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
47423
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
47199
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
47424
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
Lines 47209-47215 index bb1dbc67b847..ad6f735a2729 100644 Link Here
47209
 
47434
 
47210
 FINAL_LIBRARY = "webrtc"
47435
 FINAL_LIBRARY = "webrtc"
47211
 
47436
 
47212
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
47437
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
47213
 if CONFIG["MOZ_DEBUG"] == "1":
47438
 if CONFIG["MOZ_DEBUG"] == "1":
47214
 
47439
 
47215
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
47440
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 47278-47283 index bb1dbc67b847..ad6f735a2729 100644 Link Here
47278
-    DEFINES["NOMINMAX"] = True
47503
-    DEFINES["NOMINMAX"] = True
47279
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
47504
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
47280
-    DEFINES["PSAPI_VERSION"] = "2"
47505
-    DEFINES["PSAPI_VERSION"] = "2"
47506
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
47281
-    DEFINES["UNICODE"] = True
47507
-    DEFINES["UNICODE"] = True
47282
-    DEFINES["USE_AURA"] = "1"
47508
-    DEFINES["USE_AURA"] = "1"
47283
-    DEFINES["WEBRTC_WIN"] = True
47509
-    DEFINES["WEBRTC_WIN"] = True
Lines 47407-47413 index bb1dbc67b847..ad6f735a2729 100644 Link Here
47407
 
47633
 
47408
 Library("speech_level_estimator_gn")
47634
 Library("speech_level_estimator_gn")
47409
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
47635
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
47410
index dfa276510899..9f02e46a59fd 100644
47636
index c52db67c0c55..9f02e46a59fd 100644
47411
--- third_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build
47637
--- third_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build
47412
+++ third_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build
47638
+++ third_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build
47413
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
47639
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 47431-47437 index dfa276510899..9f02e46a59fd 100644 Link Here
47431
 
47657
 
47432
 FINAL_LIBRARY = "webrtc"
47658
 FINAL_LIBRARY = "webrtc"
47433
 
47659
 
47434
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
47660
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
47435
 if CONFIG["MOZ_DEBUG"] == "1":
47661
 if CONFIG["MOZ_DEBUG"] == "1":
47436
 
47662
 
47437
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
47663
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 47500-47505 index dfa276510899..9f02e46a59fd 100644 Link Here
47500
-    DEFINES["NOMINMAX"] = True
47726
-    DEFINES["NOMINMAX"] = True
47501
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
47727
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
47502
-    DEFINES["PSAPI_VERSION"] = "2"
47728
-    DEFINES["PSAPI_VERSION"] = "2"
47729
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
47503
-    DEFINES["UNICODE"] = True
47730
-    DEFINES["UNICODE"] = True
47504
-    DEFINES["USE_AURA"] = "1"
47731
-    DEFINES["USE_AURA"] = "1"
47505
-    DEFINES["WEBRTC_WIN"] = True
47732
-    DEFINES["WEBRTC_WIN"] = True
Lines 47629-47635 index dfa276510899..9f02e46a59fd 100644 Link Here
47629
 
47856
 
47630
 Library("vad_wrapper_gn")
47857
 Library("vad_wrapper_gn")
47631
diff --git third_party/libwebrtc/modules/audio_processing/api_gn/moz.build third_party/libwebrtc/modules/audio_processing/api_gn/moz.build
47858
diff --git third_party/libwebrtc/modules/audio_processing/api_gn/moz.build third_party/libwebrtc/modules/audio_processing/api_gn/moz.build
47632
index 7f1c48ac391e..d6226679c01e 100644
47859
index e88194c51d8d..d6226679c01e 100644
47633
--- third_party/libwebrtc/modules/audio_processing/api_gn/moz.build
47860
--- third_party/libwebrtc/modules/audio_processing/api_gn/moz.build
47634
+++ third_party/libwebrtc/modules/audio_processing/api_gn/moz.build
47861
+++ third_party/libwebrtc/modules/audio_processing/api_gn/moz.build
47635
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
47862
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 47653-47659 index 7f1c48ac391e..d6226679c01e 100644 Link Here
47653
 
47880
 
47654
 FINAL_LIBRARY = "webrtc"
47881
 FINAL_LIBRARY = "webrtc"
47655
 
47882
 
47656
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
47883
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
47657
 if CONFIG["MOZ_DEBUG"] == "1":
47884
 if CONFIG["MOZ_DEBUG"] == "1":
47658
 
47885
 
47659
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
47886
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 47718-47723 index 7f1c48ac391e..d6226679c01e 100644 Link Here
47718
-    DEFINES["NOMINMAX"] = True
47945
-    DEFINES["NOMINMAX"] = True
47719
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
47946
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
47720
-    DEFINES["PSAPI_VERSION"] = "2"
47947
-    DEFINES["PSAPI_VERSION"] = "2"
47948
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
47721
-    DEFINES["UNICODE"] = True
47949
-    DEFINES["UNICODE"] = True
47722
-    DEFINES["USE_AURA"] = "1"
47950
-    DEFINES["USE_AURA"] = "1"
47723
-    DEFINES["WEBRTC_WIN"] = True
47951
-    DEFINES["WEBRTC_WIN"] = True
Lines 47844-47850 index 7f1c48ac391e..d6226679c01e 100644 Link Here
47844
 
48072
 
47845
 Library("api_gn")
48073
 Library("api_gn")
47846
diff --git third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build
48074
diff --git third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build
47847
index b6d96414b469..7a4060eadad0 100644
48075
index e6cad40d45e0..b138ee7f9eed 100644
47848
--- third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build
48076
--- third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build
47849
+++ third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build
48077
+++ third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build
47850
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
48078
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
Lines 47853-47859 index b6d96414b469..7a4060eadad0 100644 Link Here
47853
 DEFINES["RTC_ENABLE_VP9"] = True
48081
 DEFINES["RTC_ENABLE_VP9"] = True
47854
+DEFINES["USE_GLIB"] = "1"
48082
+DEFINES["USE_GLIB"] = "1"
47855
+DEFINES["USE_OZONE"] = "1"
48083
+DEFINES["USE_OZONE"] = "1"
47856
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "0"
48084
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
47857
+DEFINES["WEBRTC_BSD"] = True
48085
+DEFINES["WEBRTC_BSD"] = True
47858
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
48086
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
47859
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
48087
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
Lines 47869-47875 index b6d96414b469..7a4060eadad0 100644 Link Here
47869
 
48097
 
47870
 FINAL_LIBRARY = "webrtc"
48098
 FINAL_LIBRARY = "webrtc"
47871
 
48099
 
47872
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
48100
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
47873
 if CONFIG["MOZ_DEBUG"] == "1":
48101
 if CONFIG["MOZ_DEBUG"] == "1":
47874
 
48102
 
47875
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
48103
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 47938-47943 index b6d96414b469..7a4060eadad0 100644 Link Here
47938
-    DEFINES["NOMINMAX"] = True
48166
-    DEFINES["NOMINMAX"] = True
47939
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
48167
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
47940
-    DEFINES["PSAPI_VERSION"] = "2"
48168
-    DEFINES["PSAPI_VERSION"] = "2"
48169
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
47941
-    DEFINES["UNICODE"] = True
48170
-    DEFINES["UNICODE"] = True
47942
-    DEFINES["USE_AURA"] = "1"
48171
-    DEFINES["USE_AURA"] = "1"
47943
-    DEFINES["WEBRTC_WIN"] = True
48172
-    DEFINES["WEBRTC_WIN"] = True
Lines 48067-48073 index b6d96414b469..7a4060eadad0 100644 Link Here
48067
 
48296
 
48068
 Library("apm_logging_gn")
48297
 Library("apm_logging_gn")
48069
diff --git third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build
48298
diff --git third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build
48070
index 2291d2981df8..a6e68e27491a 100644
48299
index 8d57447ae8ee..d0921ac35100 100644
48071
--- third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build
48300
--- third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build
48072
+++ third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build
48301
+++ third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build
48073
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
48302
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
Lines 48076-48082 index 2291d2981df8..a6e68e27491a 100644 Link Here
48076
 DEFINES["RTC_ENABLE_VP9"] = True
48305
 DEFINES["RTC_ENABLE_VP9"] = True
48077
+DEFINES["USE_GLIB"] = "1"
48306
+DEFINES["USE_GLIB"] = "1"
48078
+DEFINES["USE_OZONE"] = "1"
48307
+DEFINES["USE_OZONE"] = "1"
48079
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "0"
48308
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
48080
+DEFINES["WEBRTC_BSD"] = True
48309
+DEFINES["WEBRTC_BSD"] = True
48081
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
48310
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
48082
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
48311
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
Lines 48092-48098 index 2291d2981df8..a6e68e27491a 100644 Link Here
48092
 
48321
 
48093
 FINAL_LIBRARY = "webrtc"
48322
 FINAL_LIBRARY = "webrtc"
48094
 
48323
 
48095
@@ -46,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
48324
@@ -46,191 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
48096
 if CONFIG["MOZ_DEBUG"] == "1":
48325
 if CONFIG["MOZ_DEBUG"] == "1":
48097
 
48326
 
48098
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
48327
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 48161-48166 index 2291d2981df8..a6e68e27491a 100644 Link Here
48161
-    DEFINES["NOMINMAX"] = True
48390
-    DEFINES["NOMINMAX"] = True
48162
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
48391
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
48163
-    DEFINES["PSAPI_VERSION"] = "2"
48392
-    DEFINES["PSAPI_VERSION"] = "2"
48393
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
48164
-    DEFINES["UNICODE"] = True
48394
-    DEFINES["UNICODE"] = True
48165
-    DEFINES["USE_AURA"] = "1"
48395
-    DEFINES["USE_AURA"] = "1"
48166
-    DEFINES["WEBRTC_WIN"] = True
48396
-    DEFINES["WEBRTC_WIN"] = True
Lines 48290-48296 index 2291d2981df8..a6e68e27491a 100644 Link Here
48290
 
48520
 
48291
 Library("audio_buffer_gn")
48521
 Library("audio_buffer_gn")
48292
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
48522
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
48293
index 683d86e74389..d0b535438023 100644
48523
index 58380fe34bf3..d0b535438023 100644
48294
--- third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build
48524
--- third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build
48295
+++ third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build
48525
+++ third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build
48296
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
48526
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 48314-48320 index 683d86e74389..d0b535438023 100644 Link Here
48314
 
48544
 
48315
 FINAL_LIBRARY = "webrtc"
48545
 FINAL_LIBRARY = "webrtc"
48316
 
48546
 
48317
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
48547
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
48318
 if CONFIG["MOZ_DEBUG"] == "1":
48548
 if CONFIG["MOZ_DEBUG"] == "1":
48319
 
48549
 
48320
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
48550
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 48379-48384 index 683d86e74389..d0b535438023 100644 Link Here
48379
-    DEFINES["NOMINMAX"] = True
48609
-    DEFINES["NOMINMAX"] = True
48380
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
48610
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
48381
-    DEFINES["PSAPI_VERSION"] = "2"
48611
-    DEFINES["PSAPI_VERSION"] = "2"
48612
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
48382
-    DEFINES["UNICODE"] = True
48613
-    DEFINES["UNICODE"] = True
48383
-    DEFINES["USE_AURA"] = "1"
48614
-    DEFINES["USE_AURA"] = "1"
48384
-    DEFINES["WEBRTC_WIN"] = True
48615
-    DEFINES["WEBRTC_WIN"] = True
Lines 48505-48511 index 683d86e74389..d0b535438023 100644 Link Here
48505
 
48736
 
48506
 Library("audio_frame_proxies_gn")
48737
 Library("audio_frame_proxies_gn")
48507
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
48738
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
48508
index 9b90bca379fd..af0fce3d5e23 100644
48739
index ada921fa8de5..af0fce3d5e23 100644
48509
--- third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build
48740
--- third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build
48510
+++ third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build
48741
+++ third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build
48511
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
48742
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 48529-48535 index 9b90bca379fd..af0fce3d5e23 100644 Link Here
48529
 
48760
 
48530
 FINAL_LIBRARY = "webrtc"
48761
 FINAL_LIBRARY = "webrtc"
48531
 
48762
 
48532
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
48763
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
48533
 if CONFIG["MOZ_DEBUG"] == "1":
48764
 if CONFIG["MOZ_DEBUG"] == "1":
48534
 
48765
 
48535
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
48766
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 48594-48599 index 9b90bca379fd..af0fce3d5e23 100644 Link Here
48594
-    DEFINES["NOMINMAX"] = True
48825
-    DEFINES["NOMINMAX"] = True
48595
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
48826
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
48596
-    DEFINES["PSAPI_VERSION"] = "2"
48827
-    DEFINES["PSAPI_VERSION"] = "2"
48828
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
48597
-    DEFINES["UNICODE"] = True
48829
-    DEFINES["UNICODE"] = True
48598
-    DEFINES["USE_AURA"] = "1"
48830
-    DEFINES["USE_AURA"] = "1"
48599
-    DEFINES["WEBRTC_WIN"] = True
48831
-    DEFINES["WEBRTC_WIN"] = True
Lines 48638-48644 index 9b90bca379fd..af0fce3d5e23 100644 Link Here
48638
 
48870
 
48639
 if CONFIG["CPU_ARCH"] == "x86":
48871
 if CONFIG["CPU_ARCH"] == "x86":
48640
 
48872
 
48641
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
48873
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
48642
 
48874
 
48643
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
48875
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
48644
 
48876
 
Lines 48698-48704 index 9b90bca379fd..af0fce3d5e23 100644 Link Here
48698
-
48930
-
48699
 Library("audio_frame_view_gn")
48931
 Library("audio_frame_view_gn")
48700
diff --git third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build
48932
diff --git third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build
48701
index ab0ca7113f60..f5628add5044 100644
48933
index 6c0d656ce523..906e240158f9 100644
48702
--- third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build
48934
--- third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build
48703
+++ third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build
48935
+++ third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build
48704
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
48936
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
Lines 48707-48713 index ab0ca7113f60..f5628add5044 100644 Link Here
48707
 DEFINES["RTC_ENABLE_VP9"] = True
48939
 DEFINES["RTC_ENABLE_VP9"] = True
48708
+DEFINES["USE_GLIB"] = "1"
48940
+DEFINES["USE_GLIB"] = "1"
48709
+DEFINES["USE_OZONE"] = "1"
48941
+DEFINES["USE_OZONE"] = "1"
48710
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "0"
48942
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
48711
+DEFINES["WEBRTC_BSD"] = True
48943
+DEFINES["WEBRTC_BSD"] = True
48712
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
48944
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
48713
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
48945
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
Lines 48723-48729 index ab0ca7113f60..f5628add5044 100644 Link Here
48723
 
48955
 
48724
 FINAL_LIBRARY = "webrtc"
48956
 FINAL_LIBRARY = "webrtc"
48725
 
48957
 
48726
@@ -50,190 +59,32 @@ if not CONFIG["MOZ_DEBUG"]:
48958
@@ -50,191 +59,32 @@ if not CONFIG["MOZ_DEBUG"]:
48727
 if CONFIG["MOZ_DEBUG"] == "1":
48959
 if CONFIG["MOZ_DEBUG"] == "1":
48728
 
48960
 
48729
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
48961
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 48792-48797 index ab0ca7113f60..f5628add5044 100644 Link Here
48792
-    DEFINES["NOMINMAX"] = True
49024
-    DEFINES["NOMINMAX"] = True
48793
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
49025
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
48794
-    DEFINES["PSAPI_VERSION"] = "2"
49026
-    DEFINES["PSAPI_VERSION"] = "2"
49027
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
48795
-    DEFINES["UNICODE"] = True
49028
-    DEFINES["UNICODE"] = True
48796
-    DEFINES["USE_AURA"] = "1"
49029
-    DEFINES["USE_AURA"] = "1"
48797
-    DEFINES["WEBRTC_WIN"] = True
49030
-    DEFINES["WEBRTC_WIN"] = True
Lines 48921-48927 index ab0ca7113f60..f5628add5044 100644 Link Here
48921
 
49154
 
48922
 Library("audio_processing_gn")
49155
 Library("audio_processing_gn")
48923
diff --git third_party/libwebrtc/modules/audio_processing/audio_processing_statistics_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_processing_statistics_gn/moz.build
49156
diff --git third_party/libwebrtc/modules/audio_processing/audio_processing_statistics_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_processing_statistics_gn/moz.build
48924
index f0af20c33521..0e0173197c5f 100644
49157
index b329b9da4afa..0e0173197c5f 100644
48925
--- third_party/libwebrtc/modules/audio_processing/audio_processing_statistics_gn/moz.build
49158
--- third_party/libwebrtc/modules/audio_processing/audio_processing_statistics_gn/moz.build
48926
+++ third_party/libwebrtc/modules/audio_processing/audio_processing_statistics_gn/moz.build
49159
+++ third_party/libwebrtc/modules/audio_processing/audio_processing_statistics_gn/moz.build
48927
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
49160
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 48945-48951 index f0af20c33521..0e0173197c5f 100644 Link Here
48945
 
49178
 
48946
 FINAL_LIBRARY = "webrtc"
49179
 FINAL_LIBRARY = "webrtc"
48947
 
49180
 
48948
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
49181
@@ -43,176 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
48949
 if CONFIG["MOZ_DEBUG"] == "1":
49182
 if CONFIG["MOZ_DEBUG"] == "1":
48950
 
49183
 
48951
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
49184
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 49006-49011 index f0af20c33521..0e0173197c5f 100644 Link Here
49006
-    DEFINES["NOMINMAX"] = True
49239
-    DEFINES["NOMINMAX"] = True
49007
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
49240
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
49008
-    DEFINES["PSAPI_VERSION"] = "2"
49241
-    DEFINES["PSAPI_VERSION"] = "2"
49242
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
49009
-    DEFINES["UNICODE"] = True
49243
-    DEFINES["UNICODE"] = True
49010
-    DEFINES["USE_AURA"] = "1"
49244
-    DEFINES["USE_AURA"] = "1"
49011
-    DEFINES["WEBRTC_WIN"] = True
49245
-    DEFINES["WEBRTC_WIN"] = True
Lines 49128-49134 index f0af20c33521..0e0173197c5f 100644 Link Here
49128
 
49362
 
49129
 Library("audio_processing_statistics_gn")
49363
 Library("audio_processing_statistics_gn")
49130
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
49364
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
49131
index 3e57c48b6fc4..3ceff91af48f 100644
49365
index 9059e855c828..3ceff91af48f 100644
49132
--- third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build
49366
--- third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build
49133
+++ third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build
49367
+++ third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build
49134
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
49368
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 49152-49158 index 3e57c48b6fc4..3ceff91af48f 100644 Link Here
49152
 
49386
 
49153
 FINAL_LIBRARY = "webrtc"
49387
 FINAL_LIBRARY = "webrtc"
49154
 
49388
 
49155
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
49389
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
49156
 if CONFIG["MOZ_DEBUG"] == "1":
49390
 if CONFIG["MOZ_DEBUG"] == "1":
49157
 
49391
 
49158
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
49392
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 49221-49226 index 3e57c48b6fc4..3ceff91af48f 100644 Link Here
49221
-    DEFINES["NOMINMAX"] = True
49455
-    DEFINES["NOMINMAX"] = True
49222
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
49456
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
49223
-    DEFINES["PSAPI_VERSION"] = "2"
49457
-    DEFINES["PSAPI_VERSION"] = "2"
49458
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
49224
-    DEFINES["UNICODE"] = True
49459
-    DEFINES["UNICODE"] = True
49225
-    DEFINES["USE_AURA"] = "1"
49460
-    DEFINES["USE_AURA"] = "1"
49226
-    DEFINES["WEBRTC_WIN"] = True
49461
-    DEFINES["WEBRTC_WIN"] = True
Lines 49350-49356 index 3e57c48b6fc4..3ceff91af48f 100644 Link Here
49350
 
49585
 
49351
 Library("capture_levels_adjuster_gn")
49586
 Library("capture_levels_adjuster_gn")
49352
diff --git third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build
49587
diff --git third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build
49353
index fcbe873d276a..f87fc5607282 100644
49588
index 5b8f67accbaf..6abe5e1363e5 100644
49354
--- third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build
49589
--- third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build
49355
+++ third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build
49590
+++ third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build
49356
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
49591
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
Lines 49359-49365 index fcbe873d276a..f87fc5607282 100644 Link Here
49359
 DEFINES["RTC_ENABLE_VP9"] = True
49594
 DEFINES["RTC_ENABLE_VP9"] = True
49360
+DEFINES["USE_GLIB"] = "1"
49595
+DEFINES["USE_GLIB"] = "1"
49361
+DEFINES["USE_OZONE"] = "1"
49596
+DEFINES["USE_OZONE"] = "1"
49362
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "0"
49597
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
49363
+DEFINES["WEBRTC_BSD"] = True
49598
+DEFINES["WEBRTC_BSD"] = True
49364
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
49599
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
49365
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
49600
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
Lines 49375-49381 index fcbe873d276a..f87fc5607282 100644 Link Here
49375
 
49610
 
49376
 FINAL_LIBRARY = "webrtc"
49611
 FINAL_LIBRARY = "webrtc"
49377
 
49612
 
49378
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
49613
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
49379
 if CONFIG["MOZ_DEBUG"] == "1":
49614
 if CONFIG["MOZ_DEBUG"] == "1":
49380
 
49615
 
49381
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
49616
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 49444-49449 index fcbe873d276a..f87fc5607282 100644 Link Here
49444
-    DEFINES["NOMINMAX"] = True
49679
-    DEFINES["NOMINMAX"] = True
49445
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
49680
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
49446
-    DEFINES["PSAPI_VERSION"] = "2"
49681
-    DEFINES["PSAPI_VERSION"] = "2"
49682
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
49447
-    DEFINES["UNICODE"] = True
49683
-    DEFINES["UNICODE"] = True
49448
-    DEFINES["USE_AURA"] = "1"
49684
-    DEFINES["USE_AURA"] = "1"
49449
-    DEFINES["WEBRTC_WIN"] = True
49685
-    DEFINES["WEBRTC_WIN"] = True
Lines 49573-49579 index fcbe873d276a..f87fc5607282 100644 Link Here
49573
 
49809
 
49574
 Library("gain_controller2_gn")
49810
 Library("gain_controller2_gn")
49575
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
49811
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
49576
index 4c8aac9c3dad..28352a6c74f4 100644
49812
index 2cb0bded2b77..28352a6c74f4 100644
49577
--- third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build
49813
--- third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build
49578
+++ third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build
49814
+++ third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build
49579
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
49815
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 49597-49603 index 4c8aac9c3dad..28352a6c74f4 100644 Link Here
49597
 
49833
 
49598
 FINAL_LIBRARY = "webrtc"
49834
 FINAL_LIBRARY = "webrtc"
49599
 
49835
 
49600
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
49836
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
49601
 if CONFIG["MOZ_DEBUG"] == "1":
49837
 if CONFIG["MOZ_DEBUG"] == "1":
49602
 
49838
 
49603
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
49839
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 49666-49671 index 4c8aac9c3dad..28352a6c74f4 100644 Link Here
49666
-    DEFINES["NOMINMAX"] = True
49902
-    DEFINES["NOMINMAX"] = True
49667
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
49903
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
49668
-    DEFINES["PSAPI_VERSION"] = "2"
49904
-    DEFINES["PSAPI_VERSION"] = "2"
49905
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
49669
-    DEFINES["UNICODE"] = True
49906
-    DEFINES["UNICODE"] = True
49670
-    DEFINES["USE_AURA"] = "1"
49907
-    DEFINES["USE_AURA"] = "1"
49671
-    DEFINES["WEBRTC_WIN"] = True
49908
-    DEFINES["WEBRTC_WIN"] = True
Lines 49795-49801 index 4c8aac9c3dad..28352a6c74f4 100644 Link Here
49795
 
50032
 
49796
 Library("high_pass_filter_gn")
50033
 Library("high_pass_filter_gn")
49797
diff --git third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build
50034
diff --git third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build
49798
index 12076eedcb58..467f6e1046bb 100644
50035
index 015428756672..7564f587464b 100644
49799
--- third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build
50036
--- third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build
49800
+++ third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build
50037
+++ third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build
49801
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
50038
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
Lines 49804-49810 index 12076eedcb58..467f6e1046bb 100644 Link Here
49804
 DEFINES["RTC_ENABLE_VP9"] = True
50041
 DEFINES["RTC_ENABLE_VP9"] = True
49805
+DEFINES["USE_GLIB"] = "1"
50042
+DEFINES["USE_GLIB"] = "1"
49806
+DEFINES["USE_OZONE"] = "1"
50043
+DEFINES["USE_OZONE"] = "1"
49807
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "0"
50044
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
49808
+DEFINES["WEBRTC_BSD"] = True
50045
+DEFINES["WEBRTC_BSD"] = True
49809
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
50046
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
49810
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
50047
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
Lines 49820-49826 index 12076eedcb58..467f6e1046bb 100644 Link Here
49820
 
50057
 
49821
 FINAL_LIBRARY = "webrtc"
50058
 FINAL_LIBRARY = "webrtc"
49822
 
50059
 
49823
@@ -56,190 +65,32 @@ if not CONFIG["MOZ_DEBUG"]:
50060
@@ -56,191 +65,32 @@ if not CONFIG["MOZ_DEBUG"]:
49824
 if CONFIG["MOZ_DEBUG"] == "1":
50061
 if CONFIG["MOZ_DEBUG"] == "1":
49825
 
50062
 
49826
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
50063
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 49889-49894 index 12076eedcb58..467f6e1046bb 100644 Link Here
49889
-    DEFINES["NOMINMAX"] = True
50126
-    DEFINES["NOMINMAX"] = True
49890
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
50127
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
49891
-    DEFINES["PSAPI_VERSION"] = "2"
50128
-    DEFINES["PSAPI_VERSION"] = "2"
50129
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
49892
-    DEFINES["UNICODE"] = True
50130
-    DEFINES["UNICODE"] = True
49893
-    DEFINES["USE_AURA"] = "1"
50131
-    DEFINES["USE_AURA"] = "1"
49894
-    DEFINES["WEBRTC_WIN"] = True
50132
-    DEFINES["WEBRTC_WIN"] = True
Lines 50018-50024 index 12076eedcb58..467f6e1046bb 100644 Link Here
50018
 
50256
 
50019
 Library("ns_gn")
50257
 Library("ns_gn")
50020
diff --git third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build
50258
diff --git third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build
50021
index 3e4fa4ca518f..3bd588630b7e 100644
50259
index da50a17adc2e..3bd588630b7e 100644
50022
--- third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build
50260
--- third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build
50023
+++ third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build
50261
+++ third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build
50024
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
50262
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 50042-50048 index 3e4fa4ca518f..3bd588630b7e 100644 Link Here
50042
 
50280
 
50043
 FINAL_LIBRARY = "webrtc"
50281
 FINAL_LIBRARY = "webrtc"
50044
 
50282
 
50045
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
50283
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
50046
 if CONFIG["MOZ_DEBUG"] == "1":
50284
 if CONFIG["MOZ_DEBUG"] == "1":
50047
 
50285
 
50048
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
50286
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 50111-50116 index 3e4fa4ca518f..3bd588630b7e 100644 Link Here
50111
-    DEFINES["NOMINMAX"] = True
50349
-    DEFINES["NOMINMAX"] = True
50112
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
50350
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
50113
-    DEFINES["PSAPI_VERSION"] = "2"
50351
-    DEFINES["PSAPI_VERSION"] = "2"
50352
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
50114
-    DEFINES["UNICODE"] = True
50353
-    DEFINES["UNICODE"] = True
50115
-    DEFINES["USE_AURA"] = "1"
50354
-    DEFINES["USE_AURA"] = "1"
50116
-    DEFINES["WEBRTC_WIN"] = True
50355
-    DEFINES["WEBRTC_WIN"] = True
Lines 50240-50246 index 3e4fa4ca518f..3bd588630b7e 100644 Link Here
50240
 
50479
 
50241
 Library("optionally_built_submodule_creators_gn")
50480
 Library("optionally_built_submodule_creators_gn")
50242
diff --git third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build
50481
diff --git third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build
50243
index ec35734b6dfc..de1436046491 100644
50482
index b7826745233f..de1436046491 100644
50244
--- third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build
50483
--- third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build
50245
+++ third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build
50484
+++ third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build
50246
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
50485
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 50264-50270 index ec35734b6dfc..de1436046491 100644 Link Here
50264
 
50503
 
50265
 FINAL_LIBRARY = "webrtc"
50504
 FINAL_LIBRARY = "webrtc"
50266
 
50505
 
50267
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
50506
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
50268
 if CONFIG["MOZ_DEBUG"] == "1":
50507
 if CONFIG["MOZ_DEBUG"] == "1":
50269
 
50508
 
50270
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
50509
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 50329-50334 index ec35734b6dfc..de1436046491 100644 Link Here
50329
-    DEFINES["NOMINMAX"] = True
50568
-    DEFINES["NOMINMAX"] = True
50330
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
50569
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
50331
-    DEFINES["PSAPI_VERSION"] = "2"
50570
-    DEFINES["PSAPI_VERSION"] = "2"
50571
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
50332
-    DEFINES["UNICODE"] = True
50572
-    DEFINES["UNICODE"] = True
50333
-    DEFINES["USE_AURA"] = "1"
50573
-    DEFINES["USE_AURA"] = "1"
50334
-    DEFINES["WEBRTC_WIN"] = True
50574
-    DEFINES["WEBRTC_WIN"] = True
Lines 50451-50457 index ec35734b6dfc..de1436046491 100644 Link Here
50451
 
50691
 
50452
 Library("rms_level_gn")
50692
 Library("rms_level_gn")
50453
diff --git third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build
50693
diff --git third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build
50454
index 5988e89a6a2a..5b680cbdd1fb 100644
50694
index bd4d35d045b2..5b680cbdd1fb 100644
50455
--- third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build
50695
--- third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build
50456
+++ third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build
50696
+++ third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build
50457
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
50697
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 50475-50481 index 5988e89a6a2a..5b680cbdd1fb 100644 Link Here
50475
 
50715
 
50476
 FINAL_LIBRARY = "webrtc"
50716
 FINAL_LIBRARY = "webrtc"
50477
 
50717
 
50478
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
50718
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
50479
 if CONFIG["MOZ_DEBUG"] == "1":
50719
 if CONFIG["MOZ_DEBUG"] == "1":
50480
 
50720
 
50481
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
50721
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 50536-50541 index 5988e89a6a2a..5b680cbdd1fb 100644 Link Here
50536
-    DEFINES["NOMINMAX"] = True
50776
-    DEFINES["NOMINMAX"] = True
50537
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
50777
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
50538
-    DEFINES["PSAPI_VERSION"] = "2"
50778
-    DEFINES["PSAPI_VERSION"] = "2"
50779
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
50539
-    DEFINES["UNICODE"] = True
50780
-    DEFINES["UNICODE"] = True
50540
-    DEFINES["USE_AURA"] = "1"
50781
-    DEFINES["USE_AURA"] = "1"
50541
-    DEFINES["WEBRTC_WIN"] = True
50782
-    DEFINES["WEBRTC_WIN"] = True
Lines 50580-50586 index 5988e89a6a2a..5b680cbdd1fb 100644 Link Here
50580
 
50821
 
50581
 if CONFIG["CPU_ARCH"] == "x86":
50822
 if CONFIG["CPU_ARCH"] == "x86":
50582
 
50823
 
50583
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
50824
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
50584
 
50825
 
50585
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
50826
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
50586
 
50827
 
Lines 50640-50646 index 5988e89a6a2a..5b680cbdd1fb 100644 Link Here
50640
-
50881
-
50641
 Library("transient_suppressor_api_gn")
50882
 Library("transient_suppressor_api_gn")
50642
diff --git third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build
50883
diff --git third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build
50643
index ee6b82a2f629..d7a2d68e8bf0 100644
50884
index 760ef49df8ca..d7a2d68e8bf0 100644
50644
--- third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build
50885
--- third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build
50645
+++ third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build
50886
+++ third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build
50646
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
50887
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 50664-50670 index ee6b82a2f629..d7a2d68e8bf0 100644 Link Here
50664
 
50905
 
50665
 FINAL_LIBRARY = "webrtc"
50906
 FINAL_LIBRARY = "webrtc"
50666
 
50907
 
50667
@@ -47,190 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
50908
@@ -47,191 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
50668
 if CONFIG["MOZ_DEBUG"] == "1":
50909
 if CONFIG["MOZ_DEBUG"] == "1":
50669
 
50910
 
50670
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
50911
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 50733-50738 index ee6b82a2f629..d7a2d68e8bf0 100644 Link Here
50733
-    DEFINES["NOMINMAX"] = True
50974
-    DEFINES["NOMINMAX"] = True
50734
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
50975
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
50735
-    DEFINES["PSAPI_VERSION"] = "2"
50976
-    DEFINES["PSAPI_VERSION"] = "2"
50977
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
50736
-    DEFINES["UNICODE"] = True
50978
-    DEFINES["UNICODE"] = True
50737
-    DEFINES["USE_AURA"] = "1"
50979
-    DEFINES["USE_AURA"] = "1"
50738
-    DEFINES["WEBRTC_WIN"] = True
50980
-    DEFINES["WEBRTC_WIN"] = True
Lines 50862-50868 index ee6b82a2f629..d7a2d68e8bf0 100644 Link Here
50862
 
51104
 
50863
 Library("transient_suppressor_impl_gn")
51105
 Library("transient_suppressor_impl_gn")
50864
diff --git third_party/libwebrtc/modules/audio_processing/transient/voice_probability_delay_unit_gn/moz.build third_party/libwebrtc/modules/audio_processing/transient/voice_probability_delay_unit_gn/moz.build
51106
diff --git third_party/libwebrtc/modules/audio_processing/transient/voice_probability_delay_unit_gn/moz.build third_party/libwebrtc/modules/audio_processing/transient/voice_probability_delay_unit_gn/moz.build
50865
index e2abcb849006..6deaa3bbf6a4 100644
51107
index fe78982fccb4..6deaa3bbf6a4 100644
50866
--- third_party/libwebrtc/modules/audio_processing/transient/voice_probability_delay_unit_gn/moz.build
51108
--- third_party/libwebrtc/modules/audio_processing/transient/voice_probability_delay_unit_gn/moz.build
50867
+++ third_party/libwebrtc/modules/audio_processing/transient/voice_probability_delay_unit_gn/moz.build
51109
+++ third_party/libwebrtc/modules/audio_processing/transient/voice_probability_delay_unit_gn/moz.build
50868
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
51110
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 50886-50892 index e2abcb849006..6deaa3bbf6a4 100644 Link Here
50886
 
51128
 
50887
 FINAL_LIBRARY = "webrtc"
51129
 FINAL_LIBRARY = "webrtc"
50888
 
51130
 
50889
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
51131
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
50890
 if CONFIG["MOZ_DEBUG"] == "1":
51132
 if CONFIG["MOZ_DEBUG"] == "1":
50891
 
51133
 
50892
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
51134
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 50951-50956 index e2abcb849006..6deaa3bbf6a4 100644 Link Here
50951
-    DEFINES["NOMINMAX"] = True
51193
-    DEFINES["NOMINMAX"] = True
50952
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
51194
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
50953
-    DEFINES["PSAPI_VERSION"] = "2"
51195
-    DEFINES["PSAPI_VERSION"] = "2"
51196
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
50954
-    DEFINES["UNICODE"] = True
51197
-    DEFINES["UNICODE"] = True
50955
-    DEFINES["USE_AURA"] = "1"
51198
-    DEFINES["USE_AURA"] = "1"
50956
-    DEFINES["WEBRTC_WIN"] = True
51199
-    DEFINES["WEBRTC_WIN"] = True
Lines 51073-51079 index e2abcb849006..6deaa3bbf6a4 100644 Link Here
51073
 
51316
 
51074
 Library("voice_probability_delay_unit_gn")
51317
 Library("voice_probability_delay_unit_gn")
51075
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
51318
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
51076
index 8cf3aaefeb48..ae86ec0ff176 100644
51319
index fb26a58f0c21..ae86ec0ff176 100644
51077
--- third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build
51320
--- third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build
51078
+++ third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build
51321
+++ third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build
51079
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
51322
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 51097-51103 index 8cf3aaefeb48..ae86ec0ff176 100644 Link Here
51097
 
51340
 
51098
 FINAL_LIBRARY = "webrtc"
51341
 FINAL_LIBRARY = "webrtc"
51099
 
51342
 
51100
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
51343
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
51101
 if CONFIG["MOZ_DEBUG"] == "1":
51344
 if CONFIG["MOZ_DEBUG"] == "1":
51102
 
51345
 
51103
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
51346
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 51162-51167 index 8cf3aaefeb48..ae86ec0ff176 100644 Link Here
51162
-    DEFINES["NOMINMAX"] = True
51405
-    DEFINES["NOMINMAX"] = True
51163
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
51406
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
51164
-    DEFINES["PSAPI_VERSION"] = "2"
51407
-    DEFINES["PSAPI_VERSION"] = "2"
51408
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
51165
-    DEFINES["UNICODE"] = True
51409
-    DEFINES["UNICODE"] = True
51166
-    DEFINES["USE_AURA"] = "1"
51410
-    DEFINES["USE_AURA"] = "1"
51167
-    DEFINES["WEBRTC_WIN"] = True
51411
-    DEFINES["WEBRTC_WIN"] = True
Lines 51284-51290 index 8cf3aaefeb48..ae86ec0ff176 100644 Link Here
51284
 
51528
 
51285
 Library("cascaded_biquad_filter_gn")
51529
 Library("cascaded_biquad_filter_gn")
51286
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
51530
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
51287
index 11294e2aefb8..0d5e4b712c18 100644
51531
index 15acb8a20a1e..0d5e4b712c18 100644
51288
--- third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build
51532
--- third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build
51289
+++ third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build
51533
+++ third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build
51290
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
51534
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 51308-51314 index 11294e2aefb8..0d5e4b712c18 100644 Link Here
51308
 
51552
 
51309
 FINAL_LIBRARY = "webrtc"
51553
 FINAL_LIBRARY = "webrtc"
51310
 
51554
 
51311
@@ -44,179 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
51555
@@ -44,180 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
51312
 if CONFIG["MOZ_DEBUG"] == "1":
51556
 if CONFIG["MOZ_DEBUG"] == "1":
51313
 
51557
 
51314
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
51558
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 51373-51378 index 11294e2aefb8..0d5e4b712c18 100644 Link Here
51373
-    DEFINES["NOMINMAX"] = True
51617
-    DEFINES["NOMINMAX"] = True
51374
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
51618
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
51375
-    DEFINES["PSAPI_VERSION"] = "2"
51619
-    DEFINES["PSAPI_VERSION"] = "2"
51620
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
51376
-    DEFINES["UNICODE"] = True
51621
-    DEFINES["UNICODE"] = True
51377
-    DEFINES["USE_AURA"] = "1"
51622
-    DEFINES["USE_AURA"] = "1"
51378
-    DEFINES["WEBRTC_WIN"] = True
51623
-    DEFINES["WEBRTC_WIN"] = True
Lines 51495-51501 index 11294e2aefb8..0d5e4b712c18 100644 Link Here
51495
 
51740
 
51496
 Library("legacy_delay_estimator_gn")
51741
 Library("legacy_delay_estimator_gn")
51497
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
51742
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
51498
index 02898359bf06..7d5ad6e0e09e 100644
51743
index ccc722407aee..7d5ad6e0e09e 100644
51499
--- third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build
51744
--- third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build
51500
+++ third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build
51745
+++ third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build
51501
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
51746
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 51519-51525 index 02898359bf06..7d5ad6e0e09e 100644 Link Here
51519
 
51764
 
51520
 FINAL_LIBRARY = "webrtc"
51765
 FINAL_LIBRARY = "webrtc"
51521
 
51766
 
51522
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
51767
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
51523
 if CONFIG["MOZ_DEBUG"] == "1":
51768
 if CONFIG["MOZ_DEBUG"] == "1":
51524
 
51769
 
51525
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
51770
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 51584-51589 index 02898359bf06..7d5ad6e0e09e 100644 Link Here
51584
-    DEFINES["NOMINMAX"] = True
51829
-    DEFINES["NOMINMAX"] = True
51585
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
51830
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
51586
-    DEFINES["PSAPI_VERSION"] = "2"
51831
-    DEFINES["PSAPI_VERSION"] = "2"
51832
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
51587
-    DEFINES["UNICODE"] = True
51833
-    DEFINES["UNICODE"] = True
51588
-    DEFINES["USE_AURA"] = "1"
51834
-    DEFINES["USE_AURA"] = "1"
51589
-    DEFINES["WEBRTC_WIN"] = True
51835
-    DEFINES["WEBRTC_WIN"] = True
Lines 51706-51712 index 02898359bf06..7d5ad6e0e09e 100644 Link Here
51706
 
51952
 
51707
 Library("pffft_wrapper_gn")
51953
 Library("pffft_wrapper_gn")
51708
diff --git third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build
51954
diff --git third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build
51709
index 0e76427c6e5f..b452ab92154e 100644
51955
index 5f04593b2e61..b452ab92154e 100644
51710
--- third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build
51956
--- third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build
51711
+++ third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build
51957
+++ third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build
51712
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
51958
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 51730-51736 index 0e76427c6e5f..b452ab92154e 100644 Link Here
51730
 
51976
 
51731
 FINAL_LIBRARY = "webrtc"
51977
 FINAL_LIBRARY = "webrtc"
51732
 
51978
 
51733
@@ -50,190 +59,32 @@ if not CONFIG["MOZ_DEBUG"]:
51979
@@ -50,191 +59,32 @@ if not CONFIG["MOZ_DEBUG"]:
51734
 if CONFIG["MOZ_DEBUG"] == "1":
51980
 if CONFIG["MOZ_DEBUG"] == "1":
51735
 
51981
 
51736
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
51982
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 51799-51804 index 0e76427c6e5f..b452ab92154e 100644 Link Here
51799
-    DEFINES["NOMINMAX"] = True
52045
-    DEFINES["NOMINMAX"] = True
51800
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
52046
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
51801
-    DEFINES["PSAPI_VERSION"] = "2"
52047
-    DEFINES["PSAPI_VERSION"] = "2"
52048
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
51802
-    DEFINES["UNICODE"] = True
52049
-    DEFINES["UNICODE"] = True
51803
-    DEFINES["USE_AURA"] = "1"
52050
-    DEFINES["USE_AURA"] = "1"
51804
-    DEFINES["WEBRTC_WIN"] = True
52051
-    DEFINES["WEBRTC_WIN"] = True
Lines 51928-51934 index 0e76427c6e5f..b452ab92154e 100644 Link Here
51928
 
52175
 
51929
 Library("vad_gn")
52176
 Library("vad_gn")
51930
diff --git third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build
52177
diff --git third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build
51931
index 700c1d15f44f..02587d185dd1 100644
52178
index 2e33abbeed55..02587d185dd1 100644
51932
--- third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build
52179
--- third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build
51933
+++ third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build
52180
+++ third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build
51934
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
52181
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
Lines 51952-51958 index 700c1d15f44f..02587d185dd1 100644 Link Here
51952
 
52199
 
51953
 FINAL_LIBRARY = "webrtc"
52200
 FINAL_LIBRARY = "webrtc"
51954
 
52201
 
51955
@@ -45,191 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
52202
@@ -45,192 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
51956
 if CONFIG["MOZ_DEBUG"] == "1":
52203
 if CONFIG["MOZ_DEBUG"] == "1":
51957
 
52204
 
51958
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
52205
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 52022-52027 index 700c1d15f44f..02587d185dd1 100644 Link Here
52022
-    DEFINES["NOMINMAX"] = True
52269
-    DEFINES["NOMINMAX"] = True
52023
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
52270
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
52024
-    DEFINES["PSAPI_VERSION"] = "2"
52271
-    DEFINES["PSAPI_VERSION"] = "2"
52272
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
52025
-    DEFINES["UNICODE"] = True
52273
-    DEFINES["UNICODE"] = True
52026
-    DEFINES["USE_AURA"] = "1"
52274
-    DEFINES["USE_AURA"] = "1"
52027
-    DEFINES["WEBRTC_WIN"] = True
52275
-    DEFINES["WEBRTC_WIN"] = True
Lines 52151-52157 index 700c1d15f44f..02587d185dd1 100644 Link Here
52151
 
52399
 
52152
 Library("congestion_controller_gn")
52400
 Library("congestion_controller_gn")
52153
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
52401
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
52154
index f6520bf35800..0b35f2f82c75 100644
52402
index e889e0aa39c2..0b35f2f82c75 100644
52155
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build
52403
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build
52156
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build
52404
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build
52157
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
52405
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 52175-52181 index f6520bf35800..0b35f2f82c75 100644 Link Here
52175
 
52423
 
52176
 FINAL_LIBRARY = "webrtc"
52424
 FINAL_LIBRARY = "webrtc"
52177
 
52425
 
52178
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
52426
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
52179
 if CONFIG["MOZ_DEBUG"] == "1":
52427
 if CONFIG["MOZ_DEBUG"] == "1":
52180
 
52428
 
52181
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
52429
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 52240-52245 index f6520bf35800..0b35f2f82c75 100644 Link Here
52240
-    DEFINES["NOMINMAX"] = True
52488
-    DEFINES["NOMINMAX"] = True
52241
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
52489
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
52242
-    DEFINES["PSAPI_VERSION"] = "2"
52490
-    DEFINES["PSAPI_VERSION"] = "2"
52491
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
52243
-    DEFINES["UNICODE"] = True
52492
-    DEFINES["UNICODE"] = True
52244
-    DEFINES["USE_AURA"] = "1"
52493
-    DEFINES["USE_AURA"] = "1"
52245
-    DEFINES["WEBRTC_WIN"] = True
52494
-    DEFINES["WEBRTC_WIN"] = True
Lines 52366-52372 index f6520bf35800..0b35f2f82c75 100644 Link Here
52366
 
52615
 
52367
 Library("alr_detector_gn")
52616
 Library("alr_detector_gn")
52368
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
52617
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
52369
index 35ba379f71c0..ff1a426bf5d3 100644
52618
index 0eb57708337c..ff1a426bf5d3 100644
52370
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build
52619
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build
52371
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build
52620
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build
52372
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
52621
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
Lines 52390-52396 index 35ba379f71c0..ff1a426bf5d3 100644 Link Here
52390
 
52639
 
52391
 FINAL_LIBRARY = "webrtc"
52640
 FINAL_LIBRARY = "webrtc"
52392
 
52641
 
52393
@@ -45,191 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
52642
@@ -45,192 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
52394
 if CONFIG["MOZ_DEBUG"] == "1":
52643
 if CONFIG["MOZ_DEBUG"] == "1":
52395
 
52644
 
52396
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
52645
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 52460-52465 index 35ba379f71c0..ff1a426bf5d3 100644 Link Here
52460
-    DEFINES["NOMINMAX"] = True
52709
-    DEFINES["NOMINMAX"] = True
52461
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
52710
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
52462
-    DEFINES["PSAPI_VERSION"] = "2"
52711
-    DEFINES["PSAPI_VERSION"] = "2"
52712
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
52463
-    DEFINES["UNICODE"] = True
52713
-    DEFINES["UNICODE"] = True
52464
-    DEFINES["USE_AURA"] = "1"
52714
-    DEFINES["USE_AURA"] = "1"
52465
-    DEFINES["WEBRTC_WIN"] = True
52715
-    DEFINES["WEBRTC_WIN"] = True
Lines 52589-52595 index 35ba379f71c0..ff1a426bf5d3 100644 Link Here
52589
 
52839
 
52590
 Library("delay_based_bwe_gn")
52840
 Library("delay_based_bwe_gn")
52591
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
52841
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
52592
index b15062af41c8..3e8439f74637 100644
52842
index ba9bed4906f6..3e8439f74637 100644
52593
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build
52843
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build
52594
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build
52844
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build
52595
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
52845
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
Lines 52613-52619 index b15062af41c8..3e8439f74637 100644 Link Here
52613
 
52863
 
52614
 FINAL_LIBRARY = "webrtc"
52864
 FINAL_LIBRARY = "webrtc"
52615
 
52865
 
52616
@@ -49,190 +58,32 @@ if not CONFIG["MOZ_DEBUG"]:
52866
@@ -49,191 +58,32 @@ if not CONFIG["MOZ_DEBUG"]:
52617
 if CONFIG["MOZ_DEBUG"] == "1":
52867
 if CONFIG["MOZ_DEBUG"] == "1":
52618
 
52868
 
52619
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
52869
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 52682-52687 index b15062af41c8..3e8439f74637 100644 Link Here
52682
-    DEFINES["NOMINMAX"] = True
52932
-    DEFINES["NOMINMAX"] = True
52683
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
52933
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
52684
-    DEFINES["PSAPI_VERSION"] = "2"
52934
-    DEFINES["PSAPI_VERSION"] = "2"
52935
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
52685
-    DEFINES["UNICODE"] = True
52936
-    DEFINES["UNICODE"] = True
52686
-    DEFINES["USE_AURA"] = "1"
52937
-    DEFINES["USE_AURA"] = "1"
52687
-    DEFINES["WEBRTC_WIN"] = True
52938
-    DEFINES["WEBRTC_WIN"] = True
Lines 52811-52817 index b15062af41c8..3e8439f74637 100644 Link Here
52811
 
53062
 
52812
 Library("estimators_gn")
53063
 Library("estimators_gn")
52813
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
53064
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
52814
index de5ccaa0c810..49adaa09b004 100644
53065
index 43b2f6e7df5e..49adaa09b004 100644
52815
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build
53066
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build
52816
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build
53067
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build
52817
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
53068
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
Lines 52835-52841 index de5ccaa0c810..49adaa09b004 100644 Link Here
52835
 
53086
 
52836
 FINAL_LIBRARY = "webrtc"
53087
 FINAL_LIBRARY = "webrtc"
52837
 
53088
 
52838
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
53089
@@ -44,192 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
52839
 if CONFIG["MOZ_DEBUG"] == "1":
53090
 if CONFIG["MOZ_DEBUG"] == "1":
52840
 
53091
 
52841
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
53092
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 52905-52910 index de5ccaa0c810..49adaa09b004 100644 Link Here
52905
-    DEFINES["NOMINMAX"] = True
53156
-    DEFINES["NOMINMAX"] = True
52906
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
53157
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
52907
-    DEFINES["PSAPI_VERSION"] = "2"
53158
-    DEFINES["PSAPI_VERSION"] = "2"
53159
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
52908
-    DEFINES["UNICODE"] = True
53160
-    DEFINES["UNICODE"] = True
52909
-    DEFINES["USE_AURA"] = "1"
53161
-    DEFINES["USE_AURA"] = "1"
52910
-    DEFINES["WEBRTC_WIN"] = True
53162
-    DEFINES["WEBRTC_WIN"] = True
Lines 53034-53040 index de5ccaa0c810..49adaa09b004 100644 Link Here
53034
 
53286
 
53035
 Library("goog_cc_gn")
53287
 Library("goog_cc_gn")
53036
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
53288
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
53037
index 829ff47d87db..3f777466098c 100644
53289
index 0d6561d92a2c..3f777466098c 100644
53038
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build
53290
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build
53039
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build
53291
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build
53040
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
53292
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 53058-53064 index 829ff47d87db..3f777466098c 100644 Link Here
53058
 
53310
 
53059
 FINAL_LIBRARY = "webrtc"
53311
 FINAL_LIBRARY = "webrtc"
53060
 
53312
 
53061
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
53313
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
53062
 if CONFIG["MOZ_DEBUG"] == "1":
53314
 if CONFIG["MOZ_DEBUG"] == "1":
53063
 
53315
 
53064
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
53316
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 53123-53128 index 829ff47d87db..3f777466098c 100644 Link Here
53123
-    DEFINES["NOMINMAX"] = True
53375
-    DEFINES["NOMINMAX"] = True
53124
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
53376
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
53125
-    DEFINES["PSAPI_VERSION"] = "2"
53377
-    DEFINES["PSAPI_VERSION"] = "2"
53378
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
53126
-    DEFINES["UNICODE"] = True
53379
-    DEFINES["UNICODE"] = True
53127
-    DEFINES["USE_AURA"] = "1"
53380
-    DEFINES["USE_AURA"] = "1"
53128
-    DEFINES["WEBRTC_WIN"] = True
53381
-    DEFINES["WEBRTC_WIN"] = True
Lines 53245-53251 index 829ff47d87db..3f777466098c 100644 Link Here
53245
 
53498
 
53246
 Library("link_capacity_estimator_gn")
53499
 Library("link_capacity_estimator_gn")
53247
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
53500
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
53248
index aae4b8252060..0cad7d4a534c 100644
53501
index cbc5a4acac4d..0cad7d4a534c 100644
53249
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build
53502
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build
53250
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build
53503
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build
53251
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
53504
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
Lines 53269-53275 index aae4b8252060..0cad7d4a534c 100644 Link Here
53269
 
53522
 
53270
 FINAL_LIBRARY = "webrtc"
53523
 FINAL_LIBRARY = "webrtc"
53271
 
53524
 
53272
@@ -44,183 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
53525
@@ -44,184 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
53273
 if CONFIG["MOZ_DEBUG"] == "1":
53526
 if CONFIG["MOZ_DEBUG"] == "1":
53274
 
53527
 
53275
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
53528
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 53334-53339 index aae4b8252060..0cad7d4a534c 100644 Link Here
53334
-    DEFINES["NOMINMAX"] = True
53587
-    DEFINES["NOMINMAX"] = True
53335
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
53588
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
53336
-    DEFINES["PSAPI_VERSION"] = "2"
53589
-    DEFINES["PSAPI_VERSION"] = "2"
53590
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
53337
-    DEFINES["UNICODE"] = True
53591
-    DEFINES["UNICODE"] = True
53338
-    DEFINES["USE_AURA"] = "1"
53592
-    DEFINES["USE_AURA"] = "1"
53339
-    DEFINES["WEBRTC_WIN"] = True
53593
-    DEFINES["WEBRTC_WIN"] = True
Lines 53460-53466 index aae4b8252060..0cad7d4a534c 100644 Link Here
53460
 
53714
 
53461
 Library("loss_based_bwe_v1_gn")
53715
 Library("loss_based_bwe_v1_gn")
53462
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
53716
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
53463
index 5728e0c4b27d..da1bee07288c 100644
53717
index 7ddc61f52b5d..da1bee07288c 100644
53464
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2_gn/moz.build
53718
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2_gn/moz.build
53465
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2_gn/moz.build
53719
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2_gn/moz.build
53466
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
53720
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 53484-53490 index 5728e0c4b27d..da1bee07288c 100644 Link Here
53484
 
53738
 
53485
 FINAL_LIBRARY = "webrtc"
53739
 FINAL_LIBRARY = "webrtc"
53486
 
53740
 
53487
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
53741
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
53488
 if CONFIG["MOZ_DEBUG"] == "1":
53742
 if CONFIG["MOZ_DEBUG"] == "1":
53489
 
53743
 
53490
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
53744
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 53553-53558 index 5728e0c4b27d..da1bee07288c 100644 Link Here
53553
-    DEFINES["NOMINMAX"] = True
53807
-    DEFINES["NOMINMAX"] = True
53554
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
53808
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
53555
-    DEFINES["PSAPI_VERSION"] = "2"
53809
-    DEFINES["PSAPI_VERSION"] = "2"
53810
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
53556
-    DEFINES["UNICODE"] = True
53811
-    DEFINES["UNICODE"] = True
53557
-    DEFINES["USE_AURA"] = "1"
53812
-    DEFINES["USE_AURA"] = "1"
53558
-    DEFINES["WEBRTC_WIN"] = True
53813
-    DEFINES["WEBRTC_WIN"] = True
Lines 53682-53688 index 5728e0c4b27d..da1bee07288c 100644 Link Here
53682
 
53937
 
53683
 Library("loss_based_bwe_v2_gn")
53938
 Library("loss_based_bwe_v2_gn")
53684
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
53939
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
53685
index 4f4f573cd902..51646a517e70 100644
53940
index 12f16357dc0a..51646a517e70 100644
53686
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build
53941
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build
53687
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build
53942
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build
53688
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
53943
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 53706-53712 index 4f4f573cd902..51646a517e70 100644 Link Here
53706
 
53961
 
53707
 FINAL_LIBRARY = "webrtc"
53962
 FINAL_LIBRARY = "webrtc"
53708
 
53963
 
53709
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
53964
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
53710
 if CONFIG["MOZ_DEBUG"] == "1":
53965
 if CONFIG["MOZ_DEBUG"] == "1":
53711
 
53966
 
53712
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
53967
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 53771-53776 index 4f4f573cd902..51646a517e70 100644 Link Here
53771
-    DEFINES["NOMINMAX"] = True
54026
-    DEFINES["NOMINMAX"] = True
53772
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
54027
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
53773
-    DEFINES["PSAPI_VERSION"] = "2"
54028
-    DEFINES["PSAPI_VERSION"] = "2"
54029
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
53774
-    DEFINES["UNICODE"] = True
54030
-    DEFINES["UNICODE"] = True
53775
-    DEFINES["USE_AURA"] = "1"
54031
-    DEFINES["USE_AURA"] = "1"
53776
-    DEFINES["WEBRTC_WIN"] = True
54032
-    DEFINES["WEBRTC_WIN"] = True
Lines 53897-53903 index 4f4f573cd902..51646a517e70 100644 Link Here
53897
 
54153
 
53898
 Library("probe_controller_gn")
54154
 Library("probe_controller_gn")
53899
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
54155
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
53900
index e189363d3ea8..5cf159041ae8 100644
54156
index a7da1d6e698b..5cf159041ae8 100644
53901
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build
54157
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build
53902
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build
54158
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build
53903
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
54159
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 53921-53927 index e189363d3ea8..5cf159041ae8 100644 Link Here
53921
 
54177
 
53922
 FINAL_LIBRARY = "webrtc"
54178
 FINAL_LIBRARY = "webrtc"
53923
 
54179
 
53924
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
54180
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
53925
 if CONFIG["MOZ_DEBUG"] == "1":
54181
 if CONFIG["MOZ_DEBUG"] == "1":
53926
 
54182
 
53927
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
54183
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 53986-53991 index e189363d3ea8..5cf159041ae8 100644 Link Here
53986
-    DEFINES["NOMINMAX"] = True
54242
-    DEFINES["NOMINMAX"] = True
53987
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
54243
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
53988
-    DEFINES["PSAPI_VERSION"] = "2"
54244
-    DEFINES["PSAPI_VERSION"] = "2"
54245
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
53989
-    DEFINES["UNICODE"] = True
54246
-    DEFINES["UNICODE"] = True
53990
-    DEFINES["USE_AURA"] = "1"
54247
-    DEFINES["USE_AURA"] = "1"
53991
-    DEFINES["WEBRTC_WIN"] = True
54248
-    DEFINES["WEBRTC_WIN"] = True
Lines 54112-54118 index e189363d3ea8..5cf159041ae8 100644 Link Here
54112
 
54369
 
54113
 Library("pushback_controller_gn")
54370
 Library("pushback_controller_gn")
54114
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
54371
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
54115
index c93e412e836f..0b6eb6ed39e9 100644
54372
index 561eea363fc8..0b6eb6ed39e9 100644
54116
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build
54373
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build
54117
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build
54374
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build
54118
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
54375
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
Lines 54136-54142 index c93e412e836f..0b6eb6ed39e9 100644 Link Here
54136
 
54393
 
54137
 FINAL_LIBRARY = "webrtc"
54394
 FINAL_LIBRARY = "webrtc"
54138
 
54395
 
54139
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
54396
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
54140
 if CONFIG["MOZ_DEBUG"] == "1":
54397
 if CONFIG["MOZ_DEBUG"] == "1":
54141
 
54398
 
54142
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
54399
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 54205-54210 index c93e412e836f..0b6eb6ed39e9 100644 Link Here
54205
-    DEFINES["NOMINMAX"] = True
54462
-    DEFINES["NOMINMAX"] = True
54206
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
54463
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
54207
-    DEFINES["PSAPI_VERSION"] = "2"
54464
-    DEFINES["PSAPI_VERSION"] = "2"
54465
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
54208
-    DEFINES["UNICODE"] = True
54466
-    DEFINES["UNICODE"] = True
54209
-    DEFINES["USE_AURA"] = "1"
54467
-    DEFINES["USE_AURA"] = "1"
54210
-    DEFINES["WEBRTC_WIN"] = True
54468
-    DEFINES["WEBRTC_WIN"] = True
Lines 54334-54340 index c93e412e836f..0b6eb6ed39e9 100644 Link Here
54334
 
54592
 
54335
 Library("send_side_bwe_gn")
54593
 Library("send_side_bwe_gn")
54336
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
54594
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
54337
index 980bc79d04c3..313ac07d0c15 100644
54595
index 1b79cc97eaf9..313ac07d0c15 100644
54338
--- third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build
54596
--- third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build
54339
+++ third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build
54597
+++ third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build
54340
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
54598
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 54358-54364 index 980bc79d04c3..313ac07d0c15 100644 Link Here
54358
 
54616
 
54359
 FINAL_LIBRARY = "webrtc"
54617
 FINAL_LIBRARY = "webrtc"
54360
 
54618
 
54361
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
54619
@@ -43,192 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
54362
 if CONFIG["MOZ_DEBUG"] == "1":
54620
 if CONFIG["MOZ_DEBUG"] == "1":
54363
 
54621
 
54364
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
54622
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 54428-54433 index 980bc79d04c3..313ac07d0c15 100644 Link Here
54428
-    DEFINES["NOMINMAX"] = True
54686
-    DEFINES["NOMINMAX"] = True
54429
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
54687
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
54430
-    DEFINES["PSAPI_VERSION"] = "2"
54688
-    DEFINES["PSAPI_VERSION"] = "2"
54689
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
54431
-    DEFINES["UNICODE"] = True
54690
-    DEFINES["UNICODE"] = True
54432
-    DEFINES["USE_AURA"] = "1"
54691
-    DEFINES["USE_AURA"] = "1"
54433
-    DEFINES["WEBRTC_WIN"] = True
54692
-    DEFINES["WEBRTC_WIN"] = True
Lines 54557-54563 index 980bc79d04c3..313ac07d0c15 100644 Link Here
54557
 
54816
 
54558
 Library("control_handler_gn")
54817
 Library("control_handler_gn")
54559
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
54818
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
54560
index eb5a2a87e058..b4e083731eed 100644
54819
index 9be9dcb027af..b4e083731eed 100644
54561
--- third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build
54820
--- third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build
54562
+++ third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build
54821
+++ third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build
54563
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
54822
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 54581-54587 index eb5a2a87e058..b4e083731eed 100644 Link Here
54581
 
54840
 
54582
 FINAL_LIBRARY = "webrtc"
54841
 FINAL_LIBRARY = "webrtc"
54583
 
54842
 
54584
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
54843
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
54585
 if CONFIG["MOZ_DEBUG"] == "1":
54844
 if CONFIG["MOZ_DEBUG"] == "1":
54586
 
54845
 
54587
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
54846
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 54650-54655 index eb5a2a87e058..b4e083731eed 100644 Link Here
54650
-    DEFINES["NOMINMAX"] = True
54909
-    DEFINES["NOMINMAX"] = True
54651
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
54910
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
54652
-    DEFINES["PSAPI_VERSION"] = "2"
54911
-    DEFINES["PSAPI_VERSION"] = "2"
54912
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
54653
-    DEFINES["UNICODE"] = True
54913
-    DEFINES["UNICODE"] = True
54654
-    DEFINES["USE_AURA"] = "1"
54914
-    DEFINES["USE_AURA"] = "1"
54655
-    DEFINES["WEBRTC_WIN"] = True
54915
-    DEFINES["WEBRTC_WIN"] = True
Lines 54779-54785 index eb5a2a87e058..b4e083731eed 100644 Link Here
54779
 
55039
 
54780
 Library("transport_feedback_gn")
55040
 Library("transport_feedback_gn")
54781
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
55041
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
54782
index 06e178901e14..8c38587543bd 100644
55042
index 66792f98e923..8c38587543bd 100644
54783
--- third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build
55043
--- third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build
54784
+++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build
55044
+++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build
54785
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
55045
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
Lines 54804-54810 index 06e178901e14..8c38587543bd 100644 Link Here
54804
 
55064
 
54805
 FINAL_LIBRARY = "webrtc"
55065
 FINAL_LIBRARY = "webrtc"
54806
 
55066
 
54807
@@ -44,110 +53,23 @@ if not CONFIG["MOZ_DEBUG"]:
55067
@@ -44,111 +53,23 @@ if not CONFIG["MOZ_DEBUG"]:
54808
 if CONFIG["MOZ_DEBUG"] == "1":
55068
 if CONFIG["MOZ_DEBUG"] == "1":
54809
 
55069
 
54810
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
55070
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 54865-54870 index 06e178901e14..8c38587543bd 100644 Link Here
54865
-    DEFINES["NOMINMAX"] = True
55125
-    DEFINES["NOMINMAX"] = True
54866
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
55126
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
54867
-    DEFINES["PSAPI_VERSION"] = "2"
55127
-    DEFINES["PSAPI_VERSION"] = "2"
55128
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
54868
-    DEFINES["UNICODE"] = True
55129
-    DEFINES["UNICODE"] = True
54869
-    DEFINES["USE_AURA"] = "1"
55130
-    DEFINES["USE_AURA"] = "1"
54870
-    DEFINES["WEBRTC_WIN"] = True
55131
-    DEFINES["WEBRTC_WIN"] = True
Lines 54921-54927 index 06e178901e14..8c38587543bd 100644 Link Here
54921
-
55182
-
54922
 Library("desktop_capture_differ_sse2_gn")
55183
 Library("desktop_capture_differ_sse2_gn")
54923
diff --git third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
55184
diff --git third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
54924
index 63c0e0b52d57..77ef9f7209ee 100644
55185
index b0a5d1522da8..a2d3109a6492 100644
54925
--- third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
55186
--- third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
54926
+++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
55187
+++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
54927
@@ -14,11 +14,20 @@ AllowCompilerWarnings()
55188
@@ -14,11 +14,20 @@ AllowCompilerWarnings()
Lines 54945-54951 index 63c0e0b52d57..77ef9f7209ee 100644 Link Here
54945
 
55206
 
54946
 FINAL_LIBRARY = "webrtc"
55207
 FINAL_LIBRARY = "webrtc"
54947
 
55208
 
54948
@@ -70,180 +79,13 @@ if not CONFIG["MOZ_DEBUG"]:
55209
@@ -70,185 +79,13 @@ if not CONFIG["MOZ_DEBUG"]:
54949
 if CONFIG["MOZ_DEBUG"] == "1":
55210
 if CONFIG["MOZ_DEBUG"] == "1":
54950
 
55211
 
54951
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
55212
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 55014-55021 index 63c0e0b52d57..77ef9f7209ee 100644 Link Here
55014
-        "Xext",
55275
-        "Xext",
55015
-        "Xfixes",
55276
-        "Xfixes",
55016
-        "Xrandr",
55277
-        "Xrandr",
55017
-        "Xrender",
55278
-        "Xrender"
55018
-        "Xtst"
55019
-    ]
55279
-    ]
55020
-
55280
-
55021
-    SOURCES += [
55281
-    SOURCES += [
Lines 55043-55048 index 63c0e0b52d57..77ef9f7209ee 100644 Link Here
55043
-    DEFINES["NOMINMAX"] = True
55303
-    DEFINES["NOMINMAX"] = True
55044
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
55304
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
55045
-    DEFINES["PSAPI_VERSION"] = "2"
55305
-    DEFINES["PSAPI_VERSION"] = "2"
55306
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
55046
-    DEFINES["UNICODE"] = True
55307
-    DEFINES["UNICODE"] = True
55047
-    DEFINES["USE_AURA"] = "1"
55308
-    DEFINES["USE_AURA"] = "1"
55048
-    DEFINES["WEBRTC_WIN"] = True
55309
-    DEFINES["WEBRTC_WIN"] = True
Lines 55066-55071 index 63c0e0b52d57..77ef9f7209ee 100644 Link Here
55066
-    OS_LIBS += [
55327
-    OS_LIBS += [
55067
-        "crypt32",
55328
-        "crypt32",
55068
-        "d3d11",
55329
-        "d3d11",
55330
-        "dwmapi",
55069
-        "dxgi",
55331
-        "dxgi",
55070
-        "iphlpapi",
55332
-        "iphlpapi",
55071
-        "secur32",
55333
-        "secur32",
Lines 55101-55106 index 63c0e0b52d57..77ef9f7209ee 100644 Link Here
55101
-        "/third_party/libwebrtc/modules/desktop_capture/win/screen_capturer_win_directx.cc",
55363
-        "/third_party/libwebrtc/modules/desktop_capture/win/screen_capturer_win_directx.cc",
55102
-        "/third_party/libwebrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.cc",
55364
-        "/third_party/libwebrtc/modules/desktop_capture/win/screen_capturer_win_magnifier.cc",
55103
-        "/third_party/libwebrtc/modules/desktop_capture/win/selected_window_context.cc",
55365
-        "/third_party/libwebrtc/modules/desktop_capture/win/selected_window_context.cc",
55366
-        "/third_party/libwebrtc/modules/desktop_capture/win/wgc_capture_session.cc",
55367
-        "/third_party/libwebrtc/modules/desktop_capture/win/wgc_capture_source.cc",
55368
-        "/third_party/libwebrtc/modules/desktop_capture/win/wgc_capturer_win.cc",
55369
-        "/third_party/libwebrtc/modules/desktop_capture/win/wgc_desktop_frame.cc",
55104
-        "/third_party/libwebrtc/modules/desktop_capture/win/window_capture_utils.cc",
55370
-        "/third_party/libwebrtc/modules/desktop_capture/win/window_capture_utils.cc",
55105
-        "/third_party/libwebrtc/modules/desktop_capture/win/window_capturer_win_gdi.cc",
55371
-        "/third_party/libwebrtc/modules/desktop_capture/win/window_capturer_win_gdi.cc",
55106
-        "/third_party/libwebrtc/modules/desktop_capture/window_capturer_win.cc",
55372
-        "/third_party/libwebrtc/modules/desktop_capture/window_capturer_win.cc",
Lines 55127-55133 index 63c0e0b52d57..77ef9f7209ee 100644 Link Here
55127
 
55393
 
55128
     LOCAL_INCLUDES += [
55394
     LOCAL_INCLUDES += [
55129
         "/gfx/angle/checkout/include/",
55395
         "/gfx/angle/checkout/include/",
55130
@@ -256,7 +98,8 @@ if CONFIG["CPU_ARCH"] == "arm":
55396
@@ -261,7 +98,8 @@ if CONFIG["CPU_ARCH"] == "arm":
55131
     ]
55397
     ]
55132
 
55398
 
55133
     SOURCES += [
55399
     SOURCES += [
Lines 55137-55143 index 63c0e0b52d57..77ef9f7209ee 100644 Link Here
55137
     ]
55403
     ]
55138
 
55404
 
55139
     UNIFIED_SOURCES += [
55405
     UNIFIED_SOURCES += [
55140
@@ -266,7 +109,9 @@ if CONFIG["CPU_ARCH"] == "arm":
55406
@@ -271,7 +109,9 @@ if CONFIG["CPU_ARCH"] == "arm":
55141
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
55407
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
55142
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
55408
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
55143
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
55409
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
Lines 55148-55154 index 63c0e0b52d57..77ef9f7209ee 100644 Link Here
55148
     ]
55414
     ]
55149
 
55415
 
55150
 if CONFIG["CPU_ARCH"] == "mips32":
55416
 if CONFIG["CPU_ARCH"] == "mips32":
55151
@@ -274,7 +119,6 @@ if CONFIG["CPU_ARCH"] == "mips32":
55417
@@ -279,7 +119,6 @@ if CONFIG["CPU_ARCH"] == "mips32":
55152
     DEFINES["MIPS32_LE"] = True
55418
     DEFINES["MIPS32_LE"] = True
55153
     DEFINES["MIPS_FPU_LE"] = True
55419
     DEFINES["MIPS_FPU_LE"] = True
55154
     DEFINES["WEBRTC_USE_PIPEWIRE"] = True
55420
     DEFINES["WEBRTC_USE_PIPEWIRE"] = True
Lines 55156-55162 index 63c0e0b52d57..77ef9f7209ee 100644 Link Here
55156
 
55422
 
55157
     LOCAL_INCLUDES += [
55423
     LOCAL_INCLUDES += [
55158
         "/gfx/angle/checkout/include/",
55424
         "/gfx/angle/checkout/include/",
55159
@@ -287,7 +131,8 @@ if CONFIG["CPU_ARCH"] == "mips32":
55425
@@ -292,7 +131,8 @@ if CONFIG["CPU_ARCH"] == "mips32":
55160
     ]
55426
     ]
55161
 
55427
 
55162
     SOURCES += [
55428
     SOURCES += [
Lines 55166-55172 index 63c0e0b52d57..77ef9f7209ee 100644 Link Here
55166
     ]
55432
     ]
55167
 
55433
 
55168
     UNIFIED_SOURCES += [
55434
     UNIFIED_SOURCES += [
55169
@@ -297,13 +142,14 @@ if CONFIG["CPU_ARCH"] == "mips32":
55435
@@ -302,13 +142,14 @@ if CONFIG["CPU_ARCH"] == "mips32":
55170
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
55436
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
55171
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
55437
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
55172
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
55438
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
Lines 55183-55189 index 63c0e0b52d57..77ef9f7209ee 100644 Link Here
55183
 
55449
 
55184
     LOCAL_INCLUDES += [
55450
     LOCAL_INCLUDES += [
55185
         "/gfx/angle/checkout/include/",
55451
         "/gfx/angle/checkout/include/",
55186
@@ -316,7 +162,8 @@ if CONFIG["CPU_ARCH"] == "mips64":
55452
@@ -321,7 +162,8 @@ if CONFIG["CPU_ARCH"] == "mips64":
55187
     ]
55453
     ]
55188
 
55454
 
55189
     SOURCES += [
55455
     SOURCES += [
Lines 55193-55199 index 63c0e0b52d57..77ef9f7209ee 100644 Link Here
55193
     ]
55459
     ]
55194
 
55460
 
55195
     UNIFIED_SOURCES += [
55461
     UNIFIED_SOURCES += [
55196
@@ -326,128 +173,19 @@ if CONFIG["CPU_ARCH"] == "mips64":
55462
@@ -331,126 +173,19 @@ if CONFIG["CPU_ARCH"] == "mips64":
55197
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
55463
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
55198
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
55464
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
55199
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
55465
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
Lines 55212-55219 index 63c0e0b52d57..77ef9f7209ee 100644 Link Here
55212
-        "Xext",
55478
-        "Xext",
55213
-        "Xfixes",
55479
-        "Xfixes",
55214
-        "Xrandr",
55480
-        "Xrandr",
55215
-        "Xrender",
55481
-        "Xrender"
55216
-        "Xtst"
55217
-    ]
55482
-    ]
55218
-
55483
-
55219
-    UNIFIED_SOURCES += [
55484
-    UNIFIED_SOURCES += [
Lines 55241-55248 index 63c0e0b52d57..77ef9f7209ee 100644 Link Here
55241
-        "Xext",
55506
-        "Xext",
55242
-        "Xfixes",
55507
-        "Xfixes",
55243
-        "Xrandr",
55508
-        "Xrandr",
55244
-        "Xrender",
55509
-        "Xrender"
55245
-        "Xtst"
55246
-    ]
55510
-    ]
55247
-
55511
-
55248
-    UNIFIED_SOURCES += [
55512
-    UNIFIED_SOURCES += [
Lines 55326-55332 index 63c0e0b52d57..77ef9f7209ee 100644 Link Here
55326
 
55590
 
55327
     LOCAL_INCLUDES += [
55591
     LOCAL_INCLUDES += [
55328
         "/gfx/angle/checkout/include/",
55592
         "/gfx/angle/checkout/include/",
55329
@@ -460,7 +198,8 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
55593
@@ -463,7 +198,8 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
55330
     ]
55594
     ]
55331
 
55595
 
55332
     SOURCES += [
55596
     SOURCES += [
Lines 55336-55342 index 63c0e0b52d57..77ef9f7209ee 100644 Link Here
55336
     ]
55600
     ]
55337
 
55601
 
55338
     UNIFIED_SOURCES += [
55602
     UNIFIED_SOURCES += [
55339
@@ -470,13 +209,15 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
55603
@@ -473,13 +209,15 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
55340
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
55604
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
55341
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
55605
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
55342
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
55606
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
Lines 55355-55361 index 63c0e0b52d57..77ef9f7209ee 100644 Link Here
55355
 
55619
 
55356
     LOCAL_INCLUDES += [
55620
     LOCAL_INCLUDES += [
55357
         "/gfx/angle/checkout/include/",
55621
         "/gfx/angle/checkout/include/",
55358
@@ -489,7 +230,8 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
55622
@@ -492,7 +230,8 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
55359
     ]
55623
     ]
55360
 
55624
 
55361
     SOURCES += [
55625
     SOURCES += [
Lines 55365-55371 index 63c0e0b52d57..77ef9f7209ee 100644 Link Here
55365
     ]
55629
     ]
55366
 
55630
 
55367
     UNIFIED_SOURCES += [
55631
     UNIFIED_SOURCES += [
55368
@@ -499,97 +241,12 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
55632
@@ -502,66 +241,12 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
55369
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
55633
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
55370
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
55634
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
55371
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
55635
         "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
Lines 55384-55391 index 63c0e0b52d57..77ef9f7209ee 100644 Link Here
55384
-        "Xext",
55648
-        "Xext",
55385
-        "Xfixes",
55649
-        "Xfixes",
55386
-        "Xrandr",
55650
-        "Xrandr",
55387
-        "Xrender",
55651
-        "Xrender"
55388
-        "Xtst"
55389
-    ]
55652
-    ]
55390
-
55653
-
55391
-    UNIFIED_SOURCES += [
55654
-    UNIFIED_SOURCES += [
Lines 55413-55420 index 63c0e0b52d57..77ef9f7209ee 100644 Link Here
55413
-        "Xext",
55676
-        "Xext",
55414
-        "Xfixes",
55677
-        "Xfixes",
55415
-        "Xrandr",
55678
-        "Xrandr",
55416
-        "Xrender",
55679
-        "Xrender"
55417
-        "Xtst"
55418
-    ]
55680
-    ]
55419
-
55681
-
55420
-    UNIFIED_SOURCES += [
55682
-    UNIFIED_SOURCES += [
Lines 55428-55436 index 63c0e0b52d57..77ef9f7209ee 100644 Link Here
55428
-        "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc",
55690
-        "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc",
55429
-        "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc",
55691
-        "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc",
55430
-        "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
55692
-        "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
55431
-    ]
55693
+        "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc",
55432
-
55694
+        "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_linux.cc",
55695
+        "/third_party/libwebrtc/modules/desktop_capture/window_capturer_linux.cc"
55696
     ]
55697
 
55433
-if CONFIG["CPU_ARCH"] == "mips32" and CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
55698
-if CONFIG["CPU_ARCH"] == "mips32" and CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
55699
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
55700
 
55701
     DEFINES["USE_X11"] = "1"
55702
     DEFINES["WEBRTC_USE_X11"] = True
55703
@@ -589,88 +274,23 @@ if CONFIG["CPU_ARCH"] == "mips32" and CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TA
55704
         "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
55705
     ]
55706
 
55707
-if CONFIG["CPU_ARCH"] == "mips64" and CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
55434
-
55708
-
55435
-    DEFINES["USE_X11"] = "1"
55709
-    DEFINES["USE_X11"] = "1"
55436
-    DEFINES["WEBRTC_USE_X11"] = True
55710
-    DEFINES["WEBRTC_USE_X11"] = True
Lines 55442-55452 index 63c0e0b52d57..77ef9f7209ee 100644 Link Here
55442
-        "Xext",
55716
-        "Xext",
55443
-        "Xfixes",
55717
-        "Xfixes",
55444
-        "Xrandr",
55718
-        "Xrandr",
55445
-        "Xrender",
55719
-        "Xrender"
55446
-        "Xtst"
55447
-    ]
55720
-    ]
55448
-
55721
+if CONFIG["CPU_ARCH"] == "ppc64" and not CONFIG["MOZ_X11"] and CONFIG["OS_TARGET"] == "FreeBSD":
55449
-    UNIFIED_SOURCES += [
55722
 
55723
     UNIFIED_SOURCES += [
55450
-        "/third_party/libwebrtc/modules/desktop_capture/linux/x11/mouse_cursor_monitor_x11.cc",
55724
-        "/third_party/libwebrtc/modules/desktop_capture/linux/x11/mouse_cursor_monitor_x11.cc",
55451
-        "/third_party/libwebrtc/modules/desktop_capture/linux/x11/screen_capturer_x11.cc",
55725
-        "/third_party/libwebrtc/modules/desktop_capture/linux/x11/screen_capturer_x11.cc",
55452
-        "/third_party/libwebrtc/modules/desktop_capture/linux/x11/shared_x_display.cc",
55726
-        "/third_party/libwebrtc/modules/desktop_capture/linux/x11/shared_x_display.cc",
Lines 55457-55478 index 63c0e0b52d57..77ef9f7209ee 100644 Link Here
55457
-        "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc",
55731
-        "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc",
55458
-        "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc",
55732
-        "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc",
55459
-        "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
55733
-        "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
55460
+        "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc",
55734
+        "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_null.cc",
55461
+        "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_linux.cc",
55735
+        "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_null.cc",
55462
+        "/third_party/libwebrtc/modules/desktop_capture/window_capturer_linux.cc"
55736
+        "/third_party/libwebrtc/modules/desktop_capture/window_capturer_null.cc"
55463
     ]
55464
 
55465
-if CONFIG["CPU_ARCH"] == "mips64" and CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
55466
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
55467
 
55468
     DEFINES["USE_X11"] = "1"
55469
     DEFINES["WEBRTC_USE_X11"] = True
55470
@@ -618,62 +275,23 @@ if CONFIG["CPU_ARCH"] == "mips64" and CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TA
55471
         "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
55472
     ]
55737
     ]
55473
 
55738
 
55474
-if CONFIG["CPU_ARCH"] == "x86" and CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
55739
-if CONFIG["CPU_ARCH"] == "x86" and CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
55475
-
55740
+if CONFIG["CPU_ARCH"] == "ppc64" and CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
55741
 
55476
-    DEFINES["USE_X11"] = "1"
55742
-    DEFINES["USE_X11"] = "1"
55477
-    DEFINES["WEBRTC_USE_X11"] = True
55743
-    DEFINES["WEBRTC_USE_X11"] = True
55478
-
55744
-
Lines 55483-55494 index 63c0e0b52d57..77ef9f7209ee 100644 Link Here
55483
-        "Xext",
55749
-        "Xext",
55484
-        "Xfixes",
55750
-        "Xfixes",
55485
-        "Xrandr",
55751
-        "Xrandr",
55486
-        "Xrender",
55752
-        "Xrender"
55487
-        "Xtst"
55488
-    ]
55753
-    ]
55489
+if CONFIG["CPU_ARCH"] == "ppc64" and not CONFIG["MOZ_X11"] and CONFIG["OS_TARGET"] == "FreeBSD":
55754
-
55490
 
55755
-    UNIFIED_SOURCES += [
55491
     UNIFIED_SOURCES += [
55492
-        "/third_party/libwebrtc/modules/desktop_capture/linux/x11/mouse_cursor_monitor_x11.cc",
55756
-        "/third_party/libwebrtc/modules/desktop_capture/linux/x11/mouse_cursor_monitor_x11.cc",
55493
-        "/third_party/libwebrtc/modules/desktop_capture/linux/x11/screen_capturer_x11.cc",
55757
-        "/third_party/libwebrtc/modules/desktop_capture/linux/x11/screen_capturer_x11.cc",
55494
-        "/third_party/libwebrtc/modules/desktop_capture/linux/x11/shared_x_display.cc",
55758
-        "/third_party/libwebrtc/modules/desktop_capture/linux/x11/shared_x_display.cc",
Lines 55499-55515 index 63c0e0b52d57..77ef9f7209ee 100644 Link Here
55499
-        "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc",
55763
-        "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc",
55500
-        "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc",
55764
-        "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc",
55501
-        "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
55765
-        "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
55502
+        "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_null.cc",
55766
-    ]
55503
+        "/third_party/libwebrtc/modules/desktop_capture/screen_capturer_null.cc",
55767
-
55504
+        "/third_party/libwebrtc/modules/desktop_capture/window_capturer_null.cc"
55505
     ]
55506
 
55507
-if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
55768
-if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
55508
-
55769
-
55509
-    DEFINES["USE_X11"] = "1"
55770
-    DEFINES["USE_X11"] = "1"
55510
-    DEFINES["WEBRTC_USE_X11"] = True
55771
-    DEFINES["WEBRTC_USE_X11"] = True
55511
+if CONFIG["CPU_ARCH"] == "ppc64" and CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
55772
-
55512
 
55513
-    OS_LIBS += [
55773
-    OS_LIBS += [
55514
-        "X11",
55774
-        "X11",
55515
-        "Xcomposite",
55775
-        "Xcomposite",
Lines 55517-55524 index 63c0e0b52d57..77ef9f7209ee 100644 Link Here
55517
-        "Xext",
55777
-        "Xext",
55518
-        "Xfixes",
55778
-        "Xfixes",
55519
-        "Xrandr",
55779
-        "Xrandr",
55520
-        "Xrender",
55780
-        "Xrender"
55521
-        "Xtst"
55522
+    SOURCES += [
55781
+    SOURCES += [
55523
+        "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_linux.cc"
55782
+        "/third_party/libwebrtc/modules/desktop_capture/mouse_cursor_monitor_linux.cc"
55524
     ]
55783
     ]
Lines 55623-55629 index 2706bed4a65f..000000000000 Link Here
55623
-
55882
-
55624
-Library("desktop_capture_objc_gn")
55883
-Library("desktop_capture_objc_gn")
55625
diff --git third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build
55884
diff --git third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build
55626
index 59c2ba037b83..4458ad4e5673 100644
55885
index 8edb2c234487..4458ad4e5673 100644
55627
--- third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build
55886
--- third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build
55628
+++ third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build
55887
+++ third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build
55629
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
55888
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 55647-55653 index 59c2ba037b83..4458ad4e5673 100644 Link Here
55647
 
55906
 
55648
 FINAL_LIBRARY = "webrtc"
55907
 FINAL_LIBRARY = "webrtc"
55649
 
55908
 
55650
@@ -49,165 +58,31 @@ if not CONFIG["MOZ_DEBUG"]:
55909
@@ -49,166 +58,31 @@ if not CONFIG["MOZ_DEBUG"]:
55651
 if CONFIG["MOZ_DEBUG"] == "1":
55910
 if CONFIG["MOZ_DEBUG"] == "1":
55652
 
55911
 
55653
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
55912
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 55695-55700 index 59c2ba037b83..4458ad4e5673 100644 Link Here
55695
-    DEFINES["NOMINMAX"] = True
55954
-    DEFINES["NOMINMAX"] = True
55696
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
55955
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
55697
-    DEFINES["PSAPI_VERSION"] = "2"
55956
-    DEFINES["PSAPI_VERSION"] = "2"
55957
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
55698
-    DEFINES["UNICODE"] = True
55958
-    DEFINES["UNICODE"] = True
55699
-    DEFINES["USE_AURA"] = "1"
55959
-    DEFINES["USE_AURA"] = "1"
55700
-    DEFINES["WEBRTC_WIN"] = True
55960
-    DEFINES["WEBRTC_WIN"] = True
Lines 55819-55825 index 59c2ba037b83..4458ad4e5673 100644 Link Here
55819
     DEFINES["USE_X11"] = "1"
56079
     DEFINES["USE_X11"] = "1"
55820
 
56080
 
55821
diff --git third_party/libwebrtc/modules/module_api_gn/moz.build third_party/libwebrtc/modules/module_api_gn/moz.build
56081
diff --git third_party/libwebrtc/modules/module_api_gn/moz.build third_party/libwebrtc/modules/module_api_gn/moz.build
55822
index 3b999fdfdfe9..b5cd5bd51eb9 100644
56082
index adf140609414..b5cd5bd51eb9 100644
55823
--- third_party/libwebrtc/modules/module_api_gn/moz.build
56083
--- third_party/libwebrtc/modules/module_api_gn/moz.build
55824
+++ third_party/libwebrtc/modules/module_api_gn/moz.build
56084
+++ third_party/libwebrtc/modules/module_api_gn/moz.build
55825
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
56085
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 55843-55849 index 3b999fdfdfe9..b5cd5bd51eb9 100644 Link Here
55843
 
56103
 
55844
 FINAL_LIBRARY = "webrtc"
56104
 FINAL_LIBRARY = "webrtc"
55845
 
56105
 
55846
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
56106
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
55847
 if CONFIG["MOZ_DEBUG"] == "1":
56107
 if CONFIG["MOZ_DEBUG"] == "1":
55848
 
56108
 
55849
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
56109
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 55904-55909 index 3b999fdfdfe9..b5cd5bd51eb9 100644 Link Here
55904
-    DEFINES["NOMINMAX"] = True
56164
-    DEFINES["NOMINMAX"] = True
55905
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
56165
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
55906
-    DEFINES["PSAPI_VERSION"] = "2"
56166
-    DEFINES["PSAPI_VERSION"] = "2"
56167
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
55907
-    DEFINES["UNICODE"] = True
56168
-    DEFINES["UNICODE"] = True
55908
-    DEFINES["USE_AURA"] = "1"
56169
-    DEFINES["USE_AURA"] = "1"
55909
-    DEFINES["WEBRTC_WIN"] = True
56170
-    DEFINES["WEBRTC_WIN"] = True
Lines 55948-55954 index 3b999fdfdfe9..b5cd5bd51eb9 100644 Link Here
55948
 
56209
 
55949
 if CONFIG["CPU_ARCH"] == "x86":
56210
 if CONFIG["CPU_ARCH"] == "x86":
55950
 
56211
 
55951
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
56212
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
55952
 
56213
 
55953
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
56214
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
55954
 
56215
 
Lines 56008-56014 index 3b999fdfdfe9..b5cd5bd51eb9 100644 Link Here
56008
-
56269
-
56009
 Library("module_api_gn")
56270
 Library("module_api_gn")
56010
diff --git third_party/libwebrtc/modules/module_api_public_gn/moz.build third_party/libwebrtc/modules/module_api_public_gn/moz.build
56271
diff --git third_party/libwebrtc/modules/module_api_public_gn/moz.build third_party/libwebrtc/modules/module_api_public_gn/moz.build
56011
index 6d3952410c70..6d2484302b75 100644
56272
index 519b39d7c9ad..6d2484302b75 100644
56012
--- third_party/libwebrtc/modules/module_api_public_gn/moz.build
56273
--- third_party/libwebrtc/modules/module_api_public_gn/moz.build
56013
+++ third_party/libwebrtc/modules/module_api_public_gn/moz.build
56274
+++ third_party/libwebrtc/modules/module_api_public_gn/moz.build
56014
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
56275
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 56032-56038 index 6d3952410c70..6d2484302b75 100644 Link Here
56032
 
56293
 
56033
 FINAL_LIBRARY = "webrtc"
56294
 FINAL_LIBRARY = "webrtc"
56034
 
56295
 
56035
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
56296
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
56036
 if CONFIG["MOZ_DEBUG"] == "1":
56297
 if CONFIG["MOZ_DEBUG"] == "1":
56037
 
56298
 
56038
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
56299
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 56093-56098 index 6d3952410c70..6d2484302b75 100644 Link Here
56093
-    DEFINES["NOMINMAX"] = True
56354
-    DEFINES["NOMINMAX"] = True
56094
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
56355
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
56095
-    DEFINES["PSAPI_VERSION"] = "2"
56356
-    DEFINES["PSAPI_VERSION"] = "2"
56357
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
56096
-    DEFINES["UNICODE"] = True
56358
-    DEFINES["UNICODE"] = True
56097
-    DEFINES["USE_AURA"] = "1"
56359
-    DEFINES["USE_AURA"] = "1"
56098
-    DEFINES["WEBRTC_WIN"] = True
56360
-    DEFINES["WEBRTC_WIN"] = True
Lines 56137-56143 index 6d3952410c70..6d2484302b75 100644 Link Here
56137
 
56399
 
56138
 if CONFIG["CPU_ARCH"] == "x86":
56400
 if CONFIG["CPU_ARCH"] == "x86":
56139
 
56401
 
56140
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
56402
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
56141
 
56403
 
56142
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
56404
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
56143
 
56405
 
Lines 56197-56203 index 6d3952410c70..6d2484302b75 100644 Link Here
56197
-
56459
-
56198
 Library("module_api_public_gn")
56460
 Library("module_api_public_gn")
56199
diff --git third_party/libwebrtc/modules/module_fec_api_gn/moz.build third_party/libwebrtc/modules/module_fec_api_gn/moz.build
56461
diff --git third_party/libwebrtc/modules/module_fec_api_gn/moz.build third_party/libwebrtc/modules/module_fec_api_gn/moz.build
56200
index 3badc9ded12e..b50fec7f7d98 100644
56462
index e90f9b385b90..b50fec7f7d98 100644
56201
--- third_party/libwebrtc/modules/module_fec_api_gn/moz.build
56463
--- third_party/libwebrtc/modules/module_fec_api_gn/moz.build
56202
+++ third_party/libwebrtc/modules/module_fec_api_gn/moz.build
56464
+++ third_party/libwebrtc/modules/module_fec_api_gn/moz.build
56203
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
56465
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 56221-56227 index 3badc9ded12e..b50fec7f7d98 100644 Link Here
56221
 
56483
 
56222
 FINAL_LIBRARY = "webrtc"
56484
 FINAL_LIBRARY = "webrtc"
56223
 
56485
 
56224
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
56486
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
56225
 if CONFIG["MOZ_DEBUG"] == "1":
56487
 if CONFIG["MOZ_DEBUG"] == "1":
56226
 
56488
 
56227
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
56489
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 56282-56287 index 3badc9ded12e..b50fec7f7d98 100644 Link Here
56282
-    DEFINES["NOMINMAX"] = True
56544
-    DEFINES["NOMINMAX"] = True
56283
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
56545
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
56284
-    DEFINES["PSAPI_VERSION"] = "2"
56546
-    DEFINES["PSAPI_VERSION"] = "2"
56547
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
56285
-    DEFINES["UNICODE"] = True
56548
-    DEFINES["UNICODE"] = True
56286
-    DEFINES["USE_AURA"] = "1"
56549
-    DEFINES["USE_AURA"] = "1"
56287
-    DEFINES["WEBRTC_WIN"] = True
56550
-    DEFINES["WEBRTC_WIN"] = True
Lines 56326-56332 index 3badc9ded12e..b50fec7f7d98 100644 Link Here
56326
 
56589
 
56327
 if CONFIG["CPU_ARCH"] == "x86":
56590
 if CONFIG["CPU_ARCH"] == "x86":
56328
 
56591
 
56329
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
56592
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
56330
 
56593
 
56331
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
56594
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
56332
 
56595
 
Lines 56386-56392 index 3badc9ded12e..b50fec7f7d98 100644 Link Here
56386
-
56649
-
56387
 Library("module_fec_api_gn")
56650
 Library("module_fec_api_gn")
56388
diff --git third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build
56651
diff --git third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build
56389
index 17d4371d72e0..f42d208ca469 100644
56652
index 8a598b20fcd7..f42d208ca469 100644
56390
--- third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build
56653
--- third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build
56391
+++ third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build
56654
+++ third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build
56392
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
56655
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 56410-56416 index 17d4371d72e0..f42d208ca469 100644 Link Here
56410
 
56673
 
56411
 FINAL_LIBRARY = "webrtc"
56674
 FINAL_LIBRARY = "webrtc"
56412
 
56675
 
56413
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
56676
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
56414
 if CONFIG["MOZ_DEBUG"] == "1":
56677
 if CONFIG["MOZ_DEBUG"] == "1":
56415
 
56678
 
56416
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
56679
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 56475-56480 index 17d4371d72e0..f42d208ca469 100644 Link Here
56475
-    DEFINES["NOMINMAX"] = True
56738
-    DEFINES["NOMINMAX"] = True
56476
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
56739
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
56477
-    DEFINES["PSAPI_VERSION"] = "2"
56740
-    DEFINES["PSAPI_VERSION"] = "2"
56741
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
56478
-    DEFINES["UNICODE"] = True
56742
-    DEFINES["UNICODE"] = True
56479
-    DEFINES["USE_AURA"] = "1"
56743
-    DEFINES["USE_AURA"] = "1"
56480
-    DEFINES["WEBRTC_WIN"] = True
56744
-    DEFINES["WEBRTC_WIN"] = True
Lines 56597-56603 index 17d4371d72e0..f42d208ca469 100644 Link Here
56597
 
56861
 
56598
 Library("interval_budget_gn")
56862
 Library("interval_budget_gn")
56599
diff --git third_party/libwebrtc/modules/pacing/pacing_gn/moz.build third_party/libwebrtc/modules/pacing/pacing_gn/moz.build
56863
diff --git third_party/libwebrtc/modules/pacing/pacing_gn/moz.build third_party/libwebrtc/modules/pacing/pacing_gn/moz.build
56600
index 6fb893c2db14..5605df303cd7 100644
56864
index 28ca1bdfb44c..5605df303cd7 100644
56601
--- third_party/libwebrtc/modules/pacing/pacing_gn/moz.build
56865
--- third_party/libwebrtc/modules/pacing/pacing_gn/moz.build
56602
+++ third_party/libwebrtc/modules/pacing/pacing_gn/moz.build
56866
+++ third_party/libwebrtc/modules/pacing/pacing_gn/moz.build
56603
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
56867
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 56621-56627 index 6fb893c2db14..5605df303cd7 100644 Link Here
56621
 
56885
 
56622
 FINAL_LIBRARY = "webrtc"
56886
 FINAL_LIBRARY = "webrtc"
56623
 
56887
 
56624
@@ -50,191 +59,32 @@ if not CONFIG["MOZ_DEBUG"]:
56888
@@ -50,192 +59,32 @@ if not CONFIG["MOZ_DEBUG"]:
56625
 if CONFIG["MOZ_DEBUG"] == "1":
56889
 if CONFIG["MOZ_DEBUG"] == "1":
56626
 
56890
 
56627
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
56891
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 56691-56696 index 6fb893c2db14..5605df303cd7 100644 Link Here
56691
-    DEFINES["NOMINMAX"] = True
56955
-    DEFINES["NOMINMAX"] = True
56692
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
56956
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
56693
-    DEFINES["PSAPI_VERSION"] = "2"
56957
-    DEFINES["PSAPI_VERSION"] = "2"
56958
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
56694
-    DEFINES["UNICODE"] = True
56959
-    DEFINES["UNICODE"] = True
56695
-    DEFINES["USE_AURA"] = "1"
56960
-    DEFINES["USE_AURA"] = "1"
56696
-    DEFINES["WEBRTC_WIN"] = True
56961
-    DEFINES["WEBRTC_WIN"] = True
Lines 56873-56879 index 77603c780bdc..2ab84b3fe759 100644 Link Here
56873
     DEFINES["USE_X11"] = "1"
57138
     DEFINES["USE_X11"] = "1"
56874
 
57139
 
56875
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
57140
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
56876
index e572e90c311a..712c9fe0bacd 100644
57141
index 42996ab39ade..712c9fe0bacd 100644
56877
--- third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build
57142
--- third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build
56878
+++ third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build
57143
+++ third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build
56879
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
57144
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
Lines 56897-56903 index e572e90c311a..712c9fe0bacd 100644 Link Here
56897
 
57162
 
56898
 FINAL_LIBRARY = "webrtc"
57163
 FINAL_LIBRARY = "webrtc"
56899
 
57164
 
56900
@@ -55,190 +64,32 @@ if not CONFIG["MOZ_DEBUG"]:
57165
@@ -55,191 +64,32 @@ if not CONFIG["MOZ_DEBUG"]:
56901
 if CONFIG["MOZ_DEBUG"] == "1":
57166
 if CONFIG["MOZ_DEBUG"] == "1":
56902
 
57167
 
56903
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
57168
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 56966-56971 index e572e90c311a..712c9fe0bacd 100644 Link Here
56966
-    DEFINES["NOMINMAX"] = True
57231
-    DEFINES["NOMINMAX"] = True
56967
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
57232
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
56968
-    DEFINES["PSAPI_VERSION"] = "2"
57233
-    DEFINES["PSAPI_VERSION"] = "2"
57234
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
56969
-    DEFINES["UNICODE"] = True
57235
-    DEFINES["UNICODE"] = True
56970
-    DEFINES["USE_AURA"] = "1"
57236
-    DEFINES["USE_AURA"] = "1"
56971
-    DEFINES["WEBRTC_WIN"] = True
57237
-    DEFINES["WEBRTC_WIN"] = True
Lines 57095-57101 index e572e90c311a..712c9fe0bacd 100644 Link Here
57095
 
57361
 
57096
 Library("remote_bitrate_estimator_gn")
57362
 Library("remote_bitrate_estimator_gn")
57097
diff --git third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build
57363
diff --git third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build
57098
index f03986e482da..8cfbc6b1ddb3 100644
57364
index 09f81dcf27da..8cfbc6b1ddb3 100644
57099
--- third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build
57365
--- third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build
57100
+++ third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build
57366
+++ third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build
57101
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
57367
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 57119-57125 index f03986e482da..8cfbc6b1ddb3 100644 Link Here
57119
 
57385
 
57120
 FINAL_LIBRARY = "webrtc"
57386
 FINAL_LIBRARY = "webrtc"
57121
 
57387
 
57122
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
57388
@@ -43,176 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
57123
 if CONFIG["MOZ_DEBUG"] == "1":
57389
 if CONFIG["MOZ_DEBUG"] == "1":
57124
 
57390
 
57125
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
57391
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 57180-57185 index f03986e482da..8cfbc6b1ddb3 100644 Link Here
57180
-    DEFINES["NOMINMAX"] = True
57446
-    DEFINES["NOMINMAX"] = True
57181
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
57447
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
57182
-    DEFINES["PSAPI_VERSION"] = "2"
57448
-    DEFINES["PSAPI_VERSION"] = "2"
57449
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
57183
-    DEFINES["UNICODE"] = True
57450
-    DEFINES["UNICODE"] = True
57184
-    DEFINES["USE_AURA"] = "1"
57451
-    DEFINES["USE_AURA"] = "1"
57185
-    DEFINES["WEBRTC_WIN"] = True
57452
-    DEFINES["WEBRTC_WIN"] = True
Lines 57302-57308 index f03986e482da..8cfbc6b1ddb3 100644 Link Here
57302
 
57569
 
57303
 Library("leb128_gn")
57570
 Library("leb128_gn")
57304
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
57571
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
57305
index da69b456d323..3a86740343d2 100644
57572
index 2e9df3733b6f..3a86740343d2 100644
57306
--- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build
57573
--- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build
57307
+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build
57574
+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build
57308
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
57575
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 57326-57332 index da69b456d323..3a86740343d2 100644 Link Here
57326
 
57593
 
57327
 FINAL_LIBRARY = "webrtc"
57594
 FINAL_LIBRARY = "webrtc"
57328
 
57595
 
57329
@@ -85,190 +94,32 @@ if not CONFIG["MOZ_DEBUG"]:
57596
@@ -85,191 +94,32 @@ if not CONFIG["MOZ_DEBUG"]:
57330
 if CONFIG["MOZ_DEBUG"] == "1":
57597
 if CONFIG["MOZ_DEBUG"] == "1":
57331
 
57598
 
57332
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
57599
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 57395-57400 index da69b456d323..3a86740343d2 100644 Link Here
57395
-    DEFINES["NOMINMAX"] = True
57662
-    DEFINES["NOMINMAX"] = True
57396
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
57663
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
57397
-    DEFINES["PSAPI_VERSION"] = "2"
57664
-    DEFINES["PSAPI_VERSION"] = "2"
57665
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
57398
-    DEFINES["UNICODE"] = True
57666
-    DEFINES["UNICODE"] = True
57399
-    DEFINES["USE_AURA"] = "1"
57667
-    DEFINES["USE_AURA"] = "1"
57400
-    DEFINES["WEBRTC_WIN"] = True
57668
-    DEFINES["WEBRTC_WIN"] = True
Lines 57524-57530 index da69b456d323..3a86740343d2 100644 Link Here
57524
 
57792
 
57525
 Library("rtp_rtcp_format_gn")
57793
 Library("rtp_rtcp_format_gn")
57526
diff --git third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
57794
diff --git third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
57527
index d4d42e4dcf5c..ca2824350d12 100644
57795
index 3e34426b3ba4..b47ce74d222a 100644
57528
--- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
57796
--- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
57529
+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
57797
+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
57530
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
57798
@@ -13,11 +13,20 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
Lines 57548-57554 index d4d42e4dcf5c..ca2824350d12 100644 Link Here
57548
 
57816
 
57549
 FINAL_LIBRARY = "webrtc"
57817
 FINAL_LIBRARY = "webrtc"
57550
 
57818
 
57551
@@ -97,191 +106,32 @@ if not CONFIG["MOZ_DEBUG"]:
57819
@@ -98,192 +107,32 @@ if not CONFIG["MOZ_DEBUG"]:
57552
 if CONFIG["MOZ_DEBUG"] == "1":
57820
 if CONFIG["MOZ_DEBUG"] == "1":
57553
 
57821
 
57554
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
57822
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 57618-57623 index d4d42e4dcf5c..ca2824350d12 100644 Link Here
57618
-    DEFINES["NOMINMAX"] = True
57886
-    DEFINES["NOMINMAX"] = True
57619
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
57887
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
57620
-    DEFINES["PSAPI_VERSION"] = "2"
57888
-    DEFINES["PSAPI_VERSION"] = "2"
57889
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
57621
-    DEFINES["UNICODE"] = True
57890
-    DEFINES["UNICODE"] = True
57622
-    DEFINES["USE_AURA"] = "1"
57891
-    DEFINES["USE_AURA"] = "1"
57623
-    DEFINES["WEBRTC_WIN"] = True
57892
-    DEFINES["WEBRTC_WIN"] = True
Lines 57747-57753 index d4d42e4dcf5c..ca2824350d12 100644 Link Here
57747
 
58016
 
57748
 Library("rtp_rtcp_gn")
58017
 Library("rtp_rtcp_gn")
57749
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
58018
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
57750
index 99447dd14992..4743dce9a666 100644
58019
index 02b919fc1648..4743dce9a666 100644
57751
--- third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build
58020
--- third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build
57752
+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build
58021
+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build
57753
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
58022
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 57771-57777 index 99447dd14992..4743dce9a666 100644 Link Here
57771
 
58040
 
57772
 FINAL_LIBRARY = "webrtc"
58041
 FINAL_LIBRARY = "webrtc"
57773
 
58042
 
57774
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
58043
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
57775
 if CONFIG["MOZ_DEBUG"] == "1":
58044
 if CONFIG["MOZ_DEBUG"] == "1":
57776
 
58045
 
57777
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
58046
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 57836-57841 index 99447dd14992..4743dce9a666 100644 Link Here
57836
-    DEFINES["NOMINMAX"] = True
58105
-    DEFINES["NOMINMAX"] = True
57837
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
58106
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
57838
-    DEFINES["PSAPI_VERSION"] = "2"
58107
-    DEFINES["PSAPI_VERSION"] = "2"
58108
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
57839
-    DEFINES["UNICODE"] = True
58109
-    DEFINES["UNICODE"] = True
57840
-    DEFINES["USE_AURA"] = "1"
58110
-    DEFINES["USE_AURA"] = "1"
57841
-    DEFINES["WEBRTC_WIN"] = True
58111
-    DEFINES["WEBRTC_WIN"] = True
Lines 57962-57968 index 99447dd14992..4743dce9a666 100644 Link Here
57962
 
58232
 
57963
 Library("rtp_video_header_gn")
58233
 Library("rtp_video_header_gn")
57964
diff --git third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build
58234
diff --git third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build
57965
index 40022820400d..a8dff360398f 100644
58235
index 2ea2bc54845b..a8dff360398f 100644
57966
--- third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build
58236
--- third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build
57967
+++ third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build
58237
+++ third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build
57968
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
58238
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 57986-57992 index 40022820400d..a8dff360398f 100644 Link Here
57986
 
58256
 
57987
 FINAL_LIBRARY = "webrtc"
58257
 FINAL_LIBRARY = "webrtc"
57988
 
58258
 
57989
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
58259
@@ -43,176 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
57990
 if CONFIG["MOZ_DEBUG"] == "1":
58260
 if CONFIG["MOZ_DEBUG"] == "1":
57991
 
58261
 
57992
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
58262
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 58047-58052 index 40022820400d..a8dff360398f 100644 Link Here
58047
-    DEFINES["NOMINMAX"] = True
58317
-    DEFINES["NOMINMAX"] = True
58048
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
58318
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
58049
-    DEFINES["PSAPI_VERSION"] = "2"
58319
-    DEFINES["PSAPI_VERSION"] = "2"
58320
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
58050
-    DEFINES["UNICODE"] = True
58321
-    DEFINES["UNICODE"] = True
58051
-    DEFINES["USE_AURA"] = "1"
58322
-    DEFINES["USE_AURA"] = "1"
58052
-    DEFINES["WEBRTC_WIN"] = True
58323
-    DEFINES["WEBRTC_WIN"] = True
Lines 58169-58175 index 40022820400d..a8dff360398f 100644 Link Here
58169
 
58440
 
58170
 Library("fft_gn")
58441
 Library("fft_gn")
58171
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
58442
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
58172
index 3b2ee5ee3d97..af84f0dd5f5a 100644
58443
index 2dfeb265d510..af84f0dd5f5a 100644
58173
--- third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build
58444
--- third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build
58174
+++ third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build
58445
+++ third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build
58175
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
58446
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 58193-58199 index 3b2ee5ee3d97..af84f0dd5f5a 100644 Link Here
58193
 
58464
 
58194
 FINAL_LIBRARY = "webrtc"
58465
 FINAL_LIBRARY = "webrtc"
58195
 
58466
 
58196
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
58467
@@ -43,176 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
58197
 if CONFIG["MOZ_DEBUG"] == "1":
58468
 if CONFIG["MOZ_DEBUG"] == "1":
58198
 
58469
 
58199
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
58470
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 58254-58259 index 3b2ee5ee3d97..af84f0dd5f5a 100644 Link Here
58254
-    DEFINES["NOMINMAX"] = True
58525
-    DEFINES["NOMINMAX"] = True
58255
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
58526
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
58256
-    DEFINES["PSAPI_VERSION"] = "2"
58527
-    DEFINES["PSAPI_VERSION"] = "2"
58528
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
58257
-    DEFINES["UNICODE"] = True
58529
-    DEFINES["UNICODE"] = True
58258
-    DEFINES["USE_AURA"] = "1"
58530
-    DEFINES["USE_AURA"] = "1"
58259
-    DEFINES["WEBRTC_WIN"] = True
58531
-    DEFINES["WEBRTC_WIN"] = True
Lines 58376-58382 index 3b2ee5ee3d97..af84f0dd5f5a 100644 Link Here
58376
 
58648
 
58377
 Library("g711_3p_gn")
58649
 Library("g711_3p_gn")
58378
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
58650
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
58379
index f40abbac1407..d320b4ef86f8 100644
58651
index 7eb2371bd302..d320b4ef86f8 100644
58380
--- third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build
58652
--- third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build
58381
+++ third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build
58653
+++ third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build
58382
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
58654
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 58400-58406 index f40abbac1407..d320b4ef86f8 100644 Link Here
58400
 
58672
 
58401
 FINAL_LIBRARY = "webrtc"
58673
 FINAL_LIBRARY = "webrtc"
58402
 
58674
 
58403
@@ -47,175 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
58675
@@ -47,176 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
58404
 if CONFIG["MOZ_DEBUG"] == "1":
58676
 if CONFIG["MOZ_DEBUG"] == "1":
58405
 
58677
 
58406
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
58678
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 58461-58466 index f40abbac1407..d320b4ef86f8 100644 Link Here
58461
-    DEFINES["NOMINMAX"] = True
58733
-    DEFINES["NOMINMAX"] = True
58462
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
58734
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
58463
-    DEFINES["PSAPI_VERSION"] = "2"
58735
-    DEFINES["PSAPI_VERSION"] = "2"
58736
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
58464
-    DEFINES["UNICODE"] = True
58737
-    DEFINES["UNICODE"] = True
58465
-    DEFINES["USE_AURA"] = "1"
58738
-    DEFINES["USE_AURA"] = "1"
58466
-    DEFINES["WEBRTC_WIN"] = True
58739
-    DEFINES["WEBRTC_WIN"] = True
Lines 58583-58589 index f40abbac1407..d320b4ef86f8 100644 Link Here
58583
 
58856
 
58584
 Library("g722_3p_gn")
58857
 Library("g722_3p_gn")
58585
diff --git third_party/libwebrtc/modules/utility/utility_gn/moz.build third_party/libwebrtc/modules/utility/utility_gn/moz.build
58858
diff --git third_party/libwebrtc/modules/utility/utility_gn/moz.build third_party/libwebrtc/modules/utility/utility_gn/moz.build
58586
index b932f5da73da..49d074bc4db2 100644
58859
index ddb134b01e09..e6d9cc9715bf 100644
58587
--- third_party/libwebrtc/modules/utility/utility_gn/moz.build
58860
--- third_party/libwebrtc/modules/utility/utility_gn/moz.build
58588
+++ third_party/libwebrtc/modules/utility/utility_gn/moz.build
58861
+++ third_party/libwebrtc/modules/utility/utility_gn/moz.build
58589
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
58862
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 58607-58613 index b932f5da73da..49d074bc4db2 100644 Link Here
58607
 
58880
 
58608
 FINAL_LIBRARY = "webrtc"
58881
 FINAL_LIBRARY = "webrtc"
58609
 
58882
 
58610
@@ -43,187 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
58883
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
58611
 if CONFIG["MOZ_DEBUG"] == "1":
58884
 if CONFIG["MOZ_DEBUG"] == "1":
58612
 
58885
 
58613
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
58886
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 58676-58681 index b932f5da73da..49d074bc4db2 100644 Link Here
58676
-    DEFINES["NOMINMAX"] = True
58949
-    DEFINES["NOMINMAX"] = True
58677
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
58950
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
58678
-    DEFINES["PSAPI_VERSION"] = "2"
58951
-    DEFINES["PSAPI_VERSION"] = "2"
58952
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
58679
-    DEFINES["UNICODE"] = True
58953
-    DEFINES["UNICODE"] = True
58680
-    DEFINES["USE_AURA"] = "1"
58954
-    DEFINES["USE_AURA"] = "1"
58681
-    DEFINES["WEBRTC_WIN"] = True
58955
-    DEFINES["WEBRTC_WIN"] = True
Lines 58695-58704 index b932f5da73da..49d074bc4db2 100644 Link Here
58695
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
58969
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
58696
-    DEFINES["_WINDOWS"] = True
58970
-    DEFINES["_WINDOWS"] = True
58697
-    DEFINES["__STD_C"] = True
58971
-    DEFINES["__STD_C"] = True
58698
-
58699
-    OS_LIBS += [
58700
-        "winmm"
58701
-    ]
58702
+    DEFINES["_DEBUG"] = True
58972
+    DEFINES["_DEBUG"] = True
58703
 
58973
 
58704
 if CONFIG["CPU_ARCH"] == "aarch64":
58974
 if CONFIG["CPU_ARCH"] == "aarch64":
Lines 58708-58717 index b932f5da73da..49d074bc4db2 100644 Link Here
58708
 
58978
 
58709
-if CONFIG["CPU_ARCH"] == "arm":
58979
-if CONFIG["CPU_ARCH"] == "arm":
58710
-
58980
-
58711
-    CXXFLAGS += [
58712
-        "-mfpu=neon"
58713
-    ]
58714
-
58715
-    DEFINES["WEBRTC_ARCH_ARM"] = True
58981
-    DEFINES["WEBRTC_ARCH_ARM"] = True
58716
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
58982
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
58717
-    DEFINES["WEBRTC_HAS_NEON"] = True
58983
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 58728-58739 index b932f5da73da..49d074bc4db2 100644 Link Here
58728
 
58994
 
58729
 if CONFIG["CPU_ARCH"] == "x86":
58995
 if CONFIG["CPU_ARCH"] == "x86":
58730
 
58996
 
58731
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
58997
@@ -154,65 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
58732
-
58998
 
58733
-if CONFIG["CPU_ARCH"] == "x86_64":
58999
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
58734
-
59000
 
58735
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
58736
-
58737
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
59001
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
58738
-
59002
-
58739
-    DEFINES["_DEBUG"] = True
59003
-    DEFINES["_DEBUG"] = True
Lines 58755-58765 index b932f5da73da..49d074bc4db2 100644 Link Here
58755
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
59019
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
58756
-
59020
-
58757
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
59021
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
58758
-
59022
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
58759
-    DEFINES["USE_X11"] = "1"
59023
 
58760
-
59024
     DEFINES["USE_X11"] = "1"
59025
 
58761
-if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
59026
-if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
58762
-
59027
-
59028
-    CXXFLAGS += [
59029
-        "-mfpu=neon"
59030
-    ]
59031
-
58763
-    OS_LIBS += [
59032
-    OS_LIBS += [
58764
-        "android_support",
59033
-        "android_support",
58765
-        "unwind"
59034
-        "unwind"
Lines 58767-58776 index b932f5da73da..49d074bc4db2 100644 Link Here
58767
-
59036
-
58768
-if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
59037
-if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
58769
-
59038
-
58770
     CXXFLAGS += [
59039
-    CXXFLAGS += [
58771
         "-msse2"
59040
-        "-msse2"
58772
     ]
59041
-    ]
58773
 
59042
-
58774
-    OS_LIBS += [
59043
-    OS_LIBS += [
58775
-        "android_support"
59044
-        "android_support"
58776
-    ]
59045
-    ]
Lines 58784-58808 index b932f5da73da..49d074bc4db2 100644 Link Here
58784
-    DEFINES["_GNU_SOURCE"] = True
59053
-    DEFINES["_GNU_SOURCE"] = True
58785
-
59054
-
58786
-if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
59055
-if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
58787
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
59056
-
58788
 
58789
-    CXXFLAGS += [
58790
-        "-msse2"
58791
-    ]
58792
+if CONFIG["CPU_ARCH"] == "x86_64":
58793
 
58794
-    DEFINES["_GNU_SOURCE"] = True
59057
-    DEFINES["_GNU_SOURCE"] = True
58795
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
59058
-
58796
 
58797
-if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
59059
-if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
58798
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
59060
-
58799
 
58800
-    DEFINES["_GNU_SOURCE"] = True
59061
-    DEFINES["_GNU_SOURCE"] = True
58801
+    DEFINES["USE_X11"] = "1"
59062
-
58802
 
58803
 Library("utility_gn")
59063
 Library("utility_gn")
58804
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
59064
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
58805
index 4b4b418c551f..6daff73f66b4 100644
59065
index 18f193abd036..6daff73f66b4 100644
58806
--- third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build
59066
--- third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build
58807
+++ third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build
59067
+++ third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build
58808
@@ -14,11 +14,20 @@ AllowCompilerWarnings()
59068
@@ -14,11 +14,20 @@ AllowCompilerWarnings()
Lines 58837-58843 index 4b4b418c551f..6daff73f66b4 100644 Link Here
58837
     "/third_party/libwebrtc/modules/video_capture/video_capture_options.cc"
59097
     "/third_party/libwebrtc/modules/video_capture/video_capture_options.cc"
58838
 ]
59098
 ]
58839
 
59099
 
58840
@@ -45,149 +58,13 @@ if not CONFIG["MOZ_DEBUG"]:
59100
@@ -45,150 +58,13 @@ if not CONFIG["MOZ_DEBUG"]:
58841
 if CONFIG["MOZ_DEBUG"] == "1":
59101
 if CONFIG["MOZ_DEBUG"] == "1":
58842
 
59102
 
58843
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
59103
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 58921-58926 index 4b4b418c551f..6daff73f66b4 100644 Link Here
58921
-    DEFINES["NOMINMAX"] = True
59181
-    DEFINES["NOMINMAX"] = True
58922
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
59182
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
58923
-    DEFINES["PSAPI_VERSION"] = "2"
59183
-    DEFINES["PSAPI_VERSION"] = "2"
59184
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
58924
-    DEFINES["UNICODE"] = True
59185
-    DEFINES["UNICODE"] = True
58925
-    DEFINES["USE_AURA"] = "1"
59186
-    DEFINES["USE_AURA"] = "1"
58926
-    DEFINES["WEBRTC_WIN"] = True
59187
-    DEFINES["WEBRTC_WIN"] = True
Lines 58988-58994 index 4b4b418c551f..6daff73f66b4 100644 Link Here
58988
 
59249
 
58989
     LOCAL_INCLUDES += [
59250
     LOCAL_INCLUDES += [
58990
         "/gfx/angle/checkout/include/",
59251
         "/gfx/angle/checkout/include/",
58991
@@ -206,81 +83,11 @@ if CONFIG["CPU_ARCH"] == "mips32":
59252
@@ -207,81 +83,11 @@ if CONFIG["CPU_ARCH"] == "mips32":
58992
         "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
59253
         "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
58993
     ]
59254
     ]
58994
 
59255
 
Lines 59073-59079 index 4b4b418c551f..6daff73f66b4 100644 Link Here
59073
 
59334
 
59074
     LOCAL_INCLUDES += [
59335
     LOCAL_INCLUDES += [
59075
         "/gfx/angle/checkout/include/",
59336
         "/gfx/angle/checkout/include/",
59076
@@ -299,10 +106,9 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
59337
@@ -300,10 +106,9 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
59077
         "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
59338
         "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
59078
     ]
59339
     ]
59079
 
59340
 
Lines 59085-59091 index 4b4b418c551f..6daff73f66b4 100644 Link Here
59085
 
59346
 
59086
     LOCAL_INCLUDES += [
59347
     LOCAL_INCLUDES += [
59087
         "/gfx/angle/checkout/include/",
59348
         "/gfx/angle/checkout/include/",
59088
@@ -321,14 +127,14 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
59349
@@ -322,14 +127,14 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
59089
         "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
59350
         "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
59090
     ]
59351
     ]
59091
 
59352
 
Lines 59102-59108 index 4b4b418c551f..6daff73f66b4 100644 Link Here
59102
 
59363
 
59103
     LOCAL_INCLUDES += [
59364
     LOCAL_INCLUDES += [
59104
         "/gfx/angle/checkout/include/",
59365
         "/gfx/angle/checkout/include/",
59105
@@ -347,10 +153,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
59366
@@ -348,10 +153,10 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
59106
         "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
59367
         "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
59107
     ]
59368
     ]
59108
 
59369
 
Lines 59115-59121 index 4b4b418c551f..6daff73f66b4 100644 Link Here
59115
 
59376
 
59116
     LOCAL_INCLUDES += [
59377
     LOCAL_INCLUDES += [
59117
         "/gfx/angle/checkout/include/",
59378
         "/gfx/angle/checkout/include/",
59118
@@ -369,4 +175,8 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
59379
@@ -370,4 +175,8 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
59119
         "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
59380
         "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc"
59120
     ]
59381
     ]
59121
 
59382
 
Lines 59125-59131 index 4b4b418c551f..6daff73f66b4 100644 Link Here
59125
+
59386
+
59126
 Library("video_capture_internal_impl_gn")
59387
 Library("video_capture_internal_impl_gn")
59127
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
59388
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
59128
index 8aa245b127c1..1f157fe113a0 100644
59389
index 521c96db23a0..1f157fe113a0 100644
59129
--- third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build
59390
--- third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build
59130
+++ third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build
59391
+++ third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build
59131
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
59392
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 59149-59155 index 8aa245b127c1..1f157fe113a0 100644 Link Here
59149
 
59410
 
59150
 FINAL_LIBRARY = "webrtc"
59411
 FINAL_LIBRARY = "webrtc"
59151
 
59412
 
59152
@@ -47,191 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
59413
@@ -47,192 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
59153
 if CONFIG["MOZ_DEBUG"] == "1":
59414
 if CONFIG["MOZ_DEBUG"] == "1":
59154
 
59415
 
59155
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
59416
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 59219-59224 index 8aa245b127c1..1f157fe113a0 100644 Link Here
59219
-    DEFINES["NOMINMAX"] = True
59480
-    DEFINES["NOMINMAX"] = True
59220
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
59481
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
59221
-    DEFINES["PSAPI_VERSION"] = "2"
59482
-    DEFINES["PSAPI_VERSION"] = "2"
59483
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
59222
-    DEFINES["UNICODE"] = True
59484
-    DEFINES["UNICODE"] = True
59223
-    DEFINES["USE_AURA"] = "1"
59485
-    DEFINES["USE_AURA"] = "1"
59224
-    DEFINES["WEBRTC_WIN"] = True
59486
-    DEFINES["WEBRTC_WIN"] = True
Lines 59348-59354 index 8aa245b127c1..1f157fe113a0 100644 Link Here
59348
 
59610
 
59349
 Library("video_capture_module_gn")
59611
 Library("video_capture_module_gn")
59350
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
59612
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
59351
index 9020f11067fc..fcc8a73423ab 100644
59613
index 7162249695f9..fcc8a73423ab 100644
59352
--- third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build
59614
--- third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build
59353
+++ third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build
59615
+++ third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build
59354
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
59616
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 59372-59378 index 9020f11067fc..fcc8a73423ab 100644 Link Here
59372
 
59634
 
59373
 FINAL_LIBRARY = "webrtc"
59635
 FINAL_LIBRARY = "webrtc"
59374
 
59636
 
59375
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
59637
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
59376
 if CONFIG["MOZ_DEBUG"] == "1":
59638
 if CONFIG["MOZ_DEBUG"] == "1":
59377
 
59639
 
59378
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
59640
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 59437-59442 index 9020f11067fc..fcc8a73423ab 100644 Link Here
59437
-    DEFINES["NOMINMAX"] = True
59699
-    DEFINES["NOMINMAX"] = True
59438
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
59700
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
59439
-    DEFINES["PSAPI_VERSION"] = "2"
59701
-    DEFINES["PSAPI_VERSION"] = "2"
59702
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
59440
-    DEFINES["UNICODE"] = True
59703
-    DEFINES["UNICODE"] = True
59441
-    DEFINES["USE_AURA"] = "1"
59704
-    DEFINES["USE_AURA"] = "1"
59442
-    DEFINES["WEBRTC_WIN"] = True
59705
-    DEFINES["WEBRTC_WIN"] = True
Lines 59563-59569 index 9020f11067fc..fcc8a73423ab 100644 Link Here
59563
 
59826
 
59564
 Library("chain_diff_calculator_gn")
59827
 Library("chain_diff_calculator_gn")
59565
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
59828
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
59566
index 7c87e340afde..b4f0490937ff 100644
59829
index 762ae476513c..b4f0490937ff 100644
59567
--- third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build
59830
--- third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build
59568
+++ third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build
59831
+++ third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build
59569
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
59832
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 59587-59593 index 7c87e340afde..b4f0490937ff 100644 Link Here
59587
 
59850
 
59588
 FINAL_LIBRARY = "webrtc"
59851
 FINAL_LIBRARY = "webrtc"
59589
 
59852
 
59590
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
59853
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
59591
 if CONFIG["MOZ_DEBUG"] == "1":
59854
 if CONFIG["MOZ_DEBUG"] == "1":
59592
 
59855
 
59593
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
59856
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 59652-59657 index 7c87e340afde..b4f0490937ff 100644 Link Here
59652
-    DEFINES["NOMINMAX"] = True
59915
-    DEFINES["NOMINMAX"] = True
59653
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
59916
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
59654
-    DEFINES["PSAPI_VERSION"] = "2"
59917
-    DEFINES["PSAPI_VERSION"] = "2"
59918
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
59655
-    DEFINES["UNICODE"] = True
59919
-    DEFINES["UNICODE"] = True
59656
-    DEFINES["USE_AURA"] = "1"
59920
-    DEFINES["USE_AURA"] = "1"
59657
-    DEFINES["WEBRTC_WIN"] = True
59921
-    DEFINES["WEBRTC_WIN"] = True
Lines 59696-59702 index 7c87e340afde..b4f0490937ff 100644 Link Here
59696
 
59960
 
59697
 if CONFIG["CPU_ARCH"] == "x86":
59961
 if CONFIG["CPU_ARCH"] == "x86":
59698
 
59962
 
59699
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
59963
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
59700
 
59964
 
59701
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
59965
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
59702
 
59966
 
Lines 59756-59762 index 7c87e340afde..b4f0490937ff 100644 Link Here
59756
-
60020
-
59757
 Library("codec_globals_headers_gn")
60021
 Library("codec_globals_headers_gn")
59758
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
60022
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
59759
index cc297017e3d5..12901738a75f 100644
60023
index 08853e440baf..12901738a75f 100644
59760
--- third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build
60024
--- third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build
59761
+++ third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build
60025
+++ third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build
59762
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
60026
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 59780-59786 index cc297017e3d5..12901738a75f 100644 Link Here
59780
 
60044
 
59781
 FINAL_LIBRARY = "webrtc"
60045
 FINAL_LIBRARY = "webrtc"
59782
 
60046
 
59783
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
60047
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
59784
 if CONFIG["MOZ_DEBUG"] == "1":
60048
 if CONFIG["MOZ_DEBUG"] == "1":
59785
 
60049
 
59786
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
60050
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 59845-59850 index cc297017e3d5..12901738a75f 100644 Link Here
59845
-    DEFINES["NOMINMAX"] = True
60109
-    DEFINES["NOMINMAX"] = True
59846
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
60110
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
59847
-    DEFINES["PSAPI_VERSION"] = "2"
60111
-    DEFINES["PSAPI_VERSION"] = "2"
60112
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
59848
-    DEFINES["UNICODE"] = True
60113
-    DEFINES["UNICODE"] = True
59849
-    DEFINES["USE_AURA"] = "1"
60114
-    DEFINES["USE_AURA"] = "1"
59850
-    DEFINES["WEBRTC_WIN"] = True
60115
-    DEFINES["WEBRTC_WIN"] = True
Lines 59971-59977 index cc297017e3d5..12901738a75f 100644 Link Here
59971
 
60236
 
59972
 Library("av1_svc_config_gn")
60237
 Library("av1_svc_config_gn")
59973
diff --git third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build
60238
diff --git third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build
59974
index 159b77d10cab..217d265bacee 100644
60239
index 93df73b440c0..217d265bacee 100644
59975
--- third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build
60240
--- third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build
59976
+++ third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build
60241
+++ third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build
59977
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
60242
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 59995-60001 index 159b77d10cab..217d265bacee 100644 Link Here
59995
 
60260
 
59996
 FINAL_LIBRARY = "webrtc"
60261
 FINAL_LIBRARY = "webrtc"
59997
 
60262
 
59998
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
60263
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
59999
 if CONFIG["MOZ_DEBUG"] == "1":
60264
 if CONFIG["MOZ_DEBUG"] == "1":
60000
 
60265
 
60001
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
60266
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 60064-60069 index 159b77d10cab..217d265bacee 100644 Link Here
60064
-    DEFINES["NOMINMAX"] = True
60329
-    DEFINES["NOMINMAX"] = True
60065
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
60330
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
60066
-    DEFINES["PSAPI_VERSION"] = "2"
60331
-    DEFINES["PSAPI_VERSION"] = "2"
60332
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
60067
-    DEFINES["UNICODE"] = True
60333
-    DEFINES["UNICODE"] = True
60068
-    DEFINES["USE_AURA"] = "1"
60334
-    DEFINES["USE_AURA"] = "1"
60069
-    DEFINES["WEBRTC_WIN"] = True
60335
-    DEFINES["WEBRTC_WIN"] = True
Lines 60193-60199 index 159b77d10cab..217d265bacee 100644 Link Here
60193
 
60459
 
60194
 Library("encoded_frame_gn")
60460
 Library("encoded_frame_gn")
60195
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
60461
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
60196
index c518044c948a..74af6c5dc520 100644
60462
index 4b3ab25d4f74..74af6c5dc520 100644
60197
--- third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build
60463
--- third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build
60198
+++ third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build
60464
+++ third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build
60199
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
60465
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 60217-60223 index c518044c948a..74af6c5dc520 100644 Link Here
60217
 
60483
 
60218
 FINAL_LIBRARY = "webrtc"
60484
 FINAL_LIBRARY = "webrtc"
60219
 
60485
 
60220
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
60486
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
60221
 if CONFIG["MOZ_DEBUG"] == "1":
60487
 if CONFIG["MOZ_DEBUG"] == "1":
60222
 
60488
 
60223
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
60489
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 60282-60287 index c518044c948a..74af6c5dc520 100644 Link Here
60282
-    DEFINES["NOMINMAX"] = True
60548
-    DEFINES["NOMINMAX"] = True
60283
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
60549
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
60284
-    DEFINES["PSAPI_VERSION"] = "2"
60550
-    DEFINES["PSAPI_VERSION"] = "2"
60551
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
60285
-    DEFINES["UNICODE"] = True
60552
-    DEFINES["UNICODE"] = True
60286
-    DEFINES["USE_AURA"] = "1"
60553
-    DEFINES["USE_AURA"] = "1"
60287
-    DEFINES["WEBRTC_WIN"] = True
60554
-    DEFINES["WEBRTC_WIN"] = True
Lines 60408-60414 index c518044c948a..74af6c5dc520 100644 Link Here
60408
 
60675
 
60409
 Library("frame_dependencies_calculator_gn")
60676
 Library("frame_dependencies_calculator_gn")
60410
diff --git third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build
60677
diff --git third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build
60411
index d6342c48f713..544a97f60aad 100644
60678
index f811d36c257f..544a97f60aad 100644
60412
--- third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build
60679
--- third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build
60413
+++ third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build
60680
+++ third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build
60414
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
60681
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 60432-60438 index d6342c48f713..544a97f60aad 100644 Link Here
60432
 
60699
 
60433
 FINAL_LIBRARY = "webrtc"
60700
 FINAL_LIBRARY = "webrtc"
60434
 
60701
 
60435
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
60702
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
60436
 if CONFIG["MOZ_DEBUG"] == "1":
60703
 if CONFIG["MOZ_DEBUG"] == "1":
60437
 
60704
 
60438
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
60705
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 60501-60506 index d6342c48f713..544a97f60aad 100644 Link Here
60501
-    DEFINES["NOMINMAX"] = True
60768
-    DEFINES["NOMINMAX"] = True
60502
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
60769
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
60503
-    DEFINES["PSAPI_VERSION"] = "2"
60770
-    DEFINES["PSAPI_VERSION"] = "2"
60771
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
60504
-    DEFINES["UNICODE"] = True
60772
-    DEFINES["UNICODE"] = True
60505
-    DEFINES["USE_AURA"] = "1"
60773
-    DEFINES["USE_AURA"] = "1"
60506
-    DEFINES["WEBRTC_WIN"] = True
60774
-    DEFINES["WEBRTC_WIN"] = True
Lines 60630-60636 index d6342c48f713..544a97f60aad 100644 Link Here
60630
 
60898
 
60631
 Library("frame_helpers_gn")
60899
 Library("frame_helpers_gn")
60632
diff --git third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build
60900
diff --git third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build
60633
index 33e763a48d7e..e1db6e2439d5 100644
60901
index 24af8bc27f5a..e1db6e2439d5 100644
60634
--- third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build
60902
--- third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build
60635
+++ third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build
60903
+++ third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build
60636
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
60904
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 60654-60660 index 33e763a48d7e..e1db6e2439d5 100644 Link Here
60654
 
60922
 
60655
 FINAL_LIBRARY = "webrtc"
60923
 FINAL_LIBRARY = "webrtc"
60656
 
60924
 
60657
@@ -44,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
60925
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
60658
 if CONFIG["MOZ_DEBUG"] == "1":
60926
 if CONFIG["MOZ_DEBUG"] == "1":
60659
 
60927
 
60660
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
60928
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 60723-60728 index 33e763a48d7e..e1db6e2439d5 100644 Link Here
60723
-    DEFINES["NOMINMAX"] = True
60991
-    DEFINES["NOMINMAX"] = True
60724
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
60992
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
60725
-    DEFINES["PSAPI_VERSION"] = "2"
60993
-    DEFINES["PSAPI_VERSION"] = "2"
60994
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
60726
-    DEFINES["UNICODE"] = True
60995
-    DEFINES["UNICODE"] = True
60727
-    DEFINES["USE_AURA"] = "1"
60996
-    DEFINES["USE_AURA"] = "1"
60728
-    DEFINES["WEBRTC_WIN"] = True
60997
-    DEFINES["WEBRTC_WIN"] = True
Lines 60852-60858 index 33e763a48d7e..e1db6e2439d5 100644 Link Here
60852
 
61121
 
60853
 Library("nack_requester_gn")
61122
 Library("nack_requester_gn")
60854
diff --git third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build
61123
diff --git third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build
60855
index 9561cb88e8eb..65e5b4757c29 100644
61124
index c251ed8dc84f..65e5b4757c29 100644
60856
--- third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build
61125
--- third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build
60857
+++ third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build
61126
+++ third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build
60858
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
61127
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 60876-60882 index 9561cb88e8eb..65e5b4757c29 100644 Link Here
60876
 
61145
 
60877
 FINAL_LIBRARY = "webrtc"
61146
 FINAL_LIBRARY = "webrtc"
60878
 
61147
 
60879
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
61148
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
60880
 if CONFIG["MOZ_DEBUG"] == "1":
61149
 if CONFIG["MOZ_DEBUG"] == "1":
60881
 
61150
 
60882
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
61151
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 60945-60950 index 9561cb88e8eb..65e5b4757c29 100644 Link Here
60945
-    DEFINES["NOMINMAX"] = True
61214
-    DEFINES["NOMINMAX"] = True
60946
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
61215
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
60947
-    DEFINES["PSAPI_VERSION"] = "2"
61216
-    DEFINES["PSAPI_VERSION"] = "2"
61217
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
60948
-    DEFINES["UNICODE"] = True
61218
-    DEFINES["UNICODE"] = True
60949
-    DEFINES["USE_AURA"] = "1"
61219
-    DEFINES["USE_AURA"] = "1"
60950
-    DEFINES["WEBRTC_WIN"] = True
61220
-    DEFINES["WEBRTC_WIN"] = True
Lines 61074-61080 index 9561cb88e8eb..65e5b4757c29 100644 Link Here
61074
 
61344
 
61075
 Library("packet_buffer_gn")
61345
 Library("packet_buffer_gn")
61076
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
61346
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
61077
index f786b1161681..e6d655af95dc 100644
61347
index e7cdba8af34c..e6d655af95dc 100644
61078
--- third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build
61348
--- third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build
61079
+++ third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build
61349
+++ third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build
61080
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
61350
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 61098-61104 index f786b1161681..e6d655af95dc 100644 Link Here
61098
 
61368
 
61099
 FINAL_LIBRARY = "webrtc"
61369
 FINAL_LIBRARY = "webrtc"
61100
 
61370
 
61101
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
61371
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
61102
 if CONFIG["MOZ_DEBUG"] == "1":
61372
 if CONFIG["MOZ_DEBUG"] == "1":
61103
 
61373
 
61104
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
61374
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 61163-61168 index f786b1161681..e6d655af95dc 100644 Link Here
61163
-    DEFINES["NOMINMAX"] = True
61433
-    DEFINES["NOMINMAX"] = True
61164
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
61434
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
61165
-    DEFINES["PSAPI_VERSION"] = "2"
61435
-    DEFINES["PSAPI_VERSION"] = "2"
61436
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
61166
-    DEFINES["UNICODE"] = True
61437
-    DEFINES["UNICODE"] = True
61167
-    DEFINES["USE_AURA"] = "1"
61438
-    DEFINES["USE_AURA"] = "1"
61168
-    DEFINES["WEBRTC_WIN"] = True
61439
-    DEFINES["WEBRTC_WIN"] = True
Lines 61289-61295 index f786b1161681..e6d655af95dc 100644 Link Here
61289
 
61560
 
61290
 Library("scalability_mode_util_gn")
61561
 Library("scalability_mode_util_gn")
61291
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
61562
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
61292
index a3e45b1cd7ba..12c34079a6e6 100644
61563
index dc072aba46a2..12c34079a6e6 100644
61293
--- third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build
61564
--- third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build
61294
+++ third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build
61565
+++ third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build
61295
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
61566
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 61313-61319 index a3e45b1cd7ba..12c34079a6e6 100644 Link Here
61313
 
61584
 
61314
 FINAL_LIBRARY = "webrtc"
61585
 FINAL_LIBRARY = "webrtc"
61315
 
61586
 
61316
@@ -50,183 +59,32 @@ if not CONFIG["MOZ_DEBUG"]:
61587
@@ -50,184 +59,32 @@ if not CONFIG["MOZ_DEBUG"]:
61317
 if CONFIG["MOZ_DEBUG"] == "1":
61588
 if CONFIG["MOZ_DEBUG"] == "1":
61318
 
61589
 
61319
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
61590
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 61378-61383 index a3e45b1cd7ba..12c34079a6e6 100644 Link Here
61378
-    DEFINES["NOMINMAX"] = True
61649
-    DEFINES["NOMINMAX"] = True
61379
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
61650
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
61380
-    DEFINES["PSAPI_VERSION"] = "2"
61651
-    DEFINES["PSAPI_VERSION"] = "2"
61652
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
61381
-    DEFINES["UNICODE"] = True
61653
-    DEFINES["UNICODE"] = True
61382
-    DEFINES["USE_AURA"] = "1"
61654
-    DEFINES["USE_AURA"] = "1"
61383
-    DEFINES["WEBRTC_WIN"] = True
61655
-    DEFINES["WEBRTC_WIN"] = True
Lines 61504-61510 index a3e45b1cd7ba..12c34079a6e6 100644 Link Here
61504
 
61776
 
61505
 Library("scalability_structures_gn")
61777
 Library("scalability_structures_gn")
61506
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
61778
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
61507
index 42b8307362fe..9348473d2af9 100644
61779
index 887db86beb1a..9348473d2af9 100644
61508
--- third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build
61780
--- third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build
61509
+++ third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build
61781
+++ third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build
61510
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
61782
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 61528-61534 index 42b8307362fe..9348473d2af9 100644 Link Here
61528
 
61800
 
61529
 FINAL_LIBRARY = "webrtc"
61801
 FINAL_LIBRARY = "webrtc"
61530
 
61802
 
61531
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
61803
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
61532
 if CONFIG["MOZ_DEBUG"] == "1":
61804
 if CONFIG["MOZ_DEBUG"] == "1":
61533
 
61805
 
61534
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
61806
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 61593-61598 index 42b8307362fe..9348473d2af9 100644 Link Here
61593
-    DEFINES["NOMINMAX"] = True
61865
-    DEFINES["NOMINMAX"] = True
61594
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
61866
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
61595
-    DEFINES["PSAPI_VERSION"] = "2"
61867
-    DEFINES["PSAPI_VERSION"] = "2"
61868
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
61596
-    DEFINES["UNICODE"] = True
61869
-    DEFINES["UNICODE"] = True
61597
-    DEFINES["USE_AURA"] = "1"
61870
-    DEFINES["USE_AURA"] = "1"
61598
-    DEFINES["WEBRTC_WIN"] = True
61871
-    DEFINES["WEBRTC_WIN"] = True
Lines 61715-61721 index 42b8307362fe..9348473d2af9 100644 Link Here
61715
 
61988
 
61716
 Library("scalable_video_controller_gn")
61989
 Library("scalable_video_controller_gn")
61717
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
61990
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
61718
index 5d7d952a69b9..7157f0bd74ba 100644
61991
index 0099063164b3..7157f0bd74ba 100644
61719
--- third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build
61992
--- third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build
61720
+++ third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build
61993
+++ third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build
61721
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
61994
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 61739-61745 index 5d7d952a69b9..7157f0bd74ba 100644 Link Here
61739
 
62012
 
61740
 FINAL_LIBRARY = "webrtc"
62013
 FINAL_LIBRARY = "webrtc"
61741
 
62014
 
61742
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
62015
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
61743
 if CONFIG["MOZ_DEBUG"] == "1":
62016
 if CONFIG["MOZ_DEBUG"] == "1":
61744
 
62017
 
61745
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
62018
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 61804-61809 index 5d7d952a69b9..7157f0bd74ba 100644 Link Here
61804
-    DEFINES["NOMINMAX"] = True
62077
-    DEFINES["NOMINMAX"] = True
61805
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
62078
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
61806
-    DEFINES["PSAPI_VERSION"] = "2"
62079
-    DEFINES["PSAPI_VERSION"] = "2"
62080
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
61807
-    DEFINES["UNICODE"] = True
62081
-    DEFINES["UNICODE"] = True
61808
-    DEFINES["USE_AURA"] = "1"
62082
-    DEFINES["USE_AURA"] = "1"
61809
-    DEFINES["WEBRTC_WIN"] = True
62083
-    DEFINES["WEBRTC_WIN"] = True
Lines 61930-61936 index 5d7d952a69b9..7157f0bd74ba 100644 Link Here
61930
 
62204
 
61931
 Library("svc_rate_allocator_gn")
62205
 Library("svc_rate_allocator_gn")
61932
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
62206
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
61933
index 86a34e861ec4..1e4f00d3f730 100644
62207
index 18e3c54f37d6..1e4f00d3f730 100644
61934
--- third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build
62208
--- third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build
61935
+++ third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build
62209
+++ third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build
61936
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
62210
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 61954-61960 index 86a34e861ec4..1e4f00d3f730 100644 Link Here
61954
 
62228
 
61955
 FINAL_LIBRARY = "webrtc"
62229
 FINAL_LIBRARY = "webrtc"
61956
 
62230
 
61957
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
62231
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
61958
 if CONFIG["MOZ_DEBUG"] == "1":
62232
 if CONFIG["MOZ_DEBUG"] == "1":
61959
 
62233
 
61960
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
62234
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 62019-62024 index 86a34e861ec4..1e4f00d3f730 100644 Link Here
62019
-    DEFINES["NOMINMAX"] = True
62293
-    DEFINES["NOMINMAX"] = True
62020
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
62294
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
62021
-    DEFINES["PSAPI_VERSION"] = "2"
62295
-    DEFINES["PSAPI_VERSION"] = "2"
62296
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
62022
-    DEFINES["UNICODE"] = True
62297
-    DEFINES["UNICODE"] = True
62023
-    DEFINES["USE_AURA"] = "1"
62298
-    DEFINES["USE_AURA"] = "1"
62024
-    DEFINES["WEBRTC_WIN"] = True
62299
-    DEFINES["WEBRTC_WIN"] = True
Lines 62141-62147 index 86a34e861ec4..1e4f00d3f730 100644 Link Here
62141
 
62416
 
62142
 Library("decode_time_percentile_filter_gn")
62417
 Library("decode_time_percentile_filter_gn")
62143
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
62418
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
62144
index ecdcfc93e128..47bc48987a96 100644
62419
index 101017561e0a..47bc48987a96 100644
62145
--- third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build
62420
--- third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build
62146
+++ third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build
62421
+++ third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build
62147
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
62422
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 62165-62171 index ecdcfc93e128..47bc48987a96 100644 Link Here
62165
 
62440
 
62166
 FINAL_LIBRARY = "webrtc"
62441
 FINAL_LIBRARY = "webrtc"
62167
 
62442
 
62168
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
62443
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
62169
 if CONFIG["MOZ_DEBUG"] == "1":
62444
 if CONFIG["MOZ_DEBUG"] == "1":
62170
 
62445
 
62171
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
62446
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 62230-62235 index ecdcfc93e128..47bc48987a96 100644 Link Here
62230
-    DEFINES["NOMINMAX"] = True
62505
-    DEFINES["NOMINMAX"] = True
62231
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
62506
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
62232
-    DEFINES["PSAPI_VERSION"] = "2"
62507
-    DEFINES["PSAPI_VERSION"] = "2"
62508
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
62233
-    DEFINES["UNICODE"] = True
62509
-    DEFINES["UNICODE"] = True
62234
-    DEFINES["USE_AURA"] = "1"
62510
-    DEFINES["USE_AURA"] = "1"
62235
-    DEFINES["WEBRTC_WIN"] = True
62511
-    DEFINES["WEBRTC_WIN"] = True
Lines 62352-62358 index ecdcfc93e128..47bc48987a96 100644 Link Here
62352
 
62628
 
62353
 Library("frame_delay_variation_kalman_filter_gn")
62629
 Library("frame_delay_variation_kalman_filter_gn")
62354
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
62630
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
62355
index 56b01f3f41eb..a451183c0b23 100644
62631
index a5eb6b71fb36..a451183c0b23 100644
62356
--- third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build
62632
--- third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build
62357
+++ third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build
62633
+++ third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build
62358
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
62634
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 62376-62382 index 56b01f3f41eb..a451183c0b23 100644 Link Here
62376
 
62652
 
62377
 FINAL_LIBRARY = "webrtc"
62653
 FINAL_LIBRARY = "webrtc"
62378
 
62654
 
62379
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
62655
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
62380
 if CONFIG["MOZ_DEBUG"] == "1":
62656
 if CONFIG["MOZ_DEBUG"] == "1":
62381
 
62657
 
62382
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
62658
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 62441-62446 index 56b01f3f41eb..a451183c0b23 100644 Link Here
62441
-    DEFINES["NOMINMAX"] = True
62717
-    DEFINES["NOMINMAX"] = True
62442
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
62718
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
62443
-    DEFINES["PSAPI_VERSION"] = "2"
62719
-    DEFINES["PSAPI_VERSION"] = "2"
62720
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
62444
-    DEFINES["UNICODE"] = True
62721
-    DEFINES["UNICODE"] = True
62445
-    DEFINES["USE_AURA"] = "1"
62722
-    DEFINES["USE_AURA"] = "1"
62446
-    DEFINES["WEBRTC_WIN"] = True
62723
-    DEFINES["WEBRTC_WIN"] = True
Lines 62563-62569 index 56b01f3f41eb..a451183c0b23 100644 Link Here
62563
 
62840
 
62564
 Library("inter_frame_delay_variation_calculator_gn")
62841
 Library("inter_frame_delay_variation_calculator_gn")
62565
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
62842
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
62566
index a0d6154d785f..b158655cdd5d 100644
62843
index 4f73f8844868..b158655cdd5d 100644
62567
--- third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build
62844
--- third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build
62568
+++ third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build
62845
+++ third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build
62569
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
62846
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 62587-62593 index a0d6154d785f..b158655cdd5d 100644 Link Here
62587
 
62864
 
62588
 FINAL_LIBRARY = "webrtc"
62865
 FINAL_LIBRARY = "webrtc"
62589
 
62866
 
62590
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
62867
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
62591
 if CONFIG["MOZ_DEBUG"] == "1":
62868
 if CONFIG["MOZ_DEBUG"] == "1":
62592
 
62869
 
62593
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
62870
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 62656-62661 index a0d6154d785f..b158655cdd5d 100644 Link Here
62656
-    DEFINES["NOMINMAX"] = True
62933
-    DEFINES["NOMINMAX"] = True
62657
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
62934
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
62658
-    DEFINES["PSAPI_VERSION"] = "2"
62935
-    DEFINES["PSAPI_VERSION"] = "2"
62936
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
62659
-    DEFINES["UNICODE"] = True
62937
-    DEFINES["UNICODE"] = True
62660
-    DEFINES["USE_AURA"] = "1"
62938
-    DEFINES["USE_AURA"] = "1"
62661
-    DEFINES["WEBRTC_WIN"] = True
62939
-    DEFINES["WEBRTC_WIN"] = True
Lines 62785-62791 index a0d6154d785f..b158655cdd5d 100644 Link Here
62785
 
63063
 
62786
 Library("jitter_estimator_gn")
63064
 Library("jitter_estimator_gn")
62787
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
63065
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
62788
index 488a49d9c26b..bc1e328ba2ec 100644
63066
index 66e6e7a486ff..bc1e328ba2ec 100644
62789
--- third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build
63067
--- third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build
62790
+++ third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build
63068
+++ third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build
62791
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
63069
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 62809-62815 index 488a49d9c26b..bc1e328ba2ec 100644 Link Here
62809
 
63087
 
62810
 FINAL_LIBRARY = "webrtc"
63088
 FINAL_LIBRARY = "webrtc"
62811
 
63089
 
62812
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
63090
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
62813
 if CONFIG["MOZ_DEBUG"] == "1":
63091
 if CONFIG["MOZ_DEBUG"] == "1":
62814
 
63092
 
62815
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
63093
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 62874-62879 index 488a49d9c26b..bc1e328ba2ec 100644 Link Here
62874
-    DEFINES["NOMINMAX"] = True
63152
-    DEFINES["NOMINMAX"] = True
62875
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
63153
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
62876
-    DEFINES["PSAPI_VERSION"] = "2"
63154
-    DEFINES["PSAPI_VERSION"] = "2"
63155
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
62877
-    DEFINES["UNICODE"] = True
63156
-    DEFINES["UNICODE"] = True
62878
-    DEFINES["USE_AURA"] = "1"
63157
-    DEFINES["USE_AURA"] = "1"
62879
-    DEFINES["WEBRTC_WIN"] = True
63158
-    DEFINES["WEBRTC_WIN"] = True
Lines 62996-63002 index 488a49d9c26b..bc1e328ba2ec 100644 Link Here
62996
 
63275
 
62997
 Library("rtt_filter_gn")
63276
 Library("rtt_filter_gn")
62998
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
63277
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
62999
index 4cd085dd0962..2865a2290f7d 100644
63278
index bdc7bf3dcd5b..2865a2290f7d 100644
63000
--- third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build
63279
--- third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build
63001
+++ third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build
63280
+++ third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build
63002
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
63281
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 63020-63026 index 4cd085dd0962..2865a2290f7d 100644 Link Here
63020
 
63299
 
63021
 FINAL_LIBRARY = "webrtc"
63300
 FINAL_LIBRARY = "webrtc"
63022
 
63301
 
63023
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
63302
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
63024
 if CONFIG["MOZ_DEBUG"] == "1":
63303
 if CONFIG["MOZ_DEBUG"] == "1":
63025
 
63304
 
63026
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
63305
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 63085-63090 index 4cd085dd0962..2865a2290f7d 100644 Link Here
63085
-    DEFINES["NOMINMAX"] = True
63364
-    DEFINES["NOMINMAX"] = True
63086
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
63365
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
63087
-    DEFINES["PSAPI_VERSION"] = "2"
63366
-    DEFINES["PSAPI_VERSION"] = "2"
63367
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
63088
-    DEFINES["UNICODE"] = True
63368
-    DEFINES["UNICODE"] = True
63089
-    DEFINES["USE_AURA"] = "1"
63369
-    DEFINES["USE_AURA"] = "1"
63090
-    DEFINES["WEBRTC_WIN"] = True
63370
-    DEFINES["WEBRTC_WIN"] = True
Lines 63207-63213 index 4cd085dd0962..2865a2290f7d 100644 Link Here
63207
 
63487
 
63208
 Library("timestamp_extrapolator_gn")
63488
 Library("timestamp_extrapolator_gn")
63209
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
63489
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
63210
index 8ab43fb7484d..4fd77d42f049 100644
63490
index dd0e7c007a78..4fd77d42f049 100644
63211
--- third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build
63491
--- third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build
63212
+++ third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build
63492
+++ third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build
63213
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
63493
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 63231-63237 index 8ab43fb7484d..4fd77d42f049 100644 Link Here
63231
 
63511
 
63232
 FINAL_LIBRARY = "webrtc"
63512
 FINAL_LIBRARY = "webrtc"
63233
 
63513
 
63234
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
63514
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
63235
 if CONFIG["MOZ_DEBUG"] == "1":
63515
 if CONFIG["MOZ_DEBUG"] == "1":
63236
 
63516
 
63237
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
63517
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 63300-63305 index 8ab43fb7484d..4fd77d42f049 100644 Link Here
63300
-    DEFINES["NOMINMAX"] = True
63580
-    DEFINES["NOMINMAX"] = True
63301
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
63581
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
63302
-    DEFINES["PSAPI_VERSION"] = "2"
63582
-    DEFINES["PSAPI_VERSION"] = "2"
63583
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
63303
-    DEFINES["UNICODE"] = True
63584
-    DEFINES["UNICODE"] = True
63304
-    DEFINES["USE_AURA"] = "1"
63585
-    DEFINES["USE_AURA"] = "1"
63305
-    DEFINES["WEBRTC_WIN"] = True
63586
-    DEFINES["WEBRTC_WIN"] = True
Lines 63429-63435 index 8ab43fb7484d..4fd77d42f049 100644 Link Here
63429
 
63710
 
63430
 Library("timing_module_gn")
63711
 Library("timing_module_gn")
63431
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
63712
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
63432
index f01783ebd1f3..89deb11da94a 100644
63713
index 8fd8cbe26304..89deb11da94a 100644
63433
--- third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build
63714
--- third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build
63434
+++ third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build
63715
+++ third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build
63435
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
63716
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 63453-63459 index f01783ebd1f3..89deb11da94a 100644 Link Here
63453
 
63734
 
63454
 FINAL_LIBRARY = "webrtc"
63735
 FINAL_LIBRARY = "webrtc"
63455
 
63736
 
63456
@@ -44,183 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
63737
@@ -44,184 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
63457
 if CONFIG["MOZ_DEBUG"] == "1":
63738
 if CONFIG["MOZ_DEBUG"] == "1":
63458
 
63739
 
63459
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
63740
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 63518-63523 index f01783ebd1f3..89deb11da94a 100644 Link Here
63518
-    DEFINES["NOMINMAX"] = True
63799
-    DEFINES["NOMINMAX"] = True
63519
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
63800
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
63520
-    DEFINES["PSAPI_VERSION"] = "2"
63801
-    DEFINES["PSAPI_VERSION"] = "2"
63802
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
63521
-    DEFINES["UNICODE"] = True
63803
-    DEFINES["UNICODE"] = True
63522
-    DEFINES["USE_AURA"] = "1"
63804
-    DEFINES["USE_AURA"] = "1"
63523
-    DEFINES["WEBRTC_WIN"] = True
63805
-    DEFINES["WEBRTC_WIN"] = True
Lines 63644-63650 index f01783ebd1f3..89deb11da94a 100644 Link Here
63644
 
63926
 
63645
 Library("video_codec_interface_gn")
63927
 Library("video_codec_interface_gn")
63646
diff --git third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build
63928
diff --git third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build
63647
index 3c92397fe562..197ccefb29d9 100644
63929
index f9be21e2f1bf..197ccefb29d9 100644
63648
--- third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build
63930
--- third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build
63649
+++ third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build
63931
+++ third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build
63650
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
63932
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 63668-63674 index 3c92397fe562..197ccefb29d9 100644 Link Here
63668
 
63950
 
63669
 FINAL_LIBRARY = "webrtc"
63951
 FINAL_LIBRARY = "webrtc"
63670
 
63952
 
63671
@@ -57,191 +66,32 @@ if not CONFIG["MOZ_DEBUG"]:
63953
@@ -57,192 +66,32 @@ if not CONFIG["MOZ_DEBUG"]:
63672
 if CONFIG["MOZ_DEBUG"] == "1":
63954
 if CONFIG["MOZ_DEBUG"] == "1":
63673
 
63955
 
63674
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
63956
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 63738-63743 index 3c92397fe562..197ccefb29d9 100644 Link Here
63738
-    DEFINES["NOMINMAX"] = True
64020
-    DEFINES["NOMINMAX"] = True
63739
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
64021
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
63740
-    DEFINES["PSAPI_VERSION"] = "2"
64022
-    DEFINES["PSAPI_VERSION"] = "2"
64023
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
63741
-    DEFINES["UNICODE"] = True
64024
-    DEFINES["UNICODE"] = True
63742
-    DEFINES["USE_AURA"] = "1"
64025
-    DEFINES["USE_AURA"] = "1"
63743
-    DEFINES["WEBRTC_WIN"] = True
64026
-    DEFINES["WEBRTC_WIN"] = True
Lines 63867-63873 index 3c92397fe562..197ccefb29d9 100644 Link Here
63867
 
64150
 
63868
 Library("video_coding_gn")
64151
 Library("video_coding_gn")
63869
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
64152
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
63870
index 3bbec9fb3074..92ff8a1d9819 100644
64153
index 1b3cbde3c555..92ff8a1d9819 100644
63871
--- third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build
64154
--- third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build
63872
+++ third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build
64155
+++ third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build
63873
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
64156
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 63891-63897 index 3bbec9fb3074..92ff8a1d9819 100644 Link Here
63891
 
64174
 
63892
 FINAL_LIBRARY = "webrtc"
64175
 FINAL_LIBRARY = "webrtc"
63893
 
64176
 
63894
@@ -54,191 +63,32 @@ if not CONFIG["MOZ_DEBUG"]:
64177
@@ -54,192 +63,32 @@ if not CONFIG["MOZ_DEBUG"]:
63895
 if CONFIG["MOZ_DEBUG"] == "1":
64178
 if CONFIG["MOZ_DEBUG"] == "1":
63896
 
64179
 
63897
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
64180
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 63961-63966 index 3bbec9fb3074..92ff8a1d9819 100644 Link Here
63961
-    DEFINES["NOMINMAX"] = True
64244
-    DEFINES["NOMINMAX"] = True
63962
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
64245
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
63963
-    DEFINES["PSAPI_VERSION"] = "2"
64246
-    DEFINES["PSAPI_VERSION"] = "2"
64247
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
63964
-    DEFINES["UNICODE"] = True
64248
-    DEFINES["UNICODE"] = True
63965
-    DEFINES["USE_AURA"] = "1"
64249
-    DEFINES["USE_AURA"] = "1"
63966
-    DEFINES["WEBRTC_WIN"] = True
64250
-    DEFINES["WEBRTC_WIN"] = True
Lines 64090-64096 index 3bbec9fb3074..92ff8a1d9819 100644 Link Here
64090
 
64374
 
64091
 Library("video_coding_utility_gn")
64375
 Library("video_coding_utility_gn")
64092
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
64376
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
64093
index 03437c5d57de..2adbff018445 100644
64377
index e896a6131bff..2adbff018445 100644
64094
--- third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build
64378
--- third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build
64095
+++ third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build
64379
+++ third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build
64096
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
64380
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 64114-64120 index 03437c5d57de..2adbff018445 100644 Link Here
64114
 
64398
 
64115
 FINAL_LIBRARY = "webrtc"
64399
 FINAL_LIBRARY = "webrtc"
64116
 
64400
 
64117
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
64401
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
64118
 if CONFIG["MOZ_DEBUG"] == "1":
64402
 if CONFIG["MOZ_DEBUG"] == "1":
64119
 
64403
 
64120
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
64404
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 64179-64184 index 03437c5d57de..2adbff018445 100644 Link Here
64179
-    DEFINES["NOMINMAX"] = True
64463
-    DEFINES["NOMINMAX"] = True
64180
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
64464
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
64181
-    DEFINES["PSAPI_VERSION"] = "2"
64465
-    DEFINES["PSAPI_VERSION"] = "2"
64466
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
64182
-    DEFINES["UNICODE"] = True
64467
-    DEFINES["UNICODE"] = True
64183
-    DEFINES["USE_AURA"] = "1"
64468
-    DEFINES["USE_AURA"] = "1"
64184
-    DEFINES["WEBRTC_WIN"] = True
64469
-    DEFINES["WEBRTC_WIN"] = True
Lines 64301-64307 index 03437c5d57de..2adbff018445 100644 Link Here
64301
 
64586
 
64302
 Library("webrtc_libvpx_interface_gn")
64587
 Library("webrtc_libvpx_interface_gn")
64303
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build
64588
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build
64304
index eb02eda6631d..8988f6d4b0ac 100644
64589
index ad8d5413a38f..8988f6d4b0ac 100644
64305
--- third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build
64590
--- third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build
64306
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build
64591
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build
64307
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
64592
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 64325-64331 index eb02eda6631d..8988f6d4b0ac 100644 Link Here
64325
 
64610
 
64326
 FINAL_LIBRARY = "webrtc"
64611
 FINAL_LIBRARY = "webrtc"
64327
 
64612
 
64328
@@ -46,191 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
64613
@@ -46,192 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
64329
 if CONFIG["MOZ_DEBUG"] == "1":
64614
 if CONFIG["MOZ_DEBUG"] == "1":
64330
 
64615
 
64331
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
64616
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 64395-64400 index eb02eda6631d..8988f6d4b0ac 100644 Link Here
64395
-    DEFINES["NOMINMAX"] = True
64680
-    DEFINES["NOMINMAX"] = True
64396
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
64681
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
64397
-    DEFINES["PSAPI_VERSION"] = "2"
64682
-    DEFINES["PSAPI_VERSION"] = "2"
64683
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
64398
-    DEFINES["UNICODE"] = True
64684
-    DEFINES["UNICODE"] = True
64399
-    DEFINES["USE_AURA"] = "1"
64685
-    DEFINES["USE_AURA"] = "1"
64400
-    DEFINES["WEBRTC_WIN"] = True
64686
-    DEFINES["WEBRTC_WIN"] = True
Lines 64524-64530 index eb02eda6631d..8988f6d4b0ac 100644 Link Here
64524
 
64810
 
64525
 Library("webrtc_vp8_gn")
64811
 Library("webrtc_vp8_gn")
64526
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
64812
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
64527
index 3d5642df008a..3efc79029a22 100644
64813
index 75ebc86d1ec8..3efc79029a22 100644
64528
--- third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build
64814
--- third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build
64529
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build
64815
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build
64530
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
64816
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 64548-64554 index 3d5642df008a..3efc79029a22 100644 Link Here
64548
 
64834
 
64549
 FINAL_LIBRARY = "webrtc"
64835
 FINAL_LIBRARY = "webrtc"
64550
 
64836
 
64551
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
64837
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
64552
 if CONFIG["MOZ_DEBUG"] == "1":
64838
 if CONFIG["MOZ_DEBUG"] == "1":
64553
 
64839
 
64554
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
64840
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 64613-64618 index 3d5642df008a..3efc79029a22 100644 Link Here
64613
-    DEFINES["NOMINMAX"] = True
64899
-    DEFINES["NOMINMAX"] = True
64614
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
64900
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
64615
-    DEFINES["PSAPI_VERSION"] = "2"
64901
-    DEFINES["PSAPI_VERSION"] = "2"
64902
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
64616
-    DEFINES["UNICODE"] = True
64903
-    DEFINES["UNICODE"] = True
64617
-    DEFINES["USE_AURA"] = "1"
64904
-    DEFINES["USE_AURA"] = "1"
64618
-    DEFINES["WEBRTC_WIN"] = True
64905
-    DEFINES["WEBRTC_WIN"] = True
Lines 64735-64741 index 3d5642df008a..3efc79029a22 100644 Link Here
64735
 
65022
 
64736
 Library("webrtc_vp8_scalability_gn")
65023
 Library("webrtc_vp8_scalability_gn")
64737
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
65024
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
64738
index 7977e03d428c..64f1526a2eb2 100644
65025
index 274fd96ed74c..64f1526a2eb2 100644
64739
--- third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build
65026
--- third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build
64740
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build
65027
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build
64741
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
65028
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 64759-64765 index 7977e03d428c..64f1526a2eb2 100644 Link Here
64759
 
65046
 
64760
 FINAL_LIBRARY = "webrtc"
65047
 FINAL_LIBRARY = "webrtc"
64761
 
65048
 
64762
@@ -48,191 +57,32 @@ if not CONFIG["MOZ_DEBUG"]:
65049
@@ -48,192 +57,32 @@ if not CONFIG["MOZ_DEBUG"]:
64763
 if CONFIG["MOZ_DEBUG"] == "1":
65050
 if CONFIG["MOZ_DEBUG"] == "1":
64764
 
65051
 
64765
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
65052
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 64829-64834 index 7977e03d428c..64f1526a2eb2 100644 Link Here
64829
-    DEFINES["NOMINMAX"] = True
65116
-    DEFINES["NOMINMAX"] = True
64830
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
65117
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
64831
-    DEFINES["PSAPI_VERSION"] = "2"
65118
-    DEFINES["PSAPI_VERSION"] = "2"
65119
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
64832
-    DEFINES["UNICODE"] = True
65120
-    DEFINES["UNICODE"] = True
64833
-    DEFINES["USE_AURA"] = "1"
65121
-    DEFINES["USE_AURA"] = "1"
64834
-    DEFINES["WEBRTC_WIN"] = True
65122
-    DEFINES["WEBRTC_WIN"] = True
Lines 64958-64964 index 7977e03d428c..64f1526a2eb2 100644 Link Here
64958
 
65246
 
64959
 Library("webrtc_vp8_temporal_layers_gn")
65247
 Library("webrtc_vp8_temporal_layers_gn")
64960
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build
65248
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build
64961
index f470652e6d6c..03f7307e20ea 100644
65249
index 317232d8fc60..03f7307e20ea 100644
64962
--- third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build
65250
--- third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build
64963
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build
65251
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build
64964
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
65252
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 64982-64988 index f470652e6d6c..03f7307e20ea 100644 Link Here
64982
 
65270
 
64983
 FINAL_LIBRARY = "webrtc"
65271
 FINAL_LIBRARY = "webrtc"
64984
 
65272
 
64985
@@ -48,191 +57,32 @@ if not CONFIG["MOZ_DEBUG"]:
65273
@@ -48,192 +57,32 @@ if not CONFIG["MOZ_DEBUG"]:
64986
 if CONFIG["MOZ_DEBUG"] == "1":
65274
 if CONFIG["MOZ_DEBUG"] == "1":
64987
 
65275
 
64988
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
65276
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 65052-65057 index f470652e6d6c..03f7307e20ea 100644 Link Here
65052
-    DEFINES["NOMINMAX"] = True
65340
-    DEFINES["NOMINMAX"] = True
65053
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
65341
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
65054
-    DEFINES["PSAPI_VERSION"] = "2"
65342
-    DEFINES["PSAPI_VERSION"] = "2"
65343
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
65055
-    DEFINES["UNICODE"] = True
65344
-    DEFINES["UNICODE"] = True
65056
-    DEFINES["USE_AURA"] = "1"
65345
-    DEFINES["USE_AURA"] = "1"
65057
-    DEFINES["WEBRTC_WIN"] = True
65346
-    DEFINES["WEBRTC_WIN"] = True
Lines 65181-65187 index f470652e6d6c..03f7307e20ea 100644 Link Here
65181
 
65470
 
65182
 Library("webrtc_vp9_gn")
65471
 Library("webrtc_vp9_gn")
65183
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
65472
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
65184
index 77a0c38f9903..0390ceb82364 100644
65473
index 935a69e8c86e..0390ceb82364 100644
65185
--- third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build
65474
--- third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build
65186
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build
65475
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build
65187
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
65476
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 65205-65211 index 77a0c38f9903..0390ceb82364 100644 Link Here
65205
 
65494
 
65206
 FINAL_LIBRARY = "webrtc"
65495
 FINAL_LIBRARY = "webrtc"
65207
 
65496
 
65208
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
65497
@@ -43,192 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
65209
 if CONFIG["MOZ_DEBUG"] == "1":
65498
 if CONFIG["MOZ_DEBUG"] == "1":
65210
 
65499
 
65211
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
65500
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 65275-65280 index 77a0c38f9903..0390ceb82364 100644 Link Here
65275
-    DEFINES["NOMINMAX"] = True
65564
-    DEFINES["NOMINMAX"] = True
65276
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
65565
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
65277
-    DEFINES["PSAPI_VERSION"] = "2"
65566
-    DEFINES["PSAPI_VERSION"] = "2"
65567
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
65278
-    DEFINES["UNICODE"] = True
65568
-    DEFINES["UNICODE"] = True
65279
-    DEFINES["USE_AURA"] = "1"
65569
-    DEFINES["USE_AURA"] = "1"
65280
-    DEFINES["WEBRTC_WIN"] = True
65570
-    DEFINES["WEBRTC_WIN"] = True
Lines 65404-65410 index 77a0c38f9903..0390ceb82364 100644 Link Here
65404
 
65694
 
65405
 Library("webrtc_vp9_helpers_gn")
65695
 Library("webrtc_vp9_helpers_gn")
65406
diff --git third_party/libwebrtc/moz.build third_party/libwebrtc/moz.build
65696
diff --git third_party/libwebrtc/moz.build third_party/libwebrtc/moz.build
65407
index 5c9a364dd518..96c9b9570028 100644
65697
index aa47ddba57a5..2b05bfc1e89b 100644
65408
--- third_party/libwebrtc/moz.build
65698
--- third_party/libwebrtc/moz.build
65409
+++ third_party/libwebrtc/moz.build
65699
+++ third_party/libwebrtc/moz.build
65410
@@ -263,6 +263,8 @@ DIRS += [
65700
@@ -263,6 +263,8 @@ DIRS += [
Lines 65416-65422 index 5c9a364dd518..96c9b9570028 100644 Link Here
65416
     "/third_party/libwebrtc/modules/module_api_gn",
65706
     "/third_party/libwebrtc/modules/module_api_gn",
65417
     "/third_party/libwebrtc/modules/module_api_public_gn",
65707
     "/third_party/libwebrtc/modules/module_api_public_gn",
65418
     "/third_party/libwebrtc/modules/module_fec_api_gn",
65708
     "/third_party/libwebrtc/modules/module_fec_api_gn",
65419
@@ -457,102 +459,11 @@ DIRS += [
65709
@@ -458,102 +460,11 @@ DIRS += [
65420
     "/third_party/libwebrtc/webrtc_gn"
65710
     "/third_party/libwebrtc/webrtc_gn"
65421
 ]
65711
 ]
65422
 
65712
 
Lines 65520-65526 index 5c9a364dd518..96c9b9570028 100644 Link Here
65520
         "/third_party/libwebrtc/modules/portal/portal_gn",
65810
         "/third_party/libwebrtc/modules/portal/portal_gn",
65521
         "/third_party/libwebrtc/third_party/drm/drm_gn",
65811
         "/third_party/libwebrtc/third_party/drm/drm_gn",
65522
         "/third_party/libwebrtc/third_party/gbm/gbm_gn",
65812
         "/third_party/libwebrtc/third_party/gbm/gbm_gn",
65523
@@ -560,26 +471,9 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
65813
@@ -561,26 +472,9 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
65524
         "/third_party/libwebrtc/third_party/pipewire/pipewire_gn"
65814
         "/third_party/libwebrtc/third_party/pipewire/pipewire_gn"
65525
     ]
65815
     ]
65526
 
65816
 
Lines 65548-65554 index 5c9a364dd518..96c9b9570028 100644 Link Here
65548
         "/third_party/libwebrtc/modules/portal/portal_gn",
65838
         "/third_party/libwebrtc/modules/portal/portal_gn",
65549
         "/third_party/libwebrtc/third_party/drm/drm_gn",
65839
         "/third_party/libwebrtc/third_party/drm/drm_gn",
65550
         "/third_party/libwebrtc/third_party/gbm/gbm_gn",
65840
         "/third_party/libwebrtc/third_party/gbm/gbm_gn",
65551
@@ -587,11 +481,9 @@ if CONFIG["CPU_ARCH"] == "mips32" and CONFIG["OS_TARGET"] == "Linux":
65841
@@ -588,11 +482,9 @@ if CONFIG["CPU_ARCH"] == "mips32" and CONFIG["OS_TARGET"] == "Linux":
65552
         "/third_party/libwebrtc/third_party/pipewire/pipewire_gn"
65842
         "/third_party/libwebrtc/third_party/pipewire/pipewire_gn"
65553
     ]
65843
     ]
65554
 
65844
 
Lines 65561-65567 index 5c9a364dd518..96c9b9570028 100644 Link Here
65561
         "/third_party/libwebrtc/modules/portal/portal_gn",
65851
         "/third_party/libwebrtc/modules/portal/portal_gn",
65562
         "/third_party/libwebrtc/third_party/drm/drm_gn",
65852
         "/third_party/libwebrtc/third_party/drm/drm_gn",
65563
         "/third_party/libwebrtc/third_party/gbm/gbm_gn",
65853
         "/third_party/libwebrtc/third_party/gbm/gbm_gn",
65564
@@ -599,7 +491,7 @@ if CONFIG["CPU_ARCH"] == "mips64" and CONFIG["OS_TARGET"] == "Linux":
65854
@@ -600,7 +492,7 @@ if CONFIG["CPU_ARCH"] == "mips64" and CONFIG["OS_TARGET"] == "Linux":
65565
         "/third_party/libwebrtc/third_party/pipewire/pipewire_gn"
65855
         "/third_party/libwebrtc/third_party/pipewire/pipewire_gn"
65566
     ]
65856
     ]
65567
 
65857
 
Lines 65570-65576 index 5c9a364dd518..96c9b9570028 100644 Link Here
65570
 
65860
 
65571
     DIRS += [
65861
     DIRS += [
65572
         "/third_party/libwebrtc/common_audio/common_audio_avx2_gn",
65862
         "/third_party/libwebrtc/common_audio/common_audio_avx2_gn",
65573
@@ -607,8 +499,6 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
65863
@@ -608,8 +500,6 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
65574
         "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn",
65864
         "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn",
65575
         "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn",
65865
         "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn",
65576
         "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn",
65866
         "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn",
Lines 65579-65585 index 5c9a364dd518..96c9b9570028 100644 Link Here
65579
         "/third_party/libwebrtc/modules/portal/portal_gn",
65869
         "/third_party/libwebrtc/modules/portal/portal_gn",
65580
         "/third_party/libwebrtc/third_party/drm/drm_gn",
65870
         "/third_party/libwebrtc/third_party/drm/drm_gn",
65581
         "/third_party/libwebrtc/third_party/gbm/gbm_gn",
65871
         "/third_party/libwebrtc/third_party/gbm/gbm_gn",
65582
@@ -616,7 +506,7 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
65872
@@ -617,7 +507,7 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
65583
         "/third_party/libwebrtc/third_party/pipewire/pipewire_gn"
65873
         "/third_party/libwebrtc/third_party/pipewire/pipewire_gn"
65584
     ]
65874
     ]
65585
 
65875
 
Lines 65588-65594 index 5c9a364dd518..96c9b9570028 100644 Link Here
65588
 
65878
 
65589
     DIRS += [
65879
     DIRS += [
65590
         "/third_party/libwebrtc/common_audio/common_audio_avx2_gn",
65880
         "/third_party/libwebrtc/common_audio/common_audio_avx2_gn",
65591
@@ -624,69 +514,9 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
65881
@@ -625,69 +515,9 @@ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
65592
         "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn",
65882
         "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn",
65593
         "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn",
65883
         "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn",
65594
         "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn",
65884
         "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn",
Lines 65659-65665 index 5c9a364dd518..96c9b9570028 100644 Link Here
65659
-        "/third_party/libwebrtc/modules/desktop_capture/primitives_gn"
65949
-        "/third_party/libwebrtc/modules/desktop_capture/primitives_gn"
65660
-    ]
65950
-    ]
65661
diff --git third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build
65951
diff --git third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build
65662
index b93fca231d69..be25257373e5 100644
65952
index 2770eeb1817d..be25257373e5 100644
65663
--- third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build
65953
--- third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build
65664
+++ third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build
65954
+++ third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build
65665
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
65955
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 65683-65689 index b93fca231d69..be25257373e5 100644 Link Here
65683
 
65973
 
65684
 FINAL_LIBRARY = "webrtc"
65974
 FINAL_LIBRARY = "webrtc"
65685
 
65975
 
65686
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
65976
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
65687
 if CONFIG["MOZ_DEBUG"] == "1":
65977
 if CONFIG["MOZ_DEBUG"] == "1":
65688
 
65978
 
65689
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
65979
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 65744-65749 index b93fca231d69..be25257373e5 100644 Link Here
65744
-    DEFINES["NOMINMAX"] = True
66034
-    DEFINES["NOMINMAX"] = True
65745
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
66035
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
65746
-    DEFINES["PSAPI_VERSION"] = "2"
66036
-    DEFINES["PSAPI_VERSION"] = "2"
66037
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
65747
-    DEFINES["UNICODE"] = True
66038
-    DEFINES["UNICODE"] = True
65748
-    DEFINES["USE_AURA"] = "1"
66039
-    DEFINES["USE_AURA"] = "1"
65749
-    DEFINES["WEBRTC_WIN"] = True
66040
-    DEFINES["WEBRTC_WIN"] = True
Lines 65788-65794 index b93fca231d69..be25257373e5 100644 Link Here
65788
 
66079
 
65789
 if CONFIG["CPU_ARCH"] == "x86":
66080
 if CONFIG["CPU_ARCH"] == "x86":
65790
 
66081
 
65791
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
66082
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
65792
 
66083
 
65793
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
66084
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
65794
 
66085
 
Lines 65848-65854 index b93fca231d69..be25257373e5 100644 Link Here
65848
-
66139
-
65849
 Library("async_packet_socket_gn")
66140
 Library("async_packet_socket_gn")
65850
diff --git third_party/libwebrtc/rtc_base/async_resolver_interface_gn/moz.build third_party/libwebrtc/rtc_base/async_resolver_interface_gn/moz.build
66141
diff --git third_party/libwebrtc/rtc_base/async_resolver_interface_gn/moz.build third_party/libwebrtc/rtc_base/async_resolver_interface_gn/moz.build
65851
index 8e1b4e454d4d..ee64165c31d3 100644
66142
index c9bbe0532123..ee64165c31d3 100644
65852
--- third_party/libwebrtc/rtc_base/async_resolver_interface_gn/moz.build
66143
--- third_party/libwebrtc/rtc_base/async_resolver_interface_gn/moz.build
65853
+++ third_party/libwebrtc/rtc_base/async_resolver_interface_gn/moz.build
66144
+++ third_party/libwebrtc/rtc_base/async_resolver_interface_gn/moz.build
65854
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
66145
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 65872-65878 index 8e1b4e454d4d..ee64165c31d3 100644 Link Here
65872
 
66163
 
65873
 FINAL_LIBRARY = "webrtc"
66164
 FINAL_LIBRARY = "webrtc"
65874
 
66165
 
65875
@@ -43,187 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
66166
@@ -43,188 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
65876
 if CONFIG["MOZ_DEBUG"] == "1":
66167
 if CONFIG["MOZ_DEBUG"] == "1":
65877
 
66168
 
65878
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
66169
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 65938-65943 index 8e1b4e454d4d..ee64165c31d3 100644 Link Here
65938
-    DEFINES["NOMINMAX"] = True
66229
-    DEFINES["NOMINMAX"] = True
65939
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
66230
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
65940
-    DEFINES["PSAPI_VERSION"] = "2"
66231
-    DEFINES["PSAPI_VERSION"] = "2"
66232
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
65941
-    DEFINES["UNICODE"] = True
66233
-    DEFINES["UNICODE"] = True
65942
-    DEFINES["USE_AURA"] = "1"
66234
-    DEFINES["USE_AURA"] = "1"
65943
-    DEFINES["WEBRTC_WIN"] = True
66235
-    DEFINES["WEBRTC_WIN"] = True
Lines 66067-66073 index 8e1b4e454d4d..ee64165c31d3 100644 Link Here
66067
 
66359
 
66068
 Library("async_resolver_interface_gn")
66360
 Library("async_resolver_interface_gn")
66069
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
66361
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
66070
index d5cc0504b1d5..41df619ecefa 100644
66362
index f3d20adc3c2a..41df619ecefa 100644
66071
--- third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build
66363
--- third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build
66072
+++ third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build
66364
+++ third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build
66073
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
66365
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 66091-66097 index d5cc0504b1d5..41df619ecefa 100644 Link Here
66091
 
66383
 
66092
 FINAL_LIBRARY = "webrtc"
66384
 FINAL_LIBRARY = "webrtc"
66093
 
66385
 
66094
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
66386
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
66095
 if CONFIG["MOZ_DEBUG"] == "1":
66387
 if CONFIG["MOZ_DEBUG"] == "1":
66096
 
66388
 
66097
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
66389
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 66156-66161 index d5cc0504b1d5..41df619ecefa 100644 Link Here
66156
-    DEFINES["NOMINMAX"] = True
66448
-    DEFINES["NOMINMAX"] = True
66157
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
66449
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
66158
-    DEFINES["PSAPI_VERSION"] = "2"
66450
-    DEFINES["PSAPI_VERSION"] = "2"
66451
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
66159
-    DEFINES["UNICODE"] = True
66452
-    DEFINES["UNICODE"] = True
66160
-    DEFINES["USE_AURA"] = "1"
66453
-    DEFINES["USE_AURA"] = "1"
66161
-    DEFINES["WEBRTC_WIN"] = True
66454
-    DEFINES["WEBRTC_WIN"] = True
Lines 66282-66288 index d5cc0504b1d5..41df619ecefa 100644 Link Here
66282
 
66575
 
66283
 Library("audio_format_to_string_gn")
66576
 Library("audio_format_to_string_gn")
66284
diff --git third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build
66577
diff --git third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build
66285
index 858cc304ba75..9d16e13e8efa 100644
66578
index 23a422bd5b94..9d16e13e8efa 100644
66286
--- third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build
66579
--- third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build
66287
+++ third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build
66580
+++ third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build
66288
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
66581
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 66306-66312 index 858cc304ba75..9d16e13e8efa 100644 Link Here
66306
 
66599
 
66307
 FINAL_LIBRARY = "webrtc"
66600
 FINAL_LIBRARY = "webrtc"
66308
 
66601
 
66309
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
66602
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
66310
 if CONFIG["MOZ_DEBUG"] == "1":
66603
 if CONFIG["MOZ_DEBUG"] == "1":
66311
 
66604
 
66312
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
66605
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 66371-66376 index 858cc304ba75..9d16e13e8efa 100644 Link Here
66371
-    DEFINES["NOMINMAX"] = True
66664
-    DEFINES["NOMINMAX"] = True
66372
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
66665
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
66373
-    DEFINES["PSAPI_VERSION"] = "2"
66666
-    DEFINES["PSAPI_VERSION"] = "2"
66667
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
66374
-    DEFINES["UNICODE"] = True
66668
-    DEFINES["UNICODE"] = True
66375
-    DEFINES["USE_AURA"] = "1"
66669
-    DEFINES["USE_AURA"] = "1"
66376
-    DEFINES["WEBRTC_WIN"] = True
66670
-    DEFINES["WEBRTC_WIN"] = True
Lines 66493-66499 index 858cc304ba75..9d16e13e8efa 100644 Link Here
66493
 
66787
 
66494
 Library("bit_buffer_gn")
66788
 Library("bit_buffer_gn")
66495
diff --git third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build
66789
diff --git third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build
66496
index 77059cd34301..c5dabe6ad79f 100644
66790
index 99cf070668c2..c5dabe6ad79f 100644
66497
--- third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build
66791
--- third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build
66498
+++ third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build
66792
+++ third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build
66499
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
66793
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 66517-66523 index 77059cd34301..c5dabe6ad79f 100644 Link Here
66517
 
66811
 
66518
 FINAL_LIBRARY = "webrtc"
66812
 FINAL_LIBRARY = "webrtc"
66519
 
66813
 
66520
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
66814
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
66521
 if CONFIG["MOZ_DEBUG"] == "1":
66815
 if CONFIG["MOZ_DEBUG"] == "1":
66522
 
66816
 
66523
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
66817
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 66582-66587 index 77059cd34301..c5dabe6ad79f 100644 Link Here
66582
-    DEFINES["NOMINMAX"] = True
66876
-    DEFINES["NOMINMAX"] = True
66583
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
66877
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
66584
-    DEFINES["PSAPI_VERSION"] = "2"
66878
-    DEFINES["PSAPI_VERSION"] = "2"
66879
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
66585
-    DEFINES["UNICODE"] = True
66880
-    DEFINES["UNICODE"] = True
66586
-    DEFINES["USE_AURA"] = "1"
66881
-    DEFINES["USE_AURA"] = "1"
66587
-    DEFINES["WEBRTC_WIN"] = True
66882
-    DEFINES["WEBRTC_WIN"] = True
Lines 66704-66710 index 77059cd34301..c5dabe6ad79f 100644 Link Here
66704
 
66999
 
66705
 Library("bitstream_reader_gn")
67000
 Library("bitstream_reader_gn")
66706
diff --git third_party/libwebrtc/rtc_base/buffer_gn/moz.build third_party/libwebrtc/rtc_base/buffer_gn/moz.build
67001
diff --git third_party/libwebrtc/rtc_base/buffer_gn/moz.build third_party/libwebrtc/rtc_base/buffer_gn/moz.build
66707
index c378c3a0b2ac..31ea8d65c7ce 100644
67002
index 2f20b02bcbc8..31ea8d65c7ce 100644
66708
--- third_party/libwebrtc/rtc_base/buffer_gn/moz.build
67003
--- third_party/libwebrtc/rtc_base/buffer_gn/moz.build
66709
+++ third_party/libwebrtc/rtc_base/buffer_gn/moz.build
67004
+++ third_party/libwebrtc/rtc_base/buffer_gn/moz.build
66710
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
67005
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 66728-66734 index c378c3a0b2ac..31ea8d65c7ce 100644 Link Here
66728
 
67023
 
66729
 FINAL_LIBRARY = "webrtc"
67024
 FINAL_LIBRARY = "webrtc"
66730
 
67025
 
66731
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
67026
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
66732
 if CONFIG["MOZ_DEBUG"] == "1":
67027
 if CONFIG["MOZ_DEBUG"] == "1":
66733
 
67028
 
66734
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
67029
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 66793-66798 index c378c3a0b2ac..31ea8d65c7ce 100644 Link Here
66793
-    DEFINES["NOMINMAX"] = True
67088
-    DEFINES["NOMINMAX"] = True
66794
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
67089
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
66795
-    DEFINES["PSAPI_VERSION"] = "2"
67090
-    DEFINES["PSAPI_VERSION"] = "2"
67091
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
66796
-    DEFINES["UNICODE"] = True
67092
-    DEFINES["UNICODE"] = True
66797
-    DEFINES["USE_AURA"] = "1"
67093
-    DEFINES["USE_AURA"] = "1"
66798
-    DEFINES["WEBRTC_WIN"] = True
67094
-    DEFINES["WEBRTC_WIN"] = True
Lines 66837-66843 index c378c3a0b2ac..31ea8d65c7ce 100644 Link Here
66837
 
67133
 
66838
 if CONFIG["CPU_ARCH"] == "x86":
67134
 if CONFIG["CPU_ARCH"] == "x86":
66839
 
67135
 
66840
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
67136
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
66841
 
67137
 
66842
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
67138
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
66843
 
67139
 
Lines 66897-66903 index c378c3a0b2ac..31ea8d65c7ce 100644 Link Here
66897
-
67193
-
66898
 Library("buffer_gn")
67194
 Library("buffer_gn")
66899
diff --git third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build
67195
diff --git third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build
66900
index 43ed668b71ad..292e0dc836d1 100644
67196
index 972a476b1638..292e0dc836d1 100644
66901
--- third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build
67197
--- third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build
66902
+++ third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build
67198
+++ third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build
66903
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
67199
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 66921-66927 index 43ed668b71ad..292e0dc836d1 100644 Link Here
66921
 
67217
 
66922
 FINAL_LIBRARY = "webrtc"
67218
 FINAL_LIBRARY = "webrtc"
66923
 
67219
 
66924
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
67220
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
66925
 if CONFIG["MOZ_DEBUG"] == "1":
67221
 if CONFIG["MOZ_DEBUG"] == "1":
66926
 
67222
 
66927
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
67223
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 66986-66991 index 43ed668b71ad..292e0dc836d1 100644 Link Here
66986
-    DEFINES["NOMINMAX"] = True
67282
-    DEFINES["NOMINMAX"] = True
66987
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
67283
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
66988
-    DEFINES["PSAPI_VERSION"] = "2"
67284
-    DEFINES["PSAPI_VERSION"] = "2"
67285
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
66989
-    DEFINES["UNICODE"] = True
67286
-    DEFINES["UNICODE"] = True
66990
-    DEFINES["USE_AURA"] = "1"
67287
-    DEFINES["USE_AURA"] = "1"
66991
-    DEFINES["WEBRTC_WIN"] = True
67288
-    DEFINES["WEBRTC_WIN"] = True
Lines 67108-67114 index 43ed668b71ad..292e0dc836d1 100644 Link Here
67108
 
67405
 
67109
 Library("byte_buffer_gn")
67406
 Library("byte_buffer_gn")
67110
diff --git third_party/libwebrtc/rtc_base/byte_order_gn/moz.build third_party/libwebrtc/rtc_base/byte_order_gn/moz.build
67407
diff --git third_party/libwebrtc/rtc_base/byte_order_gn/moz.build third_party/libwebrtc/rtc_base/byte_order_gn/moz.build
67111
index b49346b1540f..c8dbc51e612a 100644
67408
index 11268fffb95a..c8dbc51e612a 100644
67112
--- third_party/libwebrtc/rtc_base/byte_order_gn/moz.build
67409
--- third_party/libwebrtc/rtc_base/byte_order_gn/moz.build
67113
+++ third_party/libwebrtc/rtc_base/byte_order_gn/moz.build
67410
+++ third_party/libwebrtc/rtc_base/byte_order_gn/moz.build
67114
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
67411
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 67132-67138 index b49346b1540f..c8dbc51e612a 100644 Link Here
67132
 
67429
 
67133
 FINAL_LIBRARY = "webrtc"
67430
 FINAL_LIBRARY = "webrtc"
67134
 
67431
 
67135
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
67432
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
67136
 if CONFIG["MOZ_DEBUG"] == "1":
67433
 if CONFIG["MOZ_DEBUG"] == "1":
67137
 
67434
 
67138
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
67435
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 67193-67198 index b49346b1540f..c8dbc51e612a 100644 Link Here
67193
-    DEFINES["NOMINMAX"] = True
67490
-    DEFINES["NOMINMAX"] = True
67194
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
67491
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
67195
-    DEFINES["PSAPI_VERSION"] = "2"
67492
-    DEFINES["PSAPI_VERSION"] = "2"
67493
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
67196
-    DEFINES["UNICODE"] = True
67494
-    DEFINES["UNICODE"] = True
67197
-    DEFINES["USE_AURA"] = "1"
67495
-    DEFINES["USE_AURA"] = "1"
67198
-    DEFINES["WEBRTC_WIN"] = True
67496
-    DEFINES["WEBRTC_WIN"] = True
Lines 67237-67243 index b49346b1540f..c8dbc51e612a 100644 Link Here
67237
 
67535
 
67238
 if CONFIG["CPU_ARCH"] == "x86":
67536
 if CONFIG["CPU_ARCH"] == "x86":
67239
 
67537
 
67240
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
67538
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
67241
 
67539
 
67242
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
67540
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
67243
 
67541
 
Lines 67297-67303 index b49346b1540f..c8dbc51e612a 100644 Link Here
67297
-
67595
-
67298
 Library("byte_order_gn")
67596
 Library("byte_order_gn")
67299
diff --git third_party/libwebrtc/rtc_base/checks_gn/moz.build third_party/libwebrtc/rtc_base/checks_gn/moz.build
67597
diff --git third_party/libwebrtc/rtc_base/checks_gn/moz.build third_party/libwebrtc/rtc_base/checks_gn/moz.build
67300
index 769362b62a5a..97a3da2b775a 100644
67598
index f0bcc0fca9cc..97a3da2b775a 100644
67301
--- third_party/libwebrtc/rtc_base/checks_gn/moz.build
67599
--- third_party/libwebrtc/rtc_base/checks_gn/moz.build
67302
+++ third_party/libwebrtc/rtc_base/checks_gn/moz.build
67600
+++ third_party/libwebrtc/rtc_base/checks_gn/moz.build
67303
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
67601
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 67321-67327 index 769362b62a5a..97a3da2b775a 100644 Link Here
67321
 
67619
 
67322
 FINAL_LIBRARY = "webrtc"
67620
 FINAL_LIBRARY = "webrtc"
67323
 
67621
 
67324
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
67622
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
67325
 if CONFIG["MOZ_DEBUG"] == "1":
67623
 if CONFIG["MOZ_DEBUG"] == "1":
67326
 
67624
 
67327
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
67625
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 67386-67391 index 769362b62a5a..97a3da2b775a 100644 Link Here
67386
-    DEFINES["NOMINMAX"] = True
67684
-    DEFINES["NOMINMAX"] = True
67387
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
67685
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
67388
-    DEFINES["PSAPI_VERSION"] = "2"
67686
-    DEFINES["PSAPI_VERSION"] = "2"
67687
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
67389
-    DEFINES["UNICODE"] = True
67688
-    DEFINES["UNICODE"] = True
67390
-    DEFINES["USE_AURA"] = "1"
67689
-    DEFINES["USE_AURA"] = "1"
67391
-    DEFINES["WEBRTC_WIN"] = True
67690
-    DEFINES["WEBRTC_WIN"] = True
Lines 67508-67514 index 769362b62a5a..97a3da2b775a 100644 Link Here
67508
 
67807
 
67509
 Library("checks_gn")
67808
 Library("checks_gn")
67510
diff --git third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build
67809
diff --git third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build
67511
index 5fd417eefd5a..b997040b164c 100644
67810
index 6332dbc192d9..b997040b164c 100644
67512
--- third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build
67811
--- third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build
67513
+++ third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build
67812
+++ third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build
67514
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
67813
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 67532-67538 index 5fd417eefd5a..b997040b164c 100644 Link Here
67532
 
67831
 
67533
 FINAL_LIBRARY = "webrtc"
67832
 FINAL_LIBRARY = "webrtc"
67534
 
67833
 
67535
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
67834
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
67536
 if CONFIG["MOZ_DEBUG"] == "1":
67835
 if CONFIG["MOZ_DEBUG"] == "1":
67537
 
67836
 
67538
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
67837
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 67593-67598 index 5fd417eefd5a..b997040b164c 100644 Link Here
67593
-    DEFINES["NOMINMAX"] = True
67892
-    DEFINES["NOMINMAX"] = True
67594
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
67893
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
67595
-    DEFINES["PSAPI_VERSION"] = "2"
67894
-    DEFINES["PSAPI_VERSION"] = "2"
67895
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
67596
-    DEFINES["UNICODE"] = True
67896
-    DEFINES["UNICODE"] = True
67597
-    DEFINES["USE_AURA"] = "1"
67897
-    DEFINES["USE_AURA"] = "1"
67598
-    DEFINES["WEBRTC_WIN"] = True
67898
-    DEFINES["WEBRTC_WIN"] = True
Lines 67637-67643 index 5fd417eefd5a..b997040b164c 100644 Link Here
67637
 
67937
 
67638
 if CONFIG["CPU_ARCH"] == "x86":
67938
 if CONFIG["CPU_ARCH"] == "x86":
67639
 
67939
 
67640
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
67940
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
67641
 
67941
 
67642
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
67942
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
67643
 
67943
 
Lines 67697-67703 index 5fd417eefd5a..b997040b164c 100644 Link Here
67697
-
67997
-
67698
 Library("compile_assert_c_gn")
67998
 Library("compile_assert_c_gn")
67699
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
67999
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
67700
index 2d02d778fffe..07b174d0c11e 100644
68000
index 55ee5d3dff3f..07b174d0c11e 100644
67701
--- third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build
68001
--- third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build
67702
+++ third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build
68002
+++ third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build
67703
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
68003
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 67721-67727 index 2d02d778fffe..07b174d0c11e 100644 Link Here
67721
 
68021
 
67722
 FINAL_LIBRARY = "webrtc"
68022
 FINAL_LIBRARY = "webrtc"
67723
 
68023
 
67724
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
68024
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
67725
 if CONFIG["MOZ_DEBUG"] == "1":
68025
 if CONFIG["MOZ_DEBUG"] == "1":
67726
 
68026
 
67727
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
68027
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 67786-67791 index 2d02d778fffe..07b174d0c11e 100644 Link Here
67786
-    DEFINES["NOMINMAX"] = True
68086
-    DEFINES["NOMINMAX"] = True
67787
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
68087
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
67788
-    DEFINES["PSAPI_VERSION"] = "2"
68088
-    DEFINES["PSAPI_VERSION"] = "2"
68089
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
67789
-    DEFINES["UNICODE"] = True
68090
-    DEFINES["UNICODE"] = True
67790
-    DEFINES["USE_AURA"] = "1"
68091
-    DEFINES["USE_AURA"] = "1"
67791
-    DEFINES["WEBRTC_WIN"] = True
68092
-    DEFINES["WEBRTC_WIN"] = True
Lines 67908-67914 index 2d02d778fffe..07b174d0c11e 100644 Link Here
67908
 
68209
 
67909
 Library("flat_containers_internal_gn")
68210
 Library("flat_containers_internal_gn")
67910
diff --git third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build
68211
diff --git third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build
67911
index f2d8ed054e00..df8ec55e92af 100644
68212
index 7ac656b224d3..df8ec55e92af 100644
67912
--- third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build
68213
--- third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build
67913
+++ third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build
68214
+++ third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build
67914
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
68215
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 67932-67938 index f2d8ed054e00..df8ec55e92af 100644 Link Here
67932
 
68233
 
67933
 FINAL_LIBRARY = "webrtc"
68234
 FINAL_LIBRARY = "webrtc"
67934
 
68235
 
67935
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
68236
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
67936
 if CONFIG["MOZ_DEBUG"] == "1":
68237
 if CONFIG["MOZ_DEBUG"] == "1":
67937
 
68238
 
67938
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
68239
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 67997-68002 index f2d8ed054e00..df8ec55e92af 100644 Link Here
67997
-    DEFINES["NOMINMAX"] = True
68298
-    DEFINES["NOMINMAX"] = True
67998
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
68299
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
67999
-    DEFINES["PSAPI_VERSION"] = "2"
68300
-    DEFINES["PSAPI_VERSION"] = "2"
68301
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
68000
-    DEFINES["UNICODE"] = True
68302
-    DEFINES["UNICODE"] = True
68001
-    DEFINES["USE_AURA"] = "1"
68303
-    DEFINES["USE_AURA"] = "1"
68002
-    DEFINES["WEBRTC_WIN"] = True
68304
-    DEFINES["WEBRTC_WIN"] = True
Lines 68041-68047 index f2d8ed054e00..df8ec55e92af 100644 Link Here
68041
 
68343
 
68042
 if CONFIG["CPU_ARCH"] == "x86":
68344
 if CONFIG["CPU_ARCH"] == "x86":
68043
 
68345
 
68044
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
68346
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
68045
 
68347
 
68046
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
68348
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
68047
 
68349
 
Lines 68101-68107 index f2d8ed054e00..df8ec55e92af 100644 Link Here
68101
-
68403
-
68102
 Library("flat_map_gn")
68404
 Library("flat_map_gn")
68103
diff --git third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build
68405
diff --git third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build
68104
index 794ed8feb87a..6d2002a94fbc 100644
68406
index 2becdc86c59e..6d2002a94fbc 100644
68105
--- third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build
68407
--- third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build
68106
+++ third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build
68408
+++ third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build
68107
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
68409
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 68125-68131 index 794ed8feb87a..6d2002a94fbc 100644 Link Here
68125
 
68427
 
68126
 FINAL_LIBRARY = "webrtc"
68428
 FINAL_LIBRARY = "webrtc"
68127
 
68429
 
68128
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
68430
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
68129
 if CONFIG["MOZ_DEBUG"] == "1":
68431
 if CONFIG["MOZ_DEBUG"] == "1":
68130
 
68432
 
68131
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
68433
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 68190-68195 index 794ed8feb87a..6d2002a94fbc 100644 Link Here
68190
-    DEFINES["NOMINMAX"] = True
68492
-    DEFINES["NOMINMAX"] = True
68191
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
68493
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
68192
-    DEFINES["PSAPI_VERSION"] = "2"
68494
-    DEFINES["PSAPI_VERSION"] = "2"
68495
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
68193
-    DEFINES["UNICODE"] = True
68496
-    DEFINES["UNICODE"] = True
68194
-    DEFINES["USE_AURA"] = "1"
68497
-    DEFINES["USE_AURA"] = "1"
68195
-    DEFINES["WEBRTC_WIN"] = True
68498
-    DEFINES["WEBRTC_WIN"] = True
Lines 68234-68240 index 794ed8feb87a..6d2002a94fbc 100644 Link Here
68234
 
68537
 
68235
 if CONFIG["CPU_ARCH"] == "x86":
68538
 if CONFIG["CPU_ARCH"] == "x86":
68236
 
68539
 
68237
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
68540
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
68238
 
68541
 
68239
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
68542
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
68240
 
68543
 
Lines 68294-68300 index 794ed8feb87a..6d2002a94fbc 100644 Link Here
68294
-
68597
-
68295
 Library("flat_set_gn")
68598
 Library("flat_set_gn")
68296
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
68599
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
68297
index eecb53c907da..bcad4a983179 100644
68600
index b3140603223c..bcad4a983179 100644
68298
--- third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build
68601
--- third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build
68299
+++ third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build
68602
+++ third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build
68300
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
68603
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 68318-68324 index eecb53c907da..bcad4a983179 100644 Link Here
68318
 
68621
 
68319
 FINAL_LIBRARY = "webrtc"
68622
 FINAL_LIBRARY = "webrtc"
68320
 
68623
 
68321
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
68624
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
68322
 if CONFIG["MOZ_DEBUG"] == "1":
68625
 if CONFIG["MOZ_DEBUG"] == "1":
68323
 
68626
 
68324
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
68627
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 68383-68388 index eecb53c907da..bcad4a983179 100644 Link Here
68383
-    DEFINES["NOMINMAX"] = True
68686
-    DEFINES["NOMINMAX"] = True
68384
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
68687
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
68385
-    DEFINES["PSAPI_VERSION"] = "2"
68688
-    DEFINES["PSAPI_VERSION"] = "2"
68689
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
68386
-    DEFINES["UNICODE"] = True
68690
-    DEFINES["UNICODE"] = True
68387
-    DEFINES["USE_AURA"] = "1"
68691
-    DEFINES["USE_AURA"] = "1"
68388
-    DEFINES["WEBRTC_WIN"] = True
68692
-    DEFINES["WEBRTC_WIN"] = True
Lines 68505-68511 index eecb53c907da..bcad4a983179 100644 Link Here
68505
 
68809
 
68506
 Library("copy_on_write_buffer_gn")
68810
 Library("copy_on_write_buffer_gn")
68507
diff --git third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build
68811
diff --git third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build
68508
index c8749bb51055..95e71cdfe9cf 100644
68812
index bcf2f7ca6057..95e71cdfe9cf 100644
68509
--- third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build
68813
--- third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build
68510
+++ third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build
68814
+++ third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build
68511
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
68815
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 68529-68535 index c8749bb51055..95e71cdfe9cf 100644 Link Here
68529
 
68833
 
68530
 FINAL_LIBRARY = "webrtc"
68834
 FINAL_LIBRARY = "webrtc"
68531
 
68835
 
68532
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
68836
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
68533
 if CONFIG["MOZ_DEBUG"] == "1":
68837
 if CONFIG["MOZ_DEBUG"] == "1":
68534
 
68838
 
68535
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
68839
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 68594-68599 index c8749bb51055..95e71cdfe9cf 100644 Link Here
68594
-    DEFINES["NOMINMAX"] = True
68898
-    DEFINES["NOMINMAX"] = True
68595
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
68899
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
68596
-    DEFINES["PSAPI_VERSION"] = "2"
68900
-    DEFINES["PSAPI_VERSION"] = "2"
68901
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
68597
-    DEFINES["UNICODE"] = True
68902
-    DEFINES["UNICODE"] = True
68598
-    DEFINES["USE_AURA"] = "1"
68903
-    DEFINES["USE_AURA"] = "1"
68599
-    DEFINES["WEBRTC_WIN"] = True
68904
-    DEFINES["WEBRTC_WIN"] = True
Lines 68716-68722 index c8749bb51055..95e71cdfe9cf 100644 Link Here
68716
 
69021
 
68717
 Library("criticalsection_gn")
69022
 Library("criticalsection_gn")
68718
diff --git third_party/libwebrtc/rtc_base/divide_round_gn/moz.build third_party/libwebrtc/rtc_base/divide_round_gn/moz.build
69023
diff --git third_party/libwebrtc/rtc_base/divide_round_gn/moz.build third_party/libwebrtc/rtc_base/divide_round_gn/moz.build
68719
index 8bc1e665d50d..729bb35b5b49 100644
69024
index 42dbe0101bd9..729bb35b5b49 100644
68720
--- third_party/libwebrtc/rtc_base/divide_round_gn/moz.build
69025
--- third_party/libwebrtc/rtc_base/divide_round_gn/moz.build
68721
+++ third_party/libwebrtc/rtc_base/divide_round_gn/moz.build
69026
+++ third_party/libwebrtc/rtc_base/divide_round_gn/moz.build
68722
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
69027
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 68740-68746 index 8bc1e665d50d..729bb35b5b49 100644 Link Here
68740
 
69045
 
68741
 FINAL_LIBRARY = "webrtc"
69046
 FINAL_LIBRARY = "webrtc"
68742
 
69047
 
68743
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
69048
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
68744
 if CONFIG["MOZ_DEBUG"] == "1":
69049
 if CONFIG["MOZ_DEBUG"] == "1":
68745
 
69050
 
68746
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
69051
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 68805-68810 index 8bc1e665d50d..729bb35b5b49 100644 Link Here
68805
-    DEFINES["NOMINMAX"] = True
69110
-    DEFINES["NOMINMAX"] = True
68806
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
69111
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
68807
-    DEFINES["PSAPI_VERSION"] = "2"
69112
-    DEFINES["PSAPI_VERSION"] = "2"
69113
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
68808
-    DEFINES["UNICODE"] = True
69114
-    DEFINES["UNICODE"] = True
68809
-    DEFINES["USE_AURA"] = "1"
69115
-    DEFINES["USE_AURA"] = "1"
68810
-    DEFINES["WEBRTC_WIN"] = True
69116
-    DEFINES["WEBRTC_WIN"] = True
Lines 68849-68855 index 8bc1e665d50d..729bb35b5b49 100644 Link Here
68849
 
69155
 
68850
 if CONFIG["CPU_ARCH"] == "x86":
69156
 if CONFIG["CPU_ARCH"] == "x86":
68851
 
69157
 
68852
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
69158
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
68853
 
69159
 
68854
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
69160
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
68855
 
69161
 
Lines 68909-68915 index 8bc1e665d50d..729bb35b5b49 100644 Link Here
68909
-
69215
-
68910
 Library("divide_round_gn")
69216
 Library("divide_round_gn")
68911
diff --git third_party/libwebrtc/rtc_base/dscp_gn/moz.build third_party/libwebrtc/rtc_base/dscp_gn/moz.build
69217
diff --git third_party/libwebrtc/rtc_base/dscp_gn/moz.build third_party/libwebrtc/rtc_base/dscp_gn/moz.build
68912
index b8b28d8d0161..4050d593d1b1 100644
69218
index 13f6e5c1e614..4050d593d1b1 100644
68913
--- third_party/libwebrtc/rtc_base/dscp_gn/moz.build
69219
--- third_party/libwebrtc/rtc_base/dscp_gn/moz.build
68914
+++ third_party/libwebrtc/rtc_base/dscp_gn/moz.build
69220
+++ third_party/libwebrtc/rtc_base/dscp_gn/moz.build
68915
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
69221
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 68933-68939 index b8b28d8d0161..4050d593d1b1 100644 Link Here
68933
 
69239
 
68934
 FINAL_LIBRARY = "webrtc"
69240
 FINAL_LIBRARY = "webrtc"
68935
 
69241
 
68936
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
69242
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
68937
 if CONFIG["MOZ_DEBUG"] == "1":
69243
 if CONFIG["MOZ_DEBUG"] == "1":
68938
 
69244
 
68939
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
69245
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 68994-68999 index b8b28d8d0161..4050d593d1b1 100644 Link Here
68994
-    DEFINES["NOMINMAX"] = True
69300
-    DEFINES["NOMINMAX"] = True
68995
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
69301
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
68996
-    DEFINES["PSAPI_VERSION"] = "2"
69302
-    DEFINES["PSAPI_VERSION"] = "2"
69303
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
68997
-    DEFINES["UNICODE"] = True
69304
-    DEFINES["UNICODE"] = True
68998
-    DEFINES["USE_AURA"] = "1"
69305
-    DEFINES["USE_AURA"] = "1"
68999
-    DEFINES["WEBRTC_WIN"] = True
69306
-    DEFINES["WEBRTC_WIN"] = True
Lines 69038-69044 index b8b28d8d0161..4050d593d1b1 100644 Link Here
69038
 
69345
 
69039
 if CONFIG["CPU_ARCH"] == "x86":
69346
 if CONFIG["CPU_ARCH"] == "x86":
69040
 
69347
 
69041
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
69348
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
69042
 
69349
 
69043
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
69350
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
69044
 
69351
 
Lines 69098-69104 index b8b28d8d0161..4050d593d1b1 100644 Link Here
69098
-
69405
-
69099
 Library("dscp_gn")
69406
 Library("dscp_gn")
69100
diff --git third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build
69407
diff --git third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build
69101
index 02fe978ab08d..c655f3b43877 100644
69408
index 0d2f54cb6630..c655f3b43877 100644
69102
--- third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build
69409
--- third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build
69103
+++ third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build
69410
+++ third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build
69104
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
69411
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 69122-69128 index 02fe978ab08d..c655f3b43877 100644 Link Here
69122
 
69429
 
69123
 FINAL_LIBRARY = "webrtc"
69430
 FINAL_LIBRARY = "webrtc"
69124
 
69431
 
69125
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
69432
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
69126
 if CONFIG["MOZ_DEBUG"] == "1":
69433
 if CONFIG["MOZ_DEBUG"] == "1":
69127
 
69434
 
69128
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
69435
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 69187-69192 index 02fe978ab08d..c655f3b43877 100644 Link Here
69187
-    DEFINES["NOMINMAX"] = True
69494
-    DEFINES["NOMINMAX"] = True
69188
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
69495
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
69189
-    DEFINES["PSAPI_VERSION"] = "2"
69496
-    DEFINES["PSAPI_VERSION"] = "2"
69497
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
69190
-    DEFINES["UNICODE"] = True
69498
-    DEFINES["UNICODE"] = True
69191
-    DEFINES["USE_AURA"] = "1"
69499
-    DEFINES["USE_AURA"] = "1"
69192
-    DEFINES["WEBRTC_WIN"] = True
69500
-    DEFINES["WEBRTC_WIN"] = True
Lines 69313-69319 index 02fe978ab08d..c655f3b43877 100644 Link Here
69313
 
69621
 
69314
 Library("event_tracer_gn")
69622
 Library("event_tracer_gn")
69315
diff --git third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build
69623
diff --git third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build
69316
index 574d7d63026a..0d1253003f3d 100644
69624
index 873ea744002a..0d1253003f3d 100644
69317
--- third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build
69625
--- third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build
69318
+++ third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build
69626
+++ third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build
69319
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
69627
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 69337-69343 index 574d7d63026a..0d1253003f3d 100644 Link Here
69337
 
69645
 
69338
 FINAL_LIBRARY = "webrtc"
69646
 FINAL_LIBRARY = "webrtc"
69339
 
69647
 
69340
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
69648
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
69341
 if CONFIG["MOZ_DEBUG"] == "1":
69649
 if CONFIG["MOZ_DEBUG"] == "1":
69342
 
69650
 
69343
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
69651
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 69402-69407 index 574d7d63026a..0d1253003f3d 100644 Link Here
69402
-    DEFINES["NOMINMAX"] = True
69710
-    DEFINES["NOMINMAX"] = True
69403
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
69711
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
69404
-    DEFINES["PSAPI_VERSION"] = "2"
69712
-    DEFINES["PSAPI_VERSION"] = "2"
69713
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
69405
-    DEFINES["UNICODE"] = True
69714
-    DEFINES["UNICODE"] = True
69406
-    DEFINES["USE_AURA"] = "1"
69715
-    DEFINES["USE_AURA"] = "1"
69407
-    DEFINES["WEBRTC_WIN"] = True
69716
-    DEFINES["WEBRTC_WIN"] = True
Lines 69528-69534 index 574d7d63026a..0d1253003f3d 100644 Link Here
69528
 
69837
 
69529
 Library("alr_experiment_gn")
69838
 Library("alr_experiment_gn")
69530
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
69839
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
69531
index 34b388da69ec..e1cf8913860d 100644
69840
index e70ad11c923f..e1cf8913860d 100644
69532
--- third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build
69841
--- third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build
69533
+++ third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build
69842
+++ third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build
69534
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
69843
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 69552-69558 index 34b388da69ec..e1cf8913860d 100644 Link Here
69552
 
69861
 
69553
 FINAL_LIBRARY = "webrtc"
69862
 FINAL_LIBRARY = "webrtc"
69554
 
69863
 
69555
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
69864
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
69556
 if CONFIG["MOZ_DEBUG"] == "1":
69865
 if CONFIG["MOZ_DEBUG"] == "1":
69557
 
69866
 
69558
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
69867
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 69617-69622 index 34b388da69ec..e1cf8913860d 100644 Link Here
69617
-    DEFINES["NOMINMAX"] = True
69926
-    DEFINES["NOMINMAX"] = True
69618
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
69927
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
69619
-    DEFINES["PSAPI_VERSION"] = "2"
69928
-    DEFINES["PSAPI_VERSION"] = "2"
69929
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
69620
-    DEFINES["UNICODE"] = True
69930
-    DEFINES["UNICODE"] = True
69621
-    DEFINES["USE_AURA"] = "1"
69931
-    DEFINES["USE_AURA"] = "1"
69622
-    DEFINES["WEBRTC_WIN"] = True
69932
-    DEFINES["WEBRTC_WIN"] = True
Lines 69743-69749 index 34b388da69ec..e1cf8913860d 100644 Link Here
69743
 
70053
 
69744
 Library("balanced_degradation_settings_gn")
70054
 Library("balanced_degradation_settings_gn")
69745
diff --git third_party/libwebrtc/rtc_base/experiments/bandwidth_quality_scaler_settings_gn/moz.build third_party/libwebrtc/rtc_base/experiments/bandwidth_quality_scaler_settings_gn/moz.build
70055
diff --git third_party/libwebrtc/rtc_base/experiments/bandwidth_quality_scaler_settings_gn/moz.build third_party/libwebrtc/rtc_base/experiments/bandwidth_quality_scaler_settings_gn/moz.build
69746
index ccc00e5296a1..54cef4764697 100644
70056
index cc93c29837ba..54cef4764697 100644
69747
--- third_party/libwebrtc/rtc_base/experiments/bandwidth_quality_scaler_settings_gn/moz.build
70057
--- third_party/libwebrtc/rtc_base/experiments/bandwidth_quality_scaler_settings_gn/moz.build
69748
+++ third_party/libwebrtc/rtc_base/experiments/bandwidth_quality_scaler_settings_gn/moz.build
70058
+++ third_party/libwebrtc/rtc_base/experiments/bandwidth_quality_scaler_settings_gn/moz.build
69749
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
70059
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 69767-69773 index ccc00e5296a1..54cef4764697 100644 Link Here
69767
 
70077
 
69768
 FINAL_LIBRARY = "webrtc"
70078
 FINAL_LIBRARY = "webrtc"
69769
 
70079
 
69770
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
70080
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
69771
 if CONFIG["MOZ_DEBUG"] == "1":
70081
 if CONFIG["MOZ_DEBUG"] == "1":
69772
 
70082
 
69773
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
70083
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 69832-69837 index ccc00e5296a1..54cef4764697 100644 Link Here
69832
-    DEFINES["NOMINMAX"] = True
70142
-    DEFINES["NOMINMAX"] = True
69833
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
70143
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
69834
-    DEFINES["PSAPI_VERSION"] = "2"
70144
-    DEFINES["PSAPI_VERSION"] = "2"
70145
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
69835
-    DEFINES["UNICODE"] = True
70146
-    DEFINES["UNICODE"] = True
69836
-    DEFINES["USE_AURA"] = "1"
70147
-    DEFINES["USE_AURA"] = "1"
69837
-    DEFINES["WEBRTC_WIN"] = True
70148
-    DEFINES["WEBRTC_WIN"] = True
Lines 69958-69964 index ccc00e5296a1..54cef4764697 100644 Link Here
69958
 
70269
 
69959
 Library("bandwidth_quality_scaler_settings_gn")
70270
 Library("bandwidth_quality_scaler_settings_gn")
69960
diff --git third_party/libwebrtc/rtc_base/experiments/cpu_speed_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/cpu_speed_experiment_gn/moz.build
70271
diff --git third_party/libwebrtc/rtc_base/experiments/cpu_speed_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/cpu_speed_experiment_gn/moz.build
69961
index 66d21c66a349..8118147f993e 100644
70272
index 012c461ffe1d..8118147f993e 100644
69962
--- third_party/libwebrtc/rtc_base/experiments/cpu_speed_experiment_gn/moz.build
70273
--- third_party/libwebrtc/rtc_base/experiments/cpu_speed_experiment_gn/moz.build
69963
+++ third_party/libwebrtc/rtc_base/experiments/cpu_speed_experiment_gn/moz.build
70274
+++ third_party/libwebrtc/rtc_base/experiments/cpu_speed_experiment_gn/moz.build
69964
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
70275
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 69982-69988 index 66d21c66a349..8118147f993e 100644 Link Here
69982
 
70293
 
69983
 FINAL_LIBRARY = "webrtc"
70294
 FINAL_LIBRARY = "webrtc"
69984
 
70295
 
69985
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
70296
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
69986
 if CONFIG["MOZ_DEBUG"] == "1":
70297
 if CONFIG["MOZ_DEBUG"] == "1":
69987
 
70298
 
69988
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
70299
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 70047-70052 index 66d21c66a349..8118147f993e 100644 Link Here
70047
-    DEFINES["NOMINMAX"] = True
70358
-    DEFINES["NOMINMAX"] = True
70048
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
70359
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
70049
-    DEFINES["PSAPI_VERSION"] = "2"
70360
-    DEFINES["PSAPI_VERSION"] = "2"
70361
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
70050
-    DEFINES["UNICODE"] = True
70362
-    DEFINES["UNICODE"] = True
70051
-    DEFINES["USE_AURA"] = "1"
70363
-    DEFINES["USE_AURA"] = "1"
70052
-    DEFINES["WEBRTC_WIN"] = True
70364
-    DEFINES["WEBRTC_WIN"] = True
Lines 70173-70179 index 66d21c66a349..8118147f993e 100644 Link Here
70173
 
70485
 
70174
 Library("cpu_speed_experiment_gn")
70486
 Library("cpu_speed_experiment_gn")
70175
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
70487
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
70176
index 1cf3a5d0f41f..ed59d2508985 100644
70488
index 31eaaa7d9a55..ed59d2508985 100644
70177
--- third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build
70489
--- third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build
70178
+++ third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build
70490
+++ third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build
70179
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
70491
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 70197-70203 index 1cf3a5d0f41f..ed59d2508985 100644 Link Here
70197
 
70509
 
70198
 FINAL_LIBRARY = "webrtc"
70510
 FINAL_LIBRARY = "webrtc"
70199
 
70511
 
70200
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
70512
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
70201
 if CONFIG["MOZ_DEBUG"] == "1":
70513
 if CONFIG["MOZ_DEBUG"] == "1":
70202
 
70514
 
70203
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
70515
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 70262-70267 index 1cf3a5d0f41f..ed59d2508985 100644 Link Here
70262
-    DEFINES["NOMINMAX"] = True
70574
-    DEFINES["NOMINMAX"] = True
70263
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
70575
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
70264
-    DEFINES["PSAPI_VERSION"] = "2"
70576
-    DEFINES["PSAPI_VERSION"] = "2"
70577
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
70265
-    DEFINES["UNICODE"] = True
70578
-    DEFINES["UNICODE"] = True
70266
-    DEFINES["USE_AURA"] = "1"
70579
-    DEFINES["USE_AURA"] = "1"
70267
-    DEFINES["WEBRTC_WIN"] = True
70580
-    DEFINES["WEBRTC_WIN"] = True
Lines 70388-70394 index 1cf3a5d0f41f..ed59d2508985 100644 Link Here
70388
 
70701
 
70389
 Library("encoder_info_settings_gn")
70702
 Library("encoder_info_settings_gn")
70390
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
70703
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
70391
index 8147b9e99a24..3cd6aec92bc8 100644
70704
index bfa8be6e6f17..3cd6aec92bc8 100644
70392
--- third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build
70705
--- third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build
70393
+++ third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build
70706
+++ third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build
70394
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
70707
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 70412-70418 index 8147b9e99a24..3cd6aec92bc8 100644 Link Here
70412
 
70725
 
70413
 FINAL_LIBRARY = "webrtc"
70726
 FINAL_LIBRARY = "webrtc"
70414
 
70727
 
70415
@@ -46,183 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
70728
@@ -46,184 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
70416
 if CONFIG["MOZ_DEBUG"] == "1":
70729
 if CONFIG["MOZ_DEBUG"] == "1":
70417
 
70730
 
70418
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
70731
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 70477-70482 index 8147b9e99a24..3cd6aec92bc8 100644 Link Here
70477
-    DEFINES["NOMINMAX"] = True
70790
-    DEFINES["NOMINMAX"] = True
70478
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
70791
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
70479
-    DEFINES["PSAPI_VERSION"] = "2"
70792
-    DEFINES["PSAPI_VERSION"] = "2"
70793
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
70480
-    DEFINES["UNICODE"] = True
70794
-    DEFINES["UNICODE"] = True
70481
-    DEFINES["USE_AURA"] = "1"
70795
-    DEFINES["USE_AURA"] = "1"
70482
-    DEFINES["WEBRTC_WIN"] = True
70796
-    DEFINES["WEBRTC_WIN"] = True
Lines 70603-70609 index 8147b9e99a24..3cd6aec92bc8 100644 Link Here
70603
 
70917
 
70604
 Library("field_trial_parser_gn")
70918
 Library("field_trial_parser_gn")
70605
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
70919
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
70606
index b8ece40f9b6e..cd41f4b0b645 100644
70920
index 0169a46babde..cd41f4b0b645 100644
70607
--- third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build
70921
--- third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build
70608
+++ third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build
70922
+++ third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build
70609
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
70923
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 70627-70633 index b8ece40f9b6e..cd41f4b0b645 100644 Link Here
70627
 
70941
 
70628
 FINAL_LIBRARY = "webrtc"
70942
 FINAL_LIBRARY = "webrtc"
70629
 
70943
 
70630
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
70944
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
70631
 if CONFIG["MOZ_DEBUG"] == "1":
70945
 if CONFIG["MOZ_DEBUG"] == "1":
70632
 
70946
 
70633
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
70947
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 70692-70697 index b8ece40f9b6e..cd41f4b0b645 100644 Link Here
70692
-    DEFINES["NOMINMAX"] = True
71006
-    DEFINES["NOMINMAX"] = True
70693
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
71007
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
70694
-    DEFINES["PSAPI_VERSION"] = "2"
71008
-    DEFINES["PSAPI_VERSION"] = "2"
71009
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
70695
-    DEFINES["UNICODE"] = True
71010
-    DEFINES["UNICODE"] = True
70696
-    DEFINES["USE_AURA"] = "1"
71011
-    DEFINES["USE_AURA"] = "1"
70697
-    DEFINES["WEBRTC_WIN"] = True
71012
-    DEFINES["WEBRTC_WIN"] = True
Lines 70818-70824 index b8ece40f9b6e..cd41f4b0b645 100644 Link Here
70818
 
71133
 
70819
 Library("keyframe_interval_settings_experiment_gn")
71134
 Library("keyframe_interval_settings_experiment_gn")
70820
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
71135
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
70821
index 0092a33c3916..0cbfa328d9ea 100644
71136
index bb394fe2975f..0cbfa328d9ea 100644
70822
--- third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build
71137
--- third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build
70823
+++ third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build
71138
+++ third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build
70824
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
71139
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 70842-70848 index 0092a33c3916..0cbfa328d9ea 100644 Link Here
70842
 
71157
 
70843
 FINAL_LIBRARY = "webrtc"
71158
 FINAL_LIBRARY = "webrtc"
70844
 
71159
 
70845
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
71160
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
70846
 if CONFIG["MOZ_DEBUG"] == "1":
71161
 if CONFIG["MOZ_DEBUG"] == "1":
70847
 
71162
 
70848
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
71163
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 70907-70912 index 0092a33c3916..0cbfa328d9ea 100644 Link Here
70907
-    DEFINES["NOMINMAX"] = True
71222
-    DEFINES["NOMINMAX"] = True
70908
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
71223
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
70909
-    DEFINES["PSAPI_VERSION"] = "2"
71224
-    DEFINES["PSAPI_VERSION"] = "2"
71225
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
70910
-    DEFINES["UNICODE"] = True
71226
-    DEFINES["UNICODE"] = True
70911
-    DEFINES["USE_AURA"] = "1"
71227
-    DEFINES["USE_AURA"] = "1"
70912
-    DEFINES["WEBRTC_WIN"] = True
71228
-    DEFINES["WEBRTC_WIN"] = True
Lines 71033-71039 index 0092a33c3916..0cbfa328d9ea 100644 Link Here
71033
 
71349
 
71034
 Library("min_video_bitrate_experiment_gn")
71350
 Library("min_video_bitrate_experiment_gn")
71035
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
71351
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
71036
index acf592c7634f..2b4feb9b7bdc 100644
71352
index 20e3713eb1d8..2b4feb9b7bdc 100644
71037
--- third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build
71353
--- third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build
71038
+++ third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build
71354
+++ third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build
71039
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
71355
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 71057-71063 index acf592c7634f..2b4feb9b7bdc 100644 Link Here
71057
 
71373
 
71058
 FINAL_LIBRARY = "webrtc"
71374
 FINAL_LIBRARY = "webrtc"
71059
 
71375
 
71060
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
71376
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
71061
 if CONFIG["MOZ_DEBUG"] == "1":
71377
 if CONFIG["MOZ_DEBUG"] == "1":
71062
 
71378
 
71063
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
71379
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 71122-71127 index acf592c7634f..2b4feb9b7bdc 100644 Link Here
71122
-    DEFINES["NOMINMAX"] = True
71438
-    DEFINES["NOMINMAX"] = True
71123
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
71439
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
71124
-    DEFINES["PSAPI_VERSION"] = "2"
71440
-    DEFINES["PSAPI_VERSION"] = "2"
71441
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
71125
-    DEFINES["UNICODE"] = True
71442
-    DEFINES["UNICODE"] = True
71126
-    DEFINES["USE_AURA"] = "1"
71443
-    DEFINES["USE_AURA"] = "1"
71127
-    DEFINES["WEBRTC_WIN"] = True
71444
-    DEFINES["WEBRTC_WIN"] = True
Lines 71248-71254 index acf592c7634f..2b4feb9b7bdc 100644 Link Here
71248
 
71565
 
71249
 Library("normalize_simulcast_size_experiment_gn")
71566
 Library("normalize_simulcast_size_experiment_gn")
71250
diff --git third_party/libwebrtc/rtc_base/experiments/quality_rampup_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/quality_rampup_experiment_gn/moz.build
71567
diff --git third_party/libwebrtc/rtc_base/experiments/quality_rampup_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/quality_rampup_experiment_gn/moz.build
71251
index aa454826f68b..1e8451135790 100644
71568
index ef8fd46914c9..1e8451135790 100644
71252
--- third_party/libwebrtc/rtc_base/experiments/quality_rampup_experiment_gn/moz.build
71569
--- third_party/libwebrtc/rtc_base/experiments/quality_rampup_experiment_gn/moz.build
71253
+++ third_party/libwebrtc/rtc_base/experiments/quality_rampup_experiment_gn/moz.build
71570
+++ third_party/libwebrtc/rtc_base/experiments/quality_rampup_experiment_gn/moz.build
71254
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
71571
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 71272-71278 index aa454826f68b..1e8451135790 100644 Link Here
71272
 
71589
 
71273
 FINAL_LIBRARY = "webrtc"
71590
 FINAL_LIBRARY = "webrtc"
71274
 
71591
 
71275
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
71592
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
71276
 if CONFIG["MOZ_DEBUG"] == "1":
71593
 if CONFIG["MOZ_DEBUG"] == "1":
71277
 
71594
 
71278
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
71595
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 71337-71342 index aa454826f68b..1e8451135790 100644 Link Here
71337
-    DEFINES["NOMINMAX"] = True
71654
-    DEFINES["NOMINMAX"] = True
71338
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
71655
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
71339
-    DEFINES["PSAPI_VERSION"] = "2"
71656
-    DEFINES["PSAPI_VERSION"] = "2"
71657
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
71340
-    DEFINES["UNICODE"] = True
71658
-    DEFINES["UNICODE"] = True
71341
-    DEFINES["USE_AURA"] = "1"
71659
-    DEFINES["USE_AURA"] = "1"
71342
-    DEFINES["WEBRTC_WIN"] = True
71660
-    DEFINES["WEBRTC_WIN"] = True
Lines 71463-71469 index aa454826f68b..1e8451135790 100644 Link Here
71463
 
71781
 
71464
 Library("quality_rampup_experiment_gn")
71782
 Library("quality_rampup_experiment_gn")
71465
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
71783
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
71466
index c8c2708eb734..dcc3d66af2f3 100644
71784
index 6cc2035a2d7c..dcc3d66af2f3 100644
71467
--- third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build
71785
--- third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build
71468
+++ third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build
71786
+++ third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build
71469
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
71787
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 71487-71493 index c8c2708eb734..dcc3d66af2f3 100644 Link Here
71487
 
71805
 
71488
 FINAL_LIBRARY = "webrtc"
71806
 FINAL_LIBRARY = "webrtc"
71489
 
71807
 
71490
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
71808
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
71491
 if CONFIG["MOZ_DEBUG"] == "1":
71809
 if CONFIG["MOZ_DEBUG"] == "1":
71492
 
71810
 
71493
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
71811
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 71552-71557 index c8c2708eb734..dcc3d66af2f3 100644 Link Here
71552
-    DEFINES["NOMINMAX"] = True
71870
-    DEFINES["NOMINMAX"] = True
71553
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
71871
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
71554
-    DEFINES["PSAPI_VERSION"] = "2"
71872
-    DEFINES["PSAPI_VERSION"] = "2"
71873
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
71555
-    DEFINES["UNICODE"] = True
71874
-    DEFINES["UNICODE"] = True
71556
-    DEFINES["USE_AURA"] = "1"
71875
-    DEFINES["USE_AURA"] = "1"
71557
-    DEFINES["WEBRTC_WIN"] = True
71876
-    DEFINES["WEBRTC_WIN"] = True
Lines 71678-71684 index c8c2708eb734..dcc3d66af2f3 100644 Link Here
71678
 
71997
 
71679
 Library("quality_scaler_settings_gn")
71998
 Library("quality_scaler_settings_gn")
71680
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
71999
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
71681
index 2a84caa1a115..f4eec0f9ca31 100644
72000
index 2ecca976ab20..f4eec0f9ca31 100644
71682
--- third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build
72001
--- third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build
71683
+++ third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build
72002
+++ third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build
71684
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
72003
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 71702-71708 index 2a84caa1a115..f4eec0f9ca31 100644 Link Here
71702
 
72021
 
71703
 FINAL_LIBRARY = "webrtc"
72022
 FINAL_LIBRARY = "webrtc"
71704
 
72023
 
71705
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
72024
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
71706
 if CONFIG["MOZ_DEBUG"] == "1":
72025
 if CONFIG["MOZ_DEBUG"] == "1":
71707
 
72026
 
71708
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
72027
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 71767-71772 index 2a84caa1a115..f4eec0f9ca31 100644 Link Here
71767
-    DEFINES["NOMINMAX"] = True
72086
-    DEFINES["NOMINMAX"] = True
71768
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
72087
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
71769
-    DEFINES["PSAPI_VERSION"] = "2"
72088
-    DEFINES["PSAPI_VERSION"] = "2"
72089
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
71770
-    DEFINES["UNICODE"] = True
72090
-    DEFINES["UNICODE"] = True
71771
-    DEFINES["USE_AURA"] = "1"
72091
-    DEFINES["USE_AURA"] = "1"
71772
-    DEFINES["WEBRTC_WIN"] = True
72092
-    DEFINES["WEBRTC_WIN"] = True
Lines 71893-71899 index 2a84caa1a115..f4eec0f9ca31 100644 Link Here
71893
 
72213
 
71894
 Library("quality_scaling_experiment_gn")
72214
 Library("quality_scaling_experiment_gn")
71895
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
72215
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
71896
index 6cbe9e8474cf..768d19687442 100644
72216
index cbf9703b88bd..768d19687442 100644
71897
--- third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build
72217
--- third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build
71898
+++ third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build
72218
+++ third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build
71899
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
72219
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 71917-71923 index 6cbe9e8474cf..768d19687442 100644 Link Here
71917
 
72237
 
71918
 FINAL_LIBRARY = "webrtc"
72238
 FINAL_LIBRARY = "webrtc"
71919
 
72239
 
71920
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
72240
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
71921
 if CONFIG["MOZ_DEBUG"] == "1":
72241
 if CONFIG["MOZ_DEBUG"] == "1":
71922
 
72242
 
71923
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
72243
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 71982-71987 index 6cbe9e8474cf..768d19687442 100644 Link Here
71982
-    DEFINES["NOMINMAX"] = True
72302
-    DEFINES["NOMINMAX"] = True
71983
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
72303
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
71984
-    DEFINES["PSAPI_VERSION"] = "2"
72304
-    DEFINES["PSAPI_VERSION"] = "2"
72305
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
71985
-    DEFINES["UNICODE"] = True
72306
-    DEFINES["UNICODE"] = True
71986
-    DEFINES["USE_AURA"] = "1"
72307
-    DEFINES["USE_AURA"] = "1"
71987
-    DEFINES["WEBRTC_WIN"] = True
72308
-    DEFINES["WEBRTC_WIN"] = True
Lines 72108-72114 index 6cbe9e8474cf..768d19687442 100644 Link Here
72108
 
72429
 
72109
 Library("rate_control_settings_gn")
72430
 Library("rate_control_settings_gn")
72110
diff --git third_party/libwebrtc/rtc_base/experiments/rtt_mult_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/rtt_mult_experiment_gn/moz.build
72431
diff --git third_party/libwebrtc/rtc_base/experiments/rtt_mult_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/rtt_mult_experiment_gn/moz.build
72111
index aea652b1063e..faed80b04af8 100644
72432
index 8dfc5abd92e1..faed80b04af8 100644
72112
--- third_party/libwebrtc/rtc_base/experiments/rtt_mult_experiment_gn/moz.build
72433
--- third_party/libwebrtc/rtc_base/experiments/rtt_mult_experiment_gn/moz.build
72113
+++ third_party/libwebrtc/rtc_base/experiments/rtt_mult_experiment_gn/moz.build
72434
+++ third_party/libwebrtc/rtc_base/experiments/rtt_mult_experiment_gn/moz.build
72114
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
72435
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 72132-72138 index aea652b1063e..faed80b04af8 100644 Link Here
72132
 
72453
 
72133
 FINAL_LIBRARY = "webrtc"
72454
 FINAL_LIBRARY = "webrtc"
72134
 
72455
 
72135
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
72456
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
72136
 if CONFIG["MOZ_DEBUG"] == "1":
72457
 if CONFIG["MOZ_DEBUG"] == "1":
72137
 
72458
 
72138
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
72459
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 72197-72202 index aea652b1063e..faed80b04af8 100644 Link Here
72197
-    DEFINES["NOMINMAX"] = True
72518
-    DEFINES["NOMINMAX"] = True
72198
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
72519
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
72199
-    DEFINES["PSAPI_VERSION"] = "2"
72520
-    DEFINES["PSAPI_VERSION"] = "2"
72521
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
72200
-    DEFINES["UNICODE"] = True
72522
-    DEFINES["UNICODE"] = True
72201
-    DEFINES["USE_AURA"] = "1"
72523
-    DEFINES["USE_AURA"] = "1"
72202
-    DEFINES["WEBRTC_WIN"] = True
72524
-    DEFINES["WEBRTC_WIN"] = True
Lines 72323-72329 index aea652b1063e..faed80b04af8 100644 Link Here
72323
 
72645
 
72324
 Library("rtt_mult_experiment_gn")
72646
 Library("rtt_mult_experiment_gn")
72325
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
72647
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
72326
index c1854a7f4dfb..5ba40788ff5d 100644
72648
index 0948e2a3b9fc..5ba40788ff5d 100644
72327
--- third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build
72649
--- third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build
72328
+++ third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build
72650
+++ third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build
72329
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
72651
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 72347-72353 index c1854a7f4dfb..5ba40788ff5d 100644 Link Here
72347
 
72669
 
72348
 FINAL_LIBRARY = "webrtc"
72670
 FINAL_LIBRARY = "webrtc"
72349
 
72671
 
72350
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
72672
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
72351
 if CONFIG["MOZ_DEBUG"] == "1":
72673
 if CONFIG["MOZ_DEBUG"] == "1":
72352
 
72674
 
72353
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
72675
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 72412-72417 index c1854a7f4dfb..5ba40788ff5d 100644 Link Here
72412
-    DEFINES["NOMINMAX"] = True
72734
-    DEFINES["NOMINMAX"] = True
72413
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
72735
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
72414
-    DEFINES["PSAPI_VERSION"] = "2"
72736
-    DEFINES["PSAPI_VERSION"] = "2"
72737
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
72415
-    DEFINES["UNICODE"] = True
72738
-    DEFINES["UNICODE"] = True
72416
-    DEFINES["USE_AURA"] = "1"
72739
-    DEFINES["USE_AURA"] = "1"
72417
-    DEFINES["WEBRTC_WIN"] = True
72740
-    DEFINES["WEBRTC_WIN"] = True
Lines 72538-72544 index c1854a7f4dfb..5ba40788ff5d 100644 Link Here
72538
 
72861
 
72539
 Library("stable_target_rate_experiment_gn")
72862
 Library("stable_target_rate_experiment_gn")
72540
diff --git third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build
72863
diff --git third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build
72541
index a6650bd66393..393c4a6a5b5f 100644
72864
index 696c146a4556..393c4a6a5b5f 100644
72542
--- third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build
72865
--- third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build
72543
+++ third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build
72866
+++ third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build
72544
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
72867
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 72562-72568 index a6650bd66393..393c4a6a5b5f 100644 Link Here
72562
 
72885
 
72563
 FINAL_LIBRARY = "webrtc"
72886
 FINAL_LIBRARY = "webrtc"
72564
 
72887
 
72565
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
72888
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
72566
 if CONFIG["MOZ_DEBUG"] == "1":
72889
 if CONFIG["MOZ_DEBUG"] == "1":
72567
 
72890
 
72568
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
72891
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 72623-72628 index a6650bd66393..393c4a6a5b5f 100644 Link Here
72623
-    DEFINES["NOMINMAX"] = True
72946
-    DEFINES["NOMINMAX"] = True
72624
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
72947
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
72625
-    DEFINES["PSAPI_VERSION"] = "2"
72948
-    DEFINES["PSAPI_VERSION"] = "2"
72949
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
72626
-    DEFINES["UNICODE"] = True
72950
-    DEFINES["UNICODE"] = True
72627
-    DEFINES["USE_AURA"] = "1"
72951
-    DEFINES["USE_AURA"] = "1"
72628
-    DEFINES["WEBRTC_WIN"] = True
72952
-    DEFINES["WEBRTC_WIN"] = True
Lines 72667-72673 index a6650bd66393..393c4a6a5b5f 100644 Link Here
72667
 
72991
 
72668
 if CONFIG["CPU_ARCH"] == "x86":
72992
 if CONFIG["CPU_ARCH"] == "x86":
72669
 
72993
 
72670
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
72994
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
72671
 
72995
 
72672
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
72996
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
72673
 
72997
 
Lines 72727-72733 index a6650bd66393..393c4a6a5b5f 100644 Link Here
72727
-
73051
-
72728
 Library("gtest_prod_gn")
73052
 Library("gtest_prod_gn")
72729
diff --git third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build
73053
diff --git third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build
72730
index 88e1ee554758..7f4ca498bb80 100644
73054
index d8033c9a59e0..7f4ca498bb80 100644
72731
--- third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build
73055
--- third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build
72732
+++ third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build
73056
+++ third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build
72733
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
73057
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 72751-72757 index 88e1ee554758..7f4ca498bb80 100644 Link Here
72751
 
73075
 
72752
 FINAL_LIBRARY = "webrtc"
73076
 FINAL_LIBRARY = "webrtc"
72753
 
73077
 
72754
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
73078
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
72755
 if CONFIG["MOZ_DEBUG"] == "1":
73079
 if CONFIG["MOZ_DEBUG"] == "1":
72756
 
73080
 
72757
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
73081
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 72816-72821 index 88e1ee554758..7f4ca498bb80 100644 Link Here
72816
-    DEFINES["NOMINMAX"] = True
73140
-    DEFINES["NOMINMAX"] = True
72817
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
73141
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
72818
-    DEFINES["PSAPI_VERSION"] = "2"
73142
-    DEFINES["PSAPI_VERSION"] = "2"
73143
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
72819
-    DEFINES["UNICODE"] = True
73144
-    DEFINES["UNICODE"] = True
72820
-    DEFINES["USE_AURA"] = "1"
73145
-    DEFINES["USE_AURA"] = "1"
72821
-    DEFINES["WEBRTC_WIN"] = True
73146
-    DEFINES["WEBRTC_WIN"] = True
Lines 73043-73049 index 01eeabbf70bc..000000000000 Link Here
73043
-
73368
-
73044
-Library("ifaddrs_android_gn")
73369
-Library("ifaddrs_android_gn")
73045
diff --git third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build
73370
diff --git third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build
73046
index d7b06159cea2..ede6074320d3 100644
73371
index 7fab2a6316d5..ede6074320d3 100644
73047
--- third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build
73372
--- third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build
73048
+++ third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build
73373
+++ third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build
73049
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
73374
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 73067-73073 index d7b06159cea2..ede6074320d3 100644 Link Here
73067
 
73392
 
73068
 FINAL_LIBRARY = "webrtc"
73393
 FINAL_LIBRARY = "webrtc"
73069
 
73394
 
73070
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
73395
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
73071
 if CONFIG["MOZ_DEBUG"] == "1":
73396
 if CONFIG["MOZ_DEBUG"] == "1":
73072
 
73397
 
73073
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
73398
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 73128-73133 index d7b06159cea2..ede6074320d3 100644 Link Here
73128
-    DEFINES["NOMINMAX"] = True
73453
-    DEFINES["NOMINMAX"] = True
73129
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
73454
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
73130
-    DEFINES["PSAPI_VERSION"] = "2"
73455
-    DEFINES["PSAPI_VERSION"] = "2"
73456
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
73131
-    DEFINES["UNICODE"] = True
73457
-    DEFINES["UNICODE"] = True
73132
-    DEFINES["USE_AURA"] = "1"
73458
-    DEFINES["USE_AURA"] = "1"
73133
-    DEFINES["WEBRTC_WIN"] = True
73459
-    DEFINES["WEBRTC_WIN"] = True
Lines 73172-73178 index d7b06159cea2..ede6074320d3 100644 Link Here
73172
 
73498
 
73173
 if CONFIG["CPU_ARCH"] == "x86":
73499
 if CONFIG["CPU_ARCH"] == "x86":
73174
 
73500
 
73175
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
73501
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
73176
 
73502
 
73177
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
73503
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
73178
 
73504
 
Lines 73232-73238 index d7b06159cea2..ede6074320d3 100644 Link Here
73232
-
73558
-
73233
 Library("ignore_wundef_gn")
73559
 Library("ignore_wundef_gn")
73234
diff --git third_party/libwebrtc/rtc_base/ip_address_gn/moz.build third_party/libwebrtc/rtc_base/ip_address_gn/moz.build
73560
diff --git third_party/libwebrtc/rtc_base/ip_address_gn/moz.build third_party/libwebrtc/rtc_base/ip_address_gn/moz.build
73235
index a55837b63428..3310e1e14d3c 100644
73561
index 55c55c7b2b41..3310e1e14d3c 100644
73236
--- third_party/libwebrtc/rtc_base/ip_address_gn/moz.build
73562
--- third_party/libwebrtc/rtc_base/ip_address_gn/moz.build
73237
+++ third_party/libwebrtc/rtc_base/ip_address_gn/moz.build
73563
+++ third_party/libwebrtc/rtc_base/ip_address_gn/moz.build
73238
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
73564
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 73256-73262 index a55837b63428..3310e1e14d3c 100644 Link Here
73256
 
73582
 
73257
 FINAL_LIBRARY = "webrtc"
73583
 FINAL_LIBRARY = "webrtc"
73258
 
73584
 
73259
@@ -43,187 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
73585
@@ -43,188 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
73260
 if CONFIG["MOZ_DEBUG"] == "1":
73586
 if CONFIG["MOZ_DEBUG"] == "1":
73261
 
73587
 
73262
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
73588
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 73322-73327 index a55837b63428..3310e1e14d3c 100644 Link Here
73322
-    DEFINES["NOMINMAX"] = True
73648
-    DEFINES["NOMINMAX"] = True
73323
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
73649
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
73324
-    DEFINES["PSAPI_VERSION"] = "2"
73650
-    DEFINES["PSAPI_VERSION"] = "2"
73651
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
73325
-    DEFINES["UNICODE"] = True
73652
-    DEFINES["UNICODE"] = True
73326
-    DEFINES["USE_AURA"] = "1"
73653
-    DEFINES["USE_AURA"] = "1"
73327
-    DEFINES["WEBRTC_WIN"] = True
73654
-    DEFINES["WEBRTC_WIN"] = True
Lines 73451-73465 index a55837b63428..3310e1e14d3c 100644 Link Here
73451
 
73778
 
73452
 Library("ip_address_gn")
73779
 Library("ip_address_gn")
73453
diff --git third_party/libwebrtc/rtc_base/logging_gn/moz.build third_party/libwebrtc/rtc_base/logging_gn/moz.build
73780
diff --git third_party/libwebrtc/rtc_base/logging_gn/moz.build third_party/libwebrtc/rtc_base/logging_gn/moz.build
73454
index a1b3462893f1..7363168e0153 100644
73781
index c58a306730f8..22d90f577490 100644
73455
--- third_party/libwebrtc/rtc_base/logging_gn/moz.build
73782
--- third_party/libwebrtc/rtc_base/logging_gn/moz.build
73456
+++ third_party/libwebrtc/rtc_base/logging_gn/moz.build
73783
+++ third_party/libwebrtc/rtc_base/logging_gn/moz.build
73457
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
73784
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
73458
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
73785
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
73459
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
73786
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
73460
 DEFINES["RTC_ENABLE_VP9"] = True
73787
 DEFINES["RTC_ENABLE_VP9"] = True
73461
+DEFINES["USE_GLIB"] = "1"
73788
+DEFINES["USE_GLIB"] = "1"
73462
+DEFINES["USE_OZONE"] = "1"
73789
+DEFINES["USE_OZONE"] = "1"
73790
 DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1"
73463
+DEFINES["WEBRTC_BSD"] = True
73791
+DEFINES["WEBRTC_BSD"] = True
73464
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
73792
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
73465
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
73793
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
Lines 73475-73481 index a1b3462893f1..7363168e0153 100644 Link Here
73475
 
73803
 
73476
 FINAL_LIBRARY = "webrtc"
73804
 FINAL_LIBRARY = "webrtc"
73477
 
73805
 
73478
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
73806
@@ -44,184 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
73479
 if CONFIG["MOZ_DEBUG"] == "1":
73807
 if CONFIG["MOZ_DEBUG"] == "1":
73480
 
73808
 
73481
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
73809
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 73540-73545 index a1b3462893f1..7363168e0153 100644 Link Here
73540
-    DEFINES["NOMINMAX"] = True
73868
-    DEFINES["NOMINMAX"] = True
73541
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
73869
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
73542
-    DEFINES["PSAPI_VERSION"] = "2"
73870
-    DEFINES["PSAPI_VERSION"] = "2"
73871
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
73543
-    DEFINES["UNICODE"] = True
73872
-    DEFINES["UNICODE"] = True
73544
-    DEFINES["USE_AURA"] = "1"
73873
-    DEFINES["USE_AURA"] = "1"
73545
-    DEFINES["WEBRTC_WIN"] = True
73874
-    DEFINES["WEBRTC_WIN"] = True
Lines 73666-73672 index a1b3462893f1..7363168e0153 100644 Link Here
73666
 
73995
 
73667
 Library("logging_gn")
73996
 Library("logging_gn")
73668
diff --git third_party/libwebrtc/rtc_base/macromagic_gn/moz.build third_party/libwebrtc/rtc_base/macromagic_gn/moz.build
73997
diff --git third_party/libwebrtc/rtc_base/macromagic_gn/moz.build third_party/libwebrtc/rtc_base/macromagic_gn/moz.build
73669
index 372b4d28f8a7..3a1e46270270 100644
73998
index b378b0e6d4b7..3a1e46270270 100644
73670
--- third_party/libwebrtc/rtc_base/macromagic_gn/moz.build
73999
--- third_party/libwebrtc/rtc_base/macromagic_gn/moz.build
73671
+++ third_party/libwebrtc/rtc_base/macromagic_gn/moz.build
74000
+++ third_party/libwebrtc/rtc_base/macromagic_gn/moz.build
73672
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
74001
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 73690-73696 index 372b4d28f8a7..3a1e46270270 100644 Link Here
73690
 
74019
 
73691
 FINAL_LIBRARY = "webrtc"
74020
 FINAL_LIBRARY = "webrtc"
73692
 
74021
 
73693
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
74022
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
73694
 if CONFIG["MOZ_DEBUG"] == "1":
74023
 if CONFIG["MOZ_DEBUG"] == "1":
73695
 
74024
 
73696
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
74025
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 73751-73756 index 372b4d28f8a7..3a1e46270270 100644 Link Here
73751
-    DEFINES["NOMINMAX"] = True
74080
-    DEFINES["NOMINMAX"] = True
73752
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
74081
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
73753
-    DEFINES["PSAPI_VERSION"] = "2"
74082
-    DEFINES["PSAPI_VERSION"] = "2"
74083
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
73754
-    DEFINES["UNICODE"] = True
74084
-    DEFINES["UNICODE"] = True
73755
-    DEFINES["USE_AURA"] = "1"
74085
-    DEFINES["USE_AURA"] = "1"
73756
-    DEFINES["WEBRTC_WIN"] = True
74086
-    DEFINES["WEBRTC_WIN"] = True
Lines 73795-73801 index 372b4d28f8a7..3a1e46270270 100644 Link Here
73795
 
74125
 
73796
 if CONFIG["CPU_ARCH"] == "x86":
74126
 if CONFIG["CPU_ARCH"] == "x86":
73797
 
74127
 
73798
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
74128
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
73799
 
74129
 
73800
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
74130
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
73801
 
74131
 
Lines 73855-73861 index 372b4d28f8a7..3a1e46270270 100644 Link Here
73855
-
74185
-
73856
 Library("macromagic_gn")
74186
 Library("macromagic_gn")
73857
diff --git third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build
74187
diff --git third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build
73858
index 139009098bab..eb01e8eadc57 100644
74188
index 0cccc551392d..eb01e8eadc57 100644
73859
--- third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build
74189
--- third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build
73860
+++ third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build
74190
+++ third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build
73861
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
74191
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 73879-73885 index 139009098bab..eb01e8eadc57 100644 Link Here
73879
 
74209
 
73880
 FINAL_LIBRARY = "webrtc"
74210
 FINAL_LIBRARY = "webrtc"
73881
 
74211
 
73882
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
74212
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
73883
 if CONFIG["MOZ_DEBUG"] == "1":
74213
 if CONFIG["MOZ_DEBUG"] == "1":
73884
 
74214
 
73885
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
74215
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 73944-73949 index 139009098bab..eb01e8eadc57 100644 Link Here
73944
-    DEFINES["NOMINMAX"] = True
74274
-    DEFINES["NOMINMAX"] = True
73945
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
74275
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
73946
-    DEFINES["PSAPI_VERSION"] = "2"
74276
-    DEFINES["PSAPI_VERSION"] = "2"
74277
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
73947
-    DEFINES["UNICODE"] = True
74278
-    DEFINES["UNICODE"] = True
73948
-    DEFINES["USE_AURA"] = "1"
74279
-    DEFINES["USE_AURA"] = "1"
73949
-    DEFINES["WEBRTC_WIN"] = True
74280
-    DEFINES["WEBRTC_WIN"] = True
Lines 74066-74072 index 139009098bab..eb01e8eadc57 100644 Link Here
74066
 
74397
 
74067
 Library("aligned_malloc_gn")
74398
 Library("aligned_malloc_gn")
74068
diff --git third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build
74399
diff --git third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build
74069
index afe42b847585..ac5348af377a 100644
74400
index 5c80d3b59c8d..ac5348af377a 100644
74070
--- third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build
74401
--- third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build
74071
+++ third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build
74402
+++ third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build
74072
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
74403
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 74090-74096 index afe42b847585..ac5348af377a 100644 Link Here
74090
 
74421
 
74091
 FINAL_LIBRARY = "webrtc"
74422
 FINAL_LIBRARY = "webrtc"
74092
 
74423
 
74093
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
74424
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
74094
 if CONFIG["MOZ_DEBUG"] == "1":
74425
 if CONFIG["MOZ_DEBUG"] == "1":
74095
 
74426
 
74096
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
74427
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 74155-74160 index afe42b847585..ac5348af377a 100644 Link Here
74155
-    DEFINES["NOMINMAX"] = True
74486
-    DEFINES["NOMINMAX"] = True
74156
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
74487
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
74157
-    DEFINES["PSAPI_VERSION"] = "2"
74488
-    DEFINES["PSAPI_VERSION"] = "2"
74489
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
74158
-    DEFINES["UNICODE"] = True
74490
-    DEFINES["UNICODE"] = True
74159
-    DEFINES["USE_AURA"] = "1"
74491
-    DEFINES["USE_AURA"] = "1"
74160
-    DEFINES["WEBRTC_WIN"] = True
74492
-    DEFINES["WEBRTC_WIN"] = True
Lines 74199-74205 index afe42b847585..ac5348af377a 100644 Link Here
74199
 
74531
 
74200
 if CONFIG["CPU_ARCH"] == "x86":
74532
 if CONFIG["CPU_ARCH"] == "x86":
74201
 
74533
 
74202
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
74534
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
74203
 
74535
 
74204
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
74536
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
74205
 
74537
 
Lines 74259-74265 index afe42b847585..ac5348af377a 100644 Link Here
74259
-
74591
-
74260
 Library("mod_ops_gn")
74592
 Library("mod_ops_gn")
74261
diff --git third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build
74593
diff --git third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build
74262
index fdbf859c3749..d20ce225c3f9 100644
74594
index c5694b5994f4..d20ce225c3f9 100644
74263
--- third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build
74595
--- third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build
74264
+++ third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build
74596
+++ third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build
74265
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
74597
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 74283-74289 index fdbf859c3749..d20ce225c3f9 100644 Link Here
74283
 
74615
 
74284
 FINAL_LIBRARY = "webrtc"
74616
 FINAL_LIBRARY = "webrtc"
74285
 
74617
 
74286
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
74618
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
74287
 if CONFIG["MOZ_DEBUG"] == "1":
74619
 if CONFIG["MOZ_DEBUG"] == "1":
74288
 
74620
 
74289
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
74621
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 74348-74353 index fdbf859c3749..d20ce225c3f9 100644 Link Here
74348
-    DEFINES["NOMINMAX"] = True
74680
-    DEFINES["NOMINMAX"] = True
74349
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
74681
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
74350
-    DEFINES["PSAPI_VERSION"] = "2"
74682
-    DEFINES["PSAPI_VERSION"] = "2"
74683
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
74351
-    DEFINES["UNICODE"] = True
74684
-    DEFINES["UNICODE"] = True
74352
-    DEFINES["USE_AURA"] = "1"
74685
-    DEFINES["USE_AURA"] = "1"
74353
-    DEFINES["WEBRTC_WIN"] = True
74686
-    DEFINES["WEBRTC_WIN"] = True
Lines 74392-74398 index fdbf859c3749..d20ce225c3f9 100644 Link Here
74392
 
74725
 
74393
 if CONFIG["CPU_ARCH"] == "x86":
74726
 if CONFIG["CPU_ARCH"] == "x86":
74394
 
74727
 
74395
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
74728
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
74396
 
74729
 
74397
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
74730
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
74398
 
74731
 
Lines 74452-74458 index fdbf859c3749..d20ce225c3f9 100644 Link Here
74452
-
74785
-
74453
 Library("moving_max_counter_gn")
74786
 Library("moving_max_counter_gn")
74454
diff --git third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build
74787
diff --git third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build
74455
index 4ac9a06df874..7f32da55511f 100644
74788
index 1cb24c3d75c9..7f32da55511f 100644
74456
--- third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build
74789
--- third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build
74457
+++ third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build
74790
+++ third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build
74458
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
74791
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 74476-74482 index 4ac9a06df874..7f32da55511f 100644 Link Here
74476
 
74809
 
74477
 FINAL_LIBRARY = "webrtc"
74810
 FINAL_LIBRARY = "webrtc"
74478
 
74811
 
74479
@@ -43,187 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
74812
@@ -43,188 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
74480
 if CONFIG["MOZ_DEBUG"] == "1":
74813
 if CONFIG["MOZ_DEBUG"] == "1":
74481
 
74814
 
74482
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
74815
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 74542-74547 index 4ac9a06df874..7f32da55511f 100644 Link Here
74542
-    DEFINES["NOMINMAX"] = True
74875
-    DEFINES["NOMINMAX"] = True
74543
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
74876
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
74544
-    DEFINES["PSAPI_VERSION"] = "2"
74877
-    DEFINES["PSAPI_VERSION"] = "2"
74878
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
74545
-    DEFINES["UNICODE"] = True
74879
-    DEFINES["UNICODE"] = True
74546
-    DEFINES["USE_AURA"] = "1"
74880
-    DEFINES["USE_AURA"] = "1"
74547
-    DEFINES["WEBRTC_WIN"] = True
74881
-    DEFINES["WEBRTC_WIN"] = True
Lines 74671-74677 index 4ac9a06df874..7f32da55511f 100644 Link Here
74671
 
75005
 
74672
 Library("net_helpers_gn")
75006
 Library("net_helpers_gn")
74673
diff --git third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build
75007
diff --git third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build
74674
index cdcbaee77937..ea4f2aacc117 100644
75008
index db9b0d613e4c..ea4f2aacc117 100644
74675
--- third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build
75009
--- third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build
74676
+++ third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build
75010
+++ third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build
74677
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
75011
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 74695-74701 index cdcbaee77937..ea4f2aacc117 100644 Link Here
74695
 
75029
 
74696
 FINAL_LIBRARY = "webrtc"
75030
 FINAL_LIBRARY = "webrtc"
74697
 
75031
 
74698
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
75032
@@ -43,176 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
74699
 if CONFIG["MOZ_DEBUG"] == "1":
75033
 if CONFIG["MOZ_DEBUG"] == "1":
74700
 
75034
 
74701
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
75035
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 74756-74761 index cdcbaee77937..ea4f2aacc117 100644 Link Here
74756
-    DEFINES["NOMINMAX"] = True
75090
-    DEFINES["NOMINMAX"] = True
74757
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
75091
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
74758
-    DEFINES["PSAPI_VERSION"] = "2"
75092
-    DEFINES["PSAPI_VERSION"] = "2"
75093
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
74759
-    DEFINES["UNICODE"] = True
75094
-    DEFINES["UNICODE"] = True
74760
-    DEFINES["USE_AURA"] = "1"
75095
-    DEFINES["USE_AURA"] = "1"
74761
-    DEFINES["WEBRTC_WIN"] = True
75096
-    DEFINES["WEBRTC_WIN"] = True
Lines 74878-74884 index cdcbaee77937..ea4f2aacc117 100644 Link Here
74878
 
75213
 
74879
 Library("sent_packet_gn")
75214
 Library("sent_packet_gn")
74880
diff --git third_party/libwebrtc/rtc_base/network_constants_gn/moz.build third_party/libwebrtc/rtc_base/network_constants_gn/moz.build
75215
diff --git third_party/libwebrtc/rtc_base/network_constants_gn/moz.build third_party/libwebrtc/rtc_base/network_constants_gn/moz.build
74881
index 9b7fb4a6703e..c5b7fcd69e98 100644
75216
index d108cfaaec00..c5b7fcd69e98 100644
74882
--- third_party/libwebrtc/rtc_base/network_constants_gn/moz.build
75217
--- third_party/libwebrtc/rtc_base/network_constants_gn/moz.build
74883
+++ third_party/libwebrtc/rtc_base/network_constants_gn/moz.build
75218
+++ third_party/libwebrtc/rtc_base/network_constants_gn/moz.build
74884
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
75219
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 74902-74908 index 9b7fb4a6703e..c5b7fcd69e98 100644 Link Here
74902
 
75237
 
74903
 FINAL_LIBRARY = "webrtc"
75238
 FINAL_LIBRARY = "webrtc"
74904
 
75239
 
74905
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
75240
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
74906
 if CONFIG["MOZ_DEBUG"] == "1":
75241
 if CONFIG["MOZ_DEBUG"] == "1":
74907
 
75242
 
74908
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
75243
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 74967-74972 index 9b7fb4a6703e..c5b7fcd69e98 100644 Link Here
74967
-    DEFINES["NOMINMAX"] = True
75302
-    DEFINES["NOMINMAX"] = True
74968
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
75303
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
74969
-    DEFINES["PSAPI_VERSION"] = "2"
75304
-    DEFINES["PSAPI_VERSION"] = "2"
75305
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
74970
-    DEFINES["UNICODE"] = True
75306
-    DEFINES["UNICODE"] = True
74971
-    DEFINES["USE_AURA"] = "1"
75307
-    DEFINES["USE_AURA"] = "1"
74972
-    DEFINES["WEBRTC_WIN"] = True
75308
-    DEFINES["WEBRTC_WIN"] = True
Lines 75089-75095 index 9b7fb4a6703e..c5b7fcd69e98 100644 Link Here
75089
 
75425
 
75090
 Library("network_constants_gn")
75426
 Library("network_constants_gn")
75091
diff --git third_party/libwebrtc/rtc_base/network_route_gn/moz.build third_party/libwebrtc/rtc_base/network_route_gn/moz.build
75427
diff --git third_party/libwebrtc/rtc_base/network_route_gn/moz.build third_party/libwebrtc/rtc_base/network_route_gn/moz.build
75092
index 7b0f634578f3..1ec2058feb83 100644
75428
index 659cf796f386..1ec2058feb83 100644
75093
--- third_party/libwebrtc/rtc_base/network_route_gn/moz.build
75429
--- third_party/libwebrtc/rtc_base/network_route_gn/moz.build
75094
+++ third_party/libwebrtc/rtc_base/network_route_gn/moz.build
75430
+++ third_party/libwebrtc/rtc_base/network_route_gn/moz.build
75095
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
75431
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 75113-75119 index 7b0f634578f3..1ec2058feb83 100644 Link Here
75113
 
75449
 
75114
 FINAL_LIBRARY = "webrtc"
75450
 FINAL_LIBRARY = "webrtc"
75115
 
75451
 
75116
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
75452
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
75117
 if CONFIG["MOZ_DEBUG"] == "1":
75453
 if CONFIG["MOZ_DEBUG"] == "1":
75118
 
75454
 
75119
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
75455
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 75178-75183 index 7b0f634578f3..1ec2058feb83 100644 Link Here
75178
-    DEFINES["NOMINMAX"] = True
75514
-    DEFINES["NOMINMAX"] = True
75179
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
75515
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
75180
-    DEFINES["PSAPI_VERSION"] = "2"
75516
-    DEFINES["PSAPI_VERSION"] = "2"
75517
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
75181
-    DEFINES["UNICODE"] = True
75518
-    DEFINES["UNICODE"] = True
75182
-    DEFINES["USE_AURA"] = "1"
75519
-    DEFINES["USE_AURA"] = "1"
75183
-    DEFINES["WEBRTC_WIN"] = True
75520
-    DEFINES["WEBRTC_WIN"] = True
Lines 75300-75306 index 7b0f634578f3..1ec2058feb83 100644 Link Here
75300
 
75637
 
75301
 Library("network_route_gn")
75638
 Library("network_route_gn")
75302
diff --git third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build
75639
diff --git third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build
75303
index f77bcf8aa788..df6cf74c5b16 100644
75640
index 09c94861965b..df6cf74c5b16 100644
75304
--- third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build
75641
--- third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build
75305
+++ third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build
75642
+++ third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build
75306
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
75643
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 75324-75330 index f77bcf8aa788..df6cf74c5b16 100644 Link Here
75324
 
75661
 
75325
 FINAL_LIBRARY = "webrtc"
75662
 FINAL_LIBRARY = "webrtc"
75326
 
75663
 
75327
@@ -43,187 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
75664
@@ -43,188 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
75328
 if CONFIG["MOZ_DEBUG"] == "1":
75665
 if CONFIG["MOZ_DEBUG"] == "1":
75329
 
75666
 
75330
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
75667
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 75390-75395 index f77bcf8aa788..df6cf74c5b16 100644 Link Here
75390
-    DEFINES["NOMINMAX"] = True
75727
-    DEFINES["NOMINMAX"] = True
75391
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
75728
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
75392
-    DEFINES["PSAPI_VERSION"] = "2"
75729
-    DEFINES["PSAPI_VERSION"] = "2"
75730
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
75393
-    DEFINES["UNICODE"] = True
75731
-    DEFINES["UNICODE"] = True
75394
-    DEFINES["USE_AURA"] = "1"
75732
-    DEFINES["USE_AURA"] = "1"
75395
-    DEFINES["WEBRTC_WIN"] = True
75733
-    DEFINES["WEBRTC_WIN"] = True
Lines 75519-75525 index f77bcf8aa788..df6cf74c5b16 100644 Link Here
75519
 
75857
 
75520
 Library("null_socket_server_gn")
75858
 Library("null_socket_server_gn")
75521
diff --git third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build
75859
diff --git third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build
75522
index ac24f995c6c1..a8d26b774863 100644
75860
index 81275000b3a9..a8d26b774863 100644
75523
--- third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build
75861
--- third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build
75524
+++ third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build
75862
+++ third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build
75525
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
75863
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 75543-75549 index ac24f995c6c1..a8d26b774863 100644 Link Here
75543
 
75881
 
75544
 FINAL_LIBRARY = "webrtc"
75882
 FINAL_LIBRARY = "webrtc"
75545
 
75883
 
75546
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
75884
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
75547
 if CONFIG["MOZ_DEBUG"] == "1":
75885
 if CONFIG["MOZ_DEBUG"] == "1":
75548
 
75886
 
75549
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
75887
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 75608-75613 index ac24f995c6c1..a8d26b774863 100644 Link Here
75608
-    DEFINES["NOMINMAX"] = True
75946
-    DEFINES["NOMINMAX"] = True
75609
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
75947
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
75610
-    DEFINES["PSAPI_VERSION"] = "2"
75948
-    DEFINES["PSAPI_VERSION"] = "2"
75949
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
75611
-    DEFINES["UNICODE"] = True
75950
-    DEFINES["UNICODE"] = True
75612
-    DEFINES["USE_AURA"] = "1"
75951
-    DEFINES["USE_AURA"] = "1"
75613
-    DEFINES["WEBRTC_WIN"] = True
75952
-    DEFINES["WEBRTC_WIN"] = True
Lines 75652-75658 index ac24f995c6c1..a8d26b774863 100644 Link Here
75652
 
75991
 
75653
 if CONFIG["CPU_ARCH"] == "x86":
75992
 if CONFIG["CPU_ARCH"] == "x86":
75654
 
75993
 
75655
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
75994
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
75656
 
75995
 
75657
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
75996
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
75658
 
75997
 
Lines 75712-75718 index ac24f995c6c1..a8d26b774863 100644 Link Here
75712
-
76051
-
75713
 Library("one_time_event_gn")
76052
 Library("one_time_event_gn")
75714
diff --git third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build
76053
diff --git third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build
75715
index c580f7e67a0a..3fea9a2d6b27 100644
76054
index 877e4decb1be..3fea9a2d6b27 100644
75716
--- third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build
76055
--- third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build
75717
+++ third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build
76056
+++ third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build
75718
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
76057
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 75736-75742 index c580f7e67a0a..3fea9a2d6b27 100644 Link Here
75736
 
76075
 
75737
 FINAL_LIBRARY = "webrtc"
76076
 FINAL_LIBRARY = "webrtc"
75738
 
76077
 
75739
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
76078
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
75740
 if CONFIG["MOZ_DEBUG"] == "1":
76079
 if CONFIG["MOZ_DEBUG"] == "1":
75741
 
76080
 
75742
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
76081
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 75801-75806 index c580f7e67a0a..3fea9a2d6b27 100644 Link Here
75801
-    DEFINES["NOMINMAX"] = True
76140
-    DEFINES["NOMINMAX"] = True
75802
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
76141
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
75803
-    DEFINES["PSAPI_VERSION"] = "2"
76142
-    DEFINES["PSAPI_VERSION"] = "2"
76143
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
75804
-    DEFINES["UNICODE"] = True
76144
-    DEFINES["UNICODE"] = True
75805
-    DEFINES["USE_AURA"] = "1"
76145
-    DEFINES["USE_AURA"] = "1"
75806
-    DEFINES["WEBRTC_WIN"] = True
76146
-    DEFINES["WEBRTC_WIN"] = True
Lines 75927-75933 index c580f7e67a0a..3fea9a2d6b27 100644 Link Here
75927
 
76267
 
75928
 Library("platform_thread_gn")
76268
 Library("platform_thread_gn")
75929
diff --git third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build
76269
diff --git third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build
75930
index 713a9cc2fdf7..99ec083c6586 100644
76270
index 24624a54124d..99ec083c6586 100644
75931
--- third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build
76271
--- third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build
75932
+++ third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build
76272
+++ third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build
75933
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
76273
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 75951-75957 index 713a9cc2fdf7..99ec083c6586 100644 Link Here
75951
 
76291
 
75952
 FINAL_LIBRARY = "webrtc"
76292
 FINAL_LIBRARY = "webrtc"
75953
 
76293
 
75954
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
76294
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
75955
 if CONFIG["MOZ_DEBUG"] == "1":
76295
 if CONFIG["MOZ_DEBUG"] == "1":
75956
 
76296
 
75957
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
76297
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 76016-76021 index 713a9cc2fdf7..99ec083c6586 100644 Link Here
76016
-    DEFINES["NOMINMAX"] = True
76356
-    DEFINES["NOMINMAX"] = True
76017
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
76357
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
76018
-    DEFINES["PSAPI_VERSION"] = "2"
76358
-    DEFINES["PSAPI_VERSION"] = "2"
76359
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
76019
-    DEFINES["UNICODE"] = True
76360
-    DEFINES["UNICODE"] = True
76020
-    DEFINES["USE_AURA"] = "1"
76361
-    DEFINES["USE_AURA"] = "1"
76021
-    DEFINES["WEBRTC_WIN"] = True
76362
-    DEFINES["WEBRTC_WIN"] = True
Lines 76138-76144 index 713a9cc2fdf7..99ec083c6586 100644 Link Here
76138
 
76479
 
76139
 Library("platform_thread_types_gn")
76480
 Library("platform_thread_types_gn")
76140
diff --git third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build
76481
diff --git third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build
76141
index a5a3d7492137..d9d75b3b91be 100644
76482
index 1e53b0ac392a..d9d75b3b91be 100644
76142
--- third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build
76483
--- third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build
76143
+++ third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build
76484
+++ third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build
76144
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
76485
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 76162-76168 index a5a3d7492137..d9d75b3b91be 100644 Link Here
76162
 
76503
 
76163
 FINAL_LIBRARY = "webrtc"
76504
 FINAL_LIBRARY = "webrtc"
76164
 
76505
 
76165
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
76506
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
76166
 if CONFIG["MOZ_DEBUG"] == "1":
76507
 if CONFIG["MOZ_DEBUG"] == "1":
76167
 
76508
 
76168
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
76509
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 76223-76228 index a5a3d7492137..d9d75b3b91be 100644 Link Here
76223
-    DEFINES["NOMINMAX"] = True
76564
-    DEFINES["NOMINMAX"] = True
76224
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
76565
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
76225
-    DEFINES["PSAPI_VERSION"] = "2"
76566
-    DEFINES["PSAPI_VERSION"] = "2"
76567
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
76226
-    DEFINES["UNICODE"] = True
76568
-    DEFINES["UNICODE"] = True
76227
-    DEFINES["USE_AURA"] = "1"
76569
-    DEFINES["USE_AURA"] = "1"
76228
-    DEFINES["WEBRTC_WIN"] = True
76570
-    DEFINES["WEBRTC_WIN"] = True
Lines 76267-76273 index a5a3d7492137..d9d75b3b91be 100644 Link Here
76267
 
76609
 
76268
 if CONFIG["CPU_ARCH"] == "x86":
76610
 if CONFIG["CPU_ARCH"] == "x86":
76269
 
76611
 
76270
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
76612
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
76271
 
76613
 
76272
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
76614
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
76273
 
76615
 
Lines 76327-76333 index a5a3d7492137..d9d75b3b91be 100644 Link Here
76327
-
76669
-
76328
 Library("protobuf_utils_gn")
76670
 Library("protobuf_utils_gn")
76329
diff --git third_party/libwebrtc/rtc_base/race_checker_gn/moz.build third_party/libwebrtc/rtc_base/race_checker_gn/moz.build
76671
diff --git third_party/libwebrtc/rtc_base/race_checker_gn/moz.build third_party/libwebrtc/rtc_base/race_checker_gn/moz.build
76330
index 514f8957fee9..e3529cc2a54b 100644
76672
index b19361782bda..e3529cc2a54b 100644
76331
--- third_party/libwebrtc/rtc_base/race_checker_gn/moz.build
76673
--- third_party/libwebrtc/rtc_base/race_checker_gn/moz.build
76332
+++ third_party/libwebrtc/rtc_base/race_checker_gn/moz.build
76674
+++ third_party/libwebrtc/rtc_base/race_checker_gn/moz.build
76333
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
76675
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 76351-76357 index 514f8957fee9..e3529cc2a54b 100644 Link Here
76351
 
76693
 
76352
 FINAL_LIBRARY = "webrtc"
76694
 FINAL_LIBRARY = "webrtc"
76353
 
76695
 
76354
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
76696
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
76355
 if CONFIG["MOZ_DEBUG"] == "1":
76697
 if CONFIG["MOZ_DEBUG"] == "1":
76356
 
76698
 
76357
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
76699
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 76416-76421 index 514f8957fee9..e3529cc2a54b 100644 Link Here
76416
-    DEFINES["NOMINMAX"] = True
76758
-    DEFINES["NOMINMAX"] = True
76417
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
76759
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
76418
-    DEFINES["PSAPI_VERSION"] = "2"
76760
-    DEFINES["PSAPI_VERSION"] = "2"
76761
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
76419
-    DEFINES["UNICODE"] = True
76762
-    DEFINES["UNICODE"] = True
76420
-    DEFINES["USE_AURA"] = "1"
76763
-    DEFINES["USE_AURA"] = "1"
76421
-    DEFINES["WEBRTC_WIN"] = True
76764
-    DEFINES["WEBRTC_WIN"] = True
Lines 76538-76544 index 514f8957fee9..e3529cc2a54b 100644 Link Here
76538
 
76881
 
76539
 Library("race_checker_gn")
76882
 Library("race_checker_gn")
76540
diff --git third_party/libwebrtc/rtc_base/random_gn/moz.build third_party/libwebrtc/rtc_base/random_gn/moz.build
76883
diff --git third_party/libwebrtc/rtc_base/random_gn/moz.build third_party/libwebrtc/rtc_base/random_gn/moz.build
76541
index 9b3592566474..9c8984a140d6 100644
76884
index 5f1ba9dd7dda..9c8984a140d6 100644
76542
--- third_party/libwebrtc/rtc_base/random_gn/moz.build
76885
--- third_party/libwebrtc/rtc_base/random_gn/moz.build
76543
+++ third_party/libwebrtc/rtc_base/random_gn/moz.build
76886
+++ third_party/libwebrtc/rtc_base/random_gn/moz.build
76544
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
76887
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 76562-76568 index 9b3592566474..9c8984a140d6 100644 Link Here
76562
 
76905
 
76563
 FINAL_LIBRARY = "webrtc"
76906
 FINAL_LIBRARY = "webrtc"
76564
 
76907
 
76565
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
76908
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
76566
 if CONFIG["MOZ_DEBUG"] == "1":
76909
 if CONFIG["MOZ_DEBUG"] == "1":
76567
 
76910
 
76568
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
76911
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 76627-76632 index 9b3592566474..9c8984a140d6 100644 Link Here
76627
-    DEFINES["NOMINMAX"] = True
76970
-    DEFINES["NOMINMAX"] = True
76628
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
76971
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
76629
-    DEFINES["PSAPI_VERSION"] = "2"
76972
-    DEFINES["PSAPI_VERSION"] = "2"
76973
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
76630
-    DEFINES["UNICODE"] = True
76974
-    DEFINES["UNICODE"] = True
76631
-    DEFINES["USE_AURA"] = "1"
76975
-    DEFINES["USE_AURA"] = "1"
76632
-    DEFINES["WEBRTC_WIN"] = True
76976
-    DEFINES["WEBRTC_WIN"] = True
Lines 76749-76755 index 9b3592566474..9c8984a140d6 100644 Link Here
76749
 
77093
 
76750
 Library("random_gn")
77094
 Library("random_gn")
76751
diff --git third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build
77095
diff --git third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build
76752
index 969a79b712df..51b27be6a666 100644
77096
index c9bd8fc31625..51b27be6a666 100644
76753
--- third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build
77097
--- third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build
76754
+++ third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build
77098
+++ third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build
76755
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
77099
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 76773-76779 index 969a79b712df..51b27be6a666 100644 Link Here
76773
 
77117
 
76774
 FINAL_LIBRARY = "webrtc"
77118
 FINAL_LIBRARY = "webrtc"
76775
 
77119
 
76776
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
77120
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
76777
 if CONFIG["MOZ_DEBUG"] == "1":
77121
 if CONFIG["MOZ_DEBUG"] == "1":
76778
 
77122
 
76779
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
77123
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 76842-76847 index 969a79b712df..51b27be6a666 100644 Link Here
76842
-    DEFINES["NOMINMAX"] = True
77186
-    DEFINES["NOMINMAX"] = True
76843
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
77187
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
76844
-    DEFINES["PSAPI_VERSION"] = "2"
77188
-    DEFINES["PSAPI_VERSION"] = "2"
77189
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
76845
-    DEFINES["UNICODE"] = True
77190
-    DEFINES["UNICODE"] = True
76846
-    DEFINES["USE_AURA"] = "1"
77191
-    DEFINES["USE_AURA"] = "1"
76847
-    DEFINES["WEBRTC_WIN"] = True
77192
-    DEFINES["WEBRTC_WIN"] = True
Lines 76971-76977 index 969a79b712df..51b27be6a666 100644 Link Here
76971
 
77316
 
76972
 Library("rate_limiter_gn")
77317
 Library("rate_limiter_gn")
76973
diff --git third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build
77318
diff --git third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build
76974
index b40a4fdda662..ec6d4550feef 100644
77319
index 5b7ef1d09da3..ec6d4550feef 100644
76975
--- third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build
77320
--- third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build
76976
+++ third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build
77321
+++ third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build
76977
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
77322
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 76995-77001 index b40a4fdda662..ec6d4550feef 100644 Link Here
76995
 
77340
 
76996
 FINAL_LIBRARY = "webrtc"
77341
 FINAL_LIBRARY = "webrtc"
76997
 
77342
 
76998
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
77343
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
76999
 if CONFIG["MOZ_DEBUG"] == "1":
77344
 if CONFIG["MOZ_DEBUG"] == "1":
77000
 
77345
 
77001
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
77346
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 77060-77065 index b40a4fdda662..ec6d4550feef 100644 Link Here
77060
-    DEFINES["NOMINMAX"] = True
77405
-    DEFINES["NOMINMAX"] = True
77061
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
77406
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
77062
-    DEFINES["PSAPI_VERSION"] = "2"
77407
-    DEFINES["PSAPI_VERSION"] = "2"
77408
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
77063
-    DEFINES["UNICODE"] = True
77409
-    DEFINES["UNICODE"] = True
77064
-    DEFINES["USE_AURA"] = "1"
77410
-    DEFINES["USE_AURA"] = "1"
77065
-    DEFINES["WEBRTC_WIN"] = True
77411
-    DEFINES["WEBRTC_WIN"] = True
Lines 77186-77192 index b40a4fdda662..ec6d4550feef 100644 Link Here
77186
 
77532
 
77187
 Library("rate_statistics_gn")
77533
 Library("rate_statistics_gn")
77188
diff --git third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build
77534
diff --git third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build
77189
index 26f81f4f5ed3..a7abd9b6b0e7 100644
77535
index 7849033fd901..a7abd9b6b0e7 100644
77190
--- third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build
77536
--- third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build
77191
+++ third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build
77537
+++ third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build
77192
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
77538
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 77210-77216 index 26f81f4f5ed3..a7abd9b6b0e7 100644 Link Here
77210
 
77556
 
77211
 FINAL_LIBRARY = "webrtc"
77557
 FINAL_LIBRARY = "webrtc"
77212
 
77558
 
77213
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
77559
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
77214
 if CONFIG["MOZ_DEBUG"] == "1":
77560
 if CONFIG["MOZ_DEBUG"] == "1":
77215
 
77561
 
77216
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
77562
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 77275-77280 index 26f81f4f5ed3..a7abd9b6b0e7 100644 Link Here
77275
-    DEFINES["NOMINMAX"] = True
77621
-    DEFINES["NOMINMAX"] = True
77276
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
77622
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
77277
-    DEFINES["PSAPI_VERSION"] = "2"
77623
-    DEFINES["PSAPI_VERSION"] = "2"
77624
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
77278
-    DEFINES["UNICODE"] = True
77625
-    DEFINES["UNICODE"] = True
77279
-    DEFINES["USE_AURA"] = "1"
77626
-    DEFINES["USE_AURA"] = "1"
77280
-    DEFINES["WEBRTC_WIN"] = True
77627
-    DEFINES["WEBRTC_WIN"] = True
Lines 77401-77407 index 26f81f4f5ed3..a7abd9b6b0e7 100644 Link Here
77401
 
77748
 
77402
 Library("rate_tracker_gn")
77749
 Library("rate_tracker_gn")
77403
diff --git third_party/libwebrtc/rtc_base/refcount_gn/moz.build third_party/libwebrtc/rtc_base/refcount_gn/moz.build
77750
diff --git third_party/libwebrtc/rtc_base/refcount_gn/moz.build third_party/libwebrtc/rtc_base/refcount_gn/moz.build
77404
index f8c49daa900e..091d88e0545b 100644
77751
index 6148636dbf78..091d88e0545b 100644
77405
--- third_party/libwebrtc/rtc_base/refcount_gn/moz.build
77752
--- third_party/libwebrtc/rtc_base/refcount_gn/moz.build
77406
+++ third_party/libwebrtc/rtc_base/refcount_gn/moz.build
77753
+++ third_party/libwebrtc/rtc_base/refcount_gn/moz.build
77407
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
77754
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 77425-77431 index f8c49daa900e..091d88e0545b 100644 Link Here
77425
 
77772
 
77426
 FINAL_LIBRARY = "webrtc"
77773
 FINAL_LIBRARY = "webrtc"
77427
 
77774
 
77428
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
77775
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
77429
 if CONFIG["MOZ_DEBUG"] == "1":
77776
 if CONFIG["MOZ_DEBUG"] == "1":
77430
 
77777
 
77431
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
77778
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 77486-77491 index f8c49daa900e..091d88e0545b 100644 Link Here
77486
-    DEFINES["NOMINMAX"] = True
77833
-    DEFINES["NOMINMAX"] = True
77487
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
77834
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
77488
-    DEFINES["PSAPI_VERSION"] = "2"
77835
-    DEFINES["PSAPI_VERSION"] = "2"
77836
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
77489
-    DEFINES["UNICODE"] = True
77837
-    DEFINES["UNICODE"] = True
77490
-    DEFINES["USE_AURA"] = "1"
77838
-    DEFINES["USE_AURA"] = "1"
77491
-    DEFINES["WEBRTC_WIN"] = True
77839
-    DEFINES["WEBRTC_WIN"] = True
Lines 77530-77536 index f8c49daa900e..091d88e0545b 100644 Link Here
77530
 
77878
 
77531
 if CONFIG["CPU_ARCH"] == "x86":
77879
 if CONFIG["CPU_ARCH"] == "x86":
77532
 
77880
 
77533
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
77881
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
77534
 
77882
 
77535
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
77883
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
77536
 
77884
 
Lines 77590-77596 index f8c49daa900e..091d88e0545b 100644 Link Here
77590
-
77938
-
77591
 Library("refcount_gn")
77939
 Library("refcount_gn")
77592
diff --git third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build
77940
diff --git third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build
77593
index eef6c6bc5d45..f04b9eb51ce7 100644
77941
index dbb5ee27409d..f04b9eb51ce7 100644
77594
--- third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build
77942
--- third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build
77595
+++ third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build
77943
+++ third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build
77596
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
77944
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 77614-77620 index eef6c6bc5d45..f04b9eb51ce7 100644 Link Here
77614
 
77962
 
77615
 FINAL_LIBRARY = "webrtc"
77963
 FINAL_LIBRARY = "webrtc"
77616
 
77964
 
77617
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
77965
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
77618
 if CONFIG["MOZ_DEBUG"] == "1":
77966
 if CONFIG["MOZ_DEBUG"] == "1":
77619
 
77967
 
77620
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
77968
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 77679-77684 index eef6c6bc5d45..f04b9eb51ce7 100644 Link Here
77679
-    DEFINES["NOMINMAX"] = True
78027
-    DEFINES["NOMINMAX"] = True
77680
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
78028
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
77681
-    DEFINES["PSAPI_VERSION"] = "2"
78029
-    DEFINES["PSAPI_VERSION"] = "2"
78030
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
77682
-    DEFINES["UNICODE"] = True
78031
-    DEFINES["UNICODE"] = True
77683
-    DEFINES["USE_AURA"] = "1"
78032
-    DEFINES["USE_AURA"] = "1"
77684
-    DEFINES["WEBRTC_WIN"] = True
78033
-    DEFINES["WEBRTC_WIN"] = True
Lines 77723-77729 index eef6c6bc5d45..f04b9eb51ce7 100644 Link Here
77723
 
78072
 
77724
 if CONFIG["CPU_ARCH"] == "x86":
78073
 if CONFIG["CPU_ARCH"] == "x86":
77725
 
78074
 
77726
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
78075
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
77727
 
78076
 
77728
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
78077
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
77729
 
78078
 
Lines 77783-77789 index eef6c6bc5d45..f04b9eb51ce7 100644 Link Here
77783
-
78132
-
77784
 Library("rolling_accumulator_gn")
78133
 Library("rolling_accumulator_gn")
77785
diff --git third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build
78134
diff --git third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build
77786
index db71c35a1add..d03fb3f4e7c8 100644
78135
index 6fde36031cdc..d03fb3f4e7c8 100644
77787
--- third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build
78136
--- third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build
77788
+++ third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build
78137
+++ third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build
77789
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
78138
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 77807-77813 index db71c35a1add..d03fb3f4e7c8 100644 Link Here
77807
 
78156
 
77808
 FINAL_LIBRARY = "webrtc"
78157
 FINAL_LIBRARY = "webrtc"
77809
 
78158
 
77810
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
78159
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
77811
 if CONFIG["MOZ_DEBUG"] == "1":
78160
 if CONFIG["MOZ_DEBUG"] == "1":
77812
 
78161
 
77813
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
78162
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 77872-77877 index db71c35a1add..d03fb3f4e7c8 100644 Link Here
77872
-    DEFINES["NOMINMAX"] = True
78221
-    DEFINES["NOMINMAX"] = True
77873
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
78222
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
77874
-    DEFINES["PSAPI_VERSION"] = "2"
78223
-    DEFINES["PSAPI_VERSION"] = "2"
78224
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
77875
-    DEFINES["UNICODE"] = True
78225
-    DEFINES["UNICODE"] = True
77876
-    DEFINES["USE_AURA"] = "1"
78226
-    DEFINES["USE_AURA"] = "1"
77877
-    DEFINES["WEBRTC_WIN"] = True
78227
-    DEFINES["WEBRTC_WIN"] = True
Lines 77998-78004 index db71c35a1add..d03fb3f4e7c8 100644 Link Here
77998
 
78348
 
77999
 Library("rtc_event_gn")
78349
 Library("rtc_event_gn")
78000
diff --git third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build
78350
diff --git third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build
78001
index 65d2c5bb2a2b..1b6e8cb951db 100644
78351
index 0a3d3778dd4f..1b6e8cb951db 100644
78002
--- third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build
78352
--- third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build
78003
+++ third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build
78353
+++ third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build
78004
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
78354
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 78022-78028 index 65d2c5bb2a2b..1b6e8cb951db 100644 Link Here
78022
 
78372
 
78023
 FINAL_LIBRARY = "webrtc"
78373
 FINAL_LIBRARY = "webrtc"
78024
 
78374
 
78025
@@ -45,179 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
78375
@@ -45,180 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
78026
 if CONFIG["MOZ_DEBUG"] == "1":
78376
 if CONFIG["MOZ_DEBUG"] == "1":
78027
 
78377
 
78028
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
78378
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 78087-78092 index 65d2c5bb2a2b..1b6e8cb951db 100644 Link Here
78087
-    DEFINES["NOMINMAX"] = True
78437
-    DEFINES["NOMINMAX"] = True
78088
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
78438
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
78089
-    DEFINES["PSAPI_VERSION"] = "2"
78439
-    DEFINES["PSAPI_VERSION"] = "2"
78440
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
78090
-    DEFINES["UNICODE"] = True
78441
-    DEFINES["UNICODE"] = True
78091
-    DEFINES["USE_AURA"] = "1"
78442
-    DEFINES["USE_AURA"] = "1"
78092
-    DEFINES["WEBRTC_WIN"] = True
78443
-    DEFINES["WEBRTC_WIN"] = True
Lines 78209-78215 index 65d2c5bb2a2b..1b6e8cb951db 100644 Link Here
78209
 
78560
 
78210
 Library("rtc_numerics_gn")
78561
 Library("rtc_numerics_gn")
78211
diff --git third_party/libwebrtc/rtc_base/rtc_task_queue_gn/moz.build third_party/libwebrtc/rtc_base/rtc_task_queue_gn/moz.build
78562
diff --git third_party/libwebrtc/rtc_base/rtc_task_queue_gn/moz.build third_party/libwebrtc/rtc_base/rtc_task_queue_gn/moz.build
78212
index ae0702954d53..8e76dcf845cb 100644
78563
index e1bac3e15f00..8e76dcf845cb 100644
78213
--- third_party/libwebrtc/rtc_base/rtc_task_queue_gn/moz.build
78564
--- third_party/libwebrtc/rtc_base/rtc_task_queue_gn/moz.build
78214
+++ third_party/libwebrtc/rtc_base/rtc_task_queue_gn/moz.build
78565
+++ third_party/libwebrtc/rtc_base/rtc_task_queue_gn/moz.build
78215
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
78566
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 78233-78239 index ae0702954d53..8e76dcf845cb 100644 Link Here
78233
 
78584
 
78234
 FINAL_LIBRARY = "webrtc"
78585
 FINAL_LIBRARY = "webrtc"
78235
 
78586
 
78236
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
78587
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
78237
 if CONFIG["MOZ_DEBUG"] == "1":
78588
 if CONFIG["MOZ_DEBUG"] == "1":
78238
 
78589
 
78239
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
78590
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 78298-78303 index ae0702954d53..8e76dcf845cb 100644 Link Here
78298
-    DEFINES["NOMINMAX"] = True
78649
-    DEFINES["NOMINMAX"] = True
78299
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
78650
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
78300
-    DEFINES["PSAPI_VERSION"] = "2"
78651
-    DEFINES["PSAPI_VERSION"] = "2"
78652
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
78301
-    DEFINES["UNICODE"] = True
78653
-    DEFINES["UNICODE"] = True
78302
-    DEFINES["USE_AURA"] = "1"
78654
-    DEFINES["USE_AURA"] = "1"
78303
-    DEFINES["WEBRTC_WIN"] = True
78655
-    DEFINES["WEBRTC_WIN"] = True
Lines 78420-78426 index ae0702954d53..8e76dcf845cb 100644 Link Here
78420
 
78772
 
78421
 Library("rtc_task_queue_gn")
78773
 Library("rtc_task_queue_gn")
78422
diff --git third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build
78774
diff --git third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build
78423
index 706eb51c9788..5dba9b3a8401 100644
78775
index 449c108dd12f..5dba9b3a8401 100644
78424
--- third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build
78776
--- third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build
78425
+++ third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build
78777
+++ third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build
78426
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
78778
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 78444-78450 index 706eb51c9788..5dba9b3a8401 100644 Link Here
78444
 
78796
 
78445
 FINAL_LIBRARY = "webrtc"
78797
 FINAL_LIBRARY = "webrtc"
78446
 
78798
 
78447
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
78799
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
78448
 if CONFIG["MOZ_DEBUG"] == "1":
78800
 if CONFIG["MOZ_DEBUG"] == "1":
78449
 
78801
 
78450
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
78802
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 78505-78510 index 706eb51c9788..5dba9b3a8401 100644 Link Here
78505
-    DEFINES["NOMINMAX"] = True
78857
-    DEFINES["NOMINMAX"] = True
78506
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
78858
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
78507
-    DEFINES["PSAPI_VERSION"] = "2"
78859
-    DEFINES["PSAPI_VERSION"] = "2"
78860
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
78508
-    DEFINES["UNICODE"] = True
78861
-    DEFINES["UNICODE"] = True
78509
-    DEFINES["USE_AURA"] = "1"
78862
-    DEFINES["USE_AURA"] = "1"
78510
-    DEFINES["WEBRTC_WIN"] = True
78863
-    DEFINES["WEBRTC_WIN"] = True
Lines 78549-78555 index 706eb51c9788..5dba9b3a8401 100644 Link Here
78549
 
78902
 
78550
 if CONFIG["CPU_ARCH"] == "x86":
78903
 if CONFIG["CPU_ARCH"] == "x86":
78551
 
78904
 
78552
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
78905
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
78553
 
78906
 
78554
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
78907
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
78555
 
78908
 
Lines 78609-78615 index 706eb51c9788..5dba9b3a8401 100644 Link Here
78609
-
78962
-
78610
 Library("safe_compare_gn")
78963
 Library("safe_compare_gn")
78611
diff --git third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build
78964
diff --git third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build
78612
index 545467bc2319..bc31d2ede82f 100644
78965
index 8466a0ff6381..bc31d2ede82f 100644
78613
--- third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build
78966
--- third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build
78614
+++ third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build
78967
+++ third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build
78615
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
78968
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 78633-78639 index 545467bc2319..bc31d2ede82f 100644 Link Here
78633
 
78986
 
78634
 FINAL_LIBRARY = "webrtc"
78987
 FINAL_LIBRARY = "webrtc"
78635
 
78988
 
78636
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
78989
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
78637
 if CONFIG["MOZ_DEBUG"] == "1":
78990
 if CONFIG["MOZ_DEBUG"] == "1":
78638
 
78991
 
78639
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
78992
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 78698-78703 index 545467bc2319..bc31d2ede82f 100644 Link Here
78698
-    DEFINES["NOMINMAX"] = True
79051
-    DEFINES["NOMINMAX"] = True
78699
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
79052
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
78700
-    DEFINES["PSAPI_VERSION"] = "2"
79053
-    DEFINES["PSAPI_VERSION"] = "2"
79054
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
78701
-    DEFINES["UNICODE"] = True
79055
-    DEFINES["UNICODE"] = True
78702
-    DEFINES["USE_AURA"] = "1"
79056
-    DEFINES["USE_AURA"] = "1"
78703
-    DEFINES["WEBRTC_WIN"] = True
79057
-    DEFINES["WEBRTC_WIN"] = True
Lines 78742-78748 index 545467bc2319..bc31d2ede82f 100644 Link Here
78742
 
79096
 
78743
 if CONFIG["CPU_ARCH"] == "x86":
79097
 if CONFIG["CPU_ARCH"] == "x86":
78744
 
79098
 
78745
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
79099
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
78746
 
79100
 
78747
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
79101
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
78748
 
79102
 
Lines 78802-78808 index 545467bc2319..bc31d2ede82f 100644 Link Here
78802
-
79156
-
78803
 Library("safe_conversions_gn")
79157
 Library("safe_conversions_gn")
78804
diff --git third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build
79158
diff --git third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build
78805
index 51c1b7bacdf8..fb72b6128335 100644
79159
index 5083ad7ece3c..fb72b6128335 100644
78806
--- third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build
79160
--- third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build
78807
+++ third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build
79161
+++ third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build
78808
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
79162
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 78826-78832 index 51c1b7bacdf8..fb72b6128335 100644 Link Here
78826
 
79180
 
78827
 FINAL_LIBRARY = "webrtc"
79181
 FINAL_LIBRARY = "webrtc"
78828
 
79182
 
78829
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
79183
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
78830
 if CONFIG["MOZ_DEBUG"] == "1":
79184
 if CONFIG["MOZ_DEBUG"] == "1":
78831
 
79185
 
78832
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
79186
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 78891-78896 index 51c1b7bacdf8..fb72b6128335 100644 Link Here
78891
-    DEFINES["NOMINMAX"] = True
79245
-    DEFINES["NOMINMAX"] = True
78892
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
79246
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
78893
-    DEFINES["PSAPI_VERSION"] = "2"
79247
-    DEFINES["PSAPI_VERSION"] = "2"
79248
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
78894
-    DEFINES["UNICODE"] = True
79249
-    DEFINES["UNICODE"] = True
78895
-    DEFINES["USE_AURA"] = "1"
79250
-    DEFINES["USE_AURA"] = "1"
78896
-    DEFINES["WEBRTC_WIN"] = True
79251
-    DEFINES["WEBRTC_WIN"] = True
Lines 78935-78941 index 51c1b7bacdf8..fb72b6128335 100644 Link Here
78935
 
79290
 
78936
 if CONFIG["CPU_ARCH"] == "x86":
79291
 if CONFIG["CPU_ARCH"] == "x86":
78937
 
79292
 
78938
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
79293
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
78939
 
79294
 
78940
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
79295
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
78941
 
79296
 
Lines 78995-79001 index 51c1b7bacdf8..fb72b6128335 100644 Link Here
78995
-
79350
-
78996
 Library("safe_minmax_gn")
79351
 Library("safe_minmax_gn")
78997
diff --git third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build
79352
diff --git third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build
78998
index a477e2cd2de2..f8c37e47fe73 100644
79353
index 15aaa60d07e9..f8c37e47fe73 100644
78999
--- third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build
79354
--- third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build
79000
+++ third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build
79355
+++ third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build
79001
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
79356
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 79019-79025 index a477e2cd2de2..f8c37e47fe73 100644 Link Here
79019
 
79374
 
79020
 FINAL_LIBRARY = "webrtc"
79375
 FINAL_LIBRARY = "webrtc"
79021
 
79376
 
79022
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
79377
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
79023
 if CONFIG["MOZ_DEBUG"] == "1":
79378
 if CONFIG["MOZ_DEBUG"] == "1":
79024
 
79379
 
79025
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
79380
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 79084-79089 index a477e2cd2de2..f8c37e47fe73 100644 Link Here
79084
-    DEFINES["NOMINMAX"] = True
79439
-    DEFINES["NOMINMAX"] = True
79085
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
79440
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
79086
-    DEFINES["PSAPI_VERSION"] = "2"
79441
-    DEFINES["PSAPI_VERSION"] = "2"
79442
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
79087
-    DEFINES["UNICODE"] = True
79443
-    DEFINES["UNICODE"] = True
79088
-    DEFINES["USE_AURA"] = "1"
79444
-    DEFINES["USE_AURA"] = "1"
79089
-    DEFINES["WEBRTC_WIN"] = True
79445
-    DEFINES["WEBRTC_WIN"] = True
Lines 79206-79212 index a477e2cd2de2..f8c37e47fe73 100644 Link Here
79206
 
79562
 
79207
 Library("sample_counter_gn")
79563
 Library("sample_counter_gn")
79208
diff --git third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build
79564
diff --git third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build
79209
index efdfb15485e3..d22a78d96416 100644
79565
index 784158853c08..d22a78d96416 100644
79210
--- third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build
79566
--- third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build
79211
+++ third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build
79567
+++ third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build
79212
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
79568
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 79230-79236 index efdfb15485e3..d22a78d96416 100644 Link Here
79230
 
79586
 
79231
 FINAL_LIBRARY = "webrtc"
79587
 FINAL_LIBRARY = "webrtc"
79232
 
79588
 
79233
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
79589
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
79234
 if CONFIG["MOZ_DEBUG"] == "1":
79590
 if CONFIG["MOZ_DEBUG"] == "1":
79235
 
79591
 
79236
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
79592
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 79291-79296 index efdfb15485e3..d22a78d96416 100644 Link Here
79291
-    DEFINES["NOMINMAX"] = True
79647
-    DEFINES["NOMINMAX"] = True
79292
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
79648
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
79293
-    DEFINES["PSAPI_VERSION"] = "2"
79649
-    DEFINES["PSAPI_VERSION"] = "2"
79650
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
79294
-    DEFINES["UNICODE"] = True
79651
-    DEFINES["UNICODE"] = True
79295
-    DEFINES["USE_AURA"] = "1"
79652
-    DEFINES["USE_AURA"] = "1"
79296
-    DEFINES["WEBRTC_WIN"] = True
79653
-    DEFINES["WEBRTC_WIN"] = True
Lines 79335-79341 index efdfb15485e3..d22a78d96416 100644 Link Here
79335
 
79692
 
79336
 if CONFIG["CPU_ARCH"] == "x86":
79693
 if CONFIG["CPU_ARCH"] == "x86":
79337
 
79694
 
79338
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
79695
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
79339
 
79696
 
79340
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
79697
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
79341
 
79698
 
Lines 79395-79401 index efdfb15485e3..d22a78d96416 100644 Link Here
79395
-
79752
-
79396
 Library("sanitizer_gn")
79753
 Library("sanitizer_gn")
79397
diff --git third_party/libwebrtc/rtc_base/socket_address_gn/moz.build third_party/libwebrtc/rtc_base/socket_address_gn/moz.build
79754
diff --git third_party/libwebrtc/rtc_base/socket_address_gn/moz.build third_party/libwebrtc/rtc_base/socket_address_gn/moz.build
79398
index 8315d358e6ec..40ffca5c22d9 100644
79755
index 9afa5cd024e3..40ffca5c22d9 100644
79399
--- third_party/libwebrtc/rtc_base/socket_address_gn/moz.build
79756
--- third_party/libwebrtc/rtc_base/socket_address_gn/moz.build
79400
+++ third_party/libwebrtc/rtc_base/socket_address_gn/moz.build
79757
+++ third_party/libwebrtc/rtc_base/socket_address_gn/moz.build
79401
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
79758
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 79419-79425 index 8315d358e6ec..40ffca5c22d9 100644 Link Here
79419
 
79776
 
79420
 FINAL_LIBRARY = "webrtc"
79777
 FINAL_LIBRARY = "webrtc"
79421
 
79778
 
79422
@@ -43,187 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
79779
@@ -43,188 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
79423
 if CONFIG["MOZ_DEBUG"] == "1":
79780
 if CONFIG["MOZ_DEBUG"] == "1":
79424
 
79781
 
79425
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
79782
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 79485-79490 index 8315d358e6ec..40ffca5c22d9 100644 Link Here
79485
-    DEFINES["NOMINMAX"] = True
79842
-    DEFINES["NOMINMAX"] = True
79486
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
79843
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
79487
-    DEFINES["PSAPI_VERSION"] = "2"
79844
-    DEFINES["PSAPI_VERSION"] = "2"
79845
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
79488
-    DEFINES["UNICODE"] = True
79846
-    DEFINES["UNICODE"] = True
79489
-    DEFINES["USE_AURA"] = "1"
79847
-    DEFINES["USE_AURA"] = "1"
79490
-    DEFINES["WEBRTC_WIN"] = True
79848
-    DEFINES["WEBRTC_WIN"] = True
Lines 79614-79620 index 8315d358e6ec..40ffca5c22d9 100644 Link Here
79614
 
79972
 
79615
 Library("socket_address_gn")
79973
 Library("socket_address_gn")
79616
diff --git third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build
79974
diff --git third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build
79617
index 43a7eff46eba..4ba64ef8e106 100644
79975
index c02dec480dca..4ba64ef8e106 100644
79618
--- third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build
79976
--- third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build
79619
+++ third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build
79977
+++ third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build
79620
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
79978
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 79638-79644 index 43a7eff46eba..4ba64ef8e106 100644 Link Here
79638
 
79996
 
79639
 FINAL_LIBRARY = "webrtc"
79997
 FINAL_LIBRARY = "webrtc"
79640
 
79998
 
79641
@@ -39,115 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
79999
@@ -39,116 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
79642
 if CONFIG["MOZ_DEBUG"] == "1":
80000
 if CONFIG["MOZ_DEBUG"] == "1":
79643
 
80001
 
79644
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
80002
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 79704-79709 index 43a7eff46eba..4ba64ef8e106 100644 Link Here
79704
-    DEFINES["NOMINMAX"] = True
80062
-    DEFINES["NOMINMAX"] = True
79705
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
80063
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
79706
-    DEFINES["PSAPI_VERSION"] = "2"
80064
-    DEFINES["PSAPI_VERSION"] = "2"
80065
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
79707
-    DEFINES["UNICODE"] = True
80066
-    DEFINES["UNICODE"] = True
79708
-    DEFINES["USE_AURA"] = "1"
80067
-    DEFINES["USE_AURA"] = "1"
79709
-    DEFINES["WEBRTC_WIN"] = True
80068
-    DEFINES["WEBRTC_WIN"] = True
Lines 79755-79761 index 43a7eff46eba..4ba64ef8e106 100644 Link Here
79755
 
80114
 
79756
 if CONFIG["CPU_ARCH"] == "x86":
80115
 if CONFIG["CPU_ARCH"] == "x86":
79757
 
80116
 
79758
@@ -157,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
80117
@@ -158,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
79759
 
80118
 
79760
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
80119
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
79761
 
80120
 
Lines 79815-79821 index 43a7eff46eba..4ba64ef8e106 100644 Link Here
79815
-
80174
-
79816
 Library("socket_factory_gn")
80175
 Library("socket_factory_gn")
79817
diff --git third_party/libwebrtc/rtc_base/socket_gn/moz.build third_party/libwebrtc/rtc_base/socket_gn/moz.build
80176
diff --git third_party/libwebrtc/rtc_base/socket_gn/moz.build third_party/libwebrtc/rtc_base/socket_gn/moz.build
79818
index 8fa7b5f8b019..d603411799ed 100644
80177
index 83db68580b5a..d603411799ed 100644
79819
--- third_party/libwebrtc/rtc_base/socket_gn/moz.build
80178
--- third_party/libwebrtc/rtc_base/socket_gn/moz.build
79820
+++ third_party/libwebrtc/rtc_base/socket_gn/moz.build
80179
+++ third_party/libwebrtc/rtc_base/socket_gn/moz.build
79821
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
80180
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 79839-79845 index 8fa7b5f8b019..d603411799ed 100644 Link Here
79839
 
80198
 
79840
 FINAL_LIBRARY = "webrtc"
80199
 FINAL_LIBRARY = "webrtc"
79841
 
80200
 
79842
@@ -43,187 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
80201
@@ -43,188 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
79843
 if CONFIG["MOZ_DEBUG"] == "1":
80202
 if CONFIG["MOZ_DEBUG"] == "1":
79844
 
80203
 
79845
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
80204
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 79905-79910 index 8fa7b5f8b019..d603411799ed 100644 Link Here
79905
-    DEFINES["NOMINMAX"] = True
80264
-    DEFINES["NOMINMAX"] = True
79906
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
80265
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
79907
-    DEFINES["PSAPI_VERSION"] = "2"
80266
-    DEFINES["PSAPI_VERSION"] = "2"
80267
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
79908
-    DEFINES["UNICODE"] = True
80268
-    DEFINES["UNICODE"] = True
79909
-    DEFINES["USE_AURA"] = "1"
80269
-    DEFINES["USE_AURA"] = "1"
79910
-    DEFINES["WEBRTC_WIN"] = True
80270
-    DEFINES["WEBRTC_WIN"] = True
Lines 80034-80040 index 8fa7b5f8b019..d603411799ed 100644 Link Here
80034
 
80394
 
80035
 Library("socket_gn")
80395
 Library("socket_gn")
80036
diff --git third_party/libwebrtc/rtc_base/socket_server_gn/moz.build third_party/libwebrtc/rtc_base/socket_server_gn/moz.build
80396
diff --git third_party/libwebrtc/rtc_base/socket_server_gn/moz.build third_party/libwebrtc/rtc_base/socket_server_gn/moz.build
80037
index 19fae93cf479..8f5896e37a22 100644
80397
index 6320abc39e30..8f5896e37a22 100644
80038
--- third_party/libwebrtc/rtc_base/socket_server_gn/moz.build
80398
--- third_party/libwebrtc/rtc_base/socket_server_gn/moz.build
80039
+++ third_party/libwebrtc/rtc_base/socket_server_gn/moz.build
80399
+++ third_party/libwebrtc/rtc_base/socket_server_gn/moz.build
80040
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
80400
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 80058-80064 index 19fae93cf479..8f5896e37a22 100644 Link Here
80058
 
80418
 
80059
 FINAL_LIBRARY = "webrtc"
80419
 FINAL_LIBRARY = "webrtc"
80060
 
80420
 
80061
@@ -39,115 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
80421
@@ -39,116 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
80062
 if CONFIG["MOZ_DEBUG"] == "1":
80422
 if CONFIG["MOZ_DEBUG"] == "1":
80063
 
80423
 
80064
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
80424
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 80124-80129 index 19fae93cf479..8f5896e37a22 100644 Link Here
80124
-    DEFINES["NOMINMAX"] = True
80484
-    DEFINES["NOMINMAX"] = True
80125
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
80485
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
80126
-    DEFINES["PSAPI_VERSION"] = "2"
80486
-    DEFINES["PSAPI_VERSION"] = "2"
80487
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
80127
-    DEFINES["UNICODE"] = True
80488
-    DEFINES["UNICODE"] = True
80128
-    DEFINES["USE_AURA"] = "1"
80489
-    DEFINES["USE_AURA"] = "1"
80129
-    DEFINES["WEBRTC_WIN"] = True
80490
-    DEFINES["WEBRTC_WIN"] = True
Lines 80175-80181 index 19fae93cf479..8f5896e37a22 100644 Link Here
80175
 
80536
 
80176
 if CONFIG["CPU_ARCH"] == "x86":
80537
 if CONFIG["CPU_ARCH"] == "x86":
80177
 
80538
 
80178
@@ -157,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
80539
@@ -158,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
80179
 
80540
 
80180
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
80541
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
80181
 
80542
 
Lines 80235-80241 index 19fae93cf479..8f5896e37a22 100644 Link Here
80235
-
80596
-
80236
 Library("socket_server_gn")
80597
 Library("socket_server_gn")
80237
diff --git third_party/libwebrtc/rtc_base/ssl_gn/moz.build third_party/libwebrtc/rtc_base/ssl_gn/moz.build
80598
diff --git third_party/libwebrtc/rtc_base/ssl_gn/moz.build third_party/libwebrtc/rtc_base/ssl_gn/moz.build
80238
index 79c9fd515372..ed15371747a9 100644
80599
index 0d572011c191..ed15371747a9 100644
80239
--- third_party/libwebrtc/rtc_base/ssl_gn/moz.build
80600
--- third_party/libwebrtc/rtc_base/ssl_gn/moz.build
80240
+++ third_party/libwebrtc/rtc_base/ssl_gn/moz.build
80601
+++ third_party/libwebrtc/rtc_base/ssl_gn/moz.build
80241
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
80602
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 80259-80265 index 79c9fd515372..ed15371747a9 100644 Link Here
80259
 
80620
 
80260
 FINAL_LIBRARY = "webrtc"
80621
 FINAL_LIBRARY = "webrtc"
80261
 
80622
 
80262
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
80623
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
80263
 if CONFIG["MOZ_DEBUG"] == "1":
80624
 if CONFIG["MOZ_DEBUG"] == "1":
80264
 
80625
 
80265
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
80626
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 80320-80325 index 79c9fd515372..ed15371747a9 100644 Link Here
80320
-    DEFINES["NOMINMAX"] = True
80681
-    DEFINES["NOMINMAX"] = True
80321
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
80682
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
80322
-    DEFINES["PSAPI_VERSION"] = "2"
80683
-    DEFINES["PSAPI_VERSION"] = "2"
80684
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
80323
-    DEFINES["UNICODE"] = True
80685
-    DEFINES["UNICODE"] = True
80324
-    DEFINES["USE_AURA"] = "1"
80686
-    DEFINES["USE_AURA"] = "1"
80325
-    DEFINES["WEBRTC_WIN"] = True
80687
-    DEFINES["WEBRTC_WIN"] = True
Lines 80364-80370 index 79c9fd515372..ed15371747a9 100644 Link Here
80364
 
80726
 
80365
 if CONFIG["CPU_ARCH"] == "x86":
80727
 if CONFIG["CPU_ARCH"] == "x86":
80366
 
80728
 
80367
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
80729
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
80368
 
80730
 
80369
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
80731
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
80370
 
80732
 
Lines 80424-80430 index 79c9fd515372..ed15371747a9 100644 Link Here
80424
-
80786
-
80425
 Library("ssl_gn")
80787
 Library("ssl_gn")
80426
diff --git third_party/libwebrtc/rtc_base/stringutils_gn/moz.build third_party/libwebrtc/rtc_base/stringutils_gn/moz.build
80788
diff --git third_party/libwebrtc/rtc_base/stringutils_gn/moz.build third_party/libwebrtc/rtc_base/stringutils_gn/moz.build
80427
index c2ae423ea9b5..a65888b3d464 100644
80789
index a3fa39370208..a65888b3d464 100644
80428
--- third_party/libwebrtc/rtc_base/stringutils_gn/moz.build
80790
--- third_party/libwebrtc/rtc_base/stringutils_gn/moz.build
80429
+++ third_party/libwebrtc/rtc_base/stringutils_gn/moz.build
80791
+++ third_party/libwebrtc/rtc_base/stringutils_gn/moz.build
80430
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
80792
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 80448-80454 index c2ae423ea9b5..a65888b3d464 100644 Link Here
80448
 
80810
 
80449
 FINAL_LIBRARY = "webrtc"
80811
 FINAL_LIBRARY = "webrtc"
80450
 
80812
 
80451
@@ -47,179 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
80813
@@ -47,180 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
80452
 if CONFIG["MOZ_DEBUG"] == "1":
80814
 if CONFIG["MOZ_DEBUG"] == "1":
80453
 
80815
 
80454
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
80816
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 80513-80518 index c2ae423ea9b5..a65888b3d464 100644 Link Here
80513
-    DEFINES["NOMINMAX"] = True
80875
-    DEFINES["NOMINMAX"] = True
80514
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
80876
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
80515
-    DEFINES["PSAPI_VERSION"] = "2"
80877
-    DEFINES["PSAPI_VERSION"] = "2"
80878
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
80516
-    DEFINES["UNICODE"] = True
80879
-    DEFINES["UNICODE"] = True
80517
-    DEFINES["USE_AURA"] = "1"
80880
-    DEFINES["USE_AURA"] = "1"
80518
-    DEFINES["WEBRTC_WIN"] = True
80881
-    DEFINES["WEBRTC_WIN"] = True
Lines 80635-80641 index c2ae423ea9b5..a65888b3d464 100644 Link Here
80635
 
80998
 
80636
 Library("stringutils_gn")
80999
 Library("stringutils_gn")
80637
diff --git third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build
81000
diff --git third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build
80638
index 630648f5f5fa..2863ba28d144 100644
81001
index d1c309fba660..2863ba28d144 100644
80639
--- third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build
81002
--- third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build
80640
+++ third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build
81003
+++ third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build
80641
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
81004
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 80659-80665 index 630648f5f5fa..2863ba28d144 100644 Link Here
80659
 
81022
 
80660
 FINAL_LIBRARY = "webrtc"
81023
 FINAL_LIBRARY = "webrtc"
80661
 
81024
 
80662
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
81025
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
80663
 if CONFIG["MOZ_DEBUG"] == "1":
81026
 if CONFIG["MOZ_DEBUG"] == "1":
80664
 
81027
 
80665
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
81028
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 80724-80729 index 630648f5f5fa..2863ba28d144 100644 Link Here
80724
-    DEFINES["NOMINMAX"] = True
81087
-    DEFINES["NOMINMAX"] = True
80725
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
81088
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
80726
-    DEFINES["PSAPI_VERSION"] = "2"
81089
-    DEFINES["PSAPI_VERSION"] = "2"
81090
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
80727
-    DEFINES["UNICODE"] = True
81091
-    DEFINES["UNICODE"] = True
80728
-    DEFINES["USE_AURA"] = "1"
81092
-    DEFINES["USE_AURA"] = "1"
80729
-    DEFINES["WEBRTC_WIN"] = True
81093
-    DEFINES["WEBRTC_WIN"] = True
Lines 80768-80774 index 630648f5f5fa..2863ba28d144 100644 Link Here
80768
 
81132
 
80769
 if CONFIG["CPU_ARCH"] == "x86":
81133
 if CONFIG["CPU_ARCH"] == "x86":
80770
 
81134
 
80771
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
81135
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
80772
 
81136
 
80773
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
81137
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
80774
 
81138
 
Lines 80828-80834 index 630648f5f5fa..2863ba28d144 100644 Link Here
80828
-
81192
-
80829
 Library("swap_queue_gn")
81193
 Library("swap_queue_gn")
80830
diff --git third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build
81194
diff --git third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build
80831
index 34792dc4327c..fc8b3b58110e 100644
81195
index 0ce4ad614ff5..fc8b3b58110e 100644
80832
--- third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build
81196
--- third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build
80833
+++ third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build
81197
+++ third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build
80834
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
81198
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 80852-80858 index 34792dc4327c..fc8b3b58110e 100644 Link Here
80852
 
81216
 
80853
 FINAL_LIBRARY = "webrtc"
81217
 FINAL_LIBRARY = "webrtc"
80854
 
81218
 
80855
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
81219
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
80856
 if CONFIG["MOZ_DEBUG"] == "1":
81220
 if CONFIG["MOZ_DEBUG"] == "1":
80857
 
81221
 
80858
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
81222
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 80917-80922 index 34792dc4327c..fc8b3b58110e 100644 Link Here
80917
-    DEFINES["NOMINMAX"] = True
81281
-    DEFINES["NOMINMAX"] = True
80918
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
81282
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
80919
-    DEFINES["PSAPI_VERSION"] = "2"
81283
-    DEFINES["PSAPI_VERSION"] = "2"
81284
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
80920
-    DEFINES["UNICODE"] = True
81285
-    DEFINES["UNICODE"] = True
80921
-    DEFINES["USE_AURA"] = "1"
81286
-    DEFINES["USE_AURA"] = "1"
80922
-    DEFINES["WEBRTC_WIN"] = True
81287
-    DEFINES["WEBRTC_WIN"] = True
Lines 80961-80967 index 34792dc4327c..fc8b3b58110e 100644 Link Here
80961
 
81326
 
80962
 if CONFIG["CPU_ARCH"] == "x86":
81327
 if CONFIG["CPU_ARCH"] == "x86":
80963
 
81328
 
80964
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
81329
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
80965
 
81330
 
80966
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
81331
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
80967
 
81332
 
Lines 81021-81027 index 34792dc4327c..fc8b3b58110e 100644 Link Here
81021
-
81386
-
81022
 Library("mutex_gn")
81387
 Library("mutex_gn")
81023
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
81388
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
81024
index 85cf1f73b599..fb8a358b2eaa 100644
81389
index 6905e0e29cdd..fb8a358b2eaa 100644
81025
--- third_party/libwebrtc/rtc_base/synchronization/sequence_checker_internal_gn/moz.build
81390
--- third_party/libwebrtc/rtc_base/synchronization/sequence_checker_internal_gn/moz.build
81026
+++ third_party/libwebrtc/rtc_base/synchronization/sequence_checker_internal_gn/moz.build
81391
+++ third_party/libwebrtc/rtc_base/synchronization/sequence_checker_internal_gn/moz.build
81027
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
81392
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 81045-81051 index 85cf1f73b599..fb8a358b2eaa 100644 Link Here
81045
 
81410
 
81046
 FINAL_LIBRARY = "webrtc"
81411
 FINAL_LIBRARY = "webrtc"
81047
 
81412
 
81048
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
81413
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
81049
 if CONFIG["MOZ_DEBUG"] == "1":
81414
 if CONFIG["MOZ_DEBUG"] == "1":
81050
 
81415
 
81051
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
81416
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 81110-81115 index 85cf1f73b599..fb8a358b2eaa 100644 Link Here
81110
-    DEFINES["NOMINMAX"] = True
81475
-    DEFINES["NOMINMAX"] = True
81111
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
81476
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
81112
-    DEFINES["PSAPI_VERSION"] = "2"
81477
-    DEFINES["PSAPI_VERSION"] = "2"
81478
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
81113
-    DEFINES["UNICODE"] = True
81479
-    DEFINES["UNICODE"] = True
81114
-    DEFINES["USE_AURA"] = "1"
81480
-    DEFINES["USE_AURA"] = "1"
81115
-    DEFINES["WEBRTC_WIN"] = True
81481
-    DEFINES["WEBRTC_WIN"] = True
Lines 81232-81238 index 85cf1f73b599..fb8a358b2eaa 100644 Link Here
81232
 
81598
 
81233
 Library("sequence_checker_internal_gn")
81599
 Library("sequence_checker_internal_gn")
81234
diff --git third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build
81600
diff --git third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build
81235
index 363b084539be..1fe57f535305 100644
81601
index 146d31e18ef0..1fe57f535305 100644
81236
--- third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build
81602
--- third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build
81237
+++ third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build
81603
+++ third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build
81238
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
81604
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 81256-81262 index 363b084539be..1fe57f535305 100644 Link Here
81256
 
81622
 
81257
 FINAL_LIBRARY = "webrtc"
81623
 FINAL_LIBRARY = "webrtc"
81258
 
81624
 
81259
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
81625
@@ -43,176 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
81260
 if CONFIG["MOZ_DEBUG"] == "1":
81626
 if CONFIG["MOZ_DEBUG"] == "1":
81261
 
81627
 
81262
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
81628
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 81317-81322 index 363b084539be..1fe57f535305 100644 Link Here
81317
-    DEFINES["NOMINMAX"] = True
81683
-    DEFINES["NOMINMAX"] = True
81318
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
81684
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
81319
-    DEFINES["PSAPI_VERSION"] = "2"
81685
-    DEFINES["PSAPI_VERSION"] = "2"
81686
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
81320
-    DEFINES["UNICODE"] = True
81687
-    DEFINES["UNICODE"] = True
81321
-    DEFINES["USE_AURA"] = "1"
81688
-    DEFINES["USE_AURA"] = "1"
81322
-    DEFINES["WEBRTC_WIN"] = True
81689
-    DEFINES["WEBRTC_WIN"] = True
Lines 81439-81445 index 363b084539be..1fe57f535305 100644 Link Here
81439
 
81806
 
81440
 Library("yield_gn")
81807
 Library("yield_gn")
81441
diff --git third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build
81808
diff --git third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build
81442
index 9356f30910a3..edfb4475bbd2 100644
81809
index edb383fcc420..edfb4475bbd2 100644
81443
--- third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build
81810
--- third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build
81444
+++ third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build
81811
+++ third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build
81445
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
81812
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 81463-81469 index 9356f30910a3..edfb4475bbd2 100644 Link Here
81463
 
81830
 
81464
 FINAL_LIBRARY = "webrtc"
81831
 FINAL_LIBRARY = "webrtc"
81465
 
81832
 
81466
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
81833
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
81467
 if CONFIG["MOZ_DEBUG"] == "1":
81834
 if CONFIG["MOZ_DEBUG"] == "1":
81468
 
81835
 
81469
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
81836
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 81528-81533 index 9356f30910a3..edfb4475bbd2 100644 Link Here
81528
-    DEFINES["NOMINMAX"] = True
81895
-    DEFINES["NOMINMAX"] = True
81529
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
81896
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
81530
-    DEFINES["PSAPI_VERSION"] = "2"
81897
-    DEFINES["PSAPI_VERSION"] = "2"
81898
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
81531
-    DEFINES["UNICODE"] = True
81899
-    DEFINES["UNICODE"] = True
81532
-    DEFINES["USE_AURA"] = "1"
81900
-    DEFINES["USE_AURA"] = "1"
81533
-    DEFINES["WEBRTC_WIN"] = True
81901
-    DEFINES["WEBRTC_WIN"] = True
Lines 81650-81656 index 9356f30910a3..edfb4475bbd2 100644 Link Here
81650
 
82018
 
81651
 Library("yield_policy_gn")
82019
 Library("yield_policy_gn")
81652
diff --git third_party/libwebrtc/rtc_base/system/arch_gn/moz.build third_party/libwebrtc/rtc_base/system/arch_gn/moz.build
82020
diff --git third_party/libwebrtc/rtc_base/system/arch_gn/moz.build third_party/libwebrtc/rtc_base/system/arch_gn/moz.build
81653
index 4f8f93c154e2..a836f5db63f0 100644
82021
index fea742e2cf62..a836f5db63f0 100644
81654
--- third_party/libwebrtc/rtc_base/system/arch_gn/moz.build
82022
--- third_party/libwebrtc/rtc_base/system/arch_gn/moz.build
81655
+++ third_party/libwebrtc/rtc_base/system/arch_gn/moz.build
82023
+++ third_party/libwebrtc/rtc_base/system/arch_gn/moz.build
81656
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
82024
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 81674-81680 index 4f8f93c154e2..a836f5db63f0 100644 Link Here
81674
 
82042
 
81675
 FINAL_LIBRARY = "webrtc"
82043
 FINAL_LIBRARY = "webrtc"
81676
 
82044
 
81677
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
82045
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
81678
 if CONFIG["MOZ_DEBUG"] == "1":
82046
 if CONFIG["MOZ_DEBUG"] == "1":
81679
 
82047
 
81680
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
82048
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 81735-81740 index 4f8f93c154e2..a836f5db63f0 100644 Link Here
81735
-    DEFINES["NOMINMAX"] = True
82103
-    DEFINES["NOMINMAX"] = True
81736
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
82104
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
81737
-    DEFINES["PSAPI_VERSION"] = "2"
82105
-    DEFINES["PSAPI_VERSION"] = "2"
82106
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
81738
-    DEFINES["UNICODE"] = True
82107
-    DEFINES["UNICODE"] = True
81739
-    DEFINES["USE_AURA"] = "1"
82108
-    DEFINES["USE_AURA"] = "1"
81740
-    DEFINES["WEBRTC_WIN"] = True
82109
-    DEFINES["WEBRTC_WIN"] = True
Lines 81779-81785 index 4f8f93c154e2..a836f5db63f0 100644 Link Here
81779
 
82148
 
81780
 if CONFIG["CPU_ARCH"] == "x86":
82149
 if CONFIG["CPU_ARCH"] == "x86":
81781
 
82150
 
81782
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
82151
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
81783
 
82152
 
81784
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
82153
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
81785
 
82154
 
Lines 81998-82004 index f897cf46fc39..000000000000 Link Here
81998
-
82367
-
81999
-Library("cocoa_threading_gn")
82368
-Library("cocoa_threading_gn")
82000
diff --git third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build
82369
diff --git third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build
82001
index 9954e2772e10..7cc6dfb3b3a6 100644
82370
index 3aab8075e24b..7cc6dfb3b3a6 100644
82002
--- third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build
82371
--- third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build
82003
+++ third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build
82372
+++ third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build
82004
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
82373
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 82022-82028 index 9954e2772e10..7cc6dfb3b3a6 100644 Link Here
82022
 
82391
 
82023
 FINAL_LIBRARY = "webrtc"
82392
 FINAL_LIBRARY = "webrtc"
82024
 
82393
 
82025
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
82394
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
82026
 if CONFIG["MOZ_DEBUG"] == "1":
82395
 if CONFIG["MOZ_DEBUG"] == "1":
82027
 
82396
 
82028
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
82397
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 82087-82092 index 9954e2772e10..7cc6dfb3b3a6 100644 Link Here
82087
-    DEFINES["NOMINMAX"] = True
82456
-    DEFINES["NOMINMAX"] = True
82088
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
82457
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
82089
-    DEFINES["PSAPI_VERSION"] = "2"
82458
-    DEFINES["PSAPI_VERSION"] = "2"
82459
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
82090
-    DEFINES["UNICODE"] = True
82460
-    DEFINES["UNICODE"] = True
82091
-    DEFINES["USE_AURA"] = "1"
82461
-    DEFINES["USE_AURA"] = "1"
82092
-    DEFINES["WEBRTC_WIN"] = True
82462
-    DEFINES["WEBRTC_WIN"] = True
Lines 82282-82288 index 99fbd80dd967..000000000000 Link Here
82282
-
82652
-
82283
-Library("gcd_helpers_gn")
82653
-Library("gcd_helpers_gn")
82284
diff --git third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build
82654
diff --git third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build
82285
index 396d7286299f..ae27ee47b74f 100644
82655
index 5f7d238f17bf..ae27ee47b74f 100644
82286
--- third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build
82656
--- third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build
82287
+++ third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build
82657
+++ third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build
82288
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
82658
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 82306-82312 index 396d7286299f..ae27ee47b74f 100644 Link Here
82306
 
82676
 
82307
 FINAL_LIBRARY = "webrtc"
82677
 FINAL_LIBRARY = "webrtc"
82308
 
82678
 
82309
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
82679
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
82310
 if CONFIG["MOZ_DEBUG"] == "1":
82680
 if CONFIG["MOZ_DEBUG"] == "1":
82311
 
82681
 
82312
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
82682
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 82367-82372 index 396d7286299f..ae27ee47b74f 100644 Link Here
82367
-    DEFINES["NOMINMAX"] = True
82737
-    DEFINES["NOMINMAX"] = True
82368
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
82738
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
82369
-    DEFINES["PSAPI_VERSION"] = "2"
82739
-    DEFINES["PSAPI_VERSION"] = "2"
82740
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
82370
-    DEFINES["UNICODE"] = True
82741
-    DEFINES["UNICODE"] = True
82371
-    DEFINES["USE_AURA"] = "1"
82742
-    DEFINES["USE_AURA"] = "1"
82372
-    DEFINES["WEBRTC_WIN"] = True
82743
-    DEFINES["WEBRTC_WIN"] = True
Lines 82411-82417 index 396d7286299f..ae27ee47b74f 100644 Link Here
82411
 
82782
 
82412
 if CONFIG["CPU_ARCH"] == "x86":
82783
 if CONFIG["CPU_ARCH"] == "x86":
82413
 
82784
 
82414
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
82785
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
82415
 
82786
 
82416
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
82787
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
82417
 
82788
 
Lines 82471-82477 index 396d7286299f..ae27ee47b74f 100644 Link Here
82471
-
82842
-
82472
 Library("ignore_warnings_gn")
82843
 Library("ignore_warnings_gn")
82473
diff --git third_party/libwebrtc/rtc_base/system/inline_gn/moz.build third_party/libwebrtc/rtc_base/system/inline_gn/moz.build
82844
diff --git third_party/libwebrtc/rtc_base/system/inline_gn/moz.build third_party/libwebrtc/rtc_base/system/inline_gn/moz.build
82474
index 110c04a6be19..47a6efea00c5 100644
82845
index bd94bfe087b2..47a6efea00c5 100644
82475
--- third_party/libwebrtc/rtc_base/system/inline_gn/moz.build
82846
--- third_party/libwebrtc/rtc_base/system/inline_gn/moz.build
82476
+++ third_party/libwebrtc/rtc_base/system/inline_gn/moz.build
82847
+++ third_party/libwebrtc/rtc_base/system/inline_gn/moz.build
82477
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
82848
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 82495-82501 index 110c04a6be19..47a6efea00c5 100644 Link Here
82495
 
82866
 
82496
 FINAL_LIBRARY = "webrtc"
82867
 FINAL_LIBRARY = "webrtc"
82497
 
82868
 
82498
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
82869
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
82499
 if CONFIG["MOZ_DEBUG"] == "1":
82870
 if CONFIG["MOZ_DEBUG"] == "1":
82500
 
82871
 
82501
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
82872
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 82556-82561 index 110c04a6be19..47a6efea00c5 100644 Link Here
82556
-    DEFINES["NOMINMAX"] = True
82927
-    DEFINES["NOMINMAX"] = True
82557
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
82928
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
82558
-    DEFINES["PSAPI_VERSION"] = "2"
82929
-    DEFINES["PSAPI_VERSION"] = "2"
82930
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
82559
-    DEFINES["UNICODE"] = True
82931
-    DEFINES["UNICODE"] = True
82560
-    DEFINES["USE_AURA"] = "1"
82932
-    DEFINES["USE_AURA"] = "1"
82561
-    DEFINES["WEBRTC_WIN"] = True
82933
-    DEFINES["WEBRTC_WIN"] = True
Lines 82600-82606 index 110c04a6be19..47a6efea00c5 100644 Link Here
82600
 
82972
 
82601
 if CONFIG["CPU_ARCH"] == "x86":
82973
 if CONFIG["CPU_ARCH"] == "x86":
82602
 
82974
 
82603
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
82975
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
82604
 
82976
 
82605
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
82977
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
82606
 
82978
 
Lines 82660-82666 index 110c04a6be19..47a6efea00c5 100644 Link Here
82660
-
83032
-
82661
 Library("inline_gn")
83033
 Library("inline_gn")
82662
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
83034
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
82663
index bbf86f67bb61..8b4b89ce8c24 100644
83035
index 5d348b9cc930..8b4b89ce8c24 100644
82664
--- third_party/libwebrtc/rtc_base/system/no_unique_address_gn/moz.build
83036
--- third_party/libwebrtc/rtc_base/system/no_unique_address_gn/moz.build
82665
+++ third_party/libwebrtc/rtc_base/system/no_unique_address_gn/moz.build
83037
+++ third_party/libwebrtc/rtc_base/system/no_unique_address_gn/moz.build
82666
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
83038
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 82684-82690 index bbf86f67bb61..8b4b89ce8c24 100644 Link Here
82684
 
83056
 
82685
 FINAL_LIBRARY = "webrtc"
83057
 FINAL_LIBRARY = "webrtc"
82686
 
83058
 
82687
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
83059
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
82688
 if CONFIG["MOZ_DEBUG"] == "1":
83060
 if CONFIG["MOZ_DEBUG"] == "1":
82689
 
83061
 
82690
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
83062
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 82745-82750 index bbf86f67bb61..8b4b89ce8c24 100644 Link Here
82745
-    DEFINES["NOMINMAX"] = True
83117
-    DEFINES["NOMINMAX"] = True
82746
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
83118
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
82747
-    DEFINES["PSAPI_VERSION"] = "2"
83119
-    DEFINES["PSAPI_VERSION"] = "2"
83120
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
82748
-    DEFINES["UNICODE"] = True
83121
-    DEFINES["UNICODE"] = True
82749
-    DEFINES["USE_AURA"] = "1"
83122
-    DEFINES["USE_AURA"] = "1"
82750
-    DEFINES["WEBRTC_WIN"] = True
83123
-    DEFINES["WEBRTC_WIN"] = True
Lines 82789-82795 index bbf86f67bb61..8b4b89ce8c24 100644 Link Here
82789
 
83162
 
82790
 if CONFIG["CPU_ARCH"] == "x86":
83163
 if CONFIG["CPU_ARCH"] == "x86":
82791
 
83164
 
82792
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
83165
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
82793
 
83166
 
82794
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
83167
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
82795
 
83168
 
Lines 82849-82855 index bbf86f67bb61..8b4b89ce8c24 100644 Link Here
82849
-
83222
-
82850
 Library("no_unique_address_gn")
83223
 Library("no_unique_address_gn")
82851
diff --git third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build
83224
diff --git third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build
82852
index a26fbd0aecc7..7773038a2267 100644
83225
index 067363ace2be..7773038a2267 100644
82853
--- third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build
83226
--- third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build
82854
+++ third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build
83227
+++ third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build
82855
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
83228
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 82873-82879 index a26fbd0aecc7..7773038a2267 100644 Link Here
82873
 
83246
 
82874
 FINAL_LIBRARY = "webrtc"
83247
 FINAL_LIBRARY = "webrtc"
82875
 
83248
 
82876
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
83249
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
82877
 if CONFIG["MOZ_DEBUG"] == "1":
83250
 if CONFIG["MOZ_DEBUG"] == "1":
82878
 
83251
 
82879
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
83252
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 82934-82939 index a26fbd0aecc7..7773038a2267 100644 Link Here
82934
-    DEFINES["NOMINMAX"] = True
83307
-    DEFINES["NOMINMAX"] = True
82935
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
83308
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
82936
-    DEFINES["PSAPI_VERSION"] = "2"
83309
-    DEFINES["PSAPI_VERSION"] = "2"
83310
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
82937
-    DEFINES["UNICODE"] = True
83311
-    DEFINES["UNICODE"] = True
82938
-    DEFINES["USE_AURA"] = "1"
83312
-    DEFINES["USE_AURA"] = "1"
82939
-    DEFINES["WEBRTC_WIN"] = True
83313
-    DEFINES["WEBRTC_WIN"] = True
Lines 82978-82984 index a26fbd0aecc7..7773038a2267 100644 Link Here
82978
 
83352
 
82979
 if CONFIG["CPU_ARCH"] == "x86":
83353
 if CONFIG["CPU_ARCH"] == "x86":
82980
 
83354
 
82981
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
83355
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
82982
 
83356
 
82983
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
83357
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
82984
 
83358
 
Lines 83038-83044 index a26fbd0aecc7..7773038a2267 100644 Link Here
83038
-
83412
-
83039
 Library("rtc_export_gn")
83413
 Library("rtc_export_gn")
83040
diff --git third_party/libwebrtc/rtc_base/system/unused_gn/moz.build third_party/libwebrtc/rtc_base/system/unused_gn/moz.build
83414
diff --git third_party/libwebrtc/rtc_base/system/unused_gn/moz.build third_party/libwebrtc/rtc_base/system/unused_gn/moz.build
83041
index c53e1ab3ba55..3c5c6131f5b6 100644
83415
index 256ebc77b2a8..3c5c6131f5b6 100644
83042
--- third_party/libwebrtc/rtc_base/system/unused_gn/moz.build
83416
--- third_party/libwebrtc/rtc_base/system/unused_gn/moz.build
83043
+++ third_party/libwebrtc/rtc_base/system/unused_gn/moz.build
83417
+++ third_party/libwebrtc/rtc_base/system/unused_gn/moz.build
83044
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
83418
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 83062-83068 index c53e1ab3ba55..3c5c6131f5b6 100644 Link Here
83062
 
83436
 
83063
 FINAL_LIBRARY = "webrtc"
83437
 FINAL_LIBRARY = "webrtc"
83064
 
83438
 
83065
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
83439
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
83066
 if CONFIG["MOZ_DEBUG"] == "1":
83440
 if CONFIG["MOZ_DEBUG"] == "1":
83067
 
83441
 
83068
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
83442
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 83123-83128 index c53e1ab3ba55..3c5c6131f5b6 100644 Link Here
83123
-    DEFINES["NOMINMAX"] = True
83497
-    DEFINES["NOMINMAX"] = True
83124
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
83498
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
83125
-    DEFINES["PSAPI_VERSION"] = "2"
83499
-    DEFINES["PSAPI_VERSION"] = "2"
83500
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
83126
-    DEFINES["UNICODE"] = True
83501
-    DEFINES["UNICODE"] = True
83127
-    DEFINES["USE_AURA"] = "1"
83502
-    DEFINES["USE_AURA"] = "1"
83128
-    DEFINES["WEBRTC_WIN"] = True
83503
-    DEFINES["WEBRTC_WIN"] = True
Lines 83167-83173 index c53e1ab3ba55..3c5c6131f5b6 100644 Link Here
83167
 
83542
 
83168
 if CONFIG["CPU_ARCH"] == "x86":
83543
 if CONFIG["CPU_ARCH"] == "x86":
83169
 
83544
 
83170
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
83545
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
83171
 
83546
 
83172
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
83547
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
83173
 
83548
 
Lines 83227-83233 index c53e1ab3ba55..3c5c6131f5b6 100644 Link Here
83227
-
83602
-
83228
 Library("unused_gn")
83603
 Library("unused_gn")
83229
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
83604
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
83230
index 6d5043ae77f0..68764f971a8c 100644
83605
index 9f73b17c3b09..68764f971a8c 100644
83231
--- third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build
83606
--- third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build
83232
+++ third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build
83607
+++ third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build
83233
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
83608
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 83251-83257 index 6d5043ae77f0..68764f971a8c 100644 Link Here
83251
 
83626
 
83252
 FINAL_LIBRARY = "webrtc"
83627
 FINAL_LIBRARY = "webrtc"
83253
 
83628
 
83254
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
83629
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
83255
 if CONFIG["MOZ_DEBUG"] == "1":
83630
 if CONFIG["MOZ_DEBUG"] == "1":
83256
 
83631
 
83257
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
83632
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 83312-83317 index 6d5043ae77f0..68764f971a8c 100644 Link Here
83312
-    DEFINES["NOMINMAX"] = True
83687
-    DEFINES["NOMINMAX"] = True
83313
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
83688
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
83314
-    DEFINES["PSAPI_VERSION"] = "2"
83689
-    DEFINES["PSAPI_VERSION"] = "2"
83690
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
83315
-    DEFINES["UNICODE"] = True
83691
-    DEFINES["UNICODE"] = True
83316
-    DEFINES["USE_AURA"] = "1"
83692
-    DEFINES["USE_AURA"] = "1"
83317
-    DEFINES["WEBRTC_WIN"] = True
83693
-    DEFINES["WEBRTC_WIN"] = True
Lines 83356-83362 index 6d5043ae77f0..68764f971a8c 100644 Link Here
83356
 
83732
 
83357
 if CONFIG["CPU_ARCH"] == "x86":
83733
 if CONFIG["CPU_ARCH"] == "x86":
83358
 
83734
 
83359
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
83735
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
83360
 
83736
 
83361
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
83737
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
83362
 
83738
 
Lines 83416-83422 index 6d5043ae77f0..68764f971a8c 100644 Link Here
83416
-
83792
-
83417
 Library("warn_current_thread_is_deadlocked_gn")
83793
 Library("warn_current_thread_is_deadlocked_gn")
83418
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
83794
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
83419
index 8aecd5889008..677563f0eafb 100644
83795
index e4598ce419da..677563f0eafb 100644
83420
--- third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build
83796
--- third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build
83421
+++ third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build
83797
+++ third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build
83422
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
83798
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 83440-83446 index 8aecd5889008..677563f0eafb 100644 Link Here
83440
 
83816
 
83441
 FINAL_LIBRARY = "webrtc"
83817
 FINAL_LIBRARY = "webrtc"
83442
 
83818
 
83443
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
83819
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
83444
 if CONFIG["MOZ_DEBUG"] == "1":
83820
 if CONFIG["MOZ_DEBUG"] == "1":
83445
 
83821
 
83446
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
83822
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 83509-83514 index 8aecd5889008..677563f0eafb 100644 Link Here
83509
-    DEFINES["NOMINMAX"] = True
83885
-    DEFINES["NOMINMAX"] = True
83510
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
83886
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
83511
-    DEFINES["PSAPI_VERSION"] = "2"
83887
-    DEFINES["PSAPI_VERSION"] = "2"
83888
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
83512
-    DEFINES["UNICODE"] = True
83889
-    DEFINES["UNICODE"] = True
83513
-    DEFINES["USE_AURA"] = "1"
83890
-    DEFINES["USE_AURA"] = "1"
83514
-    DEFINES["WEBRTC_WIN"] = True
83891
-    DEFINES["WEBRTC_WIN"] = True
Lines 83638-83644 index 8aecd5889008..677563f0eafb 100644 Link Here
83638
 
84015
 
83639
 Library("repeating_task_gn")
84016
 Library("repeating_task_gn")
83640
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
84017
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
83641
index 6077e21b3779..af27c83c7e93 100644
84018
index 92adac14647c..af27c83c7e93 100644
83642
--- third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build
84019
--- third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build
83643
+++ third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build
84020
+++ third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build
83644
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
84021
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 83662-83668 index 6077e21b3779..af27c83c7e93 100644 Link Here
83662
 
84039
 
83663
 FINAL_LIBRARY = "webrtc"
84040
 FINAL_LIBRARY = "webrtc"
83664
 
84041
 
83665
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
84042
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
83666
 if CONFIG["MOZ_DEBUG"] == "1":
84043
 if CONFIG["MOZ_DEBUG"] == "1":
83667
 
84044
 
83668
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
84045
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 83727-83732 index 6077e21b3779..af27c83c7e93 100644 Link Here
83727
-    DEFINES["NOMINMAX"] = True
84104
-    DEFINES["NOMINMAX"] = True
83728
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
84105
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
83729
-    DEFINES["PSAPI_VERSION"] = "2"
84106
-    DEFINES["PSAPI_VERSION"] = "2"
84107
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
83730
-    DEFINES["UNICODE"] = True
84108
-    DEFINES["UNICODE"] = True
83731
-    DEFINES["USE_AURA"] = "1"
84109
-    DEFINES["USE_AURA"] = "1"
83732
-    DEFINES["WEBRTC_WIN"] = True
84110
-    DEFINES["WEBRTC_WIN"] = True
Lines 83849-83855 index 6077e21b3779..af27c83c7e93 100644 Link Here
83849
 
84227
 
83850
 Library("base64_gn")
84228
 Library("base64_gn")
83851
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
84229
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
83852
index 3f4690993100..c78bc1de22c4 100644
84230
index 4fdf4e2c69c8..c78bc1de22c4 100644
83853
--- third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build
84231
--- third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build
83854
+++ third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build
84232
+++ third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build
83855
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
84233
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 83873-83879 index 3f4690993100..c78bc1de22c4 100644 Link Here
83873
 
84251
 
83874
 FINAL_LIBRARY = "webrtc"
84252
 FINAL_LIBRARY = "webrtc"
83875
 
84253
 
83876
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
84254
@@ -43,176 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
83877
 if CONFIG["MOZ_DEBUG"] == "1":
84255
 if CONFIG["MOZ_DEBUG"] == "1":
83878
 
84256
 
83879
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
84257
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 83934-83939 index 3f4690993100..c78bc1de22c4 100644 Link Here
83934
-    DEFINES["NOMINMAX"] = True
84312
-    DEFINES["NOMINMAX"] = True
83935
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
84313
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
83936
-    DEFINES["PSAPI_VERSION"] = "2"
84314
-    DEFINES["PSAPI_VERSION"] = "2"
84315
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
83937
-    DEFINES["UNICODE"] = True
84316
-    DEFINES["UNICODE"] = True
83938
-    DEFINES["USE_AURA"] = "1"
84317
-    DEFINES["USE_AURA"] = "1"
83939
-    DEFINES["WEBRTC_WIN"] = True
84318
-    DEFINES["WEBRTC_WIN"] = True
Lines 84056-84062 index 3f4690993100..c78bc1de22c4 100644 Link Here
84056
 
84435
 
84057
 Library("sigslot_gn")
84436
 Library("sigslot_gn")
84058
diff --git third_party/libwebrtc/rtc_base/threading_gn/moz.build third_party/libwebrtc/rtc_base/threading_gn/moz.build
84437
diff --git third_party/libwebrtc/rtc_base/threading_gn/moz.build third_party/libwebrtc/rtc_base/threading_gn/moz.build
84059
index 39235d88fc45..74684735d856 100644
84438
index e93be2e06273..74684735d856 100644
84060
--- third_party/libwebrtc/rtc_base/threading_gn/moz.build
84439
--- third_party/libwebrtc/rtc_base/threading_gn/moz.build
84061
+++ third_party/libwebrtc/rtc_base/threading_gn/moz.build
84440
+++ third_party/libwebrtc/rtc_base/threading_gn/moz.build
84062
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
84441
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 84080-84086 index 39235d88fc45..74684735d856 100644 Link Here
84080
 
84459
 
84081
 FINAL_LIBRARY = "webrtc"
84460
 FINAL_LIBRARY = "webrtc"
84082
 
84461
 
84083
@@ -48,187 +57,32 @@ if not CONFIG["MOZ_DEBUG"]:
84462
@@ -48,188 +57,32 @@ if not CONFIG["MOZ_DEBUG"]:
84084
 if CONFIG["MOZ_DEBUG"] == "1":
84463
 if CONFIG["MOZ_DEBUG"] == "1":
84085
 
84464
 
84086
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
84465
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 84146-84151 index 39235d88fc45..74684735d856 100644 Link Here
84146
-    DEFINES["NOMINMAX"] = True
84525
-    DEFINES["NOMINMAX"] = True
84147
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
84526
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
84148
-    DEFINES["PSAPI_VERSION"] = "2"
84527
-    DEFINES["PSAPI_VERSION"] = "2"
84528
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
84149
-    DEFINES["UNICODE"] = True
84529
-    DEFINES["UNICODE"] = True
84150
-    DEFINES["USE_AURA"] = "1"
84530
-    DEFINES["USE_AURA"] = "1"
84151
-    DEFINES["WEBRTC_WIN"] = True
84531
-    DEFINES["WEBRTC_WIN"] = True
Lines 84275-84281 index 39235d88fc45..74684735d856 100644 Link Here
84275
 
84655
 
84276
 Library("threading_gn")
84656
 Library("threading_gn")
84277
diff --git third_party/libwebrtc/rtc_base/timeutils_gn/moz.build third_party/libwebrtc/rtc_base/timeutils_gn/moz.build
84657
diff --git third_party/libwebrtc/rtc_base/timeutils_gn/moz.build third_party/libwebrtc/rtc_base/timeutils_gn/moz.build
84278
index 3f184279a3a0..432c438bdad6 100644
84658
index a0ade7c241f5..432c438bdad6 100644
84279
--- third_party/libwebrtc/rtc_base/timeutils_gn/moz.build
84659
--- third_party/libwebrtc/rtc_base/timeutils_gn/moz.build
84280
+++ third_party/libwebrtc/rtc_base/timeutils_gn/moz.build
84660
+++ third_party/libwebrtc/rtc_base/timeutils_gn/moz.build
84281
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
84661
@@ -12,12 +12,21 @@ AllowCompilerWarnings()
Lines 84300-84306 index 3f184279a3a0..432c438bdad6 100644 Link Here
84300
 
84680
 
84301
 FINAL_LIBRARY = "webrtc"
84681
 FINAL_LIBRARY = "webrtc"
84302
 
84682
 
84303
@@ -45,183 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
84683
@@ -45,184 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
84304
 if CONFIG["MOZ_DEBUG"] == "1":
84684
 if CONFIG["MOZ_DEBUG"] == "1":
84305
 
84685
 
84306
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
84686
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 84365-84370 index 3f184279a3a0..432c438bdad6 100644 Link Here
84365
-    DEFINES["NOMINMAX"] = True
84745
-    DEFINES["NOMINMAX"] = True
84366
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
84746
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
84367
-    DEFINES["PSAPI_VERSION"] = "2"
84747
-    DEFINES["PSAPI_VERSION"] = "2"
84748
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
84368
-    DEFINES["UNICODE"] = True
84749
-    DEFINES["UNICODE"] = True
84369
-    DEFINES["USE_AURA"] = "1"
84750
-    DEFINES["USE_AURA"] = "1"
84370
-    DEFINES["WEBRTC_WIN"] = True
84751
-    DEFINES["WEBRTC_WIN"] = True
Lines 84491-84497 index 3f184279a3a0..432c438bdad6 100644 Link Here
84491
 
84872
 
84492
 Library("timeutils_gn")
84873
 Library("timeutils_gn")
84493
diff --git third_party/libwebrtc/rtc_base/type_traits_gn/moz.build third_party/libwebrtc/rtc_base/type_traits_gn/moz.build
84874
diff --git third_party/libwebrtc/rtc_base/type_traits_gn/moz.build third_party/libwebrtc/rtc_base/type_traits_gn/moz.build
84494
index b5c9fb51224c..7ff959ba5f38 100644
84875
index df8f6cdd755a..7ff959ba5f38 100644
84495
--- third_party/libwebrtc/rtc_base/type_traits_gn/moz.build
84876
--- third_party/libwebrtc/rtc_base/type_traits_gn/moz.build
84496
+++ third_party/libwebrtc/rtc_base/type_traits_gn/moz.build
84877
+++ third_party/libwebrtc/rtc_base/type_traits_gn/moz.build
84497
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
84878
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 84515-84521 index b5c9fb51224c..7ff959ba5f38 100644 Link Here
84515
 
84896
 
84516
 FINAL_LIBRARY = "webrtc"
84897
 FINAL_LIBRARY = "webrtc"
84517
 
84898
 
84518
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
84899
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
84519
 if CONFIG["MOZ_DEBUG"] == "1":
84900
 if CONFIG["MOZ_DEBUG"] == "1":
84520
 
84901
 
84521
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
84902
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 84576-84581 index b5c9fb51224c..7ff959ba5f38 100644 Link Here
84576
-    DEFINES["NOMINMAX"] = True
84957
-    DEFINES["NOMINMAX"] = True
84577
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
84958
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
84578
-    DEFINES["PSAPI_VERSION"] = "2"
84959
-    DEFINES["PSAPI_VERSION"] = "2"
84960
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
84579
-    DEFINES["UNICODE"] = True
84961
-    DEFINES["UNICODE"] = True
84580
-    DEFINES["USE_AURA"] = "1"
84962
-    DEFINES["USE_AURA"] = "1"
84581
-    DEFINES["WEBRTC_WIN"] = True
84963
-    DEFINES["WEBRTC_WIN"] = True
Lines 84620-84626 index b5c9fb51224c..7ff959ba5f38 100644 Link Here
84620
 
85002
 
84621
 if CONFIG["CPU_ARCH"] == "x86":
85003
 if CONFIG["CPU_ARCH"] == "x86":
84622
 
85004
 
84623
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
85005
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
84624
 
85006
 
84625
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
85007
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
84626
 
85008
 
Lines 84680-84686 index b5c9fb51224c..7ff959ba5f38 100644 Link Here
84680
-
85062
-
84681
 Library("type_traits_gn")
85063
 Library("type_traits_gn")
84682
diff --git third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build
85064
diff --git third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build
84683
index 4ff4d51c78ea..93be9abd91cd 100644
85065
index b0b9c9c52dd8..93be9abd91cd 100644
84684
--- third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build
85066
--- third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build
84685
+++ third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build
85067
+++ third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build
84686
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
85068
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 84704-84710 index 4ff4d51c78ea..93be9abd91cd 100644 Link Here
84704
 
85086
 
84705
 FINAL_LIBRARY = "webrtc"
85087
 FINAL_LIBRARY = "webrtc"
84706
 
85088
 
84707
@@ -39,103 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
85089
@@ -39,104 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
84708
 if CONFIG["MOZ_DEBUG"] == "1":
85090
 if CONFIG["MOZ_DEBUG"] == "1":
84709
 
85091
 
84710
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
85092
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 84765-84770 index 4ff4d51c78ea..93be9abd91cd 100644 Link Here
84765
-    DEFINES["NOMINMAX"] = True
85147
-    DEFINES["NOMINMAX"] = True
84766
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
85148
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
84767
-    DEFINES["PSAPI_VERSION"] = "2"
85149
-    DEFINES["PSAPI_VERSION"] = "2"
85150
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
84768
-    DEFINES["UNICODE"] = True
85151
-    DEFINES["UNICODE"] = True
84769
-    DEFINES["USE_AURA"] = "1"
85152
-    DEFINES["USE_AURA"] = "1"
84770
-    DEFINES["WEBRTC_WIN"] = True
85153
-    DEFINES["WEBRTC_WIN"] = True
Lines 84809-84815 index 4ff4d51c78ea..93be9abd91cd 100644 Link Here
84809
 
85192
 
84810
 if CONFIG["CPU_ARCH"] == "x86":
85193
 if CONFIG["CPU_ARCH"] == "x86":
84811
 
85194
 
84812
@@ -145,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
85195
@@ -146,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
84813
 
85196
 
84814
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
85197
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
84815
 
85198
 
Lines 84869-84875 index 4ff4d51c78ea..93be9abd91cd 100644 Link Here
84869
-
85252
-
84870
 Library("unique_id_generator_gn")
85253
 Library("unique_id_generator_gn")
84871
diff --git third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build
85254
diff --git third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build
84872
index 35e3af076731..22bf007b975e 100644
85255
index 41be8fc91445..22bf007b975e 100644
84873
--- third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build
85256
--- third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build
84874
+++ third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build
85257
+++ third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build
84875
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
85258
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 84893-84899 index 35e3af076731..22bf007b975e 100644 Link Here
84893
 
85276
 
84894
 FINAL_LIBRARY = "webrtc"
85277
 FINAL_LIBRARY = "webrtc"
84895
 
85278
 
84896
@@ -39,107 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
85279
@@ -39,108 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
84897
 if CONFIG["MOZ_DEBUG"] == "1":
85280
 if CONFIG["MOZ_DEBUG"] == "1":
84898
 
85281
 
84899
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
85282
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 84958-84963 index 35e3af076731..22bf007b975e 100644 Link Here
84958
-    DEFINES["NOMINMAX"] = True
85341
-    DEFINES["NOMINMAX"] = True
84959
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
85342
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
84960
-    DEFINES["PSAPI_VERSION"] = "2"
85343
-    DEFINES["PSAPI_VERSION"] = "2"
85344
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
84961
-    DEFINES["UNICODE"] = True
85345
-    DEFINES["UNICODE"] = True
84962
-    DEFINES["USE_AURA"] = "1"
85346
-    DEFINES["USE_AURA"] = "1"
84963
-    DEFINES["WEBRTC_WIN"] = True
85347
-    DEFINES["WEBRTC_WIN"] = True
Lines 85002-85008 index 35e3af076731..22bf007b975e 100644 Link Here
85002
 
85386
 
85003
 if CONFIG["CPU_ARCH"] == "x86":
85387
 if CONFIG["CPU_ARCH"] == "x86":
85004
 
85388
 
85005
@@ -149,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
85389
@@ -150,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
85006
 
85390
 
85007
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
85391
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
85008
 
85392
 
Lines 85062-85068 index 35e3af076731..22bf007b975e 100644 Link Here
85062
-
85446
-
85063
 Library("unit_base_gn")
85447
 Library("unit_base_gn")
85064
diff --git third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build
85448
diff --git third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build
85065
index 93a833f2a3a7..c1c245b6e62b 100644
85449
index d79f76d8b891..c1c245b6e62b 100644
85066
--- third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build
85450
--- third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build
85067
+++ third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build
85451
+++ third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build
85068
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
85452
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 85086-85092 index 93a833f2a3a7..c1c245b6e62b 100644 Link Here
85086
 
85470
 
85087
 FINAL_LIBRARY = "webrtc"
85471
 FINAL_LIBRARY = "webrtc"
85088
 
85472
 
85089
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
85473
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
85090
 if CONFIG["MOZ_DEBUG"] == "1":
85474
 if CONFIG["MOZ_DEBUG"] == "1":
85091
 
85475
 
85092
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
85476
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 85151-85156 index 93a833f2a3a7..c1c245b6e62b 100644 Link Here
85151
-    DEFINES["NOMINMAX"] = True
85535
-    DEFINES["NOMINMAX"] = True
85152
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
85536
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
85153
-    DEFINES["PSAPI_VERSION"] = "2"
85537
-    DEFINES["PSAPI_VERSION"] = "2"
85538
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
85154
-    DEFINES["UNICODE"] = True
85539
-    DEFINES["UNICODE"] = True
85155
-    DEFINES["USE_AURA"] = "1"
85540
-    DEFINES["USE_AURA"] = "1"
85156
-    DEFINES["WEBRTC_WIN"] = True
85541
-    DEFINES["WEBRTC_WIN"] = True
Lines 85274-85283 index 93a833f2a3a7..c1c245b6e62b 100644 Link Here
85274
 Library("weak_ptr_gn")
85659
 Library("weak_ptr_gn")
85275
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
85660
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
85276
deleted file mode 100644
85661
deleted file mode 100644
85277
index d5882af2bb01..000000000000
85662
index 4c921b77296a..000000000000
85278
--- third_party/libwebrtc/rtc_base/win/create_direct3d_device_gn/moz.build
85663
--- third_party/libwebrtc/rtc_base/win/create_direct3d_device_gn/moz.build
85279
+++ /dev/null
85664
+++ /dev/null
85280
@@ -1,84 +0,0 @@
85665
@@ -1,85 +0,0 @@
85281
-# This Source Code Form is subject to the terms of the Mozilla Public
85666
-# This Source Code Form is subject to the terms of the Mozilla Public
85282
-# License, v. 2.0. If a copy of the MPL was not distributed with this
85667
-# License, v. 2.0. If a copy of the MPL was not distributed with this
85283
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
85668
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
Lines 85296-85301 index d5882af2bb01..000000000000 Link Here
85296
-DEFINES["PSAPI_VERSION"] = "2"
85681
-DEFINES["PSAPI_VERSION"] = "2"
85297
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
85682
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
85298
-DEFINES["RTC_ENABLE_VP9"] = True
85683
-DEFINES["RTC_ENABLE_VP9"] = True
85684
-DEFINES["RTC_ENABLE_WIN_WGC"] = True
85299
-DEFINES["UNICODE"] = True
85685
-DEFINES["UNICODE"] = True
85300
-DEFINES["USE_AURA"] = "1"
85686
-DEFINES["USE_AURA"] = "1"
85301
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
85687
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
Lines 85364-85373 index d5882af2bb01..000000000000 Link Here
85364
-Library("create_direct3d_device_gn")
85750
-Library("create_direct3d_device_gn")
85365
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
85751
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
85366
deleted file mode 100644
85752
deleted file mode 100644
85367
index d2449d9860b7..000000000000
85753
index 28e20e8f8696..000000000000
85368
--- third_party/libwebrtc/rtc_base/win/get_activation_factory_gn/moz.build
85754
--- third_party/libwebrtc/rtc_base/win/get_activation_factory_gn/moz.build
85369
+++ /dev/null
85755
+++ /dev/null
85370
@@ -1,84 +0,0 @@
85756
@@ -1,85 +0,0 @@
85371
-# This Source Code Form is subject to the terms of the Mozilla Public
85757
-# This Source Code Form is subject to the terms of the Mozilla Public
85372
-# License, v. 2.0. If a copy of the MPL was not distributed with this
85758
-# License, v. 2.0. If a copy of the MPL was not distributed with this
85373
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
85759
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
Lines 85386-85391 index d2449d9860b7..000000000000 Link Here
85386
-DEFINES["PSAPI_VERSION"] = "2"
85772
-DEFINES["PSAPI_VERSION"] = "2"
85387
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
85773
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
85388
-DEFINES["RTC_ENABLE_VP9"] = True
85774
-DEFINES["RTC_ENABLE_VP9"] = True
85775
-DEFINES["RTC_ENABLE_WIN_WGC"] = True
85389
-DEFINES["UNICODE"] = True
85776
-DEFINES["UNICODE"] = True
85390
-DEFINES["USE_AURA"] = "1"
85777
-DEFINES["USE_AURA"] = "1"
85391
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
85778
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
Lines 85454-85463 index d2449d9860b7..000000000000 Link Here
85454
-Library("get_activation_factory_gn")
85841
-Library("get_activation_factory_gn")
85455
diff --git third_party/libwebrtc/rtc_base/win/hstring_gn/moz.build third_party/libwebrtc/rtc_base/win/hstring_gn/moz.build
85842
diff --git third_party/libwebrtc/rtc_base/win/hstring_gn/moz.build third_party/libwebrtc/rtc_base/win/hstring_gn/moz.build
85456
deleted file mode 100644
85843
deleted file mode 100644
85457
index 3a495f5b6ca0..000000000000
85844
index d4a0da8201e4..000000000000
85458
--- third_party/libwebrtc/rtc_base/win/hstring_gn/moz.build
85845
--- third_party/libwebrtc/rtc_base/win/hstring_gn/moz.build
85459
+++ /dev/null
85846
+++ /dev/null
85460
@@ -1,84 +0,0 @@
85847
@@ -1,85 +0,0 @@
85461
-# This Source Code Form is subject to the terms of the Mozilla Public
85848
-# This Source Code Form is subject to the terms of the Mozilla Public
85462
-# License, v. 2.0. If a copy of the MPL was not distributed with this
85849
-# License, v. 2.0. If a copy of the MPL was not distributed with this
85463
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
85850
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
Lines 85476-85481 index 3a495f5b6ca0..000000000000 Link Here
85476
-DEFINES["PSAPI_VERSION"] = "2"
85863
-DEFINES["PSAPI_VERSION"] = "2"
85477
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
85864
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
85478
-DEFINES["RTC_ENABLE_VP9"] = True
85865
-DEFINES["RTC_ENABLE_VP9"] = True
85866
-DEFINES["RTC_ENABLE_WIN_WGC"] = True
85479
-DEFINES["UNICODE"] = True
85867
-DEFINES["UNICODE"] = True
85480
-DEFINES["USE_AURA"] = "1"
85868
-DEFINES["USE_AURA"] = "1"
85481
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
85869
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
Lines 85544-85553 index 3a495f5b6ca0..000000000000 Link Here
85544
-Library("hstring_gn")
85932
-Library("hstring_gn")
85545
diff --git third_party/libwebrtc/rtc_base/win/windows_version_gn/moz.build third_party/libwebrtc/rtc_base/win/windows_version_gn/moz.build
85933
diff --git third_party/libwebrtc/rtc_base/win/windows_version_gn/moz.build third_party/libwebrtc/rtc_base/win/windows_version_gn/moz.build
85546
deleted file mode 100644
85934
deleted file mode 100644
85547
index 88dc67ea4893..000000000000
85935
index 759f3f6c7cf7..000000000000
85548
--- third_party/libwebrtc/rtc_base/win/windows_version_gn/moz.build
85936
--- third_party/libwebrtc/rtc_base/win/windows_version_gn/moz.build
85549
+++ /dev/null
85937
+++ /dev/null
85550
@@ -1,84 +0,0 @@
85938
@@ -1,85 +0,0 @@
85551
-# This Source Code Form is subject to the terms of the Mozilla Public
85939
-# This Source Code Form is subject to the terms of the Mozilla Public
85552
-# License, v. 2.0. If a copy of the MPL was not distributed with this
85940
-# License, v. 2.0. If a copy of the MPL was not distributed with this
85553
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
85941
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
Lines 85566-85571 index 88dc67ea4893..000000000000 Link Here
85566
-DEFINES["PSAPI_VERSION"] = "2"
85954
-DEFINES["PSAPI_VERSION"] = "2"
85567
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
85955
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
85568
-DEFINES["RTC_ENABLE_VP9"] = True
85956
-DEFINES["RTC_ENABLE_VP9"] = True
85957
-DEFINES["RTC_ENABLE_WIN_WGC"] = True
85569
-DEFINES["UNICODE"] = True
85958
-DEFINES["UNICODE"] = True
85570
-DEFINES["USE_AURA"] = "1"
85959
-DEFINES["USE_AURA"] = "1"
85571
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
85960
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
Lines 85634-85640 index 88dc67ea4893..000000000000 Link Here
85634
-Library("windows_version_gn")
86023
-Library("windows_version_gn")
85635
diff --git third_party/libwebrtc/rtc_base/win32_gn/moz.build third_party/libwebrtc/rtc_base/win32_gn/moz.build
86024
diff --git third_party/libwebrtc/rtc_base/win32_gn/moz.build third_party/libwebrtc/rtc_base/win32_gn/moz.build
85636
deleted file mode 100644
86025
deleted file mode 100644
85637
index 656bd4014be6..000000000000
86026
index b134f3004ef5..000000000000
85638
--- third_party/libwebrtc/rtc_base/win32_gn/moz.build
86027
--- third_party/libwebrtc/rtc_base/win32_gn/moz.build
85639
+++ /dev/null
86028
+++ /dev/null
85640
@@ -1,93 +0,0 @@
86029
@@ -1,93 +0,0 @@
Lines 85656-85661 index 656bd4014be6..000000000000 Link Here
85656
-DEFINES["PSAPI_VERSION"] = "2"
86045
-DEFINES["PSAPI_VERSION"] = "2"
85657
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
86046
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
85658
-DEFINES["RTC_ENABLE_VP9"] = True
86047
-DEFINES["RTC_ENABLE_VP9"] = True
86048
-DEFINES["RTC_ENABLE_WIN_WGC"] = True
85659
-DEFINES["UNICODE"] = True
86049
-DEFINES["UNICODE"] = True
85660
-DEFINES["USE_AURA"] = "1"
86050
-DEFINES["USE_AURA"] = "1"
85661
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
86051
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
Lines 85702-85709 index 656bd4014be6..000000000000 Link Here
85702
-]
86092
-]
85703
-
86093
-
85704
-UNIFIED_SOURCES += [
86094
-UNIFIED_SOURCES += [
85705
-    "/third_party/libwebrtc/rtc_base/win32.cc",
86095
-    "/third_party/libwebrtc/rtc_base/win32.cc"
85706
-    "/third_party/libwebrtc/rtc_base/win32_window.cc"
85707
-]
86096
-]
85708
-
86097
-
85709
-if not CONFIG["MOZ_DEBUG"]:
86098
-if not CONFIG["MOZ_DEBUG"]:
Lines 85732-85738 index 656bd4014be6..000000000000 Link Here
85732
-
86121
-
85733
-Library("win32_gn")
86122
-Library("win32_gn")
85734
diff --git third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build
86123
diff --git third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build
85735
index b186530b19c6..eaf3581aaff9 100644
86124
index 50a16127870e..eaf3581aaff9 100644
85736
--- third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build
86125
--- third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build
85737
+++ third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build
86126
+++ third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build
85738
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
86127
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 85756-85762 index b186530b19c6..eaf3581aaff9 100644 Link Here
85756
 
86145
 
85757
 FINAL_LIBRARY = "webrtc"
86146
 FINAL_LIBRARY = "webrtc"
85758
 
86147
 
85759
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
86148
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
85760
 if CONFIG["MOZ_DEBUG"] == "1":
86149
 if CONFIG["MOZ_DEBUG"] == "1":
85761
 
86150
 
85762
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
86151
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 85821-85826 index b186530b19c6..eaf3581aaff9 100644 Link Here
85821
-    DEFINES["NOMINMAX"] = True
86210
-    DEFINES["NOMINMAX"] = True
85822
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
86211
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
85823
-    DEFINES["PSAPI_VERSION"] = "2"
86212
-    DEFINES["PSAPI_VERSION"] = "2"
86213
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
85824
-    DEFINES["UNICODE"] = True
86214
-    DEFINES["UNICODE"] = True
85825
-    DEFINES["USE_AURA"] = "1"
86215
-    DEFINES["USE_AURA"] = "1"
85826
-    DEFINES["WEBRTC_WIN"] = True
86216
-    DEFINES["WEBRTC_WIN"] = True
Lines 86264-86270 index dea03fa57466..000000000000 Link Here
86264
-
86654
-
86265
-Library("videoframebuffer_objc_gn")
86655
-Library("videoframebuffer_objc_gn")
86266
diff --git third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build
86656
diff --git third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build
86267
index 10482ec2ea89..064ddd6f7ea0 100644
86657
index 673104d2b95e..064ddd6f7ea0 100644
86268
--- third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build
86658
--- third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build
86269
+++ third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build
86659
+++ third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build
86270
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
86660
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 86288-86294 index 10482ec2ea89..064ddd6f7ea0 100644 Link Here
86288
 
86678
 
86289
 FINAL_LIBRARY = "webrtc"
86679
 FINAL_LIBRARY = "webrtc"
86290
 
86680
 
86291
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
86681
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
86292
 if CONFIG["MOZ_DEBUG"] == "1":
86682
 if CONFIG["MOZ_DEBUG"] == "1":
86293
 
86683
 
86294
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
86684
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 86353-86358 index 10482ec2ea89..064ddd6f7ea0 100644 Link Here
86353
-    DEFINES["NOMINMAX"] = True
86743
-    DEFINES["NOMINMAX"] = True
86354
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
86744
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
86355
-    DEFINES["PSAPI_VERSION"] = "2"
86745
-    DEFINES["PSAPI_VERSION"] = "2"
86746
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
86356
-    DEFINES["UNICODE"] = True
86747
-    DEFINES["UNICODE"] = True
86357
-    DEFINES["USE_AURA"] = "1"
86748
-    DEFINES["USE_AURA"] = "1"
86358
-    DEFINES["WEBRTC_WIN"] = True
86749
-    DEFINES["WEBRTC_WIN"] = True
Lines 86475-86481 index 10482ec2ea89..064ddd6f7ea0 100644 Link Here
86475
 
86866
 
86476
 Library("denormal_disabler_gn")
86867
 Library("denormal_disabler_gn")
86477
diff --git third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build
86868
diff --git third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build
86478
index 9bbb11725944..53f2c83c65cc 100644
86869
index 780a6fdef2f1..53f2c83c65cc 100644
86479
--- third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build
86870
--- third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build
86480
+++ third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build
86871
+++ third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build
86481
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
86872
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 86499-86505 index 9bbb11725944..53f2c83c65cc 100644 Link Here
86499
 
86890
 
86500
 FINAL_LIBRARY = "webrtc"
86891
 FINAL_LIBRARY = "webrtc"
86501
 
86892
 
86502
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
86893
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
86503
 if CONFIG["MOZ_DEBUG"] == "1":
86894
 if CONFIG["MOZ_DEBUG"] == "1":
86504
 
86895
 
86505
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
86896
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 86564-86569 index 9bbb11725944..53f2c83c65cc 100644 Link Here
86564
-    DEFINES["NOMINMAX"] = True
86955
-    DEFINES["NOMINMAX"] = True
86565
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
86956
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
86566
-    DEFINES["PSAPI_VERSION"] = "2"
86957
-    DEFINES["PSAPI_VERSION"] = "2"
86958
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
86567
-    DEFINES["UNICODE"] = True
86959
-    DEFINES["UNICODE"] = True
86568
-    DEFINES["USE_AURA"] = "1"
86960
-    DEFINES["USE_AURA"] = "1"
86569
-    DEFINES["WEBRTC_WIN"] = True
86961
-    DEFINES["WEBRTC_WIN"] = True
Lines 86690-86696 index 9bbb11725944..53f2c83c65cc 100644 Link Here
86690
 
87082
 
86691
 Library("field_trial_gn")
87083
 Library("field_trial_gn")
86692
diff --git third_party/libwebrtc/system_wrappers/metrics_gn/moz.build third_party/libwebrtc/system_wrappers/metrics_gn/moz.build
87084
diff --git third_party/libwebrtc/system_wrappers/metrics_gn/moz.build third_party/libwebrtc/system_wrappers/metrics_gn/moz.build
86693
index b4982671c9fb..a5e24c852a0d 100644
87085
index 5d679baee740..a5e24c852a0d 100644
86694
--- third_party/libwebrtc/system_wrappers/metrics_gn/moz.build
87086
--- third_party/libwebrtc/system_wrappers/metrics_gn/moz.build
86695
+++ third_party/libwebrtc/system_wrappers/metrics_gn/moz.build
87087
+++ third_party/libwebrtc/system_wrappers/metrics_gn/moz.build
86696
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
87088
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 86714-86720 index b4982671c9fb..a5e24c852a0d 100644 Link Here
86714
 
87106
 
86715
 FINAL_LIBRARY = "webrtc"
87107
 FINAL_LIBRARY = "webrtc"
86716
 
87108
 
86717
@@ -43,179 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
87109
@@ -43,180 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
86718
 if CONFIG["MOZ_DEBUG"] == "1":
87110
 if CONFIG["MOZ_DEBUG"] == "1":
86719
 
87111
 
86720
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
87112
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 86779-86784 index b4982671c9fb..a5e24c852a0d 100644 Link Here
86779
-    DEFINES["NOMINMAX"] = True
87171
-    DEFINES["NOMINMAX"] = True
86780
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
87172
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
86781
-    DEFINES["PSAPI_VERSION"] = "2"
87173
-    DEFINES["PSAPI_VERSION"] = "2"
87174
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
86782
-    DEFINES["UNICODE"] = True
87175
-    DEFINES["UNICODE"] = True
86783
-    DEFINES["USE_AURA"] = "1"
87176
-    DEFINES["USE_AURA"] = "1"
86784
-    DEFINES["WEBRTC_WIN"] = True
87177
-    DEFINES["WEBRTC_WIN"] = True
Lines 86901-86907 index b4982671c9fb..a5e24c852a0d 100644 Link Here
86901
 
87294
 
86902
 Library("metrics_gn")
87295
 Library("metrics_gn")
86903
diff --git third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build
87296
diff --git third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build
86904
index bfc6aa12f922..2c316fbc9e0f 100644
87297
index 87073f2fd353..2c316fbc9e0f 100644
86905
--- third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build
87298
--- third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build
86906
+++ third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build
87299
+++ third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build
86907
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
87300
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 86925-86931 index bfc6aa12f922..2c316fbc9e0f 100644 Link Here
86925
 
87318
 
86926
 FINAL_LIBRARY = "webrtc"
87319
 FINAL_LIBRARY = "webrtc"
86927
 
87320
 
86928
@@ -47,200 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
87321
@@ -47,201 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
86929
 if CONFIG["MOZ_DEBUG"] == "1":
87322
 if CONFIG["MOZ_DEBUG"] == "1":
86930
 
87323
 
86931
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
87324
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 87004-87009 index bfc6aa12f922..2c316fbc9e0f 100644 Link Here
87004
-    DEFINES["NOMINMAX"] = True
87397
-    DEFINES["NOMINMAX"] = True
87005
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
87398
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
87006
-    DEFINES["PSAPI_VERSION"] = "2"
87399
-    DEFINES["PSAPI_VERSION"] = "2"
87400
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
87007
-    DEFINES["UNICODE"] = True
87401
-    DEFINES["UNICODE"] = True
87008
-    DEFINES["USE_AURA"] = "1"
87402
-    DEFINES["USE_AURA"] = "1"
87009
-    DEFINES["WEBRTC_WIN"] = True
87403
-    DEFINES["WEBRTC_WIN"] = True
Lines 87133-87139 index bfc6aa12f922..2c316fbc9e0f 100644 Link Here
87133
 
87527
 
87134
 Library("system_wrappers_gn")
87528
 Library("system_wrappers_gn")
87135
diff --git third_party/libwebrtc/test/rtp_test_utils_gn/moz.build third_party/libwebrtc/test/rtp_test_utils_gn/moz.build
87529
diff --git third_party/libwebrtc/test/rtp_test_utils_gn/moz.build third_party/libwebrtc/test/rtp_test_utils_gn/moz.build
87136
index a93c14603d74..c15a9ae02722 100644
87530
index 1cd4c6d56957..c15a9ae02722 100644
87137
--- third_party/libwebrtc/test/rtp_test_utils_gn/moz.build
87531
--- third_party/libwebrtc/test/rtp_test_utils_gn/moz.build
87138
+++ third_party/libwebrtc/test/rtp_test_utils_gn/moz.build
87532
+++ third_party/libwebrtc/test/rtp_test_utils_gn/moz.build
87139
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
87533
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 87157-87163 index a93c14603d74..c15a9ae02722 100644 Link Here
87157
 
87551
 
87158
 FINAL_LIBRARY = "webrtc"
87552
 FINAL_LIBRARY = "webrtc"
87159
 
87553
 
87160
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
87554
@@ -39,120 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
87161
 if CONFIG["MOZ_DEBUG"] == "1":
87555
 if CONFIG["MOZ_DEBUG"] == "1":
87162
 
87556
 
87163
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
87557
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 87227-87232 index a93c14603d74..c15a9ae02722 100644 Link Here
87227
-    DEFINES["NOMINMAX"] = True
87621
-    DEFINES["NOMINMAX"] = True
87228
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
87622
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
87229
-    DEFINES["PSAPI_VERSION"] = "2"
87623
-    DEFINES["PSAPI_VERSION"] = "2"
87624
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
87230
-    DEFINES["UNICODE"] = True
87625
-    DEFINES["UNICODE"] = True
87231
-    DEFINES["USE_AURA"] = "1"
87626
-    DEFINES["USE_AURA"] = "1"
87232
-    DEFINES["WEBRTC_WIN"] = True
87627
-    DEFINES["WEBRTC_WIN"] = True
Lines 87278-87284 index a93c14603d74..c15a9ae02722 100644 Link Here
87278
 
87673
 
87279
 if CONFIG["CPU_ARCH"] == "x86":
87674
 if CONFIG["CPU_ARCH"] == "x86":
87280
 
87675
 
87281
@@ -161,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
87676
@@ -162,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
87282
 
87677
 
87283
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
87678
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
87284
 
87679
 
Lines 90241-90248 index a15b4f43bbe4..0e364e67c4fc 100644 Link Here
90241
+    DEFINES["USE_X11"] = "1"
90636
+    DEFINES["USE_X11"] = "1"
90242
 
90637
 
90243
 Library("int128_gn")
90638
 Library("int128_gn")
90639
diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/strings/string_view_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/strings/string_view_gn/moz.build
90640
index d6622a78f593..f5827b08637a 100644
90641
--- third_party/libwebrtc/third_party/abseil-cpp/absl/strings/string_view_gn/moz.build
90642
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/strings/string_view_gn/moz.build
90643
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
90644
 AllowCompilerWarnings()
90645
 
90646
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
90647
+DEFINES["USE_GLIB"] = "1"
90648
+DEFINES["USE_OZONE"] = "1"
90649
+DEFINES["_FILE_OFFSET_BITS"] = "64"
90650
+DEFINES["_LARGEFILE64_SOURCE"] = True
90651
+DEFINES["_LARGEFILE_SOURCE"] = True
90652
 
90653
 FINAL_LIBRARY = "webrtc"
90654
 
90655
@@ -36,138 +41,16 @@ if not CONFIG["MOZ_DEBUG"]:
90656
 if CONFIG["MOZ_DEBUG"] == "1":
90657
 
90658
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
90659
-
90660
-if CONFIG["OS_TARGET"] == "Android":
90661
-
90662
-    DEFINES["ANDROID"] = True
90663
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
90664
-    DEFINES["HAVE_SYS_UIO_H"] = True
90665
-    DEFINES["_GNU_SOURCE"] = True
90666
-
90667
-if CONFIG["OS_TARGET"] == "Darwin":
90668
-
90669
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
90670
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
90671
-
90672
-if CONFIG["OS_TARGET"] == "Linux":
90673
-
90674
-    DEFINES["USE_AURA"] = "1"
90675
-    DEFINES["USE_GLIB"] = "1"
90676
-    DEFINES["USE_NSS_CERTS"] = "1"
90677
-    DEFINES["USE_OZONE"] = "1"
90678
-    DEFINES["USE_UDEV"] = True
90679
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
90680
-    DEFINES["_LARGEFILE64_SOURCE"] = True
90681
-    DEFINES["_LARGEFILE_SOURCE"] = True
90682
-
90683
-if CONFIG["OS_TARGET"] == "OpenBSD":
90684
-
90685
-    DEFINES["USE_GLIB"] = "1"
90686
-    DEFINES["USE_OZONE"] = "1"
90687
-    DEFINES["USE_X11"] = "1"
90688
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
90689
-    DEFINES["_LARGEFILE64_SOURCE"] = True
90690
-    DEFINES["_LARGEFILE_SOURCE"] = True
90691
-
90692
-if CONFIG["OS_TARGET"] == "WINNT":
90693
-
90694
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
90695
-    DEFINES["NOMINMAX"] = True
90696
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
90697
-    DEFINES["PSAPI_VERSION"] = "2"
90698
-    DEFINES["UNICODE"] = True
90699
-    DEFINES["USE_AURA"] = "1"
90700
-    DEFINES["WIN32"] = True
90701
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
90702
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
90703
-    DEFINES["WINVER"] = "0x0A00"
90704
-    DEFINES["_ATL_NO_OPENGL"] = True
90705
-    DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = True
90706
-    DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
90707
-    DEFINES["_CRT_RAND_S"] = True
90708
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
90709
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
90710
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
90711
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
90712
-    DEFINES["_SECURE_ATL"] = True
90713
-    DEFINES["_UNICODE"] = True
90714
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
90715
-    DEFINES["_WINDOWS"] = True
90716
-    DEFINES["__STD_C"] = True
90717
-
90718
-if CONFIG["CPU_ARCH"] == "arm":
90719
-
90720
-    CXXFLAGS += [
90721
-        "-mfpu=neon"
90722
-    ]
90723
-
90724
-if CONFIG["CPU_ARCH"] == "mips32":
90725
-
90726
-    DEFINES["_GNU_SOURCE"] = True
90727
-
90728
-if CONFIG["CPU_ARCH"] == "mips64":
90729
-
90730
-    DEFINES["_GNU_SOURCE"] = True
90731
-
90732
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
90733
-
90734
-    DEFINES["_DEBUG"] = True
90735
-
90736
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
90737
-
90738
-    DEFINES["_DEBUG"] = True
90739
-
90740
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
90741
-
90742
     DEFINES["_DEBUG"] = True
90743
 
90744
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
90745
-
90746
-    DEFINES["_DEBUG"] = True
90747
-
90748
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
90749
-
90750
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
90751
-
90752
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
90753
-
90754
-    DEFINES["USE_X11"] = "1"
90755
-
90756
-if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
90757
-
90758
-    OS_LIBS += [
90759
-        "android_support",
90760
-        "unwind"
90761
-    ]
90762
-
90763
-if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
90764
-
90765
-    CXXFLAGS += [
90766
-        "-msse2"
90767
-    ]
90768
-
90769
-    OS_LIBS += [
90770
-        "android_support"
90771
-    ]
90772
-
90773
-if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
90774
-
90775
-    DEFINES["_GNU_SOURCE"] = True
90776
-
90777
-if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
90778
-
90779
-    DEFINES["_GNU_SOURCE"] = True
90780
-
90781
-if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
90782
+if CONFIG["CPU_ARCH"] == "x86":
90783
 
90784
     CXXFLAGS += [
90785
         "-msse2"
90786
     ]
90787
 
90788
-    DEFINES["_GNU_SOURCE"] = True
90789
-
90790
-if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
90791
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
90792
 
90793
-    DEFINES["_GNU_SOURCE"] = True
90794
+    DEFINES["USE_X11"] = "1"
90795
 
90796
 Library("string_view_gn")
90244
diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/strings/strings_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/strings/strings_gn/moz.build
90797
diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/strings/strings_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/strings/strings_gn/moz.build
90245
index 2a53b9e647f7..71fd3a4a576d 100644
90798
index 34ac33e234e8..639ee3efe372 100644
90246
--- third_party/libwebrtc/third_party/abseil-cpp/absl/strings/strings_gn/moz.build
90799
--- third_party/libwebrtc/third_party/abseil-cpp/absl/strings/strings_gn/moz.build
90247
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/strings/strings_gn/moz.build
90800
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/strings/strings_gn/moz.build
90248
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
90801
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
Lines 90257-90263 index 2a53b9e647f7..71fd3a4a576d 100644 Link Here
90257
 
90810
 
90258
 FINAL_LIBRARY = "webrtc"
90811
 FINAL_LIBRARY = "webrtc"
90259
 
90812
 
90260
@@ -40,138 +45,16 @@ if not CONFIG["MOZ_DEBUG"]:
90813
@@ -41,138 +46,16 @@ if not CONFIG["MOZ_DEBUG"]:
90261
 if CONFIG["MOZ_DEBUG"] == "1":
90814
 if CONFIG["MOZ_DEBUG"] == "1":
90262
 
90815
 
90263
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
90816
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 91428-91434 index 646e12d72d60..d307f2650a1b 100644 Link Here
91428
     DEFINES["USE_X11"] = "1"
91981
     DEFINES["USE_X11"] = "1"
91429
 
91982
 
91430
diff --git third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build
91983
diff --git third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build
91431
index 2d97f962e7f9..dcece6e53f93 100644
91984
index 0333e014b67d..dcece6e53f93 100644
91432
--- third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build
91985
--- third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build
91433
+++ third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build
91986
+++ third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build
91434
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
91987
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 91452-91458 index 2d97f962e7f9..dcece6e53f93 100644 Link Here
91452
 
92005
 
91453
 FINAL_LIBRARY = "webrtc"
92006
 FINAL_LIBRARY = "webrtc"
91454
 
92007
 
91455
@@ -41,103 +50,17 @@ if not CONFIG["MOZ_DEBUG"]:
92008
@@ -41,104 +50,17 @@ if not CONFIG["MOZ_DEBUG"]:
91456
 if CONFIG["MOZ_DEBUG"] == "1":
92009
 if CONFIG["MOZ_DEBUG"] == "1":
91457
 
92010
 
91458
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
92011
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 91513-91518 index 2d97f962e7f9..dcece6e53f93 100644 Link Here
91513
-    DEFINES["NOMINMAX"] = True
92066
-    DEFINES["NOMINMAX"] = True
91514
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
92067
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
91515
-    DEFINES["PSAPI_VERSION"] = "2"
92068
-    DEFINES["PSAPI_VERSION"] = "2"
92069
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
91516
-    DEFINES["UNICODE"] = True
92070
-    DEFINES["UNICODE"] = True
91517
-    DEFINES["USE_AURA"] = "1"
92071
-    DEFINES["USE_AURA"] = "1"
91518
-    DEFINES["WEBRTC_WIN"] = True
92072
-    DEFINES["WEBRTC_WIN"] = True
Lines 91557-91563 index 2d97f962e7f9..dcece6e53f93 100644 Link Here
91557
 
92111
 
91558
 if CONFIG["CPU_ARCH"] == "x86":
92112
 if CONFIG["CPU_ARCH"] == "x86":
91559
 
92113
 
91560
@@ -147,57 +70,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
92114
@@ -148,57 +70,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
91561
 
92115
 
91562
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
92116
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
91563
 
92117
 
Lines 91617-91623 index 2d97f962e7f9..dcece6e53f93 100644 Link Here
91617
-
92171
-
91618
 Library("yuv_gn")
92172
 Library("yuv_gn")
91619
diff --git third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build
92173
diff --git third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build
91620
index 27095596f717..5394d07cc759 100644
92174
index a5425c674549..5394d07cc759 100644
91621
--- third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build
92175
--- third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build
91622
+++ third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build
92176
+++ third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build
91623
@@ -9,6 +9,14 @@
92177
@@ -9,6 +9,14 @@
Lines 91635-91641 index 27095596f717..5394d07cc759 100644 Link Here
91635
 FINAL_LIBRARY = "webrtc"
92189
 FINAL_LIBRARY = "webrtc"
91636
 
92190
 
91637
 
92191
 
91638
@@ -33,151 +41,28 @@ if not CONFIG["MOZ_DEBUG"]:
92192
@@ -33,155 +41,28 @@ if not CONFIG["MOZ_DEBUG"]:
91639
 if CONFIG["MOZ_DEBUG"] == "1":
92193
 if CONFIG["MOZ_DEBUG"] == "1":
91640
 
92194
 
91641
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
92195
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 91726-91731 index 27095596f717..5394d07cc759 100644 Link Here
91726
 
92280
 
91727
     DEFINES["PFFFT_SIMD_DISABLE"] = True
92281
     DEFINES["PFFFT_SIMD_DISABLE"] = True
91728
 
92282
 
92283
-if CONFIG["CPU_ARCH"] == "riscv64":
92284
-
92285
-    DEFINES["PFFFT_SIMD_DISABLE"] = True
92286
-
91729
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
92287
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
91730
-
92288
-
91731
-    DEFINES["_DEBUG"] = True
92289
-    DEFINES["_DEBUG"] = True
Lines 91767-91776 index 27095596f717..5394d07cc759 100644 Link Here
91767
-    OS_LIBS += [
92325
-    OS_LIBS += [
91768
-        "android_support"
92326
-        "android_support"
91769
-    ]
92327
-    ]
91770
-
91771
-if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
91772
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
92328
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
91773
 
92329
 
92330
-if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
92331
-
91774
-    DEFINES["_GNU_SOURCE"] = True
92332
-    DEFINES["_GNU_SOURCE"] = True
91775
-
92333
-
91776
-if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
92334
-if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
Lines 92008-92014 index 2a3db9a62207..087012313675 100644 Link Here
92008
 
92566
 
92009
 Library("rnn_vad_gn")
92567
 Library("rnn_vad_gn")
92010
diff --git third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build
92568
diff --git third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build
92011
index 1459a2b50d95..c019774c6343 100644
92569
index d36c68f6c12c..c019774c6343 100644
92012
--- third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build
92570
--- third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build
92013
+++ third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build
92571
+++ third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build
92014
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
92572
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 92032-92038 index 1459a2b50d95..c019774c6343 100644 Link Here
92032
 
92590
 
92033
 FINAL_LIBRARY = "webrtc"
92591
 FINAL_LIBRARY = "webrtc"
92034
 
92592
 
92035
@@ -52,191 +61,32 @@ if not CONFIG["MOZ_DEBUG"]:
92593
@@ -52,192 +61,32 @@ if not CONFIG["MOZ_DEBUG"]:
92036
 if CONFIG["MOZ_DEBUG"] == "1":
92594
 if CONFIG["MOZ_DEBUG"] == "1":
92037
 
92595
 
92038
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
92596
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 92102-92107 index 1459a2b50d95..c019774c6343 100644 Link Here
92102
-    DEFINES["NOMINMAX"] = True
92660
-    DEFINES["NOMINMAX"] = True
92103
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
92661
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
92104
-    DEFINES["PSAPI_VERSION"] = "2"
92662
-    DEFINES["PSAPI_VERSION"] = "2"
92663
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
92105
-    DEFINES["UNICODE"] = True
92664
-    DEFINES["UNICODE"] = True
92106
-    DEFINES["USE_AURA"] = "1"
92665
-    DEFINES["USE_AURA"] = "1"
92107
-    DEFINES["WEBRTC_WIN"] = True
92666
-    DEFINES["WEBRTC_WIN"] = True
Lines 92231-92237 index 1459a2b50d95..c019774c6343 100644 Link Here
92231
 
92790
 
92232
 Library("video_adaptation_gn")
92791
 Library("video_adaptation_gn")
92233
diff --git third_party/libwebrtc/video/config/encoder_config_gn/moz.build third_party/libwebrtc/video/config/encoder_config_gn/moz.build
92792
diff --git third_party/libwebrtc/video/config/encoder_config_gn/moz.build third_party/libwebrtc/video/config/encoder_config_gn/moz.build
92234
index ea2b54bfb866..2dc027987bb6 100644
92793
index daf1d0d43453..2dc027987bb6 100644
92235
--- third_party/libwebrtc/video/config/encoder_config_gn/moz.build
92794
--- third_party/libwebrtc/video/config/encoder_config_gn/moz.build
92236
+++ third_party/libwebrtc/video/config/encoder_config_gn/moz.build
92795
+++ third_party/libwebrtc/video/config/encoder_config_gn/moz.build
92237
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
92796
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 92255-92261 index ea2b54bfb866..2dc027987bb6 100644 Link Here
92255
 
92814
 
92256
 FINAL_LIBRARY = "webrtc"
92815
 FINAL_LIBRARY = "webrtc"
92257
 
92816
 
92258
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
92817
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
92259
 if CONFIG["MOZ_DEBUG"] == "1":
92818
 if CONFIG["MOZ_DEBUG"] == "1":
92260
 
92819
 
92261
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
92820
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 92320-92325 index ea2b54bfb866..2dc027987bb6 100644 Link Here
92320
-    DEFINES["NOMINMAX"] = True
92879
-    DEFINES["NOMINMAX"] = True
92321
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
92880
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
92322
-    DEFINES["PSAPI_VERSION"] = "2"
92881
-    DEFINES["PSAPI_VERSION"] = "2"
92882
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
92323
-    DEFINES["UNICODE"] = True
92883
-    DEFINES["UNICODE"] = True
92324
-    DEFINES["USE_AURA"] = "1"
92884
-    DEFINES["USE_AURA"] = "1"
92325
-    DEFINES["WEBRTC_WIN"] = True
92885
-    DEFINES["WEBRTC_WIN"] = True
Lines 92446-92452 index ea2b54bfb866..2dc027987bb6 100644 Link Here
92446
 
93006
 
92447
 Library("encoder_config_gn")
93007
 Library("encoder_config_gn")
92448
diff --git third_party/libwebrtc/video/config/streams_config_gn/moz.build third_party/libwebrtc/video/config/streams_config_gn/moz.build
93008
diff --git third_party/libwebrtc/video/config/streams_config_gn/moz.build third_party/libwebrtc/video/config/streams_config_gn/moz.build
92449
index 9e174cff3ccb..3ab1b0d83805 100644
93009
index ee7c9fa2821e..3ab1b0d83805 100644
92450
--- third_party/libwebrtc/video/config/streams_config_gn/moz.build
93010
--- third_party/libwebrtc/video/config/streams_config_gn/moz.build
92451
+++ third_party/libwebrtc/video/config/streams_config_gn/moz.build
93011
+++ third_party/libwebrtc/video/config/streams_config_gn/moz.build
92452
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
93012
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 92470-92476 index 9e174cff3ccb..3ab1b0d83805 100644 Link Here
92470
 
93030
 
92471
 FINAL_LIBRARY = "webrtc"
93031
 FINAL_LIBRARY = "webrtc"
92472
 
93032
 
92473
@@ -44,191 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
93033
@@ -44,192 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
92474
 if CONFIG["MOZ_DEBUG"] == "1":
93034
 if CONFIG["MOZ_DEBUG"] == "1":
92475
 
93035
 
92476
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
93036
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 92540-92545 index 9e174cff3ccb..3ab1b0d83805 100644 Link Here
92540
-    DEFINES["NOMINMAX"] = True
93100
-    DEFINES["NOMINMAX"] = True
92541
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
93101
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
92542
-    DEFINES["PSAPI_VERSION"] = "2"
93102
-    DEFINES["PSAPI_VERSION"] = "2"
93103
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
92543
-    DEFINES["UNICODE"] = True
93104
-    DEFINES["UNICODE"] = True
92544
-    DEFINES["USE_AURA"] = "1"
93105
-    DEFINES["USE_AURA"] = "1"
92545
-    DEFINES["WEBRTC_WIN"] = True
93106
-    DEFINES["WEBRTC_WIN"] = True
Lines 92669-92675 index 9e174cff3ccb..3ab1b0d83805 100644 Link Here
92669
 
93230
 
92670
 Library("streams_config_gn")
93231
 Library("streams_config_gn")
92671
diff --git third_party/libwebrtc/video/decode_synchronizer_gn/moz.build third_party/libwebrtc/video/decode_synchronizer_gn/moz.build
93232
diff --git third_party/libwebrtc/video/decode_synchronizer_gn/moz.build third_party/libwebrtc/video/decode_synchronizer_gn/moz.build
92672
index de01a944eadc..f306e996bb22 100644
93233
index 24c8dd050bb2..f306e996bb22 100644
92673
--- third_party/libwebrtc/video/decode_synchronizer_gn/moz.build
93234
--- third_party/libwebrtc/video/decode_synchronizer_gn/moz.build
92674
+++ third_party/libwebrtc/video/decode_synchronizer_gn/moz.build
93235
+++ third_party/libwebrtc/video/decode_synchronizer_gn/moz.build
92675
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
93236
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 92693-92699 index de01a944eadc..f306e996bb22 100644 Link Here
92693
 
93254
 
92694
 FINAL_LIBRARY = "webrtc"
93255
 FINAL_LIBRARY = "webrtc"
92695
 
93256
 
92696
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
93257
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
92697
 if CONFIG["MOZ_DEBUG"] == "1":
93258
 if CONFIG["MOZ_DEBUG"] == "1":
92698
 
93259
 
92699
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
93260
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 92762-92767 index de01a944eadc..f306e996bb22 100644 Link Here
92762
-    DEFINES["NOMINMAX"] = True
93323
-    DEFINES["NOMINMAX"] = True
92763
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
93324
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
92764
-    DEFINES["PSAPI_VERSION"] = "2"
93325
-    DEFINES["PSAPI_VERSION"] = "2"
93326
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
92765
-    DEFINES["UNICODE"] = True
93327
-    DEFINES["UNICODE"] = True
92766
-    DEFINES["USE_AURA"] = "1"
93328
-    DEFINES["USE_AURA"] = "1"
92767
-    DEFINES["WEBRTC_WIN"] = True
93329
-    DEFINES["WEBRTC_WIN"] = True
Lines 92891-92897 index de01a944eadc..f306e996bb22 100644 Link Here
92891
 
93453
 
92892
 Library("decode_synchronizer_gn")
93454
 Library("decode_synchronizer_gn")
92893
diff --git third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build
93455
diff --git third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build
92894
index 2f7abf4617c9..f0eff3beb31c 100644
93456
index edb6fb124a67..f0eff3beb31c 100644
92895
--- third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build
93457
--- third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build
92896
+++ third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build
93458
+++ third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build
92897
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
93459
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 92915-92921 index 2f7abf4617c9..f0eff3beb31c 100644 Link Here
92915
 
93477
 
92916
 FINAL_LIBRARY = "webrtc"
93478
 FINAL_LIBRARY = "webrtc"
92917
 
93479
 
92918
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
93480
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
92919
 if CONFIG["MOZ_DEBUG"] == "1":
93481
 if CONFIG["MOZ_DEBUG"] == "1":
92920
 
93482
 
92921
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
93483
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 92984-92989 index 2f7abf4617c9..f0eff3beb31c 100644 Link Here
92984
-    DEFINES["NOMINMAX"] = True
93546
-    DEFINES["NOMINMAX"] = True
92985
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
93547
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
92986
-    DEFINES["PSAPI_VERSION"] = "2"
93548
-    DEFINES["PSAPI_VERSION"] = "2"
93549
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
92987
-    DEFINES["UNICODE"] = True
93550
-    DEFINES["UNICODE"] = True
92988
-    DEFINES["USE_AURA"] = "1"
93551
-    DEFINES["USE_AURA"] = "1"
92989
-    DEFINES["WEBRTC_WIN"] = True
93552
-    DEFINES["WEBRTC_WIN"] = True
Lines 93113-93119 index 2f7abf4617c9..f0eff3beb31c 100644 Link Here
93113
 
93676
 
93114
 Library("frame_cadence_adapter_gn")
93677
 Library("frame_cadence_adapter_gn")
93115
diff --git third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build
93678
diff --git third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build
93116
index 834d9880e79f..b37ca42dd139 100644
93679
index c84f2344d797..b37ca42dd139 100644
93117
--- third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build
93680
--- third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build
93118
+++ third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build
93681
+++ third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build
93119
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
93682
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 93137-93143 index 834d9880e79f..b37ca42dd139 100644 Link Here
93137
 
93700
 
93138
 FINAL_LIBRARY = "webrtc"
93701
 FINAL_LIBRARY = "webrtc"
93139
 
93702
 
93140
@@ -39,118 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
93703
@@ -39,119 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
93141
 if CONFIG["MOZ_DEBUG"] == "1":
93704
 if CONFIG["MOZ_DEBUG"] == "1":
93142
 
93705
 
93143
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
93706
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 93206-93211 index 834d9880e79f..b37ca42dd139 100644 Link Here
93206
-    DEFINES["NOMINMAX"] = True
93769
-    DEFINES["NOMINMAX"] = True
93207
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
93770
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
93208
-    DEFINES["PSAPI_VERSION"] = "2"
93771
-    DEFINES["PSAPI_VERSION"] = "2"
93772
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
93209
-    DEFINES["UNICODE"] = True
93773
-    DEFINES["UNICODE"] = True
93210
-    DEFINES["USE_AURA"] = "1"
93774
-    DEFINES["USE_AURA"] = "1"
93211
-    DEFINES["WEBRTC_WIN"] = True
93775
-    DEFINES["WEBRTC_WIN"] = True
Lines 93257-93263 index 834d9880e79f..b37ca42dd139 100644 Link Here
93257
 
93821
 
93258
 if CONFIG["CPU_ARCH"] == "x86":
93822
 if CONFIG["CPU_ARCH"] == "x86":
93259
 
93823
 
93260
@@ -160,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
93824
@@ -161,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
93261
 
93825
 
93262
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
93826
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
93263
 
93827
 
Lines 93317-93323 index 834d9880e79f..b37ca42dd139 100644 Link Here
93317
-
93881
-
93318
 Library("frame_decode_scheduler_gn")
93882
 Library("frame_decode_scheduler_gn")
93319
diff --git third_party/libwebrtc/video/frame_decode_timing_gn/moz.build third_party/libwebrtc/video/frame_decode_timing_gn/moz.build
93883
diff --git third_party/libwebrtc/video/frame_decode_timing_gn/moz.build third_party/libwebrtc/video/frame_decode_timing_gn/moz.build
93320
index 570b927d3a81..40d9a4ffcc46 100644
93884
index b607a50d2ede..40d9a4ffcc46 100644
93321
--- third_party/libwebrtc/video/frame_decode_timing_gn/moz.build
93885
--- third_party/libwebrtc/video/frame_decode_timing_gn/moz.build
93322
+++ third_party/libwebrtc/video/frame_decode_timing_gn/moz.build
93886
+++ third_party/libwebrtc/video/frame_decode_timing_gn/moz.build
93323
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
93887
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 93341-93347 index 570b927d3a81..40d9a4ffcc46 100644 Link Here
93341
 
93905
 
93342
 FINAL_LIBRARY = "webrtc"
93906
 FINAL_LIBRARY = "webrtc"
93343
 
93907
 
93344
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
93908
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
93345
 if CONFIG["MOZ_DEBUG"] == "1":
93909
 if CONFIG["MOZ_DEBUG"] == "1":
93346
 
93910
 
93347
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
93911
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 93410-93415 index 570b927d3a81..40d9a4ffcc46 100644 Link Here
93410
-    DEFINES["NOMINMAX"] = True
93974
-    DEFINES["NOMINMAX"] = True
93411
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
93975
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
93412
-    DEFINES["PSAPI_VERSION"] = "2"
93976
-    DEFINES["PSAPI_VERSION"] = "2"
93977
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
93413
-    DEFINES["UNICODE"] = True
93978
-    DEFINES["UNICODE"] = True
93414
-    DEFINES["USE_AURA"] = "1"
93979
-    DEFINES["USE_AURA"] = "1"
93415
-    DEFINES["WEBRTC_WIN"] = True
93980
-    DEFINES["WEBRTC_WIN"] = True
Lines 93539-93545 index 570b927d3a81..40d9a4ffcc46 100644 Link Here
93539
 
94104
 
93540
 Library("frame_decode_timing_gn")
94105
 Library("frame_decode_timing_gn")
93541
diff --git third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build
94106
diff --git third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build
93542
index 3266e8f07fbf..254d05acd491 100644
94107
index 0daab97ba9df..254d05acd491 100644
93543
--- third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build
94108
--- third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build
93544
+++ third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build
94109
+++ third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build
93545
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
94110
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 93563-93569 index 3266e8f07fbf..254d05acd491 100644 Link Here
93563
 
94128
 
93564
 FINAL_LIBRARY = "webrtc"
94129
 FINAL_LIBRARY = "webrtc"
93565
 
94130
 
93566
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
94131
@@ -43,192 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
93567
 if CONFIG["MOZ_DEBUG"] == "1":
94132
 if CONFIG["MOZ_DEBUG"] == "1":
93568
 
94133
 
93569
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
94134
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 93633-93638 index 3266e8f07fbf..254d05acd491 100644 Link Here
93633
-    DEFINES["NOMINMAX"] = True
94198
-    DEFINES["NOMINMAX"] = True
93634
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
94199
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
93635
-    DEFINES["PSAPI_VERSION"] = "2"
94200
-    DEFINES["PSAPI_VERSION"] = "2"
94201
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
93636
-    DEFINES["UNICODE"] = True
94202
-    DEFINES["UNICODE"] = True
93637
-    DEFINES["USE_AURA"] = "1"
94203
-    DEFINES["USE_AURA"] = "1"
93638
-    DEFINES["WEBRTC_WIN"] = True
94204
-    DEFINES["WEBRTC_WIN"] = True
Lines 93762-93768 index 3266e8f07fbf..254d05acd491 100644 Link Here
93762
 
94328
 
93763
 Library("frame_dumping_decoder_gn")
94329
 Library("frame_dumping_decoder_gn")
93764
diff --git third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build
94330
diff --git third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build
93765
index c8b8614b0499..42958c3afcef 100644
94331
index 1dca41a24e5a..42958c3afcef 100644
93766
--- third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build
94332
--- third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build
93767
+++ third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build
94333
+++ third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build
93768
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
94334
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 93786-93792 index c8b8614b0499..42958c3afcef 100644 Link Here
93786
 
94352
 
93787
 FINAL_LIBRARY = "webrtc"
94353
 FINAL_LIBRARY = "webrtc"
93788
 
94354
 
93789
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
94355
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
93790
 if CONFIG["MOZ_DEBUG"] == "1":
94356
 if CONFIG["MOZ_DEBUG"] == "1":
93791
 
94357
 
93792
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
94358
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 93851-93856 index c8b8614b0499..42958c3afcef 100644 Link Here
93851
-    DEFINES["NOMINMAX"] = True
94417
-    DEFINES["NOMINMAX"] = True
93852
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
94418
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
93853
-    DEFINES["PSAPI_VERSION"] = "2"
94419
-    DEFINES["PSAPI_VERSION"] = "2"
94420
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
93854
-    DEFINES["UNICODE"] = True
94421
-    DEFINES["UNICODE"] = True
93855
-    DEFINES["USE_AURA"] = "1"
94422
-    DEFINES["USE_AURA"] = "1"
93856
-    DEFINES["WEBRTC_WIN"] = True
94423
-    DEFINES["WEBRTC_WIN"] = True
Lines 93977-93983 index c8b8614b0499..42958c3afcef 100644 Link Here
93977
 
94544
 
93978
 Library("incoming_video_stream_gn")
94545
 Library("incoming_video_stream_gn")
93979
diff --git third_party/libwebrtc/video/render/video_render_frames_gn/moz.build third_party/libwebrtc/video/render/video_render_frames_gn/moz.build
94546
diff --git third_party/libwebrtc/video/render/video_render_frames_gn/moz.build third_party/libwebrtc/video/render/video_render_frames_gn/moz.build
93980
index 951c654ef6d2..a3b28f438f5d 100644
94547
index df90ccd36237..a3b28f438f5d 100644
93981
--- third_party/libwebrtc/video/render/video_render_frames_gn/moz.build
94548
--- third_party/libwebrtc/video/render/video_render_frames_gn/moz.build
93982
+++ third_party/libwebrtc/video/render/video_render_frames_gn/moz.build
94549
+++ third_party/libwebrtc/video/render/video_render_frames_gn/moz.build
93983
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
94550
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 94001-94007 index 951c654ef6d2..a3b28f438f5d 100644 Link Here
94001
 
94568
 
94002
 FINAL_LIBRARY = "webrtc"
94569
 FINAL_LIBRARY = "webrtc"
94003
 
94570
 
94004
@@ -43,183 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
94571
@@ -43,184 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
94005
 if CONFIG["MOZ_DEBUG"] == "1":
94572
 if CONFIG["MOZ_DEBUG"] == "1":
94006
 
94573
 
94007
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
94574
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 94066-94071 index 951c654ef6d2..a3b28f438f5d 100644 Link Here
94066
-    DEFINES["NOMINMAX"] = True
94633
-    DEFINES["NOMINMAX"] = True
94067
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
94634
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
94068
-    DEFINES["PSAPI_VERSION"] = "2"
94635
-    DEFINES["PSAPI_VERSION"] = "2"
94636
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
94069
-    DEFINES["UNICODE"] = True
94637
-    DEFINES["UNICODE"] = True
94070
-    DEFINES["USE_AURA"] = "1"
94638
-    DEFINES["USE_AURA"] = "1"
94071
-    DEFINES["WEBRTC_WIN"] = True
94639
-    DEFINES["WEBRTC_WIN"] = True
Lines 94192-94198 index 951c654ef6d2..a3b28f438f5d 100644 Link Here
94192
 
94760
 
94193
 Library("video_render_frames_gn")
94761
 Library("video_render_frames_gn")
94194
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
94762
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
94195
index e9e33818dec5..f8bc9184d923 100644
94763
index d7e53c522132..f8bc9184d923 100644
94196
--- third_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build
94764
--- third_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build
94197
+++ third_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build
94765
+++ third_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build
94198
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
94766
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 94216-94222 index e9e33818dec5..f8bc9184d923 100644 Link Here
94216
 
94784
 
94217
 FINAL_LIBRARY = "webrtc"
94785
 FINAL_LIBRARY = "webrtc"
94218
 
94786
 
94219
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
94787
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
94220
 if CONFIG["MOZ_DEBUG"] == "1":
94788
 if CONFIG["MOZ_DEBUG"] == "1":
94221
 
94789
 
94222
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
94790
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 94285-94290 index e9e33818dec5..f8bc9184d923 100644 Link Here
94285
-    DEFINES["NOMINMAX"] = True
94853
-    DEFINES["NOMINMAX"] = True
94286
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
94854
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
94287
-    DEFINES["PSAPI_VERSION"] = "2"
94855
-    DEFINES["PSAPI_VERSION"] = "2"
94856
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
94288
-    DEFINES["UNICODE"] = True
94857
-    DEFINES["UNICODE"] = True
94289
-    DEFINES["USE_AURA"] = "1"
94858
-    DEFINES["USE_AURA"] = "1"
94290
-    DEFINES["WEBRTC_WIN"] = True
94859
-    DEFINES["WEBRTC_WIN"] = True
Lines 94414-94420 index e9e33818dec5..f8bc9184d923 100644 Link Here
94414
 
94983
 
94415
 Library("task_queue_frame_decode_scheduler_gn")
94984
 Library("task_queue_frame_decode_scheduler_gn")
94416
diff --git third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build
94985
diff --git third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build
94417
index de254b0f678e..177b8617949e 100644
94986
index 153cf2010dd6..177b8617949e 100644
94418
--- third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build
94987
--- third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build
94419
+++ third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build
94988
+++ third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build
94420
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
94989
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 94438-94444 index de254b0f678e..177b8617949e 100644 Link Here
94438
 
95007
 
94439
 FINAL_LIBRARY = "webrtc"
95008
 FINAL_LIBRARY = "webrtc"
94440
 
95009
 
94441
@@ -43,175 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
95010
@@ -43,176 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
94442
 if CONFIG["MOZ_DEBUG"] == "1":
95011
 if CONFIG["MOZ_DEBUG"] == "1":
94443
 
95012
 
94444
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
95013
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 94499-94504 index de254b0f678e..177b8617949e 100644 Link Here
94499
-    DEFINES["NOMINMAX"] = True
95068
-    DEFINES["NOMINMAX"] = True
94500
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
95069
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
94501
-    DEFINES["PSAPI_VERSION"] = "2"
95070
-    DEFINES["PSAPI_VERSION"] = "2"
95071
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
94502
-    DEFINES["UNICODE"] = True
95072
-    DEFINES["UNICODE"] = True
94503
-    DEFINES["USE_AURA"] = "1"
95073
-    DEFINES["USE_AURA"] = "1"
94504
-    DEFINES["WEBRTC_WIN"] = True
95074
-    DEFINES["WEBRTC_WIN"] = True
Lines 94621-94627 index de254b0f678e..177b8617949e 100644 Link Here
94621
 
95191
 
94622
 Library("unique_timestamp_counter_gn")
95192
 Library("unique_timestamp_counter_gn")
94623
diff --git third_party/libwebrtc/video/video_gn/moz.build third_party/libwebrtc/video/video_gn/moz.build
95193
diff --git third_party/libwebrtc/video/video_gn/moz.build third_party/libwebrtc/video/video_gn/moz.build
94624
index 392c0c16c828..c3232b0bd0ff 100644
95194
index 1231f0b85ba1..bc3828d5acb5 100644
94625
--- third_party/libwebrtc/video/video_gn/moz.build
95195
--- third_party/libwebrtc/video/video_gn/moz.build
94626
+++ third_party/libwebrtc/video/video_gn/moz.build
95196
+++ third_party/libwebrtc/video/video_gn/moz.build
94627
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
95197
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 94645-94651 index 392c0c16c828..c3232b0bd0ff 100644 Link Here
94645
 
95215
 
94646
 FINAL_LIBRARY = "webrtc"
95216
 FINAL_LIBRARY = "webrtc"
94647
 
95217
 
94648
@@ -64,191 +73,32 @@ if not CONFIG["MOZ_DEBUG"]:
95218
@@ -63,192 +72,32 @@ if not CONFIG["MOZ_DEBUG"]:
94649
 if CONFIG["MOZ_DEBUG"] == "1":
95219
 if CONFIG["MOZ_DEBUG"] == "1":
94650
 
95220
 
94651
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
95221
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 94715-94720 index 392c0c16c828..c3232b0bd0ff 100644 Link Here
94715
-    DEFINES["NOMINMAX"] = True
95285
-    DEFINES["NOMINMAX"] = True
94716
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
95286
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
94717
-    DEFINES["PSAPI_VERSION"] = "2"
95287
-    DEFINES["PSAPI_VERSION"] = "2"
95288
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
94718
-    DEFINES["UNICODE"] = True
95289
-    DEFINES["UNICODE"] = True
94719
-    DEFINES["USE_AURA"] = "1"
95290
-    DEFINES["USE_AURA"] = "1"
94720
-    DEFINES["WEBRTC_WIN"] = True
95291
-    DEFINES["WEBRTC_WIN"] = True
Lines 94844-94850 index 392c0c16c828..c3232b0bd0ff 100644 Link Here
94844
 
95415
 
94845
 Library("video_gn")
95416
 Library("video_gn")
94846
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
95417
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
94847
index 0de224d0dfb5..b74708587cec 100644
95418
index 2f32d659ef6e..b74708587cec 100644
94848
--- third_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build
95419
--- third_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build
94849
+++ third_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build
95420
+++ third_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build
94850
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
95421
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 94868-94874 index 0de224d0dfb5..b74708587cec 100644 Link Here
94868
 
95439
 
94869
 FINAL_LIBRARY = "webrtc"
95440
 FINAL_LIBRARY = "webrtc"
94870
 
95441
 
94871
@@ -43,190 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
95442
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
94872
 if CONFIG["MOZ_DEBUG"] == "1":
95443
 if CONFIG["MOZ_DEBUG"] == "1":
94873
 
95444
 
94874
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
95445
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 94937-94942 index 0de224d0dfb5..b74708587cec 100644 Link Here
94937
-    DEFINES["NOMINMAX"] = True
95508
-    DEFINES["NOMINMAX"] = True
94938
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
95509
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
94939
-    DEFINES["PSAPI_VERSION"] = "2"
95510
-    DEFINES["PSAPI_VERSION"] = "2"
95511
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
94940
-    DEFINES["UNICODE"] = True
95512
-    DEFINES["UNICODE"] = True
94941
-    DEFINES["USE_AURA"] = "1"
95513
-    DEFINES["USE_AURA"] = "1"
94942
-    DEFINES["WEBRTC_WIN"] = True
95514
-    DEFINES["WEBRTC_WIN"] = True
Lines 95066-95072 index 0de224d0dfb5..b74708587cec 100644 Link Here
95066
 
95638
 
95067
 Library("video_receive_stream_timeout_tracker_gn")
95639
 Library("video_receive_stream_timeout_tracker_gn")
95068
diff --git third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build
95640
diff --git third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build
95069
index a18b990a8d75..8b1e03633a54 100644
95641
index 943bb13ea2cd..8b1e03633a54 100644
95070
--- third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build
95642
--- third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build
95071
+++ third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build
95643
+++ third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build
95072
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
95644
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 95090-95096 index a18b990a8d75..8b1e03633a54 100644 Link Here
95090
 
95662
 
95091
 FINAL_LIBRARY = "webrtc"
95663
 FINAL_LIBRARY = "webrtc"
95092
 
95664
 
95093
@@ -43,191 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
95665
@@ -43,192 +52,32 @@ if not CONFIG["MOZ_DEBUG"]:
95094
 if CONFIG["MOZ_DEBUG"] == "1":
95666
 if CONFIG["MOZ_DEBUG"] == "1":
95095
 
95667
 
95096
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
95668
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 95160-95165 index a18b990a8d75..8b1e03633a54 100644 Link Here
95160
-    DEFINES["NOMINMAX"] = True
95732
-    DEFINES["NOMINMAX"] = True
95161
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
95733
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
95162
-    DEFINES["PSAPI_VERSION"] = "2"
95734
-    DEFINES["PSAPI_VERSION"] = "2"
95735
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
95163
-    DEFINES["UNICODE"] = True
95736
-    DEFINES["UNICODE"] = True
95164
-    DEFINES["USE_AURA"] = "1"
95737
-    DEFINES["USE_AURA"] = "1"
95165
-    DEFINES["WEBRTC_WIN"] = True
95738
-    DEFINES["WEBRTC_WIN"] = True
Lines 95289-95295 index a18b990a8d75..8b1e03633a54 100644 Link Here
95289
 
95862
 
95290
 Library("video_stream_buffer_controller_gn")
95863
 Library("video_stream_buffer_controller_gn")
95291
diff --git third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build
95864
diff --git third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build
95292
index cd70bcde35e5..004e04207c71 100644
95865
index 7d5d6179e612..004e04207c71 100644
95293
--- third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build
95866
--- third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build
95294
+++ third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build
95867
+++ third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build
95295
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
95868
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 95313-95319 index cd70bcde35e5..004e04207c71 100644 Link Here
95313
 
95886
 
95314
 FINAL_LIBRARY = "webrtc"
95887
 FINAL_LIBRARY = "webrtc"
95315
 
95888
 
95316
@@ -48,191 +57,32 @@ if not CONFIG["MOZ_DEBUG"]:
95889
@@ -48,192 +57,32 @@ if not CONFIG["MOZ_DEBUG"]:
95317
 if CONFIG["MOZ_DEBUG"] == "1":
95890
 if CONFIG["MOZ_DEBUG"] == "1":
95318
 
95891
 
95319
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
95892
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 95383-95388 index cd70bcde35e5..004e04207c71 100644 Link Here
95383
-    DEFINES["NOMINMAX"] = True
95956
-    DEFINES["NOMINMAX"] = True
95384
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
95957
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
95385
-    DEFINES["PSAPI_VERSION"] = "2"
95958
-    DEFINES["PSAPI_VERSION"] = "2"
95959
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
95386
-    DEFINES["UNICODE"] = True
95960
-    DEFINES["UNICODE"] = True
95387
-    DEFINES["USE_AURA"] = "1"
95961
-    DEFINES["USE_AURA"] = "1"
95388
-    DEFINES["WEBRTC_WIN"] = True
95962
-    DEFINES["WEBRTC_WIN"] = True
Lines 95512-95518 index cd70bcde35e5..004e04207c71 100644 Link Here
95512
 
96086
 
95513
 Library("video_stream_encoder_impl_gn")
96087
 Library("video_stream_encoder_impl_gn")
95514
diff --git third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build
96088
diff --git third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build
95515
index e058513d4fb8..d51109a08c5f 100644
96089
index 9fd417f96be9..d51109a08c5f 100644
95516
--- third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build
96090
--- third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build
95517
+++ third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build
96091
+++ third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build
95518
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
96092
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 95536-95542 index e058513d4fb8..d51109a08c5f 100644 Link Here
95536
 
96110
 
95537
 FINAL_LIBRARY = "webrtc"
96111
 FINAL_LIBRARY = "webrtc"
95538
 
96112
 
95539
@@ -39,111 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
96113
@@ -39,112 +48,17 @@ if not CONFIG["MOZ_DEBUG"]:
95540
 if CONFIG["MOZ_DEBUG"] == "1":
96114
 if CONFIG["MOZ_DEBUG"] == "1":
95541
 
96115
 
95542
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
96116
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 95601-95606 index e058513d4fb8..d51109a08c5f 100644 Link Here
95601
-    DEFINES["NOMINMAX"] = True
96175
-    DEFINES["NOMINMAX"] = True
95602
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
96176
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
95603
-    DEFINES["PSAPI_VERSION"] = "2"
96177
-    DEFINES["PSAPI_VERSION"] = "2"
96178
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
95604
-    DEFINES["UNICODE"] = True
96179
-    DEFINES["UNICODE"] = True
95605
-    DEFINES["USE_AURA"] = "1"
96180
-    DEFINES["USE_AURA"] = "1"
95606
-    DEFINES["WEBRTC_WIN"] = True
96181
-    DEFINES["WEBRTC_WIN"] = True
Lines 95649-95655 index e058513d4fb8..d51109a08c5f 100644 Link Here
95649
 
96224
 
95650
 if CONFIG["CPU_ARCH"] == "x86":
96225
 if CONFIG["CPU_ARCH"] == "x86":
95651
 
96226
 
95652
@@ -153,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
96227
@@ -154,57 +68,8 @@ if CONFIG["CPU_ARCH"] == "x86_64":
95653
 
96228
 
95654
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
96229
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
95655
 
96230
 
Lines 95709-95715 index e058513d4fb8..d51109a08c5f 100644 Link Here
95709
-
96284
-
95710
 Library("video_stream_encoder_interface_gn")
96285
 Library("video_stream_encoder_interface_gn")
95711
diff --git third_party/libwebrtc/webrtc_gn/moz.build third_party/libwebrtc/webrtc_gn/moz.build
96286
diff --git third_party/libwebrtc/webrtc_gn/moz.build third_party/libwebrtc/webrtc_gn/moz.build
95712
index b91e518cabc7..495fb5b35f3d 100644
96287
index 3fd9c5c15eca..305f7edc0d03 100644
95713
--- third_party/libwebrtc/webrtc_gn/moz.build
96288
--- third_party/libwebrtc/webrtc_gn/moz.build
95714
+++ third_party/libwebrtc/webrtc_gn/moz.build
96289
+++ third_party/libwebrtc/webrtc_gn/moz.build
95715
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
96290
@@ -12,11 +12,20 @@ AllowCompilerWarnings()
Lines 95733-95739 index b91e518cabc7..495fb5b35f3d 100644 Link Here
95733
 
96308
 
95734
 FINAL_LIBRARY = "webrtc"
96309
 FINAL_LIBRARY = "webrtc"
95735
 
96310
 
95736
@@ -39,139 +48,23 @@ if not CONFIG["MOZ_DEBUG"]:
96311
@@ -39,140 +48,23 @@ if not CONFIG["MOZ_DEBUG"]:
95737
 if CONFIG["MOZ_DEBUG"] == "1":
96312
 if CONFIG["MOZ_DEBUG"] == "1":
95738
 
96313
 
95739
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
96314
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 95809-95816 index b91e518cabc7..495fb5b35f3d 100644 Link Here
95809
-        "Xext",
96384
-        "Xext",
95810
-        "Xfixes",
96385
-        "Xfixes",
95811
-        "Xrandr",
96386
-        "Xrandr",
95812
-        "Xrender",
96387
-        "Xrender"
95813
-        "Xtst"
95814
-    ]
96388
-    ]
95815
-
96389
-
95816
-if CONFIG["OS_TARGET"] == "WINNT":
96390
-if CONFIG["OS_TARGET"] == "WINNT":
Lines 95819-95824 index b91e518cabc7..495fb5b35f3d 100644 Link Here
95819
-    DEFINES["NOMINMAX"] = True
96393
-    DEFINES["NOMINMAX"] = True
95820
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
96394
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
95821
-    DEFINES["PSAPI_VERSION"] = "2"
96395
-    DEFINES["PSAPI_VERSION"] = "2"
96396
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
95822
-    DEFINES["UNICODE"] = True
96397
-    DEFINES["UNICODE"] = True
95823
-    DEFINES["USE_AURA"] = "1"
96398
-    DEFINES["USE_AURA"] = "1"
95824
-    DEFINES["WEBRTC_WIN"] = True
96399
-    DEFINES["WEBRTC_WIN"] = True
Lines 95842-95847 index b91e518cabc7..495fb5b35f3d 100644 Link Here
95842
-    OS_LIBS += [
96417
-    OS_LIBS += [
95843
-        "crypt32",
96418
-        "crypt32",
95844
-        "d3d11",
96419
-        "d3d11",
96420
-        "dwmapi",
95845
-        "dxgi",
96421
-        "dxgi",
95846
-        "iphlpapi",
96422
-        "iphlpapi",
95847
-        "ole32",
96423
-        "ole32",
Lines 95878-95884 index b91e518cabc7..495fb5b35f3d 100644 Link Here
95878
 
96454
 
95879
     LOCAL_INCLUDES += [
96455
     LOCAL_INCLUDES += [
95880
         "/third_party/pipewire/"
96456
         "/third_party/pipewire/"
95881
@@ -180,7 +73,6 @@ if CONFIG["CPU_ARCH"] == "mips32":
96457
@@ -181,7 +73,6 @@ if CONFIG["CPU_ARCH"] == "mips32":
95882
 if CONFIG["CPU_ARCH"] == "mips64":
96458
 if CONFIG["CPU_ARCH"] == "mips64":
95883
 
96459
 
95884
     DEFINES["WEBRTC_USE_PIPEWIRE"] = True
96460
     DEFINES["WEBRTC_USE_PIPEWIRE"] = True
Lines 95886-95892 index b91e518cabc7..495fb5b35f3d 100644 Link Here
95886
 
96462
 
95887
     LOCAL_INCLUDES += [
96463
     LOCAL_INCLUDES += [
95888
         "/third_party/pipewire/"
96464
         "/third_party/pipewire/"
95889
@@ -189,32 +81,22 @@ if CONFIG["CPU_ARCH"] == "mips64":
96465
@@ -190,32 +81,22 @@ if CONFIG["CPU_ARCH"] == "mips64":
95890
 if CONFIG["CPU_ARCH"] == "x86":
96466
 if CONFIG["CPU_ARCH"] == "x86":
95891
 
96467
 
95892
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
96468
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
Lines 95929-95936 index b91e518cabc7..495fb5b35f3d 100644 Link Here
95929
 
96505
 
95930
     DEFINES["USE_X11"] = "1"
96506
     DEFINES["USE_X11"] = "1"
95931
 
96507
 
95932
@@ -229,53 +111,4 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
96508
@@ -229,53 +110,4 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
95933
         "Xtst"
96509
         "Xrender"
95934
     ]
96510
     ]
95935
 
96511
 
95936
-if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
96512
-if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Android":
(-)a/www/librewolf/files/patch-rust-1.73.0 (-83 lines)
Removed Link Here
1
From a79edf4cfc54aad30a5630b217645c4b8274d8f7 Mon Sep 17 00:00:00 2001
2
From: Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de>
3
Date: Mon, 10 Jul 2023 09:46:53 +0000
4
Subject: [PATCH] Stop using old-style `simd_shuffle`
5
6
---
7
 src/codegen/llvm.rs | 20 +++++++-------------
8
 1 file changed, 7 insertions(+), 13 deletions(-)
9
10
diff --git third_party/rust/packed_simd_2/src/codegen/llvm.rs third_party/rust/packed_simd_2/src/codegen/llvm.rs
11
index b4c09849..bb482fac 100644
12
--- third_party/rust/packed_simd_2/src/codegen/llvm.rs
13
+++ third_party/rust/packed_simd_2/src/codegen/llvm.rs
14
@@ -5,14 +5,8 @@ use crate::sealed::Shuffle;
15
 #[allow(unused_imports)] // FIXME: spurious warning?
16
 use crate::sealed::Simd;
17
 
18
-// Shuffle intrinsics: expanded in users' crates, therefore public.
19
 extern "platform-intrinsic" {
20
-    pub fn simd_shuffle2<T, U>(x: T, y: T, idx: [u32; 2]) -> U;
21
-    pub fn simd_shuffle4<T, U>(x: T, y: T, idx: [u32; 4]) -> U;
22
-    pub fn simd_shuffle8<T, U>(x: T, y: T, idx: [u32; 8]) -> U;
23
-    pub fn simd_shuffle16<T, U>(x: T, y: T, idx: [u32; 16]) -> U;
24
-    pub fn simd_shuffle32<T, U>(x: T, y: T, idx: [u32; 32]) -> U;
25
-    pub fn simd_shuffle64<T, U>(x: T, y: T, idx: [u32; 64]) -> U;
26
+    fn simd_shuffle<T, I, U>(x: T, y: T, idx: I) -> U;
27
 }
28
 
29
 #[allow(clippy::missing_safety_doc)]
30
@@ -22,7 +16,7 @@ where
31
     T: Simd,
32
     <T as Simd>::Element: Shuffle<[u32; 2], Output = U>,
33
 {
34
-    simd_shuffle2(x, y, IDX)
35
+    simd_shuffle(x, y, IDX)
36
 }
37
 
38
 #[allow(clippy::missing_safety_doc)]
39
@@ -32,7 +26,7 @@ where
40
     T: Simd,
41
     <T as Simd>::Element: Shuffle<[u32; 4], Output = U>,
42
 {
43
-    simd_shuffle4(x, y, IDX)
44
+    simd_shuffle(x, y, IDX)
45
 }
46
 
47
 #[allow(clippy::missing_safety_doc)]
48
@@ -42,7 +36,7 @@ where
49
     T: Simd,
50
     <T as Simd>::Element: Shuffle<[u32; 8], Output = U>,
51
 {
52
-    simd_shuffle8(x, y, IDX)
53
+    simd_shuffle(x, y, IDX)
54
 }
55
 
56
 #[allow(clippy::missing_safety_doc)]
57
@@ -52,7 +46,7 @@ where
58
     T: Simd,
59
     <T as Simd>::Element: Shuffle<[u32; 16], Output = U>,
60
 {
61
-    simd_shuffle16(x, y, IDX)
62
+    simd_shuffle(x, y, IDX)
63
 }
64
 
65
 #[allow(clippy::missing_safety_doc)]
66
@@ -62,7 +56,7 @@ where
67
     T: Simd,
68
     <T as Simd>::Element: Shuffle<[u32; 32], Output = U>,
69
 {
70
-    simd_shuffle32(x, y, IDX)
71
+    simd_shuffle(x, y, IDX)
72
 }
73
 
74
 #[allow(clippy::missing_safety_doc)]
75
@@ -72,7 +66,7 @@ where
76
     T: Simd,
77
     <T as Simd>::Element: Shuffle<[u32; 64], Output = U>,
78
 {
79
-    simd_shuffle64(x, y, IDX)
80
+    simd_shuffle(x, y, IDX)
81
 }
82
 
83
 extern "platform-intrinsic" {

Return to bug 275521