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

(-)b/www/librewolf/Makefile (-5 / +6 lines)
Lines 1-7 Link Here
1
PORTNAME=	librewolf
1
PORTNAME=	librewolf
2
DISTVERSION=	132.0.1
2
DISTVERSION=	133.0.3
3
DISTVERSIONSUFFIX=	-1.source
3
DISTVERSIONSUFFIX=	-1.source
4
PORTREVISION=	1
5
CATEGORIES=	www wayland
4
CATEGORIES=	www wayland
6
MASTER_SITES=	https://gitlab.com/api/v4/projects/32320088/packages/generic/${PORTNAME}-source/${DISTVERSION}-1/
5
MASTER_SITES=	https://gitlab.com/api/v4/projects/32320088/packages/generic/${PORTNAME}-source/${DISTVERSION}-1/
7
6
Lines 12-24 WWW= https://librewolf.net/ Link Here
12
LICENSE=	MPL20
11
LICENSE=	MPL20
13
LICENSE_FILE=	${WRKSRC}/LICENSE
12
LICENSE_FILE=	${WRKSRC}/LICENSE
14
13
14
BROKEN_armv7=	error: could not compile `gkrust` (lib)
15
15
BUILD_DEPENDS=	nspr>=4.32:devel/nspr \
16
BUILD_DEPENDS=	nspr>=4.32:devel/nspr \
16
		nss>=3.104:security/nss \
17
		nss>=3.106:security/nss \
17
		icu>=73.1:devel/icu \
18
		icu>=73.1:devel/icu \
18
		libevent>=2.1.8:devel/libevent \
19
		libevent>=2.1.8:devel/libevent \
19
		harfbuzz>=9.0.0:print/harfbuzz \
20
		harfbuzz>=10.0.1:print/harfbuzz \
20
		graphite2>=1.3.14:graphics/graphite2 \
21
		graphite2>=1.3.14:graphics/graphite2 \
21
		png>=1.6.43:graphics/png \
22
		png>=1.6.44:graphics/png \
22
		dav1d>=1.0.0:multimedia/dav1d \
23
		dav1d>=1.0.0:multimedia/dav1d \
23
		libvpx>=1.14.1:multimedia/libvpx \
24
		libvpx>=1.14.1:multimedia/libvpx \
24
		${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
25
		${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
(-)b/www/librewolf/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1731420003
1
TIMESTAMP = 1734131322
2
SHA256 (librewolf-132.0.1-1.source.tar.gz) = f86f40574ad33e2cb1c9f52921481fdcbcce9b0bd581603a295bd97ec47fe1fc
2
SHA256 (librewolf-133.0.3-1.source.tar.gz) = f3ed5c73c6e07fcff42d5006746aa3cb285b86014004f138b11f891d38878142
3
SIZE (librewolf-132.0.1-1.source.tar.gz) = 1043529738
3
SIZE (librewolf-133.0.3-1.source.tar.gz) = 943841753
(-)b/www/librewolf/files/firefox.desktop.in (+218 lines)
Added Link Here
1
[Desktop Entry]
2
Version=1.0
3
Name=Firefox Web Browser
4
Name[ar]=متصفح الويب فَيَرفُكْس
5
Name[ast]=Restolador web Firefox
6
Name[bn]=ফায়ারফক্স ওয়েব ব্রাউজার
7
Name[ca]=Navegador web Firefox
8
Name[cs]=Firefox Webový prohlížeč
9
Name[da]=Firefox - internetbrowser
10
Name[el]=Περιηγητής Firefox
11
Name[es]=Navegador web Firefox
12
Name[et]=Firefoxi veebibrauser
13
Name[fa]=مرورگر اینترنتی Firefox
14
Name[fi]=Firefox-selain
15
Name[fr]=Navigateur Web Firefox
16
Name[gl]=Navegador web Firefox
17
Name[he]=דפדפן האינטרנט Firefox
18
Name[hr]=Firefox web preglednik
19
Name[hu]=Firefox webböngésző
20
Name[it]=Firefox Browser Web
21
Name[ja]=Firefox ウェブ・ブラウザ
22
Name[ko]=Firefox 웹 브라우저
23
Name[ku]=Geroka torê Firefox
24
Name[lt]=Firefox interneto naršyklė
25
Name[nb]=Firefox Nettleser
26
Name[nl]=Firefox webbrowser
27
Name[nn]=Firefox Nettlesar
28
Name[no]=Firefox Nettleser
29
Name[pl]=Przeglądarka WWW Firefox
30
Name[pt]=Firefox Navegador Web
31
Name[pt_BR]=Navegador Web Firefox
32
Name[ro]=Firefox – Navigator Internet
33
Name[ru]=Веб-браузер Firefox
34
Name[sk]=Firefox - internetový prehliadač
35
Name[sl]=Firefox spletni brskalnik
36
Name[sv]=Firefox webbläsare
37
Name[tr]=Firefox Web Tarayıcısı
38
Name[ug]=Firefox توركۆرگۈ
39
Name[uk]=Веб-браузер Firefox
40
Name[vi]=Trình duyệt web Firefox
41
Name[zh_CN]=Firefox 网络浏览器
42
Name[zh_TW]=Firefox 網路瀏覽器
43
Comment=Browse the World Wide Web
44
Comment[ar]=تصفح الشبكة العنكبوتية العالمية
45
Comment[ast]=Restola pela Rede
46
Comment[bn]=ইন্টারনেট ব্রাউজ করুন
47
Comment[ca]=Navegueu per la web
48
Comment[cs]=Prohlížení stránek World Wide Webu
49
Comment[da]=Surf på internettet
50
Comment[de]=Im Internet surfen
51
Comment[el]=Μπορείτε να περιηγηθείτε στο διαδίκτυο (Web)
52
Comment[es]=Navegue por la web
53
Comment[et]=Lehitse veebi
54
Comment[fa]=صفحات شبکه جهانی اینترنت را مرور نمایید
55
Comment[fi]=Selaa Internetin WWW-sivuja
56
Comment[fr]=Naviguer sur le Web
57
Comment[gl]=Navegar pola rede
58
Comment[he]=גלישה ברחבי האינטרנט
59
Comment[hr]=Pretražite web
60
Comment[hu]=A világháló böngészése
61
Comment[it]=Esplora il web
62
Comment[ja]=ウェブを閲覧します
63
Comment[ko]=웹을 돌아 다닙니다
64
Comment[ku]=Li torê bigere
65
Comment[lt]=Naršykite internete
66
Comment[nb]=Surf på nettet
67
Comment[nl]=Verken het internet
68
Comment[nn]=Surf på nettet
69
Comment[no]=Surf på nettet
70
Comment[pl]=Przeglądanie stron WWW
71
Comment[pt]=Navegue na Internet
72
Comment[pt_BR]=Navegue na Internet
73
Comment[ro]=Navigați pe Internet
74
Comment[ru]=Доступ в Интернет
75
Comment[sk]=Prehliadanie internetu
76
Comment[sl]=Brskajte po spletu
77
Comment[sv]=Surfa på webben
78
Comment[tr]=İnternet'te Gezinin
79
Comment[ug]=دۇنيادىكى توربەتلەرنى كۆرگىلى بولىدۇ
80
Comment[uk]=Перегляд сторінок Інтернету
81
Comment[vi]=Để duyệt các trang web
82
Comment[zh_CN]=浏览互联网
83
Comment[zh_TW]=瀏覽網際網路
84
GenericName=Web Browser
85
GenericName[ar]=متصفح ويب
86
GenericName[ast]=Restolador Web
87
GenericName[bn]=ওয়েব ব্রাউজার
88
GenericName[ca]=Navegador web
89
GenericName[cs]=Webový prohlížeč
90
GenericName[da]=Webbrowser
91
GenericName[el]=Περιηγητής διαδικτύου
92
GenericName[es]=Navegador web
93
GenericName[et]=Veebibrauser
94
GenericName[fa]=مرورگر اینترنتی
95
GenericName[fi]=WWW-selain
96
GenericName[fr]=Navigateur Web
97
GenericName[gl]=Navegador Web
98
GenericName[he]=דפדפן אינטרנט
99
GenericName[hr]=Web preglednik
100
GenericName[hu]=Webböngésző
101
GenericName[it]=Browser web
102
GenericName[ja]=ウェブ・ブラウザ
103
GenericName[ko]=웹 브라우저
104
GenericName[ku]=Geroka torê
105
GenericName[lt]=Interneto naršyklė
106
GenericName[nb]=Nettleser
107
GenericName[nl]=Webbrowser
108
GenericName[nn]=Nettlesar
109
GenericName[no]=Nettleser
110
GenericName[pl]=Przeglądarka WWW
111
GenericName[pt]=Navegador Web
112
GenericName[pt_BR]=Navegador Web
113
GenericName[ro]=Navigator Internet
114
GenericName[ru]=Веб-браузер
115
GenericName[sk]=Internetový prehliadač
116
GenericName[sl]=Spletni brskalnik
117
GenericName[sv]=Webbläsare
118
GenericName[tr]=Web Tarayıcı
119
GenericName[ug]=توركۆرگۈ
120
GenericName[uk]=Веб-браузер
121
GenericName[vi]=Trình duyệt Web
122
GenericName[zh_CN]=网络浏览器
123
GenericName[zh_TW]=網路瀏覽器
124
Keywords=Internet;WWW;Browser;Web;Explorer
125
Keywords[ar]=انترنت;إنترنت;متصفح;ويب;وب
126
Keywords[ast]=Internet;WWW;Restolador;Web;Esplorador
127
Keywords[ca]=Internet;WWW;Navegador;Web;Explorador;Explorer
128
Keywords[cs]=Internet;WWW;Prohlížeč;Web;Explorer
129
Keywords[da]=Internet;Internettet;WWW;Browser;Browse;Web;Surf;Nettet
130
Keywords[de]=Internet;WWW;Browser;Web;Explorer;Webseite;Site;surfen;online;browsen
131
Keywords[el]=Internet;WWW;Browser;Web;Explorer;Διαδίκτυο;Περιηγητής;Firefox;Φιρεφοχ;Ιντερνετ
132
Keywords[es]=Explorador;Internet;WWW
133
Keywords[fi]=Internet;WWW;Browser;Web;Explorer;selain;Internet-selain;internetselain;verkkoselain;netti;surffaa
134
Keywords[fr]=Internet;WWW;Browser;Web;Explorer;Fureteur;Surfer;Navigateur
135
Keywords[he]=דפדפן;אינטרנט;רשת;אתרים;אתר;פיירפוקס;מוזילה;
136
Keywords[hr]=Internet;WWW;preglednik;Web
137
Keywords[hu]=Internet;WWW;Böngésző;Web;Háló;Net;Explorer
138
Keywords[it]=Internet;WWW;Browser;Web;Navigatore
139
Keywords[is]=Internet;WWW;Vafri;Vefur;Netvafri;Flakk
140
Keywords[ja]=Internet;WWW;Web;インターネット;ブラウザ;ウェブ;エクスプローラ
141
Keywords[nb]=Internett;WWW;Nettleser;Explorer;Web;Browser;Nettside
142
Keywords[nl]=Internet;WWW;Browser;Web;Explorer;Verkenner;Website;Surfen;Online
143
Keywords[pt]=Internet;WWW;Browser;Web;Explorador;Navegador
144
Keywords[pt_BR]=Internet;WWW;Browser;Web;Explorador;Navegador
145
Keywords[ru]=Internet;WWW;Browser;Web;Explorer;интернет;браузер;веб;файрфокс;огнелис
146
Keywords[sk]=Internet;WWW;Prehliadač;Web;Explorer
147
Keywords[sl]=Internet;WWW;Browser;Web;Explorer;Brskalnik;Splet
148
Keywords[tr]=İnternet;WWW;Tarayıcı;Web;Gezgin;Web sitesi;Site;sörf;çevrimiçi;tara
149
Keywords[uk]=Internet;WWW;Browser;Web;Explorer;Інтернет;мережа;переглядач;оглядач;браузер;веб;файрфокс;вогнелис;перегляд
150
Keywords[vi]=Internet;WWW;Browser;Web;Explorer;Trình duyệt;Trang web
151
Keywords[zh_CN]=Internet;WWW;Browser;Web;Explorer;网页;浏览;上网;火狐;Firefox;ff;互联网;网站;
152
Keywords[zh_TW]=Internet;WWW;Browser;Web;Explorer;網際網路;網路;瀏覽器;上網;網頁;火狐
153
Exec=@MOZILLA@ %U
154
Terminal=false
155
Type=Application
156
Icon=@FIREFOX_ICON@
157
Categories=GNOME;GTK;Network;WebBrowser;
158
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
159
StartupNotify=true
160
Actions=NewWindow;NewPrivateWindow;
161
162
[Desktop Action NewWindow]
163
Name=Open a New Window
164
Name[ar]=افتح نافذة جديدة
165
Name[ast]=Abrir una ventana nueva
166
Name[bn]=Abrir una ventana nueva
167
Name[ca]=Obre una finestra nova
168
Name[cs]=Otevřít nové okno
169
Name[da]=Åbn et nyt vindue
170
Name[de]=Ein neues Fenster öffnen
171
Name[el]=Άνοιγμα νέου παραθύρου
172
Name[es]=Abrir una ventana nueva
173
Name[fi]=Avaa uusi ikkuna
174
Name[fr]=Ouvrir une nouvelle fenêtre
175
Name[gl]=Abrir unha nova xanela
176
Name[he]=פתיחת חלון חדש
177
Name[hr]=Otvori novi prozor
178
Name[hu]=Új ablak nyitása
179
Name[it]=Apri una nuova finestra
180
Name[ja]=新しいウィンドウを開く
181
Name[ko]=새 창 열기
182
Name[ku]=Paceyeke nû veke
183
Name[lt]=Atverti naują langą
184
Name[nb]=Åpne et nytt vindu
185
Name[nl]=Nieuw venster openen
186
Name[pt]=Abrir nova janela
187
Name[pt_BR]=Abrir nova janela
188
Name[ro]=Deschide o fereastră nouă
189
Name[ru]=Новое окно
190
Name[sk]=Otvoriť nové okno
191
Name[sl]=Odpri novo okno
192
Name[sv]=Öppna ett nytt fönster
193
Name[tr]=Yeni pencere aç
194
Name[ug]=يېڭى كۆزنەك ئېچىش
195
Name[uk]=Відкрити нове вікно
196
Name[vi]=Mở cửa sổ mới
197
Name[zh_CN]=新建窗口
198
Name[zh_TW]=開啟新視窗
199
Exec=@MOZILLA@ -new-window
200
201
[Desktop Action NewPrivateWindow]
202
Name=Open a New Private Window
203
Name[ar]=افتح نافذة جديدة للتصفح الخاص
204
Name[ca]=Obre una finestra nova en mode d'incògnit
205
Name[de]=Ein neues privates Fenster öffnen
206
Name[es]=Abrir una ventana privada nueva
207
Name[fi]=Avaa uusi yksityinen ikkuna
208
Name[fr]=Ouvrir une nouvelle fenêtre de navigation privée
209
Name[he]=פתיחת חלון גלישה פרטית חדש
210
Name[hu]=Új privát ablak nyitása
211
Name[it]=Apri una nuova finestra anonima
212
Name[nb]=Åpne et nytt privat vindu
213
Name[ru]=Новое приватное окно
214
Name[sl]=Odpri novo okno zasebnega brskanja
215
Name[tr]=Yeni bir pencere aç
216
Name[uk]=Відкрити нове вікно у потайливому режимі
217
Name[zh_TW]=開啟新隱私瀏覽視窗
218
Exec=@MOZILLA@ -private-window
(-)b/www/librewolf/files/patch-ipc_glue_SharedMemory__posix.cpp (+21 lines)
Added Link Here
1
commit bdd68dbe8130dcddde28581939ac50542f0b07ad
2
Author: Christoph Moench-Tegeder <cmt@FreeBSD.org>
3
4
    FreeBSD does not have MAP_NORESERVE
5
6
diff --git ipc/glue/SharedMemory_posix.cpp ipc/glue/SharedMemory_posix.cpp
7
index 73aaff1246c2..5ba7624f584d 100644
8
--- ipc/glue/SharedMemory_posix.cpp
9
+++ ipc/glue/SharedMemory_posix.cpp
10
@@ -62,7 +62,11 @@ SharedMemory::Handle SharedMemory::CloneHandle(const Handle& aHandle) {
11
 
12
 void* SharedMemory::FindFreeAddressSpace(size_t size) {
13
   void* memory = mmap(nullptr, size, PROT_NONE,
14
+#ifdef __FreeBSD__
15
+                      MAP_ANONYMOUS | MAP_PRIVATE, -1, 0);
16
+#else
17
                       MAP_ANONYMOUS | MAP_NORESERVE | MAP_PRIVATE, -1, 0);
18
+#endif
19
   if (memory == MAP_FAILED) {
20
     return nullptr;
21
   }
(-)b/www/librewolf/files/patch-libwebrtc-generated (-7358 / +2820 lines)
Lines 1-10 Link Here
1
commit 92b3c1de6620a3031f08835ef1d374b60fb46a2c
1
commit e54d742b072c32d3289d1a99c6c2d71aecf7a3ea
2
Author: Christoph Moench-Tegeder <cmt@FreeBSD.org>
2
Author: Christoph Moench-Tegeder <cmt@FreeBSD.org>
3
3
4
    regenerate FreeBSD libwebrtc patch for Firefox 132
4
    regenerate FreeBSD libwebrtc patch for Firefox 133
5
5
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
6
diff --git third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
7
index 2dbd5881583e..332ca04819ee 100644
7
index a80e5f32ade2..d5a2be24fcbe 100644
8
--- third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
8
--- third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
9
+++ third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
9
+++ third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
10
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
10
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 215-221 index 2dbd5881583e..332ca04819ee 100644 Link Here
215
 
215
 
216
 Library("resource_adaptation_api_gn")
216
 Library("resource_adaptation_api_gn")
217
diff --git third_party/libwebrtc/api/array_view_gn/moz.build third_party/libwebrtc/api/array_view_gn/moz.build
217
diff --git third_party/libwebrtc/api/array_view_gn/moz.build third_party/libwebrtc/api/array_view_gn/moz.build
218
index df2c86715cac..6c4e403f6dc1 100644
218
index 25221b2af745..dfc948eba91e 100644
219
--- third_party/libwebrtc/api/array_view_gn/moz.build
219
--- third_party/libwebrtc/api/array_view_gn/moz.build
220
+++ third_party/libwebrtc/api/array_view_gn/moz.build
220
+++ third_party/libwebrtc/api/array_view_gn/moz.build
221
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
221
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 406-412 index df2c86715cac..6c4e403f6dc1 100644 Link Here
406
-
406
-
407
 Library("array_view_gn")
407
 Library("array_view_gn")
408
diff --git third_party/libwebrtc/api/async_dns_resolver_gn/moz.build third_party/libwebrtc/api/async_dns_resolver_gn/moz.build
408
diff --git third_party/libwebrtc/api/async_dns_resolver_gn/moz.build third_party/libwebrtc/api/async_dns_resolver_gn/moz.build
409
index 4d678a1de7c9..e163a7c1f440 100644
409
index bf95db7b24ed..d4e55fe55732 100644
410
--- third_party/libwebrtc/api/async_dns_resolver_gn/moz.build
410
--- third_party/libwebrtc/api/async_dns_resolver_gn/moz.build
411
+++ third_party/libwebrtc/api/async_dns_resolver_gn/moz.build
411
+++ third_party/libwebrtc/api/async_dns_resolver_gn/moz.build
412
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
412
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 605-611 index 4d678a1de7c9..e163a7c1f440 100644 Link Here
605
-
605
-
606
 Library("async_dns_resolver_gn")
606
 Library("async_dns_resolver_gn")
607
diff --git third_party/libwebrtc/api/audio/aec3_config_gn/moz.build third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
607
diff --git third_party/libwebrtc/api/audio/aec3_config_gn/moz.build third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
608
index cbd6f2e6f0d5..3bfa575693b2 100644
608
index 2c964a4fd025..f6f8fff6e3bc 100644
609
--- third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
609
--- third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
610
+++ third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
610
+++ third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
611
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
611
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 816-822 index cbd6f2e6f0d5..3bfa575693b2 100644 Link Here
816
 
816
 
817
 Library("aec3_config_gn")
817
 Library("aec3_config_gn")
818
diff --git third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
818
diff --git third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
819
index 746585483f96..33ea9b79d47b 100644
819
index e02b226aca7f..744e4c8aa0de 100644
820
--- third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
820
--- third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
821
+++ third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
821
+++ third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
822
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
822
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
Lines 1039-1045 index 746585483f96..33ea9b79d47b 100644 Link Here
1039
 
1039
 
1040
 Library("aec3_factory_gn")
1040
 Library("aec3_factory_gn")
1041
diff --git third_party/libwebrtc/api/audio/audio_device_gn/moz.build third_party/libwebrtc/api/audio/audio_device_gn/moz.build
1041
diff --git third_party/libwebrtc/api/audio/audio_device_gn/moz.build third_party/libwebrtc/api/audio/audio_device_gn/moz.build
1042
index 9609692094c1..f0da29e5d200 100644
1042
index 0fc7d750796a..9f6439e12a20 100644
1043
--- third_party/libwebrtc/api/audio/audio_device_gn/moz.build
1043
--- third_party/libwebrtc/api/audio/audio_device_gn/moz.build
1044
+++ third_party/libwebrtc/api/audio/audio_device_gn/moz.build
1044
+++ third_party/libwebrtc/api/audio/audio_device_gn/moz.build
1045
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
1045
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 1230-1236 index 9609692094c1..f0da29e5d200 100644 Link Here
1230
-
1230
-
1231
 Library("audio_device_gn")
1231
 Library("audio_device_gn")
1232
diff --git third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
1232
diff --git third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
1233
index e2561db08f06..59da7761dd35 100644
1233
index c0e06e7a7865..ca8fc7db5049 100644
1234
--- third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
1234
--- third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
1235
+++ third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
1235
+++ third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
1236
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
1236
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 1448-1454 index e2561db08f06..59da7761dd35 100644 Link Here
1448
 
1448
 
1449
 Library("audio_frame_api_gn")
1449
 Library("audio_frame_api_gn")
1450
diff --git third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build
1450
diff --git third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build
1451
index 7dd1c4b91100..960b60c3311c 100644
1451
index bc6ea25161c1..d586a04ef2ba 100644
1452
--- third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build
1452
--- third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build
1453
+++ third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build
1453
+++ third_party/libwebrtc/api/audio/audio_frame_processor_gn/moz.build
1454
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
1454
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 1635-1641 index 7dd1c4b91100..960b60c3311c 100644 Link Here
1635
-
1635
-
1636
 Library("audio_frame_processor_gn")
1636
 Library("audio_frame_processor_gn")
1637
diff --git third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build
1637
diff --git third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build
1638
index 36d43783a3e7..fd0111ba0ffd 100644
1638
index cedd56ac791e..7d5115f48657 100644
1639
--- third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build
1639
--- third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build
1640
+++ third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build
1640
+++ third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build
1641
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
1641
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 1833-1839 index 36d43783a3e7..fd0111ba0ffd 100644 Link Here
1833
-
1833
-
1834
 Library("audio_mixer_api_gn")
1834
 Library("audio_mixer_api_gn")
1835
diff --git third_party/libwebrtc/api/audio/audio_processing_gn/moz.build third_party/libwebrtc/api/audio/audio_processing_gn/moz.build
1835
diff --git third_party/libwebrtc/api/audio/audio_processing_gn/moz.build third_party/libwebrtc/api/audio/audio_processing_gn/moz.build
1836
index 7226d2a92a40..c60a400c218b 100644
1836
index 10ae1f65fa9c..e4ababb74a87 100644
1837
--- third_party/libwebrtc/api/audio/audio_processing_gn/moz.build
1837
--- third_party/libwebrtc/api/audio/audio_processing_gn/moz.build
1838
+++ third_party/libwebrtc/api/audio/audio_processing_gn/moz.build
1838
+++ third_party/libwebrtc/api/audio/audio_processing_gn/moz.build
1839
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
1839
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 2044-2050 index 7226d2a92a40..c60a400c218b 100644 Link Here
2044
 
2044
 
2045
 Library("audio_processing_gn")
2045
 Library("audio_processing_gn")
2046
diff --git third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build
2046
diff --git third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build
2047
index d7629659d6ba..cb69c23840a0 100644
2047
index 061ff48b8485..3ee36df68faa 100644
2048
--- third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build
2048
--- third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build
2049
+++ third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build
2049
+++ third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build
2050
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
2050
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 2251-2257 index d7629659d6ba..cb69c23840a0 100644 Link Here
2251
 
2251
 
2252
 Library("audio_processing_statistics_gn")
2252
 Library("audio_processing_statistics_gn")
2253
diff --git third_party/libwebrtc/api/audio/echo_control_gn/moz.build third_party/libwebrtc/api/audio/echo_control_gn/moz.build
2253
diff --git third_party/libwebrtc/api/audio/echo_control_gn/moz.build third_party/libwebrtc/api/audio/echo_control_gn/moz.build
2254
index 06f43e765114..6c06b87bcfe3 100644
2254
index f1cfe20bed12..a373bec2722f 100644
2255
--- third_party/libwebrtc/api/audio/echo_control_gn/moz.build
2255
--- third_party/libwebrtc/api/audio/echo_control_gn/moz.build
2256
+++ third_party/libwebrtc/api/audio/echo_control_gn/moz.build
2256
+++ third_party/libwebrtc/api/audio/echo_control_gn/moz.build
2257
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
2257
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 2442-2448 index 06f43e765114..6c06b87bcfe3 100644 Link Here
2442
-
2442
-
2443
 Library("echo_control_gn")
2443
 Library("echo_control_gn")
2444
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
2444
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
2445
index 5811f4d9321b..0f11017e2f6c 100644
2445
index ff6ba51fed82..7c35bd52175d 100644
2446
--- third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build
2446
--- third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build
2447
+++ third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build
2447
+++ third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build
2448
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
2448
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 2660-2666 index 5811f4d9321b..0f11017e2f6c 100644 Link Here
2660
 
2660
 
2661
 Library("audio_decoder_L16_gn")
2661
 Library("audio_decoder_L16_gn")
2662
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
2662
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
2663
index f4fb06ef3f09..90113fd85d92 100644
2663
index 50f39677700f..2716e3c6cda0 100644
2664
--- third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build
2664
--- third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build
2665
+++ third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build
2665
+++ third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build
2666
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
2666
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 2878-2884 index f4fb06ef3f09..90113fd85d92 100644 Link Here
2878
 
2878
 
2879
 Library("audio_encoder_L16_gn")
2879
 Library("audio_encoder_L16_gn")
2880
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
2880
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
2881
index faed7e9b0f61..84835da8965c 100644
2881
index 66899306c2b9..7016bab07db9 100644
2882
--- third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build
2882
--- third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build
2883
+++ third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build
2883
+++ third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build
2884
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
2884
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 3096-3102 index faed7e9b0f61..84835da8965c 100644 Link Here
3096
 
3096
 
3097
 Library("audio_codecs_api_gn")
3097
 Library("audio_codecs_api_gn")
3098
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
3098
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
3099
index 5de9c2960769..a0d91297b550 100644
3099
index 235eb30debda..56c2a57b2191 100644
3100
--- third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build
3100
--- third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build
3101
+++ third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build
3101
+++ third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build
3102
@@ -12,13 +12,23 @@ AllowCompilerWarnings()
3102
@@ -12,13 +12,23 @@ AllowCompilerWarnings()
Lines 3320-3326 index 5de9c2960769..a0d91297b550 100644 Link Here
3320
 
3320
 
3321
 Library("builtin_audio_decoder_factory_gn")
3321
 Library("builtin_audio_decoder_factory_gn")
3322
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
3322
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
3323
index 5ff7dfd0ffd4..334acbe7d342 100644
3323
index d6edc362eb2f..853f9ffd51f5 100644
3324
--- third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build
3324
--- third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build
3325
+++ third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build
3325
+++ third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build
3326
@@ -12,13 +12,23 @@ AllowCompilerWarnings()
3326
@@ -12,13 +12,23 @@ AllowCompilerWarnings()
Lines 3544-3550 index 5ff7dfd0ffd4..334acbe7d342 100644 Link Here
3544
 
3544
 
3545
 Library("builtin_audio_encoder_factory_gn")
3545
 Library("builtin_audio_encoder_factory_gn")
3546
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
3546
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
3547
index e1c8fa6a08bc..7799b83b91bb 100644
3547
index cd6f3fcf496e..47a87bc850e2 100644
3548
--- third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build
3548
--- third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build
3549
+++ third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build
3549
+++ third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build
3550
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
3550
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 3762-3768 index e1c8fa6a08bc..7799b83b91bb 100644 Link Here
3762
 
3762
 
3763
 Library("audio_decoder_g711_gn")
3763
 Library("audio_decoder_g711_gn")
3764
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
3764
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
3765
index 39513d15b310..aff5480ad0b3 100644
3765
index 88ab3c83b6d4..0374f235d934 100644
3766
--- third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build
3766
--- third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build
3767
+++ third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build
3767
+++ third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build
3768
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
3768
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 3980-3986 index 39513d15b310..aff5480ad0b3 100644 Link Here
3980
 
3980
 
3981
 Library("audio_encoder_g711_gn")
3981
 Library("audio_encoder_g711_gn")
3982
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
3982
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
3983
index cf9228dcab3c..7eb3130288e3 100644
3983
index 033fdb4bb6e2..ce0b3b836f08 100644
3984
--- third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build
3984
--- third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build
3985
+++ third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build
3985
+++ third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build
3986
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
3986
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 4198-4204 index cf9228dcab3c..7eb3130288e3 100644 Link Here
4198
 
4198
 
4199
 Library("audio_decoder_g722_gn")
4199
 Library("audio_decoder_g722_gn")
4200
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
4200
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
4201
index 3b1a814ac7b2..048ddee2cbdb 100644
4201
index ecb9b406a256..9057ccf0945f 100644
4202
--- third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build
4202
--- third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build
4203
+++ third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build
4203
+++ third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build
4204
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
4204
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 4396-4402 index 3b1a814ac7b2..048ddee2cbdb 100644 Link Here
4396
-
4396
-
4397
 Library("audio_encoder_g722_config_gn")
4397
 Library("audio_encoder_g722_config_gn")
4398
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
4398
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
4399
index 57bdfeaf74c0..f04086fa4375 100644
4399
index cd28eb346570..12e0041653f5 100644
4400
--- third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build
4400
--- third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build
4401
+++ third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build
4401
+++ third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build
4402
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
4402
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 4614-4620 index 57bdfeaf74c0..f04086fa4375 100644 Link Here
4614
 
4614
 
4615
 Library("audio_encoder_g722_gn")
4615
 Library("audio_encoder_g722_gn")
4616
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
4616
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
4617
index ae2d4f5dc9b4..8d5eb0cadc34 100644
4617
index e259a3b72e60..94a1aa4045ad 100644
4618
--- third_party/libwebrtc/api/audio_codecs/ilbc/audio_decoder_ilbc_gn/moz.build
4618
--- third_party/libwebrtc/api/audio_codecs/ilbc/audio_decoder_ilbc_gn/moz.build
4619
+++ third_party/libwebrtc/api/audio_codecs/ilbc/audio_decoder_ilbc_gn/moz.build
4619
+++ third_party/libwebrtc/api/audio_codecs/ilbc/audio_decoder_ilbc_gn/moz.build
4620
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
4620
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 4836-4842 index ae2d4f5dc9b4..8d5eb0cadc34 100644 Link Here
4836
 
4836
 
4837
 Library("audio_decoder_ilbc_gn")
4837
 Library("audio_decoder_ilbc_gn")
4838
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
4838
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
4839
index 2ec1c97ea240..ee5d451c740d 100644
4839
index cfa532092195..fe0de702eccb 100644
4840
--- third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_config_gn/moz.build
4840
--- third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_config_gn/moz.build
4841
+++ third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_config_gn/moz.build
4841
+++ third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_config_gn/moz.build
4842
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
4842
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 5023-5029 index 2ec1c97ea240..ee5d451c740d 100644 Link Here
5023
-
5023
-
5024
 Library("audio_encoder_ilbc_config_gn")
5024
 Library("audio_encoder_ilbc_config_gn")
5025
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
5025
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
5026
index ff9d947abb85..cdb5435b0bf3 100644
5026
index 87b566eb9c63..1213d0c86e02 100644
5027
--- third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_gn/moz.build
5027
--- third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_gn/moz.build
5028
+++ third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_gn/moz.build
5028
+++ third_party/libwebrtc/api/audio_codecs/ilbc/audio_encoder_ilbc_gn/moz.build
5029
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
5029
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 5245-5251 index ff9d947abb85..cdb5435b0bf3 100644 Link Here
5245
 
5245
 
5246
 Library("audio_encoder_ilbc_gn")
5246
 Library("audio_encoder_ilbc_gn")
5247
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
5247
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
5248
index 06926f2550c6..3bb8979209c8 100644
5248
index 728c782d1ad9..0d6256e50300 100644
5249
--- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build
5249
--- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build
5250
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build
5250
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build
5251
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
5251
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 5463-5469 index 06926f2550c6..3bb8979209c8 100644 Link Here
5463
 
5463
 
5464
 Library("audio_decoder_multiopus_gn")
5464
 Library("audio_decoder_multiopus_gn")
5465
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
5465
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
5466
index a40417692306..11dc887d7856 100644
5466
index c27e08d89ca7..09419763690d 100644
5467
--- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build
5467
--- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build
5468
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build
5468
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build
5469
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
5469
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 5661-5667 index a40417692306..11dc887d7856 100644 Link Here
5661
-
5661
-
5662
 Library("audio_decoder_opus_config_gn")
5662
 Library("audio_decoder_opus_config_gn")
5663
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
5663
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
5664
index a52b290d08bc..191d27589e54 100644
5664
index d6fe84b97bcc..6c61258e2290 100644
5665
--- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build
5665
--- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build
5666
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build
5666
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build
5667
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
5667
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 5883-5889 index a52b290d08bc..191d27589e54 100644 Link Here
5883
 
5883
 
5884
 Library("audio_decoder_opus_gn")
5884
 Library("audio_decoder_opus_gn")
5885
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
5885
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
5886
index 1847aa9f2334..b1a86854c6cd 100644
5886
index 15d75c1a6da3..1961637772fd 100644
5887
--- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build
5887
--- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build
5888
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build
5888
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build
5889
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
5889
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 6101-6107 index 1847aa9f2334..b1a86854c6cd 100644 Link Here
6101
 
6101
 
6102
 Library("audio_encoder_multiopus_gn")
6102
 Library("audio_encoder_multiopus_gn")
6103
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
6103
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
6104
index b4ed20ad8589..220221aeeed4 100644
6104
index f0b9b2ddb3fe..c9b0fbf804e7 100644
6105
--- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build
6105
--- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build
6106
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build
6106
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build
6107
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
6107
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
Lines 6309-6315 index b4ed20ad8589..220221aeeed4 100644 Link Here
6309
 
6309
 
6310
 Library("audio_encoder_opus_config_gn")
6310
 Library("audio_encoder_opus_config_gn")
6311
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
6311
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
6312
index dc73c7abc386..b76dd0fcc777 100644
6312
index e2fb4d316a84..5b65a29e09f3 100644
6313
--- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build
6313
--- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build
6314
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build
6314
+++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build
6315
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
6315
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 6531-6537 index dc73c7abc386..b76dd0fcc777 100644 Link Here
6531
 
6531
 
6532
 Library("audio_encoder_opus_gn")
6532
 Library("audio_encoder_opus_gn")
6533
diff --git third_party/libwebrtc/api/audio_options_api_gn/moz.build third_party/libwebrtc/api/audio_options_api_gn/moz.build
6533
diff --git third_party/libwebrtc/api/audio_options_api_gn/moz.build third_party/libwebrtc/api/audio_options_api_gn/moz.build
6534
index 974d1dbdf2c7..90ca4ab68ba8 100644
6534
index 9cddf47802bc..77615a363884 100644
6535
--- third_party/libwebrtc/api/audio_options_api_gn/moz.build
6535
--- third_party/libwebrtc/api/audio_options_api_gn/moz.build
6536
+++ third_party/libwebrtc/api/audio_options_api_gn/moz.build
6536
+++ third_party/libwebrtc/api/audio_options_api_gn/moz.build
6537
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
6537
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 6742-6748 index 974d1dbdf2c7..90ca4ab68ba8 100644 Link Here
6742
 
6742
 
6743
 Library("audio_options_api_gn")
6743
 Library("audio_options_api_gn")
6744
diff --git third_party/libwebrtc/api/bitrate_allocation_gn/moz.build third_party/libwebrtc/api/bitrate_allocation_gn/moz.build
6744
diff --git third_party/libwebrtc/api/bitrate_allocation_gn/moz.build third_party/libwebrtc/api/bitrate_allocation_gn/moz.build
6745
index 500eff54bbfd..a1f84da5a485 100644
6745
index a5170774bd1c..4fa8cc90205e 100644
6746
--- third_party/libwebrtc/api/bitrate_allocation_gn/moz.build
6746
--- third_party/libwebrtc/api/bitrate_allocation_gn/moz.build
6747
+++ third_party/libwebrtc/api/bitrate_allocation_gn/moz.build
6747
+++ third_party/libwebrtc/api/bitrate_allocation_gn/moz.build
6748
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
6748
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 6933-6939 index 500eff54bbfd..a1f84da5a485 100644 Link Here
6933
-
6933
-
6934
 Library("bitrate_allocation_gn")
6934
 Library("bitrate_allocation_gn")
6935
diff --git third_party/libwebrtc/api/call_api_gn/moz.build third_party/libwebrtc/api/call_api_gn/moz.build
6935
diff --git third_party/libwebrtc/api/call_api_gn/moz.build third_party/libwebrtc/api/call_api_gn/moz.build
6936
index 372f0888fbba..86c73a9fd726 100644
6936
index 439d2b44318b..bef49364775e 100644
6937
--- third_party/libwebrtc/api/call_api_gn/moz.build
6937
--- third_party/libwebrtc/api/call_api_gn/moz.build
6938
+++ third_party/libwebrtc/api/call_api_gn/moz.build
6938
+++ third_party/libwebrtc/api/call_api_gn/moz.build
6939
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
6939
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 7120-7126 index 372f0888fbba..86c73a9fd726 100644 Link Here
7120
-
7120
-
7121
 Library("call_api_gn")
7121
 Library("call_api_gn")
7122
diff --git third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build
7122
diff --git third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build
7123
index 2a9b6d96dd75..c032ee4fe916 100644
7123
index 8c4ad8dd1ec2..fd90602736ac 100644
7124
--- third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build
7124
--- third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build
7125
+++ third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build
7125
+++ third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build
7126
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
7126
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 7311-7317 index 2a9b6d96dd75..c032ee4fe916 100644 Link Here
7311
-
7311
-
7312
 Library("frame_decryptor_interface_gn")
7312
 Library("frame_decryptor_interface_gn")
7313
diff --git third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build
7313
diff --git third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build
7314
index f1716e6b6267..7d3b6bae0048 100644
7314
index b3d5fc80f2dc..494bb25a7ab9 100644
7315
--- third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build
7315
--- third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build
7316
+++ third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build
7316
+++ third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build
7317
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
7317
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 7502-7508 index f1716e6b6267..7d3b6bae0048 100644 Link Here
7502
-
7502
-
7503
 Library("frame_encryptor_interface_gn")
7503
 Library("frame_encryptor_interface_gn")
7504
diff --git third_party/libwebrtc/api/crypto/options_gn/moz.build third_party/libwebrtc/api/crypto/options_gn/moz.build
7504
diff --git third_party/libwebrtc/api/crypto/options_gn/moz.build third_party/libwebrtc/api/crypto/options_gn/moz.build
7505
index a9e9b0cd9473..5726c9c835be 100644
7505
index 5ce60513e9dd..02635946fe38 100644
7506
--- third_party/libwebrtc/api/crypto/options_gn/moz.build
7506
--- third_party/libwebrtc/api/crypto/options_gn/moz.build
7507
+++ third_party/libwebrtc/api/crypto/options_gn/moz.build
7507
+++ third_party/libwebrtc/api/crypto/options_gn/moz.build
7508
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
7508
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 7713-7719 index a9e9b0cd9473..5726c9c835be 100644 Link Here
7713
 
7713
 
7714
 Library("options_gn")
7714
 Library("options_gn")
7715
diff --git third_party/libwebrtc/api/environment/environment_factory_gn/moz.build third_party/libwebrtc/api/environment/environment_factory_gn/moz.build
7715
diff --git third_party/libwebrtc/api/environment/environment_factory_gn/moz.build third_party/libwebrtc/api/environment/environment_factory_gn/moz.build
7716
index 9388642ab5e6..2a4db566b430 100644
7716
index dfb310b07831..30fb8a32856a 100644
7717
--- third_party/libwebrtc/api/environment/environment_factory_gn/moz.build
7717
--- third_party/libwebrtc/api/environment/environment_factory_gn/moz.build
7718
+++ third_party/libwebrtc/api/environment/environment_factory_gn/moz.build
7718
+++ third_party/libwebrtc/api/environment/environment_factory_gn/moz.build
7719
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
7719
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 7935-7941 index 9388642ab5e6..2a4db566b430 100644 Link Here
7935
 
7935
 
7936
 Library("environment_factory_gn")
7936
 Library("environment_factory_gn")
7937
diff --git third_party/libwebrtc/api/environment/environment_gn/moz.build third_party/libwebrtc/api/environment/environment_gn/moz.build
7937
diff --git third_party/libwebrtc/api/environment/environment_gn/moz.build third_party/libwebrtc/api/environment/environment_gn/moz.build
7938
index 5b7b361ac342..b18f7c018485 100644
7938
index 484b89746fa8..065021521a62 100644
7939
--- third_party/libwebrtc/api/environment/environment_gn/moz.build
7939
--- third_party/libwebrtc/api/environment/environment_gn/moz.build
7940
+++ third_party/libwebrtc/api/environment/environment_gn/moz.build
7940
+++ third_party/libwebrtc/api/environment/environment_gn/moz.build
7941
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
7941
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 8122-8128 index 5b7b361ac342..b18f7c018485 100644 Link Here
8122
-
8122
-
8123
 Library("environment_gn")
8123
 Library("environment_gn")
8124
diff --git third_party/libwebrtc/api/fec_controller_api_gn/moz.build third_party/libwebrtc/api/fec_controller_api_gn/moz.build
8124
diff --git third_party/libwebrtc/api/fec_controller_api_gn/moz.build third_party/libwebrtc/api/fec_controller_api_gn/moz.build
8125
index 653eae8f233f..383f2f1c9661 100644
8125
index e8caeb29b0b5..eb72c1303105 100644
8126
--- third_party/libwebrtc/api/fec_controller_api_gn/moz.build
8126
--- third_party/libwebrtc/api/fec_controller_api_gn/moz.build
8127
+++ third_party/libwebrtc/api/fec_controller_api_gn/moz.build
8127
+++ third_party/libwebrtc/api/fec_controller_api_gn/moz.build
8128
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
8128
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 8313-8319 index 653eae8f233f..383f2f1c9661 100644 Link Here
8313
-
8313
-
8314
 Library("fec_controller_api_gn")
8314
 Library("fec_controller_api_gn")
8315
diff --git third_party/libwebrtc/api/field_trials_registry_gn/moz.build third_party/libwebrtc/api/field_trials_registry_gn/moz.build
8315
diff --git third_party/libwebrtc/api/field_trials_registry_gn/moz.build third_party/libwebrtc/api/field_trials_registry_gn/moz.build
8316
index 76e121ec9f5e..544a531d83f1 100644
8316
index ee276a6abe37..f43eabe0f14f 100644
8317
--- third_party/libwebrtc/api/field_trials_registry_gn/moz.build
8317
--- third_party/libwebrtc/api/field_trials_registry_gn/moz.build
8318
+++ third_party/libwebrtc/api/field_trials_registry_gn/moz.build
8318
+++ third_party/libwebrtc/api/field_trials_registry_gn/moz.build
8319
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
8319
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 8531-8537 index 76e121ec9f5e..544a531d83f1 100644 Link Here
8531
 
8531
 
8532
 Library("field_trials_registry_gn")
8532
 Library("field_trials_registry_gn")
8533
diff --git third_party/libwebrtc/api/field_trials_view_gn/moz.build third_party/libwebrtc/api/field_trials_view_gn/moz.build
8533
diff --git third_party/libwebrtc/api/field_trials_view_gn/moz.build third_party/libwebrtc/api/field_trials_view_gn/moz.build
8534
index a6ac64bf50c6..541f2359270f 100644
8534
index 9dcf0f1332d4..adc359f7cb28 100644
8535
--- third_party/libwebrtc/api/field_trials_view_gn/moz.build
8535
--- third_party/libwebrtc/api/field_trials_view_gn/moz.build
8536
+++ third_party/libwebrtc/api/field_trials_view_gn/moz.build
8536
+++ third_party/libwebrtc/api/field_trials_view_gn/moz.build
8537
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
8537
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 8718-8724 index a6ac64bf50c6..541f2359270f 100644 Link Here
8718
-
8718
-
8719
 Library("field_trials_view_gn")
8719
 Library("field_trials_view_gn")
8720
diff --git third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
8720
diff --git third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
8721
index b79f531f5def..36790a9abbbb 100644
8721
index b47d843d106d..e178baaec5de 100644
8722
--- third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
8722
--- third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
8723
+++ third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
8723
+++ third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
8724
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
8724
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 8936-8942 index b79f531f5def..36790a9abbbb 100644 Link Here
8936
 
8936
 
8937
 Library("frame_transformer_interface_gn")
8937
 Library("frame_transformer_interface_gn")
8938
diff --git third_party/libwebrtc/api/function_view_gn/moz.build third_party/libwebrtc/api/function_view_gn/moz.build
8938
diff --git third_party/libwebrtc/api/function_view_gn/moz.build third_party/libwebrtc/api/function_view_gn/moz.build
8939
index feea8c2c0ba6..7c48aab74157 100644
8939
index 6eccd0a4fd32..7971643aae1a 100644
8940
--- third_party/libwebrtc/api/function_view_gn/moz.build
8940
--- third_party/libwebrtc/api/function_view_gn/moz.build
8941
+++ third_party/libwebrtc/api/function_view_gn/moz.build
8941
+++ third_party/libwebrtc/api/function_view_gn/moz.build
8942
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
8942
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 9127-9133 index feea8c2c0ba6..7c48aab74157 100644 Link Here
9127
-
9127
-
9128
 Library("function_view_gn")
9128
 Library("function_view_gn")
9129
diff --git third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build
9129
diff --git third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build
9130
index 6729abedf9bd..314418594b0e 100644
9130
index 14951db5b9f2..56c1e1592ebb 100644
9131
--- third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build
9131
--- third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build
9132
+++ third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build
9132
+++ third_party/libwebrtc/api/libjingle_logging_api_gn/moz.build
9133
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
9133
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 9314-9320 index 6729abedf9bd..314418594b0e 100644 Link Here
9314
-
9314
-
9315
 Library("jingle_logging_api_gn")
9315
 Library("jingle_logging_api_gn")
9316
diff --git third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build
9316
diff --git third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build
9317
index f815d7da4e62..d8c0189951f6 100644
9317
index d75066b59596..270c9ba77c25 100644
9318
--- third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build
9318
--- third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build
9319
+++ third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build
9319
+++ third_party/libwebrtc/api/libjingle_peerconnection_api_gn/moz.build
9320
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
9320
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 9501-9507 index f815d7da4e62..d8c0189951f6 100644 Link Here
9501
-
9501
-
9502
 Library("jingle_peerconnection_api_gn")
9502
 Library("jingle_peerconnection_api_gn")
9503
diff --git third_party/libwebrtc/api/location_gn/moz.build third_party/libwebrtc/api/location_gn/moz.build
9503
diff --git third_party/libwebrtc/api/location_gn/moz.build third_party/libwebrtc/api/location_gn/moz.build
9504
index 706b1d5026cc..673b106c6cea 100644
9504
index 87a58928611c..3f82d7befe43 100644
9505
--- third_party/libwebrtc/api/location_gn/moz.build
9505
--- third_party/libwebrtc/api/location_gn/moz.build
9506
+++ third_party/libwebrtc/api/location_gn/moz.build
9506
+++ third_party/libwebrtc/api/location_gn/moz.build
9507
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
9507
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 9688-9694 index 706b1d5026cc..673b106c6cea 100644 Link Here
9688
-
9688
-
9689
 Library("location_gn")
9689
 Library("location_gn")
9690
diff --git third_party/libwebrtc/api/make_ref_counted_gn/moz.build third_party/libwebrtc/api/make_ref_counted_gn/moz.build
9690
diff --git third_party/libwebrtc/api/make_ref_counted_gn/moz.build third_party/libwebrtc/api/make_ref_counted_gn/moz.build
9691
index 6bedaf55cd03..6f4e516cb13f 100644
9691
index 7f956665eda9..26c6bb690f73 100644
9692
--- third_party/libwebrtc/api/make_ref_counted_gn/moz.build
9692
--- third_party/libwebrtc/api/make_ref_counted_gn/moz.build
9693
+++ third_party/libwebrtc/api/make_ref_counted_gn/moz.build
9693
+++ third_party/libwebrtc/api/make_ref_counted_gn/moz.build
9694
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
9694
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 9875-9881 index 6bedaf55cd03..6f4e516cb13f 100644 Link Here
9875
-
9875
-
9876
 Library("make_ref_counted_gn")
9876
 Library("make_ref_counted_gn")
9877
diff --git third_party/libwebrtc/api/media_stream_interface_gn/moz.build third_party/libwebrtc/api/media_stream_interface_gn/moz.build
9877
diff --git third_party/libwebrtc/api/media_stream_interface_gn/moz.build third_party/libwebrtc/api/media_stream_interface_gn/moz.build
9878
index 8cc4995908e8..4d4d0bbcdb02 100644
9878
index fea8af2692d4..fa6313b4b8c4 100644
9879
--- third_party/libwebrtc/api/media_stream_interface_gn/moz.build
9879
--- third_party/libwebrtc/api/media_stream_interface_gn/moz.build
9880
+++ third_party/libwebrtc/api/media_stream_interface_gn/moz.build
9880
+++ third_party/libwebrtc/api/media_stream_interface_gn/moz.build
9881
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
9881
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 10093-10099 index 8cc4995908e8..4d4d0bbcdb02 100644 Link Here
10093
 
10093
 
10094
 Library("media_stream_interface_gn")
10094
 Library("media_stream_interface_gn")
10095
diff --git third_party/libwebrtc/api/metronome/metronome_gn/moz.build third_party/libwebrtc/api/metronome/metronome_gn/moz.build
10095
diff --git third_party/libwebrtc/api/metronome/metronome_gn/moz.build third_party/libwebrtc/api/metronome/metronome_gn/moz.build
10096
index 5ffa4ac6c78f..6eaccfb29fc6 100644
10096
index 57a1e2ca464e..5974015ddef6 100644
10097
--- third_party/libwebrtc/api/metronome/metronome_gn/moz.build
10097
--- third_party/libwebrtc/api/metronome/metronome_gn/moz.build
10098
+++ third_party/libwebrtc/api/metronome/metronome_gn/moz.build
10098
+++ third_party/libwebrtc/api/metronome/metronome_gn/moz.build
10099
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
10099
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 10284-10290 index 5ffa4ac6c78f..6eaccfb29fc6 100644 Link Here
10284
-
10284
-
10285
 Library("metronome_gn")
10285
 Library("metronome_gn")
10286
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
10286
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
10287
index 0486a791d10f..254ccec7ed2e 100644
10287
index 10d65f922ebe..d27ef50a9725 100644
10288
--- third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build
10288
--- third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build
10289
+++ third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build
10289
+++ third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build
10290
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
10290
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 10506-10512 index 0486a791d10f..254ccec7ed2e 100644 Link Here
10506
 
10506
 
10507
 Library("default_neteq_controller_factory_gn")
10507
 Library("default_neteq_controller_factory_gn")
10508
diff --git third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build
10508
diff --git third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build
10509
index ec0207e6b81a..217b5be2076d 100644
10509
index a4512f3c1f31..1adeffe9858a 100644
10510
--- third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build
10510
--- third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build
10511
+++ third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build
10511
+++ third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build
10512
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
10512
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 10531-10537 index ec0207e6b81a..217b5be2076d 100644 Link Here
10531
 
10531
 
10532
 FINAL_LIBRARY = "xul"
10532
 FINAL_LIBRARY = "xul"
10533
 
10533
 
10534
@@ -43,189 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
10534
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
10535
 if CONFIG["MOZ_DEBUG"] == "1":
10535
 if CONFIG["MOZ_DEBUG"] == "1":
10536
 
10536
 
10537
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
10537
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 10579-10588 index ec0207e6b81a..217b5be2076d 100644 Link Here
10579
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
10579
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
10580
-    DEFINES["__STDC_FORMAT_MACROS"] = True
10580
-    DEFINES["__STDC_FORMAT_MACROS"] = True
10581
-
10581
-
10582
-    OS_LIBS += [
10583
-        "rt"
10584
-    ]
10585
-
10586
-if CONFIG["OS_TARGET"] == "OpenBSD":
10582
-if CONFIG["OS_TARGET"] == "OpenBSD":
10587
-
10583
-
10588
-    DEFINES["USE_GLIB"] = "1"
10584
-    DEFINES["USE_GLIB"] = "1"
Lines 10728-10734 index ec0207e6b81a..217b5be2076d 100644 Link Here
10728
 
10724
 
10729
 Library("neteq_api_gn")
10725
 Library("neteq_api_gn")
10730
diff --git third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build
10726
diff --git third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build
10731
index 830a41cbcb2f..04fd38417177 100644
10727
index 8ca00de79987..1ef35aa77b22 100644
10732
--- third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build
10728
--- third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build
10733
+++ third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build
10729
+++ third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build
10734
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
10730
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 10753-10759 index 830a41cbcb2f..04fd38417177 100644 Link Here
10753
 
10749
 
10754
 FINAL_LIBRARY = "xul"
10750
 FINAL_LIBRARY = "xul"
10755
 
10751
 
10756
@@ -39,122 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
10752
@@ -39,118 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
10757
 if CONFIG["MOZ_DEBUG"] == "1":
10753
 if CONFIG["MOZ_DEBUG"] == "1":
10758
 
10754
 
10759
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
10755
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 10801-10810 index 830a41cbcb2f..04fd38417177 100644 Link Here
10801
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
10797
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
10802
-    DEFINES["__STDC_FORMAT_MACROS"] = True
10798
-    DEFINES["__STDC_FORMAT_MACROS"] = True
10803
-
10799
-
10804
-    OS_LIBS += [
10805
-        "rt"
10806
-    ]
10807
-
10808
-if CONFIG["OS_TARGET"] == "OpenBSD":
10800
-if CONFIG["OS_TARGET"] == "OpenBSD":
10809
-
10801
-
10810
-    DEFINES["USE_GLIB"] = "1"
10802
-    DEFINES["USE_GLIB"] = "1"
Lines 10877-10883 index 830a41cbcb2f..04fd38417177 100644 Link Here
10877
 
10869
 
10878
 if CONFIG["TARGET_CPU"] == "x86":
10870
 if CONFIG["TARGET_CPU"] == "x86":
10879
 
10871
 
10880
@@ -164,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
10872
@@ -160,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
10881
 
10873
 
10882
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
10874
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
10883
 
10875
 
Lines 10930-10936 index 830a41cbcb2f..04fd38417177 100644 Link Here
10930
-
10922
-
10931
 Library("neteq_controller_api_gn")
10923
 Library("neteq_controller_api_gn")
10932
diff --git third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build
10924
diff --git third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build
10933
index 4f4101599f07..3129a92d497c 100644
10925
index 97f27314b014..537d954a8d2a 100644
10934
--- third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build
10926
--- third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build
10935
+++ third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build
10927
+++ third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build
10936
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
10928
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 11141-11147 index 4f4101599f07..3129a92d497c 100644 Link Here
11141
 
11133
 
11142
 Library("tick_timer_gn")
11134
 Library("tick_timer_gn")
11143
diff --git third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build
11135
diff --git third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build
11144
index 84ec63723306..ff25666ad5f9 100644
11136
index 27f989b8b230..b62ef76e23e2 100644
11145
--- third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build
11137
--- third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build
11146
+++ third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build
11138
+++ third_party/libwebrtc/api/network_state_predictor_api_gn/moz.build
11147
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
11139
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 11328-11334 index 84ec63723306..ff25666ad5f9 100644 Link Here
11328
-
11320
-
11329
 Library("network_state_predictor_api_gn")
11321
 Library("network_state_predictor_api_gn")
11330
diff --git third_party/libwebrtc/api/priority_gn/moz.build third_party/libwebrtc/api/priority_gn/moz.build
11322
diff --git third_party/libwebrtc/api/priority_gn/moz.build third_party/libwebrtc/api/priority_gn/moz.build
11331
index e90b551e4d69..d402c9d495af 100644
11323
index f412b0d8fba4..2cef91d8eb1a 100644
11332
--- third_party/libwebrtc/api/priority_gn/moz.build
11324
--- third_party/libwebrtc/api/priority_gn/moz.build
11333
+++ third_party/libwebrtc/api/priority_gn/moz.build
11325
+++ third_party/libwebrtc/api/priority_gn/moz.build
11334
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
11326
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 11353-11359 index e90b551e4d69..d402c9d495af 100644 Link Here
11353
 
11345
 
11354
 FINAL_LIBRARY = "xul"
11346
 FINAL_LIBRARY = "xul"
11355
 
11347
 
11356
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
11348
@@ -39,111 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
11357
 if CONFIG["MOZ_DEBUG"] == "1":
11349
 if CONFIG["MOZ_DEBUG"] == "1":
11358
 
11350
 
11359
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
11351
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 11372-11377 index e90b551e4d69..d402c9d495af 100644 Link Here
11372
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
11364
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
11373
-    DEFINES["__STDC_FORMAT_MACROS"] = True
11365
-    DEFINES["__STDC_FORMAT_MACROS"] = True
11374
-
11366
-
11367
-    OS_LIBS += [
11368
-        "log"
11369
-    ]
11370
-
11375
-if CONFIG["OS_TARGET"] == "Darwin":
11371
-if CONFIG["OS_TARGET"] == "Darwin":
11376
-
11372
-
11377
-    DEFINES["WEBRTC_MAC"] = True
11373
-    DEFINES["WEBRTC_MAC"] = True
Lines 11462-11468 index e90b551e4d69..d402c9d495af 100644 Link Here
11462
 
11458
 
11463
 if CONFIG["TARGET_CPU"] == "x86":
11459
 if CONFIG["TARGET_CPU"] == "x86":
11464
 
11460
 
11465
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
11461
@@ -153,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
11466
 
11462
 
11467
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
11463
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
11468
 
11464
 
Lines 11515-11521 index e90b551e4d69..d402c9d495af 100644 Link Here
11515
-
11511
-
11516
 Library("priority_gn")
11512
 Library("priority_gn")
11517
diff --git third_party/libwebrtc/api/ref_count_gn/moz.build third_party/libwebrtc/api/ref_count_gn/moz.build
11513
diff --git third_party/libwebrtc/api/ref_count_gn/moz.build third_party/libwebrtc/api/ref_count_gn/moz.build
11518
index b5ded03ae3a4..2a36041b5e46 100644
11514
index 98c49cbfca5e..4bdb29aad6a8 100644
11519
--- third_party/libwebrtc/api/ref_count_gn/moz.build
11515
--- third_party/libwebrtc/api/ref_count_gn/moz.build
11520
+++ third_party/libwebrtc/api/ref_count_gn/moz.build
11516
+++ third_party/libwebrtc/api/ref_count_gn/moz.build
11521
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
11517
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 11702-11708 index b5ded03ae3a4..2a36041b5e46 100644 Link Here
11702
-
11698
-
11703
 Library("ref_count_gn")
11699
 Library("ref_count_gn")
11704
diff --git third_party/libwebrtc/api/refcountedbase_gn/moz.build third_party/libwebrtc/api/refcountedbase_gn/moz.build
11700
diff --git third_party/libwebrtc/api/refcountedbase_gn/moz.build third_party/libwebrtc/api/refcountedbase_gn/moz.build
11705
index 42e693bf022a..e2d783b7b812 100644
11701
index 7f6d1e6cf3a1..cfef69c83fc3 100644
11706
--- third_party/libwebrtc/api/refcountedbase_gn/moz.build
11702
--- third_party/libwebrtc/api/refcountedbase_gn/moz.build
11707
+++ third_party/libwebrtc/api/refcountedbase_gn/moz.build
11703
+++ third_party/libwebrtc/api/refcountedbase_gn/moz.build
11708
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
11704
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 11889-11895 index 42e693bf022a..e2d783b7b812 100644 Link Here
11889
-
11885
-
11890
 Library("refcountedbase_gn")
11886
 Library("refcountedbase_gn")
11891
diff --git third_party/libwebrtc/api/rtc_error_gn/moz.build third_party/libwebrtc/api/rtc_error_gn/moz.build
11887
diff --git third_party/libwebrtc/api/rtc_error_gn/moz.build third_party/libwebrtc/api/rtc_error_gn/moz.build
11892
index 1ff7960b4dd0..47846b31a453 100644
11888
index fd4c614cf3ad..e1f3176d41bf 100644
11893
--- third_party/libwebrtc/api/rtc_error_gn/moz.build
11889
--- third_party/libwebrtc/api/rtc_error_gn/moz.build
11894
+++ third_party/libwebrtc/api/rtc_error_gn/moz.build
11890
+++ third_party/libwebrtc/api/rtc_error_gn/moz.build
11895
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
11891
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 12107-12113 index 1ff7960b4dd0..47846b31a453 100644 Link Here
12107
 
12103
 
12108
 Library("rtc_error_gn")
12104
 Library("rtc_error_gn")
12109
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
12105
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
12110
index e478cf3e4c3c..8a92a62b9562 100644
12106
index 2f1418300a0c..f617051daad9 100644
12111
--- third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build
12107
--- third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build
12112
+++ third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build
12108
+++ third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build
12113
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
12109
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 12325-12331 index e478cf3e4c3c..8a92a62b9562 100644 Link Here
12325
 
12321
 
12326
 Library("rtc_event_log_gn")
12322
 Library("rtc_event_log_gn")
12327
diff --git third_party/libwebrtc/api/rtp_headers_gn/moz.build third_party/libwebrtc/api/rtp_headers_gn/moz.build
12323
diff --git third_party/libwebrtc/api/rtp_headers_gn/moz.build third_party/libwebrtc/api/rtp_headers_gn/moz.build
12328
index 5b5cac9bf046..8691523b8dfc 100644
12324
index 033677891b16..a684eca109e1 100644
12329
--- third_party/libwebrtc/api/rtp_headers_gn/moz.build
12325
--- third_party/libwebrtc/api/rtp_headers_gn/moz.build
12330
+++ third_party/libwebrtc/api/rtp_headers_gn/moz.build
12326
+++ third_party/libwebrtc/api/rtp_headers_gn/moz.build
12331
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
12327
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 12543-12549 index 5b5cac9bf046..8691523b8dfc 100644 Link Here
12543
 
12539
 
12544
 Library("rtp_headers_gn")
12540
 Library("rtp_headers_gn")
12545
diff --git third_party/libwebrtc/api/rtp_packet_info_gn/moz.build third_party/libwebrtc/api/rtp_packet_info_gn/moz.build
12541
diff --git third_party/libwebrtc/api/rtp_packet_info_gn/moz.build third_party/libwebrtc/api/rtp_packet_info_gn/moz.build
12546
index 7bd7a37fb361..67fffb26c146 100644
12542
index c75ba8f4c4db..9b2ce7b59fef 100644
12547
--- third_party/libwebrtc/api/rtp_packet_info_gn/moz.build
12543
--- third_party/libwebrtc/api/rtp_packet_info_gn/moz.build
12548
+++ third_party/libwebrtc/api/rtp_packet_info_gn/moz.build
12544
+++ third_party/libwebrtc/api/rtp_packet_info_gn/moz.build
12549
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
12545
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 12760-12980 index 7bd7a37fb361..67fffb26c146 100644 Link Here
12760
+    DEFINES["USE_X11"] = "1"
12756
+    DEFINES["USE_X11"] = "1"
12761
 
12757
 
12762
 Library("rtp_packet_info_gn")
12758
 Library("rtp_packet_info_gn")
12763
diff --git third_party/libwebrtc/api/rtp_parameters_gn/moz.build third_party/libwebrtc/api/rtp_parameters_gn/moz.build
12759
diff --git third_party/libwebrtc/api/rtp_packet_sender_gn/moz.build third_party/libwebrtc/api/rtp_packet_sender_gn/moz.build
12764
index ada3bfe3a22b..dd1ba2bc5bd3 100644
12760
index 69412fc87e29..37c9f2066f28 100644
12765
--- third_party/libwebrtc/api/rtp_parameters_gn/moz.build
12761
--- third_party/libwebrtc/api/rtp_packet_sender_gn/moz.build
12766
+++ third_party/libwebrtc/api/rtp_parameters_gn/moz.build
12762
+++ third_party/libwebrtc/api/rtp_packet_sender_gn/moz.build
12767
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
12768
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
12769
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
12770
 DEFINES["RTC_ENABLE_VP9"] = True
12771
+DEFINES["USE_GLIB"] = "1"
12772
+DEFINES["USE_OZONE"] = "1"
12773
+DEFINES["WEBRTC_BSD"] = True
12774
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
12775
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
12776
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
12777
 DEFINES["WEBRTC_MOZILLA_BUILD"] = True
12778
 DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
12779
+DEFINES["WEBRTC_POSIX"] = True
12780
 DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
12781
+DEFINES["_FILE_OFFSET_BITS"] = "64"
12782
+DEFINES["_LARGEFILE64_SOURCE"] = True
12783
+DEFINES["_LARGEFILE_SOURCE"] = True
12784
+DEFINES["__STDC_CONSTANT_MACROS"] = True
12785
+DEFINES["__STDC_FORMAT_MACROS"] = True
12786
 
12787
 FINAL_LIBRARY = "xul"
12788
 
12789
@@ -44,178 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
12790
 if CONFIG["MOZ_DEBUG"] == "1":
12791
 
12792
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
12793
-
12794
-if CONFIG["OS_TARGET"] == "Android":
12795
-
12796
-    DEFINES["ANDROID"] = True
12797
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
12798
-    DEFINES["HAVE_SYS_UIO_H"] = True
12799
-    DEFINES["WEBRTC_ANDROID"] = True
12800
-    DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
12801
-    DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
12802
-    DEFINES["WEBRTC_LINUX"] = True
12803
-    DEFINES["WEBRTC_POSIX"] = True
12804
-    DEFINES["_GNU_SOURCE"] = True
12805
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
12806
-    DEFINES["__STDC_FORMAT_MACROS"] = True
12807
-
12808
-    OS_LIBS += [
12809
-        "log"
12810
-    ]
12811
-
12812
-if CONFIG["OS_TARGET"] == "Darwin":
12813
-
12814
-    DEFINES["WEBRTC_MAC"] = True
12815
-    DEFINES["WEBRTC_POSIX"] = True
12816
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
12817
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
12818
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
12819
-    DEFINES["__STDC_FORMAT_MACROS"] = True
12820
-
12821
-if CONFIG["OS_TARGET"] == "Linux":
12822
-
12823
-    DEFINES["USE_AURA"] = "1"
12824
-    DEFINES["USE_GLIB"] = "1"
12825
-    DEFINES["USE_NSS_CERTS"] = "1"
12826
-    DEFINES["USE_OZONE"] = "1"
12827
-    DEFINES["USE_UDEV"] = True
12828
-    DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
12829
-    DEFINES["WEBRTC_LINUX"] = True
12830
-    DEFINES["WEBRTC_POSIX"] = True
12831
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
12832
-    DEFINES["_LARGEFILE64_SOURCE"] = True
12833
-    DEFINES["_LARGEFILE_SOURCE"] = True
12834
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
12835
-    DEFINES["__STDC_FORMAT_MACROS"] = True
12836
-
12837
-if CONFIG["OS_TARGET"] == "OpenBSD":
12838
-
12839
-    DEFINES["USE_GLIB"] = "1"
12840
-    DEFINES["USE_OZONE"] = "1"
12841
-    DEFINES["USE_X11"] = "1"
12842
-    DEFINES["WEBRTC_BSD"] = True
12843
-    DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
12844
-    DEFINES["WEBRTC_POSIX"] = True
12845
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
12846
-    DEFINES["_LARGEFILE64_SOURCE"] = True
12847
-    DEFINES["_LARGEFILE_SOURCE"] = True
12848
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
12849
-    DEFINES["__STDC_FORMAT_MACROS"] = True
12850
-
12851
-if CONFIG["OS_TARGET"] == "WINNT":
12852
-
12853
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
12854
-    DEFINES["NOMINMAX"] = True
12855
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
12856
-    DEFINES["PSAPI_VERSION"] = "2"
12857
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
12858
-    DEFINES["UNICODE"] = True
12859
-    DEFINES["USE_AURA"] = "1"
12860
-    DEFINES["WEBRTC_WIN"] = True
12861
-    DEFINES["WIN32"] = True
12862
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
12863
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
12864
-    DEFINES["WINVER"] = "0x0A00"
12865
-    DEFINES["_ATL_NO_OPENGL"] = True
12866
-    DEFINES["_CRT_RAND_S"] = True
12867
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
12868
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
12869
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
12870
-    DEFINES["_HAS_NODISCARD"] = True
12871
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
12872
-    DEFINES["_SECURE_ATL"] = True
12873
-    DEFINES["_UNICODE"] = True
12874
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
12875
-    DEFINES["_WINDOWS"] = True
12876
-    DEFINES["__STD_C"] = True
12877
+    DEFINES["_DEBUG"] = True
12878
 
12879
 if CONFIG["TARGET_CPU"] == "aarch64":
12880
 
12881
     DEFINES["WEBRTC_ARCH_ARM64"] = True
12882
     DEFINES["WEBRTC_HAS_NEON"] = True
12883
 
12884
-if CONFIG["TARGET_CPU"] == "arm":
12885
-
12886
-    CXXFLAGS += [
12887
-        "-mfpu=neon"
12888
-    ]
12889
-
12890
-    DEFINES["WEBRTC_ARCH_ARM"] = True
12891
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
12892
-    DEFINES["WEBRTC_HAS_NEON"] = True
12893
-
12894
 if CONFIG["TARGET_CPU"] == "mips32":
12895
 
12896
     DEFINES["MIPS32_LE"] = True
12897
     DEFINES["MIPS_FPU_LE"] = True
12898
-    DEFINES["_GNU_SOURCE"] = True
12899
-
12900
-if CONFIG["TARGET_CPU"] == "mips64":
12901
-
12902
-    DEFINES["_GNU_SOURCE"] = True
12903
 
12904
 if CONFIG["TARGET_CPU"] == "x86":
12905
 
12906
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
12907
-
12908
-if CONFIG["TARGET_CPU"] == "x86_64":
12909
-
12910
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
12911
-
12912
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
12913
-
12914
-    DEFINES["_DEBUG"] = True
12915
-
12916
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
12917
-
12918
-    DEFINES["_DEBUG"] = True
12919
-
12920
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
12921
-
12922
-    DEFINES["_DEBUG"] = True
12923
-
12924
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
12925
-
12926
-    DEFINES["_DEBUG"] = True
12927
-
12928
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
12929
-
12930
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
12931
-
12932
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
12933
-
12934
-    DEFINES["USE_X11"] = "1"
12935
-
12936
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
12937
-
12938
-    OS_LIBS += [
12939
-        "unwind"
12940
-    ]
12941
-
12942
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
12943
-
12944
     CXXFLAGS += [
12945
         "-msse2"
12946
     ]
12947
 
12948
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
12949
-
12950
-    DEFINES["_GNU_SOURCE"] = True
12951
-
12952
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
12953
-
12954
-    DEFINES["_GNU_SOURCE"] = True
12955
-
12956
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
12957
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
12958
 
12959
-    CXXFLAGS += [
12960
-        "-msse2"
12961
-    ]
12962
+if CONFIG["TARGET_CPU"] == "x86_64":
12963
 
12964
-    DEFINES["_GNU_SOURCE"] = True
12965
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
12966
 
12967
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
12968
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
12969
 
12970
-    DEFINES["_GNU_SOURCE"] = True
12971
+    DEFINES["USE_X11"] = "1"
12972
 
12973
 Library("rtp_parameters_gn")
12974
diff --git third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build
12975
index 5b41bb13cbbe..2ae22cf178d8 100644
12976
--- third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build
12977
+++ third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build
12978
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
12763
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
12979
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
12764
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
12980
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
12765
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 13157-13167 index 5b41bb13cbbe..2ae22cf178d8 100644 Link Here
13157
-
12942
-
13158
-    DEFINES["_GNU_SOURCE"] = True
12943
-    DEFINES["_GNU_SOURCE"] = True
13159
-
12944
-
13160
 Library("rtp_sender_interface_gn")
12945
 Library("rtp_packet_sender_gn")
13161
diff --git third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build
12946
diff --git third_party/libwebrtc/api/rtp_parameters_gn/moz.build third_party/libwebrtc/api/rtp_parameters_gn/moz.build
13162
index 89f5c0fcc118..ba3ef53ada72 100644
12947
index b92b2259d02d..d69843293695 100644
13163
--- third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build
12948
--- third_party/libwebrtc/api/rtp_parameters_gn/moz.build
13164
+++ third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build
12949
+++ third_party/libwebrtc/api/rtp_parameters_gn/moz.build
13165
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
12950
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
13166
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
12951
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
13167
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
12952
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 13184-13190 index 89f5c0fcc118..ba3ef53ada72 100644 Link Here
13184
 
12969
 
13185
 FINAL_LIBRARY = "xul"
12970
 FINAL_LIBRARY = "xul"
13186
 
12971
 
13187
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
12972
@@ -44,178 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
13188
 if CONFIG["MOZ_DEBUG"] == "1":
12973
 if CONFIG["MOZ_DEBUG"] == "1":
13189
 
12974
 
13190
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
12975
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 13272-13284 index 89f5c0fcc118..ba3ef53ada72 100644 Link Here
13272
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
13057
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
13273
-    DEFINES["_WINDOWS"] = True
13058
-    DEFINES["_WINDOWS"] = True
13274
-    DEFINES["__STD_C"] = True
13059
-    DEFINES["__STD_C"] = True
13275
-
13276
-    OS_LIBS += [
13277
-        "crypt32",
13278
-        "iphlpapi",
13279
-        "secur32",
13280
-        "winmm"
13281
-    ]
13282
+    DEFINES["_DEBUG"] = True
13060
+    DEFINES["_DEBUG"] = True
13283
 
13061
 
13284
 if CONFIG["TARGET_CPU"] == "aarch64":
13062
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 13375-13385 index 89f5c0fcc118..ba3ef53ada72 100644 Link Here
13375
-    DEFINES["_GNU_SOURCE"] = True
13153
-    DEFINES["_GNU_SOURCE"] = True
13376
+    DEFINES["USE_X11"] = "1"
13154
+    DEFINES["USE_X11"] = "1"
13377
 
13155
 
13378
 Library("rtp_sender_setparameters_callback_gn")
13156
 Library("rtp_parameters_gn")
13379
diff --git third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build
13157
diff --git third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build
13380
index c3b4e7f67e56..1acea51df010 100644
13158
index fd0316a345b7..503fac0eb534 100644
13381
--- third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build
13159
--- third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build
13382
+++ third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build
13160
+++ third_party/libwebrtc/api/rtp_sender_interface_gn/moz.build
13383
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
13161
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
13384
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
13162
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
13385
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
13163
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 13562-13572 index c3b4e7f67e56..1acea51df010 100644 Link Here
13562
-
13340
-
13563
-    DEFINES["_GNU_SOURCE"] = True
13341
-    DEFINES["_GNU_SOURCE"] = True
13564
-
13342
-
13565
 Library("rtp_transceiver_direction_gn")
13343
 Library("rtp_sender_interface_gn")
13566
diff --git third_party/libwebrtc/api/scoped_refptr_gn/moz.build third_party/libwebrtc/api/scoped_refptr_gn/moz.build
13344
diff --git third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build
13567
index bd244c29b5cb..58ee4b71716c 100644
13345
index 2dbb1256e4ef..67f9290c80ec 100644
13568
--- third_party/libwebrtc/api/scoped_refptr_gn/moz.build
13346
--- third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build
13569
+++ third_party/libwebrtc/api/scoped_refptr_gn/moz.build
13347
+++ third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build
13348
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
13349
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
13350
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
13351
 DEFINES["RTC_ENABLE_VP9"] = True
13352
+DEFINES["USE_GLIB"] = "1"
13353
+DEFINES["USE_OZONE"] = "1"
13354
+DEFINES["WEBRTC_BSD"] = True
13355
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
13356
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
13357
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
13358
 DEFINES["WEBRTC_MOZILLA_BUILD"] = True
13359
 DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
13360
+DEFINES["WEBRTC_POSIX"] = True
13361
 DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
13362
+DEFINES["_FILE_OFFSET_BITS"] = "64"
13363
+DEFINES["_LARGEFILE64_SOURCE"] = True
13364
+DEFINES["_LARGEFILE_SOURCE"] = True
13365
+DEFINES["__STDC_CONSTANT_MACROS"] = True
13366
+DEFINES["__STDC_FORMAT_MACROS"] = True
13367
 
13368
 FINAL_LIBRARY = "xul"
13369
 
13370
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
13371
 if CONFIG["MOZ_DEBUG"] == "1":
13372
 
13373
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
13374
-
13375
-if CONFIG["OS_TARGET"] == "Android":
13376
-
13377
-    DEFINES["ANDROID"] = True
13378
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
13379
-    DEFINES["HAVE_SYS_UIO_H"] = True
13380
-    DEFINES["WEBRTC_ANDROID"] = True
13381
-    DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
13382
-    DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
13383
-    DEFINES["WEBRTC_LINUX"] = True
13384
-    DEFINES["WEBRTC_POSIX"] = True
13385
-    DEFINES["_GNU_SOURCE"] = True
13386
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
13387
-    DEFINES["__STDC_FORMAT_MACROS"] = True
13388
-
13389
-    OS_LIBS += [
13390
-        "log"
13391
-    ]
13392
-
13393
-if CONFIG["OS_TARGET"] == "Darwin":
13394
-
13395
-    DEFINES["WEBRTC_MAC"] = True
13396
-    DEFINES["WEBRTC_POSIX"] = True
13397
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
13398
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
13399
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
13400
-    DEFINES["__STDC_FORMAT_MACROS"] = True
13401
-
13402
-if CONFIG["OS_TARGET"] == "Linux":
13403
-
13404
-    DEFINES["USE_AURA"] = "1"
13405
-    DEFINES["USE_GLIB"] = "1"
13406
-    DEFINES["USE_NSS_CERTS"] = "1"
13407
-    DEFINES["USE_OZONE"] = "1"
13408
-    DEFINES["USE_UDEV"] = True
13409
-    DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
13410
-    DEFINES["WEBRTC_LINUX"] = True
13411
-    DEFINES["WEBRTC_POSIX"] = True
13412
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
13413
-    DEFINES["_LARGEFILE64_SOURCE"] = True
13414
-    DEFINES["_LARGEFILE_SOURCE"] = True
13415
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
13416
-    DEFINES["__STDC_FORMAT_MACROS"] = True
13417
-
13418
-if CONFIG["OS_TARGET"] == "OpenBSD":
13419
-
13420
-    DEFINES["USE_GLIB"] = "1"
13421
-    DEFINES["USE_OZONE"] = "1"
13422
-    DEFINES["USE_X11"] = "1"
13423
-    DEFINES["WEBRTC_BSD"] = True
13424
-    DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
13425
-    DEFINES["WEBRTC_POSIX"] = True
13426
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
13427
-    DEFINES["_LARGEFILE64_SOURCE"] = True
13428
-    DEFINES["_LARGEFILE_SOURCE"] = True
13429
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
13430
-    DEFINES["__STDC_FORMAT_MACROS"] = True
13431
-
13432
-if CONFIG["OS_TARGET"] == "WINNT":
13433
-
13434
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
13435
-    DEFINES["NOMINMAX"] = True
13436
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
13437
-    DEFINES["PSAPI_VERSION"] = "2"
13438
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
13439
-    DEFINES["UNICODE"] = True
13440
-    DEFINES["USE_AURA"] = "1"
13441
-    DEFINES["WEBRTC_WIN"] = True
13442
-    DEFINES["WIN32"] = True
13443
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
13444
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
13445
-    DEFINES["WINVER"] = "0x0A00"
13446
-    DEFINES["_ATL_NO_OPENGL"] = True
13447
-    DEFINES["_CRT_RAND_S"] = True
13448
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
13449
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
13450
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
13451
-    DEFINES["_HAS_NODISCARD"] = True
13452
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
13453
-    DEFINES["_SECURE_ATL"] = True
13454
-    DEFINES["_UNICODE"] = True
13455
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
13456
-    DEFINES["_WINDOWS"] = True
13457
-    DEFINES["__STD_C"] = True
13458
-
13459
-    OS_LIBS += [
13460
-        "crypt32",
13461
-        "iphlpapi",
13462
-        "secur32",
13463
-        "winmm"
13464
-    ]
13465
+    DEFINES["_DEBUG"] = True
13466
 
13467
 if CONFIG["TARGET_CPU"] == "aarch64":
13468
 
13469
     DEFINES["WEBRTC_ARCH_ARM64"] = True
13470
     DEFINES["WEBRTC_HAS_NEON"] = True
13471
 
13472
-if CONFIG["TARGET_CPU"] == "arm":
13473
-
13474
-    CXXFLAGS += [
13475
-        "-mfpu=neon"
13476
-    ]
13477
-
13478
-    DEFINES["WEBRTC_ARCH_ARM"] = True
13479
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
13480
-    DEFINES["WEBRTC_HAS_NEON"] = True
13481
-
13482
 if CONFIG["TARGET_CPU"] == "mips32":
13483
 
13484
     DEFINES["MIPS32_LE"] = True
13485
     DEFINES["MIPS_FPU_LE"] = True
13486
-    DEFINES["_GNU_SOURCE"] = True
13487
-
13488
-if CONFIG["TARGET_CPU"] == "mips64":
13489
-
13490
-    DEFINES["_GNU_SOURCE"] = True
13491
 
13492
 if CONFIG["TARGET_CPU"] == "x86":
13493
 
13494
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
13495
-
13496
-if CONFIG["TARGET_CPU"] == "x86_64":
13497
-
13498
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
13499
-
13500
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
13501
-
13502
-    DEFINES["_DEBUG"] = True
13503
-
13504
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
13505
-
13506
-    DEFINES["_DEBUG"] = True
13507
-
13508
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
13509
-
13510
-    DEFINES["_DEBUG"] = True
13511
-
13512
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
13513
-
13514
-    DEFINES["_DEBUG"] = True
13515
-
13516
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
13517
-
13518
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
13519
-
13520
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
13521
-
13522
-    DEFINES["USE_X11"] = "1"
13523
-
13524
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
13525
-
13526
-    OS_LIBS += [
13527
-        "unwind"
13528
-    ]
13529
-
13530
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
13531
-
13532
     CXXFLAGS += [
13533
         "-msse2"
13534
     ]
13535
 
13536
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
13537
-
13538
-    DEFINES["_GNU_SOURCE"] = True
13539
-
13540
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
13541
-
13542
-    DEFINES["_GNU_SOURCE"] = True
13543
-
13544
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
13545
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
13546
 
13547
-    CXXFLAGS += [
13548
-        "-msse2"
13549
-    ]
13550
+if CONFIG["TARGET_CPU"] == "x86_64":
13551
 
13552
-    DEFINES["_GNU_SOURCE"] = True
13553
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
13554
 
13555
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
13556
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
13557
 
13558
-    DEFINES["_GNU_SOURCE"] = True
13559
+    DEFINES["USE_X11"] = "1"
13560
 
13561
 Library("rtp_sender_setparameters_callback_gn")
13562
diff --git third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build
13563
index 154dc5391a56..cbf3c4679807 100644
13564
--- third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build
13565
+++ third_party/libwebrtc/api/rtp_transceiver_direction_gn/moz.build
13570
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
13566
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
13571
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
13567
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
13572
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
13568
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 13749-13759 index bd244c29b5cb..58ee4b71716c 100644 Link Here
13749
-
13745
-
13750
-    DEFINES["_GNU_SOURCE"] = True
13746
-    DEFINES["_GNU_SOURCE"] = True
13751
-
13747
-
13752
 Library("scoped_refptr_gn")
13748
 Library("rtp_transceiver_direction_gn")
13753
diff --git third_party/libwebrtc/api/sequence_checker_gn/moz.build third_party/libwebrtc/api/sequence_checker_gn/moz.build
13749
diff --git third_party/libwebrtc/api/scoped_refptr_gn/moz.build third_party/libwebrtc/api/scoped_refptr_gn/moz.build
13754
index e129bf8a010e..c2d4b302936a 100644
13750
index 5dc69d00eea3..5df7da191ed2 100644
13755
--- third_party/libwebrtc/api/sequence_checker_gn/moz.build
13751
--- third_party/libwebrtc/api/scoped_refptr_gn/moz.build
13756
+++ third_party/libwebrtc/api/sequence_checker_gn/moz.build
13752
+++ third_party/libwebrtc/api/scoped_refptr_gn/moz.build
13757
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
13753
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
13758
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
13754
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
13759
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
13755
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 13776-13782 index e129bf8a010e..c2d4b302936a 100644 Link Here
13776
 
13772
 
13777
 FINAL_LIBRARY = "xul"
13773
 FINAL_LIBRARY = "xul"
13778
 
13774
 
13779
@@ -39,111 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
13775
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
13780
 if CONFIG["MOZ_DEBUG"] == "1":
13776
 if CONFIG["MOZ_DEBUG"] == "1":
13781
 
13777
 
13782
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
13778
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 13795-13804 index e129bf8a010e..c2d4b302936a 100644 Link Here
13795
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
13791
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
13796
-    DEFINES["__STDC_FORMAT_MACROS"] = True
13792
-    DEFINES["__STDC_FORMAT_MACROS"] = True
13797
-
13793
-
13798
-    OS_LIBS += [
13799
-        "log"
13800
-    ]
13801
-
13802
-if CONFIG["OS_TARGET"] == "Darwin":
13794
-if CONFIG["OS_TARGET"] == "Darwin":
13803
-
13795
-
13804
-    DEFINES["WEBRTC_MAC"] = True
13796
-    DEFINES["WEBRTC_MAC"] = True
Lines 13889-13895 index e129bf8a010e..c2d4b302936a 100644 Link Here
13889
 
13881
 
13890
 if CONFIG["TARGET_CPU"] == "x86":
13882
 if CONFIG["TARGET_CPU"] == "x86":
13891
 
13883
 
13892
@@ -153,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
13884
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
13893
 
13885
 
13894
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
13886
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
13895
 
13887
 
Lines 13940-13950 index e129bf8a010e..c2d4b302936a 100644 Link Here
13940
-
13932
-
13941
-    DEFINES["_GNU_SOURCE"] = True
13933
-    DEFINES["_GNU_SOURCE"] = True
13942
-
13934
-
13943
 Library("sequence_checker_gn")
13935
 Library("scoped_refptr_gn")
13944
diff --git third_party/libwebrtc/api/simulated_network_api_gn/moz.build third_party/libwebrtc/api/simulated_network_api_gn/moz.build
13936
diff --git third_party/libwebrtc/api/sequence_checker_gn/moz.build third_party/libwebrtc/api/sequence_checker_gn/moz.build
13945
index 222193edde3f..8b3da9c6ba70 100644
13937
index 649a16507f49..75f51d5cf5b5 100644
13946
--- third_party/libwebrtc/api/simulated_network_api_gn/moz.build
13938
--- third_party/libwebrtc/api/sequence_checker_gn/moz.build
13947
+++ third_party/libwebrtc/api/simulated_network_api_gn/moz.build
13939
+++ third_party/libwebrtc/api/sequence_checker_gn/moz.build
13948
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
13940
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
13949
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
13941
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
13950
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
13942
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 14131-14141 index 222193edde3f..8b3da9c6ba70 100644 Link Here
14131
-
14123
-
14132
-    DEFINES["_GNU_SOURCE"] = True
14124
-    DEFINES["_GNU_SOURCE"] = True
14133
-
14125
-
14134
 Library("simulated_network_api_gn")
14126
 Library("sequence_checker_gn")
14135
diff --git third_party/libwebrtc/api/task_queue/default_task_queue_factory_gn/moz.build third_party/libwebrtc/api/task_queue/default_task_queue_factory_gn/moz.build
14127
diff --git third_party/libwebrtc/api/simulated_network_api_gn/moz.build third_party/libwebrtc/api/simulated_network_api_gn/moz.build
14136
index 0d9947daa8ce..5d6f286d394b 100644
14128
index 654045dd91a1..bf4577cdad9b 100644
14137
--- third_party/libwebrtc/api/task_queue/default_task_queue_factory_gn/moz.build
14129
--- third_party/libwebrtc/api/simulated_network_api_gn/moz.build
14138
+++ third_party/libwebrtc/api/task_queue/default_task_queue_factory_gn/moz.build
14130
+++ third_party/libwebrtc/api/simulated_network_api_gn/moz.build
14139
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
14131
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
14140
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
14132
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
14141
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
14133
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 14158-14164 index 0d9947daa8ce..5d6f286d394b 100644 Link Here
14158
 
14150
 
14159
 FINAL_LIBRARY = "xul"
14151
 FINAL_LIBRARY = "xul"
14160
 
14152
 
14161
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
14153
@@ -39,111 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
14162
 if CONFIG["MOZ_DEBUG"] == "1":
14154
 if CONFIG["MOZ_DEBUG"] == "1":
14163
 
14155
 
14164
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
14156
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 14177-14182 index 0d9947daa8ce..5d6f286d394b 100644 Link Here
14177
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
14169
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
14178
-    DEFINES["__STDC_FORMAT_MACROS"] = True
14170
-    DEFINES["__STDC_FORMAT_MACROS"] = True
14179
-
14171
-
14172
-    OS_LIBS += [
14173
-        "log"
14174
-    ]
14175
-
14180
-if CONFIG["OS_TARGET"] == "Darwin":
14176
-if CONFIG["OS_TARGET"] == "Darwin":
14181
-
14177
-
14182
-    DEFINES["WEBRTC_MAC"] = True
14178
-    DEFINES["WEBRTC_MAC"] = True
Lines 14267-14273 index 0d9947daa8ce..5d6f286d394b 100644 Link Here
14267
 
14263
 
14268
 if CONFIG["TARGET_CPU"] == "x86":
14264
 if CONFIG["TARGET_CPU"] == "x86":
14269
 
14265
 
14270
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
14266
@@ -153,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
14271
 
14267
 
14272
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
14268
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
14273
 
14269
 
Lines 14318-14328 index 0d9947daa8ce..5d6f286d394b 100644 Link Here
14318
-
14314
-
14319
-    DEFINES["_GNU_SOURCE"] = True
14315
-    DEFINES["_GNU_SOURCE"] = True
14320
-
14316
-
14321
 Library("default_task_queue_factory_gn")
14317
 Library("simulated_network_api_gn")
14322
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
14318
diff --git third_party/libwebrtc/api/task_queue/default_task_queue_factory_gn/moz.build third_party/libwebrtc/api/task_queue/default_task_queue_factory_gn/moz.build
14323
index e0e0b4688e62..47a601850a28 100644
14319
index a0b133fad759..c957b4aa5257 100644
14324
--- third_party/libwebrtc/api/task_queue/pending_task_safety_flag_gn/moz.build
14320
--- third_party/libwebrtc/api/task_queue/default_task_queue_factory_gn/moz.build
14325
+++ third_party/libwebrtc/api/task_queue/pending_task_safety_flag_gn/moz.build
14321
+++ third_party/libwebrtc/api/task_queue/default_task_queue_factory_gn/moz.build
14326
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
14322
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
14327
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
14323
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
14328
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
14324
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 14345-14351 index e0e0b4688e62..47a601850a28 100644 Link Here
14345
 
14341
 
14346
 FINAL_LIBRARY = "xul"
14342
 FINAL_LIBRARY = "xul"
14347
 
14343
 
14348
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
14344
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
14349
 if CONFIG["MOZ_DEBUG"] == "1":
14345
 if CONFIG["MOZ_DEBUG"] == "1":
14350
 
14346
 
14351
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
14347
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 14364-14373 index e0e0b4688e62..47a601850a28 100644 Link Here
14364
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
14360
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
14365
-    DEFINES["__STDC_FORMAT_MACROS"] = True
14361
-    DEFINES["__STDC_FORMAT_MACROS"] = True
14366
-
14362
-
14367
-    OS_LIBS += [
14368
-        "log"
14369
-    ]
14370
-
14371
-if CONFIG["OS_TARGET"] == "Darwin":
14363
-if CONFIG["OS_TARGET"] == "Darwin":
14372
-
14364
-
14373
-    DEFINES["WEBRTC_MAC"] = True
14365
-    DEFINES["WEBRTC_MAC"] = True
Lines 14442-14451 index e0e0b4688e62..47a601850a28 100644 Link Here
14442
 
14434
 
14443
-if CONFIG["TARGET_CPU"] == "arm":
14435
-if CONFIG["TARGET_CPU"] == "arm":
14444
-
14436
-
14445
-    CXXFLAGS += [
14446
-        "-mfpu=neon"
14447
-    ]
14448
-
14449
-    DEFINES["WEBRTC_ARCH_ARM"] = True
14437
-    DEFINES["WEBRTC_ARCH_ARM"] = True
14450
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
14438
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
14451
-    DEFINES["WEBRTC_HAS_NEON"] = True
14439
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 14462-14473 index e0e0b4688e62..47a601850a28 100644 Link Here
14462
 
14450
 
14463
 if CONFIG["TARGET_CPU"] == "x86":
14451
 if CONFIG["TARGET_CPU"] == "x86":
14464
 
14452
 
14465
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
14453
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
14466
-
14454
 
14467
-if CONFIG["TARGET_CPU"] == "x86_64":
14455
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
14468
-
14456
 
14469
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
14470
-
14471
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
14457
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
14472
-
14458
-
14473
-    DEFINES["_DEBUG"] = True
14459
-    DEFINES["_DEBUG"] = True
Lines 14489-14509 index e0e0b4688e62..47a601850a28 100644 Link Here
14489
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
14475
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
14490
-
14476
-
14491
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
14477
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
14492
-
14478
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
14493
-    DEFINES["USE_X11"] = "1"
14479
 
14494
-
14480
     DEFINES["USE_X11"] = "1"
14481
 
14495
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
14482
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
14496
-
14483
-
14497
-    OS_LIBS += [
14484
-    OS_LIBS += [
14498
-        "unwind"
14485
-        "unwind"
14499
-    ]
14486
-    ]
14500
-
14487
-
14501
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
14502
-
14503
     CXXFLAGS += [
14504
         "-msse2"
14505
     ]
14506
 
14507
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
14488
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
14508
-
14489
-
14509
-    DEFINES["_GNU_SOURCE"] = True
14490
-    DEFINES["_GNU_SOURCE"] = True
Lines 14513-14539 index e0e0b4688e62..47a601850a28 100644 Link Here
14513
-    DEFINES["_GNU_SOURCE"] = True
14494
-    DEFINES["_GNU_SOURCE"] = True
14514
-
14495
-
14515
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
14496
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
14516
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
14497
-
14517
 
14518
-    CXXFLAGS += [
14519
-        "-msse2"
14520
-    ]
14521
+if CONFIG["TARGET_CPU"] == "x86_64":
14522
 
14523
-    DEFINES["_GNU_SOURCE"] = True
14498
-    DEFINES["_GNU_SOURCE"] = True
14524
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
14499
-
14525
 
14526
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
14500
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
14527
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
14501
-
14528
 
14529
-    DEFINES["_GNU_SOURCE"] = True
14502
-    DEFINES["_GNU_SOURCE"] = True
14530
+    DEFINES["USE_X11"] = "1"
14503
-
14531
 
14504
 Library("default_task_queue_factory_gn")
14532
 Library("pending_task_safety_flag_gn")
14505
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
14533
diff --git third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build
14506
index 00c89a68d1cb..967c696ae8f1 100644
14534
index b3eb74837f20..94718b5d1065 100644
14507
--- third_party/libwebrtc/api/task_queue/pending_task_safety_flag_gn/moz.build
14535
--- third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build
14508
+++ third_party/libwebrtc/api/task_queue/pending_task_safety_flag_gn/moz.build
14536
+++ third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build
14537
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
14509
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
14538
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
14510
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
14539
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
14511
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 14740-14750 index b3eb74837f20..94718b5d1065 100644 Link Here
14740
-    DEFINES["_GNU_SOURCE"] = True
14712
-    DEFINES["_GNU_SOURCE"] = True
14741
+    DEFINES["USE_X11"] = "1"
14713
+    DEFINES["USE_X11"] = "1"
14742
 
14714
 
14743
 Library("task_queue_gn")
14715
 Library("pending_task_safety_flag_gn")
14744
diff --git third_party/libwebrtc/api/transport/bandwidth_estimation_settings_gn/moz.build third_party/libwebrtc/api/transport/bandwidth_estimation_settings_gn/moz.build
14716
diff --git third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build
14745
index 0885f16a0655..ef5775ccf647 100644
14717
index fad8682ae701..bc1a3324cf7f 100644
14746
--- third_party/libwebrtc/api/transport/bandwidth_estimation_settings_gn/moz.build
14718
--- third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build
14747
+++ third_party/libwebrtc/api/transport/bandwidth_estimation_settings_gn/moz.build
14719
+++ third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build
14748
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
14720
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
14749
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
14721
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
14750
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
14722
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 14767-14773 index 0885f16a0655..ef5775ccf647 100644 Link Here
14767
 
14739
 
14768
 FINAL_LIBRARY = "xul"
14740
 FINAL_LIBRARY = "xul"
14769
 
14741
 
14770
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
14742
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
14771
 if CONFIG["MOZ_DEBUG"] == "1":
14743
 if CONFIG["MOZ_DEBUG"] == "1":
14772
 
14744
 
14773
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
14745
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 14786-14791 index 0885f16a0655..ef5775ccf647 100644 Link Here
14786
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
14758
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
14787
-    DEFINES["__STDC_FORMAT_MACROS"] = True
14759
-    DEFINES["__STDC_FORMAT_MACROS"] = True
14788
-
14760
-
14761
-    OS_LIBS += [
14762
-        "log"
14763
-    ]
14764
-
14789
-if CONFIG["OS_TARGET"] == "Darwin":
14765
-if CONFIG["OS_TARGET"] == "Darwin":
14790
-
14766
-
14791
-    DEFINES["WEBRTC_MAC"] = True
14767
-    DEFINES["WEBRTC_MAC"] = True
Lines 14860-14865 index 0885f16a0655..ef5775ccf647 100644 Link Here
14860
 
14836
 
14861
-if CONFIG["TARGET_CPU"] == "arm":
14837
-if CONFIG["TARGET_CPU"] == "arm":
14862
-
14838
-
14839
-    CXXFLAGS += [
14840
-        "-mfpu=neon"
14841
-    ]
14842
-
14863
-    DEFINES["WEBRTC_ARCH_ARM"] = True
14843
-    DEFINES["WEBRTC_ARCH_ARM"] = True
14864
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
14844
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
14865
-    DEFINES["WEBRTC_HAS_NEON"] = True
14845
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 14876-14885 index 0885f16a0655..ef5775ccf647 100644 Link Here
14876
 
14856
 
14877
 if CONFIG["TARGET_CPU"] == "x86":
14857
 if CONFIG["TARGET_CPU"] == "x86":
14878
 
14858
 
14879
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
14859
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
14880
 
14860
-
14881
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
14861
-if CONFIG["TARGET_CPU"] == "x86_64":
14882
 
14862
-
14863
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
14864
-
14883
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
14865
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
14884
-
14866
-
14885
-    DEFINES["_DEBUG"] = True
14867
-    DEFINES["_DEBUG"] = True
Lines 14901-14916 index 0885f16a0655..ef5775ccf647 100644 Link Here
14901
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
14883
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
14902
-
14884
-
14903
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
14885
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
14904
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
14886
-
14905
 
14887
-    DEFINES["USE_X11"] = "1"
14906
     DEFINES["USE_X11"] = "1"
14888
-
14907
 
14908
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
14889
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
14909
-
14890
-
14910
-    OS_LIBS += [
14891
-    OS_LIBS += [
14911
-        "unwind"
14892
-        "unwind"
14912
-    ]
14893
-    ]
14913
-
14894
-
14895
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
14896
-
14897
     CXXFLAGS += [
14898
         "-msse2"
14899
     ]
14900
 
14914
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
14901
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
14915
-
14902
-
14916
-    DEFINES["_GNU_SOURCE"] = True
14903
-    DEFINES["_GNU_SOURCE"] = True
Lines 14920-14937 index 0885f16a0655..ef5775ccf647 100644 Link Here
14920
-    DEFINES["_GNU_SOURCE"] = True
14907
-    DEFINES["_GNU_SOURCE"] = True
14921
-
14908
-
14922
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
14909
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
14923
-
14910
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
14911
 
14912
-    CXXFLAGS += [
14913
-        "-msse2"
14914
-    ]
14915
+if CONFIG["TARGET_CPU"] == "x86_64":
14916
 
14924
-    DEFINES["_GNU_SOURCE"] = True
14917
-    DEFINES["_GNU_SOURCE"] = True
14925
-
14918
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
14919
 
14926
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
14920
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
14927
-
14921
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
14922
 
14928
-    DEFINES["_GNU_SOURCE"] = True
14923
-    DEFINES["_GNU_SOURCE"] = True
14929
-
14924
+    DEFINES["USE_X11"] = "1"
14930
 Library("bandwidth_estimation_settings_gn")
14925
 
14931
diff --git third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build
14926
 Library("task_queue_gn")
14932
index 2f22fa141fe6..d7e6270a1b00 100644
14927
diff --git third_party/libwebrtc/api/transport/bandwidth_estimation_settings_gn/moz.build third_party/libwebrtc/api/transport/bandwidth_estimation_settings_gn/moz.build
14933
--- third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build
14928
index 45a9e8326962..c54c4003e72e 100644
14934
+++ third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build
14929
--- third_party/libwebrtc/api/transport/bandwidth_estimation_settings_gn/moz.build
14930
+++ third_party/libwebrtc/api/transport/bandwidth_estimation_settings_gn/moz.build
14935
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
14931
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
14936
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
14932
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
14937
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
14933
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 15114-15124 index 2f22fa141fe6..d7e6270a1b00 100644 Link Here
15114
-
15110
-
15115
-    DEFINES["_GNU_SOURCE"] = True
15111
-    DEFINES["_GNU_SOURCE"] = True
15116
-
15112
-
15117
 Library("bandwidth_usage_gn")
15113
 Library("bandwidth_estimation_settings_gn")
15118
diff --git third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build
15114
diff --git third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build
15119
index 42410686d0be..82767eaae01a 100644
15115
index 0441698bcb75..280d320a8c36 100644
15120
--- third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build
15116
--- third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build
15121
+++ third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build
15117
+++ third_party/libwebrtc/api/transport/bandwidth_usage_gn/moz.build
15122
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
15118
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
15123
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
15119
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
15124
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
15120
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 15141-15147 index 42410686d0be..82767eaae01a 100644 Link Here
15141
 
15137
 
15142
 FINAL_LIBRARY = "xul"
15138
 FINAL_LIBRARY = "xul"
15143
 
15139
 
15144
@@ -43,174 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
15140
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
15145
 if CONFIG["MOZ_DEBUG"] == "1":
15141
 if CONFIG["MOZ_DEBUG"] == "1":
15146
 
15142
 
15147
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
15143
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 15234-15243 index 42410686d0be..82767eaae01a 100644 Link Here
15234
 
15230
 
15235
-if CONFIG["TARGET_CPU"] == "arm":
15231
-if CONFIG["TARGET_CPU"] == "arm":
15236
-
15232
-
15237
-    CXXFLAGS += [
15238
-        "-mfpu=neon"
15239
-    ]
15240
-
15241
-    DEFINES["WEBRTC_ARCH_ARM"] = True
15233
-    DEFINES["WEBRTC_ARCH_ARM"] = True
15242
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
15234
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
15243
-    DEFINES["WEBRTC_HAS_NEON"] = True
15235
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 15254-15265 index 42410686d0be..82767eaae01a 100644 Link Here
15254
 
15246
 
15255
 if CONFIG["TARGET_CPU"] == "x86":
15247
 if CONFIG["TARGET_CPU"] == "x86":
15256
 
15248
 
15257
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
15249
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
15258
-
15250
 
15259
-if CONFIG["TARGET_CPU"] == "x86_64":
15251
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
15260
-
15252
 
15261
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
15262
-
15263
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
15253
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
15264
-
15254
-
15265
-    DEFINES["_DEBUG"] = True
15255
-    DEFINES["_DEBUG"] = True
Lines 15281-15301 index 42410686d0be..82767eaae01a 100644 Link Here
15281
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
15271
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
15282
-
15272
-
15283
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
15273
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
15284
-
15274
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
15285
-    DEFINES["USE_X11"] = "1"
15275
 
15286
-
15276
     DEFINES["USE_X11"] = "1"
15277
 
15287
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
15278
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
15288
-
15279
-
15289
-    OS_LIBS += [
15280
-    OS_LIBS += [
15290
-        "unwind"
15281
-        "unwind"
15291
-    ]
15282
-    ]
15292
-
15283
-
15293
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
15294
-
15295
     CXXFLAGS += [
15296
         "-msse2"
15297
     ]
15298
 
15299
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
15284
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
15300
-
15285
-
15301
-    DEFINES["_GNU_SOURCE"] = True
15286
-    DEFINES["_GNU_SOURCE"] = True
Lines 15305-15331 index 42410686d0be..82767eaae01a 100644 Link Here
15305
-    DEFINES["_GNU_SOURCE"] = True
15290
-    DEFINES["_GNU_SOURCE"] = True
15306
-
15291
-
15307
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
15292
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
15308
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
15293
-
15309
 
15310
-    CXXFLAGS += [
15311
-        "-msse2"
15312
-    ]
15313
+if CONFIG["TARGET_CPU"] == "x86_64":
15314
 
15315
-    DEFINES["_GNU_SOURCE"] = True
15294
-    DEFINES["_GNU_SOURCE"] = True
15316
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
15295
-
15317
 
15318
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
15296
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
15319
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
15297
-
15320
 
15321
-    DEFINES["_GNU_SOURCE"] = True
15298
-    DEFINES["_GNU_SOURCE"] = True
15322
+    DEFINES["USE_X11"] = "1"
15299
-
15323
 
15300
 Library("bandwidth_usage_gn")
15324
 Library("bitrate_settings_gn")
15301
diff --git third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build
15325
diff --git third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build
15302
index b66b9044f154..baafa648900b 100644
15326
index e0f8f023787b..b9b426e20a50 100644
15303
--- third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build
15327
--- third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build
15304
+++ third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build
15328
+++ third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build
15329
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
15305
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
15330
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
15306
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
15331
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
15307
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 15348-15354 index e0f8f023787b..b9b426e20a50 100644 Link Here
15348
 
15324
 
15349
 FINAL_LIBRARY = "xul"
15325
 FINAL_LIBRARY = "xul"
15350
 
15326
 
15351
@@ -39,118 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
15327
@@ -43,174 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
15352
 if CONFIG["MOZ_DEBUG"] == "1":
15328
 if CONFIG["MOZ_DEBUG"] == "1":
15353
 
15329
 
15354
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
15330
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 15367-15376 index e0f8f023787b..b9b426e20a50 100644 Link Here
15367
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
15343
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
15368
-    DEFINES["__STDC_FORMAT_MACROS"] = True
15344
-    DEFINES["__STDC_FORMAT_MACROS"] = True
15369
-
15345
-
15370
-    OS_LIBS += [
15371
-        "log"
15372
-    ]
15373
-
15374
-if CONFIG["OS_TARGET"] == "Darwin":
15346
-if CONFIG["OS_TARGET"] == "Darwin":
15375
-
15347
-
15376
-    DEFINES["WEBRTC_MAC"] = True
15348
-    DEFINES["WEBRTC_MAC"] = True
Lines 15436-15448 index e0f8f023787b..b9b426e20a50 100644 Link Here
15436
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
15408
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
15437
-    DEFINES["_WINDOWS"] = True
15409
-    DEFINES["_WINDOWS"] = True
15438
-    DEFINES["__STD_C"] = True
15410
-    DEFINES["__STD_C"] = True
15439
-
15440
-    OS_LIBS += [
15441
-        "crypt32",
15442
-        "iphlpapi",
15443
-        "secur32",
15444
-        "winmm"
15445
-    ]
15446
+    DEFINES["_DEBUG"] = True
15411
+    DEFINES["_DEBUG"] = True
15447
 
15412
 
15448
 if CONFIG["TARGET_CPU"] == "aarch64":
15413
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 15452-15457 index e0f8f023787b..b9b426e20a50 100644 Link Here
15452
 
15417
 
15453
-if CONFIG["TARGET_CPU"] == "arm":
15418
-if CONFIG["TARGET_CPU"] == "arm":
15454
-
15419
-
15420
-    CXXFLAGS += [
15421
-        "-mfpu=neon"
15422
-    ]
15423
-
15455
-    DEFINES["WEBRTC_ARCH_ARM"] = True
15424
-    DEFINES["WEBRTC_ARCH_ARM"] = True
15456
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
15425
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
15457
-    DEFINES["WEBRTC_HAS_NEON"] = True
15426
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 15468-15477 index e0f8f023787b..b9b426e20a50 100644 Link Here
15468
 
15437
 
15469
 if CONFIG["TARGET_CPU"] == "x86":
15438
 if CONFIG["TARGET_CPU"] == "x86":
15470
 
15439
 
15471
@@ -160,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
15440
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
15472
 
15441
-
15473
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
15442
-if CONFIG["TARGET_CPU"] == "x86_64":
15474
 
15443
-
15444
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
15445
-
15475
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
15446
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
15476
-
15447
-
15477
-    DEFINES["_DEBUG"] = True
15448
-    DEFINES["_DEBUG"] = True
Lines 15493-15508 index e0f8f023787b..b9b426e20a50 100644 Link Here
15493
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
15464
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
15494
-
15465
-
15495
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
15466
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
15496
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
15467
-
15497
 
15468
-    DEFINES["USE_X11"] = "1"
15498
     DEFINES["USE_X11"] = "1"
15469
-
15499
 
15500
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
15470
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
15501
-
15471
-
15502
-    OS_LIBS += [
15472
-    OS_LIBS += [
15503
-        "unwind"
15473
-        "unwind"
15504
-    ]
15474
-    ]
15505
-
15475
-
15476
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
15477
-
15478
     CXXFLAGS += [
15479
         "-msse2"
15480
     ]
15481
 
15506
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
15482
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
15507
-
15483
-
15508
-    DEFINES["_GNU_SOURCE"] = True
15484
-    DEFINES["_GNU_SOURCE"] = True
Lines 15512-15529 index e0f8f023787b..b9b426e20a50 100644 Link Here
15512
-    DEFINES["_GNU_SOURCE"] = True
15488
-    DEFINES["_GNU_SOURCE"] = True
15513
-
15489
-
15514
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
15490
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
15515
-
15491
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
15492
 
15493
-    CXXFLAGS += [
15494
-        "-msse2"
15495
-    ]
15496
+if CONFIG["TARGET_CPU"] == "x86_64":
15497
 
15516
-    DEFINES["_GNU_SOURCE"] = True
15498
-    DEFINES["_GNU_SOURCE"] = True
15517
-
15499
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
15500
 
15518
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
15501
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
15519
-
15502
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
15503
 
15520
-    DEFINES["_GNU_SOURCE"] = True
15504
-    DEFINES["_GNU_SOURCE"] = True
15521
-
15505
+    DEFINES["USE_X11"] = "1"
15522
 Library("datagram_transport_interface_gn")
15506
 
15523
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
15507
 Library("bitrate_settings_gn")
15524
index 0b2e41f78c7b..665be1aad89b 100644
15508
diff --git third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build
15525
--- third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build
15509
index 075109c58fea..a56ae7b53213 100644
15526
+++ third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build
15510
--- third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build
15511
+++ third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build
15527
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
15512
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
15528
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
15513
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
15529
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
15514
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 15546-15552 index 0b2e41f78c7b..665be1aad89b 100644 Link Here
15546
 
15531
 
15547
 FINAL_LIBRARY = "xul"
15532
 FINAL_LIBRARY = "xul"
15548
 
15533
 
15549
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
15534
@@ -39,118 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
15550
 if CONFIG["MOZ_DEBUG"] == "1":
15535
 if CONFIG["MOZ_DEBUG"] == "1":
15551
 
15536
 
15552
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
15537
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 15650-15659 index 0b2e41f78c7b..665be1aad89b 100644 Link Here
15650
 
15635
 
15651
-if CONFIG["TARGET_CPU"] == "arm":
15636
-if CONFIG["TARGET_CPU"] == "arm":
15652
-
15637
-
15653
-    CXXFLAGS += [
15654
-        "-mfpu=neon"
15655
-    ]
15656
-
15657
-    DEFINES["WEBRTC_ARCH_ARM"] = True
15638
-    DEFINES["WEBRTC_ARCH_ARM"] = True
15658
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
15639
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
15659
-    DEFINES["WEBRTC_HAS_NEON"] = True
15640
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 15670-15681 index 0b2e41f78c7b..665be1aad89b 100644 Link Here
15670
 
15651
 
15671
 if CONFIG["TARGET_CPU"] == "x86":
15652
 if CONFIG["TARGET_CPU"] == "x86":
15672
 
15653
 
15673
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
15654
@@ -160,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
15674
-
15655
 
15675
-if CONFIG["TARGET_CPU"] == "x86_64":
15656
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
15676
-
15657
 
15677
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
15678
-
15679
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
15658
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
15680
-
15659
-
15681
-    DEFINES["_DEBUG"] = True
15660
-    DEFINES["_DEBUG"] = True
Lines 15697-15717 index 0b2e41f78c7b..665be1aad89b 100644 Link Here
15697
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
15676
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
15698
-
15677
-
15699
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
15678
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
15700
-
15679
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
15701
-    DEFINES["USE_X11"] = "1"
15680
 
15702
-
15681
     DEFINES["USE_X11"] = "1"
15682
 
15703
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
15683
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
15704
-
15684
-
15705
-    OS_LIBS += [
15685
-    OS_LIBS += [
15706
-        "unwind"
15686
-        "unwind"
15707
-    ]
15687
-    ]
15708
-
15688
-
15709
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
15710
-
15711
     CXXFLAGS += [
15712
         "-msse2"
15713
     ]
15714
 
15715
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
15689
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
15716
-
15690
-
15717
-    DEFINES["_GNU_SOURCE"] = True
15691
-    DEFINES["_GNU_SOURCE"] = True
Lines 15721-15747 index 0b2e41f78c7b..665be1aad89b 100644 Link Here
15721
-    DEFINES["_GNU_SOURCE"] = True
15695
-    DEFINES["_GNU_SOURCE"] = True
15722
-
15696
-
15723
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
15697
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
15724
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
15698
-
15725
 
15726
-    CXXFLAGS += [
15727
-        "-msse2"
15728
-    ]
15729
+if CONFIG["TARGET_CPU"] == "x86_64":
15730
 
15731
-    DEFINES["_GNU_SOURCE"] = True
15699
-    DEFINES["_GNU_SOURCE"] = True
15732
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
15700
-
15733
 
15734
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
15701
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
15735
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
15702
-
15736
 
15737
-    DEFINES["_GNU_SOURCE"] = True
15703
-    DEFINES["_GNU_SOURCE"] = True
15738
+    DEFINES["USE_X11"] = "1"
15704
-
15739
 
15705
 Library("datagram_transport_interface_gn")
15740
 Library("field_trial_based_config_gn")
15706
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
15741
diff --git third_party/libwebrtc/api/transport/goog_cc_gn/moz.build third_party/libwebrtc/api/transport/goog_cc_gn/moz.build
15707
index 3b970aee2e27..5824d2655751 100644
15742
index 70efa923b78f..6f3cfe2f16c5 100644
15708
--- third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build
15743
--- third_party/libwebrtc/api/transport/goog_cc_gn/moz.build
15709
+++ third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build
15744
+++ third_party/libwebrtc/api/transport/goog_cc_gn/moz.build
15745
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
15710
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
15746
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
15711
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
15747
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
15712
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 15764-15770 index 70efa923b78f..6f3cfe2f16c5 100644 Link Here
15764
 
15729
 
15765
 FINAL_LIBRARY = "xul"
15730
 FINAL_LIBRARY = "xul"
15766
 
15731
 
15767
@@ -43,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
15732
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
15768
 if CONFIG["MOZ_DEBUG"] == "1":
15733
 if CONFIG["MOZ_DEBUG"] == "1":
15769
 
15734
 
15770
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
15735
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 15784-15790 index 70efa923b78f..6f3cfe2f16c5 100644 Link Here
15784
-    DEFINES["__STDC_FORMAT_MACROS"] = True
15749
-    DEFINES["__STDC_FORMAT_MACROS"] = True
15785
-
15750
-
15786
-    OS_LIBS += [
15751
-    OS_LIBS += [
15787
-        "GLESv2",
15788
-        "log"
15752
-        "log"
15789
-    ]
15753
-    ]
15790
-
15754
-
Lines 15813-15822 index 70efa923b78f..6f3cfe2f16c5 100644 Link Here
15813
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
15777
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
15814
-    DEFINES["__STDC_FORMAT_MACROS"] = True
15778
-    DEFINES["__STDC_FORMAT_MACROS"] = True
15815
-
15779
-
15816
-    OS_LIBS += [
15817
-        "rt"
15818
-    ]
15819
-
15820
-if CONFIG["OS_TARGET"] == "OpenBSD":
15780
-if CONFIG["OS_TARGET"] == "OpenBSD":
15821
-
15781
-
15822
-    DEFINES["USE_GLIB"] = "1"
15782
-    DEFINES["USE_GLIB"] = "1"
Lines 15960-15970 index 70efa923b78f..6f3cfe2f16c5 100644 Link Here
15960
-    DEFINES["_GNU_SOURCE"] = True
15920
-    DEFINES["_GNU_SOURCE"] = True
15961
+    DEFINES["USE_X11"] = "1"
15921
+    DEFINES["USE_X11"] = "1"
15962
 
15922
 
15963
 Library("goog_cc_gn")
15923
 Library("field_trial_based_config_gn")
15964
diff --git third_party/libwebrtc/api/transport/network_control_gn/moz.build third_party/libwebrtc/api/transport/network_control_gn/moz.build
15924
diff --git third_party/libwebrtc/api/transport/goog_cc_gn/moz.build third_party/libwebrtc/api/transport/goog_cc_gn/moz.build
15965
index abbedfaee9af..08b107c8a46a 100644
15925
index 8255eb921f79..f713906b4cd4 100644
15966
--- third_party/libwebrtc/api/transport/network_control_gn/moz.build
15926
--- third_party/libwebrtc/api/transport/goog_cc_gn/moz.build
15967
+++ third_party/libwebrtc/api/transport/network_control_gn/moz.build
15927
+++ third_party/libwebrtc/api/transport/goog_cc_gn/moz.build
15968
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
15928
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
15969
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
15929
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
15970
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
15930
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 15987-15993 index abbedfaee9af..08b107c8a46a 100644 Link Here
15987
 
15947
 
15988
 FINAL_LIBRARY = "xul"
15948
 FINAL_LIBRARY = "xul"
15989
 
15949
 
15990
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
15950
@@ -43,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
15991
 if CONFIG["MOZ_DEBUG"] == "1":
15951
 if CONFIG["MOZ_DEBUG"] == "1":
15992
 
15952
 
15993
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
15953
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 16007-16012 index abbedfaee9af..08b107c8a46a 100644 Link Here
16007
-    DEFINES["__STDC_FORMAT_MACROS"] = True
15967
-    DEFINES["__STDC_FORMAT_MACROS"] = True
16008
-
15968
-
16009
-    OS_LIBS += [
15969
-    OS_LIBS += [
15970
-        "GLESv2",
16010
-        "log"
15971
-        "log"
16011
-    ]
15972
-    ]
16012
-
15973
-
Lines 16035-16040 index abbedfaee9af..08b107c8a46a 100644 Link Here
16035
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
15996
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
16036
-    DEFINES["__STDC_FORMAT_MACROS"] = True
15997
-    DEFINES["__STDC_FORMAT_MACROS"] = True
16037
-
15998
-
15999
-    OS_LIBS += [
16000
-        "rt"
16001
-    ]
16002
-
16038
-if CONFIG["OS_TARGET"] == "OpenBSD":
16003
-if CONFIG["OS_TARGET"] == "OpenBSD":
16039
-
16004
-
16040
-    DEFINES["USE_GLIB"] = "1"
16005
-    DEFINES["USE_GLIB"] = "1"
Lines 16178-16188 index abbedfaee9af..08b107c8a46a 100644 Link Here
16178
-    DEFINES["_GNU_SOURCE"] = True
16143
-    DEFINES["_GNU_SOURCE"] = True
16179
+    DEFINES["USE_X11"] = "1"
16144
+    DEFINES["USE_X11"] = "1"
16180
 
16145
 
16181
 Library("network_control_gn")
16146
 Library("goog_cc_gn")
16182
diff --git third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build
16147
diff --git third_party/libwebrtc/api/transport/network_control_gn/moz.build third_party/libwebrtc/api/transport/network_control_gn/moz.build
16183
index 16ec75fa0170..dc43798be44c 100644
16148
index 561baff74f56..b3acce5ab46e 100644
16184
--- third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build
16149
--- third_party/libwebrtc/api/transport/network_control_gn/moz.build
16185
+++ third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build
16150
+++ third_party/libwebrtc/api/transport/network_control_gn/moz.build
16186
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
16151
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
16187
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
16152
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
16188
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
16153
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 16205-16211 index 16ec75fa0170..dc43798be44c 100644 Link Here
16205
 
16170
 
16206
 FINAL_LIBRARY = "xul"
16171
 FINAL_LIBRARY = "xul"
16207
 
16172
 
16208
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
16173
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
16209
 if CONFIG["MOZ_DEBUG"] == "1":
16174
 if CONFIG["MOZ_DEBUG"] == "1":
16210
 
16175
 
16211
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
16176
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 16293-16298 index 16ec75fa0170..dc43798be44c 100644 Link Here
16293
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
16258
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
16294
-    DEFINES["_WINDOWS"] = True
16259
-    DEFINES["_WINDOWS"] = True
16295
-    DEFINES["__STD_C"] = True
16260
-    DEFINES["__STD_C"] = True
16261
-
16262
-    OS_LIBS += [
16263
-        "crypt32",
16264
-        "iphlpapi",
16265
-        "secur32",
16266
-        "winmm"
16267
-    ]
16296
+    DEFINES["_DEBUG"] = True
16268
+    DEFINES["_DEBUG"] = True
16297
 
16269
 
16298
 if CONFIG["TARGET_CPU"] == "aarch64":
16270
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 16389-16399 index 16ec75fa0170..dc43798be44c 100644 Link Here
16389
-    DEFINES["_GNU_SOURCE"] = True
16361
-    DEFINES["_GNU_SOURCE"] = True
16390
+    DEFINES["USE_X11"] = "1"
16362
+    DEFINES["USE_X11"] = "1"
16391
 
16363
 
16392
 Library("dependency_descriptor_gn")
16364
 Library("network_control_gn")
16393
diff --git third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build
16365
diff --git third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build
16394
index 83c88e8037fe..3656e84885cd 100644
16366
index 5df8c9603ac6..4ea1d123bf64 100644
16395
--- third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build
16367
--- third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build
16396
+++ third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build
16368
+++ third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build
16397
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
16369
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
16398
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
16370
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
16399
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
16371
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 16416-16422 index 83c88e8037fe..3656e84885cd 100644 Link Here
16416
 
16388
 
16417
 FINAL_LIBRARY = "xul"
16389
 FINAL_LIBRARY = "xul"
16418
 
16390
 
16419
@@ -39,118 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
16391
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
16420
 if CONFIG["MOZ_DEBUG"] == "1":
16392
 if CONFIG["MOZ_DEBUG"] == "1":
16421
 
16393
 
16422
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
16394
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 16504-16516 index 83c88e8037fe..3656e84885cd 100644 Link Here
16504
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
16476
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
16505
-    DEFINES["_WINDOWS"] = True
16477
-    DEFINES["_WINDOWS"] = True
16506
-    DEFINES["__STD_C"] = True
16478
-    DEFINES["__STD_C"] = True
16507
-
16508
-    OS_LIBS += [
16509
-        "crypt32",
16510
-        "iphlpapi",
16511
-        "secur32",
16512
-        "winmm"
16513
-    ]
16514
+    DEFINES["_DEBUG"] = True
16479
+    DEFINES["_DEBUG"] = True
16515
 
16480
 
16516
 if CONFIG["TARGET_CPU"] == "aarch64":
16481
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 16520-16525 index 83c88e8037fe..3656e84885cd 100644 Link Here
16520
 
16485
 
16521
-if CONFIG["TARGET_CPU"] == "arm":
16486
-if CONFIG["TARGET_CPU"] == "arm":
16522
-
16487
-
16488
-    CXXFLAGS += [
16489
-        "-mfpu=neon"
16490
-    ]
16491
-
16523
-    DEFINES["WEBRTC_ARCH_ARM"] = True
16492
-    DEFINES["WEBRTC_ARCH_ARM"] = True
16524
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
16493
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
16525
-    DEFINES["WEBRTC_HAS_NEON"] = True
16494
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 16536-16545 index 83c88e8037fe..3656e84885cd 100644 Link Here
16536
 
16505
 
16537
 if CONFIG["TARGET_CPU"] == "x86":
16506
 if CONFIG["TARGET_CPU"] == "x86":
16538
 
16507
 
16539
@@ -160,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
16508
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
16540
 
16509
-
16541
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
16510
-if CONFIG["TARGET_CPU"] == "x86_64":
16542
 
16511
-
16512
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
16513
-
16543
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
16514
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
16544
-
16515
-
16545
-    DEFINES["_DEBUG"] = True
16516
-    DEFINES["_DEBUG"] = True
Lines 16561-16576 index 83c88e8037fe..3656e84885cd 100644 Link Here
16561
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
16532
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
16562
-
16533
-
16563
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
16534
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
16564
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
16535
-
16565
 
16536
-    DEFINES["USE_X11"] = "1"
16566
     DEFINES["USE_X11"] = "1"
16537
-
16567
 
16568
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
16538
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
16569
-
16539
-
16570
-    OS_LIBS += [
16540
-    OS_LIBS += [
16571
-        "unwind"
16541
-        "unwind"
16572
-    ]
16542
-    ]
16573
-
16543
-
16544
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
16545
-
16546
     CXXFLAGS += [
16547
         "-msse2"
16548
     ]
16549
 
16574
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
16550
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
16575
-
16551
-
16576
-    DEFINES["_GNU_SOURCE"] = True
16552
-    DEFINES["_GNU_SOURCE"] = True
Lines 16580-16597 index 83c88e8037fe..3656e84885cd 100644 Link Here
16580
-    DEFINES["_GNU_SOURCE"] = True
16556
-    DEFINES["_GNU_SOURCE"] = True
16581
-
16557
-
16582
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
16558
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
16583
-
16559
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
16560
 
16561
-    CXXFLAGS += [
16562
-        "-msse2"
16563
-    ]
16564
+if CONFIG["TARGET_CPU"] == "x86_64":
16565
 
16584
-    DEFINES["_GNU_SOURCE"] = True
16566
-    DEFINES["_GNU_SOURCE"] = True
16585
-
16567
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
16568
 
16586
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
16569
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
16587
-
16570
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
16571
 
16588
-    DEFINES["_GNU_SOURCE"] = True
16572
-    DEFINES["_GNU_SOURCE"] = True
16589
-
16573
+    DEFINES["USE_X11"] = "1"
16590
 Library("rtp_source_gn")
16574
 
16591
diff --git third_party/libwebrtc/api/transport/stun_types_gn/moz.build third_party/libwebrtc/api/transport/stun_types_gn/moz.build
16575
 Library("dependency_descriptor_gn")
16592
index 51a16e295eef..62b2c614ce5a 100644
16576
diff --git third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build
16593
--- third_party/libwebrtc/api/transport/stun_types_gn/moz.build
16577
index cd6ffae7d73f..bb4cb862d8ab 100644
16594
+++ third_party/libwebrtc/api/transport/stun_types_gn/moz.build
16578
--- third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build
16579
+++ third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build
16595
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
16580
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
16596
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
16581
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
16597
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
16582
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 16614-16620 index 51a16e295eef..62b2c614ce5a 100644 Link Here
16614
 
16599
 
16615
 FINAL_LIBRARY = "xul"
16600
 FINAL_LIBRARY = "xul"
16616
 
16601
 
16617
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
16602
@@ -39,118 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
16618
 if CONFIG["MOZ_DEBUG"] == "1":
16603
 if CONFIG["MOZ_DEBUG"] == "1":
16619
 
16604
 
16620
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
16605
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 16633-16638 index 51a16e295eef..62b2c614ce5a 100644 Link Here
16633
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
16618
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
16634
-    DEFINES["__STDC_FORMAT_MACROS"] = True
16619
-    DEFINES["__STDC_FORMAT_MACROS"] = True
16635
-
16620
-
16621
-    OS_LIBS += [
16622
-        "log"
16623
-    ]
16624
-
16636
-if CONFIG["OS_TARGET"] == "Darwin":
16625
-if CONFIG["OS_TARGET"] == "Darwin":
16637
-
16626
-
16638
-    DEFINES["WEBRTC_MAC"] = True
16627
-    DEFINES["WEBRTC_MAC"] = True
Lines 16698-16703 index 51a16e295eef..62b2c614ce5a 100644 Link Here
16698
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
16687
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
16699
-    DEFINES["_WINDOWS"] = True
16688
-    DEFINES["_WINDOWS"] = True
16700
-    DEFINES["__STD_C"] = True
16689
-    DEFINES["__STD_C"] = True
16690
-
16691
-    OS_LIBS += [
16692
-        "crypt32",
16693
-        "iphlpapi",
16694
-        "secur32",
16695
-        "winmm"
16696
-    ]
16701
+    DEFINES["_DEBUG"] = True
16697
+    DEFINES["_DEBUG"] = True
16702
 
16698
 
16703
 if CONFIG["TARGET_CPU"] == "aarch64":
16699
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 16723-16729 index 51a16e295eef..62b2c614ce5a 100644 Link Here
16723
 
16719
 
16724
 if CONFIG["TARGET_CPU"] == "x86":
16720
 if CONFIG["TARGET_CPU"] == "x86":
16725
 
16721
 
16726
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
16722
@@ -160,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
16727
 
16723
 
16728
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
16724
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
16729
 
16725
 
Lines 16774-16784 index 51a16e295eef..62b2c614ce5a 100644 Link Here
16774
-
16770
-
16775
-    DEFINES["_GNU_SOURCE"] = True
16771
-    DEFINES["_GNU_SOURCE"] = True
16776
-
16772
-
16777
 Library("stun_types_gn")
16773
 Library("rtp_source_gn")
16778
diff --git third_party/libwebrtc/api/transport_api_gn/moz.build third_party/libwebrtc/api/transport_api_gn/moz.build
16774
diff --git third_party/libwebrtc/api/transport/stun_types_gn/moz.build third_party/libwebrtc/api/transport/stun_types_gn/moz.build
16779
index a726caad2813..f12489fba6e4 100644
16775
index 098eb72eb9ac..8bace3d4370c 100644
16780
--- third_party/libwebrtc/api/transport_api_gn/moz.build
16776
--- third_party/libwebrtc/api/transport/stun_types_gn/moz.build
16781
+++ third_party/libwebrtc/api/transport_api_gn/moz.build
16777
+++ third_party/libwebrtc/api/transport/stun_types_gn/moz.build
16782
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
16778
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
16783
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
16779
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
16784
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
16780
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 16801-16807 index a726caad2813..f12489fba6e4 100644 Link Here
16801
 
16797
 
16802
 FINAL_LIBRARY = "xul"
16798
 FINAL_LIBRARY = "xul"
16803
 
16799
 
16804
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
16800
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
16805
 if CONFIG["MOZ_DEBUG"] == "1":
16801
 if CONFIG["MOZ_DEBUG"] == "1":
16806
 
16802
 
16807
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
16803
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 16820-16829 index a726caad2813..f12489fba6e4 100644 Link Here
16820
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
16816
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
16821
-    DEFINES["__STDC_FORMAT_MACROS"] = True
16817
-    DEFINES["__STDC_FORMAT_MACROS"] = True
16822
-
16818
-
16823
-    OS_LIBS += [
16824
-        "log"
16825
-    ]
16826
-
16827
-if CONFIG["OS_TARGET"] == "Darwin":
16819
-if CONFIG["OS_TARGET"] == "Darwin":
16828
-
16820
-
16829
-    DEFINES["WEBRTC_MAC"] = True
16821
-    DEFINES["WEBRTC_MAC"] = True
Lines 16898-16907 index a726caad2813..f12489fba6e4 100644 Link Here
16898
 
16890
 
16899
-if CONFIG["TARGET_CPU"] == "arm":
16891
-if CONFIG["TARGET_CPU"] == "arm":
16900
-
16892
-
16901
-    CXXFLAGS += [
16902
-        "-mfpu=neon"
16903
-    ]
16904
-
16905
-    DEFINES["WEBRTC_ARCH_ARM"] = True
16893
-    DEFINES["WEBRTC_ARCH_ARM"] = True
16906
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
16894
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
16907
-    DEFINES["WEBRTC_HAS_NEON"] = True
16895
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 16918-16929 index a726caad2813..f12489fba6e4 100644 Link Here
16918
 
16906
 
16919
 if CONFIG["TARGET_CPU"] == "x86":
16907
 if CONFIG["TARGET_CPU"] == "x86":
16920
 
16908
 
16921
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
16909
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
16922
-
16910
 
16923
-if CONFIG["TARGET_CPU"] == "x86_64":
16911
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
16924
-
16912
 
16925
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
16926
-
16927
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
16913
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
16928
-
16914
-
16929
-    DEFINES["_DEBUG"] = True
16915
-    DEFINES["_DEBUG"] = True
Lines 16945-16965 index a726caad2813..f12489fba6e4 100644 Link Here
16945
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
16931
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
16946
-
16932
-
16947
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
16933
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
16948
-
16934
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
16949
-    DEFINES["USE_X11"] = "1"
16935
 
16950
-
16936
     DEFINES["USE_X11"] = "1"
16937
 
16951
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
16938
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
16952
-
16939
-
16953
-    OS_LIBS += [
16940
-    OS_LIBS += [
16954
-        "unwind"
16941
-        "unwind"
16955
-    ]
16942
-    ]
16956
-
16943
-
16957
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
16958
-
16959
     CXXFLAGS += [
16960
         "-msse2"
16961
     ]
16962
 
16963
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
16944
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
16964
-
16945
-
16965
-    DEFINES["_GNU_SOURCE"] = True
16946
-    DEFINES["_GNU_SOURCE"] = True
Lines 16969-16995 index a726caad2813..f12489fba6e4 100644 Link Here
16969
-    DEFINES["_GNU_SOURCE"] = True
16950
-    DEFINES["_GNU_SOURCE"] = True
16970
-
16951
-
16971
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
16952
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
16972
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
16953
-
16973
 
16974
-    CXXFLAGS += [
16975
-        "-msse2"
16976
-    ]
16977
+if CONFIG["TARGET_CPU"] == "x86_64":
16978
 
16979
-    DEFINES["_GNU_SOURCE"] = True
16954
-    DEFINES["_GNU_SOURCE"] = True
16980
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
16955
-
16981
 
16982
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
16956
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
16983
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
16957
-
16984
 
16985
-    DEFINES["_GNU_SOURCE"] = True
16958
-    DEFINES["_GNU_SOURCE"] = True
16986
+    DEFINES["USE_X11"] = "1"
16959
-
16987
 
16960
 Library("stun_types_gn")
16988
 Library("transport_api_gn")
16961
diff --git third_party/libwebrtc/api/transport_api_gn/moz.build third_party/libwebrtc/api/transport_api_gn/moz.build
16989
diff --git third_party/libwebrtc/api/units/data_rate_gn/moz.build third_party/libwebrtc/api/units/data_rate_gn/moz.build
16962
index 3f5d0852a58e..b172533f8690 100644
16990
index 398b03d0a231..41e7c078d060 100644
16963
--- third_party/libwebrtc/api/transport_api_gn/moz.build
16991
--- third_party/libwebrtc/api/units/data_rate_gn/moz.build
16964
+++ third_party/libwebrtc/api/transport_api_gn/moz.build
16992
+++ third_party/libwebrtc/api/units/data_rate_gn/moz.build
16993
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
16965
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
16994
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
16966
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
16995
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
16967
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 17196-17206 index 398b03d0a231..41e7c078d060 100644 Link Here
17196
-    DEFINES["_GNU_SOURCE"] = True
17168
-    DEFINES["_GNU_SOURCE"] = True
17197
+    DEFINES["USE_X11"] = "1"
17169
+    DEFINES["USE_X11"] = "1"
17198
 
17170
 
17199
 Library("data_rate_gn")
17171
 Library("transport_api_gn")
17200
diff --git third_party/libwebrtc/api/units/data_size_gn/moz.build third_party/libwebrtc/api/units/data_size_gn/moz.build
17172
diff --git third_party/libwebrtc/api/units/data_rate_gn/moz.build third_party/libwebrtc/api/units/data_rate_gn/moz.build
17201
index 8f61d0131463..5a8fb7125160 100644
17173
index 19e412ef718c..6ef287808300 100644
17202
--- third_party/libwebrtc/api/units/data_size_gn/moz.build
17174
--- third_party/libwebrtc/api/units/data_rate_gn/moz.build
17203
+++ third_party/libwebrtc/api/units/data_size_gn/moz.build
17175
+++ third_party/libwebrtc/api/units/data_rate_gn/moz.build
17204
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
17176
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
17205
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
17177
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
17206
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
17178
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 17407-17417 index 8f61d0131463..5a8fb7125160 100644 Link Here
17407
-    DEFINES["_GNU_SOURCE"] = True
17379
-    DEFINES["_GNU_SOURCE"] = True
17408
+    DEFINES["USE_X11"] = "1"
17380
+    DEFINES["USE_X11"] = "1"
17409
 
17381
 
17410
 Library("data_size_gn")
17382
 Library("data_rate_gn")
17411
diff --git third_party/libwebrtc/api/units/frequency_gn/moz.build third_party/libwebrtc/api/units/frequency_gn/moz.build
17383
diff --git third_party/libwebrtc/api/units/data_size_gn/moz.build third_party/libwebrtc/api/units/data_size_gn/moz.build
17412
index 40a6bf261710..fa6c15bc81e1 100644
17384
index d78fda4aa54c..9f96a446f15e 100644
17413
--- third_party/libwebrtc/api/units/frequency_gn/moz.build
17385
--- third_party/libwebrtc/api/units/data_size_gn/moz.build
17414
+++ third_party/libwebrtc/api/units/frequency_gn/moz.build
17386
+++ third_party/libwebrtc/api/units/data_size_gn/moz.build
17415
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
17387
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
17416
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
17388
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
17417
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
17389
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 17618-17628 index 40a6bf261710..fa6c15bc81e1 100644 Link Here
17618
-    DEFINES["_GNU_SOURCE"] = True
17590
-    DEFINES["_GNU_SOURCE"] = True
17619
+    DEFINES["USE_X11"] = "1"
17591
+    DEFINES["USE_X11"] = "1"
17620
 
17592
 
17621
 Library("frequency_gn")
17593
 Library("data_size_gn")
17622
diff --git third_party/libwebrtc/api/units/time_delta_gn/moz.build third_party/libwebrtc/api/units/time_delta_gn/moz.build
17594
diff --git third_party/libwebrtc/api/units/frequency_gn/moz.build third_party/libwebrtc/api/units/frequency_gn/moz.build
17623
index d9ede8c812f2..b129d8b4f2d8 100644
17595
index ff1a8c54034e..0f609929a4e6 100644
17624
--- third_party/libwebrtc/api/units/time_delta_gn/moz.build
17596
--- third_party/libwebrtc/api/units/frequency_gn/moz.build
17625
+++ third_party/libwebrtc/api/units/time_delta_gn/moz.build
17597
+++ third_party/libwebrtc/api/units/frequency_gn/moz.build
17626
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
17598
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
17627
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
17599
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
17628
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
17600
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 17829-17839 index d9ede8c812f2..b129d8b4f2d8 100644 Link Here
17829
-    DEFINES["_GNU_SOURCE"] = True
17801
-    DEFINES["_GNU_SOURCE"] = True
17830
+    DEFINES["USE_X11"] = "1"
17802
+    DEFINES["USE_X11"] = "1"
17831
 
17803
 
17832
 Library("time_delta_gn")
17804
 Library("frequency_gn")
17833
diff --git third_party/libwebrtc/api/units/timestamp_gn/moz.build third_party/libwebrtc/api/units/timestamp_gn/moz.build
17805
diff --git third_party/libwebrtc/api/units/time_delta_gn/moz.build third_party/libwebrtc/api/units/time_delta_gn/moz.build
17834
index 9e5ed8541e57..ca185af59de3 100644
17806
index 43f43d80d89a..501d9b8a6af3 100644
17835
--- third_party/libwebrtc/api/units/timestamp_gn/moz.build
17807
--- third_party/libwebrtc/api/units/time_delta_gn/moz.build
17836
+++ third_party/libwebrtc/api/units/timestamp_gn/moz.build
17808
+++ third_party/libwebrtc/api/units/time_delta_gn/moz.build
17837
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
17809
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
17838
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
17810
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
17839
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
17811
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 18040-18050 index 9e5ed8541e57..ca185af59de3 100644 Link Here
18040
-    DEFINES["_GNU_SOURCE"] = True
18012
-    DEFINES["_GNU_SOURCE"] = True
18041
+    DEFINES["USE_X11"] = "1"
18013
+    DEFINES["USE_X11"] = "1"
18042
 
18014
 
18043
 Library("timestamp_gn")
18015
 Library("time_delta_gn")
18044
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
18016
diff --git third_party/libwebrtc/api/units/timestamp_gn/moz.build third_party/libwebrtc/api/units/timestamp_gn/moz.build
18045
index cafafadf4452..0be4593415cf 100644
18017
index d4a9959eae2b..e606fbd1f708 100644
18046
--- third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build
18018
--- third_party/libwebrtc/api/units/timestamp_gn/moz.build
18047
+++ third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build
18019
+++ third_party/libwebrtc/api/units/timestamp_gn/moz.build
18048
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
18020
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
18049
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
18021
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
18050
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
18022
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 18067-18073 index cafafadf4452..0be4593415cf 100644 Link Here
18067
 
18039
 
18068
 FINAL_LIBRARY = "xul"
18040
 FINAL_LIBRARY = "xul"
18069
 
18041
 
18070
@@ -43,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
18042
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
18071
 if CONFIG["MOZ_DEBUG"] == "1":
18043
 if CONFIG["MOZ_DEBUG"] == "1":
18072
 
18044
 
18073
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
18045
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 18087-18093 index cafafadf4452..0be4593415cf 100644 Link Here
18087
-    DEFINES["__STDC_FORMAT_MACROS"] = True
18059
-    DEFINES["__STDC_FORMAT_MACROS"] = True
18088
-
18060
-
18089
-    OS_LIBS += [
18061
-    OS_LIBS += [
18090
-        "GLESv2",
18091
-        "log"
18062
-        "log"
18092
-    ]
18063
-    ]
18093
-
18064
-
Lines 18116-18125 index cafafadf4452..0be4593415cf 100644 Link Here
18116
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
18087
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
18117
-    DEFINES["__STDC_FORMAT_MACROS"] = True
18088
-    DEFINES["__STDC_FORMAT_MACROS"] = True
18118
-
18089
-
18119
-    OS_LIBS += [
18120
-        "rt"
18121
-    ]
18122
-
18123
-if CONFIG["OS_TARGET"] == "OpenBSD":
18090
-if CONFIG["OS_TARGET"] == "OpenBSD":
18124
-
18091
-
18125
-    DEFINES["USE_GLIB"] = "1"
18092
-    DEFINES["USE_GLIB"] = "1"
Lines 18160-18172 index cafafadf4452..0be4593415cf 100644 Link Here
18160
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
18127
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
18161
-    DEFINES["_WINDOWS"] = True
18128
-    DEFINES["_WINDOWS"] = True
18162
-    DEFINES["__STD_C"] = True
18129
-    DEFINES["__STD_C"] = True
18163
-
18164
-    OS_LIBS += [
18165
-        "crypt32",
18166
-        "iphlpapi",
18167
-        "secur32",
18168
-        "winmm"
18169
-    ]
18170
+    DEFINES["_DEBUG"] = True
18130
+    DEFINES["_DEBUG"] = True
18171
 
18131
 
18172
 if CONFIG["TARGET_CPU"] == "aarch64":
18132
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 18263-18273 index cafafadf4452..0be4593415cf 100644 Link Here
18263
-    DEFINES["_GNU_SOURCE"] = True
18223
-    DEFINES["_GNU_SOURCE"] = True
18264
+    DEFINES["USE_X11"] = "1"
18224
+    DEFINES["USE_X11"] = "1"
18265
 
18225
 
18266
 Library("builtin_video_bitrate_allocator_factory_gn")
18226
 Library("timestamp_gn")
18267
diff --git third_party/libwebrtc/api/video/encoded_frame_gn/moz.build third_party/libwebrtc/api/video/encoded_frame_gn/moz.build
18227
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
18268
index d804e2fd3671..a40fcef67844 100644
18228
index fb5c3b325059..6861ef59f17b 100644
18269
--- third_party/libwebrtc/api/video/encoded_frame_gn/moz.build
18229
--- third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build
18270
+++ third_party/libwebrtc/api/video/encoded_frame_gn/moz.build
18230
+++ third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build
18271
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
18231
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
18272
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
18232
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
18273
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
18233
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 18290-18296 index d804e2fd3671..a40fcef67844 100644 Link Here
18290
 
18250
 
18291
 FINAL_LIBRARY = "xul"
18251
 FINAL_LIBRARY = "xul"
18292
 
18252
 
18293
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
18253
@@ -43,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
18294
 if CONFIG["MOZ_DEBUG"] == "1":
18254
 if CONFIG["MOZ_DEBUG"] == "1":
18295
 
18255
 
18296
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
18256
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 18310-18315 index d804e2fd3671..a40fcef67844 100644 Link Here
18310
-    DEFINES["__STDC_FORMAT_MACROS"] = True
18270
-    DEFINES["__STDC_FORMAT_MACROS"] = True
18311
-
18271
-
18312
-    OS_LIBS += [
18272
-    OS_LIBS += [
18273
-        "GLESv2",
18313
-        "log"
18274
-        "log"
18314
-    ]
18275
-    ]
18315
-
18276
-
Lines 18338-18343 index d804e2fd3671..a40fcef67844 100644 Link Here
18338
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
18299
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
18339
-    DEFINES["__STDC_FORMAT_MACROS"] = True
18300
-    DEFINES["__STDC_FORMAT_MACROS"] = True
18340
-
18301
-
18302
-    OS_LIBS += [
18303
-        "rt"
18304
-    ]
18305
-
18341
-if CONFIG["OS_TARGET"] == "OpenBSD":
18306
-if CONFIG["OS_TARGET"] == "OpenBSD":
18342
-
18307
-
18343
-    DEFINES["USE_GLIB"] = "1"
18308
-    DEFINES["USE_GLIB"] = "1"
Lines 18481-18491 index d804e2fd3671..a40fcef67844 100644 Link Here
18481
-    DEFINES["_GNU_SOURCE"] = True
18446
-    DEFINES["_GNU_SOURCE"] = True
18482
+    DEFINES["USE_X11"] = "1"
18447
+    DEFINES["USE_X11"] = "1"
18483
 
18448
 
18484
 Library("encoded_frame_gn")
18449
 Library("builtin_video_bitrate_allocator_factory_gn")
18485
diff --git third_party/libwebrtc/api/video/encoded_image_gn/moz.build third_party/libwebrtc/api/video/encoded_image_gn/moz.build
18450
diff --git third_party/libwebrtc/api/video/encoded_frame_gn/moz.build third_party/libwebrtc/api/video/encoded_frame_gn/moz.build
18486
index a444a71189b9..01e5ec845e10 100644
18451
index c935e1128449..bff7d83848ad 100644
18487
--- third_party/libwebrtc/api/video/encoded_image_gn/moz.build
18452
--- third_party/libwebrtc/api/video/encoded_frame_gn/moz.build
18488
+++ third_party/libwebrtc/api/video/encoded_image_gn/moz.build
18453
+++ third_party/libwebrtc/api/video/encoded_frame_gn/moz.build
18489
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
18454
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
18490
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
18455
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
18491
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
18456
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 18699-18709 index a444a71189b9..01e5ec845e10 100644 Link Here
18699
-    DEFINES["_GNU_SOURCE"] = True
18664
-    DEFINES["_GNU_SOURCE"] = True
18700
+    DEFINES["USE_X11"] = "1"
18665
+    DEFINES["USE_X11"] = "1"
18701
 
18666
 
18702
 Library("encoded_image_gn")
18667
 Library("encoded_frame_gn")
18703
diff --git third_party/libwebrtc/api/video/frame_buffer_gn/moz.build third_party/libwebrtc/api/video/frame_buffer_gn/moz.build
18668
diff --git third_party/libwebrtc/api/video/encoded_image_gn/moz.build third_party/libwebrtc/api/video/encoded_image_gn/moz.build
18704
index 01a33c4b813f..35e492ad1546 100644
18669
index 4c2d4cd0ccbf..e6095826bd91 100644
18705
--- third_party/libwebrtc/api/video/frame_buffer_gn/moz.build
18670
--- third_party/libwebrtc/api/video/encoded_image_gn/moz.build
18706
+++ third_party/libwebrtc/api/video/frame_buffer_gn/moz.build
18671
+++ third_party/libwebrtc/api/video/encoded_image_gn/moz.build
18707
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
18672
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
18708
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
18673
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
18709
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
18674
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 18726-18732 index 01a33c4b813f..35e492ad1546 100644 Link Here
18726
 
18691
 
18727
 FINAL_LIBRARY = "xul"
18692
 FINAL_LIBRARY = "xul"
18728
 
18693
 
18729
@@ -43,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
18694
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
18730
 if CONFIG["MOZ_DEBUG"] == "1":
18695
 if CONFIG["MOZ_DEBUG"] == "1":
18731
 
18696
 
18732
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
18697
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 18746-18752 index 01a33c4b813f..35e492ad1546 100644 Link Here
18746
-    DEFINES["__STDC_FORMAT_MACROS"] = True
18711
-    DEFINES["__STDC_FORMAT_MACROS"] = True
18747
-
18712
-
18748
-    OS_LIBS += [
18713
-    OS_LIBS += [
18749
-        "GLESv2",
18750
-        "log"
18714
-        "log"
18751
-    ]
18715
-    ]
18752
-
18716
-
Lines 18775-18784 index 01a33c4b813f..35e492ad1546 100644 Link Here
18775
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
18739
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
18776
-    DEFINES["__STDC_FORMAT_MACROS"] = True
18740
-    DEFINES["__STDC_FORMAT_MACROS"] = True
18777
-
18741
-
18778
-    OS_LIBS += [
18779
-        "rt"
18780
-    ]
18781
-
18782
-if CONFIG["OS_TARGET"] == "OpenBSD":
18742
-if CONFIG["OS_TARGET"] == "OpenBSD":
18783
-
18743
-
18784
-    DEFINES["USE_GLIB"] = "1"
18744
-    DEFINES["USE_GLIB"] = "1"
Lines 18922-18932 index 01a33c4b813f..35e492ad1546 100644 Link Here
18922
-    DEFINES["_GNU_SOURCE"] = True
18882
-    DEFINES["_GNU_SOURCE"] = True
18923
+    DEFINES["USE_X11"] = "1"
18883
+    DEFINES["USE_X11"] = "1"
18924
 
18884
 
18925
 Library("frame_buffer_gn")
18885
 Library("encoded_image_gn")
18926
diff --git third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build
18886
diff --git third_party/libwebrtc/api/video/frame_buffer_gn/moz.build third_party/libwebrtc/api/video/frame_buffer_gn/moz.build
18927
index 4d6199a71433..63f6010eb884 100644
18887
index 8b0f07346188..dde6da5fd6bd 100644
18928
--- third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build
18888
--- third_party/libwebrtc/api/video/frame_buffer_gn/moz.build
18929
+++ third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build
18889
+++ third_party/libwebrtc/api/video/frame_buffer_gn/moz.build
18930
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
18890
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
18931
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
18891
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
18932
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
18892
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 18949-18955 index 4d6199a71433..63f6010eb884 100644 Link Here
18949
 
18909
 
18950
 FINAL_LIBRARY = "xul"
18910
 FINAL_LIBRARY = "xul"
18951
 
18911
 
18952
@@ -39,118 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
18912
@@ -43,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
18953
 if CONFIG["MOZ_DEBUG"] == "1":
18913
 if CONFIG["MOZ_DEBUG"] == "1":
18954
 
18914
 
18955
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
18915
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 18969-18974 index 4d6199a71433..63f6010eb884 100644 Link Here
18969
-    DEFINES["__STDC_FORMAT_MACROS"] = True
18929
-    DEFINES["__STDC_FORMAT_MACROS"] = True
18970
-
18930
-
18971
-    OS_LIBS += [
18931
-    OS_LIBS += [
18932
-        "GLESv2",
18972
-        "log"
18933
-        "log"
18973
-    ]
18934
-    ]
18974
-
18935
-
Lines 18997-19002 index 4d6199a71433..63f6010eb884 100644 Link Here
18997
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
18958
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
18998
-    DEFINES["__STDC_FORMAT_MACROS"] = True
18959
-    DEFINES["__STDC_FORMAT_MACROS"] = True
18999
-
18960
-
18961
-    OS_LIBS += [
18962
-        "rt"
18963
-    ]
18964
-
19000
-if CONFIG["OS_TARGET"] == "OpenBSD":
18965
-if CONFIG["OS_TARGET"] == "OpenBSD":
19001
-
18966
-
19002
-    DEFINES["USE_GLIB"] = "1"
18967
-    DEFINES["USE_GLIB"] = "1"
Lines 19053-19058 index 4d6199a71433..63f6010eb884 100644 Link Here
19053
 
19018
 
19054
-if CONFIG["TARGET_CPU"] == "arm":
19019
-if CONFIG["TARGET_CPU"] == "arm":
19055
-
19020
-
19021
-    CXXFLAGS += [
19022
-        "-mfpu=neon"
19023
-    ]
19024
-
19056
-    DEFINES["WEBRTC_ARCH_ARM"] = True
19025
-    DEFINES["WEBRTC_ARCH_ARM"] = True
19057
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
19026
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
19058
-    DEFINES["WEBRTC_HAS_NEON"] = True
19027
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 19069-19078 index 4d6199a71433..63f6010eb884 100644 Link Here
19069
 
19038
 
19070
 if CONFIG["TARGET_CPU"] == "x86":
19039
 if CONFIG["TARGET_CPU"] == "x86":
19071
 
19040
 
19072
@@ -160,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
19041
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
19073
 
19042
-
19074
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
19043
-if CONFIG["TARGET_CPU"] == "x86_64":
19075
 
19044
-
19045
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
19046
-
19076
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
19047
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
19077
-
19048
-
19078
-    DEFINES["_DEBUG"] = True
19049
-    DEFINES["_DEBUG"] = True
Lines 19094-19109 index 4d6199a71433..63f6010eb884 100644 Link Here
19094
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
19065
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
19095
-
19066
-
19096
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
19067
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
19097
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
19068
-
19098
 
19069
-    DEFINES["USE_X11"] = "1"
19099
     DEFINES["USE_X11"] = "1"
19070
-
19100
 
19101
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
19071
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
19102
-
19072
-
19103
-    OS_LIBS += [
19073
-    OS_LIBS += [
19104
-        "unwind"
19074
-        "unwind"
19105
-    ]
19075
-    ]
19106
-
19076
-
19077
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
19078
-
19079
     CXXFLAGS += [
19080
         "-msse2"
19081
     ]
19082
 
19107
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
19083
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
19108
-
19084
-
19109
-    DEFINES["_GNU_SOURCE"] = True
19085
-    DEFINES["_GNU_SOURCE"] = True
Lines 19113-19130 index 4d6199a71433..63f6010eb884 100644 Link Here
19113
-    DEFINES["_GNU_SOURCE"] = True
19089
-    DEFINES["_GNU_SOURCE"] = True
19114
-
19090
-
19115
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
19091
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
19116
-
19092
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
19093
 
19094
-    CXXFLAGS += [
19095
-        "-msse2"
19096
-    ]
19097
+if CONFIG["TARGET_CPU"] == "x86_64":
19098
 
19117
-    DEFINES["_GNU_SOURCE"] = True
19099
-    DEFINES["_GNU_SOURCE"] = True
19118
-
19100
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
19101
 
19119
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
19102
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
19120
-
19103
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
19104
 
19121
-    DEFINES["_GNU_SOURCE"] = True
19105
-    DEFINES["_GNU_SOURCE"] = True
19122
-
19106
+    DEFINES["USE_X11"] = "1"
19123
 Library("recordable_encoded_frame_gn")
19107
 
19124
diff --git third_party/libwebrtc/api/video/render_resolution_gn/moz.build third_party/libwebrtc/api/video/render_resolution_gn/moz.build
19108
 Library("frame_buffer_gn")
19125
index a0c4da6d5809..afb0f88ed8fd 100644
19109
diff --git third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build
19126
--- third_party/libwebrtc/api/video/render_resolution_gn/moz.build
19110
index e23a66634e87..4b49c7916ff8 100644
19127
+++ third_party/libwebrtc/api/video/render_resolution_gn/moz.build
19111
--- third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build
19112
+++ third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build
19128
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
19113
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
19129
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
19114
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
19130
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
19115
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 19147-19153 index a0c4da6d5809..afb0f88ed8fd 100644 Link Here
19147
 
19132
 
19148
 FINAL_LIBRARY = "xul"
19133
 FINAL_LIBRARY = "xul"
19149
 
19134
 
19150
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
19135
@@ -39,118 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
19151
 if CONFIG["MOZ_DEBUG"] == "1":
19136
 if CONFIG["MOZ_DEBUG"] == "1":
19152
 
19137
 
19153
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
19138
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 19166-19171 index a0c4da6d5809..afb0f88ed8fd 100644 Link Here
19166
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
19151
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
19167
-    DEFINES["__STDC_FORMAT_MACROS"] = True
19152
-    DEFINES["__STDC_FORMAT_MACROS"] = True
19168
-
19153
-
19154
-    OS_LIBS += [
19155
-        "log"
19156
-    ]
19157
-
19169
-if CONFIG["OS_TARGET"] == "Darwin":
19158
-if CONFIG["OS_TARGET"] == "Darwin":
19170
-
19159
-
19171
-    DEFINES["WEBRTC_MAC"] = True
19160
-    DEFINES["WEBRTC_MAC"] = True
Lines 19231-19236 index a0c4da6d5809..afb0f88ed8fd 100644 Link Here
19231
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
19220
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
19232
-    DEFINES["_WINDOWS"] = True
19221
-    DEFINES["_WINDOWS"] = True
19233
-    DEFINES["__STD_C"] = True
19222
-    DEFINES["__STD_C"] = True
19223
-
19224
-    OS_LIBS += [
19225
-        "crypt32",
19226
-        "iphlpapi",
19227
-        "secur32",
19228
-        "winmm"
19229
-    ]
19234
+    DEFINES["_DEBUG"] = True
19230
+    DEFINES["_DEBUG"] = True
19235
 
19231
 
19236
 if CONFIG["TARGET_CPU"] == "aarch64":
19232
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 19256-19262 index a0c4da6d5809..afb0f88ed8fd 100644 Link Here
19256
 
19252
 
19257
 if CONFIG["TARGET_CPU"] == "x86":
19253
 if CONFIG["TARGET_CPU"] == "x86":
19258
 
19254
 
19259
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
19255
@@ -160,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
19260
 
19256
 
19261
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
19257
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
19262
 
19258
 
Lines 19307-19317 index a0c4da6d5809..afb0f88ed8fd 100644 Link Here
19307
-
19303
-
19308
-    DEFINES["_GNU_SOURCE"] = True
19304
-    DEFINES["_GNU_SOURCE"] = True
19309
-
19305
-
19310
 Library("render_resolution_gn")
19306
 Library("recordable_encoded_frame_gn")
19311
diff --git third_party/libwebrtc/api/video/resolution_gn/moz.build third_party/libwebrtc/api/video/resolution_gn/moz.build
19307
diff --git third_party/libwebrtc/api/video/render_resolution_gn/moz.build third_party/libwebrtc/api/video/render_resolution_gn/moz.build
19312
index e55dfe7d2c22..d5993bf113b5 100644
19308
index 37131d1328f7..9e9a6ad7ae17 100644
19313
--- third_party/libwebrtc/api/video/resolution_gn/moz.build
19309
--- third_party/libwebrtc/api/video/render_resolution_gn/moz.build
19314
+++ third_party/libwebrtc/api/video/resolution_gn/moz.build
19310
+++ third_party/libwebrtc/api/video/render_resolution_gn/moz.build
19315
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
19311
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
19316
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
19312
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
19317
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
19313
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 19494-19504 index e55dfe7d2c22..d5993bf113b5 100644 Link Here
19494
-
19490
-
19495
-    DEFINES["_GNU_SOURCE"] = True
19491
-    DEFINES["_GNU_SOURCE"] = True
19496
-
19492
-
19497
 Library("resolution_gn")
19493
 Library("render_resolution_gn")
19498
diff --git third_party/libwebrtc/api/video/video_adaptation_gn/moz.build third_party/libwebrtc/api/video/video_adaptation_gn/moz.build
19494
diff --git third_party/libwebrtc/api/video/resolution_gn/moz.build third_party/libwebrtc/api/video/resolution_gn/moz.build
19499
index c061e657ab8a..03c9ed5c202b 100644
19495
index 2d00ea929f01..77caba34b370 100644
19500
--- third_party/libwebrtc/api/video/video_adaptation_gn/moz.build
19496
--- third_party/libwebrtc/api/video/resolution_gn/moz.build
19501
+++ third_party/libwebrtc/api/video/video_adaptation_gn/moz.build
19497
+++ third_party/libwebrtc/api/video/resolution_gn/moz.build
19502
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
19498
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
19503
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
19499
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
19504
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
19500
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 19521-19527 index c061e657ab8a..03c9ed5c202b 100644 Link Here
19521
 
19517
 
19522
 FINAL_LIBRARY = "xul"
19518
 FINAL_LIBRARY = "xul"
19523
 
19519
 
19524
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
19520
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
19525
 if CONFIG["MOZ_DEBUG"] == "1":
19521
 if CONFIG["MOZ_DEBUG"] == "1":
19526
 
19522
 
19527
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
19523
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 19540-19549 index c061e657ab8a..03c9ed5c202b 100644 Link Here
19540
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
19536
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
19541
-    DEFINES["__STDC_FORMAT_MACROS"] = True
19537
-    DEFINES["__STDC_FORMAT_MACROS"] = True
19542
-
19538
-
19543
-    OS_LIBS += [
19544
-        "log"
19545
-    ]
19546
-
19547
-if CONFIG["OS_TARGET"] == "Darwin":
19539
-if CONFIG["OS_TARGET"] == "Darwin":
19548
-
19540
-
19549
-    DEFINES["WEBRTC_MAC"] = True
19541
-    DEFINES["WEBRTC_MAC"] = True
Lines 19618-19627 index c061e657ab8a..03c9ed5c202b 100644 Link Here
19618
 
19610
 
19619
-if CONFIG["TARGET_CPU"] == "arm":
19611
-if CONFIG["TARGET_CPU"] == "arm":
19620
-
19612
-
19621
-    CXXFLAGS += [
19622
-        "-mfpu=neon"
19623
-    ]
19624
-
19625
-    DEFINES["WEBRTC_ARCH_ARM"] = True
19613
-    DEFINES["WEBRTC_ARCH_ARM"] = True
19626
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
19614
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
19627
-    DEFINES["WEBRTC_HAS_NEON"] = True
19615
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 19638-19649 index c061e657ab8a..03c9ed5c202b 100644 Link Here
19638
 
19626
 
19639
 if CONFIG["TARGET_CPU"] == "x86":
19627
 if CONFIG["TARGET_CPU"] == "x86":
19640
 
19628
 
19641
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
19629
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
19642
-
19630
 
19643
-if CONFIG["TARGET_CPU"] == "x86_64":
19631
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
19644
-
19632
 
19645
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
19646
-
19647
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
19633
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
19648
-
19634
-
19649
-    DEFINES["_DEBUG"] = True
19635
-    DEFINES["_DEBUG"] = True
Lines 19665-19685 index c061e657ab8a..03c9ed5c202b 100644 Link Here
19665
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
19651
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
19666
-
19652
-
19667
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
19653
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
19668
-
19654
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
19669
-    DEFINES["USE_X11"] = "1"
19655
 
19670
-
19656
     DEFINES["USE_X11"] = "1"
19657
 
19671
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
19658
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
19672
-
19659
-
19673
-    OS_LIBS += [
19660
-    OS_LIBS += [
19674
-        "unwind"
19661
-        "unwind"
19675
-    ]
19662
-    ]
19676
-
19663
-
19677
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
19678
-
19679
     CXXFLAGS += [
19680
         "-msse2"
19681
     ]
19682
 
19683
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
19664
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
19684
-
19665
-
19685
-    DEFINES["_GNU_SOURCE"] = True
19666
-    DEFINES["_GNU_SOURCE"] = True
Lines 19689-19715 index c061e657ab8a..03c9ed5c202b 100644 Link Here
19689
-    DEFINES["_GNU_SOURCE"] = True
19670
-    DEFINES["_GNU_SOURCE"] = True
19690
-
19671
-
19691
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
19672
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
19692
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
19673
-
19693
 
19694
-    CXXFLAGS += [
19695
-        "-msse2"
19696
-    ]
19697
+if CONFIG["TARGET_CPU"] == "x86_64":
19698
 
19699
-    DEFINES["_GNU_SOURCE"] = True
19674
-    DEFINES["_GNU_SOURCE"] = True
19700
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
19675
-
19701
 
19702
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
19676
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
19703
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
19677
-
19704
 
19705
-    DEFINES["_GNU_SOURCE"] = True
19678
-    DEFINES["_GNU_SOURCE"] = True
19706
+    DEFINES["USE_X11"] = "1"
19679
-
19707
 
19680
 Library("resolution_gn")
19708
 Library("video_adaptation_gn")
19681
diff --git third_party/libwebrtc/api/video/video_adaptation_gn/moz.build third_party/libwebrtc/api/video/video_adaptation_gn/moz.build
19709
diff --git third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build
19682
index 8b89c69dc003..e79522c0abbb 100644
19710
index 9581b4202af9..d526540c4a75 100644
19683
--- third_party/libwebrtc/api/video/video_adaptation_gn/moz.build
19711
--- third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build
19684
+++ third_party/libwebrtc/api/video/video_adaptation_gn/moz.build
19712
+++ third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build
19713
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
19685
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
19714
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
19686
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
19715
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
19687
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 19916-19926 index 9581b4202af9..d526540c4a75 100644 Link Here
19916
-    DEFINES["_GNU_SOURCE"] = True
19888
-    DEFINES["_GNU_SOURCE"] = True
19917
+    DEFINES["USE_X11"] = "1"
19889
+    DEFINES["USE_X11"] = "1"
19918
 
19890
 
19919
 Library("video_bitrate_allocation_gn")
19891
 Library("video_adaptation_gn")
19920
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
19892
diff --git third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build
19921
index 71a1a7f2dc3e..4ca5af462591 100644
19893
index cd607967c486..32b23ac53c39 100644
19922
--- third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build
19894
--- third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build
19923
+++ third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build
19895
+++ third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build
19924
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
19896
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
19925
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
19897
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
19926
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
19898
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 19943-19949 index 71a1a7f2dc3e..4ca5af462591 100644 Link Here
19943
 
19915
 
19944
 FINAL_LIBRARY = "xul"
19916
 FINAL_LIBRARY = "xul"
19945
 
19917
 
19946
@@ -39,118 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
19918
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
19947
 if CONFIG["MOZ_DEBUG"] == "1":
19919
 if CONFIG["MOZ_DEBUG"] == "1":
19948
 
19920
 
19949
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
19921
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 20031-20043 index 71a1a7f2dc3e..4ca5af462591 100644 Link Here
20031
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
20003
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
20032
-    DEFINES["_WINDOWS"] = True
20004
-    DEFINES["_WINDOWS"] = True
20033
-    DEFINES["__STD_C"] = True
20005
-    DEFINES["__STD_C"] = True
20034
-
20035
-    OS_LIBS += [
20036
-        "crypt32",
20037
-        "iphlpapi",
20038
-        "secur32",
20039
-        "winmm"
20040
-    ]
20041
+    DEFINES["_DEBUG"] = True
20006
+    DEFINES["_DEBUG"] = True
20042
 
20007
 
20043
 if CONFIG["TARGET_CPU"] == "aarch64":
20008
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 20047-20052 index 71a1a7f2dc3e..4ca5af462591 100644 Link Here
20047
 
20012
 
20048
-if CONFIG["TARGET_CPU"] == "arm":
20013
-if CONFIG["TARGET_CPU"] == "arm":
20049
-
20014
-
20015
-    CXXFLAGS += [
20016
-        "-mfpu=neon"
20017
-    ]
20018
-
20050
-    DEFINES["WEBRTC_ARCH_ARM"] = True
20019
-    DEFINES["WEBRTC_ARCH_ARM"] = True
20051
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
20020
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
20052
-    DEFINES["WEBRTC_HAS_NEON"] = True
20021
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 20063-20072 index 71a1a7f2dc3e..4ca5af462591 100644 Link Here
20063
 
20032
 
20064
 if CONFIG["TARGET_CPU"] == "x86":
20033
 if CONFIG["TARGET_CPU"] == "x86":
20065
 
20034
 
20066
@@ -160,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
20035
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
20067
 
20036
-
20068
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
20037
-if CONFIG["TARGET_CPU"] == "x86_64":
20069
 
20038
-
20039
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
20040
-
20070
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
20041
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
20071
-
20042
-
20072
-    DEFINES["_DEBUG"] = True
20043
-    DEFINES["_DEBUG"] = True
Lines 20088-20103 index 71a1a7f2dc3e..4ca5af462591 100644 Link Here
20088
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
20059
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
20089
-
20060
-
20090
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
20061
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
20091
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
20062
-
20092
 
20063
-    DEFINES["USE_X11"] = "1"
20093
     DEFINES["USE_X11"] = "1"
20064
-
20094
 
20095
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
20065
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
20096
-
20066
-
20097
-    OS_LIBS += [
20067
-    OS_LIBS += [
20098
-        "unwind"
20068
-        "unwind"
20099
-    ]
20069
-    ]
20100
-
20070
-
20071
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
20072
-
20073
     CXXFLAGS += [
20074
         "-msse2"
20075
     ]
20076
 
20101
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
20077
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
20102
-
20078
-
20103
-    DEFINES["_GNU_SOURCE"] = True
20079
-    DEFINES["_GNU_SOURCE"] = True
Lines 20107-20124 index 71a1a7f2dc3e..4ca5af462591 100644 Link Here
20107
-    DEFINES["_GNU_SOURCE"] = True
20083
-    DEFINES["_GNU_SOURCE"] = True
20108
-
20084
-
20109
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
20085
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
20110
-
20086
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
20087
 
20088
-    CXXFLAGS += [
20089
-        "-msse2"
20090
-    ]
20091
+if CONFIG["TARGET_CPU"] == "x86_64":
20092
 
20111
-    DEFINES["_GNU_SOURCE"] = True
20093
-    DEFINES["_GNU_SOURCE"] = True
20112
-
20094
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
20095
 
20113
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
20096
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
20114
-
20097
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
20098
 
20115
-    DEFINES["_GNU_SOURCE"] = True
20099
-    DEFINES["_GNU_SOURCE"] = True
20116
-
20100
+    DEFINES["USE_X11"] = "1"
20117
 Library("video_bitrate_allocator_factory_gn")
20101
 
20118
diff --git third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build
20102
 Library("video_bitrate_allocation_gn")
20119
index aecab75d2eac..0ad41db37d78 100644
20103
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
20120
--- third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build
20104
index a0531d267a2d..9c94ef9067c6 100644
20121
+++ third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build
20105
--- third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build
20106
+++ third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build
20122
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
20107
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
20123
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
20108
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
20124
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
20109
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 20141-20147 index aecab75d2eac..0ad41db37d78 100644 Link Here
20141
 
20126
 
20142
 FINAL_LIBRARY = "xul"
20127
 FINAL_LIBRARY = "xul"
20143
 
20128
 
20144
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
20129
@@ -39,118 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
20145
 if CONFIG["MOZ_DEBUG"] == "1":
20130
 if CONFIG["MOZ_DEBUG"] == "1":
20146
 
20131
 
20147
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
20132
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 20229-20234 index aecab75d2eac..0ad41db37d78 100644 Link Here
20229
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
20214
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
20230
-    DEFINES["_WINDOWS"] = True
20215
-    DEFINES["_WINDOWS"] = True
20231
-    DEFINES["__STD_C"] = True
20216
-    DEFINES["__STD_C"] = True
20217
-
20218
-    OS_LIBS += [
20219
-        "crypt32",
20220
-        "iphlpapi",
20221
-        "secur32",
20222
-        "winmm"
20223
-    ]
20232
+    DEFINES["_DEBUG"] = True
20224
+    DEFINES["_DEBUG"] = True
20233
 
20225
 
20234
 if CONFIG["TARGET_CPU"] == "aarch64":
20226
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 20238-20247 index aecab75d2eac..0ad41db37d78 100644 Link Here
20238
 
20230
 
20239
-if CONFIG["TARGET_CPU"] == "arm":
20231
-if CONFIG["TARGET_CPU"] == "arm":
20240
-
20232
-
20241
-    CXXFLAGS += [
20242
-        "-mfpu=neon"
20243
-    ]
20244
-
20245
-    DEFINES["WEBRTC_ARCH_ARM"] = True
20233
-    DEFINES["WEBRTC_ARCH_ARM"] = True
20246
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
20234
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
20247
-    DEFINES["WEBRTC_HAS_NEON"] = True
20235
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 20258-20269 index aecab75d2eac..0ad41db37d78 100644 Link Here
20258
 
20246
 
20259
 if CONFIG["TARGET_CPU"] == "x86":
20247
 if CONFIG["TARGET_CPU"] == "x86":
20260
 
20248
 
20261
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
20249
@@ -160,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
20262
-
20250
 
20263
-if CONFIG["TARGET_CPU"] == "x86_64":
20251
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
20264
-
20252
 
20265
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
20266
-
20267
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
20253
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
20268
-
20254
-
20269
-    DEFINES["_DEBUG"] = True
20255
-    DEFINES["_DEBUG"] = True
Lines 20285-20305 index aecab75d2eac..0ad41db37d78 100644 Link Here
20285
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
20271
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
20286
-
20272
-
20287
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
20273
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
20288
-
20274
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
20289
-    DEFINES["USE_X11"] = "1"
20275
 
20290
-
20276
     DEFINES["USE_X11"] = "1"
20277
 
20291
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
20278
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
20292
-
20279
-
20293
-    OS_LIBS += [
20280
-    OS_LIBS += [
20294
-        "unwind"
20281
-        "unwind"
20295
-    ]
20282
-    ]
20296
-
20283
-
20297
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
20298
-
20299
     CXXFLAGS += [
20300
         "-msse2"
20301
     ]
20302
 
20303
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
20284
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
20304
-
20285
-
20305
-    DEFINES["_GNU_SOURCE"] = True
20286
-    DEFINES["_GNU_SOURCE"] = True
Lines 20309-20335 index aecab75d2eac..0ad41db37d78 100644 Link Here
20309
-    DEFINES["_GNU_SOURCE"] = True
20290
-    DEFINES["_GNU_SOURCE"] = True
20310
-
20291
-
20311
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
20292
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
20312
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
20293
-
20313
 
20314
-    CXXFLAGS += [
20315
-        "-msse2"
20316
-    ]
20317
+if CONFIG["TARGET_CPU"] == "x86_64":
20318
 
20319
-    DEFINES["_GNU_SOURCE"] = True
20294
-    DEFINES["_GNU_SOURCE"] = True
20320
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
20295
-
20321
 
20322
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
20296
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
20323
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
20297
-
20324
 
20325
-    DEFINES["_GNU_SOURCE"] = True
20298
-    DEFINES["_GNU_SOURCE"] = True
20326
+    DEFINES["USE_X11"] = "1"
20299
-
20327
 
20300
 Library("video_bitrate_allocator_factory_gn")
20328
 Library("video_bitrate_allocator_gn")
20301
diff --git third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build
20329
diff --git third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build
20302
index b731f61ae62e..ff055e370669 100644
20330
index 1ff8d8117fa6..5bcaf00344da 100644
20303
--- third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build
20331
--- third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build
20304
+++ third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build
20332
+++ third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build
20333
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
20305
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
20334
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
20306
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
20335
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
20307
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 20352-20358 index 1ff8d8117fa6..5bcaf00344da 100644 Link Here
20352
 
20324
 
20353
 FINAL_LIBRARY = "xul"
20325
 FINAL_LIBRARY = "xul"
20354
 
20326
 
20355
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
20327
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
20356
 if CONFIG["MOZ_DEBUG"] == "1":
20328
 if CONFIG["MOZ_DEBUG"] == "1":
20357
 
20329
 
20358
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
20330
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 20371-20376 index 1ff8d8117fa6..5bcaf00344da 100644 Link Here
20371
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
20343
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
20372
-    DEFINES["__STDC_FORMAT_MACROS"] = True
20344
-    DEFINES["__STDC_FORMAT_MACROS"] = True
20373
-
20345
-
20346
-    OS_LIBS += [
20347
-        "log"
20348
-    ]
20349
-
20374
-if CONFIG["OS_TARGET"] == "Darwin":
20350
-if CONFIG["OS_TARGET"] == "Darwin":
20375
-
20351
-
20376
-    DEFINES["WEBRTC_MAC"] = True
20352
-    DEFINES["WEBRTC_MAC"] = True
Lines 20445-20450 index 1ff8d8117fa6..5bcaf00344da 100644 Link Here
20445
 
20421
 
20446
-if CONFIG["TARGET_CPU"] == "arm":
20422
-if CONFIG["TARGET_CPU"] == "arm":
20447
-
20423
-
20424
-    CXXFLAGS += [
20425
-        "-mfpu=neon"
20426
-    ]
20427
-
20448
-    DEFINES["WEBRTC_ARCH_ARM"] = True
20428
-    DEFINES["WEBRTC_ARCH_ARM"] = True
20449
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
20429
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
20450
-    DEFINES["WEBRTC_HAS_NEON"] = True
20430
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 20461-20470 index 1ff8d8117fa6..5bcaf00344da 100644 Link Here
20461
 
20441
 
20462
 if CONFIG["TARGET_CPU"] == "x86":
20442
 if CONFIG["TARGET_CPU"] == "x86":
20463
 
20443
 
20464
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
20444
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
20465
 
20445
-
20466
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
20446
-if CONFIG["TARGET_CPU"] == "x86_64":
20467
 
20447
-
20448
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
20449
-
20468
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
20450
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
20469
-
20451
-
20470
-    DEFINES["_DEBUG"] = True
20452
-    DEFINES["_DEBUG"] = True
Lines 20486-20501 index 1ff8d8117fa6..5bcaf00344da 100644 Link Here
20486
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
20468
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
20487
-
20469
-
20488
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
20470
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
20489
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
20471
-
20490
 
20472
-    DEFINES["USE_X11"] = "1"
20491
     DEFINES["USE_X11"] = "1"
20473
-
20492
 
20493
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
20474
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
20494
-
20475
-
20495
-    OS_LIBS += [
20476
-    OS_LIBS += [
20496
-        "unwind"
20477
-        "unwind"
20497
-    ]
20478
-    ]
20498
-
20479
-
20480
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
20481
-
20482
     CXXFLAGS += [
20483
         "-msse2"
20484
     ]
20485
 
20499
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
20486
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
20500
-
20487
-
20501
-    DEFINES["_GNU_SOURCE"] = True
20488
-    DEFINES["_GNU_SOURCE"] = True
Lines 20505-20522 index 1ff8d8117fa6..5bcaf00344da 100644 Link Here
20505
-    DEFINES["_GNU_SOURCE"] = True
20492
-    DEFINES["_GNU_SOURCE"] = True
20506
-
20493
-
20507
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
20494
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
20508
-
20495
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
20496
 
20497
-    CXXFLAGS += [
20498
-        "-msse2"
20499
-    ]
20500
+if CONFIG["TARGET_CPU"] == "x86_64":
20501
 
20509
-    DEFINES["_GNU_SOURCE"] = True
20502
-    DEFINES["_GNU_SOURCE"] = True
20510
-
20503
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
20504
 
20511
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
20505
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
20512
-
20506
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
20507
 
20513
-    DEFINES["_GNU_SOURCE"] = True
20508
-    DEFINES["_GNU_SOURCE"] = True
20514
-
20509
+    DEFINES["USE_X11"] = "1"
20515
 Library("video_codec_constants_gn")
20510
 
20516
diff --git third_party/libwebrtc/api/video/video_frame_gn/moz.build third_party/libwebrtc/api/video/video_frame_gn/moz.build
20511
 Library("video_bitrate_allocator_gn")
20517
index 37f7adf1843d..8697e1d06d1e 100644
20512
diff --git third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build
20518
--- third_party/libwebrtc/api/video/video_frame_gn/moz.build
20513
index 3ac5b9efc87e..513d9c80447f 100644
20519
+++ third_party/libwebrtc/api/video/video_frame_gn/moz.build
20514
--- third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build
20515
+++ third_party/libwebrtc/api/video/video_codec_constants_gn/moz.build
20520
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
20516
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
20521
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
20517
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
20522
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
20518
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 20539-20545 index 37f7adf1843d..8697e1d06d1e 100644 Link Here
20539
 
20535
 
20540
 FINAL_LIBRARY = "xul"
20536
 FINAL_LIBRARY = "xul"
20541
 
20537
 
20542
@@ -54,185 +64,32 @@ if not CONFIG["MOZ_DEBUG"]:
20538
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
20543
 if CONFIG["MOZ_DEBUG"] == "1":
20539
 if CONFIG["MOZ_DEBUG"] == "1":
20544
 
20540
 
20545
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
20541
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 20558-20567 index 37f7adf1843d..8697e1d06d1e 100644 Link Here
20558
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
20554
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
20559
-    DEFINES["__STDC_FORMAT_MACROS"] = True
20555
-    DEFINES["__STDC_FORMAT_MACROS"] = True
20560
-
20556
-
20561
-    OS_LIBS += [
20562
-        "log"
20563
-    ]
20564
-
20565
-if CONFIG["OS_TARGET"] == "Darwin":
20557
-if CONFIG["OS_TARGET"] == "Darwin":
20566
-
20558
-
20567
-    DEFINES["WEBRTC_MAC"] = True
20559
-    DEFINES["WEBRTC_MAC"] = True
Lines 20627-20639 index 37f7adf1843d..8697e1d06d1e 100644 Link Here
20627
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
20619
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
20628
-    DEFINES["_WINDOWS"] = True
20620
-    DEFINES["_WINDOWS"] = True
20629
-    DEFINES["__STD_C"] = True
20621
-    DEFINES["__STD_C"] = True
20630
-
20631
-    OS_LIBS += [
20632
-        "crypt32",
20633
-        "iphlpapi",
20634
-        "secur32",
20635
-        "winmm"
20636
-    ]
20637
+    DEFINES["_DEBUG"] = True
20622
+    DEFINES["_DEBUG"] = True
20638
 
20623
 
20639
 if CONFIG["TARGET_CPU"] == "aarch64":
20624
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 20643-20652 index 37f7adf1843d..8697e1d06d1e 100644 Link Here
20643
 
20628
 
20644
-if CONFIG["TARGET_CPU"] == "arm":
20629
-if CONFIG["TARGET_CPU"] == "arm":
20645
-
20630
-
20646
-    CXXFLAGS += [
20647
-        "-mfpu=neon"
20648
-    ]
20649
-
20650
-    DEFINES["WEBRTC_ARCH_ARM"] = True
20631
-    DEFINES["WEBRTC_ARCH_ARM"] = True
20651
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
20632
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
20652
-    DEFINES["WEBRTC_HAS_NEON"] = True
20633
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 20663-20674 index 37f7adf1843d..8697e1d06d1e 100644 Link Here
20663
 
20644
 
20664
 if CONFIG["TARGET_CPU"] == "x86":
20645
 if CONFIG["TARGET_CPU"] == "x86":
20665
 
20646
 
20666
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
20647
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
20667
-
20648
 
20668
-if CONFIG["TARGET_CPU"] == "x86_64":
20649
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
20669
-
20650
 
20670
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
20671
-
20672
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
20651
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
20673
-
20652
-
20674
-    DEFINES["_DEBUG"] = True
20653
-    DEFINES["_DEBUG"] = True
Lines 20690-20710 index 37f7adf1843d..8697e1d06d1e 100644 Link Here
20690
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
20669
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
20691
-
20670
-
20692
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
20671
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
20693
-
20672
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
20694
-    DEFINES["USE_X11"] = "1"
20673
 
20695
-
20674
     DEFINES["USE_X11"] = "1"
20675
 
20696
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
20676
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
20697
-
20677
-
20698
-    OS_LIBS += [
20678
-    OS_LIBS += [
20699
-        "unwind"
20679
-        "unwind"
20700
-    ]
20680
-    ]
20701
-
20681
-
20702
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
20703
-
20704
     CXXFLAGS += [
20705
         "-msse2"
20706
     ]
20707
 
20708
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
20682
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
20709
-
20683
-
20710
-    DEFINES["_GNU_SOURCE"] = True
20684
-    DEFINES["_GNU_SOURCE"] = True
Lines 20714-20740 index 37f7adf1843d..8697e1d06d1e 100644 Link Here
20714
-    DEFINES["_GNU_SOURCE"] = True
20688
-    DEFINES["_GNU_SOURCE"] = True
20715
-
20689
-
20716
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
20690
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
20717
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
20691
-
20718
 
20719
-    CXXFLAGS += [
20720
-        "-msse2"
20721
-    ]
20722
+if CONFIG["TARGET_CPU"] == "x86_64":
20723
 
20724
-    DEFINES["_GNU_SOURCE"] = True
20692
-    DEFINES["_GNU_SOURCE"] = True
20725
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
20693
-
20726
 
20727
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
20694
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
20728
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
20695
-
20729
 
20730
-    DEFINES["_GNU_SOURCE"] = True
20696
-    DEFINES["_GNU_SOURCE"] = True
20731
+    DEFINES["USE_X11"] = "1"
20697
-
20732
 
20698
 Library("video_codec_constants_gn")
20733
 Library("video_frame_gn")
20699
diff --git third_party/libwebrtc/api/video/video_frame_gn/moz.build third_party/libwebrtc/api/video/video_frame_gn/moz.build
20734
diff --git third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build
20700
index 4704e8482b97..998f6b26349c 100644
20735
index 2b8bd493aff9..c6b33b8a1e23 100644
20701
--- third_party/libwebrtc/api/video/video_frame_gn/moz.build
20736
--- third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build
20702
+++ third_party/libwebrtc/api/video/video_frame_gn/moz.build
20737
+++ third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build
20738
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
20703
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
20739
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
20704
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
20740
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
20705
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 20757-20763 index 2b8bd493aff9..c6b33b8a1e23 100644 Link Here
20757
 
20722
 
20758
 FINAL_LIBRARY = "xul"
20723
 FINAL_LIBRARY = "xul"
20759
 
20724
 
20760
@@ -50,185 +60,32 @@ if not CONFIG["MOZ_DEBUG"]:
20725
@@ -54,185 +64,32 @@ if not CONFIG["MOZ_DEBUG"]:
20761
 if CONFIG["MOZ_DEBUG"] == "1":
20726
 if CONFIG["MOZ_DEBUG"] == "1":
20762
 
20727
 
20763
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
20728
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 20948-20958 index 2b8bd493aff9..c6b33b8a1e23 100644 Link Here
20948
-    DEFINES["_GNU_SOURCE"] = True
20913
-    DEFINES["_GNU_SOURCE"] = True
20949
+    DEFINES["USE_X11"] = "1"
20914
+    DEFINES["USE_X11"] = "1"
20950
 
20915
 
20951
 Library("video_frame_i010_gn")
20916
 Library("video_frame_gn")
20952
diff --git third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build
20917
diff --git third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build
20953
index 8b4bd96df239..bcbd30fd4d21 100644
20918
index 5534a976cf12..7dc99b73f151 100644
20954
--- third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build
20919
--- third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build
20955
+++ third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build
20920
+++ third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build
20956
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
20921
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
20957
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
20922
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
20958
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
20923
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 20975-20981 index 8b4bd96df239..bcbd30fd4d21 100644 Link Here
20975
 
20940
 
20976
 FINAL_LIBRARY = "xul"
20941
 FINAL_LIBRARY = "xul"
20977
 
20942
 
20978
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
20943
@@ -50,185 +60,32 @@ if not CONFIG["MOZ_DEBUG"]:
20979
 if CONFIG["MOZ_DEBUG"] == "1":
20944
 if CONFIG["MOZ_DEBUG"] == "1":
20980
 
20945
 
20981
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
20946
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 21166-21176 index 8b4bd96df239..bcbd30fd4d21 100644 Link Here
21166
-    DEFINES["_GNU_SOURCE"] = True
21131
-    DEFINES["_GNU_SOURCE"] = True
21167
+    DEFINES["USE_X11"] = "1"
21132
+    DEFINES["USE_X11"] = "1"
21168
 
21133
 
21169
 Library("video_frame_metadata_gn")
21134
 Library("video_frame_i010_gn")
21170
diff --git third_party/libwebrtc/api/video/video_frame_type_gn/moz.build third_party/libwebrtc/api/video/video_frame_type_gn/moz.build
21135
diff --git third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build
21171
index 3416d040b2ea..263eaf0e7885 100644
21136
index e129b5b4f7b4..a35c051cbede 100644
21172
--- third_party/libwebrtc/api/video/video_frame_type_gn/moz.build
21137
--- third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build
21173
+++ third_party/libwebrtc/api/video/video_frame_type_gn/moz.build
21138
+++ third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build
21174
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
21139
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
21175
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
21140
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
21176
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
21141
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 21193-21199 index 3416d040b2ea..263eaf0e7885 100644 Link Here
21193
 
21158
 
21194
 FINAL_LIBRARY = "xul"
21159
 FINAL_LIBRARY = "xul"
21195
 
21160
 
21196
@@ -39,111 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
21161
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
21197
 if CONFIG["MOZ_DEBUG"] == "1":
21162
 if CONFIG["MOZ_DEBUG"] == "1":
21198
 
21163
 
21199
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
21164
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 21281-21286 index 3416d040b2ea..263eaf0e7885 100644 Link Here
21281
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
21246
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
21282
-    DEFINES["_WINDOWS"] = True
21247
-    DEFINES["_WINDOWS"] = True
21283
-    DEFINES["__STD_C"] = True
21248
-    DEFINES["__STD_C"] = True
21249
-
21250
-    OS_LIBS += [
21251
-        "crypt32",
21252
-        "iphlpapi",
21253
-        "secur32",
21254
-        "winmm"
21255
-    ]
21284
+    DEFINES["_DEBUG"] = True
21256
+    DEFINES["_DEBUG"] = True
21285
 
21257
 
21286
 if CONFIG["TARGET_CPU"] == "aarch64":
21258
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 21290-21295 index 3416d040b2ea..263eaf0e7885 100644 Link Here
21290
 
21262
 
21291
-if CONFIG["TARGET_CPU"] == "arm":
21263
-if CONFIG["TARGET_CPU"] == "arm":
21292
-
21264
-
21265
-    CXXFLAGS += [
21266
-        "-mfpu=neon"
21267
-    ]
21268
-
21293
-    DEFINES["WEBRTC_ARCH_ARM"] = True
21269
-    DEFINES["WEBRTC_ARCH_ARM"] = True
21294
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
21270
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
21295
-    DEFINES["WEBRTC_HAS_NEON"] = True
21271
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 21306-21315 index 3416d040b2ea..263eaf0e7885 100644 Link Here
21306
 
21282
 
21307
 if CONFIG["TARGET_CPU"] == "x86":
21283
 if CONFIG["TARGET_CPU"] == "x86":
21308
 
21284
 
21309
@@ -153,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
21285
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
21310
 
21286
-
21311
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
21287
-if CONFIG["TARGET_CPU"] == "x86_64":
21312
 
21288
-
21289
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
21290
-
21313
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
21291
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
21314
-
21292
-
21315
-    DEFINES["_DEBUG"] = True
21293
-    DEFINES["_DEBUG"] = True
Lines 21331-21346 index 3416d040b2ea..263eaf0e7885 100644 Link Here
21331
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
21309
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
21332
-
21310
-
21333
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
21311
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
21334
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
21312
-
21335
 
21313
-    DEFINES["USE_X11"] = "1"
21336
     DEFINES["USE_X11"] = "1"
21314
-
21337
 
21338
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
21315
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
21339
-
21316
-
21340
-    OS_LIBS += [
21317
-    OS_LIBS += [
21341
-        "unwind"
21318
-        "unwind"
21342
-    ]
21319
-    ]
21343
-
21320
-
21321
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
21322
-
21323
     CXXFLAGS += [
21324
         "-msse2"
21325
     ]
21326
 
21344
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
21327
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
21345
-
21328
-
21346
-    DEFINES["_GNU_SOURCE"] = True
21329
-    DEFINES["_GNU_SOURCE"] = True
Lines 21350-21367 index 3416d040b2ea..263eaf0e7885 100644 Link Here
21350
-    DEFINES["_GNU_SOURCE"] = True
21333
-    DEFINES["_GNU_SOURCE"] = True
21351
-
21334
-
21352
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
21335
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
21353
-
21336
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
21337
 
21338
-    CXXFLAGS += [
21339
-        "-msse2"
21340
-    ]
21341
+if CONFIG["TARGET_CPU"] == "x86_64":
21342
 
21354
-    DEFINES["_GNU_SOURCE"] = True
21343
-    DEFINES["_GNU_SOURCE"] = True
21355
-
21344
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
21345
 
21356
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
21346
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
21357
-
21347
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
21348
 
21358
-    DEFINES["_GNU_SOURCE"] = True
21349
-    DEFINES["_GNU_SOURCE"] = True
21359
-
21350
+    DEFINES["USE_X11"] = "1"
21360
 Library("video_frame_type_gn")
21351
 
21361
diff --git third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build
21352
 Library("video_frame_metadata_gn")
21362
index d9d7097f2f89..2603fe99c69f 100644
21353
diff --git third_party/libwebrtc/api/video/video_frame_type_gn/moz.build third_party/libwebrtc/api/video/video_frame_type_gn/moz.build
21363
--- third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build
21354
index d1402be61ac5..4b903646992f 100644
21364
+++ third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build
21355
--- third_party/libwebrtc/api/video/video_frame_type_gn/moz.build
21356
+++ third_party/libwebrtc/api/video/video_frame_type_gn/moz.build
21365
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
21357
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
21366
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
21358
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
21367
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
21359
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 21548-21558 index d9d7097f2f89..2603fe99c69f 100644 Link Here
21548
-
21540
-
21549
-    DEFINES["_GNU_SOURCE"] = True
21541
-    DEFINES["_GNU_SOURCE"] = True
21550
-
21542
-
21551
 Library("video_layers_allocation_gn")
21543
 Library("video_frame_type_gn")
21552
diff --git third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build
21544
diff --git third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build
21553
index 7c696af228c6..da97d3a9cc11 100644
21545
index d6bb07ec8c87..2c20b0276d46 100644
21554
--- third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build
21546
--- third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build
21555
+++ third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build
21547
+++ third_party/libwebrtc/api/video/video_layers_allocation_gn/moz.build
21556
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
21548
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
21557
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
21549
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
21558
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
21550
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 21575-21581 index 7c696af228c6..da97d3a9cc11 100644 Link Here
21575
 
21567
 
21576
 FINAL_LIBRARY = "xul"
21568
 FINAL_LIBRARY = "xul"
21577
 
21569
 
21578
@@ -46,185 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
21570
@@ -39,111 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
21579
 if CONFIG["MOZ_DEBUG"] == "1":
21571
 if CONFIG["MOZ_DEBUG"] == "1":
21580
 
21572
 
21581
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
21573
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 21663-21675 index 7c696af228c6..da97d3a9cc11 100644 Link Here
21663
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
21655
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
21664
-    DEFINES["_WINDOWS"] = True
21656
-    DEFINES["_WINDOWS"] = True
21665
-    DEFINES["__STD_C"] = True
21657
-    DEFINES["__STD_C"] = True
21666
-
21667
-    OS_LIBS += [
21668
-        "crypt32",
21669
-        "iphlpapi",
21670
-        "secur32",
21671
-        "winmm"
21672
-    ]
21673
+    DEFINES["_DEBUG"] = True
21658
+    DEFINES["_DEBUG"] = True
21674
 
21659
 
21675
 if CONFIG["TARGET_CPU"] == "aarch64":
21660
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 21679-21688 index 7c696af228c6..da97d3a9cc11 100644 Link Here
21679
 
21664
 
21680
-if CONFIG["TARGET_CPU"] == "arm":
21665
-if CONFIG["TARGET_CPU"] == "arm":
21681
-
21666
-
21682
-    CXXFLAGS += [
21683
-        "-mfpu=neon"
21684
-    ]
21685
-
21686
-    DEFINES["WEBRTC_ARCH_ARM"] = True
21667
-    DEFINES["WEBRTC_ARCH_ARM"] = True
21687
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
21668
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
21688
-    DEFINES["WEBRTC_HAS_NEON"] = True
21669
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 21699-21710 index 7c696af228c6..da97d3a9cc11 100644 Link Here
21699
 
21680
 
21700
 if CONFIG["TARGET_CPU"] == "x86":
21681
 if CONFIG["TARGET_CPU"] == "x86":
21701
 
21682
 
21702
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
21683
@@ -153,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
21703
-
21684
 
21704
-if CONFIG["TARGET_CPU"] == "x86_64":
21685
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
21705
-
21686
 
21706
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
21707
-
21708
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
21687
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
21709
-
21688
-
21710
-    DEFINES["_DEBUG"] = True
21689
-    DEFINES["_DEBUG"] = True
Lines 21726-21746 index 7c696af228c6..da97d3a9cc11 100644 Link Here
21726
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
21705
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
21727
-
21706
-
21728
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
21707
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
21729
-
21708
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
21730
-    DEFINES["USE_X11"] = "1"
21709
 
21731
-
21710
     DEFINES["USE_X11"] = "1"
21711
 
21732
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
21712
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
21733
-
21713
-
21734
-    OS_LIBS += [
21714
-    OS_LIBS += [
21735
-        "unwind"
21715
-        "unwind"
21736
-    ]
21716
-    ]
21737
-
21717
-
21738
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
21739
-
21740
     CXXFLAGS += [
21741
         "-msse2"
21742
     ]
21743
 
21744
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
21718
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
21745
-
21719
-
21746
-    DEFINES["_GNU_SOURCE"] = True
21720
-    DEFINES["_GNU_SOURCE"] = True
Lines 21750-21776 index 7c696af228c6..da97d3a9cc11 100644 Link Here
21750
-    DEFINES["_GNU_SOURCE"] = True
21724
-    DEFINES["_GNU_SOURCE"] = True
21751
-
21725
-
21752
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
21726
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
21753
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
21727
-
21754
 
21755
-    CXXFLAGS += [
21756
-        "-msse2"
21757
-    ]
21758
+if CONFIG["TARGET_CPU"] == "x86_64":
21759
 
21760
-    DEFINES["_GNU_SOURCE"] = True
21728
-    DEFINES["_GNU_SOURCE"] = True
21761
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
21729
-
21762
 
21763
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
21730
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
21764
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
21731
-
21765
 
21766
-    DEFINES["_GNU_SOURCE"] = True
21732
-    DEFINES["_GNU_SOURCE"] = True
21767
+    DEFINES["USE_X11"] = "1"
21733
-
21768
 
21734
 Library("video_layers_allocation_gn")
21769
 Library("video_rtp_headers_gn")
21735
diff --git third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build
21770
diff --git third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build
21736
index 3ce253a3e8cc..bfdaacf2f399 100644
21771
index f54c46500445..dd230e6e136c 100644
21737
--- third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build
21772
--- third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build
21738
+++ third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build
21773
+++ third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build
21774
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
21739
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
21775
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
21740
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
21776
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
21741
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 21793-21799 index f54c46500445..dd230e6e136c 100644 Link Here
21793
 
21758
 
21794
 FINAL_LIBRARY = "xul"
21759
 FINAL_LIBRARY = "xul"
21795
 
21760
 
21796
@@ -39,118 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
21761
@@ -46,185 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
21797
 if CONFIG["MOZ_DEBUG"] == "1":
21762
 if CONFIG["MOZ_DEBUG"] == "1":
21798
 
21763
 
21799
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
21764
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 21897-21902 index f54c46500445..dd230e6e136c 100644 Link Here
21897
 
21862
 
21898
-if CONFIG["TARGET_CPU"] == "arm":
21863
-if CONFIG["TARGET_CPU"] == "arm":
21899
-
21864
-
21865
-    CXXFLAGS += [
21866
-        "-mfpu=neon"
21867
-    ]
21868
-
21900
-    DEFINES["WEBRTC_ARCH_ARM"] = True
21869
-    DEFINES["WEBRTC_ARCH_ARM"] = True
21901
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
21870
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
21902
-    DEFINES["WEBRTC_HAS_NEON"] = True
21871
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 21913-21922 index f54c46500445..dd230e6e136c 100644 Link Here
21913
 
21882
 
21914
 if CONFIG["TARGET_CPU"] == "x86":
21883
 if CONFIG["TARGET_CPU"] == "x86":
21915
 
21884
 
21916
@@ -160,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
21885
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
21917
 
21886
-
21918
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
21887
-if CONFIG["TARGET_CPU"] == "x86_64":
21919
 
21888
-
21889
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
21890
-
21920
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
21891
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
21921
-
21892
-
21922
-    DEFINES["_DEBUG"] = True
21893
-    DEFINES["_DEBUG"] = True
Lines 21938-21953 index f54c46500445..dd230e6e136c 100644 Link Here
21938
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
21909
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
21939
-
21910
-
21940
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
21911
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
21941
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
21912
-
21942
 
21913
-    DEFINES["USE_X11"] = "1"
21943
     DEFINES["USE_X11"] = "1"
21914
-
21944
 
21945
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
21915
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
21946
-
21916
-
21947
-    OS_LIBS += [
21917
-    OS_LIBS += [
21948
-        "unwind"
21918
-        "unwind"
21949
-    ]
21919
-    ]
21950
-
21920
-
21921
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
21922
-
21923
     CXXFLAGS += [
21924
         "-msse2"
21925
     ]
21926
 
21951
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
21927
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
21952
-
21928
-
21953
-    DEFINES["_GNU_SOURCE"] = True
21929
-    DEFINES["_GNU_SOURCE"] = True
Lines 21957-21974 index f54c46500445..dd230e6e136c 100644 Link Here
21957
-    DEFINES["_GNU_SOURCE"] = True
21933
-    DEFINES["_GNU_SOURCE"] = True
21958
-
21934
-
21959
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
21935
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
21960
-
21936
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
21937
 
21938
-    CXXFLAGS += [
21939
-        "-msse2"
21940
-    ]
21941
+if CONFIG["TARGET_CPU"] == "x86_64":
21942
 
21961
-    DEFINES["_GNU_SOURCE"] = True
21943
-    DEFINES["_GNU_SOURCE"] = True
21962
-
21944
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
21945
 
21963
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
21946
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
21964
-
21947
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
21948
 
21965
-    DEFINES["_GNU_SOURCE"] = True
21949
-    DEFINES["_GNU_SOURCE"] = True
21966
-
21950
+    DEFINES["USE_X11"] = "1"
21967
 Library("video_stream_encoder_gn")
21951
 
21968
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
21952
 Library("video_rtp_headers_gn")
21969
index b1bb1e3323e8..162090a6363d 100644
21953
diff --git third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build
21970
--- third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build
21954
index d3ada0cf1d14..80d3314f94e3 100644
21971
+++ third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build
21955
--- third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build
21956
+++ third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build
21972
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
21957
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
21973
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
21958
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
21974
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
21959
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 21991-21997 index b1bb1e3323e8..162090a6363d 100644 Link Here
21991
 
21976
 
21992
 FINAL_LIBRARY = "xul"
21977
 FINAL_LIBRARY = "xul"
21993
 
21978
 
21994
@@ -39,111 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
21979
@@ -39,118 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
21995
 if CONFIG["MOZ_DEBUG"] == "1":
21980
 if CONFIG["MOZ_DEBUG"] == "1":
21996
 
21981
 
21997
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
21982
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 22079-22084 index b1bb1e3323e8..162090a6363d 100644 Link Here
22079
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
22064
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
22080
-    DEFINES["_WINDOWS"] = True
22065
-    DEFINES["_WINDOWS"] = True
22081
-    DEFINES["__STD_C"] = True
22066
-    DEFINES["__STD_C"] = True
22067
-
22068
-    OS_LIBS += [
22069
-        "crypt32",
22070
-        "iphlpapi",
22071
-        "secur32",
22072
-        "winmm"
22073
-    ]
22082
+    DEFINES["_DEBUG"] = True
22074
+    DEFINES["_DEBUG"] = True
22083
 
22075
 
22084
 if CONFIG["TARGET_CPU"] == "aarch64":
22076
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 22104-22110 index b1bb1e3323e8..162090a6363d 100644 Link Here
22104
 
22096
 
22105
 if CONFIG["TARGET_CPU"] == "x86":
22097
 if CONFIG["TARGET_CPU"] == "x86":
22106
 
22098
 
22107
@@ -153,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
22099
@@ -160,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
22108
 
22100
 
22109
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
22101
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
22110
 
22102
 
Lines 22155-22165 index b1bb1e3323e8..162090a6363d 100644 Link Here
22155
-
22147
-
22156
-    DEFINES["_GNU_SOURCE"] = True
22148
-    DEFINES["_GNU_SOURCE"] = True
22157
-
22149
-
22158
 Library("bitstream_parser_api_gn")
22150
 Library("video_stream_encoder_gn")
22159
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
22151
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
22160
index ca9c0f599a99..1b58004533ae 100644
22152
index 30278b672f20..57f08bd2aed8 100644
22161
--- third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build
22153
--- third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build
22162
+++ third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build
22154
+++ third_party/libwebrtc/api/video_codecs/bitstream_parser_api_gn/moz.build
22163
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
22155
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
22164
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
22156
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
22165
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
22157
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 22182-22188 index ca9c0f599a99..1b58004533ae 100644 Link Here
22182
 
22174
 
22183
 FINAL_LIBRARY = "xul"
22175
 FINAL_LIBRARY = "xul"
22184
 
22176
 
22185
@@ -44,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
22177
@@ -39,111 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
22186
 if CONFIG["MOZ_DEBUG"] == "1":
22178
 if CONFIG["MOZ_DEBUG"] == "1":
22187
 
22179
 
22188
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
22180
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 22202-22208 index ca9c0f599a99..1b58004533ae 100644 Link Here
22202
-    DEFINES["__STDC_FORMAT_MACROS"] = True
22194
-    DEFINES["__STDC_FORMAT_MACROS"] = True
22203
-
22195
-
22204
-    OS_LIBS += [
22196
-    OS_LIBS += [
22205
-        "GLESv2",
22206
-        "log"
22197
-        "log"
22207
-    ]
22198
-    ]
22208
-
22199
-
Lines 22231-22240 index ca9c0f599a99..1b58004533ae 100644 Link Here
22231
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
22222
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
22232
-    DEFINES["__STDC_FORMAT_MACROS"] = True
22223
-    DEFINES["__STDC_FORMAT_MACROS"] = True
22233
-
22224
-
22234
-    OS_LIBS += [
22235
-        "rt"
22236
-    ]
22237
-
22238
-if CONFIG["OS_TARGET"] == "OpenBSD":
22225
-if CONFIG["OS_TARGET"] == "OpenBSD":
22239
-
22226
-
22240
-    DEFINES["USE_GLIB"] = "1"
22227
-    DEFINES["USE_GLIB"] = "1"
Lines 22275-22287 index ca9c0f599a99..1b58004533ae 100644 Link Here
22275
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
22262
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
22276
-    DEFINES["_WINDOWS"] = True
22263
-    DEFINES["_WINDOWS"] = True
22277
-    DEFINES["__STD_C"] = True
22264
-    DEFINES["__STD_C"] = True
22278
-
22279
-    OS_LIBS += [
22280
-        "crypt32",
22281
-        "iphlpapi",
22282
-        "secur32",
22283
-        "winmm"
22284
-    ]
22285
+    DEFINES["_DEBUG"] = True
22265
+    DEFINES["_DEBUG"] = True
22286
 
22266
 
22287
 if CONFIG["TARGET_CPU"] == "aarch64":
22267
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 22291-22300 index ca9c0f599a99..1b58004533ae 100644 Link Here
22291
 
22271
 
22292
-if CONFIG["TARGET_CPU"] == "arm":
22272
-if CONFIG["TARGET_CPU"] == "arm":
22293
-
22273
-
22294
-    CXXFLAGS += [
22295
-        "-mfpu=neon"
22296
-    ]
22297
-
22298
-    DEFINES["WEBRTC_ARCH_ARM"] = True
22274
-    DEFINES["WEBRTC_ARCH_ARM"] = True
22299
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
22275
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
22300
-    DEFINES["WEBRTC_HAS_NEON"] = True
22276
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 22311-22322 index ca9c0f599a99..1b58004533ae 100644 Link Here
22311
 
22287
 
22312
 if CONFIG["TARGET_CPU"] == "x86":
22288
 if CONFIG["TARGET_CPU"] == "x86":
22313
 
22289
 
22314
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
22290
@@ -153,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
22315
-
22291
 
22316
-if CONFIG["TARGET_CPU"] == "x86_64":
22292
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
22317
-
22293
 
22318
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
22319
-
22320
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
22294
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
22321
-
22295
-
22322
-    DEFINES["_DEBUG"] = True
22296
-    DEFINES["_DEBUG"] = True
Lines 22338-22358 index ca9c0f599a99..1b58004533ae 100644 Link Here
22338
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
22312
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
22339
-
22313
-
22340
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
22314
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
22341
-
22315
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
22342
-    DEFINES["USE_X11"] = "1"
22316
 
22343
-
22317
     DEFINES["USE_X11"] = "1"
22318
 
22344
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
22319
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
22345
-
22320
-
22346
-    OS_LIBS += [
22321
-    OS_LIBS += [
22347
-        "unwind"
22322
-        "unwind"
22348
-    ]
22323
-    ]
22349
-
22324
-
22350
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
22351
-
22352
     CXXFLAGS += [
22353
         "-msse2"
22354
     ]
22355
 
22356
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
22325
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
22357
-
22326
-
22358
-    DEFINES["_GNU_SOURCE"] = True
22327
-    DEFINES["_GNU_SOURCE"] = True
Lines 22362-22388 index ca9c0f599a99..1b58004533ae 100644 Link Here
22362
-    DEFINES["_GNU_SOURCE"] = True
22331
-    DEFINES["_GNU_SOURCE"] = True
22363
-
22332
-
22364
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
22333
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
22365
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
22334
-
22366
 
22367
-    CXXFLAGS += [
22368
-        "-msse2"
22369
-    ]
22370
+if CONFIG["TARGET_CPU"] == "x86_64":
22371
 
22372
-    DEFINES["_GNU_SOURCE"] = True
22335
-    DEFINES["_GNU_SOURCE"] = True
22373
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
22336
-
22374
 
22375
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
22337
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
22376
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
22338
-
22377
 
22378
-    DEFINES["_GNU_SOURCE"] = True
22339
-    DEFINES["_GNU_SOURCE"] = True
22379
+    DEFINES["USE_X11"] = "1"
22340
-
22380
 
22341
 Library("bitstream_parser_api_gn")
22381
 Library("rtc_software_fallback_wrappers_gn")
22342
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
22382
diff --git third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build
22343
index 723ee880f3c1..33bec021ef3c 100644
22383
index b0c90b8ad2ee..4933d9ebafdb 100644
22344
--- third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build
22384
--- third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build
22345
+++ third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build
22385
+++ third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build
22386
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
22346
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
22387
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
22347
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
22388
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
22348
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 22405-22411 index b0c90b8ad2ee..4933d9ebafdb 100644 Link Here
22405
 
22365
 
22406
 FINAL_LIBRARY = "xul"
22366
 FINAL_LIBRARY = "xul"
22407
 
22367
 
22408
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
22368
@@ -44,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
22409
 if CONFIG["MOZ_DEBUG"] == "1":
22369
 if CONFIG["MOZ_DEBUG"] == "1":
22410
 
22370
 
22411
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
22371
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 22425-22430 index b0c90b8ad2ee..4933d9ebafdb 100644 Link Here
22425
-    DEFINES["__STDC_FORMAT_MACROS"] = True
22385
-    DEFINES["__STDC_FORMAT_MACROS"] = True
22426
-
22386
-
22427
-    OS_LIBS += [
22387
-    OS_LIBS += [
22388
-        "GLESv2",
22428
-        "log"
22389
-        "log"
22429
-    ]
22390
-    ]
22430
-
22391
-
Lines 22453-22458 index b0c90b8ad2ee..4933d9ebafdb 100644 Link Here
22453
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
22414
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
22454
-    DEFINES["__STDC_FORMAT_MACROS"] = True
22415
-    DEFINES["__STDC_FORMAT_MACROS"] = True
22455
-
22416
-
22417
-    OS_LIBS += [
22418
-        "rt"
22419
-    ]
22420
-
22456
-if CONFIG["OS_TARGET"] == "OpenBSD":
22421
-if CONFIG["OS_TARGET"] == "OpenBSD":
22457
-
22422
-
22458
-    DEFINES["USE_GLIB"] = "1"
22423
-    DEFINES["USE_GLIB"] = "1"
Lines 22493-22498 index b0c90b8ad2ee..4933d9ebafdb 100644 Link Here
22493
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
22458
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
22494
-    DEFINES["_WINDOWS"] = True
22459
-    DEFINES["_WINDOWS"] = True
22495
-    DEFINES["__STD_C"] = True
22460
-    DEFINES["__STD_C"] = True
22461
-
22462
-    OS_LIBS += [
22463
-        "crypt32",
22464
-        "iphlpapi",
22465
-        "secur32",
22466
-        "winmm"
22467
-    ]
22496
+    DEFINES["_DEBUG"] = True
22468
+    DEFINES["_DEBUG"] = True
22497
 
22469
 
22498
 if CONFIG["TARGET_CPU"] == "aarch64":
22470
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 22589-22599 index b0c90b8ad2ee..4933d9ebafdb 100644 Link Here
22589
-    DEFINES["_GNU_SOURCE"] = True
22561
-    DEFINES["_GNU_SOURCE"] = True
22590
+    DEFINES["USE_X11"] = "1"
22562
+    DEFINES["USE_X11"] = "1"
22591
 
22563
 
22592
 Library("scalability_mode_gn")
22564
 Library("rtc_software_fallback_wrappers_gn")
22593
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
22565
diff --git third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build
22594
index f3060e020af9..175782549b6f 100644
22566
index aca8affe6867..f16f4f72c69f 100644
22595
--- third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build
22567
--- third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build
22596
+++ third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build
22568
+++ third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build
22597
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
22569
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
22598
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
22570
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
22599
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
22571
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 22616-22622 index f3060e020af9..175782549b6f 100644 Link Here
22616
 
22588
 
22617
 FINAL_LIBRARY = "xul"
22589
 FINAL_LIBRARY = "xul"
22618
 
22590
 
22619
@@ -53,185 +63,32 @@ if not CONFIG["MOZ_DEBUG"]:
22591
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
22620
 if CONFIG["MOZ_DEBUG"] == "1":
22592
 if CONFIG["MOZ_DEBUG"] == "1":
22621
 
22593
 
22622
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
22594
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 22704-22716 index f3060e020af9..175782549b6f 100644 Link Here
22704
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
22676
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
22705
-    DEFINES["_WINDOWS"] = True
22677
-    DEFINES["_WINDOWS"] = True
22706
-    DEFINES["__STD_C"] = True
22678
-    DEFINES["__STD_C"] = True
22707
-
22708
-    OS_LIBS += [
22709
-        "crypt32",
22710
-        "iphlpapi",
22711
-        "secur32",
22712
-        "winmm"
22713
-    ]
22714
+    DEFINES["_DEBUG"] = True
22679
+    DEFINES["_DEBUG"] = True
22715
 
22680
 
22716
 if CONFIG["TARGET_CPU"] == "aarch64":
22681
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 22807-22817 index f3060e020af9..175782549b6f 100644 Link Here
22807
-    DEFINES["_GNU_SOURCE"] = True
22772
-    DEFINES["_GNU_SOURCE"] = True
22808
+    DEFINES["USE_X11"] = "1"
22773
+    DEFINES["USE_X11"] = "1"
22809
 
22774
 
22810
 Library("video_codecs_api_gn")
22775
 Library("scalability_mode_gn")
22811
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
22776
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
22812
index 394091421449..a19bee0723d3 100644
22777
index df8d151dd497..4134dfb41549 100644
22813
--- third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build
22778
--- third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build
22814
+++ third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build
22779
+++ third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build
22815
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
22780
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
22816
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
22781
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
22817
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
22782
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 22834-22840 index 394091421449..a19bee0723d3 100644 Link Here
22834
 
22799
 
22835
 FINAL_LIBRARY = "xul"
22800
 FINAL_LIBRARY = "xul"
22836
 
22801
 
22837
@@ -43,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
22802
@@ -53,185 +63,32 @@ if not CONFIG["MOZ_DEBUG"]:
22838
 if CONFIG["MOZ_DEBUG"] == "1":
22803
 if CONFIG["MOZ_DEBUG"] == "1":
22839
 
22804
 
22840
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
22805
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 22854-22860 index 394091421449..a19bee0723d3 100644 Link Here
22854
-    DEFINES["__STDC_FORMAT_MACROS"] = True
22819
-    DEFINES["__STDC_FORMAT_MACROS"] = True
22855
-
22820
-
22856
-    OS_LIBS += [
22821
-    OS_LIBS += [
22857
-        "GLESv2",
22858
-        "log"
22822
-        "log"
22859
-    ]
22823
-    ]
22860
-
22824
-
Lines 22883-22892 index 394091421449..a19bee0723d3 100644 Link Here
22883
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
22847
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
22884
-    DEFINES["__STDC_FORMAT_MACROS"] = True
22848
-    DEFINES["__STDC_FORMAT_MACROS"] = True
22885
-
22849
-
22886
-    OS_LIBS += [
22887
-        "rt"
22888
-    ]
22889
-
22890
-if CONFIG["OS_TARGET"] == "OpenBSD":
22850
-if CONFIG["OS_TARGET"] == "OpenBSD":
22891
-
22851
-
22892
-    DEFINES["USE_GLIB"] = "1"
22852
-    DEFINES["USE_GLIB"] = "1"
Lines 23030-23040 index 394091421449..a19bee0723d3 100644 Link Here
23030
-    DEFINES["_GNU_SOURCE"] = True
22990
-    DEFINES["_GNU_SOURCE"] = True
23031
+    DEFINES["USE_X11"] = "1"
22991
+    DEFINES["USE_X11"] = "1"
23032
 
22992
 
23033
 Library("vp8_temporal_layers_factory_gn")
22993
 Library("video_codecs_api_gn")
23034
diff --git third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build
22994
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
23035
index 636a3df69c9a..abcef0e2e4c3 100644
22995
index a197fc9fdcc5..92b38446400e 100644
23036
--- third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build
22996
--- third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build
23037
+++ third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build
22997
+++ third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build
23038
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
22998
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
23039
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
22999
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
23040
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
23000
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 23057-23063 index 636a3df69c9a..abcef0e2e4c3 100644 Link Here
23057
 
23017
 
23058
 FINAL_LIBRARY = "xul"
23018
 FINAL_LIBRARY = "xul"
23059
 
23019
 
23060
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
23020
@@ -43,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
23061
 if CONFIG["MOZ_DEBUG"] == "1":
23021
 if CONFIG["MOZ_DEBUG"] == "1":
23062
 
23022
 
23063
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
23023
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 23076-23081 index 636a3df69c9a..abcef0e2e4c3 100644 Link Here
23076
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
23036
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
23077
-    DEFINES["__STDC_FORMAT_MACROS"] = True
23037
-    DEFINES["__STDC_FORMAT_MACROS"] = True
23078
-
23038
-
23039
-    OS_LIBS += [
23040
-        "GLESv2",
23041
-        "log"
23042
-    ]
23043
-
23079
-if CONFIG["OS_TARGET"] == "Darwin":
23044
-if CONFIG["OS_TARGET"] == "Darwin":
23080
-
23045
-
23081
-    DEFINES["WEBRTC_MAC"] = True
23046
-    DEFINES["WEBRTC_MAC"] = True
Lines 23101-23106 index 636a3df69c9a..abcef0e2e4c3 100644 Link Here
23101
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
23066
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
23102
-    DEFINES["__STDC_FORMAT_MACROS"] = True
23067
-    DEFINES["__STDC_FORMAT_MACROS"] = True
23103
-
23068
-
23069
-    OS_LIBS += [
23070
-        "rt"
23071
-    ]
23072
-
23104
-if CONFIG["OS_TARGET"] == "OpenBSD":
23073
-if CONFIG["OS_TARGET"] == "OpenBSD":
23105
-
23074
-
23106
-    DEFINES["USE_GLIB"] = "1"
23075
-    DEFINES["USE_GLIB"] = "1"
Lines 23141-23146 index 636a3df69c9a..abcef0e2e4c3 100644 Link Here
23141
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
23110
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
23142
-    DEFINES["_WINDOWS"] = True
23111
-    DEFINES["_WINDOWS"] = True
23143
-    DEFINES["__STD_C"] = True
23112
-    DEFINES["__STD_C"] = True
23113
-
23114
-    OS_LIBS += [
23115
-        "crypt32",
23116
-        "iphlpapi",
23117
-        "secur32",
23118
-        "winmm"
23119
-    ]
23144
+    DEFINES["_DEBUG"] = True
23120
+    DEFINES["_DEBUG"] = True
23145
 
23121
 
23146
 if CONFIG["TARGET_CPU"] == "aarch64":
23122
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 23150-23155 index 636a3df69c9a..abcef0e2e4c3 100644 Link Here
23150
 
23126
 
23151
-if CONFIG["TARGET_CPU"] == "arm":
23127
-if CONFIG["TARGET_CPU"] == "arm":
23152
-
23128
-
23129
-    CXXFLAGS += [
23130
-        "-mfpu=neon"
23131
-    ]
23132
-
23153
-    DEFINES["WEBRTC_ARCH_ARM"] = True
23133
-    DEFINES["WEBRTC_ARCH_ARM"] = True
23154
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
23134
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
23155
-    DEFINES["WEBRTC_HAS_NEON"] = True
23135
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 23166-23175 index 636a3df69c9a..abcef0e2e4c3 100644 Link Here
23166
 
23146
 
23167
 if CONFIG["TARGET_CPU"] == "x86":
23147
 if CONFIG["TARGET_CPU"] == "x86":
23168
 
23148
 
23169
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
23149
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
23170
 
23150
-
23171
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
23151
-if CONFIG["TARGET_CPU"] == "x86_64":
23172
 
23152
-
23153
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
23154
-
23173
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
23155
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
23174
-
23156
-
23175
-    DEFINES["_DEBUG"] = True
23157
-    DEFINES["_DEBUG"] = True
Lines 23191-23206 index 636a3df69c9a..abcef0e2e4c3 100644 Link Here
23191
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
23173
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
23192
-
23174
-
23193
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
23175
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
23194
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
23176
-
23195
 
23177
-    DEFINES["USE_X11"] = "1"
23196
     DEFINES["USE_X11"] = "1"
23178
-
23197
 
23198
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
23179
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
23199
-
23180
-
23200
-    OS_LIBS += [
23181
-    OS_LIBS += [
23201
-        "unwind"
23182
-        "unwind"
23202
-    ]
23183
-    ]
23203
-
23184
-
23185
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
23186
-
23187
     CXXFLAGS += [
23188
         "-msse2"
23189
     ]
23190
 
23204
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
23191
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
23205
-
23192
-
23206
-    DEFINES["_GNU_SOURCE"] = True
23193
-    DEFINES["_GNU_SOURCE"] = True
Lines 23210-23227 index 636a3df69c9a..abcef0e2e4c3 100644 Link Here
23210
-    DEFINES["_GNU_SOURCE"] = True
23197
-    DEFINES["_GNU_SOURCE"] = True
23211
-
23198
-
23212
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
23199
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
23213
-
23200
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
23201
 
23202
-    CXXFLAGS += [
23203
-        "-msse2"
23204
-    ]
23205
+if CONFIG["TARGET_CPU"] == "x86_64":
23206
 
23214
-    DEFINES["_GNU_SOURCE"] = True
23207
-    DEFINES["_GNU_SOURCE"] = True
23215
-
23208
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
23209
 
23216
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
23210
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
23217
-
23211
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
23212
 
23218
-    DEFINES["_GNU_SOURCE"] = True
23213
-    DEFINES["_GNU_SOURCE"] = True
23219
-
23214
+    DEFINES["USE_X11"] = "1"
23220
 Library("video_track_source_constraints_gn")
23215
 
23221
diff --git third_party/libwebrtc/audio/audio_gn/moz.build third_party/libwebrtc/audio/audio_gn/moz.build
23216
 Library("vp8_temporal_layers_factory_gn")
23222
index 2888ef09bd9b..0b9c1637ce34 100644
23217
diff --git third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build
23223
--- third_party/libwebrtc/audio/audio_gn/moz.build
23218
index f6456b10c949..3ebe854e0841 100644
23224
+++ third_party/libwebrtc/audio/audio_gn/moz.build
23219
--- third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build
23220
+++ third_party/libwebrtc/api/video_track_source_constraints_gn/moz.build
23225
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
23221
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
23226
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
23222
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
23227
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
23223
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 23244-23250 index 2888ef09bd9b..0b9c1637ce34 100644 Link Here
23244
 
23240
 
23245
 FINAL_LIBRARY = "xul"
23241
 FINAL_LIBRARY = "xul"
23246
 
23242
 
23247
@@ -55,190 +65,32 @@ if not CONFIG["MOZ_DEBUG"]:
23243
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
23248
 if CONFIG["MOZ_DEBUG"] == "1":
23244
 if CONFIG["MOZ_DEBUG"] == "1":
23249
 
23245
 
23250
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
23246
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 23263-23273 index 2888ef09bd9b..0b9c1637ce34 100644 Link Here
23263
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
23259
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
23264
-    DEFINES["__STDC_FORMAT_MACROS"] = True
23260
-    DEFINES["__STDC_FORMAT_MACROS"] = True
23265
-
23261
-
23266
-    OS_LIBS += [
23267
-        "GLESv2",
23268
-        "log"
23269
-    ]
23270
-
23271
-if CONFIG["OS_TARGET"] == "Darwin":
23262
-if CONFIG["OS_TARGET"] == "Darwin":
23272
-
23263
-
23273
-    DEFINES["WEBRTC_MAC"] = True
23264
-    DEFINES["WEBRTC_MAC"] = True
Lines 23293-23302 index 2888ef09bd9b..0b9c1637ce34 100644 Link Here
23293
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
23284
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
23294
-    DEFINES["__STDC_FORMAT_MACROS"] = True
23285
-    DEFINES["__STDC_FORMAT_MACROS"] = True
23295
-
23286
-
23296
-    OS_LIBS += [
23297
-        "rt"
23298
-    ]
23299
-
23300
-if CONFIG["OS_TARGET"] == "OpenBSD":
23287
-if CONFIG["OS_TARGET"] == "OpenBSD":
23301
-
23288
-
23302
-    DEFINES["USE_GLIB"] = "1"
23289
-    DEFINES["USE_GLIB"] = "1"
Lines 23337-23349 index 2888ef09bd9b..0b9c1637ce34 100644 Link Here
23337
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
23324
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
23338
-    DEFINES["_WINDOWS"] = True
23325
-    DEFINES["_WINDOWS"] = True
23339
-    DEFINES["__STD_C"] = True
23326
-    DEFINES["__STD_C"] = True
23340
-
23341
-    OS_LIBS += [
23342
-        "crypt32",
23343
-        "iphlpapi",
23344
-        "secur32",
23345
-        "winmm"
23346
-    ]
23347
+    DEFINES["_DEBUG"] = True
23327
+    DEFINES["_DEBUG"] = True
23348
 
23328
 
23349
 if CONFIG["TARGET_CPU"] == "aarch64":
23329
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 23353-23362 index 2888ef09bd9b..0b9c1637ce34 100644 Link Here
23353
 
23333
 
23354
-if CONFIG["TARGET_CPU"] == "arm":
23334
-if CONFIG["TARGET_CPU"] == "arm":
23355
-
23335
-
23356
-    CXXFLAGS += [
23357
-        "-mfpu=neon"
23358
-    ]
23359
-
23360
-    DEFINES["WEBRTC_ARCH_ARM"] = True
23336
-    DEFINES["WEBRTC_ARCH_ARM"] = True
23361
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
23337
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
23362
-    DEFINES["WEBRTC_HAS_NEON"] = True
23338
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 23373-23384 index 2888ef09bd9b..0b9c1637ce34 100644 Link Here
23373
 
23349
 
23374
 if CONFIG["TARGET_CPU"] == "x86":
23350
 if CONFIG["TARGET_CPU"] == "x86":
23375
 
23351
 
23376
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
23352
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
23377
-
23353
 
23378
-if CONFIG["TARGET_CPU"] == "x86_64":
23354
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
23379
-
23355
 
23380
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
23381
-
23382
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
23356
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
23383
-
23357
-
23384
-    DEFINES["_DEBUG"] = True
23358
-    DEFINES["_DEBUG"] = True
Lines 23400-23420 index 2888ef09bd9b..0b9c1637ce34 100644 Link Here
23400
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
23374
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
23401
-
23375
-
23402
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
23376
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
23403
-
23377
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
23404
-    DEFINES["USE_X11"] = "1"
23378
 
23405
-
23379
     DEFINES["USE_X11"] = "1"
23380
 
23406
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
23381
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
23407
-
23382
-
23408
-    OS_LIBS += [
23383
-    OS_LIBS += [
23409
-        "unwind"
23384
-        "unwind"
23410
-    ]
23385
-    ]
23411
-
23386
-
23412
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
23413
-
23414
     CXXFLAGS += [
23415
         "-msse2"
23416
     ]
23417
 
23418
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
23387
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
23419
-
23388
-
23420
-    DEFINES["_GNU_SOURCE"] = True
23389
-    DEFINES["_GNU_SOURCE"] = True
Lines 23424-23450 index 2888ef09bd9b..0b9c1637ce34 100644 Link Here
23424
-    DEFINES["_GNU_SOURCE"] = True
23393
-    DEFINES["_GNU_SOURCE"] = True
23425
-
23394
-
23426
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
23395
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
23427
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
23396
-
23428
 
23429
-    CXXFLAGS += [
23430
-        "-msse2"
23431
-    ]
23432
+if CONFIG["TARGET_CPU"] == "x86_64":
23433
 
23434
-    DEFINES["_GNU_SOURCE"] = True
23397
-    DEFINES["_GNU_SOURCE"] = True
23435
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
23398
-
23436
 
23437
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
23399
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
23438
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
23400
-
23439
 
23440
-    DEFINES["_GNU_SOURCE"] = True
23401
-    DEFINES["_GNU_SOURCE"] = True
23441
+    DEFINES["USE_X11"] = "1"
23402
-
23442
 
23403
 Library("video_track_source_constraints_gn")
23443
 Library("audio_gn")
23404
diff --git third_party/libwebrtc/audio/audio_gn/moz.build third_party/libwebrtc/audio/audio_gn/moz.build
23444
diff --git third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build
23405
index 7e907152932a..26e74709eca4 100644
23445
index 315f691f3e09..1848f414171d 100644
23406
--- third_party/libwebrtc/audio/audio_gn/moz.build
23446
--- third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build
23407
+++ third_party/libwebrtc/audio/audio_gn/moz.build
23447
+++ third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build
23448
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
23408
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
23449
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
23409
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
23450
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
23410
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 23467-23473 index 315f691f3e09..1848f414171d 100644 Link Here
23467
 
23427
 
23468
 FINAL_LIBRARY = "xul"
23428
 FINAL_LIBRARY = "xul"
23469
 
23429
 
23470
@@ -45,189 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
23430
@@ -55,190 +65,32 @@ if not CONFIG["MOZ_DEBUG"]:
23471
 if CONFIG["MOZ_DEBUG"] == "1":
23431
 if CONFIG["MOZ_DEBUG"] == "1":
23472
 
23432
 
23473
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
23433
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 23487-23492 index 315f691f3e09..1848f414171d 100644 Link Here
23487
-    DEFINES["__STDC_FORMAT_MACROS"] = True
23447
-    DEFINES["__STDC_FORMAT_MACROS"] = True
23488
-
23448
-
23489
-    OS_LIBS += [
23449
-    OS_LIBS += [
23450
-        "GLESv2",
23490
-        "log"
23451
-        "log"
23491
-    ]
23452
-    ]
23492
-
23453
-
Lines 23662-23672 index 315f691f3e09..1848f414171d 100644 Link Here
23662
-    DEFINES["_GNU_SOURCE"] = True
23623
-    DEFINES["_GNU_SOURCE"] = True
23663
+    DEFINES["USE_X11"] = "1"
23624
+    DEFINES["USE_X11"] = "1"
23664
 
23625
 
23665
 Library("audio_frame_operations_gn")
23626
 Library("audio_gn")
23666
diff --git third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build
23627
diff --git third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build
23667
index 3dab96b5a372..bcaf67293b6b 100644
23628
index 513ee2df29a4..6e04ad3c6c6c 100644
23668
--- third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build
23629
--- third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build
23669
+++ third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build
23630
+++ third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build
23670
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
23631
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
23671
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
23632
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
23672
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
23633
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 23689-23695 index 3dab96b5a372..bcaf67293b6b 100644 Link Here
23689
 
23650
 
23690
 FINAL_LIBRARY = "xul"
23651
 FINAL_LIBRARY = "xul"
23691
 
23652
 
23692
@@ -52,190 +62,32 @@ if not CONFIG["MOZ_DEBUG"]:
23653
@@ -45,189 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
23693
 if CONFIG["MOZ_DEBUG"] == "1":
23654
 if CONFIG["MOZ_DEBUG"] == "1":
23694
 
23655
 
23695
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
23656
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 23709-23715 index 3dab96b5a372..bcaf67293b6b 100644 Link Here
23709
-    DEFINES["__STDC_FORMAT_MACROS"] = True
23670
-    DEFINES["__STDC_FORMAT_MACROS"] = True
23710
-
23671
-
23711
-    OS_LIBS += [
23672
-    OS_LIBS += [
23712
-        "GLESv2",
23713
-        "log"
23673
-        "log"
23714
-    ]
23674
-    ]
23715
-
23675
-
Lines 23885-23895 index 3dab96b5a372..bcaf67293b6b 100644 Link Here
23885
-    DEFINES["_GNU_SOURCE"] = True
23845
-    DEFINES["_GNU_SOURCE"] = True
23886
+    DEFINES["USE_X11"] = "1"
23846
+    DEFINES["USE_X11"] = "1"
23887
 
23847
 
23888
 Library("resource_adaptation_gn")
23848
 Library("audio_frame_operations_gn")
23889
diff --git third_party/libwebrtc/call/audio_sender_interface_gn/moz.build third_party/libwebrtc/call/audio_sender_interface_gn/moz.build
23849
diff --git third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build
23890
index 6ca0ee773997..92276ee6b298 100644
23850
index 9731da555bb5..4ddc49602b5a 100644
23891
--- third_party/libwebrtc/call/audio_sender_interface_gn/moz.build
23851
--- third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build
23892
+++ third_party/libwebrtc/call/audio_sender_interface_gn/moz.build
23852
+++ third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build
23893
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
23853
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
23894
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
23854
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
23895
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
23855
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 23912-23918 index 6ca0ee773997..92276ee6b298 100644 Link Here
23912
 
23872
 
23913
 FINAL_LIBRARY = "xul"
23873
 FINAL_LIBRARY = "xul"
23914
 
23874
 
23915
@@ -39,118 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
23875
@@ -52,190 +62,32 @@ if not CONFIG["MOZ_DEBUG"]:
23916
 if CONFIG["MOZ_DEBUG"] == "1":
23876
 if CONFIG["MOZ_DEBUG"] == "1":
23917
 
23877
 
23918
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
23878
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 23932-23937 index 6ca0ee773997..92276ee6b298 100644 Link Here
23932
-    DEFINES["__STDC_FORMAT_MACROS"] = True
23892
-    DEFINES["__STDC_FORMAT_MACROS"] = True
23933
-
23893
-
23934
-    OS_LIBS += [
23894
-    OS_LIBS += [
23895
-        "GLESv2",
23935
-        "log"
23896
-        "log"
23936
-    ]
23897
-    ]
23937
-
23898
-
Lines 23960-23965 index 6ca0ee773997..92276ee6b298 100644 Link Here
23960
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
23921
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
23961
-    DEFINES["__STDC_FORMAT_MACROS"] = True
23922
-    DEFINES["__STDC_FORMAT_MACROS"] = True
23962
-
23923
-
23924
-    OS_LIBS += [
23925
-        "rt"
23926
-    ]
23927
-
23963
-if CONFIG["OS_TARGET"] == "OpenBSD":
23928
-if CONFIG["OS_TARGET"] == "OpenBSD":
23964
-
23929
-
23965
-    DEFINES["USE_GLIB"] = "1"
23930
-    DEFINES["USE_GLIB"] = "1"
Lines 24016-24021 index 6ca0ee773997..92276ee6b298 100644 Link Here
24016
 
23981
 
24017
-if CONFIG["TARGET_CPU"] == "arm":
23982
-if CONFIG["TARGET_CPU"] == "arm":
24018
-
23983
-
23984
-    CXXFLAGS += [
23985
-        "-mfpu=neon"
23986
-    ]
23987
-
24019
-    DEFINES["WEBRTC_ARCH_ARM"] = True
23988
-    DEFINES["WEBRTC_ARCH_ARM"] = True
24020
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
23989
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
24021
-    DEFINES["WEBRTC_HAS_NEON"] = True
23990
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 24032-24041 index 6ca0ee773997..92276ee6b298 100644 Link Here
24032
 
24001
 
24033
 if CONFIG["TARGET_CPU"] == "x86":
24002
 if CONFIG["TARGET_CPU"] == "x86":
24034
 
24003
 
24035
@@ -160,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
24004
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
24036
 
24005
-
24037
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
24006
-if CONFIG["TARGET_CPU"] == "x86_64":
24038
 
24007
-
24008
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
24009
-
24039
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
24010
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
24040
-
24011
-
24041
-    DEFINES["_DEBUG"] = True
24012
-    DEFINES["_DEBUG"] = True
Lines 24057-24072 index 6ca0ee773997..92276ee6b298 100644 Link Here
24057
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
24028
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
24058
-
24029
-
24059
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
24030
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
24060
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
24031
-
24061
 
24032
-    DEFINES["USE_X11"] = "1"
24062
     DEFINES["USE_X11"] = "1"
24033
-
24063
 
24064
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
24034
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
24065
-
24035
-
24066
-    OS_LIBS += [
24036
-    OS_LIBS += [
24067
-        "unwind"
24037
-        "unwind"
24068
-    ]
24038
-    ]
24069
-
24039
-
24040
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
24041
-
24042
     CXXFLAGS += [
24043
         "-msse2"
24044
     ]
24045
 
24070
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
24046
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
24071
-
24047
-
24072
-    DEFINES["_GNU_SOURCE"] = True
24048
-    DEFINES["_GNU_SOURCE"] = True
Lines 24076-24093 index 6ca0ee773997..92276ee6b298 100644 Link Here
24076
-    DEFINES["_GNU_SOURCE"] = True
24052
-    DEFINES["_GNU_SOURCE"] = True
24077
-
24053
-
24078
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
24054
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
24079
-
24055
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
24056
 
24057
-    CXXFLAGS += [
24058
-        "-msse2"
24059
-    ]
24060
+if CONFIG["TARGET_CPU"] == "x86_64":
24061
 
24080
-    DEFINES["_GNU_SOURCE"] = True
24062
-    DEFINES["_GNU_SOURCE"] = True
24081
-
24063
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
24064
 
24082
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
24065
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
24083
-
24066
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
24067
 
24084
-    DEFINES["_GNU_SOURCE"] = True
24068
-    DEFINES["_GNU_SOURCE"] = True
24085
-
24069
+    DEFINES["USE_X11"] = "1"
24086
 Library("audio_sender_interface_gn")
24070
 
24087
diff --git third_party/libwebrtc/call/bitrate_allocator_gn/moz.build third_party/libwebrtc/call/bitrate_allocator_gn/moz.build
24071
 Library("resource_adaptation_gn")
24088
index 57adb400db54..754fdf86307a 100644
24072
diff --git third_party/libwebrtc/call/audio_sender_interface_gn/moz.build third_party/libwebrtc/call/audio_sender_interface_gn/moz.build
24089
--- third_party/libwebrtc/call/bitrate_allocator_gn/moz.build
24073
index af23788409d9..586442905686 100644
24090
+++ third_party/libwebrtc/call/bitrate_allocator_gn/moz.build
24074
--- third_party/libwebrtc/call/audio_sender_interface_gn/moz.build
24075
+++ third_party/libwebrtc/call/audio_sender_interface_gn/moz.build
24091
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
24076
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
24092
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
24077
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
24093
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
24078
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 24110-24116 index 57adb400db54..754fdf86307a 100644 Link Here
24110
 
24095
 
24111
 FINAL_LIBRARY = "xul"
24096
 FINAL_LIBRARY = "xul"
24112
 
24097
 
24113
@@ -43,189 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
24098
@@ -39,118 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
24114
 if CONFIG["MOZ_DEBUG"] == "1":
24099
 if CONFIG["MOZ_DEBUG"] == "1":
24115
 
24100
 
24116
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
24101
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 24158-24167 index 57adb400db54..754fdf86307a 100644 Link Here
24158
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
24143
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
24159
-    DEFINES["__STDC_FORMAT_MACROS"] = True
24144
-    DEFINES["__STDC_FORMAT_MACROS"] = True
24160
-
24145
-
24161
-    OS_LIBS += [
24162
-        "rt"
24163
-    ]
24164
-
24165
-if CONFIG["OS_TARGET"] == "OpenBSD":
24146
-if CONFIG["OS_TARGET"] == "OpenBSD":
24166
-
24147
-
24167
-    DEFINES["USE_GLIB"] = "1"
24148
-    DEFINES["USE_GLIB"] = "1"
Lines 24218-24227 index 57adb400db54..754fdf86307a 100644 Link Here
24218
 
24199
 
24219
-if CONFIG["TARGET_CPU"] == "arm":
24200
-if CONFIG["TARGET_CPU"] == "arm":
24220
-
24201
-
24221
-    CXXFLAGS += [
24222
-        "-mfpu=neon"
24223
-    ]
24224
-
24225
-    DEFINES["WEBRTC_ARCH_ARM"] = True
24202
-    DEFINES["WEBRTC_ARCH_ARM"] = True
24226
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
24203
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
24227
-    DEFINES["WEBRTC_HAS_NEON"] = True
24204
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 24238-24249 index 57adb400db54..754fdf86307a 100644 Link Here
24238
 
24215
 
24239
 if CONFIG["TARGET_CPU"] == "x86":
24216
 if CONFIG["TARGET_CPU"] == "x86":
24240
 
24217
 
24241
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
24218
@@ -160,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
24242
-
24219
 
24243
-if CONFIG["TARGET_CPU"] == "x86_64":
24220
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
24244
-
24221
 
24245
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
24246
-
24247
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
24222
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
24248
-
24223
-
24249
-    DEFINES["_DEBUG"] = True
24224
-    DEFINES["_DEBUG"] = True
Lines 24265-24285 index 57adb400db54..754fdf86307a 100644 Link Here
24265
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
24240
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
24266
-
24241
-
24267
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
24242
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
24268
-
24243
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
24269
-    DEFINES["USE_X11"] = "1"
24244
 
24270
-
24245
     DEFINES["USE_X11"] = "1"
24246
 
24271
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
24247
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
24272
-
24248
-
24273
-    OS_LIBS += [
24249
-    OS_LIBS += [
24274
-        "unwind"
24250
-        "unwind"
24275
-    ]
24251
-    ]
24276
-
24252
-
24277
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
24278
-
24279
     CXXFLAGS += [
24280
         "-msse2"
24281
     ]
24282
 
24283
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
24253
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
24284
-
24254
-
24285
-    DEFINES["_GNU_SOURCE"] = True
24255
-    DEFINES["_GNU_SOURCE"] = True
Lines 24289-24315 index 57adb400db54..754fdf86307a 100644 Link Here
24289
-    DEFINES["_GNU_SOURCE"] = True
24259
-    DEFINES["_GNU_SOURCE"] = True
24290
-
24260
-
24291
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
24261
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
24292
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
24262
-
24293
 
24294
-    CXXFLAGS += [
24295
-        "-msse2"
24296
-    ]
24297
+if CONFIG["TARGET_CPU"] == "x86_64":
24298
 
24299
-    DEFINES["_GNU_SOURCE"] = True
24263
-    DEFINES["_GNU_SOURCE"] = True
24300
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
24264
-
24301
 
24302
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
24265
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
24303
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
24266
-
24304
 
24305
-    DEFINES["_GNU_SOURCE"] = True
24267
-    DEFINES["_GNU_SOURCE"] = True
24306
+    DEFINES["USE_X11"] = "1"
24268
-
24307
 
24269
 Library("audio_sender_interface_gn")
24308
 Library("bitrate_allocator_gn")
24270
diff --git third_party/libwebrtc/call/bitrate_allocator_gn/moz.build third_party/libwebrtc/call/bitrate_allocator_gn/moz.build
24309
diff --git third_party/libwebrtc/call/bitrate_configurator_gn/moz.build third_party/libwebrtc/call/bitrate_configurator_gn/moz.build
24271
index eb39b9ced731..27d78e6d3192 100644
24310
index 59f87d2fdf4d..537c7fe06fcd 100644
24272
--- third_party/libwebrtc/call/bitrate_allocator_gn/moz.build
24311
--- third_party/libwebrtc/call/bitrate_configurator_gn/moz.build
24273
+++ third_party/libwebrtc/call/bitrate_allocator_gn/moz.build
24312
+++ third_party/libwebrtc/call/bitrate_configurator_gn/moz.build
24313
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
24274
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
24314
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
24275
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
24315
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
24276
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 24527-24537 index 59f87d2fdf4d..537c7fe06fcd 100644 Link Here
24527
-    DEFINES["_GNU_SOURCE"] = True
24488
-    DEFINES["_GNU_SOURCE"] = True
24528
+    DEFINES["USE_X11"] = "1"
24489
+    DEFINES["USE_X11"] = "1"
24529
 
24490
 
24530
 Library("bitrate_configurator_gn")
24491
 Library("bitrate_allocator_gn")
24531
diff --git third_party/libwebrtc/call/call_gn/moz.build third_party/libwebrtc/call/call_gn/moz.build
24492
diff --git third_party/libwebrtc/call/bitrate_configurator_gn/moz.build third_party/libwebrtc/call/bitrate_configurator_gn/moz.build
24532
index da452122ce12..84614d18ac06 100644
24493
index e73d8889769d..b48c2a9cd42e 100644
24533
--- third_party/libwebrtc/call/call_gn/moz.build
24494
--- third_party/libwebrtc/call/bitrate_configurator_gn/moz.build
24534
+++ third_party/libwebrtc/call/call_gn/moz.build
24495
+++ third_party/libwebrtc/call/bitrate_configurator_gn/moz.build
24535
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
24496
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
24536
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
24497
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
24537
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
24498
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 24554-24560 index da452122ce12..84614d18ac06 100644 Link Here
24554
 
24515
 
24555
 FINAL_LIBRARY = "xul"
24516
 FINAL_LIBRARY = "xul"
24556
 
24517
 
24557
@@ -45,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
24518
@@ -43,189 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
24558
 if CONFIG["MOZ_DEBUG"] == "1":
24519
 if CONFIG["MOZ_DEBUG"] == "1":
24559
 
24520
 
24560
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
24521
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 24574-24580 index da452122ce12..84614d18ac06 100644 Link Here
24574
-    DEFINES["__STDC_FORMAT_MACROS"] = True
24535
-    DEFINES["__STDC_FORMAT_MACROS"] = True
24575
-
24536
-
24576
-    OS_LIBS += [
24537
-    OS_LIBS += [
24577
-        "GLESv2",
24578
-        "log"
24538
-        "log"
24579
-    ]
24539
-    ]
24580
-
24540
-
Lines 24750-24760 index da452122ce12..84614d18ac06 100644 Link Here
24750
-    DEFINES["_GNU_SOURCE"] = True
24710
-    DEFINES["_GNU_SOURCE"] = True
24751
+    DEFINES["USE_X11"] = "1"
24711
+    DEFINES["USE_X11"] = "1"
24752
 
24712
 
24753
 Library("call_gn")
24713
 Library("bitrate_configurator_gn")
24754
diff --git third_party/libwebrtc/call/call_interfaces_gn/moz.build third_party/libwebrtc/call/call_interfaces_gn/moz.build
24714
diff --git third_party/libwebrtc/call/call_gn/moz.build third_party/libwebrtc/call/call_gn/moz.build
24755
index 3c7b6a05d3ab..a65ef1040061 100644
24715
index b00caf858186..f97d55dde006 100644
24756
--- third_party/libwebrtc/call/call_interfaces_gn/moz.build
24716
--- third_party/libwebrtc/call/call_gn/moz.build
24757
+++ third_party/libwebrtc/call/call_interfaces_gn/moz.build
24717
+++ third_party/libwebrtc/call/call_gn/moz.build
24758
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
24718
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
24759
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
24719
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
24760
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
24720
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 24777-24783 index 3c7b6a05d3ab..a65ef1040061 100644 Link Here
24777
 
24737
 
24778
 FINAL_LIBRARY = "xul"
24738
 FINAL_LIBRARY = "xul"
24779
 
24739
 
24780
@@ -49,190 +59,32 @@ if not CONFIG["MOZ_DEBUG"]:
24740
@@ -45,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
24781
 if CONFIG["MOZ_DEBUG"] == "1":
24741
 if CONFIG["MOZ_DEBUG"] == "1":
24782
 
24742
 
24783
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
24743
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 24973-24983 index 3c7b6a05d3ab..a65ef1040061 100644 Link Here
24973
-    DEFINES["_GNU_SOURCE"] = True
24933
-    DEFINES["_GNU_SOURCE"] = True
24974
+    DEFINES["USE_X11"] = "1"
24934
+    DEFINES["USE_X11"] = "1"
24975
 
24935
 
24976
 Library("call_interfaces_gn")
24936
 Library("call_gn")
24977
diff --git third_party/libwebrtc/call/receive_stream_interface_gn/moz.build third_party/libwebrtc/call/receive_stream_interface_gn/moz.build
24937
diff --git third_party/libwebrtc/call/call_interfaces_gn/moz.build third_party/libwebrtc/call/call_interfaces_gn/moz.build
24978
index 0b3511082a51..52c6e002375f 100644
24938
index c5d22abe424a..11749d75f42d 100644
24979
--- third_party/libwebrtc/call/receive_stream_interface_gn/moz.build
24939
--- third_party/libwebrtc/call/call_interfaces_gn/moz.build
24980
+++ third_party/libwebrtc/call/receive_stream_interface_gn/moz.build
24940
+++ third_party/libwebrtc/call/call_interfaces_gn/moz.build
24981
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
24941
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
24982
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
24942
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
24983
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
24943
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 25000-25006 index 0b3511082a51..52c6e002375f 100644 Link Here
25000
 
24960
 
25001
 FINAL_LIBRARY = "xul"
24961
 FINAL_LIBRARY = "xul"
25002
 
24962
 
25003
@@ -39,122 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
24963
@@ -49,190 +59,32 @@ if not CONFIG["MOZ_DEBUG"]:
25004
 if CONFIG["MOZ_DEBUG"] == "1":
24964
 if CONFIG["MOZ_DEBUG"] == "1":
25005
 
24965
 
25006
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
24966
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 25020-25025 index 0b3511082a51..52c6e002375f 100644 Link Here
25020
-    DEFINES["__STDC_FORMAT_MACROS"] = True
24980
-    DEFINES["__STDC_FORMAT_MACROS"] = True
25021
-
24981
-
25022
-    OS_LIBS += [
24982
-    OS_LIBS += [
24983
-        "GLESv2",
25023
-        "log"
24984
-        "log"
25024
-    ]
24985
-    ]
25025
-
24986
-
Lines 25108-25113 index 0b3511082a51..52c6e002375f 100644 Link Here
25108
 
25069
 
25109
-if CONFIG["TARGET_CPU"] == "arm":
25070
-if CONFIG["TARGET_CPU"] == "arm":
25110
-
25071
-
25072
-    CXXFLAGS += [
25073
-        "-mfpu=neon"
25074
-    ]
25075
-
25111
-    DEFINES["WEBRTC_ARCH_ARM"] = True
25076
-    DEFINES["WEBRTC_ARCH_ARM"] = True
25112
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
25077
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
25113
-    DEFINES["WEBRTC_HAS_NEON"] = True
25078
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 25124-25133 index 0b3511082a51..52c6e002375f 100644 Link Here
25124
 
25089
 
25125
 if CONFIG["TARGET_CPU"] == "x86":
25090
 if CONFIG["TARGET_CPU"] == "x86":
25126
 
25091
 
25127
@@ -164,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
25092
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
25128
 
25093
-
25129
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
25094
-if CONFIG["TARGET_CPU"] == "x86_64":
25130
 
25095
-
25096
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
25097
-
25131
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
25098
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
25132
-
25099
-
25133
-    DEFINES["_DEBUG"] = True
25100
-    DEFINES["_DEBUG"] = True
Lines 25149-25164 index 0b3511082a51..52c6e002375f 100644 Link Here
25149
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
25116
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
25150
-
25117
-
25151
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
25118
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
25152
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
25119
-
25153
 
25120
-    DEFINES["USE_X11"] = "1"
25154
     DEFINES["USE_X11"] = "1"
25121
-
25155
 
25156
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
25122
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
25157
-
25123
-
25158
-    OS_LIBS += [
25124
-    OS_LIBS += [
25159
-        "unwind"
25125
-        "unwind"
25160
-    ]
25126
-    ]
25161
-
25127
-
25128
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
25129
-
25130
     CXXFLAGS += [
25131
         "-msse2"
25132
     ]
25133
 
25162
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
25134
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
25163
-
25135
-
25164
-    DEFINES["_GNU_SOURCE"] = True
25136
-    DEFINES["_GNU_SOURCE"] = True
Lines 25168-25185 index 0b3511082a51..52c6e002375f 100644 Link Here
25168
-    DEFINES["_GNU_SOURCE"] = True
25140
-    DEFINES["_GNU_SOURCE"] = True
25169
-
25141
-
25170
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
25142
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
25171
-
25143
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
25144
 
25145
-    CXXFLAGS += [
25146
-        "-msse2"
25147
-    ]
25148
+if CONFIG["TARGET_CPU"] == "x86_64":
25149
 
25172
-    DEFINES["_GNU_SOURCE"] = True
25150
-    DEFINES["_GNU_SOURCE"] = True
25173
-
25151
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
25152
 
25174
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
25153
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
25175
-
25154
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
25155
 
25176
-    DEFINES["_GNU_SOURCE"] = True
25156
-    DEFINES["_GNU_SOURCE"] = True
25177
-
25157
+    DEFINES["USE_X11"] = "1"
25178
 Library("receive_stream_interface_gn")
25158
 
25179
diff --git third_party/libwebrtc/call/rtp_interfaces_gn/moz.build third_party/libwebrtc/call/rtp_interfaces_gn/moz.build
25159
 Library("call_interfaces_gn")
25180
index f2fb2ab649bb..ed390dd2fce3 100644
25160
diff --git third_party/libwebrtc/call/receive_stream_interface_gn/moz.build third_party/libwebrtc/call/receive_stream_interface_gn/moz.build
25181
--- third_party/libwebrtc/call/rtp_interfaces_gn/moz.build
25161
index 15e5be29d320..a813e9d71a69 100644
25182
+++ third_party/libwebrtc/call/rtp_interfaces_gn/moz.build
25162
--- third_party/libwebrtc/call/receive_stream_interface_gn/moz.build
25163
+++ third_party/libwebrtc/call/receive_stream_interface_gn/moz.build
25183
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
25164
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
25184
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
25165
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
25185
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
25166
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 25202-25208 index f2fb2ab649bb..ed390dd2fce3 100644 Link Here
25202
 
25183
 
25203
 FINAL_LIBRARY = "xul"
25184
 FINAL_LIBRARY = "xul"
25204
 
25185
 
25205
@@ -43,189 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
25186
@@ -39,122 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
25206
 if CONFIG["MOZ_DEBUG"] == "1":
25187
 if CONFIG["MOZ_DEBUG"] == "1":
25207
 
25188
 
25208
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
25189
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 25310-25319 index f2fb2ab649bb..ed390dd2fce3 100644 Link Here
25310
 
25291
 
25311
-if CONFIG["TARGET_CPU"] == "arm":
25292
-if CONFIG["TARGET_CPU"] == "arm":
25312
-
25293
-
25313
-    CXXFLAGS += [
25314
-        "-mfpu=neon"
25315
-    ]
25316
-
25317
-    DEFINES["WEBRTC_ARCH_ARM"] = True
25294
-    DEFINES["WEBRTC_ARCH_ARM"] = True
25318
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
25295
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
25319
-    DEFINES["WEBRTC_HAS_NEON"] = True
25296
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 25330-25341 index f2fb2ab649bb..ed390dd2fce3 100644 Link Here
25330
 
25307
 
25331
 if CONFIG["TARGET_CPU"] == "x86":
25308
 if CONFIG["TARGET_CPU"] == "x86":
25332
 
25309
 
25333
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
25310
@@ -164,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
25334
-
25311
 
25335
-if CONFIG["TARGET_CPU"] == "x86_64":
25312
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
25336
-
25313
 
25337
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
25338
-
25339
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
25314
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
25340
-
25315
-
25341
-    DEFINES["_DEBUG"] = True
25316
-    DEFINES["_DEBUG"] = True
Lines 25357-25377 index f2fb2ab649bb..ed390dd2fce3 100644 Link Here
25357
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
25332
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
25358
-
25333
-
25359
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
25334
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
25360
-
25335
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
25361
-    DEFINES["USE_X11"] = "1"
25336
 
25362
-
25337
     DEFINES["USE_X11"] = "1"
25338
 
25363
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
25339
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
25364
-
25340
-
25365
-    OS_LIBS += [
25341
-    OS_LIBS += [
25366
-        "unwind"
25342
-        "unwind"
25367
-    ]
25343
-    ]
25368
-
25344
-
25369
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
25370
-
25371
     CXXFLAGS += [
25372
         "-msse2"
25373
     ]
25374
 
25375
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
25345
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
25376
-
25346
-
25377
-    DEFINES["_GNU_SOURCE"] = True
25347
-    DEFINES["_GNU_SOURCE"] = True
Lines 25381-25407 index f2fb2ab649bb..ed390dd2fce3 100644 Link Here
25381
-    DEFINES["_GNU_SOURCE"] = True
25351
-    DEFINES["_GNU_SOURCE"] = True
25382
-
25352
-
25383
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
25353
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
25384
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
25354
-
25385
 
25386
-    CXXFLAGS += [
25387
-        "-msse2"
25388
-    ]
25389
+if CONFIG["TARGET_CPU"] == "x86_64":
25390
 
25391
-    DEFINES["_GNU_SOURCE"] = True
25355
-    DEFINES["_GNU_SOURCE"] = True
25392
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
25356
-
25393
 
25394
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
25357
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
25395
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
25358
-
25396
 
25397
-    DEFINES["_GNU_SOURCE"] = True
25359
-    DEFINES["_GNU_SOURCE"] = True
25398
+    DEFINES["USE_X11"] = "1"
25360
-
25399
 
25361
 Library("receive_stream_interface_gn")
25400
 Library("rtp_interfaces_gn")
25362
diff --git third_party/libwebrtc/call/rtp_interfaces_gn/moz.build third_party/libwebrtc/call/rtp_interfaces_gn/moz.build
25401
diff --git third_party/libwebrtc/call/rtp_receiver_gn/moz.build third_party/libwebrtc/call/rtp_receiver_gn/moz.build
25363
index 29e7a8d99609..0b41486895d4 100644
25402
index 35c68ca3368d..f18af2328452 100644
25364
--- third_party/libwebrtc/call/rtp_interfaces_gn/moz.build
25403
--- third_party/libwebrtc/call/rtp_receiver_gn/moz.build
25365
+++ third_party/libwebrtc/call/rtp_interfaces_gn/moz.build
25404
+++ third_party/libwebrtc/call/rtp_receiver_gn/moz.build
25405
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
25366
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
25406
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
25367
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
25407
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
25368
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 25424-25430 index 35c68ca3368d..f18af2328452 100644 Link Here
25424
 
25385
 
25425
 FINAL_LIBRARY = "xul"
25386
 FINAL_LIBRARY = "xul"
25426
 
25387
 
25427
@@ -45,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
25388
@@ -43,189 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
25428
 if CONFIG["MOZ_DEBUG"] == "1":
25389
 if CONFIG["MOZ_DEBUG"] == "1":
25429
 
25390
 
25430
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
25391
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 25444-25450 index 35c68ca3368d..f18af2328452 100644 Link Here
25444
-    DEFINES["__STDC_FORMAT_MACROS"] = True
25405
-    DEFINES["__STDC_FORMAT_MACROS"] = True
25445
-
25406
-
25446
-    OS_LIBS += [
25407
-    OS_LIBS += [
25447
-        "GLESv2",
25448
-        "log"
25408
-        "log"
25449
-    ]
25409
-    ]
25450
-
25410
-
Lines 25620-25630 index 35c68ca3368d..f18af2328452 100644 Link Here
25620
-    DEFINES["_GNU_SOURCE"] = True
25580
-    DEFINES["_GNU_SOURCE"] = True
25621
+    DEFINES["USE_X11"] = "1"
25581
+    DEFINES["USE_X11"] = "1"
25622
 
25582
 
25623
 Library("rtp_receiver_gn")
25583
 Library("rtp_interfaces_gn")
25624
diff --git third_party/libwebrtc/call/rtp_sender_gn/moz.build third_party/libwebrtc/call/rtp_sender_gn/moz.build
25584
diff --git third_party/libwebrtc/call/rtp_receiver_gn/moz.build third_party/libwebrtc/call/rtp_receiver_gn/moz.build
25625
index c99d9d8e8a66..4e15db834a33 100644
25585
index b1a295a56ae2..8d459d1d711e 100644
25626
--- third_party/libwebrtc/call/rtp_sender_gn/moz.build
25586
--- third_party/libwebrtc/call/rtp_receiver_gn/moz.build
25627
+++ third_party/libwebrtc/call/rtp_sender_gn/moz.build
25587
+++ third_party/libwebrtc/call/rtp_receiver_gn/moz.build
25628
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
25588
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
25629
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
25589
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
25630
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
25590
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 25843-25853 index c99d9d8e8a66..4e15db834a33 100644 Link Here
25843
-    DEFINES["_GNU_SOURCE"] = True
25803
-    DEFINES["_GNU_SOURCE"] = True
25844
+    DEFINES["USE_X11"] = "1"
25804
+    DEFINES["USE_X11"] = "1"
25845
 
25805
 
25846
 Library("rtp_sender_gn")
25806
 Library("rtp_receiver_gn")
25847
diff --git third_party/libwebrtc/call/version_gn/moz.build third_party/libwebrtc/call/version_gn/moz.build
25807
diff --git third_party/libwebrtc/call/rtp_sender_gn/moz.build third_party/libwebrtc/call/rtp_sender_gn/moz.build
25848
index 50ff0cff2e55..ee871323396a 100644
25808
index f488ad07c25a..aeba0134575e 100644
25849
--- third_party/libwebrtc/call/version_gn/moz.build
25809
--- third_party/libwebrtc/call/rtp_sender_gn/moz.build
25850
+++ third_party/libwebrtc/call/version_gn/moz.build
25810
+++ third_party/libwebrtc/call/rtp_sender_gn/moz.build
25851
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
25811
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
25852
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
25812
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
25853
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
25813
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 25870-25876 index 50ff0cff2e55..ee871323396a 100644 Link Here
25870
 
25830
 
25871
 FINAL_LIBRARY = "xul"
25831
 FINAL_LIBRARY = "xul"
25872
 
25832
 
25873
@@ -43,174 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
25833
@@ -45,190 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
25874
 if CONFIG["MOZ_DEBUG"] == "1":
25834
 if CONFIG["MOZ_DEBUG"] == "1":
25875
 
25835
 
25876
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
25836
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 25889-25894 index 50ff0cff2e55..ee871323396a 100644 Link Here
25889
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
25849
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
25890
-    DEFINES["__STDC_FORMAT_MACROS"] = True
25850
-    DEFINES["__STDC_FORMAT_MACROS"] = True
25891
-
25851
-
25852
-    OS_LIBS += [
25853
-        "GLESv2",
25854
-        "log"
25855
-    ]
25856
-
25892
-if CONFIG["OS_TARGET"] == "Darwin":
25857
-if CONFIG["OS_TARGET"] == "Darwin":
25893
-
25858
-
25894
-    DEFINES["WEBRTC_MAC"] = True
25859
-    DEFINES["WEBRTC_MAC"] = True
Lines 25914-25919 index 50ff0cff2e55..ee871323396a 100644 Link Here
25914
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
25879
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
25915
-    DEFINES["__STDC_FORMAT_MACROS"] = True
25880
-    DEFINES["__STDC_FORMAT_MACROS"] = True
25916
-
25881
-
25882
-    OS_LIBS += [
25883
-        "rt"
25884
-    ]
25885
-
25917
-if CONFIG["OS_TARGET"] == "OpenBSD":
25886
-if CONFIG["OS_TARGET"] == "OpenBSD":
25918
-
25887
-
25919
-    DEFINES["USE_GLIB"] = "1"
25888
-    DEFINES["USE_GLIB"] = "1"
Lines 25954-25959 index 50ff0cff2e55..ee871323396a 100644 Link Here
25954
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
25923
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
25955
-    DEFINES["_WINDOWS"] = True
25924
-    DEFINES["_WINDOWS"] = True
25956
-    DEFINES["__STD_C"] = True
25925
-    DEFINES["__STD_C"] = True
25926
-
25927
-    OS_LIBS += [
25928
-        "crypt32",
25929
-        "iphlpapi",
25930
-        "secur32",
25931
-        "winmm"
25932
-    ]
25957
+    DEFINES["_DEBUG"] = True
25933
+    DEFINES["_DEBUG"] = True
25958
 
25934
 
25959
 if CONFIG["TARGET_CPU"] == "aarch64":
25935
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 26050-26060 index 50ff0cff2e55..ee871323396a 100644 Link Here
26050
-    DEFINES["_GNU_SOURCE"] = True
26026
-    DEFINES["_GNU_SOURCE"] = True
26051
+    DEFINES["USE_X11"] = "1"
26027
+    DEFINES["USE_X11"] = "1"
26052
 
26028
 
26053
 Library("version_gn")
26029
 Library("rtp_sender_gn")
26054
diff --git third_party/libwebrtc/call/video_stream_api_gn/moz.build third_party/libwebrtc/call/video_stream_api_gn/moz.build
26030
diff --git third_party/libwebrtc/call/version_gn/moz.build third_party/libwebrtc/call/version_gn/moz.build
26055
index 9aa475a12fc6..7488f3667ecd 100644
26031
index 485833ee2beb..bfccfe4b4400 100644
26056
--- third_party/libwebrtc/call/video_stream_api_gn/moz.build
26032
--- third_party/libwebrtc/call/version_gn/moz.build
26057
+++ third_party/libwebrtc/call/video_stream_api_gn/moz.build
26033
+++ third_party/libwebrtc/call/version_gn/moz.build
26058
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
26034
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
26059
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
26035
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
26060
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
26036
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 26077-26083 index 9aa475a12fc6..7488f3667ecd 100644 Link Here
26077
 
26053
 
26078
 FINAL_LIBRARY = "xul"
26054
 FINAL_LIBRARY = "xul"
26079
 
26055
 
26080
@@ -44,189 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
26056
@@ -43,174 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
26081
 if CONFIG["MOZ_DEBUG"] == "1":
26057
 if CONFIG["MOZ_DEBUG"] == "1":
26082
 
26058
 
26083
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
26059
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 26096-26105 index 9aa475a12fc6..7488f3667ecd 100644 Link Here
26096
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
26072
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
26097
-    DEFINES["__STDC_FORMAT_MACROS"] = True
26073
-    DEFINES["__STDC_FORMAT_MACROS"] = True
26098
-
26074
-
26099
-    OS_LIBS += [
26100
-        "log"
26101
-    ]
26102
-
26103
-if CONFIG["OS_TARGET"] == "Darwin":
26075
-if CONFIG["OS_TARGET"] == "Darwin":
26104
-
26076
-
26105
-    DEFINES["WEBRTC_MAC"] = True
26077
-    DEFINES["WEBRTC_MAC"] = True
Lines 26125-26134 index 9aa475a12fc6..7488f3667ecd 100644 Link Here
26125
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
26097
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
26126
-    DEFINES["__STDC_FORMAT_MACROS"] = True
26098
-    DEFINES["__STDC_FORMAT_MACROS"] = True
26127
-
26099
-
26128
-    OS_LIBS += [
26129
-        "rt"
26130
-    ]
26131
-
26132
-if CONFIG["OS_TARGET"] == "OpenBSD":
26100
-if CONFIG["OS_TARGET"] == "OpenBSD":
26133
-
26101
-
26134
-    DEFINES["USE_GLIB"] = "1"
26102
-    DEFINES["USE_GLIB"] = "1"
Lines 26169-26181 index 9aa475a12fc6..7488f3667ecd 100644 Link Here
26169
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
26137
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
26170
-    DEFINES["_WINDOWS"] = True
26138
-    DEFINES["_WINDOWS"] = True
26171
-    DEFINES["__STD_C"] = True
26139
-    DEFINES["__STD_C"] = True
26172
-
26140
+    DEFINES["_DEBUG"] = True
26173
-    OS_LIBS += [
26141
 
26174
-        "crypt32",
26142
 if CONFIG["TARGET_CPU"] == "aarch64":
26175
-        "iphlpapi",
26143
 
26176
-        "secur32",
26144
     DEFINES["WEBRTC_ARCH_ARM64"] = True
26177
-        "winmm"
26145
     DEFINES["WEBRTC_HAS_NEON"] = True
26178
-    ]
26146
 
26147
-if CONFIG["TARGET_CPU"] == "arm":
26148
-
26149
-    CXXFLAGS += [
26150
-        "-mfpu=neon"
26151
-    ]
26152
-
26153
-    DEFINES["WEBRTC_ARCH_ARM"] = True
26154
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
26155
-    DEFINES["WEBRTC_HAS_NEON"] = True
26156
-
26157
 if CONFIG["TARGET_CPU"] == "mips32":
26158
 
26159
     DEFINES["MIPS32_LE"] = True
26160
     DEFINES["MIPS_FPU_LE"] = True
26161
-    DEFINES["_GNU_SOURCE"] = True
26162
-
26163
-if CONFIG["TARGET_CPU"] == "mips64":
26164
-
26165
-    DEFINES["_GNU_SOURCE"] = True
26166
 
26167
 if CONFIG["TARGET_CPU"] == "x86":
26168
 
26169
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
26170
-
26171
-if CONFIG["TARGET_CPU"] == "x86_64":
26172
-
26173
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
26174
-
26175
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
26176
-
26177
-    DEFINES["_DEBUG"] = True
26178
-
26179
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
26180
-
26181
-    DEFINES["_DEBUG"] = True
26182
-
26183
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
26184
-
26185
-    DEFINES["_DEBUG"] = True
26186
-
26187
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
26188
-
26189
-    DEFINES["_DEBUG"] = True
26190
-
26191
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
26192
-
26193
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
26194
-
26195
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
26196
-
26197
-    DEFINES["USE_X11"] = "1"
26198
-
26199
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
26200
-
26201
-    OS_LIBS += [
26202
-        "unwind"
26203
-    ]
26204
-
26205
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
26206
-
26207
     CXXFLAGS += [
26208
         "-msse2"
26209
     ]
26210
 
26211
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
26212
-
26213
-    DEFINES["_GNU_SOURCE"] = True
26214
-
26215
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
26216
-
26217
-    DEFINES["_GNU_SOURCE"] = True
26218
-
26219
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
26220
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
26221
 
26222
-    CXXFLAGS += [
26223
-        "-msse2"
26224
-    ]
26225
+if CONFIG["TARGET_CPU"] == "x86_64":
26226
 
26227
-    DEFINES["_GNU_SOURCE"] = True
26228
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
26229
 
26230
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
26231
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
26232
 
26233
-    DEFINES["_GNU_SOURCE"] = True
26234
+    DEFINES["USE_X11"] = "1"
26235
 
26236
 Library("version_gn")
26237
diff --git third_party/libwebrtc/call/video_stream_api_gn/moz.build third_party/libwebrtc/call/video_stream_api_gn/moz.build
26238
index 3d0b6a488cb3..271e176d5f75 100644
26239
--- third_party/libwebrtc/call/video_stream_api_gn/moz.build
26240
+++ third_party/libwebrtc/call/video_stream_api_gn/moz.build
26241
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
26242
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
26243
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
26244
 DEFINES["RTC_ENABLE_VP9"] = True
26245
+DEFINES["USE_GLIB"] = "1"
26246
+DEFINES["USE_OZONE"] = "1"
26247
+DEFINES["WEBRTC_BSD"] = True
26248
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
26249
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
26250
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
26251
 DEFINES["WEBRTC_MOZILLA_BUILD"] = True
26252
 DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
26253
+DEFINES["WEBRTC_POSIX"] = True
26254
 DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
26255
+DEFINES["_FILE_OFFSET_BITS"] = "64"
26256
+DEFINES["_LARGEFILE64_SOURCE"] = True
26257
+DEFINES["_LARGEFILE_SOURCE"] = True
26258
+DEFINES["__STDC_CONSTANT_MACROS"] = True
26259
+DEFINES["__STDC_FORMAT_MACROS"] = True
26260
 
26261
 FINAL_LIBRARY = "xul"
26262
 
26263
@@ -44,189 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
26264
 if CONFIG["MOZ_DEBUG"] == "1":
26265
 
26266
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
26267
-
26268
-if CONFIG["OS_TARGET"] == "Android":
26269
-
26270
-    DEFINES["ANDROID"] = True
26271
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
26272
-    DEFINES["HAVE_SYS_UIO_H"] = True
26273
-    DEFINES["WEBRTC_ANDROID"] = True
26274
-    DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
26275
-    DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
26276
-    DEFINES["WEBRTC_LINUX"] = True
26277
-    DEFINES["WEBRTC_POSIX"] = True
26278
-    DEFINES["_GNU_SOURCE"] = True
26279
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
26280
-    DEFINES["__STDC_FORMAT_MACROS"] = True
26281
-
26282
-    OS_LIBS += [
26283
-        "log"
26284
-    ]
26285
-
26286
-if CONFIG["OS_TARGET"] == "Darwin":
26287
-
26288
-    DEFINES["WEBRTC_MAC"] = True
26289
-    DEFINES["WEBRTC_POSIX"] = True
26290
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
26291
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
26292
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
26293
-    DEFINES["__STDC_FORMAT_MACROS"] = True
26294
-
26295
-if CONFIG["OS_TARGET"] == "Linux":
26296
-
26297
-    DEFINES["USE_AURA"] = "1"
26298
-    DEFINES["USE_GLIB"] = "1"
26299
-    DEFINES["USE_NSS_CERTS"] = "1"
26300
-    DEFINES["USE_OZONE"] = "1"
26301
-    DEFINES["USE_UDEV"] = True
26302
-    DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
26303
-    DEFINES["WEBRTC_LINUX"] = True
26304
-    DEFINES["WEBRTC_POSIX"] = True
26305
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
26306
-    DEFINES["_LARGEFILE64_SOURCE"] = True
26307
-    DEFINES["_LARGEFILE_SOURCE"] = True
26308
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
26309
-    DEFINES["__STDC_FORMAT_MACROS"] = True
26310
-
26311
-    OS_LIBS += [
26312
-        "rt"
26313
-    ]
26314
-
26315
-if CONFIG["OS_TARGET"] == "OpenBSD":
26316
-
26317
-    DEFINES["USE_GLIB"] = "1"
26318
-    DEFINES["USE_OZONE"] = "1"
26319
-    DEFINES["USE_X11"] = "1"
26320
-    DEFINES["WEBRTC_BSD"] = True
26321
-    DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
26322
-    DEFINES["WEBRTC_POSIX"] = True
26323
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
26324
-    DEFINES["_LARGEFILE64_SOURCE"] = True
26325
-    DEFINES["_LARGEFILE_SOURCE"] = True
26326
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
26327
-    DEFINES["__STDC_FORMAT_MACROS"] = True
26328
-
26329
-if CONFIG["OS_TARGET"] == "WINNT":
26330
-
26331
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
26332
-    DEFINES["NOMINMAX"] = True
26333
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
26334
-    DEFINES["PSAPI_VERSION"] = "2"
26335
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
26336
-    DEFINES["UNICODE"] = True
26337
-    DEFINES["USE_AURA"] = "1"
26338
-    DEFINES["WEBRTC_WIN"] = True
26339
-    DEFINES["WIN32"] = True
26340
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
26341
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
26342
-    DEFINES["WINVER"] = "0x0A00"
26343
-    DEFINES["_ATL_NO_OPENGL"] = True
26344
-    DEFINES["_CRT_RAND_S"] = True
26345
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
26346
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
26347
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
26348
-    DEFINES["_HAS_NODISCARD"] = True
26349
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
26350
-    DEFINES["_SECURE_ATL"] = True
26351
-    DEFINES["_UNICODE"] = True
26352
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
26353
-    DEFINES["_WINDOWS"] = True
26354
-    DEFINES["__STD_C"] = True
26355
-
26356
-    OS_LIBS += [
26357
-        "crypt32",
26358
-        "iphlpapi",
26359
-        "secur32",
26360
-        "winmm"
26361
-    ]
26179
+    DEFINES["_DEBUG"] = True
26362
+    DEFINES["_DEBUG"] = True
26180
 
26363
 
26181
 if CONFIG["TARGET_CPU"] == "aarch64":
26364
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 26274-26280 index 9aa475a12fc6..7488f3667ecd 100644 Link Here
26274
 
26457
 
26275
 Library("video_stream_api_gn")
26458
 Library("video_stream_api_gn")
26276
diff --git third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build
26459
diff --git third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build
26277
index fc1e13a8933c..505627b692c3 100644
26460
index 1b4cea6e47ec..84c4d1e1ca79 100644
26278
--- third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build
26461
--- third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build
26279
+++ third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build
26462
+++ third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build
26280
@@ -17,12 +17,22 @@ CXXFLAGS += [
26463
@@ -17,12 +17,22 @@ CXXFLAGS += [
Lines 26442-26448 index fc1e13a8933c..505627b692c3 100644 Link Here
26442
 
26625
 
26443
 Library("common_audio_avx2_gn")
26626
 Library("common_audio_avx2_gn")
26444
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
26627
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
26445
index 0827bbf31a41..7a873e6e680c 100644
26628
index f87719576dfa..3351f5581617 100644
26446
--- third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build
26629
--- third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build
26447
+++ third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build
26630
+++ third_party/libwebrtc/common_audio/common_audio_c_arm_asm_gn/moz.build
26448
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
26631
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 26634-26640 index 0827bbf31a41..7a873e6e680c 100644 Link Here
26634
-
26817
-
26635
 Library("common_audio_c_arm_asm_gn")
26818
 Library("common_audio_c_arm_asm_gn")
26636
diff --git third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build
26819
diff --git third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build
26637
index 99cceabf2989..709978b9f184 100644
26820
index 07660c8bb56b..df29659eeb4e 100644
26638
--- third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build
26821
--- third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build
26639
+++ third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build
26822
+++ third_party/libwebrtc/common_audio/common_audio_c_gn/moz.build
26640
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
26823
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 26944-26950 index 99cceabf2989..709978b9f184 100644 Link Here
26944
 
27127
 
26945
 Library("common_audio_c_gn")
27128
 Library("common_audio_c_gn")
26946
diff --git third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build
27129
diff --git third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build
26947
index 1ab56ac80918..42e92caa7571 100644
27130
index 63d72e183fb0..914aafb6fd0c 100644
26948
--- third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build
27131
--- third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build
26949
+++ third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build
27132
+++ third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build
26950
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
27133
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 27166-27172 index 1ab56ac80918..42e92caa7571 100644 Link Here
27166
 
27349
 
27167
 Library("common_audio_cc_gn")
27350
 Library("common_audio_cc_gn")
27168
diff --git third_party/libwebrtc/common_audio/common_audio_gn/moz.build third_party/libwebrtc/common_audio/common_audio_gn/moz.build
27351
diff --git third_party/libwebrtc/common_audio/common_audio_gn/moz.build third_party/libwebrtc/common_audio/common_audio_gn/moz.build
27169
index 79a78f783794..12a1a532fbed 100644
27352
index 6ee67860188c..e3335f95e262 100644
27170
--- third_party/libwebrtc/common_audio/common_audio_gn/moz.build
27353
--- third_party/libwebrtc/common_audio/common_audio_gn/moz.build
27171
+++ third_party/libwebrtc/common_audio/common_audio_gn/moz.build
27354
+++ third_party/libwebrtc/common_audio/common_audio_gn/moz.build
27172
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
27355
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 27388-27394 index 79a78f783794..12a1a532fbed 100644 Link Here
27388
 
27571
 
27389
 Library("common_audio_gn")
27572
 Library("common_audio_gn")
27390
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
27573
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
27391
index acd2e8bc36f7..417e933a842e 100644
27574
index b00937b48f1a..a44e4ef14c20 100644
27392
--- third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build
27575
--- third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build
27393
+++ third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build
27576
+++ third_party/libwebrtc/common_audio/common_audio_neon_c_gn/moz.build
27394
@@ -12,12 +12,23 @@ AllowCompilerWarnings()
27577
@@ -12,12 +12,23 @@ AllowCompilerWarnings()
Lines 27569-27575 index acd2e8bc36f7..417e933a842e 100644 Link Here
27569
-
27752
-
27570
 Library("common_audio_neon_c_gn")
27753
 Library("common_audio_neon_c_gn")
27571
diff --git third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build
27754
diff --git third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build
27572
index c415a7145299..25ddc9cd7e7a 100644
27755
index 3af7e03d43f4..e8d3a8489e99 100644
27573
--- third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build
27756
--- third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build
27574
+++ third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build
27757
+++ third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build
27575
@@ -12,12 +12,23 @@ AllowCompilerWarnings()
27758
@@ -12,12 +12,23 @@ AllowCompilerWarnings()
Lines 27750-27756 index c415a7145299..25ddc9cd7e7a 100644 Link Here
27750
-
27933
-
27751
 Library("common_audio_neon_gn")
27934
 Library("common_audio_neon_gn")
27752
diff --git third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build
27935
diff --git third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build
27753
index 435c33a394e5..146ddde10702 100644
27936
index 074abd829083..eec558688bef 100644
27754
--- third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build
27937
--- third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build
27755
+++ third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build
27938
+++ third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build
27756
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
27939
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
Lines 27941-27947 index 435c33a394e5..146ddde10702 100644 Link Here
27941
 
28124
 
27942
 Library("common_audio_sse2_gn")
28125
 Library("common_audio_sse2_gn")
27943
diff --git third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build
28126
diff --git third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build
27944
index 2faac2a93134..2bb083f83813 100644
28127
index 8e5b54e61d96..79b65cf27906 100644
27945
--- third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build
28128
--- third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build
27946
+++ third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build
28129
+++ third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build
27947
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
28130
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 28163-28169 index 2faac2a93134..2bb083f83813 100644 Link Here
28163
 
28346
 
28164
 Library("fir_filter_factory_gn")
28347
 Library("fir_filter_factory_gn")
28165
diff --git third_party/libwebrtc/common_audio/fir_filter_gn/moz.build third_party/libwebrtc/common_audio/fir_filter_gn/moz.build
28348
diff --git third_party/libwebrtc/common_audio/fir_filter_gn/moz.build third_party/libwebrtc/common_audio/fir_filter_gn/moz.build
28166
index af029033e761..47a1e94fccaa 100644
28349
index 067128609c1d..cdd143bb0930 100644
28167
--- third_party/libwebrtc/common_audio/fir_filter_gn/moz.build
28350
--- third_party/libwebrtc/common_audio/fir_filter_gn/moz.build
28168
+++ third_party/libwebrtc/common_audio/fir_filter_gn/moz.build
28351
+++ third_party/libwebrtc/common_audio/fir_filter_gn/moz.build
28169
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
28352
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 28350-28356 index af029033e761..47a1e94fccaa 100644 Link Here
28350
-
28533
-
28351
 Library("fir_filter_gn")
28534
 Library("fir_filter_gn")
28352
diff --git third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build
28535
diff --git third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build
28353
index 962dbed44bf8..a3de988aa645 100644
28536
index 8649a26e7f60..42f1f8e5b55b 100644
28354
--- third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build
28537
--- third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build
28355
+++ third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build
28538
+++ third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build
28356
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
28539
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 28552-28558 index 962dbed44bf8..a3de988aa645 100644 Link Here
28552
-
28735
-
28553
 Library("sinc_resampler_gn")
28736
 Library("sinc_resampler_gn")
28554
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
28737
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
28555
index 6245fdf7ef93..c9bc0ab140da 100644
28738
index daeab1ffae94..df178bf850cf 100644
28556
--- third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build
28739
--- third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build
28557
+++ third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build
28740
+++ third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build
28558
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
28741
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 28819-28825 index 6245fdf7ef93..c9bc0ab140da 100644 Link Here
28819
 
29002
 
28820
 Library("fft_size_128_gn")
29003
 Library("fft_size_128_gn")
28821
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
29004
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
28822
index 7c2503bc9ccd..9f95cef3ece3 100644
29005
index 157b77da7490..5d769a1bf8ce 100644
28823
--- third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build
29006
--- third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build
28824
+++ third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build
29007
+++ third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build
28825
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
29008
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 29026-29032 index 7c2503bc9ccd..9f95cef3ece3 100644 Link Here
29026
 
29209
 
29027
 Library("fft_size_256_gn")
29210
 Library("fft_size_256_gn")
29028
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
29211
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
29029
index ec09e725fff7..10e9f97d6da5 100644
29212
index 3acc048e7b55..7a1a664ccd76 100644
29030
--- third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build
29213
--- third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build
29031
+++ third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build
29214
+++ third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor_gn/moz.build
29032
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
29215
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 29294-29300 index ec09e725fff7..10e9f97d6da5 100644 Link Here
29294
 
29477
 
29295
 Library("spl_sqrt_floor_gn")
29478
 Library("spl_sqrt_floor_gn")
29296
diff --git third_party/libwebrtc/common_video/common_video_gn/moz.build third_party/libwebrtc/common_video/common_video_gn/moz.build
29479
diff --git third_party/libwebrtc/common_video/common_video_gn/moz.build third_party/libwebrtc/common_video/common_video_gn/moz.build
29297
index fb64d190c30d..9a932841e6b6 100644
29480
index e1d4464ae3bc..e671bcd86cbb 100644
29298
--- third_party/libwebrtc/common_video/common_video_gn/moz.build
29481
--- third_party/libwebrtc/common_video/common_video_gn/moz.build
29299
+++ third_party/libwebrtc/common_video/common_video_gn/moz.build
29482
+++ third_party/libwebrtc/common_video/common_video_gn/moz.build
29300
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
29483
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 29512-29518 index fb64d190c30d..9a932841e6b6 100644 Link Here
29512
 
29695
 
29513
 Library("common_video_gn")
29696
 Library("common_video_gn")
29514
diff --git third_party/libwebrtc/common_video/frame_counts_gn/moz.build third_party/libwebrtc/common_video/frame_counts_gn/moz.build
29697
diff --git third_party/libwebrtc/common_video/frame_counts_gn/moz.build third_party/libwebrtc/common_video/frame_counts_gn/moz.build
29515
index 08c88c4702cf..9db89bc82aab 100644
29698
index f840eae9028e..8fa780c107a2 100644
29516
--- third_party/libwebrtc/common_video/frame_counts_gn/moz.build
29699
--- third_party/libwebrtc/common_video/frame_counts_gn/moz.build
29517
+++ third_party/libwebrtc/common_video/frame_counts_gn/moz.build
29700
+++ third_party/libwebrtc/common_video/frame_counts_gn/moz.build
29518
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
29701
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 29699-29705 index 08c88c4702cf..9db89bc82aab 100644 Link Here
29699
-
29882
-
29700
 Library("frame_counts_gn")
29883
 Library("frame_counts_gn")
29701
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
29884
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
29702
index b16531fbf8e2..d38bf09f56cb 100644
29885
index a5877debe7a8..9ca4b22bfc80 100644
29703
--- third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build
29886
--- third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build
29704
+++ third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build
29887
+++ third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build
29705
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
29888
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 29910-29916 index b16531fbf8e2..d38bf09f56cb 100644 Link Here
29910
 
30093
 
29911
 Library("generic_frame_descriptor_gn")
30094
 Library("generic_frame_descriptor_gn")
29912
diff --git third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build
30095
diff --git third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build
29913
index 5e1ddc355d5b..eaa9a598140a 100644
30096
index 9392f8ab7ce1..2fe7c39ca455 100644
29914
--- third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build
30097
--- third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build
29915
+++ third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build
30098
+++ third_party/libwebrtc/experiments/registered_field_trials_gn/moz.build
29916
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
30099
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 30111-30117 index 6c29dea76a50..3ae54a950c46 100644 Link Here
30111
-
30294
-
30112
 Library("registered_field_trials_header_gn")
30295
 Library("registered_field_trials_header_gn")
30113
diff --git third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build
30296
diff --git third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build
30114
index bf124013de2a..458504cb1a8a 100644
30297
index 10e20ecba098..dfcd49a1aa57 100644
30115
--- third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build
30298
--- third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build
30116
+++ third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build
30299
+++ third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build
30117
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
30300
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 30329-30335 index bf124013de2a..458504cb1a8a 100644 Link Here
30329
 
30512
 
30330
 Library("rtc_event_audio_gn")
30513
 Library("rtc_event_audio_gn")
30331
diff --git third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build
30514
diff --git third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build
30332
index c7c2a5f88033..05a45c19eaba 100644
30515
index 8f8c1c86a14c..fd638a0aef5e 100644
30333
--- third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build
30516
--- third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build
30334
+++ third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build
30517
+++ third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build
30335
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
30518
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 30547-30553 index c7c2a5f88033..05a45c19eaba 100644 Link Here
30547
 
30730
 
30548
 Library("rtc_event_bwe_gn")
30731
 Library("rtc_event_bwe_gn")
30549
diff --git third_party/libwebrtc/logging/rtc_event_field_gn/moz.build third_party/libwebrtc/logging/rtc_event_field_gn/moz.build
30732
diff --git third_party/libwebrtc/logging/rtc_event_field_gn/moz.build third_party/libwebrtc/logging/rtc_event_field_gn/moz.build
30550
index 630358f34942..84d1261d676d 100644
30733
index db8a0c7723d9..ad874c3b3c02 100644
30551
--- third_party/libwebrtc/logging/rtc_event_field_gn/moz.build
30734
--- third_party/libwebrtc/logging/rtc_event_field_gn/moz.build
30552
+++ third_party/libwebrtc/logging/rtc_event_field_gn/moz.build
30735
+++ third_party/libwebrtc/logging/rtc_event_field_gn/moz.build
30553
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
30736
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 30765-30771 index 630358f34942..84d1261d676d 100644 Link Here
30765
 
30948
 
30766
 Library("rtc_event_field_gn")
30949
 Library("rtc_event_field_gn")
30767
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
30950
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
30768
index 46e013a0d4d4..35119b6eae57 100644
30951
index c5f090ad669f..ec19d27b98d3 100644
30769
--- third_party/libwebrtc/logging/rtc_event_log_parse_status_gn/moz.build
30952
--- third_party/libwebrtc/logging/rtc_event_log_parse_status_gn/moz.build
30770
+++ third_party/libwebrtc/logging/rtc_event_log_parse_status_gn/moz.build
30953
+++ third_party/libwebrtc/logging/rtc_event_log_parse_status_gn/moz.build
30771
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
30954
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 30956-30962 index 46e013a0d4d4..35119b6eae57 100644 Link Here
30956
-
31139
-
30957
 Library("rtc_event_log_parse_status_gn")
31140
 Library("rtc_event_log_parse_status_gn")
30958
diff --git third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build
31141
diff --git third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build
30959
index 4c491af3963c..aa2e0940ea0a 100644
31142
index ae770cf7c778..8d6d58d64f21 100644
30960
--- third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build
31143
--- third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build
30961
+++ third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build
31144
+++ third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build
30962
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
31145
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 31167-31173 index 4c491af3963c..aa2e0940ea0a 100644 Link Here
31167
 
31350
 
31168
 Library("rtc_event_number_encodings_gn")
31351
 Library("rtc_event_number_encodings_gn")
31169
diff --git third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build
31352
diff --git third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build
31170
index aec4465f8ac3..90a07fc5ca25 100644
31353
index 080549171c71..610ffce77e9d 100644
31171
--- third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build
31354
--- third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build
31172
+++ third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build
31355
+++ third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build
31173
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
31356
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 31385-31391 index aec4465f8ac3..90a07fc5ca25 100644 Link Here
31385
 
31568
 
31386
 Library("rtc_event_pacing_gn")
31569
 Library("rtc_event_pacing_gn")
31387
diff --git third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build
31570
diff --git third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build
31388
index 3edc922b8f08..828a59406490 100644
31571
index 953ae5151ce4..0d639a2aa189 100644
31389
--- third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build
31572
--- third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build
31390
+++ third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build
31573
+++ third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build
31391
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
31574
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 31607-31613 index 3edc922b8f08..828a59406490 100644 Link Here
31607
 
31790
 
31608
 Library("rtc_event_rtp_rtcp_gn")
31791
 Library("rtc_event_rtp_rtcp_gn")
31609
diff --git third_party/libwebrtc/logging/rtc_event_video_gn/moz.build third_party/libwebrtc/logging/rtc_event_video_gn/moz.build
31792
diff --git third_party/libwebrtc/logging/rtc_event_video_gn/moz.build third_party/libwebrtc/logging/rtc_event_video_gn/moz.build
31610
index 616e73dcf5ec..b0b40454f315 100644
31793
index 0c31614317c2..69e0987881f7 100644
31611
--- third_party/libwebrtc/logging/rtc_event_video_gn/moz.build
31794
--- third_party/libwebrtc/logging/rtc_event_video_gn/moz.build
31612
+++ third_party/libwebrtc/logging/rtc_event_video_gn/moz.build
31795
+++ third_party/libwebrtc/logging/rtc_event_video_gn/moz.build
31613
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
31796
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 31825-31831 index 616e73dcf5ec..b0b40454f315 100644 Link Here
31825
 
32008
 
31826
 Library("rtc_event_video_gn")
32009
 Library("rtc_event_video_gn")
31827
diff --git third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build
32010
diff --git third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build
31828
index 6fd95dde97d0..bf513371f32d 100644
32011
index dbe85beeb123..7275caccfcea 100644
31829
--- third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build
32012
--- third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build
31830
+++ third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build
32013
+++ third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build
31831
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
32014
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 32043-32049 index 6fd95dde97d0..bf513371f32d 100644 Link Here
32043
 
32226
 
32044
 Library("rtc_stream_config_gn")
32227
 Library("rtc_stream_config_gn")
32045
diff --git third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build
32228
diff --git third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build
32046
index 1cb4f853abba..bbf25c8397df 100644
32229
index 84ff9891679e..5b015ab1c46f 100644
32047
--- third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build
32230
--- third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build
32048
+++ third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build
32231
+++ third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build
32049
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
32232
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 32241-32247 index 1cb4f853abba..bbf25c8397df 100644 Link Here
32241
-
32424
-
32242
 Library("adapted_video_track_source_gn")
32425
 Library("adapted_video_track_source_gn")
32243
diff --git third_party/libwebrtc/media/codec_gn/moz.build third_party/libwebrtc/media/codec_gn/moz.build
32426
diff --git third_party/libwebrtc/media/codec_gn/moz.build third_party/libwebrtc/media/codec_gn/moz.build
32244
index cf10ada0cf66..a2e116825f9e 100644
32427
index 5e1a17cce765..0ba72b71d531 100644
32245
--- third_party/libwebrtc/media/codec_gn/moz.build
32428
--- third_party/libwebrtc/media/codec_gn/moz.build
32246
+++ third_party/libwebrtc/media/codec_gn/moz.build
32429
+++ third_party/libwebrtc/media/codec_gn/moz.build
32247
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
32430
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 32459-32465 index cf10ada0cf66..a2e116825f9e 100644 Link Here
32459
 
32642
 
32460
 Library("codec_gn")
32643
 Library("codec_gn")
32461
diff --git third_party/libwebrtc/media/media_channel_gn/moz.build third_party/libwebrtc/media/media_channel_gn/moz.build
32644
diff --git third_party/libwebrtc/media/media_channel_gn/moz.build third_party/libwebrtc/media/media_channel_gn/moz.build
32462
index fc0c50aa726b..65afa6523e40 100644
32645
index 9a8b4ded79f2..4ed55e34a9cc 100644
32463
--- third_party/libwebrtc/media/media_channel_gn/moz.build
32646
--- third_party/libwebrtc/media/media_channel_gn/moz.build
32464
+++ third_party/libwebrtc/media/media_channel_gn/moz.build
32647
+++ third_party/libwebrtc/media/media_channel_gn/moz.build
32465
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
32648
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 32662-32668 index fc0c50aa726b..65afa6523e40 100644 Link Here
32662
-
32845
-
32663
 Library("media_channel_gn")
32846
 Library("media_channel_gn")
32664
diff --git third_party/libwebrtc/media/media_channel_impl_gn/moz.build third_party/libwebrtc/media/media_channel_impl_gn/moz.build
32847
diff --git third_party/libwebrtc/media/media_channel_impl_gn/moz.build third_party/libwebrtc/media/media_channel_impl_gn/moz.build
32665
index b7db93813a60..02018a9118e9 100644
32848
index c42d7c65492f..c5ecc3fe88f5 100644
32666
--- third_party/libwebrtc/media/media_channel_impl_gn/moz.build
32849
--- third_party/libwebrtc/media/media_channel_impl_gn/moz.build
32667
+++ third_party/libwebrtc/media/media_channel_impl_gn/moz.build
32850
+++ third_party/libwebrtc/media/media_channel_impl_gn/moz.build
32668
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
32851
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 32849-32855 index b7db93813a60..02018a9118e9 100644 Link Here
32849
-
33032
-
32850
 Library("media_channel_impl_gn")
33033
 Library("media_channel_impl_gn")
32851
diff --git third_party/libwebrtc/media/media_constants_gn/moz.build third_party/libwebrtc/media/media_constants_gn/moz.build
33034
diff --git third_party/libwebrtc/media/media_constants_gn/moz.build third_party/libwebrtc/media/media_constants_gn/moz.build
32852
index fb7440ec4a07..8b99c9931019 100644
33035
index 9338f3c0f5d3..42b815c8f371 100644
32853
--- third_party/libwebrtc/media/media_constants_gn/moz.build
33036
--- third_party/libwebrtc/media/media_constants_gn/moz.build
32854
+++ third_party/libwebrtc/media/media_constants_gn/moz.build
33037
+++ third_party/libwebrtc/media/media_constants_gn/moz.build
32855
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
33038
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 33056-33062 index fb7440ec4a07..8b99c9931019 100644 Link Here
33056
 
33239
 
33057
 Library("media_constants_gn")
33240
 Library("media_constants_gn")
33058
diff --git third_party/libwebrtc/media/rid_description_gn/moz.build third_party/libwebrtc/media/rid_description_gn/moz.build
33241
diff --git third_party/libwebrtc/media/rid_description_gn/moz.build third_party/libwebrtc/media/rid_description_gn/moz.build
33059
index 22f56f08a780..b9d567d474ee 100644
33242
index c839981e68a2..07310ea56515 100644
33060
--- third_party/libwebrtc/media/rid_description_gn/moz.build
33243
--- third_party/libwebrtc/media/rid_description_gn/moz.build
33061
+++ third_party/libwebrtc/media/rid_description_gn/moz.build
33244
+++ third_party/libwebrtc/media/rid_description_gn/moz.build
33062
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
33245
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 33243-33249 index 22f56f08a780..b9d567d474ee 100644 Link Here
33243
-
33426
-
33244
 Library("rid_description_gn")
33427
 Library("rid_description_gn")
33245
diff --git third_party/libwebrtc/media/rtc_media_base_gn/moz.build third_party/libwebrtc/media/rtc_media_base_gn/moz.build
33428
diff --git third_party/libwebrtc/media/rtc_media_base_gn/moz.build third_party/libwebrtc/media/rtc_media_base_gn/moz.build
33246
index eb9cb4e29d04..d886ebdf06fa 100644
33429
index 58997370b876..d2aa6d298666 100644
33247
--- third_party/libwebrtc/media/rtc_media_base_gn/moz.build
33430
--- third_party/libwebrtc/media/rtc_media_base_gn/moz.build
33248
+++ third_party/libwebrtc/media/rtc_media_base_gn/moz.build
33431
+++ third_party/libwebrtc/media/rtc_media_base_gn/moz.build
33249
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
33432
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 33446-33452 index eb9cb4e29d04..d886ebdf06fa 100644 Link Here
33446
-
33629
-
33447
 Library("rtc_media_base_gn")
33630
 Library("rtc_media_base_gn")
33448
diff --git third_party/libwebrtc/media/rtc_media_config_gn/moz.build third_party/libwebrtc/media/rtc_media_config_gn/moz.build
33631
diff --git third_party/libwebrtc/media/rtc_media_config_gn/moz.build third_party/libwebrtc/media/rtc_media_config_gn/moz.build
33449
index 4b6ba11d7681..f8b511ad7260 100644
33632
index 2cfb8f933687..b6fc3bc4a277 100644
33450
--- third_party/libwebrtc/media/rtc_media_config_gn/moz.build
33633
--- third_party/libwebrtc/media/rtc_media_config_gn/moz.build
33451
+++ third_party/libwebrtc/media/rtc_media_config_gn/moz.build
33634
+++ third_party/libwebrtc/media/rtc_media_config_gn/moz.build
33452
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
33635
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 33633-33639 index 4b6ba11d7681..f8b511ad7260 100644 Link Here
33633
-
33816
-
33634
 Library("rtc_media_config_gn")
33817
 Library("rtc_media_config_gn")
33635
diff --git third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build
33818
diff --git third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build
33636
index 10b08d64fbe2..68edc3038e9b 100644
33819
index db2cc89a041f..c8c81bc3717c 100644
33637
--- third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build
33820
--- third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build
33638
+++ third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build
33821
+++ third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build
33639
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
33822
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 33851-33857 index 10b08d64fbe2..68edc3038e9b 100644 Link Here
33851
 
34034
 
33852
 Library("rtc_sdp_video_format_utils_gn")
34035
 Library("rtc_sdp_video_format_utils_gn")
33853
diff --git third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build
34036
diff --git third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build
33854
index 1929dd6e9399..285c3d71156e 100644
34037
index 4fe267a97b64..a3e9fb2c96da 100644
33855
--- third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build
34038
--- third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build
33856
+++ third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build
34039
+++ third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build
33857
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
34040
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 34074-34080 index 1929dd6e9399..285c3d71156e 100644 Link Here
34074
 
34257
 
34075
 Library("rtc_simulcast_encoder_adapter_gn")
34258
 Library("rtc_simulcast_encoder_adapter_gn")
34076
diff --git third_party/libwebrtc/media/rtp_utils_gn/moz.build third_party/libwebrtc/media/rtp_utils_gn/moz.build
34259
diff --git third_party/libwebrtc/media/rtp_utils_gn/moz.build third_party/libwebrtc/media/rtp_utils_gn/moz.build
34077
index 22b3cc9d6461..c7e26cb4b401 100644
34260
index 852af5860851..4f59eac0f2d3 100644
34078
--- third_party/libwebrtc/media/rtp_utils_gn/moz.build
34261
--- third_party/libwebrtc/media/rtp_utils_gn/moz.build
34079
+++ third_party/libwebrtc/media/rtp_utils_gn/moz.build
34262
+++ third_party/libwebrtc/media/rtp_utils_gn/moz.build
34080
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
34263
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 34261-34267 index 22b3cc9d6461..c7e26cb4b401 100644 Link Here
34261
-
34444
-
34262
 Library("rtp_utils_gn")
34445
 Library("rtp_utils_gn")
34263
diff --git third_party/libwebrtc/media/stream_params_gn/moz.build third_party/libwebrtc/media/stream_params_gn/moz.build
34446
diff --git third_party/libwebrtc/media/stream_params_gn/moz.build third_party/libwebrtc/media/stream_params_gn/moz.build
34264
index 67ed8e9a461d..7cd0a0f85eea 100644
34447
index 19a47f719a09..258453ae0a51 100644
34265
--- third_party/libwebrtc/media/stream_params_gn/moz.build
34448
--- third_party/libwebrtc/media/stream_params_gn/moz.build
34266
+++ third_party/libwebrtc/media/stream_params_gn/moz.build
34449
+++ third_party/libwebrtc/media/stream_params_gn/moz.build
34267
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
34450
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 34448-34454 index 67ed8e9a461d..7cd0a0f85eea 100644 Link Here
34448
-
34631
-
34449
 Library("stream_params_gn")
34632
 Library("stream_params_gn")
34450
diff --git third_party/libwebrtc/media/video_adapter_gn/moz.build third_party/libwebrtc/media/video_adapter_gn/moz.build
34633
diff --git third_party/libwebrtc/media/video_adapter_gn/moz.build third_party/libwebrtc/media/video_adapter_gn/moz.build
34451
index 1ce6badaf84c..87e2c14c5774 100644
34634
index c64baa9d03cc..aa452bca0c66 100644
34452
--- third_party/libwebrtc/media/video_adapter_gn/moz.build
34635
--- third_party/libwebrtc/media/video_adapter_gn/moz.build
34453
+++ third_party/libwebrtc/media/video_adapter_gn/moz.build
34636
+++ third_party/libwebrtc/media/video_adapter_gn/moz.build
34454
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
34637
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 34666-34672 index 1ce6badaf84c..87e2c14c5774 100644 Link Here
34666
 
34849
 
34667
 Library("video_adapter_gn")
34850
 Library("video_adapter_gn")
34668
diff --git third_party/libwebrtc/media/video_broadcaster_gn/moz.build third_party/libwebrtc/media/video_broadcaster_gn/moz.build
34851
diff --git third_party/libwebrtc/media/video_broadcaster_gn/moz.build third_party/libwebrtc/media/video_broadcaster_gn/moz.build
34669
index c1ebd4508d5a..851aace5f42c 100644
34852
index 680eace5143b..02012646651c 100644
34670
--- third_party/libwebrtc/media/video_broadcaster_gn/moz.build
34853
--- third_party/libwebrtc/media/video_broadcaster_gn/moz.build
34671
+++ third_party/libwebrtc/media/video_broadcaster_gn/moz.build
34854
+++ third_party/libwebrtc/media/video_broadcaster_gn/moz.build
34672
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
34855
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 34884-34890 index c1ebd4508d5a..851aace5f42c 100644 Link Here
34884
 
35067
 
34885
 Library("video_broadcaster_gn")
35068
 Library("video_broadcaster_gn")
34886
diff --git third_party/libwebrtc/media/video_common_gn/moz.build third_party/libwebrtc/media/video_common_gn/moz.build
35069
diff --git third_party/libwebrtc/media/video_common_gn/moz.build third_party/libwebrtc/media/video_common_gn/moz.build
34887
index b99fdbd29446..568207bcf3e4 100644
35070
index c25c1a0db303..f5610153289e 100644
34888
--- third_party/libwebrtc/media/video_common_gn/moz.build
35071
--- third_party/libwebrtc/media/video_common_gn/moz.build
34889
+++ third_party/libwebrtc/media/video_common_gn/moz.build
35072
+++ third_party/libwebrtc/media/video_common_gn/moz.build
34890
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
35073
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 35102-35108 index b99fdbd29446..568207bcf3e4 100644 Link Here
35102
 
35285
 
35103
 Library("video_common_gn")
35286
 Library("video_common_gn")
35104
diff --git third_party/libwebrtc/media/video_source_base_gn/moz.build third_party/libwebrtc/media/video_source_base_gn/moz.build
35287
diff --git third_party/libwebrtc/media/video_source_base_gn/moz.build third_party/libwebrtc/media/video_source_base_gn/moz.build
35105
index b74ce609e95f..48c6de6f6cd5 100644
35288
index cd9c32d0b0f0..92b6e63987e1 100644
35106
--- third_party/libwebrtc/media/video_source_base_gn/moz.build
35289
--- third_party/libwebrtc/media/video_source_base_gn/moz.build
35107
+++ third_party/libwebrtc/media/video_source_base_gn/moz.build
35290
+++ third_party/libwebrtc/media/video_source_base_gn/moz.build
35108
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
35291
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 35320-35326 index b74ce609e95f..48c6de6f6cd5 100644 Link Here
35320
 
35503
 
35321
 Library("video_source_base_gn")
35504
 Library("video_source_base_gn")
35322
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
35505
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
35323
index 495a5d8cac13..cbf73a5b937e 100644
35506
index fb495956fbeb..7c9e29ac867d 100644
35324
--- third_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build
35507
--- third_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build
35325
+++ third_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build
35508
+++ third_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build
35326
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
35509
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 35538-35544 index 495a5d8cac13..cbf73a5b937e 100644 Link Here
35538
 
35721
 
35539
 Library("async_audio_processing_gn")
35722
 Library("async_audio_processing_gn")
35540
diff --git third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build
35723
diff --git third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build
35541
index 995b2a2a3b31..867012af59fb 100644
35724
index ae900ef8f8c3..9f5341163215 100644
35542
--- third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build
35725
--- third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build
35543
+++ third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build
35726
+++ third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build
35544
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
35727
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 35760-35766 index 995b2a2a3b31..867012af59fb 100644 Link Here
35760
 
35943
 
35761
 Library("audio_coding_gn")
35944
 Library("audio_coding_gn")
35762
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
35945
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
35763
index 470578709e2f..94099348743b 100644
35946
index f907a7321765..8117aba2db95 100644
35764
--- third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build
35947
--- third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build
35765
+++ third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build
35948
+++ third_party/libwebrtc/modules/audio_coding/audio_coding_module_typedefs_gn/moz.build
35766
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
35949
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 35947-35953 index 470578709e2f..94099348743b 100644 Link Here
35947
-
36130
-
35948
 Library("audio_coding_module_typedefs_gn")
36131
 Library("audio_coding_module_typedefs_gn")
35949
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
36132
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
35950
index e484426fd2ab..197384a642be 100644
36133
index 0fba540a063d..553c271980fd 100644
35951
--- third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build
36134
--- third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build
35952
+++ third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build
36135
+++ third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build
35953
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
36136
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 36165-36171 index e484426fd2ab..197384a642be 100644 Link Here
36165
 
36348
 
36166
 Library("audio_coding_opus_common_gn")
36349
 Library("audio_coding_opus_common_gn")
36167
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
36350
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
36168
index 1e7e932b55da..016f8f1e2439 100644
36351
index 1626d8cd6f64..8c252434b483 100644
36169
--- third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build
36352
--- third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build
36170
+++ third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build
36353
+++ third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build
36171
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
36354
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 36387-36393 index 1e7e932b55da..016f8f1e2439 100644 Link Here
36387
 
36570
 
36388
 Library("audio_encoder_cng_gn")
36571
 Library("audio_encoder_cng_gn")
36389
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
36572
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
36390
index 92221fcca1a0..2fafe9504826 100644
36573
index cd665a5454ac..ae2f6016b493 100644
36391
--- third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build
36574
--- third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build
36392
+++ third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build
36575
+++ third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build
36393
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
36576
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 36594-36600 index 92221fcca1a0..2fafe9504826 100644 Link Here
36594
 
36777
 
36595
 Library("audio_network_adaptor_config_gn")
36778
 Library("audio_network_adaptor_config_gn")
36596
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
36779
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
36597
index cb6c943d7c37..7505b52d141f 100644
36780
index 735a5e0b91de..1e6a3e530957 100644
36598
--- third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build
36781
--- third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build
36599
+++ third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build
36782
+++ third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build
36600
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
36783
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 36816-36822 index cb6c943d7c37..7505b52d141f 100644 Link Here
36816
 
36999
 
36817
 Library("audio_network_adaptor_gn")
37000
 Library("audio_network_adaptor_gn")
36818
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
37001
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
36819
index a0d24b9a5d28..48d685b4f5f3 100644
37002
index 9169caa9404e..bc8dcdb385f5 100644
36820
--- third_party/libwebrtc/modules/audio_coding/default_neteq_factory_gn/moz.build
37003
--- third_party/libwebrtc/modules/audio_coding/default_neteq_factory_gn/moz.build
36821
+++ third_party/libwebrtc/modules/audio_coding/default_neteq_factory_gn/moz.build
37004
+++ third_party/libwebrtc/modules/audio_coding/default_neteq_factory_gn/moz.build
36822
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
37005
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 37038-37044 index a0d24b9a5d28..48d685b4f5f3 100644 Link Here
37038
 
37221
 
37039
 Library("default_neteq_factory_gn")
37222
 Library("default_neteq_factory_gn")
37040
diff --git third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build
37223
diff --git third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build
37041
index dcf3567d5c55..d969b721268a 100644
37224
index a207fdcb944c..462a299829d6 100644
37042
--- third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build
37225
--- third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build
37043
+++ third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build
37226
+++ third_party/libwebrtc/modules/audio_coding/g711_c_gn/moz.build
37044
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
37227
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 37245-37251 index dcf3567d5c55..d969b721268a 100644 Link Here
37245
 
37428
 
37246
 Library("g711_c_gn")
37429
 Library("g711_c_gn")
37247
diff --git third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build
37430
diff --git third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build
37248
index b6962f1786ab..c37ec8d1a4f3 100644
37431
index f58ae048413e..66d68a72b99e 100644
37249
--- third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build
37432
--- third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build
37250
+++ third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build
37433
+++ third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build
37251
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
37434
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 37463-37469 index b6962f1786ab..c37ec8d1a4f3 100644 Link Here
37463
 
37646
 
37464
 Library("g711_gn")
37647
 Library("g711_gn")
37465
diff --git third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build
37648
diff --git third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build
37466
index 99188c0a5833..502a17cd0e34 100644
37649
index aec0fb9b5e2d..6750be70458a 100644
37467
--- third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build
37650
--- third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build
37468
+++ third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build
37651
+++ third_party/libwebrtc/modules/audio_coding/g722_c_gn/moz.build
37469
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
37652
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 37670-37676 index 99188c0a5833..502a17cd0e34 100644 Link Here
37670
 
37853
 
37671
 Library("g722_c_gn")
37854
 Library("g722_c_gn")
37672
diff --git third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build
37855
diff --git third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build
37673
index 56ac627776c9..a936eb41a9a1 100644
37856
index 7e6c4fa154fd..d3e60d5fe33f 100644
37674
--- third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build
37857
--- third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build
37675
+++ third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build
37858
+++ third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build
37676
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
37859
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 37888-37894 index 56ac627776c9..a936eb41a9a1 100644 Link Here
37888
 
38071
 
37889
 Library("g722_gn")
38072
 Library("g722_gn")
37890
diff --git third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build
38073
diff --git third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build
37891
index 9c374405df33..6e2fd6beb0d5 100644
38074
index f49ac18199ce..e60bb823350b 100644
37892
--- third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build
38075
--- third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build
37893
+++ third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build
38076
+++ third_party/libwebrtc/modules/audio_coding/ilbc_c_gn/moz.build
37894
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
38077
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 38110-38116 index 9c374405df33..6e2fd6beb0d5 100644 Link Here
38110
 
38293
 
38111
 Library("ilbc_c_gn")
38294
 Library("ilbc_c_gn")
38112
diff --git third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build
38295
diff --git third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build
38113
index f3546882a1a3..7700d43a1597 100644
38296
index 269e69826899..6de0b38256a6 100644
38114
--- third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build
38297
--- third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build
38115
+++ third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build
38298
+++ third_party/libwebrtc/modules/audio_coding/ilbc_gn/moz.build
38116
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
38299
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 38332-38338 index f3546882a1a3..7700d43a1597 100644 Link Here
38332
 
38515
 
38333
 Library("ilbc_gn")
38516
 Library("ilbc_gn")
38334
diff --git third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build
38517
diff --git third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build
38335
index c0b5ae4a7a4c..214b9d2bed65 100644
38518
index de83c14d7e82..79521f4db7b0 100644
38336
--- third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build
38519
--- third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build
38337
+++ third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build
38520
+++ third_party/libwebrtc/modules/audio_coding/isac_bwinfo_gn/moz.build
38338
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
38521
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 38519-38525 index c0b5ae4a7a4c..214b9d2bed65 100644 Link Here
38519
-
38702
-
38520
 Library("isac_bwinfo_gn")
38703
 Library("isac_bwinfo_gn")
38521
diff --git third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build
38704
diff --git third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build
38522
index 15040244a118..72275c755c49 100644
38705
index 5fbc721158ac..b400fdf60066 100644
38523
--- third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build
38706
--- third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build
38524
+++ third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build
38707
+++ third_party/libwebrtc/modules/audio_coding/isac_vad_gn/moz.build
38525
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
38708
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 38726-38732 index 15040244a118..72275c755c49 100644 Link Here
38726
 
38909
 
38727
 Library("isac_vad_gn")
38910
 Library("isac_vad_gn")
38728
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
38911
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
38729
index c03333a31981..ddbb058ccb47 100644
38912
index e4f0ed753ecd..8bd6903a7d66 100644
38730
--- third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build
38913
--- third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build
38731
+++ third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build
38914
+++ third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build
38732
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
38915
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 38944-38950 index c03333a31981..ddbb058ccb47 100644 Link Here
38944
 
39127
 
38945
 Library("legacy_encoded_audio_frame_gn")
39128
 Library("legacy_encoded_audio_frame_gn")
38946
diff --git third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build
39129
diff --git third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build
38947
index a017d70518e7..63842535376f 100644
39130
index f656ea7d2dcc..dc63b0ffa84a 100644
38948
--- third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build
39131
--- third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build
38949
+++ third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build
39132
+++ third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build
38950
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
39133
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 39166-39172 index a017d70518e7..63842535376f 100644 Link Here
39166
 
39349
 
39167
 Library("neteq_gn")
39350
 Library("neteq_gn")
39168
diff --git third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build
39351
diff --git third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build
39169
index 1e7a8e8f6560..3763b892f8c5 100644
39352
index 790032c65ac6..7806fd65a153 100644
39170
--- third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build
39353
--- third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build
39171
+++ third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build
39354
+++ third_party/libwebrtc/modules/audio_coding/pcm16b_c_gn/moz.build
39172
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
39355
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 39373-39379 index 1e7a8e8f6560..3763b892f8c5 100644 Link Here
39373
 
39556
 
39374
 Library("pcm16b_c_gn")
39557
 Library("pcm16b_c_gn")
39375
diff --git third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build
39558
diff --git third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build
39376
index 2a2a2542335b..f79075092c57 100644
39559
index 0bdd6ed6ba90..8d125a0cabdf 100644
39377
--- third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build
39560
--- third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build
39378
+++ third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build
39561
+++ third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build
39379
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
39562
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 39591-39597 index 2a2a2542335b..f79075092c57 100644 Link Here
39591
 
39774
 
39592
 Library("pcm16b_gn")
39775
 Library("pcm16b_gn")
39593
diff --git third_party/libwebrtc/modules/audio_coding/red_gn/moz.build third_party/libwebrtc/modules/audio_coding/red_gn/moz.build
39776
diff --git third_party/libwebrtc/modules/audio_coding/red_gn/moz.build third_party/libwebrtc/modules/audio_coding/red_gn/moz.build
39594
index 02ef2ce08e9c..9e46d6913b16 100644
39777
index d20eee83656c..714817b11aee 100644
39595
--- third_party/libwebrtc/modules/audio_coding/red_gn/moz.build
39778
--- third_party/libwebrtc/modules/audio_coding/red_gn/moz.build
39596
+++ third_party/libwebrtc/modules/audio_coding/red_gn/moz.build
39779
+++ third_party/libwebrtc/modules/audio_coding/red_gn/moz.build
39597
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
39780
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 39813-39819 index 02ef2ce08e9c..9e46d6913b16 100644 Link Here
39813
 
39996
 
39814
 Library("red_gn")
39997
 Library("red_gn")
39815
diff --git third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build
39998
diff --git third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build
39816
index 02f3bf49e1c1..2302a1064808 100644
39999
index 0e2616b2a0a1..4ceb89920847 100644
39817
--- third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build
40000
--- third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build
39818
+++ third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build
40001
+++ third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build
39819
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
40002
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 40035-40041 index 02f3bf49e1c1..2302a1064808 100644 Link Here
40035
 
40218
 
40036
 Library("webrtc_cng_gn")
40219
 Library("webrtc_cng_gn")
40037
diff --git third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build
40220
diff --git third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build
40038
index 9665cd22c68e..010763da2910 100644
40221
index 34a982b76282..ddb346e675c4 100644
40039
--- third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build
40222
--- third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build
40040
+++ third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build
40223
+++ third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build
40041
@@ -12,14 +12,24 @@ AllowCompilerWarnings()
40224
@@ -12,14 +12,24 @@ AllowCompilerWarnings()
Lines 40256-40262 index 9665cd22c68e..010763da2910 100644 Link Here
40256
 
40439
 
40257
 Library("webrtc_multiopus_gn")
40440
 Library("webrtc_multiopus_gn")
40258
diff --git third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build
40441
diff --git third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build
40259
index 2d219b5cc091..9409b7e3fdee 100644
40442
index 33f8d93af1be..a20d37b1ba53 100644
40260
--- third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build
40443
--- third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build
40261
+++ third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build
40444
+++ third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build
40262
@@ -12,14 +12,24 @@ AllowCompilerWarnings()
40445
@@ -12,14 +12,24 @@ AllowCompilerWarnings()
Lines 40481-40487 index 2d219b5cc091..9409b7e3fdee 100644 Link Here
40481
 
40664
 
40482
 Library("webrtc_opus_gn")
40665
 Library("webrtc_opus_gn")
40483
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
40666
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
40484
index 4c1faef88198..b2e255ce3d6e 100644
40667
index 45ce2083a15b..91550740ea5f 100644
40485
--- third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build
40668
--- third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build
40486
+++ third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build
40669
+++ third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build
40487
@@ -12,14 +12,24 @@ AllowCompilerWarnings()
40670
@@ -12,14 +12,24 @@ AllowCompilerWarnings()
Lines 40509-40515 index 4c1faef88198..b2e255ce3d6e 100644 Link Here
40509
 
40692
 
40510
 FINAL_LIBRARY = "xul"
40693
 FINAL_LIBRARY = "xul"
40511
 
40694
 
40512
@@ -47,185 +57,32 @@ if not CONFIG["MOZ_DEBUG"]:
40695
@@ -47,178 +57,32 @@ if not CONFIG["MOZ_DEBUG"]:
40513
 if CONFIG["MOZ_DEBUG"] == "1":
40696
 if CONFIG["MOZ_DEBUG"] == "1":
40514
 
40697
 
40515
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
40698
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 40597-40609 index 4c1faef88198..b2e255ce3d6e 100644 Link Here
40597
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
40780
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
40598
-    DEFINES["_WINDOWS"] = True
40781
-    DEFINES["_WINDOWS"] = True
40599
-    DEFINES["__STD_C"] = True
40782
-    DEFINES["__STD_C"] = True
40600
-
40601
-    OS_LIBS += [
40602
-        "crypt32",
40603
-        "iphlpapi",
40604
-        "secur32",
40605
-        "winmm"
40606
-    ]
40607
+    DEFINES["_DEBUG"] = True
40783
+    DEFINES["_DEBUG"] = True
40608
 
40784
 
40609
 if CONFIG["TARGET_CPU"] == "aarch64":
40785
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 40702-40708 index 4c1faef88198..b2e255ce3d6e 100644 Link Here
40702
 
40878
 
40703
 Library("webrtc_opus_wrapper_gn")
40879
 Library("webrtc_opus_wrapper_gn")
40704
diff --git third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build
40880
diff --git third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build
40705
index acd3896de105..f0da29e5d200 100644
40881
index 6c2c91b00478..9f6439e12a20 100644
40706
--- third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build
40882
--- third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build
40707
+++ third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build
40883
+++ third_party/libwebrtc/modules/audio_device/audio_device_gn/moz.build
40708
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
40884
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 40889-40895 index acd3896de105..f0da29e5d200 100644 Link Here
40889
-
41065
-
40890
 Library("audio_device_gn")
41066
 Library("audio_device_gn")
40891
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
41067
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
40892
index 24bd59bd5356..67fb1a20b25e 100644
41068
index f26b5858d6a0..fdba74a45225 100644
40893
--- third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build
41069
--- third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build
40894
+++ third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build
41070
+++ third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build
40895
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
41071
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 41111-41117 index 24bd59bd5356..67fb1a20b25e 100644 Link Here
41111
 
41287
 
41112
 Library("audio_frame_manipulator_gn")
41288
 Library("audio_frame_manipulator_gn")
41113
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
41289
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
41114
index c32088c064a8..7bf6880e3e0f 100644
41290
index b998e5cf3e3b..59099dd15033 100644
41115
--- third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build
41291
--- third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build
41116
+++ third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build
41292
+++ third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build
41117
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
41293
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
Lines 41334-41340 index c32088c064a8..7bf6880e3e0f 100644 Link Here
41334
 
41510
 
41335
 Library("audio_mixer_impl_gn")
41511
 Library("audio_mixer_impl_gn")
41336
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
41512
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
41337
index f994d264fc0d..0c5c8a020d6e 100644
41513
index 3643adf3d9cd..7c2636f7557e 100644
41338
--- third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build
41514
--- third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build
41339
+++ third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build
41515
+++ third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_erl_gn/moz.build
41340
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
41516
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 41525-41531 index f994d264fc0d..0c5c8a020d6e 100644 Link Here
41525
-
41701
-
41526
 Library("adaptive_fir_filter_erl_gn")
41702
 Library("adaptive_fir_filter_erl_gn")
41527
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
41703
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
41528
index bfab3391fd95..91c95c95d416 100644
41704
index cac619740bc3..515d332ff43c 100644
41529
--- third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build
41705
--- third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build
41530
+++ third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build
41706
+++ third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build
41531
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
41707
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 41727-41733 index bfab3391fd95..91c95c95d416 100644 Link Here
41727
-
41903
-
41728
 Library("adaptive_fir_filter_gn")
41904
 Library("adaptive_fir_filter_gn")
41729
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
41905
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
41730
index b8c459326a74..3b08188a5f58 100644
41906
index d66a64d70a82..39583fda02e7 100644
41731
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build
41907
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build
41732
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build
41908
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build
41733
@@ -17,13 +17,23 @@ CXXFLAGS += [
41909
@@ -17,13 +17,23 @@ CXXFLAGS += [
Lines 41896-41902 index b8c459326a74..3b08188a5f58 100644 Link Here
41896
 
42072
 
41897
 Library("aec3_avx2_gn")
42073
 Library("aec3_avx2_gn")
41898
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
42074
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
41899
index 8c8af7ad0246..a706c74c28dd 100644
42075
index c5ec3c1cd9b6..0f5ce6b89859 100644
41900
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build
42076
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build
41901
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build
42077
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_common_gn/moz.build
41902
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
42078
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 42083-42089 index 8c8af7ad0246..a706c74c28dd 100644 Link Here
42083
-
42259
-
42084
 Library("aec3_common_gn")
42260
 Library("aec3_common_gn")
42085
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
42261
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
42086
index f29e37596167..a2b558b015d0 100644
42262
index a92b7893981e..a2fb0ebe9dd6 100644
42087
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build
42263
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build
42088
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build
42264
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build
42089
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
42265
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 42285-42291 index f29e37596167..a2b558b015d0 100644 Link Here
42285
-
42461
-
42286
 Library("aec3_fft_gn")
42462
 Library("aec3_fft_gn")
42287
diff --git third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build
42463
diff --git third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build
42288
index b984c66872a1..d3a048865141 100644
42464
index 76eb9b374afd..b163dd25704f 100644
42289
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build
42465
--- third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build
42290
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build
42466
+++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build
42291
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
42467
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
Lines 42508-42514 index b984c66872a1..d3a048865141 100644 Link Here
42508
 
42684
 
42509
 Library("aec3_gn")
42685
 Library("aec3_gn")
42510
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
42686
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
42511
index 636d54205ecc..f3c9e69d0679 100644
42687
index bf6f884d4657..a382baf22973 100644
42512
--- third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build
42688
--- third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build
42513
+++ third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build
42689
+++ third_party/libwebrtc/modules/audio_processing/aec3/fft_data_gn/moz.build
42514
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
42690
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 42699-42705 index 636d54205ecc..f3c9e69d0679 100644 Link Here
42699
-
42875
-
42700
 Library("fft_data_gn")
42876
 Library("fft_data_gn")
42701
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
42877
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
42702
index 0399096915b4..d38d62bb9ca0 100644
42878
index 3e0c262d8943..a8f024d8b966 100644
42703
--- third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build
42879
--- third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build
42704
+++ third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build
42880
+++ third_party/libwebrtc/modules/audio_processing/aec3/matched_filter_gn/moz.build
42705
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
42881
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 42890-42896 index 0399096915b4..d38d62bb9ca0 100644 Link Here
42890
-
43066
-
42891
 Library("matched_filter_gn")
43067
 Library("matched_filter_gn")
42892
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
43068
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
42893
index 52ec8e5f7dfc..de62aae422cb 100644
43069
index 5cbc1135eb3f..6e7a8c273a3a 100644
42894
--- third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build
43070
--- third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build
42895
+++ third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build
43071
+++ third_party/libwebrtc/modules/audio_processing/aec3/render_buffer_gn/moz.build
42896
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
43072
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 43081-43087 index 52ec8e5f7dfc..de62aae422cb 100644 Link Here
43081
-
43257
-
43082
 Library("render_buffer_gn")
43258
 Library("render_buffer_gn")
43083
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
43259
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
43084
index 712a4c357172..5c642468adb2 100644
43260
index c12496c562d4..871969c6d25b 100644
43085
--- third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build
43261
--- third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build
43086
+++ third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build
43262
+++ third_party/libwebrtc/modules/audio_processing/aec3/vector_math_gn/moz.build
43087
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
43263
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 43272-43278 index 712a4c357172..5c642468adb2 100644 Link Here
43272
-
43448
-
43273
 Library("vector_math_gn")
43449
 Library("vector_math_gn")
43274
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
43450
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
43275
index 198f71db4371..3a94c3362f81 100644
43451
index 454823f408ba..2655562bb5cf 100644
43276
--- third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build
43452
--- third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build
43277
+++ third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build
43453
+++ third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build
43278
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
43454
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 43470-43476 index 198f71db4371..3a94c3362f81 100644 Link Here
43470
-
43646
-
43471
 Library("aec_dump_gn")
43647
 Library("aec_dump_gn")
43472
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
43648
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
43473
index ad723168abdc..97e0d9709187 100644
43649
index 79c47a87bc96..573146ff0679 100644
43474
--- third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build
43650
--- third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build
43475
+++ third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build
43651
+++ third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build
43476
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
43652
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 43688-43694 index ad723168abdc..97e0d9709187 100644 Link Here
43688
 
43864
 
43689
 Library("null_aec_dump_factory_gn")
43865
 Library("null_aec_dump_factory_gn")
43690
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
43866
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
43691
index ef89571beeca..8ae46e8c3f1e 100644
43867
index ba900c1f0128..9149108c4595 100644
43692
--- third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build
43868
--- third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build
43693
+++ third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build
43869
+++ third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build
43694
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
43870
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 43906-43912 index ef89571beeca..8ae46e8c3f1e 100644 Link Here
43906
 
44082
 
43907
 Library("aec_dump_interface_gn")
44083
 Library("aec_dump_interface_gn")
43908
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
44084
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
43909
index fc1a743ada41..575c93715eed 100644
44085
index 576db07795fa..755e9b03e8de 100644
43910
--- third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build
44086
--- third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build
43911
+++ third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build
44087
+++ third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build
43912
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
44088
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 44190-44196 index fc1a743ada41..575c93715eed 100644 Link Here
44190
+
44366
+
44191
 Library("aecm_core_gn")
44367
 Library("aecm_core_gn")
44192
diff --git third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build
44368
diff --git third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build
44193
index c365d8251091..69cf5b32c800 100644
44369
index e7becea28955..4c78e5c2960d 100644
44194
--- third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build
44370
--- third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build
44195
+++ third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build
44371
+++ third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build
44196
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
44372
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
Lines 44413-44419 index c365d8251091..69cf5b32c800 100644 Link Here
44413
 
44589
 
44414
 Library("agc_gn")
44590
 Library("agc_gn")
44415
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
44591
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
44416
index 7f018adae5f0..c9930a29880f 100644
44592
index 53e1886cef10..f06860c00a16 100644
44417
--- third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build
44593
--- third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build
44418
+++ third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build
44594
+++ third_party/libwebrtc/modules/audio_processing/agc/gain_control_interface_gn/moz.build
44419
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
44595
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 44600-44606 index 7f018adae5f0..c9930a29880f 100644 Link Here
44600
-
44776
-
44601
 Library("gain_control_interface_gn")
44777
 Library("gain_control_interface_gn")
44602
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
44778
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
44603
index d129ca31f30f..9e5843ca9d55 100644
44779
index 887cc343cc7d..2793d66766bd 100644
44604
--- third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build
44780
--- third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build
44605
+++ third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build
44781
+++ third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build
44606
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
44782
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 44822-44828 index d129ca31f30f..9e5843ca9d55 100644 Link Here
44822
 
44998
 
44823
 Library("legacy_agc_gn")
44999
 Library("legacy_agc_gn")
44824
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
45000
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
44825
index 1b5ce0bb9058..94838195a243 100644
45001
index 068bd7f772b6..046c4070fa47 100644
44826
--- third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build
45002
--- third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build
44827
+++ third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build
45003
+++ third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build
44828
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
45004
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 45044-45050 index 1b5ce0bb9058..94838195a243 100644 Link Here
45044
 
45220
 
45045
 Library("level_estimation_gn")
45221
 Library("level_estimation_gn")
45046
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
45222
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
45047
index 301502022710..9d3e621ef2c1 100644
45223
index a9128bc171d6..eb460b00414d 100644
45048
--- third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build
45224
--- third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build
45049
+++ third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build
45225
+++ third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build
45050
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
45226
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
Lines 45267-45273 index 301502022710..9d3e621ef2c1 100644 Link Here
45267
 
45443
 
45268
 Library("adaptive_digital_gain_controller_gn")
45444
 Library("adaptive_digital_gain_controller_gn")
45269
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
45445
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
45270
index fe132f5f694c..35f0c449d032 100644
45446
index b414bac082d8..bd88eec7a07a 100644
45271
--- third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build
45447
--- third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build
45272
+++ third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build
45448
+++ third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build
45273
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
45449
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 45478-45484 index fe132f5f694c..35f0c449d032 100644 Link Here
45478
 
45654
 
45479
 Library("biquad_filter_gn")
45655
 Library("biquad_filter_gn")
45480
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
45656
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
45481
index ae1541ded6d8..9e7828c0e215 100644
45657
index 14b87b5cac6f..4d20e6b03b8e 100644
45482
--- third_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build
45658
--- third_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build
45483
+++ third_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build
45659
+++ third_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build
45484
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
45660
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 45700-45706 index ae1541ded6d8..9e7828c0e215 100644 Link Here
45700
 
45876
 
45701
 Library("clipping_predictor_gn")
45877
 Library("clipping_predictor_gn")
45702
diff --git third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build
45878
diff --git third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build
45703
index 64f1d62c2def..057a01c35050 100644
45879
index 79ab80ab68a8..05ae05298254 100644
45704
--- third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build
45880
--- third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build
45705
+++ third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build
45881
+++ third_party/libwebrtc/modules/audio_processing/agc2/common_gn/moz.build
45706
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
45882
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 45887-45893 index 64f1d62c2def..057a01c35050 100644 Link Here
45887
-
46063
-
45888
 Library("common_gn")
46064
 Library("common_gn")
45889
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
46065
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
45890
index bc5907abea35..4ddef798f043 100644
46066
index 15a4901cc9ea..39f104ad9b69 100644
45891
--- third_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build
46067
--- third_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build
45892
+++ third_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build
46068
+++ third_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build
45893
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
46069
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 46109-46115 index bc5907abea35..4ddef798f043 100644 Link Here
46109
 
46285
 
46110
 Library("cpu_features_gn")
46286
 Library("cpu_features_gn")
46111
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
46287
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
46112
index ed716566a46d..b746c1697b38 100644
46288
index dd306f3bb513..1fae78ba14c1 100644
46113
--- third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build
46289
--- third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build
46114
+++ third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build
46290
+++ third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build
46115
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
46291
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
Lines 46332-46338 index ed716566a46d..b746c1697b38 100644 Link Here
46332
 
46508
 
46333
 Library("fixed_digital_gn")
46509
 Library("fixed_digital_gn")
46334
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
46510
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
46335
index 41cc41800770..d80bca19c048 100644
46511
index 9f49e828dd7b..8f2b17adb293 100644
46336
--- third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build
46512
--- third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build
46337
+++ third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build
46513
+++ third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build
46338
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
46514
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 46550-46556 index 41cc41800770..d80bca19c048 100644 Link Here
46550
 
46726
 
46551
 Library("gain_applier_gn")
46727
 Library("gain_applier_gn")
46552
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
46728
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
46553
index 9736df45221e..1b5b649273c9 100644
46729
index fb4b57fed2bc..ba83eeafabc1 100644
46554
--- third_party/libwebrtc/modules/audio_processing/agc2/gain_map_gn/moz.build
46730
--- third_party/libwebrtc/modules/audio_processing/agc2/gain_map_gn/moz.build
46555
+++ third_party/libwebrtc/modules/audio_processing/agc2/gain_map_gn/moz.build
46731
+++ third_party/libwebrtc/modules/audio_processing/agc2/gain_map_gn/moz.build
46556
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
46732
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 46737-46743 index 9736df45221e..1b5b649273c9 100644 Link Here
46737
-
46913
-
46738
 Library("gain_map_gn")
46914
 Library("gain_map_gn")
46739
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
46915
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
46740
index cd4bf219463d..b3d639b758c3 100644
46916
index 1d885a88ee30..093b875ff189 100644
46741
--- third_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build
46917
--- third_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build
46742
+++ third_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build
46918
+++ third_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build
46743
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
46919
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
Lines 46960-46966 index cd4bf219463d..b3d639b758c3 100644 Link Here
46960
 
47136
 
46961
 Library("input_volume_controller_gn")
47137
 Library("input_volume_controller_gn")
46962
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
47138
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
46963
index 59a271492490..d57ecd1e8c07 100644
47139
index 5825d2c670b1..eb6e7f8d51b5 100644
46964
--- third_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build
47140
--- third_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build
46965
+++ third_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build
47141
+++ third_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build
46966
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
47142
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 47178-47184 index 59a271492490..d57ecd1e8c07 100644 Link Here
47178
 
47354
 
47179
 Library("input_volume_stats_reporter_gn")
47355
 Library("input_volume_stats_reporter_gn")
47180
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
47356
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
47181
index bce906f682e9..4fb8352cdf6d 100644
47357
index c18a6769d7b3..a925b2e75863 100644
47182
--- third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build
47358
--- third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build
47183
+++ third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build
47359
+++ third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build
47184
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
47360
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
Lines 47401-47407 index bce906f682e9..4fb8352cdf6d 100644 Link Here
47401
 
47577
 
47402
 Library("noise_level_estimator_gn")
47578
 Library("noise_level_estimator_gn")
47403
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
47579
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
47404
index 06d77c98fdb8..eacf88cb2c77 100644
47580
index 81389ceafa17..9087c6fb5602 100644
47405
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build
47581
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build
47406
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build
47582
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build
47407
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
47583
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 47623-47629 index 06d77c98fdb8..eacf88cb2c77 100644 Link Here
47623
 
47799
 
47624
 Library("rnn_vad_auto_correlation_gn")
47800
 Library("rnn_vad_auto_correlation_gn")
47625
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
47801
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
47626
index 9c27c5284f73..4a2e5ece584d 100644
47802
index 97a069e402f5..4d9a5646f72a 100644
47627
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_common_gn/moz.build
47803
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_common_gn/moz.build
47628
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_common_gn/moz.build
47804
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_common_gn/moz.build
47629
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
47805
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 47825-47831 index 9c27c5284f73..4a2e5ece584d 100644 Link Here
47825
-
48001
-
47826
 Library("rnn_vad_common_gn")
48002
 Library("rnn_vad_common_gn")
47827
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
48003
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
47828
index c06de8a64d6b..5a79d30a9da3 100644
48004
index 671e7abff297..9a40aa458651 100644
47829
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build
48005
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build
47830
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build
48006
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build
47831
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
48007
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 48047-48053 index c06de8a64d6b..5a79d30a9da3 100644 Link Here
48047
 
48223
 
48048
 Library("rnn_vad_gn")
48224
 Library("rnn_vad_gn")
48049
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
48225
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
48050
index 68a10c5f8ca5..c905cd958ae1 100644
48226
index 271469362fbd..88197b192f27 100644
48051
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build
48227
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build
48052
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build
48228
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build
48053
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
48229
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 48269-48275 index 68a10c5f8ca5..c905cd958ae1 100644 Link Here
48269
 
48445
 
48270
 Library("rnn_vad_layers_gn")
48446
 Library("rnn_vad_layers_gn")
48271
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
48447
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
48272
index 8d629f368af1..79d839518c86 100644
48448
index ca0bed615c59..ad8dee8dce4b 100644
48273
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_lp_residual_gn/moz.build
48449
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_lp_residual_gn/moz.build
48274
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_lp_residual_gn/moz.build
48450
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_lp_residual_gn/moz.build
48275
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
48451
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 48480-48486 index 8d629f368af1..79d839518c86 100644 Link Here
48480
 
48656
 
48481
 Library("rnn_vad_lp_residual_gn")
48657
 Library("rnn_vad_lp_residual_gn")
48482
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
48658
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
48483
index 89a8148e73b2..989a69261a88 100644
48659
index 5820353de9d1..94fa15002d81 100644
48484
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build
48660
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build
48485
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build
48661
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build
48486
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
48662
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 48702-48708 index 89a8148e73b2..989a69261a88 100644 Link Here
48702
 
48878
 
48703
 Library("rnn_vad_pitch_gn")
48879
 Library("rnn_vad_pitch_gn")
48704
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
48880
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
48705
index a650860e3ed1..d64690a99e7e 100644
48881
index 27fdd04949df..84916e6e5230 100644
48706
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_ring_buffer_gn/moz.build
48882
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_ring_buffer_gn/moz.build
48707
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_ring_buffer_gn/moz.build
48883
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_ring_buffer_gn/moz.build
48708
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
48884
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 48893-48899 index a650860e3ed1..d64690a99e7e 100644 Link Here
48893
-
49069
-
48894
 Library("rnn_vad_ring_buffer_gn")
49070
 Library("rnn_vad_ring_buffer_gn")
48895
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
49071
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
48896
index 33988b17e143..790be6232bb6 100644
49072
index e42a389e6a3f..9cf2e39ee87a 100644
48897
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_sequence_buffer_gn/moz.build
49073
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_sequence_buffer_gn/moz.build
48898
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_sequence_buffer_gn/moz.build
49074
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_sequence_buffer_gn/moz.build
48899
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
49075
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 49084-49090 index 33988b17e143..790be6232bb6 100644 Link Here
49084
-
49260
-
49085
 Library("rnn_vad_sequence_buffer_gn")
49261
 Library("rnn_vad_sequence_buffer_gn")
49086
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
49262
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
49087
index 1e27faa5870d..a3b90470369b 100644
49263
index 0ff9b98abd77..78bc65830c8f 100644
49088
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build
49264
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build
49089
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build
49265
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build
49090
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
49266
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 49306-49312 index 1e27faa5870d..a3b90470369b 100644 Link Here
49306
 
49482
 
49307
 Library("rnn_vad_spectral_features_gn")
49483
 Library("rnn_vad_spectral_features_gn")
49308
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
49484
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
49309
index 6ffad4636659..ecf6e2b21491 100644
49485
index 9f5bb53ec07a..bb81f6000f01 100644
49310
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_symmetric_matrix_buffer_gn/moz.build
49486
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_symmetric_matrix_buffer_gn/moz.build
49311
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_symmetric_matrix_buffer_gn/moz.build
49487
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_symmetric_matrix_buffer_gn/moz.build
49312
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
49488
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 49497-49503 index 6ffad4636659..ecf6e2b21491 100644 Link Here
49497
-
49673
-
49498
 Library("rnn_vad_symmetric_matrix_buffer_gn")
49674
 Library("rnn_vad_symmetric_matrix_buffer_gn")
49499
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
49675
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
49500
index 38fbb48de3fe..3c36b3d1087c 100644
49676
index 6495a53a3b70..50772fa28280 100644
49501
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build
49677
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build
49502
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build
49678
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build
49503
@@ -17,12 +17,22 @@ CXXFLAGS += [
49679
@@ -17,12 +17,22 @@ CXXFLAGS += [
Lines 49665-49671 index 38fbb48de3fe..3c36b3d1087c 100644 Link Here
49665
 
49841
 
49666
 Library("vector_math_avx2_gn")
49842
 Library("vector_math_avx2_gn")
49667
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
49843
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
49668
index d3bb22b9a525..5c642468adb2 100644
49844
index 79d73bb0e3fa..871969c6d25b 100644
49669
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_gn/moz.build
49845
--- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_gn/moz.build
49670
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_gn/moz.build
49846
+++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_gn/moz.build
49671
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
49847
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 49867-49873 index d3bb22b9a525..5c642468adb2 100644 Link Here
49867
-
50043
-
49868
 Library("vector_math_gn")
50044
 Library("vector_math_gn")
49869
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
50045
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
49870
index 271c46c540d7..aebdf4b8ac28 100644
50046
index fd27a27da1f1..577ce4433f5a 100644
49871
--- third_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build
50047
--- third_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build
49872
+++ third_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build
50048
+++ third_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build
49873
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
50049
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
Lines 50090-50096 index 271c46c540d7..aebdf4b8ac28 100644 Link Here
50090
 
50266
 
50091
 Library("saturation_protector_gn")
50267
 Library("saturation_protector_gn")
50092
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
50268
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
50093
index cfb4bb80840a..da5dfc59ec93 100644
50269
index aedae110fd46..efc1473dd2ef 100644
50094
--- third_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build
50270
--- third_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build
50095
+++ third_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build
50271
+++ third_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build
50096
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
50272
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
Lines 50313-50319 index cfb4bb80840a..da5dfc59ec93 100644 Link Here
50313
 
50489
 
50314
 Library("speech_level_estimator_gn")
50490
 Library("speech_level_estimator_gn")
50315
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
50491
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
50316
index 00e3216b4597..8f4f2eb9cd09 100644
50492
index 9b40d9ff9463..f0c63ec5b948 100644
50317
--- third_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build
50493
--- third_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build
50318
+++ third_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build
50494
+++ third_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build
50319
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
50495
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 50535-50541 index 00e3216b4597..8f4f2eb9cd09 100644 Link Here
50535
 
50711
 
50536
 Library("vad_wrapper_gn")
50712
 Library("vad_wrapper_gn")
50537
diff --git third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build
50713
diff --git third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build
50538
index 9b5e11e947d9..1bd5feb70d36 100644
50714
index 30453ba62793..69e323aa956b 100644
50539
--- third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build
50715
--- third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build
50540
+++ third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build
50716
+++ third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build
50541
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
50717
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
Lines 50758-50764 index 9b5e11e947d9..1bd5feb70d36 100644 Link Here
50758
 
50934
 
50759
 Library("apm_logging_gn")
50935
 Library("apm_logging_gn")
50760
diff --git third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build
50936
diff --git third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build
50761
index 986ecc61c766..3d9e6a75e276 100644
50937
index 2fce4639d9e3..beeb48f23ea0 100644
50762
--- third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build
50938
--- third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build
50763
+++ third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build
50939
+++ third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build
50764
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
50940
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
Lines 50981-50987 index 986ecc61c766..3d9e6a75e276 100644 Link Here
50981
 
51157
 
50982
 Library("audio_buffer_gn")
51158
 Library("audio_buffer_gn")
50983
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
51159
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
50984
index 894361b57458..c605bd008d4e 100644
51160
index 231bdb8f4175..44821c58cfde 100644
50985
--- third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build
51161
--- third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build
50986
+++ third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build
51162
+++ third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build
50987
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
51163
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 51199-51205 index 894361b57458..c605bd008d4e 100644 Link Here
51199
 
51375
 
51200
 Library("audio_frame_proxies_gn")
51376
 Library("audio_frame_proxies_gn")
51201
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
51377
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
51202
index 9f4a7293e302..e9b1dc9e853e 100644
51378
index 43ffbc502d81..aee63b94bf74 100644
51203
--- third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build
51379
--- third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build
51204
+++ third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build
51380
+++ third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build
51205
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
51381
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 51397-51403 index 9f4a7293e302..e9b1dc9e853e 100644 Link Here
51397
-
51573
-
51398
 Library("audio_frame_view_gn")
51574
 Library("audio_frame_view_gn")
51399
diff --git third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build
51575
diff --git third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build
51400
index 4acaa7f014eb..66c1eab00fc1 100644
51576
index c34635a34775..3533acc5c5d2 100644
51401
--- third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build
51577
--- third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build
51402
+++ third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build
51578
+++ third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build
51403
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
51579
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
Lines 51620-51626 index 4acaa7f014eb..66c1eab00fc1 100644 Link Here
51620
 
51796
 
51621
 Library("audio_processing_gn")
51797
 Library("audio_processing_gn")
51622
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
51798
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
51623
index ba0901058580..d8273687ada4 100644
51799
index bcc0e359d23d..d574412d6e3f 100644
51624
--- third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build
51800
--- third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build
51625
+++ third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build
51801
+++ third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build
51626
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
51802
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 51842-51848 index ba0901058580..d8273687ada4 100644 Link Here
51842
 
52018
 
51843
 Library("capture_levels_adjuster_gn")
52019
 Library("capture_levels_adjuster_gn")
51844
diff --git third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build
52020
diff --git third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build
51845
index 2fd9b99a64df..62d3f34fa3be 100644
52021
index 901a593d4e99..a8253e5675c5 100644
51846
--- third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build
52022
--- third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build
51847
+++ third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build
52023
+++ third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build
51848
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
52024
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
Lines 52065-52071 index 2fd9b99a64df..62d3f34fa3be 100644 Link Here
52065
 
52241
 
52066
 Library("gain_controller2_gn")
52242
 Library("gain_controller2_gn")
52067
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
52243
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
52068
index 09d5dc988247..ce4fc0c9b48a 100644
52244
index 767aac52bbba..91b346bccbe6 100644
52069
--- third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build
52245
--- third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build
52070
+++ third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build
52246
+++ third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build
52071
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
52247
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 52287-52293 index 09d5dc988247..ce4fc0c9b48a 100644 Link Here
52287
 
52463
 
52288
 Library("high_pass_filter_gn")
52464
 Library("high_pass_filter_gn")
52289
diff --git third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build
52465
diff --git third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build
52290
index 93c673ef1703..87ffa3a5cf65 100644
52466
index 2880f10c6dcc..fb02ef3557c4 100644
52291
--- third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build
52467
--- third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build
52292
+++ third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build
52468
+++ third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build
52293
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
52469
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
Lines 52509-52518 index 93c673ef1703..87ffa3a5cf65 100644 Link Here
52509
+    DEFINES["USE_X11"] = "1"
52685
+    DEFINES["USE_X11"] = "1"
52510
 
52686
 
52511
 Library("ns_gn")
52687
 Library("ns_gn")
52512
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
52688
diff --git third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build
52513
index 0af06a9c3544..8e0e151a81c8 100644
52689
index 6deed14b7fdf..50d785c79e15 100644
52514
--- third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build
52690
--- third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build
52515
+++ third_party/libwebrtc/modules/audio_processing/optionally_built_submodule_creators_gn/moz.build
52691
+++ third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build
52516
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
52692
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
52517
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
52693
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
52518
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
52694
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 52535-52541 index 0af06a9c3544..8e0e151a81c8 100644 Link Here
52535
 
52711
 
52536
 FINAL_LIBRARY = "xul"
52712
 FINAL_LIBRARY = "xul"
52537
 
52713
 
52538
@@ -43,189 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
52714
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
52539
 if CONFIG["MOZ_DEBUG"] == "1":
52715
 if CONFIG["MOZ_DEBUG"] == "1":
52540
 
52716
 
52541
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
52717
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 52583-52592 index 0af06a9c3544..8e0e151a81c8 100644 Link Here
52583
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
52759
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
52584
-    DEFINES["__STDC_FORMAT_MACROS"] = True
52760
-    DEFINES["__STDC_FORMAT_MACROS"] = True
52585
-
52761
-
52586
-    OS_LIBS += [
52587
-        "rt"
52588
-    ]
52589
-
52590
-if CONFIG["OS_TARGET"] == "OpenBSD":
52762
-if CONFIG["OS_TARGET"] == "OpenBSD":
52591
-
52763
-
52592
-    DEFINES["USE_GLIB"] = "1"
52764
-    DEFINES["USE_GLIB"] = "1"
Lines 52627-52639 index 0af06a9c3544..8e0e151a81c8 100644 Link Here
52627
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
52799
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
52628
-    DEFINES["_WINDOWS"] = True
52800
-    DEFINES["_WINDOWS"] = True
52629
-    DEFINES["__STD_C"] = True
52801
-    DEFINES["__STD_C"] = True
52630
-
52631
-    OS_LIBS += [
52632
-        "crypt32",
52633
-        "iphlpapi",
52634
-        "secur32",
52635
-        "winmm"
52636
-    ]
52637
+    DEFINES["_DEBUG"] = True
52802
+    DEFINES["_DEBUG"] = True
52638
 
52803
 
52639
 if CONFIG["TARGET_CPU"] == "aarch64":
52804
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 52730-52740 index 0af06a9c3544..8e0e151a81c8 100644 Link Here
52730
-    DEFINES["_GNU_SOURCE"] = True
52895
-    DEFINES["_GNU_SOURCE"] = True
52731
+    DEFINES["USE_X11"] = "1"
52896
+    DEFINES["USE_X11"] = "1"
52732
 
52897
 
52733
 Library("optionally_built_submodule_creators_gn")
52898
 Library("rms_level_gn")
52734
diff --git third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build
52899
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
52735
index 8b21dc34fd6c..3a7dc84732d1 100644
52900
index ec295a9840b4..f38e1186781b 100644
52736
--- third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build
52901
--- third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build
52737
+++ third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build
52902
+++ third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build
52738
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
52903
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
52739
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
52904
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
52740
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
52905
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 52941-52951 index 8b21dc34fd6c..3a7dc84732d1 100644 Link Here
52941
-    DEFINES["_GNU_SOURCE"] = True
53106
-    DEFINES["_GNU_SOURCE"] = True
52942
+    DEFINES["USE_X11"] = "1"
53107
+    DEFINES["USE_X11"] = "1"
52943
 
53108
 
52944
 Library("rms_level_gn")
53109
 Library("cascaded_biquad_filter_gn")
52945
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
53110
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
52946
index f3ccbefcdb8e..53e064f05b08 100644
53111
index beca78d13434..bac6527ab3aa 100644
52947
--- third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build
53112
--- third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build
52948
+++ third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_api_gn/moz.build
53113
+++ third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build
52949
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
53114
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
52950
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
53115
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
52951
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
53116
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 52968-53161 index f3ccbefcdb8e..53e064f05b08 100644 Link Here
52968
 
53133
 
52969
 FINAL_LIBRARY = "xul"
53134
 FINAL_LIBRARY = "xul"
52970
 
53135
 
52971
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
53136
@@ -44,178 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
52972
 if CONFIG["MOZ_DEBUG"] == "1":
52973
 
52974
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
52975
-
52976
-if CONFIG["OS_TARGET"] == "Android":
52977
-
52978
-    DEFINES["ANDROID"] = True
52979
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
52980
-    DEFINES["HAVE_SYS_UIO_H"] = True
52981
-    DEFINES["WEBRTC_ANDROID"] = True
52982
-    DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
52983
-    DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
52984
-    DEFINES["WEBRTC_LINUX"] = True
52985
-    DEFINES["WEBRTC_POSIX"] = True
52986
-    DEFINES["_GNU_SOURCE"] = True
52987
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
52988
-    DEFINES["__STDC_FORMAT_MACROS"] = True
52989
-
52990
-if CONFIG["OS_TARGET"] == "Darwin":
52991
-
52992
-    DEFINES["WEBRTC_MAC"] = True
52993
-    DEFINES["WEBRTC_POSIX"] = True
52994
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
52995
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
52996
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
52997
-    DEFINES["__STDC_FORMAT_MACROS"] = True
52998
-
52999
-if CONFIG["OS_TARGET"] == "Linux":
53000
-
53001
-    DEFINES["USE_AURA"] = "1"
53002
-    DEFINES["USE_GLIB"] = "1"
53003
-    DEFINES["USE_NSS_CERTS"] = "1"
53004
-    DEFINES["USE_OZONE"] = "1"
53005
-    DEFINES["USE_UDEV"] = True
53006
-    DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
53007
-    DEFINES["WEBRTC_LINUX"] = True
53008
-    DEFINES["WEBRTC_POSIX"] = True
53009
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
53010
-    DEFINES["_LARGEFILE64_SOURCE"] = True
53011
-    DEFINES["_LARGEFILE_SOURCE"] = True
53012
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
53013
-    DEFINES["__STDC_FORMAT_MACROS"] = True
53014
-
53015
-if CONFIG["OS_TARGET"] == "OpenBSD":
53016
-
53017
-    DEFINES["USE_GLIB"] = "1"
53018
-    DEFINES["USE_OZONE"] = "1"
53019
-    DEFINES["USE_X11"] = "1"
53020
-    DEFINES["WEBRTC_BSD"] = True
53021
-    DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
53022
-    DEFINES["WEBRTC_POSIX"] = True
53023
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
53024
-    DEFINES["_LARGEFILE64_SOURCE"] = True
53025
-    DEFINES["_LARGEFILE_SOURCE"] = True
53026
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
53027
-    DEFINES["__STDC_FORMAT_MACROS"] = True
53028
-
53029
-if CONFIG["OS_TARGET"] == "WINNT":
53030
-
53031
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
53032
-    DEFINES["NOMINMAX"] = True
53033
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
53034
-    DEFINES["PSAPI_VERSION"] = "2"
53035
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
53036
-    DEFINES["UNICODE"] = True
53037
-    DEFINES["USE_AURA"] = "1"
53038
-    DEFINES["WEBRTC_WIN"] = True
53039
-    DEFINES["WIN32"] = True
53040
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
53041
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
53042
-    DEFINES["WINVER"] = "0x0A00"
53043
-    DEFINES["_ATL_NO_OPENGL"] = True
53044
-    DEFINES["_CRT_RAND_S"] = True
53045
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
53046
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
53047
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
53048
-    DEFINES["_HAS_NODISCARD"] = True
53049
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
53050
-    DEFINES["_SECURE_ATL"] = True
53051
-    DEFINES["_UNICODE"] = True
53052
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
53053
-    DEFINES["_WINDOWS"] = True
53054
-    DEFINES["__STD_C"] = True
53055
+    DEFINES["_DEBUG"] = True
53056
 
53057
 if CONFIG["TARGET_CPU"] == "aarch64":
53058
 
53059
     DEFINES["WEBRTC_ARCH_ARM64"] = True
53060
     DEFINES["WEBRTC_HAS_NEON"] = True
53061
 
53062
-if CONFIG["TARGET_CPU"] == "arm":
53063
-
53064
-    DEFINES["WEBRTC_ARCH_ARM"] = True
53065
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
53066
-    DEFINES["WEBRTC_HAS_NEON"] = True
53067
-
53068
 if CONFIG["TARGET_CPU"] == "mips32":
53069
 
53070
     DEFINES["MIPS32_LE"] = True
53071
     DEFINES["MIPS_FPU_LE"] = True
53072
-    DEFINES["_GNU_SOURCE"] = True
53073
-
53074
-if CONFIG["TARGET_CPU"] == "mips64":
53075
-
53076
-    DEFINES["_GNU_SOURCE"] = True
53077
 
53078
 if CONFIG["TARGET_CPU"] == "x86":
53079
 
53080
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
53081
 
53082
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
53083
 
53084
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
53085
-
53086
-    DEFINES["_DEBUG"] = True
53087
-
53088
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
53089
-
53090
-    DEFINES["_DEBUG"] = True
53091
-
53092
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
53093
-
53094
-    DEFINES["_DEBUG"] = True
53095
-
53096
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
53097
-
53098
-    DEFINES["_DEBUG"] = True
53099
-
53100
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
53101
-
53102
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
53103
-
53104
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
53105
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
53106
 
53107
     DEFINES["USE_X11"] = "1"
53108
 
53109
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
53110
-
53111
-    OS_LIBS += [
53112
-        "unwind"
53113
-    ]
53114
-
53115
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
53116
-
53117
-    DEFINES["_GNU_SOURCE"] = True
53118
-
53119
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
53120
-
53121
-    DEFINES["_GNU_SOURCE"] = True
53122
-
53123
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
53124
-
53125
-    DEFINES["_GNU_SOURCE"] = True
53126
-
53127
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
53128
-
53129
-    DEFINES["_GNU_SOURCE"] = True
53130
-
53131
 Library("transient_suppressor_api_gn")
53132
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
53133
index 0ec5dcb6c535..b42e3cf6c30e 100644
53134
--- third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build
53135
+++ third_party/libwebrtc/modules/audio_processing/transient/transient_suppressor_impl_gn/moz.build
53136
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
53137
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
53138
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
53139
 DEFINES["RTC_ENABLE_VP9"] = True
53140
+DEFINES["USE_GLIB"] = "1"
53141
+DEFINES["USE_OZONE"] = "1"
53142
+DEFINES["WEBRTC_BSD"] = True
53143
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
53144
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
53145
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
53146
 DEFINES["WEBRTC_MOZILLA_BUILD"] = True
53147
 DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
53148
+DEFINES["WEBRTC_POSIX"] = True
53149
 DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
53150
+DEFINES["_FILE_OFFSET_BITS"] = "64"
53151
+DEFINES["_LARGEFILE64_SOURCE"] = True
53152
+DEFINES["_LARGEFILE_SOURCE"] = True
53153
+DEFINES["__STDC_CONSTANT_MACROS"] = True
53154
+DEFINES["__STDC_FORMAT_MACROS"] = True
53155
 
53156
 FINAL_LIBRARY = "xul"
53157
 
53158
@@ -47,189 +57,32 @@ if not CONFIG["MOZ_DEBUG"]:
53159
 if CONFIG["MOZ_DEBUG"] == "1":
53137
 if CONFIG["MOZ_DEBUG"] == "1":
53160
 
53138
 
53161
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
53139
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 53203-53212 index 0ec5dcb6c535..b42e3cf6c30e 100644 Link Here
53203
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
53181
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
53204
-    DEFINES["__STDC_FORMAT_MACROS"] = True
53182
-    DEFINES["__STDC_FORMAT_MACROS"] = True
53205
-
53183
-
53206
-    OS_LIBS += [
53207
-        "rt"
53208
-    ]
53209
-
53210
-if CONFIG["OS_TARGET"] == "OpenBSD":
53184
-if CONFIG["OS_TARGET"] == "OpenBSD":
53211
-
53185
-
53212
-    DEFINES["USE_GLIB"] = "1"
53186
-    DEFINES["USE_GLIB"] = "1"
Lines 53247-53259 index 0ec5dcb6c535..b42e3cf6c30e 100644 Link Here
53247
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
53221
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
53248
-    DEFINES["_WINDOWS"] = True
53222
-    DEFINES["_WINDOWS"] = True
53249
-    DEFINES["__STD_C"] = True
53223
-    DEFINES["__STD_C"] = True
53250
-
53251
-    OS_LIBS += [
53252
-        "crypt32",
53253
-        "iphlpapi",
53254
-        "secur32",
53255
-        "winmm"
53256
-    ]
53257
+    DEFINES["_DEBUG"] = True
53224
+    DEFINES["_DEBUG"] = True
53258
 
53225
 
53259
 if CONFIG["TARGET_CPU"] == "aarch64":
53226
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 53350-53360 index 0ec5dcb6c535..b42e3cf6c30e 100644 Link Here
53350
-    DEFINES["_GNU_SOURCE"] = True
53317
-    DEFINES["_GNU_SOURCE"] = True
53351
+    DEFINES["USE_X11"] = "1"
53318
+    DEFINES["USE_X11"] = "1"
53352
 
53319
 
53353
 Library("transient_suppressor_impl_gn")
53320
 Library("legacy_delay_estimator_gn")
53354
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
53321
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
53355
index 50a6a9d55ce5..418e3f81e786 100644
53322
index d118284e2c2d..a0d7aee58047 100644
53356
--- third_party/libwebrtc/modules/audio_processing/transient/voice_probability_delay_unit_gn/moz.build
53323
--- third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build
53357
+++ third_party/libwebrtc/modules/audio_processing/transient/voice_probability_delay_unit_gn/moz.build
53324
+++ third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build
53358
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
53325
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
53359
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
53326
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
53360
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
53327
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 53561-53571 index 50a6a9d55ce5..418e3f81e786 100644 Link Here
53561
-    DEFINES["_GNU_SOURCE"] = True
53528
-    DEFINES["_GNU_SOURCE"] = True
53562
+    DEFINES["USE_X11"] = "1"
53529
+    DEFINES["USE_X11"] = "1"
53563
 
53530
 
53564
 Library("voice_probability_delay_unit_gn")
53531
 Library("pffft_wrapper_gn")
53565
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
53532
diff --git third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build
53566
index f1b3493b7a96..93278d71202e 100644
53533
index b2ff5b479858..173fe69d2caf 100644
53567
--- third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build
53534
--- third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build
53568
+++ third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build
53535
+++ third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build
53569
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
53536
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
53570
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
53537
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
53571
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
53538
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 53588-53594 index f1b3493b7a96..93278d71202e 100644 Link Here
53588
 
53555
 
53589
 FINAL_LIBRARY = "xul"
53556
 FINAL_LIBRARY = "xul"
53590
 
53557
 
53591
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
53558
@@ -50,189 +60,32 @@ if not CONFIG["MOZ_DEBUG"]:
53592
 if CONFIG["MOZ_DEBUG"] == "1":
53559
 if CONFIG["MOZ_DEBUG"] == "1":
53593
 
53560
 
53594
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
53561
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 53636-53641 index f1b3493b7a96..93278d71202e 100644 Link Here
53636
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
53603
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
53637
-    DEFINES["__STDC_FORMAT_MACROS"] = True
53604
-    DEFINES["__STDC_FORMAT_MACROS"] = True
53638
-
53605
-
53606
-    OS_LIBS += [
53607
-        "rt"
53608
-    ]
53609
-
53639
-if CONFIG["OS_TARGET"] == "OpenBSD":
53610
-if CONFIG["OS_TARGET"] == "OpenBSD":
53640
-
53611
-
53641
-    DEFINES["USE_GLIB"] = "1"
53612
-    DEFINES["USE_GLIB"] = "1"
Lines 53676-53681 index f1b3493b7a96..93278d71202e 100644 Link Here
53676
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
53647
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
53677
-    DEFINES["_WINDOWS"] = True
53648
-    DEFINES["_WINDOWS"] = True
53678
-    DEFINES["__STD_C"] = True
53649
-    DEFINES["__STD_C"] = True
53650
-
53651
-    OS_LIBS += [
53652
-        "crypt32",
53653
-        "iphlpapi",
53654
-        "secur32",
53655
-        "winmm"
53656
-    ]
53679
+    DEFINES["_DEBUG"] = True
53657
+    DEFINES["_DEBUG"] = True
53680
 
53658
 
53681
 if CONFIG["TARGET_CPU"] == "aarch64":
53659
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 53772-53782 index f1b3493b7a96..93278d71202e 100644 Link Here
53772
-    DEFINES["_GNU_SOURCE"] = True
53750
-    DEFINES["_GNU_SOURCE"] = True
53773
+    DEFINES["USE_X11"] = "1"
53751
+    DEFINES["USE_X11"] = "1"
53774
 
53752
 
53775
 Library("cascaded_biquad_filter_gn")
53753
 Library("vad_gn")
53776
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
53754
diff --git third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build
53777
index 12b385e2e905..fc6f3d337810 100644
53755
index 1f355f493b19..939b49256e00 100644
53778
--- third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build
53756
--- third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build
53779
+++ third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build
53757
+++ third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build
53780
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
53758
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
53781
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
53759
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
53782
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
53760
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 53799-53805 index 12b385e2e905..fc6f3d337810 100644 Link Here
53799
 
53777
 
53800
 FINAL_LIBRARY = "xul"
53778
 FINAL_LIBRARY = "xul"
53801
 
53779
 
53802
@@ -44,178 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
53780
@@ -44,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
53803
 if CONFIG["MOZ_DEBUG"] == "1":
53781
 if CONFIG["MOZ_DEBUG"] == "1":
53804
 
53782
 
53805
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
53783
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 53819-53824 index 12b385e2e905..fc6f3d337810 100644 Link Here
53819
-    DEFINES["__STDC_FORMAT_MACROS"] = True
53797
-    DEFINES["__STDC_FORMAT_MACROS"] = True
53820
-
53798
-
53821
-    OS_LIBS += [
53799
-    OS_LIBS += [
53800
-        "GLESv2",
53822
-        "log"
53801
-        "log"
53823
-    ]
53802
-    ]
53824
-
53803
-
Lines 53847-53852 index 12b385e2e905..fc6f3d337810 100644 Link Here
53847
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
53826
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
53848
-    DEFINES["__STDC_FORMAT_MACROS"] = True
53827
-    DEFINES["__STDC_FORMAT_MACROS"] = True
53849
-
53828
-
53829
-    OS_LIBS += [
53830
-        "rt"
53831
-    ]
53832
-
53850
-if CONFIG["OS_TARGET"] == "OpenBSD":
53833
-if CONFIG["OS_TARGET"] == "OpenBSD":
53851
-
53834
-
53852
-    DEFINES["USE_GLIB"] = "1"
53835
-    DEFINES["USE_GLIB"] = "1"
Lines 53887-53892 index 12b385e2e905..fc6f3d337810 100644 Link Here
53887
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
53870
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
53888
-    DEFINES["_WINDOWS"] = True
53871
-    DEFINES["_WINDOWS"] = True
53889
-    DEFINES["__STD_C"] = True
53872
-    DEFINES["__STD_C"] = True
53873
-
53874
-    OS_LIBS += [
53875
-        "crypt32",
53876
-        "iphlpapi",
53877
-        "secur32",
53878
-        "winmm"
53879
-    ]
53890
+    DEFINES["_DEBUG"] = True
53880
+    DEFINES["_DEBUG"] = True
53891
 
53881
 
53892
 if CONFIG["TARGET_CPU"] == "aarch64":
53882
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 53983-53993 index 12b385e2e905..fc6f3d337810 100644 Link Here
53983
-    DEFINES["_GNU_SOURCE"] = True
53973
-    DEFINES["_GNU_SOURCE"] = True
53984
+    DEFINES["USE_X11"] = "1"
53974
+    DEFINES["USE_X11"] = "1"
53985
 
53975
 
53986
 Library("legacy_delay_estimator_gn")
53976
 Library("congestion_controller_gn")
53987
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
53977
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
53988
index f1e1bc555af4..7ef8884828c3 100644
53978
index d846e19c0b4a..63c39c877298 100644
53989
--- third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build
53979
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build
53990
+++ third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build
53980
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build
53991
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
53981
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
53992
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
53982
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
53993
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
53983
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 54010-54016 index f1e1bc555af4..7ef8884828c3 100644 Link Here
54010
 
54000
 
54011
 FINAL_LIBRARY = "xul"
54001
 FINAL_LIBRARY = "xul"
54012
 
54002
 
54013
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
54003
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
54014
 if CONFIG["MOZ_DEBUG"] == "1":
54004
 if CONFIG["MOZ_DEBUG"] == "1":
54015
 
54005
 
54016
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
54006
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 54098-54103 index f1e1bc555af4..7ef8884828c3 100644 Link Here
54098
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
54088
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
54099
-    DEFINES["_WINDOWS"] = True
54089
-    DEFINES["_WINDOWS"] = True
54100
-    DEFINES["__STD_C"] = True
54090
-    DEFINES["__STD_C"] = True
54091
-
54092
-    OS_LIBS += [
54093
-        "crypt32",
54094
-        "iphlpapi",
54095
-        "secur32",
54096
-        "winmm"
54097
-    ]
54101
+    DEFINES["_DEBUG"] = True
54098
+    DEFINES["_DEBUG"] = True
54102
 
54099
 
54103
 if CONFIG["TARGET_CPU"] == "aarch64":
54100
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 54194-54204 index f1e1bc555af4..7ef8884828c3 100644 Link Here
54194
-    DEFINES["_GNU_SOURCE"] = True
54191
-    DEFINES["_GNU_SOURCE"] = True
54195
+    DEFINES["USE_X11"] = "1"
54192
+    DEFINES["USE_X11"] = "1"
54196
 
54193
 
54197
 Library("pffft_wrapper_gn")
54194
 Library("alr_detector_gn")
54198
diff --git third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build
54195
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
54199
index 4794a478e8a0..8cf74ef26590 100644
54196
index 7668240917b8..cca1be60d88f 100644
54200
--- third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build
54197
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build
54201
+++ third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build
54198
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build
54202
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
54199
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
54203
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
54200
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
54204
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
54201
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 54221-54227 index 4794a478e8a0..8cf74ef26590 100644 Link Here
54221
 
54218
 
54222
 FINAL_LIBRARY = "xul"
54219
 FINAL_LIBRARY = "xul"
54223
 
54220
 
54224
@@ -50,189 +60,32 @@ if not CONFIG["MOZ_DEBUG"]:
54221
@@ -44,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
54225
 if CONFIG["MOZ_DEBUG"] == "1":
54222
 if CONFIG["MOZ_DEBUG"] == "1":
54226
 
54223
 
54227
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
54224
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 54241-54246 index 4794a478e8a0..8cf74ef26590 100644 Link Here
54241
-    DEFINES["__STDC_FORMAT_MACROS"] = True
54238
-    DEFINES["__STDC_FORMAT_MACROS"] = True
54242
-
54239
-
54243
-    OS_LIBS += [
54240
-    OS_LIBS += [
54241
-        "GLESv2",
54244
-        "log"
54242
-        "log"
54245
-    ]
54243
-    ]
54246
-
54244
-
Lines 54416-54426 index 4794a478e8a0..8cf74ef26590 100644 Link Here
54416
-    DEFINES["_GNU_SOURCE"] = True
54414
-    DEFINES["_GNU_SOURCE"] = True
54417
+    DEFINES["USE_X11"] = "1"
54415
+    DEFINES["USE_X11"] = "1"
54418
 
54416
 
54419
 Library("vad_gn")
54417
 Library("delay_based_bwe_gn")
54420
diff --git third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build
54418
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
54421
index 614d8e5ebc43..b20264e2e6c3 100644
54419
index 8c9acee0293a..c517088ee11f 100644
54422
--- third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build
54420
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build
54423
+++ third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build
54421
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build
54424
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
54422
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
54425
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
54423
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
54426
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
54424
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 54443-54449 index 614d8e5ebc43..b20264e2e6c3 100644 Link Here
54443
 
54441
 
54444
 FINAL_LIBRARY = "xul"
54442
 FINAL_LIBRARY = "xul"
54445
 
54443
 
54446
@@ -44,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
54444
@@ -48,189 +58,32 @@ if not CONFIG["MOZ_DEBUG"]:
54447
 if CONFIG["MOZ_DEBUG"] == "1":
54445
 if CONFIG["MOZ_DEBUG"] == "1":
54448
 
54446
 
54449
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
54447
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 54463-54469 index 614d8e5ebc43..b20264e2e6c3 100644 Link Here
54463
-    DEFINES["__STDC_FORMAT_MACROS"] = True
54461
-    DEFINES["__STDC_FORMAT_MACROS"] = True
54464
-
54462
-
54465
-    OS_LIBS += [
54463
-    OS_LIBS += [
54466
-        "GLESv2",
54467
-        "log"
54464
-        "log"
54468
-    ]
54465
-    ]
54469
-
54466
-
Lines 54639-54867 index 614d8e5ebc43..b20264e2e6c3 100644 Link Here
54639
-    DEFINES["_GNU_SOURCE"] = True
54636
-    DEFINES["_GNU_SOURCE"] = True
54640
+    DEFINES["USE_X11"] = "1"
54637
+    DEFINES["USE_X11"] = "1"
54641
 
54638
 
54642
 Library("congestion_controller_gn")
54639
 Library("estimators_gn")
54643
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
54640
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
54644
index 2a3d216e40c0..099616509cba 100644
54641
index b63d8b6e6fe4..4e778fdce344 100644
54645
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build
54642
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build
54646
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build
54643
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build
54647
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
54648
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
54649
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
54650
 DEFINES["RTC_ENABLE_VP9"] = True
54651
+DEFINES["USE_GLIB"] = "1"
54652
+DEFINES["USE_OZONE"] = "1"
54653
+DEFINES["WEBRTC_BSD"] = True
54654
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
54655
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
54656
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
54657
 DEFINES["WEBRTC_MOZILLA_BUILD"] = True
54658
 DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
54659
+DEFINES["WEBRTC_POSIX"] = True
54660
 DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
54661
+DEFINES["_FILE_OFFSET_BITS"] = "64"
54662
+DEFINES["_LARGEFILE64_SOURCE"] = True
54663
+DEFINES["_LARGEFILE_SOURCE"] = True
54664
+DEFINES["__STDC_CONSTANT_MACROS"] = True
54665
+DEFINES["__STDC_FORMAT_MACROS"] = True
54666
 
54667
 FINAL_LIBRARY = "xul"
54668
 
54669
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
54670
 if CONFIG["MOZ_DEBUG"] == "1":
54671
 
54672
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
54673
-
54674
-if CONFIG["OS_TARGET"] == "Android":
54675
-
54676
-    DEFINES["ANDROID"] = True
54677
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
54678
-    DEFINES["HAVE_SYS_UIO_H"] = True
54679
-    DEFINES["WEBRTC_ANDROID"] = True
54680
-    DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
54681
-    DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
54682
-    DEFINES["WEBRTC_LINUX"] = True
54683
-    DEFINES["WEBRTC_POSIX"] = True
54684
-    DEFINES["_GNU_SOURCE"] = True
54685
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
54686
-    DEFINES["__STDC_FORMAT_MACROS"] = True
54687
-
54688
-    OS_LIBS += [
54689
-        "log"
54690
-    ]
54691
-
54692
-if CONFIG["OS_TARGET"] == "Darwin":
54693
-
54694
-    DEFINES["WEBRTC_MAC"] = True
54695
-    DEFINES["WEBRTC_POSIX"] = True
54696
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
54697
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
54698
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
54699
-    DEFINES["__STDC_FORMAT_MACROS"] = True
54700
-
54701
-if CONFIG["OS_TARGET"] == "Linux":
54702
-
54703
-    DEFINES["USE_AURA"] = "1"
54704
-    DEFINES["USE_GLIB"] = "1"
54705
-    DEFINES["USE_NSS_CERTS"] = "1"
54706
-    DEFINES["USE_OZONE"] = "1"
54707
-    DEFINES["USE_UDEV"] = True
54708
-    DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
54709
-    DEFINES["WEBRTC_LINUX"] = True
54710
-    DEFINES["WEBRTC_POSIX"] = True
54711
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
54712
-    DEFINES["_LARGEFILE64_SOURCE"] = True
54713
-    DEFINES["_LARGEFILE_SOURCE"] = True
54714
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
54715
-    DEFINES["__STDC_FORMAT_MACROS"] = True
54716
-
54717
-if CONFIG["OS_TARGET"] == "OpenBSD":
54718
-
54719
-    DEFINES["USE_GLIB"] = "1"
54720
-    DEFINES["USE_OZONE"] = "1"
54721
-    DEFINES["USE_X11"] = "1"
54722
-    DEFINES["WEBRTC_BSD"] = True
54723
-    DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
54724
-    DEFINES["WEBRTC_POSIX"] = True
54725
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
54726
-    DEFINES["_LARGEFILE64_SOURCE"] = True
54727
-    DEFINES["_LARGEFILE_SOURCE"] = True
54728
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
54729
-    DEFINES["__STDC_FORMAT_MACROS"] = True
54730
-
54731
-if CONFIG["OS_TARGET"] == "WINNT":
54732
-
54733
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
54734
-    DEFINES["NOMINMAX"] = True
54735
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
54736
-    DEFINES["PSAPI_VERSION"] = "2"
54737
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
54738
-    DEFINES["UNICODE"] = True
54739
-    DEFINES["USE_AURA"] = "1"
54740
-    DEFINES["WEBRTC_WIN"] = True
54741
-    DEFINES["WIN32"] = True
54742
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
54743
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
54744
-    DEFINES["WINVER"] = "0x0A00"
54745
-    DEFINES["_ATL_NO_OPENGL"] = True
54746
-    DEFINES["_CRT_RAND_S"] = True
54747
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
54748
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
54749
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
54750
-    DEFINES["_HAS_NODISCARD"] = True
54751
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
54752
-    DEFINES["_SECURE_ATL"] = True
54753
-    DEFINES["_UNICODE"] = True
54754
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
54755
-    DEFINES["_WINDOWS"] = True
54756
-    DEFINES["__STD_C"] = True
54757
-
54758
-    OS_LIBS += [
54759
-        "crypt32",
54760
-        "iphlpapi",
54761
-        "secur32",
54762
-        "winmm"
54763
-    ]
54764
+    DEFINES["_DEBUG"] = True
54765
 
54766
 if CONFIG["TARGET_CPU"] == "aarch64":
54767
 
54768
     DEFINES["WEBRTC_ARCH_ARM64"] = True
54769
     DEFINES["WEBRTC_HAS_NEON"] = True
54770
 
54771
-if CONFIG["TARGET_CPU"] == "arm":
54772
-
54773
-    CXXFLAGS += [
54774
-        "-mfpu=neon"
54775
-    ]
54776
-
54777
-    DEFINES["WEBRTC_ARCH_ARM"] = True
54778
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
54779
-    DEFINES["WEBRTC_HAS_NEON"] = True
54780
-
54781
 if CONFIG["TARGET_CPU"] == "mips32":
54782
 
54783
     DEFINES["MIPS32_LE"] = True
54784
     DEFINES["MIPS_FPU_LE"] = True
54785
-    DEFINES["_GNU_SOURCE"] = True
54786
-
54787
-if CONFIG["TARGET_CPU"] == "mips64":
54788
-
54789
-    DEFINES["_GNU_SOURCE"] = True
54790
 
54791
 if CONFIG["TARGET_CPU"] == "x86":
54792
 
54793
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
54794
-
54795
-if CONFIG["TARGET_CPU"] == "x86_64":
54796
-
54797
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
54798
-
54799
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
54800
-
54801
-    DEFINES["_DEBUG"] = True
54802
-
54803
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
54804
-
54805
-    DEFINES["_DEBUG"] = True
54806
-
54807
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
54808
-
54809
-    DEFINES["_DEBUG"] = True
54810
-
54811
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
54812
-
54813
-    DEFINES["_DEBUG"] = True
54814
-
54815
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
54816
-
54817
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
54818
-
54819
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
54820
-
54821
-    DEFINES["USE_X11"] = "1"
54822
-
54823
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
54824
-
54825
-    OS_LIBS += [
54826
-        "unwind"
54827
-    ]
54828
-
54829
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
54830
-
54831
     CXXFLAGS += [
54832
         "-msse2"
54833
     ]
54834
 
54835
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
54836
-
54837
-    DEFINES["_GNU_SOURCE"] = True
54838
-
54839
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
54840
-
54841
-    DEFINES["_GNU_SOURCE"] = True
54842
-
54843
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
54844
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
54845
 
54846
-    CXXFLAGS += [
54847
-        "-msse2"
54848
-    ]
54849
+if CONFIG["TARGET_CPU"] == "x86_64":
54850
 
54851
-    DEFINES["_GNU_SOURCE"] = True
54852
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
54853
 
54854
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
54855
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
54856
 
54857
-    DEFINES["_GNU_SOURCE"] = True
54858
+    DEFINES["USE_X11"] = "1"
54859
 
54860
 Library("alr_detector_gn")
54861
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
54862
index 4cb60b5d0dc7..50814029b56f 100644
54863
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build
54864
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build
54865
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
54644
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
54866
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
54645
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
54867
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
54646
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 54884-54890 index 4cb60b5d0dc7..50814029b56f 100644 Link Here
54884
 
54663
 
54885
 FINAL_LIBRARY = "xul"
54664
 FINAL_LIBRARY = "xul"
54886
 
54665
 
54887
@@ -44,190 +54,32 @@ if not CONFIG["MOZ_DEBUG"]:
54666
@@ -43,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
54888
 if CONFIG["MOZ_DEBUG"] == "1":
54667
 if CONFIG["MOZ_DEBUG"] == "1":
54889
 
54668
 
54890
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
54669
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 55080-55090 index 4cb60b5d0dc7..50814029b56f 100644 Link Here
55080
-    DEFINES["_GNU_SOURCE"] = True
54859
-    DEFINES["_GNU_SOURCE"] = True
55081
+    DEFINES["USE_X11"] = "1"
54860
+    DEFINES["USE_X11"] = "1"
55082
 
54861
 
55083
 Library("delay_based_bwe_gn")
54862
 Library("goog_cc_gn")
55084
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
54863
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
55085
index ad88ce9e6090..6d3e24fb02c2 100644
54864
index 6480b5f7867a..e8ad187ddf34 100644
55086
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build
54865
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build
55087
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build
54866
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build
55088
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
54867
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
55089
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
54868
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
55090
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
54869
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 55107-55113 index ad88ce9e6090..6d3e24fb02c2 100644 Link Here
55107
 
54886
 
55108
 FINAL_LIBRARY = "xul"
54887
 FINAL_LIBRARY = "xul"
55109
 
54888
 
55110
@@ -48,189 +58,32 @@ if not CONFIG["MOZ_DEBUG"]:
54889
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
55111
 if CONFIG["MOZ_DEBUG"] == "1":
54890
 if CONFIG["MOZ_DEBUG"] == "1":
55112
 
54891
 
55113
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
54892
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 55155-55164 index ad88ce9e6090..6d3e24fb02c2 100644 Link Here
55155
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
54934
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
55156
-    DEFINES["__STDC_FORMAT_MACROS"] = True
54935
-    DEFINES["__STDC_FORMAT_MACROS"] = True
55157
-
54936
-
55158
-    OS_LIBS += [
55159
-        "rt"
55160
-    ]
55161
-
55162
-if CONFIG["OS_TARGET"] == "OpenBSD":
54937
-if CONFIG["OS_TARGET"] == "OpenBSD":
55163
-
54938
-
55164
-    DEFINES["USE_GLIB"] = "1"
54939
-    DEFINES["USE_GLIB"] = "1"
Lines 55199-55211 index ad88ce9e6090..6d3e24fb02c2 100644 Link Here
55199
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
54974
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
55200
-    DEFINES["_WINDOWS"] = True
54975
-    DEFINES["_WINDOWS"] = True
55201
-    DEFINES["__STD_C"] = True
54976
-    DEFINES["__STD_C"] = True
55202
-
55203
-    OS_LIBS += [
55204
-        "crypt32",
55205
-        "iphlpapi",
55206
-        "secur32",
55207
-        "winmm"
55208
-    ]
55209
+    DEFINES["_DEBUG"] = True
54977
+    DEFINES["_DEBUG"] = True
55210
 
54978
 
55211
 if CONFIG["TARGET_CPU"] == "aarch64":
54979
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 55302-55312 index ad88ce9e6090..6d3e24fb02c2 100644 Link Here
55302
-    DEFINES["_GNU_SOURCE"] = True
55070
-    DEFINES["_GNU_SOURCE"] = True
55303
+    DEFINES["USE_X11"] = "1"
55071
+    DEFINES["USE_X11"] = "1"
55304
 
55072
 
55305
 Library("estimators_gn")
55073
 Library("link_capacity_estimator_gn")
55306
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
55074
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
55307
index 6b0c2966167e..f5da2b2521ed 100644
55075
index a1dae5bfec71..a86d75fb666f 100644
55308
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build
55076
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build
55309
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build
55077
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build
55310
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
55078
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
55311
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
55079
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
55312
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
55080
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 55329-55335 index 6b0c2966167e..f5da2b2521ed 100644 Link Here
55329
 
55097
 
55330
 FINAL_LIBRARY = "xul"
55098
 FINAL_LIBRARY = "xul"
55331
 
55099
 
55332
@@ -43,190 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
55100
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
55333
 if CONFIG["MOZ_DEBUG"] == "1":
55101
 if CONFIG["MOZ_DEBUG"] == "1":
55334
 
55102
 
55335
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
55103
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 55349-55355 index 6b0c2966167e..f5da2b2521ed 100644 Link Here
55349
-    DEFINES["__STDC_FORMAT_MACROS"] = True
55117
-    DEFINES["__STDC_FORMAT_MACROS"] = True
55350
-
55118
-
55351
-    OS_LIBS += [
55119
-    OS_LIBS += [
55352
-        "GLESv2",
55353
-        "log"
55120
-        "log"
55354
-    ]
55121
-    ]
55355
-
55122
-
Lines 55378-55387 index 6b0c2966167e..f5da2b2521ed 100644 Link Here
55378
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
55145
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
55379
-    DEFINES["__STDC_FORMAT_MACROS"] = True
55146
-    DEFINES["__STDC_FORMAT_MACROS"] = True
55380
-
55147
-
55381
-    OS_LIBS += [
55382
-        "rt"
55383
-    ]
55384
-
55385
-if CONFIG["OS_TARGET"] == "OpenBSD":
55148
-if CONFIG["OS_TARGET"] == "OpenBSD":
55386
-
55149
-
55387
-    DEFINES["USE_GLIB"] = "1"
55150
-    DEFINES["USE_GLIB"] = "1"
Lines 55525-55535 index 6b0c2966167e..f5da2b2521ed 100644 Link Here
55525
-    DEFINES["_GNU_SOURCE"] = True
55288
-    DEFINES["_GNU_SOURCE"] = True
55526
+    DEFINES["USE_X11"] = "1"
55289
+    DEFINES["USE_X11"] = "1"
55527
 
55290
 
55528
 Library("goog_cc_gn")
55291
 Library("loss_based_bwe_v1_gn")
55529
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
55292
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
55530
index d229d732df78..f1c13c16cc7d 100644
55293
index fb157ec2ad6f..6643254bd2fd 100644
55531
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build
55294
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2_gn/moz.build
55532
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build
55295
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2_gn/moz.build
55533
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
55296
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
55534
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
55297
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
55535
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
55298
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 55552-55558 index d229d732df78..f1c13c16cc7d 100644 Link Here
55552
 
55315
 
55553
 FINAL_LIBRARY = "xul"
55316
 FINAL_LIBRARY = "xul"
55554
 
55317
 
55555
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
55318
@@ -43,189 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
55556
 if CONFIG["MOZ_DEBUG"] == "1":
55319
 if CONFIG["MOZ_DEBUG"] == "1":
55557
 
55320
 
55558
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
55321
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 55600-55816 index d229d732df78..f1c13c16cc7d 100644 Link Here
55600
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
55363
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
55601
-    DEFINES["__STDC_FORMAT_MACROS"] = True
55364
-    DEFINES["__STDC_FORMAT_MACROS"] = True
55602
-
55365
-
55603
-if CONFIG["OS_TARGET"] == "OpenBSD":
55604
-
55605
-    DEFINES["USE_GLIB"] = "1"
55606
-    DEFINES["USE_OZONE"] = "1"
55607
-    DEFINES["USE_X11"] = "1"
55608
-    DEFINES["WEBRTC_BSD"] = True
55609
-    DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
55610
-    DEFINES["WEBRTC_POSIX"] = True
55611
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
55612
-    DEFINES["_LARGEFILE64_SOURCE"] = True
55613
-    DEFINES["_LARGEFILE_SOURCE"] = True
55614
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
55615
-    DEFINES["__STDC_FORMAT_MACROS"] = True
55616
-
55617
-if CONFIG["OS_TARGET"] == "WINNT":
55618
-
55619
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
55620
-    DEFINES["NOMINMAX"] = True
55621
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
55622
-    DEFINES["PSAPI_VERSION"] = "2"
55623
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
55624
-    DEFINES["UNICODE"] = True
55625
-    DEFINES["USE_AURA"] = "1"
55626
-    DEFINES["WEBRTC_WIN"] = True
55627
-    DEFINES["WIN32"] = True
55628
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
55629
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
55630
-    DEFINES["WINVER"] = "0x0A00"
55631
-    DEFINES["_ATL_NO_OPENGL"] = True
55632
-    DEFINES["_CRT_RAND_S"] = True
55633
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
55634
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
55635
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
55636
-    DEFINES["_HAS_NODISCARD"] = True
55637
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
55638
-    DEFINES["_SECURE_ATL"] = True
55639
-    DEFINES["_UNICODE"] = True
55640
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
55641
-    DEFINES["_WINDOWS"] = True
55642
-    DEFINES["__STD_C"] = True
55643
+    DEFINES["_DEBUG"] = True
55644
 
55645
 if CONFIG["TARGET_CPU"] == "aarch64":
55646
 
55647
     DEFINES["WEBRTC_ARCH_ARM64"] = True
55648
     DEFINES["WEBRTC_HAS_NEON"] = True
55649
 
55650
-if CONFIG["TARGET_CPU"] == "arm":
55651
-
55652
-    CXXFLAGS += [
55653
-        "-mfpu=neon"
55654
-    ]
55655
-
55656
-    DEFINES["WEBRTC_ARCH_ARM"] = True
55657
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
55658
-    DEFINES["WEBRTC_HAS_NEON"] = True
55659
-
55660
 if CONFIG["TARGET_CPU"] == "mips32":
55661
 
55662
     DEFINES["MIPS32_LE"] = True
55663
     DEFINES["MIPS_FPU_LE"] = True
55664
-    DEFINES["_GNU_SOURCE"] = True
55665
-
55666
-if CONFIG["TARGET_CPU"] == "mips64":
55667
-
55668
-    DEFINES["_GNU_SOURCE"] = True
55669
 
55670
 if CONFIG["TARGET_CPU"] == "x86":
55671
 
55672
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
55673
-
55674
-if CONFIG["TARGET_CPU"] == "x86_64":
55675
-
55676
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
55677
-
55678
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
55679
-
55680
-    DEFINES["_DEBUG"] = True
55681
-
55682
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
55683
-
55684
-    DEFINES["_DEBUG"] = True
55685
-
55686
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
55687
-
55688
-    DEFINES["_DEBUG"] = True
55689
-
55690
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
55691
-
55692
-    DEFINES["_DEBUG"] = True
55693
-
55694
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
55695
-
55696
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
55697
-
55698
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
55699
-
55700
-    DEFINES["USE_X11"] = "1"
55701
-
55702
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
55703
-
55704
-    OS_LIBS += [
55705
-        "unwind"
55706
-    ]
55707
-
55708
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
55709
-
55710
     CXXFLAGS += [
55711
         "-msse2"
55712
     ]
55713
 
55714
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
55715
-
55716
-    DEFINES["_GNU_SOURCE"] = True
55717
-
55718
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
55719
-
55720
-    DEFINES["_GNU_SOURCE"] = True
55721
-
55722
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
55723
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
55724
 
55725
-    CXXFLAGS += [
55726
-        "-msse2"
55727
-    ]
55728
+if CONFIG["TARGET_CPU"] == "x86_64":
55729
 
55730
-    DEFINES["_GNU_SOURCE"] = True
55731
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
55732
 
55733
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
55734
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
55735
 
55736
-    DEFINES["_GNU_SOURCE"] = True
55737
+    DEFINES["USE_X11"] = "1"
55738
 
55739
 Library("link_capacity_estimator_gn")
55740
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
55741
index bdf6228cc4e1..71a2c7a73bad 100644
55742
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build
55743
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v1_gn/moz.build
55744
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
55745
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
55746
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
55747
 DEFINES["RTC_ENABLE_VP9"] = True
55748
+DEFINES["USE_GLIB"] = "1"
55749
+DEFINES["USE_OZONE"] = "1"
55750
+DEFINES["WEBRTC_BSD"] = True
55751
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
55752
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
55753
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
55754
 DEFINES["WEBRTC_MOZILLA_BUILD"] = True
55755
 DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
55756
+DEFINES["WEBRTC_POSIX"] = True
55757
 DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
55758
+DEFINES["_FILE_OFFSET_BITS"] = "64"
55759
+DEFINES["_LARGEFILE64_SOURCE"] = True
55760
+DEFINES["_LARGEFILE_SOURCE"] = True
55761
+DEFINES["__STDC_CONSTANT_MACROS"] = True
55762
+DEFINES["__STDC_FORMAT_MACROS"] = True
55763
 
55764
 FINAL_LIBRARY = "xul"
55765
 
55766
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
55767
 if CONFIG["MOZ_DEBUG"] == "1":
55768
 
55769
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
55770
-
55771
-if CONFIG["OS_TARGET"] == "Android":
55772
-
55773
-    DEFINES["ANDROID"] = True
55774
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
55775
-    DEFINES["HAVE_SYS_UIO_H"] = True
55776
-    DEFINES["WEBRTC_ANDROID"] = True
55777
-    DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
55778
-    DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
55779
-    DEFINES["WEBRTC_LINUX"] = True
55780
-    DEFINES["WEBRTC_POSIX"] = True
55781
-    DEFINES["_GNU_SOURCE"] = True
55782
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
55783
-    DEFINES["__STDC_FORMAT_MACROS"] = True
55784
-
55785
-    OS_LIBS += [
55366
-    OS_LIBS += [
55786
-        "log"
55367
-        "rt"
55787
-    ]
55368
-    ]
55788
-
55369
-
55789
-if CONFIG["OS_TARGET"] == "Darwin":
55790
-
55791
-    DEFINES["WEBRTC_MAC"] = True
55792
-    DEFINES["WEBRTC_POSIX"] = True
55793
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
55794
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
55795
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
55796
-    DEFINES["__STDC_FORMAT_MACROS"] = True
55797
-
55798
-if CONFIG["OS_TARGET"] == "Linux":
55799
-
55800
-    DEFINES["USE_AURA"] = "1"
55801
-    DEFINES["USE_GLIB"] = "1"
55802
-    DEFINES["USE_NSS_CERTS"] = "1"
55803
-    DEFINES["USE_OZONE"] = "1"
55804
-    DEFINES["USE_UDEV"] = True
55805
-    DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
55806
-    DEFINES["WEBRTC_LINUX"] = True
55807
-    DEFINES["WEBRTC_POSIX"] = True
55808
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
55809
-    DEFINES["_LARGEFILE64_SOURCE"] = True
55810
-    DEFINES["_LARGEFILE_SOURCE"] = True
55811
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
55812
-    DEFINES["__STDC_FORMAT_MACROS"] = True
55813
-
55814
-if CONFIG["OS_TARGET"] == "OpenBSD":
55370
-if CONFIG["OS_TARGET"] == "OpenBSD":
55815
-
55371
-
55816
-    DEFINES["USE_GLIB"] = "1"
55372
-    DEFINES["USE_GLIB"] = "1"
Lines 55954-55964 index bdf6228cc4e1..71a2c7a73bad 100644 Link Here
55954
-    DEFINES["_GNU_SOURCE"] = True
55510
-    DEFINES["_GNU_SOURCE"] = True
55955
+    DEFINES["USE_X11"] = "1"
55511
+    DEFINES["USE_X11"] = "1"
55956
 
55512
 
55957
 Library("loss_based_bwe_v1_gn")
55513
 Library("loss_based_bwe_v2_gn")
55958
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
55514
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
55959
index 72c625902ca3..ce9cd35cdad2 100644
55515
index c098912b760f..2f113b89318e 100644
55960
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2_gn/moz.build
55516
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build
55961
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2_gn/moz.build
55517
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build
55962
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
55518
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
55963
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
55519
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
55964
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
55520
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 55981-56209 index 72c625902ca3..ce9cd35cdad2 100644 Link Here
55981
 
55537
 
55982
 FINAL_LIBRARY = "xul"
55538
 FINAL_LIBRARY = "xul"
55983
 
55539
 
55984
@@ -43,189 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
55540
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
55985
 if CONFIG["MOZ_DEBUG"] == "1":
55986
 
55987
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
55988
-
55989
-if CONFIG["OS_TARGET"] == "Android":
55990
-
55991
-    DEFINES["ANDROID"] = True
55992
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
55993
-    DEFINES["HAVE_SYS_UIO_H"] = True
55994
-    DEFINES["WEBRTC_ANDROID"] = True
55995
-    DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
55996
-    DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
55997
-    DEFINES["WEBRTC_LINUX"] = True
55998
-    DEFINES["WEBRTC_POSIX"] = True
55999
-    DEFINES["_GNU_SOURCE"] = True
56000
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
56001
-    DEFINES["__STDC_FORMAT_MACROS"] = True
56002
-
56003
-    OS_LIBS += [
56004
-        "log"
56005
-    ]
56006
-
56007
-if CONFIG["OS_TARGET"] == "Darwin":
56008
-
56009
-    DEFINES["WEBRTC_MAC"] = True
56010
-    DEFINES["WEBRTC_POSIX"] = True
56011
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
56012
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
56013
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
56014
-    DEFINES["__STDC_FORMAT_MACROS"] = True
56015
-
56016
-if CONFIG["OS_TARGET"] == "Linux":
56017
-
56018
-    DEFINES["USE_AURA"] = "1"
56019
-    DEFINES["USE_GLIB"] = "1"
56020
-    DEFINES["USE_NSS_CERTS"] = "1"
56021
-    DEFINES["USE_OZONE"] = "1"
56022
-    DEFINES["USE_UDEV"] = True
56023
-    DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
56024
-    DEFINES["WEBRTC_LINUX"] = True
56025
-    DEFINES["WEBRTC_POSIX"] = True
56026
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
56027
-    DEFINES["_LARGEFILE64_SOURCE"] = True
56028
-    DEFINES["_LARGEFILE_SOURCE"] = True
56029
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
56030
-    DEFINES["__STDC_FORMAT_MACROS"] = True
56031
-
56032
-    OS_LIBS += [
56033
-        "rt"
56034
-    ]
56035
-
56036
-if CONFIG["OS_TARGET"] == "OpenBSD":
56037
-
56038
-    DEFINES["USE_GLIB"] = "1"
56039
-    DEFINES["USE_OZONE"] = "1"
56040
-    DEFINES["USE_X11"] = "1"
56041
-    DEFINES["WEBRTC_BSD"] = True
56042
-    DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
56043
-    DEFINES["WEBRTC_POSIX"] = True
56044
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
56045
-    DEFINES["_LARGEFILE64_SOURCE"] = True
56046
-    DEFINES["_LARGEFILE_SOURCE"] = True
56047
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
56048
-    DEFINES["__STDC_FORMAT_MACROS"] = True
56049
-
56050
-if CONFIG["OS_TARGET"] == "WINNT":
56051
-
56052
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
56053
-    DEFINES["NOMINMAX"] = True
56054
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
56055
-    DEFINES["PSAPI_VERSION"] = "2"
56056
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
56057
-    DEFINES["UNICODE"] = True
56058
-    DEFINES["USE_AURA"] = "1"
56059
-    DEFINES["WEBRTC_WIN"] = True
56060
-    DEFINES["WIN32"] = True
56061
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
56062
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
56063
-    DEFINES["WINVER"] = "0x0A00"
56064
-    DEFINES["_ATL_NO_OPENGL"] = True
56065
-    DEFINES["_CRT_RAND_S"] = True
56066
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
56067
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
56068
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
56069
-    DEFINES["_HAS_NODISCARD"] = True
56070
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
56071
-    DEFINES["_SECURE_ATL"] = True
56072
-    DEFINES["_UNICODE"] = True
56073
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
56074
-    DEFINES["_WINDOWS"] = True
56075
-    DEFINES["__STD_C"] = True
56076
-
56077
-    OS_LIBS += [
56078
-        "crypt32",
56079
-        "iphlpapi",
56080
-        "secur32",
56081
-        "winmm"
56082
-    ]
56083
+    DEFINES["_DEBUG"] = True
56084
 
56085
 if CONFIG["TARGET_CPU"] == "aarch64":
56086
 
56087
     DEFINES["WEBRTC_ARCH_ARM64"] = True
56088
     DEFINES["WEBRTC_HAS_NEON"] = True
56089
 
56090
-if CONFIG["TARGET_CPU"] == "arm":
56091
-
56092
-    CXXFLAGS += [
56093
-        "-mfpu=neon"
56094
-    ]
56095
-
56096
-    DEFINES["WEBRTC_ARCH_ARM"] = True
56097
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
56098
-    DEFINES["WEBRTC_HAS_NEON"] = True
56099
-
56100
 if CONFIG["TARGET_CPU"] == "mips32":
56101
 
56102
     DEFINES["MIPS32_LE"] = True
56103
     DEFINES["MIPS_FPU_LE"] = True
56104
-    DEFINES["_GNU_SOURCE"] = True
56105
-
56106
-if CONFIG["TARGET_CPU"] == "mips64":
56107
-
56108
-    DEFINES["_GNU_SOURCE"] = True
56109
 
56110
 if CONFIG["TARGET_CPU"] == "x86":
56111
 
56112
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
56113
-
56114
-if CONFIG["TARGET_CPU"] == "x86_64":
56115
-
56116
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
56117
-
56118
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
56119
-
56120
-    DEFINES["_DEBUG"] = True
56121
-
56122
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
56123
-
56124
-    DEFINES["_DEBUG"] = True
56125
-
56126
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
56127
-
56128
-    DEFINES["_DEBUG"] = True
56129
-
56130
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
56131
-
56132
-    DEFINES["_DEBUG"] = True
56133
-
56134
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
56135
-
56136
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
56137
-
56138
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
56139
-
56140
-    DEFINES["USE_X11"] = "1"
56141
-
56142
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
56143
-
56144
-    OS_LIBS += [
56145
-        "unwind"
56146
-    ]
56147
-
56148
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
56149
-
56150
     CXXFLAGS += [
56151
         "-msse2"
56152
     ]
56153
 
56154
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
56155
-
56156
-    DEFINES["_GNU_SOURCE"] = True
56157
-
56158
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
56159
-
56160
-    DEFINES["_GNU_SOURCE"] = True
56161
-
56162
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
56163
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
56164
 
56165
-    CXXFLAGS += [
56166
-        "-msse2"
56167
-    ]
56168
+if CONFIG["TARGET_CPU"] == "x86_64":
56169
 
56170
-    DEFINES["_GNU_SOURCE"] = True
56171
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
56172
 
56173
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
56174
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
56175
 
56176
-    DEFINES["_GNU_SOURCE"] = True
56177
+    DEFINES["USE_X11"] = "1"
56178
 
56179
 Library("loss_based_bwe_v2_gn")
56180
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
56181
index cb2bc83d2850..1da5621be1e2 100644
56182
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build
56183
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build
56184
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
56185
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
56186
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
56187
 DEFINES["RTC_ENABLE_VP9"] = True
56188
+DEFINES["USE_GLIB"] = "1"
56189
+DEFINES["USE_OZONE"] = "1"
56190
+DEFINES["WEBRTC_BSD"] = True
56191
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
56192
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
56193
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
56194
 DEFINES["WEBRTC_MOZILLA_BUILD"] = True
56195
 DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
56196
+DEFINES["WEBRTC_POSIX"] = True
56197
 DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
56198
+DEFINES["_FILE_OFFSET_BITS"] = "64"
56199
+DEFINES["_LARGEFILE64_SOURCE"] = True
56200
+DEFINES["_LARGEFILE_SOURCE"] = True
56201
+DEFINES["__STDC_CONSTANT_MACROS"] = True
56202
+DEFINES["__STDC_FORMAT_MACROS"] = True
56203
 
56204
 FINAL_LIBRARY = "xul"
56205
 
56206
@@ -43,185 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
56207
 if CONFIG["MOZ_DEBUG"] == "1":
55541
 if CONFIG["MOZ_DEBUG"] == "1":
56208
 
55542
 
56209
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
55543
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 56396-56402 index cb2bc83d2850..1da5621be1e2 100644 Link Here
56396
 
55730
 
56397
 Library("probe_controller_gn")
55731
 Library("probe_controller_gn")
56398
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
55732
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
56399
index af00c0132302..35073ee314de 100644
55733
index 46255c32429f..b40ba7585db4 100644
56400
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build
55734
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build
56401
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build
55735
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build
56402
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
55736
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 56614-56620 index af00c0132302..35073ee314de 100644 Link Here
56614
 
55948
 
56615
 Library("pushback_controller_gn")
55949
 Library("pushback_controller_gn")
56616
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
55950
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
56617
index 0314d2e9f767..f43abadb7e06 100644
55951
index 3c3f10e984a0..f6d82bf15035 100644
56618
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build
55952
--- third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build
56619
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build
55953
+++ third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build
56620
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
55954
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 56836-56842 index 0314d2e9f767..f43abadb7e06 100644 Link Here
56836
 
56170
 
56837
 Library("send_side_bwe_gn")
56171
 Library("send_side_bwe_gn")
56838
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
56172
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
56839
index 9226c07dda23..7ccf74c4df65 100644
56173
index 51a296016ada..df644e918611 100644
56840
--- third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build
56174
--- third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build
56841
+++ third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build
56175
+++ third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build
56842
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
56176
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 57059-57065 index 9226c07dda23..7ccf74c4df65 100644 Link Here
57059
 
56393
 
57060
 Library("control_handler_gn")
56394
 Library("control_handler_gn")
57061
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
56395
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
57062
index c2b8fead8d15..fb3cad9e95c0 100644
56396
index f1c4138f12f8..b19153fe1086 100644
57063
--- third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build
56397
--- third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build
57064
+++ third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build
56398
+++ third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build
57065
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
56399
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 57281-57287 index c2b8fead8d15..fb3cad9e95c0 100644 Link Here
57281
 
56615
 
57282
 Library("transport_feedback_gn")
56616
 Library("transport_feedback_gn")
57283
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
56617
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
57284
index c876f525cb70..577bf75c2d2a 100644
56618
index 53433ae4de27..4531ffd0c2be 100644
57285
--- third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build
56619
--- third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build
57286
+++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build
56620
+++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build
57287
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
56621
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
Lines 57427-57433 index c876f525cb70..577bf75c2d2a 100644 Link Here
57427
-
56761
-
57428
 Library("desktop_capture_differ_sse2_gn")
56762
 Library("desktop_capture_differ_sse2_gn")
57429
diff --git third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
56763
diff --git third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
57430
index a4fb8b3162bd..f70faede2fba 100644
56764
index 442f60843dcb..4fc9c1ca6af7 100644
57431
--- third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
56765
--- third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
57432
+++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
56766
+++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
57433
@@ -14,11 +14,21 @@ AllowCompilerWarnings()
56767
@@ -14,11 +14,21 @@ AllowCompilerWarnings()
Lines 58058-58064 index a4fb8b3162bd..f70faede2fba 100644 Link Here
58058
 Library("desktop_capture_gn")
57392
 Library("desktop_capture_gn")
58059
diff --git third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build
57393
diff --git third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build
58060
deleted file mode 100644
57394
deleted file mode 100644
58061
index 88222c2ec906..000000000000
57395
index a8051a1743d1..000000000000
58062
--- third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build
57396
--- third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build
58063
+++ /dev/null
57397
+++ /dev/null
58064
@@ -1,79 +0,0 @@
57398
@@ -1,79 +0,0 @@
Lines 58099-58108 index 88222c2ec906..000000000000 Link Here
58099
-    "!/ipc/ipdl/_ipdlheaders",
57433
-    "!/ipc/ipdl/_ipdlheaders",
58100
-    "!/third_party/libwebrtc/gen",
57434
-    "!/third_party/libwebrtc/gen",
58101
-    "/ipc/chromium/src",
57435
-    "/ipc/chromium/src",
57436
-    "/third_party/abseil-cpp/",
58102
-    "/third_party/libwebrtc/",
57437
-    "/third_party/libwebrtc/",
58103
-    "/third_party/libwebrtc/sdk/objc/",
57438
-    "/third_party/libwebrtc/sdk/objc/",
58104
-    "/third_party/libwebrtc/sdk/objc/base/",
57439
-    "/third_party/libwebrtc/sdk/objc/base/",
58105
-    "/third_party/libwebrtc/third_party/abseil-cpp/",
58106
-    "/tools/profiler/public"
57440
-    "/tools/profiler/public"
58107
-]
57441
-]
58108
-
57442
-
Lines 58142-58148 index 88222c2ec906..000000000000 Link Here
58142
-
57476
-
58143
-Library("desktop_capture_objc_gn")
57477
-Library("desktop_capture_objc_gn")
58144
diff --git third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build
57478
diff --git third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build
58145
index 927926f3e987..a578fb9b17ec 100644
57479
index 4414259d7ed7..2771d0e13e8e 100644
58146
--- third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build
57480
--- third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build
58147
+++ third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build
57481
+++ third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build
58148
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
57482
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 58342-58348 index 927926f3e987..a578fb9b17ec 100644 Link Here
58342
     DEFINES["USE_X11"] = "1"
57676
     DEFINES["USE_X11"] = "1"
58343
 
57677
 
58344
diff --git third_party/libwebrtc/modules/module_api_gn/moz.build third_party/libwebrtc/modules/module_api_gn/moz.build
57678
diff --git third_party/libwebrtc/modules/module_api_gn/moz.build third_party/libwebrtc/modules/module_api_gn/moz.build
58345
index 9b77a009fa9e..92a813cfb85e 100644
57679
index 5d16a3e7e5e3..315cc9a4744b 100644
58346
--- third_party/libwebrtc/modules/module_api_gn/moz.build
57680
--- third_party/libwebrtc/modules/module_api_gn/moz.build
58347
+++ third_party/libwebrtc/modules/module_api_gn/moz.build
57681
+++ third_party/libwebrtc/modules/module_api_gn/moz.build
58348
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
57682
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 58529-58535 index 9b77a009fa9e..92a813cfb85e 100644 Link Here
58529
-
57863
-
58530
 Library("module_api_gn")
57864
 Library("module_api_gn")
58531
diff --git third_party/libwebrtc/modules/module_api_public_gn/moz.build third_party/libwebrtc/modules/module_api_public_gn/moz.build
57865
diff --git third_party/libwebrtc/modules/module_api_public_gn/moz.build third_party/libwebrtc/modules/module_api_public_gn/moz.build
58532
index 474dec612359..81d04236da2b 100644
57866
index 38f4c929ebff..168eb7351127 100644
58533
--- third_party/libwebrtc/modules/module_api_public_gn/moz.build
57867
--- third_party/libwebrtc/modules/module_api_public_gn/moz.build
58534
+++ third_party/libwebrtc/modules/module_api_public_gn/moz.build
57868
+++ third_party/libwebrtc/modules/module_api_public_gn/moz.build
58535
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
57869
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 58716-58722 index 474dec612359..81d04236da2b 100644 Link Here
58716
-
58050
-
58717
 Library("module_api_public_gn")
58051
 Library("module_api_public_gn")
58718
diff --git third_party/libwebrtc/modules/module_fec_api_gn/moz.build third_party/libwebrtc/modules/module_fec_api_gn/moz.build
58052
diff --git third_party/libwebrtc/modules/module_fec_api_gn/moz.build third_party/libwebrtc/modules/module_fec_api_gn/moz.build
58719
index b69c69c3118c..05c37b4ffe8b 100644
58053
index 2c8d429c9230..2bde83c69b9b 100644
58720
--- third_party/libwebrtc/modules/module_fec_api_gn/moz.build
58054
--- third_party/libwebrtc/modules/module_fec_api_gn/moz.build
58721
+++ third_party/libwebrtc/modules/module_fec_api_gn/moz.build
58055
+++ third_party/libwebrtc/modules/module_fec_api_gn/moz.build
58722
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
58056
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 58903-58909 index b69c69c3118c..05c37b4ffe8b 100644 Link Here
58903
-
58237
-
58904
 Library("module_fec_api_gn")
58238
 Library("module_fec_api_gn")
58905
diff --git third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build
58239
diff --git third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build
58906
index 2e3ab3d9878e..8cefa46cec03 100644
58240
index 4b4e2e1bf40e..29813cdd4a0a 100644
58907
--- third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build
58241
--- third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build
58908
+++ third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build
58242
+++ third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build
58909
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
58243
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 59114-59120 index 2e3ab3d9878e..8cefa46cec03 100644 Link Here
59114
 
58448
 
59115
 Library("interval_budget_gn")
58449
 Library("interval_budget_gn")
59116
diff --git third_party/libwebrtc/modules/pacing/pacing_gn/moz.build third_party/libwebrtc/modules/pacing/pacing_gn/moz.build
58450
diff --git third_party/libwebrtc/modules/pacing/pacing_gn/moz.build third_party/libwebrtc/modules/pacing/pacing_gn/moz.build
59117
index d7aa189ef37b..ba9c8323abb3 100644
58451
index f713d0737f63..d6ad3940e48c 100644
59118
--- third_party/libwebrtc/modules/pacing/pacing_gn/moz.build
58452
--- third_party/libwebrtc/modules/pacing/pacing_gn/moz.build
59119
+++ third_party/libwebrtc/modules/pacing/pacing_gn/moz.build
58453
+++ third_party/libwebrtc/modules/pacing/pacing_gn/moz.build
59120
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
58454
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 59337-59343 index d7aa189ef37b..ba9c8323abb3 100644 Link Here
59337
 
58671
 
59338
 Library("pacing_gn")
58672
 Library("pacing_gn")
59339
diff --git third_party/libwebrtc/modules/portal/portal_gn/moz.build third_party/libwebrtc/modules/portal/portal_gn/moz.build
58673
diff --git third_party/libwebrtc/modules/portal/portal_gn/moz.build third_party/libwebrtc/modules/portal/portal_gn/moz.build
59340
index 93af22612ea0..d0d2d4a27fe2 100644
58674
index 9223eed155e0..e7bc6ef35536 100644
59341
--- third_party/libwebrtc/modules/portal/portal_gn/moz.build
58675
--- third_party/libwebrtc/modules/portal/portal_gn/moz.build
59342
+++ third_party/libwebrtc/modules/portal/portal_gn/moz.build
58676
+++ third_party/libwebrtc/modules/portal/portal_gn/moz.build
59343
@@ -14,22 +14,18 @@ AllowCompilerWarnings()
58677
@@ -14,22 +14,18 @@ AllowCompilerWarnings()
Lines 59391-59397 index 93af22612ea0..d0d2d4a27fe2 100644 Link Here
59391
     DEFINES["USE_X11"] = "1"
58725
     DEFINES["USE_X11"] = "1"
59392
 
58726
 
59393
diff --git third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build
58727
diff --git third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build
59394
index fa0e8cc1c8f2..26732fc4bc22 100644
58728
index 2f721caab1e2..25140607e5bc 100644
59395
--- third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build
58729
--- third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build
59396
+++ third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build
58730
+++ third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build
59397
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
58731
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 59613-59619 index fa0e8cc1c8f2..26732fc4bc22 100644 Link Here
59613
 
58947
 
59614
 Library("congestion_control_feedback_generator_gn")
58948
 Library("congestion_control_feedback_generator_gn")
59615
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
58949
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
59616
index 121be23bf87b..f174efad3e75 100644
58950
index 70b2e3fe3590..a71d5913ebff 100644
59617
--- third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build
58951
--- third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build
59618
+++ third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build
58952
+++ third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build
59619
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
58953
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 59835-59841 index 121be23bf87b..f174efad3e75 100644 Link Here
59835
 
59169
 
59836
 Library("remote_bitrate_estimator_gn")
59170
 Library("remote_bitrate_estimator_gn")
59837
diff --git third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build
59171
diff --git third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build
59838
index 9e1e50f3e0e2..888e4d1d91b8 100644
59172
index a0d7d7e0ac3e..bc541e8676ac 100644
59839
--- third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build
59173
--- third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build
59840
+++ third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build
59174
+++ third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build
59841
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
59175
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 60037-60043 index 9e1e50f3e0e2..888e4d1d91b8 100644 Link Here
60037
-
59371
-
60038
 Library("rtp_transport_feedback_generator_gn")
59372
 Library("rtp_transport_feedback_generator_gn")
60039
diff --git third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build
59373
diff --git third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build
60040
index d9396081112f..bd5d9c4bfc37 100644
59374
index 3cdc29623f2c..e30dd2e3927c 100644
60041
--- third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build
59375
--- third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build
60042
+++ third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build
59376
+++ third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build
60043
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
59377
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 60259-60265 index d9396081112f..bd5d9c4bfc37 100644 Link Here
60259
 
59593
 
60260
 Library("transport_sequence_number_feedback_generator_gn")
59594
 Library("transport_sequence_number_feedback_generator_gn")
60261
diff --git third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build
59595
diff --git third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build
60262
index 6e1dfd18c099..42e99603f4f1 100644
59596
index db194c628d2d..a2430c8c2d4a 100644
60263
--- third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build
59597
--- third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build
60264
+++ third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build
59598
+++ third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build
60265
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
59599
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 60466-60472 index 6e1dfd18c099..42e99603f4f1 100644 Link Here
60466
 
59800
 
60467
 Library("leb128_gn")
59801
 Library("leb128_gn")
60468
diff --git third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build
59802
diff --git third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build
60469
index d3c4652d07e2..82c66ea467fa 100644
59803
index 82edd9452695..72027e714057 100644
60470
--- third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build
59804
--- third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build
60471
+++ third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build
59805
+++ third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build
60472
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
59806
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 60688-60694 index d3c4652d07e2..82c66ea467fa 100644 Link Here
60688
 
60022
 
60689
 Library("ntp_time_util_gn")
60023
 Library("ntp_time_util_gn")
60690
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
60024
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
60691
index ef123804746a..1acac7401f6f 100644
60025
index ffa92866f60b..b75c22cf4b04 100644
60692
--- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build
60026
--- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build
60693
+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build
60027
+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build
60694
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
60028
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 60910-60916 index ef123804746a..1acac7401f6f 100644 Link Here
60910
 
60244
 
60911
 Library("rtp_rtcp_format_gn")
60245
 Library("rtp_rtcp_format_gn")
60912
diff --git third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
60246
diff --git third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
60913
index 18691e659af3..abd8389b1a2f 100644
60247
index 91531e0c5ff8..bc8d83a926fc 100644
60914
--- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
60248
--- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
60915
+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
60249
+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
60916
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
60250
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 61133-61139 index 18691e659af3..abd8389b1a2f 100644 Link Here
61133
 
60467
 
61134
 Library("rtp_rtcp_gn")
60468
 Library("rtp_rtcp_gn")
61135
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
60469
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
61136
index bdee5bedc6db..1e2ecfd55661 100644
60470
index 2c4f89592394..77640b3fd28f 100644
61137
--- third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build
60471
--- third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build
61138
+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build
60472
+++ third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build
61139
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
60473
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 61351-61357 index bdee5bedc6db..1e2ecfd55661 100644 Link Here
61351
 
60685
 
61352
 Library("rtp_video_header_gn")
60686
 Library("rtp_video_header_gn")
61353
diff --git third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build
60687
diff --git third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build
61354
index 9afa4154ee37..d211f0d4e0c2 100644
60688
index 855a7c640e94..b6feb3008fb9 100644
61355
--- third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build
60689
--- third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build
61356
+++ third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build
60690
+++ third_party/libwebrtc/modules/third_party/fft/fft_gn/moz.build
61357
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
60691
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 61558-61564 index 9afa4154ee37..d211f0d4e0c2 100644 Link Here
61558
 
60892
 
61559
 Library("fft_gn")
60893
 Library("fft_gn")
61560
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
60894
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
61561
index 2fa1910cc844..6accc1d41aba 100644
60895
index e49c5be29664..00ffb0ed1510 100644
61562
--- third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build
60896
--- third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build
61563
+++ third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build
60897
+++ third_party/libwebrtc/modules/third_party/g711/g711_3p_gn/moz.build
61564
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
60898
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 61765-61771 index 2fa1910cc844..6accc1d41aba 100644 Link Here
61765
 
61099
 
61766
 Library("g711_3p_gn")
61100
 Library("g711_3p_gn")
61767
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
61101
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
61768
index d1ff3aaad348..f7b9d5799283 100644
61102
index 35318f094ae1..a9c333b6f5c3 100644
61769
--- third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build
61103
--- third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build
61770
+++ third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build
61104
+++ third_party/libwebrtc/modules/third_party/g722/g722_3p_gn/moz.build
61771
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
61105
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 61972-61978 index d1ff3aaad348..f7b9d5799283 100644 Link Here
61972
 
61306
 
61973
 Library("g722_3p_gn")
61307
 Library("g722_3p_gn")
61974
diff --git third_party/libwebrtc/modules/utility/utility_gn/moz.build third_party/libwebrtc/modules/utility/utility_gn/moz.build
61308
diff --git third_party/libwebrtc/modules/utility/utility_gn/moz.build third_party/libwebrtc/modules/utility/utility_gn/moz.build
61975
index 97d828d64fc1..bd10964445c7 100644
61309
index 08951c311a33..c62a0644df9e 100644
61976
--- third_party/libwebrtc/modules/utility/utility_gn/moz.build
61310
--- third_party/libwebrtc/modules/utility/utility_gn/moz.build
61977
+++ third_party/libwebrtc/modules/utility/utility_gn/moz.build
61311
+++ third_party/libwebrtc/modules/utility/utility_gn/moz.build
61978
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
61312
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 62177-62183 index 97d828d64fc1..bd10964445c7 100644 Link Here
62177
-
61511
-
62178
 Library("utility_gn")
61512
 Library("utility_gn")
62179
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
61513
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
62180
index 6af27f618bcd..d418565bbd05 100644
61514
index ce9b51191cb9..6555d80c5d30 100644
62181
--- third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build
61515
--- third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build
62182
+++ third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build
61516
+++ third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build
62183
@@ -14,11 +14,21 @@ AllowCompilerWarnings()
61517
@@ -14,11 +14,21 @@ AllowCompilerWarnings()
Lines 62499-62505 index 6af27f618bcd..d418565bbd05 100644 Link Here
62499
+
61833
+
62500
 Library("video_capture_internal_impl_gn")
61834
 Library("video_capture_internal_impl_gn")
62501
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
61835
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
62502
index 145e54928644..d53c45076c66 100644
61836
index c0bac4064793..4eb71efbc14c 100644
62503
--- third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build
61837
--- third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build
62504
+++ third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build
61838
+++ third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build
62505
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
61839
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 62721-62727 index 145e54928644..d53c45076c66 100644 Link Here
62721
 
62055
 
62722
 Library("video_capture_module_gn")
62056
 Library("video_capture_module_gn")
62723
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
62057
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
62724
index 065cf604b5d3..e9eebffdbcd2 100644
62058
index 4d13e69f7bff..b8464560a1ad 100644
62725
--- third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build
62059
--- third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build
62726
+++ third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build
62060
+++ third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build
62727
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
62061
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 62939-62945 index 065cf604b5d3..e9eebffdbcd2 100644 Link Here
62939
 
62273
 
62940
 Library("chain_diff_calculator_gn")
62274
 Library("chain_diff_calculator_gn")
62941
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
62275
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
62942
index 53a7fc384c3d..bd7362a67f30 100644
62276
index 7fd4ec68f2ef..487bebc3649e 100644
62943
--- third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build
62277
--- third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build
62944
+++ third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build
62278
+++ third_party/libwebrtc/modules/video_coding/codec_globals_headers_gn/moz.build
62945
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
62279
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 63130-63136 index 53a7fc384c3d..bd7362a67f30 100644 Link Here
63130
-
62464
-
63131
 Library("codec_globals_headers_gn")
62465
 Library("codec_globals_headers_gn")
63132
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
62466
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
63133
index b9784482e9bd..d6db6b79cea3 100644
62467
index 68e07db4ea7b..a8e1a60ea02f 100644
63134
--- third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build
62468
--- third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build
63135
+++ third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build
62469
+++ third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build
63136
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
62470
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 63348-63354 index b9784482e9bd..d6db6b79cea3 100644 Link Here
63348
 
62682
 
63349
 Library("av1_svc_config_gn")
62683
 Library("av1_svc_config_gn")
63350
diff --git third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build
62684
diff --git third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build
63351
index a086f7cb0b6f..6b870ee54300 100644
62685
index ff8f03e9900d..0e1fb2879b0d 100644
63352
--- third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build
62686
--- third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build
63353
+++ third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build
62687
+++ third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build
63354
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
62688
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 63570-63576 index a086f7cb0b6f..6b870ee54300 100644 Link Here
63570
 
62904
 
63571
 Library("encoded_frame_gn")
62905
 Library("encoded_frame_gn")
63572
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
62906
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
63573
index e8fdf3750a0c..a7f10d9ed7a9 100644
62907
index a353fa0c1a55..92c1f6a29021 100644
63574
--- third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build
62908
--- third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build
63575
+++ third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build
62909
+++ third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build
63576
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
62910
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 63788-63794 index e8fdf3750a0c..a7f10d9ed7a9 100644 Link Here
63788
 
63122
 
63789
 Library("frame_dependencies_calculator_gn")
63123
 Library("frame_dependencies_calculator_gn")
63790
diff --git third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build
63124
diff --git third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build
63791
index ecd9c1dd8d37..864af3b1dda1 100644
63125
index 23f3426af9e8..22403ec92671 100644
63792
--- third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build
63126
--- third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build
63793
+++ third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build
63127
+++ third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build
63794
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
63128
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 64006-64012 index ecd9c1dd8d37..864af3b1dda1 100644 Link Here
64006
 
63340
 
64007
 Library("frame_helpers_gn")
63341
 Library("frame_helpers_gn")
64008
diff --git third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build
63342
diff --git third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build
64009
index b92c2ed52823..0573b18d11d4 100644
63343
index 293c5a94474f..62c22e5056b2 100644
64010
--- third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build
63344
--- third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build
64011
+++ third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build
63345
+++ third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build
64012
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
63346
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 64224-64230 index b92c2ed52823..0573b18d11d4 100644 Link Here
64224
 
63558
 
64225
 Library("h264_sprop_parameter_sets_gn")
63559
 Library("h264_sprop_parameter_sets_gn")
64226
diff --git third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build
63560
diff --git third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build
64227
index 92267a7c583f..98e803b7c4c1 100644
63561
index 61b529cd9a1d..b355a983b2d8 100644
64228
--- third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build
63562
--- third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build
64229
+++ third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build
63563
+++ third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build
64230
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
63564
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 64446-64452 index 92267a7c583f..98e803b7c4c1 100644 Link Here
64446
 
63780
 
64447
 Library("h26x_packet_buffer_gn")
63781
 Library("h26x_packet_buffer_gn")
64448
diff --git third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build
63782
diff --git third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build
64449
index 187cf6089c53..45337d14f78e 100644
63783
index 81bf962b0588..8f93120e2188 100644
64450
--- third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build
63784
--- third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build
64451
+++ third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build
63785
+++ third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build
64452
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
63786
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 64668-64674 index 187cf6089c53..45337d14f78e 100644 Link Here
64668
 
64002
 
64669
 Library("nack_requester_gn")
64003
 Library("nack_requester_gn")
64670
diff --git third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build
64004
diff --git third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build
64671
index 09929b1d482a..f3d5f329d665 100644
64005
index deb0e75d02d7..db30a57d3619 100644
64672
--- third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build
64006
--- third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build
64673
+++ third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build
64007
+++ third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build
64674
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
64008
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 64890-64896 index 09929b1d482a..f3d5f329d665 100644 Link Here
64890
 
64224
 
64891
 Library("packet_buffer_gn")
64225
 Library("packet_buffer_gn")
64892
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
64226
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
64893
index 698684346412..da2c255ee0fc 100644
64227
index a927c852333b..b397b36748b0 100644
64894
--- third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build
64228
--- third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build
64895
+++ third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build
64229
+++ third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build
64896
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
64230
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 65108-65114 index 698684346412..da2c255ee0fc 100644 Link Here
65108
 
64442
 
65109
 Library("scalability_mode_util_gn")
64443
 Library("scalability_mode_util_gn")
65110
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
64444
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
65111
index 88f469760f7f..e0bfc360efea 100644
64445
index 7d99ca631f7f..027e9e9fcecf 100644
65112
--- third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build
64446
--- third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build
65113
+++ third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build
64447
+++ third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build
65114
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
64448
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 65326-65332 index 88f469760f7f..e0bfc360efea 100644 Link Here
65326
 
64660
 
65327
 Library("scalability_structures_gn")
64661
 Library("scalability_structures_gn")
65328
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
64662
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
65329
index d09a4aed3ab5..8d6c549ef978 100644
64663
index de65ae6081b2..c29bf99a9498 100644
65330
--- third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build
64664
--- third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build
65331
+++ third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build
64665
+++ third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build
65332
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
64666
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 65537-65543 index d09a4aed3ab5..8d6c549ef978 100644 Link Here
65537
 
64871
 
65538
 Library("scalable_video_controller_gn")
64872
 Library("scalable_video_controller_gn")
65539
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
64873
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
65540
index 2bd3634ba957..a7a401eb155d 100644
64874
index 9ac42accf0a2..5dafc0fe81fb 100644
65541
--- third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build
64875
--- third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build
65542
+++ third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build
64876
+++ third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build
65543
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
64877
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 65755-65761 index 2bd3634ba957..a7a401eb155d 100644 Link Here
65755
 
65089
 
65756
 Library("svc_rate_allocator_gn")
65090
 Library("svc_rate_allocator_gn")
65757
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
65091
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
65758
index 9c48932149b9..8bbe558a2477 100644
65092
index edf94ba576b4..8a9cc2f130a3 100644
65759
--- third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build
65093
--- third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build
65760
+++ third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build
65094
+++ third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build
65761
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
65095
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 65966-65972 index 9c48932149b9..8bbe558a2477 100644 Link Here
65966
 
65300
 
65967
 Library("decode_time_percentile_filter_gn")
65301
 Library("decode_time_percentile_filter_gn")
65968
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
65302
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
65969
index 0e5991cffd44..8c91c74e87f1 100644
65303
index 33b768c83d9b..d78cb90bc9fb 100644
65970
--- third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build
65304
--- third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build
65971
+++ third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build
65305
+++ third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build
65972
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
65306
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 66177-66183 index 0e5991cffd44..8c91c74e87f1 100644 Link Here
66177
 
65511
 
66178
 Library("frame_delay_variation_kalman_filter_gn")
65512
 Library("frame_delay_variation_kalman_filter_gn")
66179
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
65513
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
66180
index a311c4a8024c..72c2e8f95f30 100644
65514
index 2e60885cc8ad..8067370152f8 100644
66181
--- third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build
65515
--- third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build
66182
+++ third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build
65516
+++ third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build
66183
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
65517
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 66388-66394 index a311c4a8024c..72c2e8f95f30 100644 Link Here
66388
 
65722
 
66389
 Library("inter_frame_delay_variation_calculator_gn")
65723
 Library("inter_frame_delay_variation_calculator_gn")
66390
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
65724
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
66391
index 6d87c74bd732..42312fbebab1 100644
65725
index 93e4dc45ce3b..31f81ae96c73 100644
66392
--- third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build
65726
--- third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build
66393
+++ third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build
65727
+++ third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build
66394
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
65728
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 66610-66616 index 6d87c74bd732..42312fbebab1 100644 Link Here
66610
 
65944
 
66611
 Library("jitter_estimator_gn")
65945
 Library("jitter_estimator_gn")
66612
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
65946
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
66613
index e05eebc11f52..362ec70ca4a8 100644
65947
index 38d5005afb1d..59039b3cb5bb 100644
66614
--- third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build
65948
--- third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build
66615
+++ third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build
65949
+++ third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build
66616
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
65950
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 66821-66827 index e05eebc11f52..362ec70ca4a8 100644 Link Here
66821
 
66155
 
66822
 Library("rtt_filter_gn")
66156
 Library("rtt_filter_gn")
66823
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
66157
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
66824
index 10e36ea24cf2..f02054e9631b 100644
66158
index f8c4616bcda2..d3036cbe8185 100644
66825
--- third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build
66159
--- third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build
66826
+++ third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build
66160
+++ third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build
66827
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
66161
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 67032-67038 index 10e36ea24cf2..f02054e9631b 100644 Link Here
67032
 
66366
 
67033
 Library("timestamp_extrapolator_gn")
66367
 Library("timestamp_extrapolator_gn")
67034
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
66368
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
67035
index 2ab95ef62991..4f51ffc604ee 100644
66369
index d517c26f4ee2..e6bb2e193cad 100644
67036
--- third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build
66370
--- third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build
67037
+++ third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build
66371
+++ third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build
67038
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
66372
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 67254-67260 index 2ab95ef62991..4f51ffc604ee 100644 Link Here
67254
 
66588
 
67255
 Library("timing_module_gn")
66589
 Library("timing_module_gn")
67256
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
66590
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
67257
index 0e18b1aecaed..838e14e931d2 100644
66591
index dfd036b7704b..e4e3248b0090 100644
67258
--- third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build
66592
--- third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build
67259
+++ third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build
66593
+++ third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build
67260
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
66594
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 67472-67478 index 0e18b1aecaed..838e14e931d2 100644 Link Here
67472
 
66806
 
67473
 Library("video_codec_interface_gn")
66807
 Library("video_codec_interface_gn")
67474
diff --git third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build
66808
diff --git third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build
67475
index 01a6429d0cdf..9e61bd48387a 100644
66809
index 35788afdc052..d43548f8655e 100644
67476
--- third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build
66810
--- third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build
67477
+++ third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build
66811
+++ third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build
67478
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
66812
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 67695-67701 index 01a6429d0cdf..9e61bd48387a 100644 Link Here
67695
 
67029
 
67696
 Library("video_coding_gn")
67030
 Library("video_coding_gn")
67697
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
67031
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
67698
index 75698c304f78..89bf22a8c48f 100644
67032
index 73901879e767..8b8fa78c72ef 100644
67699
--- third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build
67033
--- third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build
67700
+++ third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build
67034
+++ third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build
67701
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
67035
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 67918-67924 index 75698c304f78..89bf22a8c48f 100644 Link Here
67918
 
67252
 
67919
 Library("video_coding_utility_gn")
67253
 Library("video_coding_utility_gn")
67920
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
67254
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
67921
index ce59cc861c99..d9cbac447de8 100644
67255
index e94a117cf5ae..590a98e740ab 100644
67922
--- third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build
67256
--- third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build
67923
+++ third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build
67257
+++ third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build
67924
@@ -15,11 +15,21 @@ AllowCompilerWarnings()
67258
@@ -15,11 +15,21 @@ AllowCompilerWarnings()
Lines 68129-68135 index ce59cc861c99..d9cbac447de8 100644 Link Here
68129
 
67463
 
68130
 Library("webrtc_libvpx_interface_gn")
67464
 Library("webrtc_libvpx_interface_gn")
68131
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build
67465
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build
68132
index 352458cf8e21..965ef96422be 100644
67466
index a0a827f8c662..4527fc66f0aa 100644
68133
--- third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build
67467
--- third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build
68134
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build
67468
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build
68135
@@ -15,11 +15,21 @@ AllowCompilerWarnings()
67469
@@ -15,11 +15,21 @@ AllowCompilerWarnings()
Lines 68352-68358 index 352458cf8e21..965ef96422be 100644 Link Here
68352
 
67686
 
68353
 Library("webrtc_vp8_gn")
67687
 Library("webrtc_vp8_gn")
68354
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
67688
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
68355
index 0338ba659e01..f1da16b805a7 100644
67689
index c6c24c5e660a..937c21caa208 100644
68356
--- third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build
67690
--- third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build
68357
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build
67691
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build
68358
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
67692
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 68563-68569 index 0338ba659e01..f1da16b805a7 100644 Link Here
68563
 
67897
 
68564
 Library("webrtc_vp8_scalability_gn")
67898
 Library("webrtc_vp8_scalability_gn")
68565
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
67899
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
68566
index d7ae0d5805b3..9ebd70792c7b 100644
67900
index 9e4b59514b55..dac11fbcb08f 100644
68567
--- third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build
67901
--- third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build
68568
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build
67902
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build
68569
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
67903
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 68786-68792 index d7ae0d5805b3..9ebd70792c7b 100644 Link Here
68786
 
68120
 
68787
 Library("webrtc_vp8_temporal_layers_gn")
68121
 Library("webrtc_vp8_temporal_layers_gn")
68788
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build
68122
diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build
68789
index c0d16a8e5163..1cf6175508db 100644
68123
index 79230cbf3497..29e952cba05b 100644
68790
--- third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build
68124
--- third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build
68791
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build
68125
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build
68792
@@ -15,11 +15,21 @@ AllowCompilerWarnings()
68126
@@ -15,11 +15,21 @@ AllowCompilerWarnings()
Lines 69009-69015 index c0d16a8e5163..1cf6175508db 100644 Link Here
69009
 
68343
 
69010
 Library("webrtc_vp9_gn")
68344
 Library("webrtc_vp9_gn")
69011
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
68345
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
69012
index 6abd453136c9..c0f5ab3b81ef 100644
68346
index 2c74ca51d93a..3a3dc9df3751 100644
69013
--- third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build
68347
--- third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build
69014
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build
68348
+++ third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build
69015
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
68349
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 69227-69236 index 6abd453136c9..c0f5ab3b81ef 100644 Link Here
69227
 
68561
 
69228
 Library("webrtc_vp9_helpers_gn")
68562
 Library("webrtc_vp9_helpers_gn")
69229
diff --git third_party/libwebrtc/moz.build third_party/libwebrtc/moz.build
68563
diff --git third_party/libwebrtc/moz.build third_party/libwebrtc/moz.build
69230
index be3997a5c6c4..a7a18e6099ab 100644
68564
index 8e02964e731d..b254d0960ed8 100644
69231
--- third_party/libwebrtc/moz.build
68565
--- third_party/libwebrtc/moz.build
69232
+++ third_party/libwebrtc/moz.build
68566
+++ third_party/libwebrtc/moz.build
69233
@@ -275,6 +275,8 @@ DIRS += [
68567
@@ -272,6 +272,8 @@ DIRS += [
69234
     "/third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn",
68568
     "/third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn",
69235
     "/third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn",
68569
     "/third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn",
69236
     "/third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn",
68570
     "/third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn",
Lines 69239-69245 index be3997a5c6c4..a7a18e6099ab 100644 Link Here
69239
     "/third_party/libwebrtc/modules/module_api_gn",
68573
     "/third_party/libwebrtc/modules/module_api_gn",
69240
     "/third_party/libwebrtc/modules/module_api_public_gn",
68574
     "/third_party/libwebrtc/modules/module_api_public_gn",
69241
     "/third_party/libwebrtc/modules/module_fec_api_gn",
68575
     "/third_party/libwebrtc/modules/module_fec_api_gn",
69242
@@ -477,102 +479,11 @@ DIRS += [
68576
@@ -446,102 +448,11 @@ DIRS += [
69243
     "/third_party/libwebrtc/webrtc_gn"
68577
     "/third_party/libwebrtc/webrtc_gn"
69244
 ]
68578
 ]
69245
 
68579
 
Lines 69343-69349 index be3997a5c6c4..a7a18e6099ab 100644 Link Here
69343
         "/third_party/libwebrtc/modules/portal/portal_gn",
68677
         "/third_party/libwebrtc/modules/portal/portal_gn",
69344
         "/third_party/libwebrtc/third_party/drm/drm_gn",
68678
         "/third_party/libwebrtc/third_party/drm/drm_gn",
69345
         "/third_party/libwebrtc/third_party/gbm/gbm_gn",
68679
         "/third_party/libwebrtc/third_party/gbm/gbm_gn",
69346
@@ -580,26 +491,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
68680
@@ -549,26 +460,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
69347
         "/third_party/libwebrtc/third_party/pipewire/pipewire_gn"
68681
         "/third_party/libwebrtc/third_party/pipewire/pipewire_gn"
69348
     ]
68682
     ]
69349
 
68683
 
Lines 69371-69377 index be3997a5c6c4..a7a18e6099ab 100644 Link Here
69371
         "/third_party/libwebrtc/modules/portal/portal_gn",
68705
         "/third_party/libwebrtc/modules/portal/portal_gn",
69372
         "/third_party/libwebrtc/third_party/drm/drm_gn",
68706
         "/third_party/libwebrtc/third_party/drm/drm_gn",
69373
         "/third_party/libwebrtc/third_party/gbm/gbm_gn",
68707
         "/third_party/libwebrtc/third_party/gbm/gbm_gn",
69374
@@ -607,11 +501,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips32":
68708
@@ -576,11 +470,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips32":
69375
         "/third_party/libwebrtc/third_party/pipewire/pipewire_gn"
68709
         "/third_party/libwebrtc/third_party/pipewire/pipewire_gn"
69376
     ]
68710
     ]
69377
 
68711
 
Lines 69384-69390 index be3997a5c6c4..a7a18e6099ab 100644 Link Here
69384
         "/third_party/libwebrtc/modules/portal/portal_gn",
68718
         "/third_party/libwebrtc/modules/portal/portal_gn",
69385
         "/third_party/libwebrtc/third_party/drm/drm_gn",
68719
         "/third_party/libwebrtc/third_party/drm/drm_gn",
69386
         "/third_party/libwebrtc/third_party/gbm/gbm_gn",
68720
         "/third_party/libwebrtc/third_party/gbm/gbm_gn",
69387
@@ -619,7 +511,7 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips64":
68721
@@ -588,7 +480,7 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips64":
69388
         "/third_party/libwebrtc/third_party/pipewire/pipewire_gn"
68722
         "/third_party/libwebrtc/third_party/pipewire/pipewire_gn"
69389
     ]
68723
     ]
69390
 
68724
 
Lines 69393-69399 index be3997a5c6c4..a7a18e6099ab 100644 Link Here
69393
 
68727
 
69394
     DIRS += [
68728
     DIRS += [
69395
         "/third_party/libwebrtc/common_audio/common_audio_avx2_gn",
68729
         "/third_party/libwebrtc/common_audio/common_audio_avx2_gn",
69396
@@ -627,8 +519,6 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
68730
@@ -596,8 +488,6 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
69397
         "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn",
68731
         "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn",
69398
         "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn",
68732
         "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn",
69399
         "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn",
68733
         "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn",
Lines 69402-69408 index be3997a5c6c4..a7a18e6099ab 100644 Link Here
69402
         "/third_party/libwebrtc/modules/portal/portal_gn",
68736
         "/third_party/libwebrtc/modules/portal/portal_gn",
69403
         "/third_party/libwebrtc/third_party/drm/drm_gn",
68737
         "/third_party/libwebrtc/third_party/drm/drm_gn",
69404
         "/third_party/libwebrtc/third_party/gbm/gbm_gn",
68738
         "/third_party/libwebrtc/third_party/gbm/gbm_gn",
69405
@@ -636,7 +526,7 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
68739
@@ -605,7 +495,7 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
69406
         "/third_party/libwebrtc/third_party/pipewire/pipewire_gn"
68740
         "/third_party/libwebrtc/third_party/pipewire/pipewire_gn"
69407
     ]
68741
     ]
69408
 
68742
 
Lines 69411-69417 index be3997a5c6c4..a7a18e6099ab 100644 Link Here
69411
 
68745
 
69412
     DIRS += [
68746
     DIRS += [
69413
         "/third_party/libwebrtc/common_audio/common_audio_avx2_gn",
68747
         "/third_party/libwebrtc/common_audio/common_audio_avx2_gn",
69414
@@ -644,69 +534,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
68748
@@ -613,69 +503,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
69415
         "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn",
68749
         "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn",
69416
         "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn",
68750
         "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn",
69417
         "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn",
68751
         "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn",
Lines 69482-69488 index be3997a5c6c4..a7a18e6099ab 100644 Link Here
69482
-        "/third_party/libwebrtc/modules/desktop_capture/primitives_gn"
68816
-        "/third_party/libwebrtc/modules/desktop_capture/primitives_gn"
69483
-    ]
68817
-    ]
69484
diff --git third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build
68818
diff --git third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build
69485
index 415f09cfd1fe..de5b867157f4 100644
68819
index 04a6adf96394..88b861565869 100644
69486
--- third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build
68820
--- third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build
69487
+++ third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build
68821
+++ third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build
69488
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
68822
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 69701-69707 index 415f09cfd1fe..de5b867157f4 100644 Link Here
69701
 
69035
 
69702
 Library("async_dns_resolver_gn")
69036
 Library("async_dns_resolver_gn")
69703
diff --git third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build
69037
diff --git third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build
69704
index 9f3ce4d4b600..fb11aa9b0f1c 100644
69038
index 9337d72a6bc5..4a1391f2f165 100644
69705
--- third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build
69039
--- third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build
69706
+++ third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build
69040
+++ third_party/libwebrtc/rtc_base/async_packet_socket_gn/moz.build
69707
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
69041
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 69888-69894 index 9f3ce4d4b600..fb11aa9b0f1c 100644 Link Here
69888
-
69222
-
69889
 Library("async_packet_socket_gn")
69223
 Library("async_packet_socket_gn")
69890
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
69224
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
69891
index 70a2aa730b19..27f099ef7b90 100644
69225
index 6d057c77d749..b47f3bd09377 100644
69892
--- third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build
69226
--- third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build
69893
+++ third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build
69227
+++ third_party/libwebrtc/rtc_base/audio_format_to_string_gn/moz.build
69894
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
69228
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 70106-70112 index 70a2aa730b19..27f099ef7b90 100644 Link Here
70106
 
69440
 
70107
 Library("audio_format_to_string_gn")
69441
 Library("audio_format_to_string_gn")
70108
diff --git third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build
69442
diff --git third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build
70109
index 3dfd3b19d24b..933e5434bf8c 100644
69443
index b9848a28795a..1d5ffe5e020b 100644
70110
--- third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build
69444
--- third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build
70111
+++ third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build
69445
+++ third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build
70112
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
69446
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 70317-70323 index 3dfd3b19d24b..933e5434bf8c 100644 Link Here
70317
 
69651
 
70318
 Library("bit_buffer_gn")
69652
 Library("bit_buffer_gn")
70319
diff --git third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build
69653
diff --git third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build
70320
index 7b1ba50f99cf..b05e27ad3426 100644
69654
index 3019986ef2ea..5d90cb6ec00f 100644
70321
--- third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build
69655
--- third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build
70322
+++ third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build
69656
+++ third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build
70323
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
69657
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 70535-70541 index 7b1ba50f99cf..b05e27ad3426 100644 Link Here
70535
 
69869
 
70536
 Library("bitrate_tracker_gn")
69870
 Library("bitrate_tracker_gn")
70537
diff --git third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build
69871
diff --git third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build
70538
index c82c4c9965bf..36b9f5b6c119 100644
69872
index 08b85e88db60..446ec6fc995d 100644
70539
--- third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build
69873
--- third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build
70540
+++ third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build
69874
+++ third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build
70541
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
69875
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 70746-70752 index c82c4c9965bf..36b9f5b6c119 100644 Link Here
70746
 
70080
 
70747
 Library("bitstream_reader_gn")
70081
 Library("bitstream_reader_gn")
70748
diff --git third_party/libwebrtc/rtc_base/buffer_gn/moz.build third_party/libwebrtc/rtc_base/buffer_gn/moz.build
70082
diff --git third_party/libwebrtc/rtc_base/buffer_gn/moz.build third_party/libwebrtc/rtc_base/buffer_gn/moz.build
70749
index 5e5d11ff6f7e..fa3cb7950b6c 100644
70083
index ca6f8408cdc8..f15920a7cf12 100644
70750
--- third_party/libwebrtc/rtc_base/buffer_gn/moz.build
70084
--- third_party/libwebrtc/rtc_base/buffer_gn/moz.build
70751
+++ third_party/libwebrtc/rtc_base/buffer_gn/moz.build
70085
+++ third_party/libwebrtc/rtc_base/buffer_gn/moz.build
70752
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
70086
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 70937-70943 index 5e5d11ff6f7e..fa3cb7950b6c 100644 Link Here
70937
-
70271
-
70938
 Library("buffer_gn")
70272
 Library("buffer_gn")
70939
diff --git third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build
70273
diff --git third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build
70940
index 89a2c9e84e1c..01e755bb6f7c 100644
70274
index 925b6e4218f3..d5f124885e6a 100644
70941
--- third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build
70275
--- third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build
70942
+++ third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build
70276
+++ third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build
70943
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
70277
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 71148-71154 index 89a2c9e84e1c..01e755bb6f7c 100644 Link Here
71148
 
70482
 
71149
 Library("byte_buffer_gn")
70483
 Library("byte_buffer_gn")
71150
diff --git third_party/libwebrtc/rtc_base/byte_order_gn/moz.build third_party/libwebrtc/rtc_base/byte_order_gn/moz.build
70484
diff --git third_party/libwebrtc/rtc_base/byte_order_gn/moz.build third_party/libwebrtc/rtc_base/byte_order_gn/moz.build
71151
index b95d149625ed..4ed69f91caf9 100644
70485
index 44c220a2f709..6711c3416489 100644
71152
--- third_party/libwebrtc/rtc_base/byte_order_gn/moz.build
70486
--- third_party/libwebrtc/rtc_base/byte_order_gn/moz.build
71153
+++ third_party/libwebrtc/rtc_base/byte_order_gn/moz.build
70487
+++ third_party/libwebrtc/rtc_base/byte_order_gn/moz.build
71154
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
70488
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 71335-71341 index b95d149625ed..4ed69f91caf9 100644 Link Here
71335
-
70669
-
71336
 Library("byte_order_gn")
70670
 Library("byte_order_gn")
71337
diff --git third_party/libwebrtc/rtc_base/checks_gn/moz.build third_party/libwebrtc/rtc_base/checks_gn/moz.build
70671
diff --git third_party/libwebrtc/rtc_base/checks_gn/moz.build third_party/libwebrtc/rtc_base/checks_gn/moz.build
71338
index f147bdc64bd9..477bb6cf012e 100644
70672
index ea191d0a1620..16bfbb3bb54b 100644
71339
--- third_party/libwebrtc/rtc_base/checks_gn/moz.build
70673
--- third_party/libwebrtc/rtc_base/checks_gn/moz.build
71340
+++ third_party/libwebrtc/rtc_base/checks_gn/moz.build
70674
+++ third_party/libwebrtc/rtc_base/checks_gn/moz.build
71341
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
70675
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 71546-71552 index f147bdc64bd9..477bb6cf012e 100644 Link Here
71546
 
70880
 
71547
 Library("checks_gn")
70881
 Library("checks_gn")
71548
diff --git third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build
70882
diff --git third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build
71549
index 711466336e15..80475fdc6a41 100644
70883
index 29b7e50f59de..23e0ab489558 100644
71550
--- third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build
70884
--- third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build
71551
+++ third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build
70885
+++ third_party/libwebrtc/rtc_base/compile_assert_c_gn/moz.build
71552
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
70886
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 71733-71739 index 711466336e15..80475fdc6a41 100644 Link Here
71733
-
71067
-
71734
 Library("compile_assert_c_gn")
71068
 Library("compile_assert_c_gn")
71735
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
71069
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
71736
index fa4fdc873993..7c49ec6a5edd 100644
71070
index 3cf4d58b7080..ef23a514029f 100644
71737
--- third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build
71071
--- third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build
71738
+++ third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build
71072
+++ third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build
71739
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
71073
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 71944-71950 index fa4fdc873993..7c49ec6a5edd 100644 Link Here
71944
 
71278
 
71945
 Library("flat_containers_internal_gn")
71279
 Library("flat_containers_internal_gn")
71946
diff --git third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build
71280
diff --git third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build
71947
index 7c9b3edd1676..95a2855408fd 100644
71281
index 7dbec6779333..0e9d882980cd 100644
71948
--- third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build
71282
--- third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build
71949
+++ third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build
71283
+++ third_party/libwebrtc/rtc_base/containers/flat_map_gn/moz.build
71950
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
71284
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 72135-72141 index 7c9b3edd1676..95a2855408fd 100644 Link Here
72135
-
71469
-
72136
 Library("flat_map_gn")
71470
 Library("flat_map_gn")
72137
diff --git third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build
71471
diff --git third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build
72138
index 02d364fe30a5..a7902a51d2f6 100644
71472
index ad3fa6725577..c727277850d9 100644
72139
--- third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build
71473
--- third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build
72140
+++ third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build
71474
+++ third_party/libwebrtc/rtc_base/containers/flat_set_gn/moz.build
72141
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
71475
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 72326-72332 index 02d364fe30a5..a7902a51d2f6 100644 Link Here
72326
-
71660
-
72327
 Library("flat_set_gn")
71661
 Library("flat_set_gn")
72328
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
71662
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
72329
index dd687b90f3ff..8ed0bc7ee1af 100644
71663
index 9e422ff63e7c..f2aef4b56160 100644
72330
--- third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build
71664
--- third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build
72331
+++ third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build
71665
+++ third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build
72332
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
71666
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 72537-72543 index dd687b90f3ff..8ed0bc7ee1af 100644 Link Here
72537
 
71871
 
72538
 Library("copy_on_write_buffer_gn")
71872
 Library("copy_on_write_buffer_gn")
72539
diff --git third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build
71873
diff --git third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build
72540
index d860667eb591..f09bb05f3fda 100644
71874
index 82b460295383..84ae29b05824 100644
72541
--- third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build
71875
--- third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build
72542
+++ third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build
71876
+++ third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build
72543
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
71877
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 72748-72754 index d860667eb591..f09bb05f3fda 100644 Link Here
72748
 
72082
 
72749
 Library("criticalsection_gn")
72083
 Library("criticalsection_gn")
72750
diff --git third_party/libwebrtc/rtc_base/divide_round_gn/moz.build third_party/libwebrtc/rtc_base/divide_round_gn/moz.build
72084
diff --git third_party/libwebrtc/rtc_base/divide_round_gn/moz.build third_party/libwebrtc/rtc_base/divide_round_gn/moz.build
72751
index 5946a30db45f..1212206025b7 100644
72085
index bcbc3682adb0..d570fc975f7e 100644
72752
--- third_party/libwebrtc/rtc_base/divide_round_gn/moz.build
72086
--- third_party/libwebrtc/rtc_base/divide_round_gn/moz.build
72753
+++ third_party/libwebrtc/rtc_base/divide_round_gn/moz.build
72087
+++ third_party/libwebrtc/rtc_base/divide_round_gn/moz.build
72754
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
72088
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 72939-72945 index 5946a30db45f..1212206025b7 100644 Link Here
72939
-
72273
-
72940
 Library("divide_round_gn")
72274
 Library("divide_round_gn")
72941
diff --git third_party/libwebrtc/rtc_base/dscp_gn/moz.build third_party/libwebrtc/rtc_base/dscp_gn/moz.build
72275
diff --git third_party/libwebrtc/rtc_base/dscp_gn/moz.build third_party/libwebrtc/rtc_base/dscp_gn/moz.build
72942
index fd82b23b98e3..e83d2e34dc26 100644
72276
index 90110683589b..e64459ac9342 100644
72943
--- third_party/libwebrtc/rtc_base/dscp_gn/moz.build
72277
--- third_party/libwebrtc/rtc_base/dscp_gn/moz.build
72944
+++ third_party/libwebrtc/rtc_base/dscp_gn/moz.build
72278
+++ third_party/libwebrtc/rtc_base/dscp_gn/moz.build
72945
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
72279
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 73126-73132 index fd82b23b98e3..e83d2e34dc26 100644 Link Here
73126
-
72460
-
73127
 Library("dscp_gn")
72461
 Library("dscp_gn")
73128
diff --git third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build
72462
diff --git third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build
73129
index 2ea470772f4b..1235e95439b9 100644
72463
index 4c4181482928..45269272694b 100644
73130
--- third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build
72464
--- third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build
73131
+++ third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build
72465
+++ third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build
73132
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
72466
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 73344-73350 index 2ea470772f4b..1235e95439b9 100644 Link Here
73344
 
72678
 
73345
 Library("event_tracer_gn")
72679
 Library("event_tracer_gn")
73346
diff --git third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build
72680
diff --git third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build
73347
index 09174a3a20ab..f906bc9cd246 100644
72681
index 4e53a89a0562..b8c7071256f8 100644
73348
--- third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build
72682
--- third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build
73349
+++ third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build
72683
+++ third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build
73350
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
72684
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 73562-73568 index 09174a3a20ab..f906bc9cd246 100644 Link Here
73562
 
72896
 
73563
 Library("alr_experiment_gn")
72897
 Library("alr_experiment_gn")
73564
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
72898
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
73565
index 233c203847c4..0142ed0457e9 100644
72899
index 3ddc28da45c3..eba8ea19a441 100644
73566
--- third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build
72900
--- third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build
73567
+++ third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build
72901
+++ third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build
73568
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
72902
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 73780-73786 index 233c203847c4..0142ed0457e9 100644 Link Here
73780
 
73114
 
73781
 Library("balanced_degradation_settings_gn")
73115
 Library("balanced_degradation_settings_gn")
73782
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
73116
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
73783
index 9866a74964c7..a09edc6dce96 100644
73117
index 8ab7b59f9ac5..06e2533c9c80 100644
73784
--- third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build
73118
--- third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build
73785
+++ third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build
73119
+++ third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build
73786
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
73120
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 73998-74004 index 9866a74964c7..a09edc6dce96 100644 Link Here
73998
 
73332
 
73999
 Library("encoder_info_settings_gn")
73333
 Library("encoder_info_settings_gn")
74000
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
73334
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
74001
index 520c4db65a2b..00eca302cf45 100644
73335
index 7c2115ee42eb..25df1c876186 100644
74002
--- third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build
73336
--- third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build
74003
+++ third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build
73337
+++ third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build
74004
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
73338
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 74216-74222 index 520c4db65a2b..00eca302cf45 100644 Link Here
74216
 
73550
 
74217
 Library("field_trial_parser_gn")
73551
 Library("field_trial_parser_gn")
74218
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
73552
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
74219
index 397f0dd3ce6f..42e0bfc0b541 100644
73553
index 80ee96a36692..8aed2262fa3a 100644
74220
--- third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build
73554
--- third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build
74221
+++ third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build
73555
+++ third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build
74222
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
73556
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 74434-74440 index 397f0dd3ce6f..42e0bfc0b541 100644 Link Here
74434
 
73768
 
74435
 Library("keyframe_interval_settings_experiment_gn")
73769
 Library("keyframe_interval_settings_experiment_gn")
74436
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
73770
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
74437
index 5cd3bb4a2bf0..09ebf5322ea7 100644
73771
index 237ee94c876c..3d2ad771efb1 100644
74438
--- third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build
73772
--- third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build
74439
+++ third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build
73773
+++ third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build
74440
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
73774
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 74652-74658 index 5cd3bb4a2bf0..09ebf5322ea7 100644 Link Here
74652
 
73986
 
74653
 Library("min_video_bitrate_experiment_gn")
73987
 Library("min_video_bitrate_experiment_gn")
74654
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
73988
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
74655
index 9c3e585bf972..89f9af863d4a 100644
73989
index 4f2adbf257e3..1443386f65f6 100644
74656
--- third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build
73990
--- third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build
74657
+++ third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build
73991
+++ third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build
74658
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
73992
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 74870-74876 index 9c3e585bf972..89f9af863d4a 100644 Link Here
74870
 
74204
 
74871
 Library("normalize_simulcast_size_experiment_gn")
74205
 Library("normalize_simulcast_size_experiment_gn")
74872
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
74206
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
74873
index d1b4330a18db..de18961b8154 100644
74207
index 0d309eb7e460..a6981acc4b34 100644
74874
--- third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build
74208
--- third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build
74875
+++ third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build
74209
+++ third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build
74876
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
74210
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 75088-75094 index d1b4330a18db..de18961b8154 100644 Link Here
75088
 
74422
 
75089
 Library("quality_scaler_settings_gn")
74423
 Library("quality_scaler_settings_gn")
75090
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
74424
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
75091
index 8e75fbc3b032..79fc2e93ba33 100644
74425
index 59d541e6a005..291cb10ff7b1 100644
75092
--- third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build
74426
--- third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build
75093
+++ third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build
74427
+++ third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build
75094
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
74428
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 75306-75312 index 8e75fbc3b032..79fc2e93ba33 100644 Link Here
75306
 
74640
 
75307
 Library("quality_scaling_experiment_gn")
74641
 Library("quality_scaling_experiment_gn")
75308
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
74642
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
75309
index 0051ac37f9e8..fe9271425d64 100644
74643
index 34a32a0e0d68..2fd714931789 100644
75310
--- third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build
74644
--- third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build
75311
+++ third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build
74645
+++ third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build
75312
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
74646
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 75524-75530 index 0051ac37f9e8..fe9271425d64 100644 Link Here
75524
 
74858
 
75525
 Library("rate_control_settings_gn")
74859
 Library("rate_control_settings_gn")
75526
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
74860
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
75527
index 2c239310fc08..5e98394eef8b 100644
74861
index 90de4c0afe60..0f16c03dadfc 100644
75528
--- third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build
74862
--- third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build
75529
+++ third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build
74863
+++ third_party/libwebrtc/rtc_base/experiments/stable_target_rate_experiment_gn/moz.build
75530
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
74864
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 75742-75748 index 2c239310fc08..5e98394eef8b 100644 Link Here
75742
 
75076
 
75743
 Library("stable_target_rate_experiment_gn")
75077
 Library("stable_target_rate_experiment_gn")
75744
diff --git third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build
75078
diff --git third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build
75745
index 87a5e335eb06..ba58d3df2494 100644
75079
index d73e4f6d7f93..37564838b7da 100644
75746
--- third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build
75080
--- third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build
75747
+++ third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build
75081
+++ third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build
75748
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
75082
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 75960-75966 index 87a5e335eb06..ba58d3df2494 100644 Link Here
75960
 
75294
 
75961
 Library("frequency_tracker_gn")
75295
 Library("frequency_tracker_gn")
75962
diff --git third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build
75296
diff --git third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build
75963
index 03bb1071f60c..6e5808f68281 100644
75297
index 39f95b2ec843..bbd991488a12 100644
75964
--- third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build
75298
--- third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build
75965
+++ third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build
75299
+++ third_party/libwebrtc/rtc_base/gtest_prod_gn/moz.build
75966
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
75300
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 76147-76153 index 03bb1071f60c..6e5808f68281 100644 Link Here
76147
-
75481
-
76148
 Library("gtest_prod_gn")
75482
 Library("gtest_prod_gn")
76149
diff --git third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build
75483
diff --git third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build
76150
index 3f7a2c1ffa1f..042fc6088182 100644
75484
index a9e54dfe82c8..71f8d55f43eb 100644
76151
--- third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build
75485
--- third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build
76152
+++ third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build
75486
+++ third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build
76153
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
75487
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 76359-76365 index 3f7a2c1ffa1f..042fc6088182 100644 Link Here
76359
 Library("histogram_percentile_counter_gn")
75693
 Library("histogram_percentile_counter_gn")
76360
diff --git third_party/libwebrtc/rtc_base/ifaddrs_android_gn/moz.build third_party/libwebrtc/rtc_base/ifaddrs_android_gn/moz.build
75694
diff --git third_party/libwebrtc/rtc_base/ifaddrs_android_gn/moz.build third_party/libwebrtc/rtc_base/ifaddrs_android_gn/moz.build
76361
deleted file mode 100644
75695
deleted file mode 100644
76362
index d89873bf7483..000000000000
75696
index c4452691d690..000000000000
76363
--- third_party/libwebrtc/rtc_base/ifaddrs_android_gn/moz.build
75697
--- third_party/libwebrtc/rtc_base/ifaddrs_android_gn/moz.build
76364
+++ /dev/null
75698
+++ /dev/null
76365
@@ -1,95 +0,0 @@
75699
@@ -1,95 +0,0 @@
Lines 76401-76408 index d89873bf7483..000000000000 Link Here
76401
-    "!/ipc/ipdl/_ipdlheaders",
75735
-    "!/ipc/ipdl/_ipdlheaders",
76402
-    "!/third_party/libwebrtc/gen",
75736
-    "!/third_party/libwebrtc/gen",
76403
-    "/ipc/chromium/src",
75737
-    "/ipc/chromium/src",
75738
-    "/third_party/abseil-cpp/",
76404
-    "/third_party/libwebrtc/",
75739
-    "/third_party/libwebrtc/",
76405
-    "/third_party/libwebrtc/third_party/abseil-cpp/",
76406
-    "/tools/profiler/public"
75740
-    "/tools/profiler/public"
76407
-]
75741
-]
76408
-
75742
-
Lines 76459-76465 index d89873bf7483..000000000000 Link Here
76459
-
75793
-
76460
-Library("ifaddrs_android_gn")
75794
-Library("ifaddrs_android_gn")
76461
diff --git third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build
75795
diff --git third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build
76462
index 06009fc8668e..4f9eacbcf8a7 100644
75796
index c50706007bf3..10301c3a59c3 100644
76463
--- third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build
75797
--- third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build
76464
+++ third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build
75798
+++ third_party/libwebrtc/rtc_base/ignore_wundef_gn/moz.build
76465
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
75799
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 76646-76652 index 06009fc8668e..4f9eacbcf8a7 100644 Link Here
76646
-
75980
-
76647
 Library("ignore_wundef_gn")
75981
 Library("ignore_wundef_gn")
76648
diff --git third_party/libwebrtc/rtc_base/ip_address_gn/moz.build third_party/libwebrtc/rtc_base/ip_address_gn/moz.build
75982
diff --git third_party/libwebrtc/rtc_base/ip_address_gn/moz.build third_party/libwebrtc/rtc_base/ip_address_gn/moz.build
76649
index c2f9eb412bca..df8f9503cb8a 100644
75983
index d7e6c9f293db..6b9a73dc693a 100644
76650
--- third_party/libwebrtc/rtc_base/ip_address_gn/moz.build
75984
--- third_party/libwebrtc/rtc_base/ip_address_gn/moz.build
76651
+++ third_party/libwebrtc/rtc_base/ip_address_gn/moz.build
75985
+++ third_party/libwebrtc/rtc_base/ip_address_gn/moz.build
76652
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
75986
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 76864-76870 index c2f9eb412bca..df8f9503cb8a 100644 Link Here
76864
 
76198
 
76865
 Library("ip_address_gn")
76199
 Library("ip_address_gn")
76866
diff --git third_party/libwebrtc/rtc_base/logging_gn/moz.build third_party/libwebrtc/rtc_base/logging_gn/moz.build
76200
diff --git third_party/libwebrtc/rtc_base/logging_gn/moz.build third_party/libwebrtc/rtc_base/logging_gn/moz.build
76867
index 2b47ed986c72..191af40a1a3f 100644
76201
index 56ed104e2002..c7896a36c136 100644
76868
--- third_party/libwebrtc/rtc_base/logging_gn/moz.build
76202
--- third_party/libwebrtc/rtc_base/logging_gn/moz.build
76869
+++ third_party/libwebrtc/rtc_base/logging_gn/moz.build
76203
+++ third_party/libwebrtc/rtc_base/logging_gn/moz.build
76870
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
76204
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
Lines 77083-77089 index 2b47ed986c72..191af40a1a3f 100644 Link Here
77083
 
76417
 
77084
 Library("logging_gn")
76418
 Library("logging_gn")
77085
diff --git third_party/libwebrtc/rtc_base/macromagic_gn/moz.build third_party/libwebrtc/rtc_base/macromagic_gn/moz.build
76419
diff --git third_party/libwebrtc/rtc_base/macromagic_gn/moz.build third_party/libwebrtc/rtc_base/macromagic_gn/moz.build
77086
index 7a54f6369568..ae2eb48d37a1 100644
76420
index 359df288f2c1..2c34f5c36858 100644
77087
--- third_party/libwebrtc/rtc_base/macromagic_gn/moz.build
76421
--- third_party/libwebrtc/rtc_base/macromagic_gn/moz.build
77088
+++ third_party/libwebrtc/rtc_base/macromagic_gn/moz.build
76422
+++ third_party/libwebrtc/rtc_base/macromagic_gn/moz.build
77089
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
76423
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 77270-77276 index 7a54f6369568..ae2eb48d37a1 100644 Link Here
77270
-
76604
-
77271
 Library("macromagic_gn")
76605
 Library("macromagic_gn")
77272
diff --git third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build
76606
diff --git third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build
77273
index 06a17077bb82..21d3404240cd 100644
76607
index d09905b69892..8d65543a25ae 100644
77274
--- third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build
76608
--- third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build
77275
+++ third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build
76609
+++ third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build
77276
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
76610
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 77481-77487 index 06a17077bb82..21d3404240cd 100644 Link Here
77481
 
76815
 
77482
 Library("aligned_malloc_gn")
76816
 Library("aligned_malloc_gn")
77483
diff --git third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build
76817
diff --git third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build
77484
index ea25143a15aa..da34908795f0 100644
76818
index b65e15c66b17..66702507ea4f 100644
77485
--- third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build
76819
--- third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build
77486
+++ third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build
76820
+++ third_party/libwebrtc/rtc_base/mod_ops_gn/moz.build
77487
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
76821
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 77672-77678 index ea25143a15aa..da34908795f0 100644 Link Here
77672
-
77006
-
77673
 Library("mod_ops_gn")
77007
 Library("mod_ops_gn")
77674
diff --git third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build
77008
diff --git third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build
77675
index 967e6e28ba29..60644d006ab2 100644
77009
index f04b67d19d4f..b40ca1e737db 100644
77676
--- third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build
77010
--- third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build
77677
+++ third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build
77011
+++ third_party/libwebrtc/rtc_base/moving_max_counter_gn/moz.build
77678
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
77012
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 77863-77869 index 967e6e28ba29..60644d006ab2 100644 Link Here
77863
-
77197
-
77864
 Library("moving_max_counter_gn")
77198
 Library("moving_max_counter_gn")
77865
diff --git third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build
77199
diff --git third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build
77866
index 7c0cfcf806a7..2b89135329e6 100644
77200
index db5cf7eda3e1..a0bb9924d1c9 100644
77867
--- third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build
77201
--- third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build
77868
+++ third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build
77202
+++ third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build
77869
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
77203
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 78081-78087 index 7c0cfcf806a7..2b89135329e6 100644 Link Here
78081
 
77415
 
78082
 Library("net_helpers_gn")
77416
 Library("net_helpers_gn")
78083
diff --git third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build
77417
diff --git third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build
78084
index 9fb05f529e15..2c7aeb42782b 100644
77418
index 51dafd65f729..ac8a6db64809 100644
78085
--- third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build
77419
--- third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build
78086
+++ third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build
77420
+++ third_party/libwebrtc/rtc_base/network/ecn_marking_gn/moz.build
78087
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
77421
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 78268-78274 index 9fb05f529e15..2c7aeb42782b 100644 Link Here
78268
-
77602
-
78269
 Library("ecn_marking_gn")
77603
 Library("ecn_marking_gn")
78270
diff --git third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build
77604
diff --git third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build
78271
index 604cb9a5e8c8..63df6c684225 100644
77605
index 3871a5742f23..5d6eea6ab93e 100644
78272
--- third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build
77606
--- third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build
78273
+++ third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build
77607
+++ third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build
78274
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
77608
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 78475-78481 index 604cb9a5e8c8..63df6c684225 100644 Link Here
78475
 
77809
 
78476
 Library("sent_packet_gn")
77810
 Library("sent_packet_gn")
78477
diff --git third_party/libwebrtc/rtc_base/network_constants_gn/moz.build third_party/libwebrtc/rtc_base/network_constants_gn/moz.build
77811
diff --git third_party/libwebrtc/rtc_base/network_constants_gn/moz.build third_party/libwebrtc/rtc_base/network_constants_gn/moz.build
78478
index eacf18519786..848db7fed53a 100644
77812
index e016c6ebf353..7a9faee8edd4 100644
78479
--- third_party/libwebrtc/rtc_base/network_constants_gn/moz.build
77813
--- third_party/libwebrtc/rtc_base/network_constants_gn/moz.build
78480
+++ third_party/libwebrtc/rtc_base/network_constants_gn/moz.build
77814
+++ third_party/libwebrtc/rtc_base/network_constants_gn/moz.build
78481
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
77815
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 78686-78692 index eacf18519786..848db7fed53a 100644 Link Here
78686
 
78020
 
78687
 Library("network_constants_gn")
78021
 Library("network_constants_gn")
78688
diff --git third_party/libwebrtc/rtc_base/network_route_gn/moz.build third_party/libwebrtc/rtc_base/network_route_gn/moz.build
78022
diff --git third_party/libwebrtc/rtc_base/network_route_gn/moz.build third_party/libwebrtc/rtc_base/network_route_gn/moz.build
78689
index 2ae8cf3c3837..c32e0473a011 100644
78023
index d36384ccc5e4..b09cda2e8318 100644
78690
--- third_party/libwebrtc/rtc_base/network_route_gn/moz.build
78024
--- third_party/libwebrtc/rtc_base/network_route_gn/moz.build
78691
+++ third_party/libwebrtc/rtc_base/network_route_gn/moz.build
78025
+++ third_party/libwebrtc/rtc_base/network_route_gn/moz.build
78692
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
78026
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 78897-78903 index 2ae8cf3c3837..c32e0473a011 100644 Link Here
78897
 
78231
 
78898
 Library("network_route_gn")
78232
 Library("network_route_gn")
78899
diff --git third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build
78233
diff --git third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build
78900
index da5eb5b49753..dd528ef3830e 100644
78234
index 2d3797324776..b2beb103f324 100644
78901
--- third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build
78235
--- third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build
78902
+++ third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build
78236
+++ third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build
78903
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
78237
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 79116-79122 index da5eb5b49753..dd528ef3830e 100644 Link Here
79116
 
78450
 
79117
 Library("null_socket_server_gn")
78451
 Library("null_socket_server_gn")
79118
diff --git third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build
78452
diff --git third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build
79119
index 4de80444bef4..7d101ac9cbe4 100644
78453
index e12f306d6159..41e22676df3e 100644
79120
--- third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build
78454
--- third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build
79121
+++ third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build
78455
+++ third_party/libwebrtc/rtc_base/one_time_event_gn/moz.build
79122
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
78456
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 79307-79313 index 4de80444bef4..7d101ac9cbe4 100644 Link Here
79307
-
78641
-
79308
 Library("one_time_event_gn")
78642
 Library("one_time_event_gn")
79309
diff --git third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build
78643
diff --git third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build
79310
index 8c259b6765c4..4632206d50e3 100644
78644
index de9df4d78af5..a2158f92f387 100644
79311
--- third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build
78645
--- third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build
79312
+++ third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build
78646
+++ third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build
79313
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
78647
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 79525-79531 index 8c259b6765c4..4632206d50e3 100644 Link Here
79525
 
78859
 
79526
 Library("platform_thread_gn")
78860
 Library("platform_thread_gn")
79527
diff --git third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build
78861
diff --git third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build
79528
index 09d6147ce17d..7ed2f4dad2ac 100644
78862
index fa305fd318ba..c2a316b35e10 100644
79529
--- third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build
78863
--- third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build
79530
+++ third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build
78864
+++ third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build
79531
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
78865
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 79736-79742 index 09d6147ce17d..7ed2f4dad2ac 100644 Link Here
79736
 
79070
 
79737
 Library("platform_thread_types_gn")
79071
 Library("platform_thread_types_gn")
79738
diff --git third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build
79072
diff --git third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build
79739
index c2b0d4ce2f3a..e926b3f5ca8f 100644
79073
index 89ac56a987e5..a841f3c9d9d2 100644
79740
--- third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build
79074
--- third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build
79741
+++ third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build
79075
+++ third_party/libwebrtc/rtc_base/protobuf_utils_gn/moz.build
79742
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
79076
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 79923-79929 index c2b0d4ce2f3a..e926b3f5ca8f 100644 Link Here
79923
-
79257
-
79924
 Library("protobuf_utils_gn")
79258
 Library("protobuf_utils_gn")
79925
diff --git third_party/libwebrtc/rtc_base/race_checker_gn/moz.build third_party/libwebrtc/rtc_base/race_checker_gn/moz.build
79259
diff --git third_party/libwebrtc/rtc_base/race_checker_gn/moz.build third_party/libwebrtc/rtc_base/race_checker_gn/moz.build
79926
index 1fef37a2babc..74fad97cb21c 100644
79260
index 8fe24e9ea339..d3c399736dda 100644
79927
--- third_party/libwebrtc/rtc_base/race_checker_gn/moz.build
79261
--- third_party/libwebrtc/rtc_base/race_checker_gn/moz.build
79928
+++ third_party/libwebrtc/rtc_base/race_checker_gn/moz.build
79262
+++ third_party/libwebrtc/rtc_base/race_checker_gn/moz.build
79929
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
79263
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 80134-80140 index 1fef37a2babc..74fad97cb21c 100644 Link Here
80134
 
79468
 
80135
 Library("race_checker_gn")
79469
 Library("race_checker_gn")
80136
diff --git third_party/libwebrtc/rtc_base/random_gn/moz.build third_party/libwebrtc/rtc_base/random_gn/moz.build
79470
diff --git third_party/libwebrtc/rtc_base/random_gn/moz.build third_party/libwebrtc/rtc_base/random_gn/moz.build
80137
index 6c9b369317a5..1046794552e2 100644
79471
index 3790744893dc..57d892e7235d 100644
80138
--- third_party/libwebrtc/rtc_base/random_gn/moz.build
79472
--- third_party/libwebrtc/rtc_base/random_gn/moz.build
80139
+++ third_party/libwebrtc/rtc_base/random_gn/moz.build
79473
+++ third_party/libwebrtc/rtc_base/random_gn/moz.build
80140
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
79474
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 80345-80351 index 6c9b369317a5..1046794552e2 100644 Link Here
80345
 
79679
 
80346
 Library("random_gn")
79680
 Library("random_gn")
80347
diff --git third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build
79681
diff --git third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build
80348
index 586fc513dc7e..64b9286d41ca 100644
79682
index 5329a3ecff3d..517eb779f5e9 100644
80349
--- third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build
79683
--- third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build
80350
+++ third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build
79684
+++ third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build
80351
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
79685
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 80567-80573 index 586fc513dc7e..64b9286d41ca 100644 Link Here
80567
 
79901
 
80568
 Library("rate_limiter_gn")
79902
 Library("rate_limiter_gn")
80569
diff --git third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build
79903
diff --git third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build
80570
index 76d4f9d980ae..64ffc5e8413b 100644
79904
index dcf729ffe8ed..648ca137ca30 100644
80571
--- third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build
79905
--- third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build
80572
+++ third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build
79906
+++ third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build
80573
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
79907
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 80785-80791 index 76d4f9d980ae..64ffc5e8413b 100644 Link Here
80785
 
80119
 
80786
 Library("rate_statistics_gn")
80120
 Library("rate_statistics_gn")
80787
diff --git third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build
80121
diff --git third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build
80788
index c381e91cdc55..0a743006bcf0 100644
80122
index 0c54b37a137f..4cdd20074653 100644
80789
--- third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build
80123
--- third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build
80790
+++ third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build
80124
+++ third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build
80791
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
80125
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 81003-81009 index c381e91cdc55..0a743006bcf0 100644 Link Here
81003
 
80337
 
81004
 Library("rate_tracker_gn")
80338
 Library("rate_tracker_gn")
81005
diff --git third_party/libwebrtc/rtc_base/refcount_gn/moz.build third_party/libwebrtc/rtc_base/refcount_gn/moz.build
80339
diff --git third_party/libwebrtc/rtc_base/refcount_gn/moz.build third_party/libwebrtc/rtc_base/refcount_gn/moz.build
81006
index 4059c66e7135..ab2a71dd87dc 100644
80340
index 9f5c572f202c..b59156b9ccc7 100644
81007
--- third_party/libwebrtc/rtc_base/refcount_gn/moz.build
80341
--- third_party/libwebrtc/rtc_base/refcount_gn/moz.build
81008
+++ third_party/libwebrtc/rtc_base/refcount_gn/moz.build
80342
+++ third_party/libwebrtc/rtc_base/refcount_gn/moz.build
81009
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
80343
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 81190-81196 index 4059c66e7135..ab2a71dd87dc 100644 Link Here
81190
-
80524
-
81191
 Library("refcount_gn")
80525
 Library("refcount_gn")
81192
diff --git third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build
80526
diff --git third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build
81193
index c8e14d5996e0..07964d2b4972 100644
80527
index 879a61c33625..c18fcf730b81 100644
81194
--- third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build
80528
--- third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build
81195
+++ third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build
80529
+++ third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build
81196
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
80530
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 81381-81387 index c8e14d5996e0..07964d2b4972 100644 Link Here
81381
-
80715
-
81382
 Library("rolling_accumulator_gn")
80716
 Library("rolling_accumulator_gn")
81383
diff --git third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build
80717
diff --git third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build
81384
index a1b2840da3ea..6279462eabf7 100644
80718
index 28da0c698193..d983fa9a5f55 100644
81385
--- third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build
80719
--- third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build
81386
+++ third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build
80720
+++ third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build
81387
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
80721
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 81599-81605 index a1b2840da3ea..6279462eabf7 100644 Link Here
81599
 
80933
 
81600
 Library("rtc_event_gn")
80934
 Library("rtc_event_gn")
81601
diff --git third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build
80935
diff --git third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build
81602
index 6bcce7ecf591..0127c502b6f6 100644
80936
index dc606f8e631b..b22128cee619 100644
81603
--- third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build
80937
--- third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build
81604
+++ third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build
80938
+++ third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build
81605
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
80939
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 81810-81816 index 6bcce7ecf591..0127c502b6f6 100644 Link Here
81810
 
81144
 
81811
 Library("rtc_numerics_gn")
81145
 Library("rtc_numerics_gn")
81812
diff --git third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build
81146
diff --git third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build
81813
index 1e381892f367..8fc4c2183d80 100644
81147
index 6bd90aff9d21..93e8d7ca347d 100644
81814
--- third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build
81148
--- third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build
81815
+++ third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build
81149
+++ third_party/libwebrtc/rtc_base/safe_compare_gn/moz.build
81816
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
81150
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 81997-82003 index 1e381892f367..8fc4c2183d80 100644 Link Here
81997
-
81331
-
81998
 Library("safe_compare_gn")
81332
 Library("safe_compare_gn")
81999
diff --git third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build
81333
diff --git third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build
82000
index f409a3834780..3ba803fa49d4 100644
81334
index 728f9986f5bb..a50766d20e54 100644
82001
--- third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build
81335
--- third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build
82002
+++ third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build
81336
+++ third_party/libwebrtc/rtc_base/safe_conversions_gn/moz.build
82003
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
81337
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 82188-82194 index f409a3834780..3ba803fa49d4 100644 Link Here
82188
-
81522
-
82189
 Library("safe_conversions_gn")
81523
 Library("safe_conversions_gn")
82190
diff --git third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build
81524
diff --git third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build
82191
index 31299792ebeb..a03b4cdd095d 100644
81525
index 08d6ed5a08e3..7a9dc1e1e62d 100644
82192
--- third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build
81526
--- third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build
82193
+++ third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build
81527
+++ third_party/libwebrtc/rtc_base/safe_minmax_gn/moz.build
82194
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
81528
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 82379-82385 index 31299792ebeb..a03b4cdd095d 100644 Link Here
82379
-
81713
-
82380
 Library("safe_minmax_gn")
81714
 Library("safe_minmax_gn")
82381
diff --git third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build
81715
diff --git third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build
82382
index 0657de77c15b..fc147e94f56f 100644
81716
index bf6a8ed2ea36..df72ddace4dc 100644
82383
--- third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build
81717
--- third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build
82384
+++ third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build
81718
+++ third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build
82385
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
81719
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 82590-82596 index 0657de77c15b..fc147e94f56f 100644 Link Here
82590
 
81924
 
82591
 Library("sample_counter_gn")
81925
 Library("sample_counter_gn")
82592
diff --git third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build
81926
diff --git third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build
82593
index dcdcffdd8ef4..fb6cf9adbb71 100644
81927
index 10412ea91e8b..be2a4ecea3ea 100644
82594
--- third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build
81928
--- third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build
82595
+++ third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build
81929
+++ third_party/libwebrtc/rtc_base/sanitizer_gn/moz.build
82596
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
81930
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 82777-82783 index dcdcffdd8ef4..fb6cf9adbb71 100644 Link Here
82777
-
82111
-
82778
 Library("sanitizer_gn")
82112
 Library("sanitizer_gn")
82779
diff --git third_party/libwebrtc/rtc_base/socket_address_gn/moz.build third_party/libwebrtc/rtc_base/socket_address_gn/moz.build
82113
diff --git third_party/libwebrtc/rtc_base/socket_address_gn/moz.build third_party/libwebrtc/rtc_base/socket_address_gn/moz.build
82780
index 2e5c00378acd..78d31c99625b 100644
82114
index a519752955ba..b92e05c8cf11 100644
82781
--- third_party/libwebrtc/rtc_base/socket_address_gn/moz.build
82115
--- third_party/libwebrtc/rtc_base/socket_address_gn/moz.build
82782
+++ third_party/libwebrtc/rtc_base/socket_address_gn/moz.build
82116
+++ third_party/libwebrtc/rtc_base/socket_address_gn/moz.build
82783
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
82117
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 82996-83002 index 2e5c00378acd..78d31c99625b 100644 Link Here
82996
 
82330
 
82997
 Library("socket_address_gn")
82331
 Library("socket_address_gn")
82998
diff --git third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build
82332
diff --git third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build
82999
index 572b2f62b08c..23ceff9330b2 100644
82333
index a7ffe7659d0d..f1b8575eb212 100644
83000
--- third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build
82334
--- third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build
83001
+++ third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build
82335
+++ third_party/libwebrtc/rtc_base/socket_factory_gn/moz.build
83002
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
82336
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 83195-83201 index 572b2f62b08c..23ceff9330b2 100644 Link Here
83195
-
82529
-
83196
 Library("socket_factory_gn")
82530
 Library("socket_factory_gn")
83197
diff --git third_party/libwebrtc/rtc_base/socket_gn/moz.build third_party/libwebrtc/rtc_base/socket_gn/moz.build
82531
diff --git third_party/libwebrtc/rtc_base/socket_gn/moz.build third_party/libwebrtc/rtc_base/socket_gn/moz.build
83198
index 4b08aeb0de91..d8dcd1ca715e 100644
82532
index 25090bb71acd..917bf97aa0d1 100644
83199
--- third_party/libwebrtc/rtc_base/socket_gn/moz.build
82533
--- third_party/libwebrtc/rtc_base/socket_gn/moz.build
83200
+++ third_party/libwebrtc/rtc_base/socket_gn/moz.build
82534
+++ third_party/libwebrtc/rtc_base/socket_gn/moz.build
83201
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
82535
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 83414-83420 index 4b08aeb0de91..d8dcd1ca715e 100644 Link Here
83414
 
82748
 
83415
 Library("socket_gn")
82749
 Library("socket_gn")
83416
diff --git third_party/libwebrtc/rtc_base/socket_server_gn/moz.build third_party/libwebrtc/rtc_base/socket_server_gn/moz.build
82750
diff --git third_party/libwebrtc/rtc_base/socket_server_gn/moz.build third_party/libwebrtc/rtc_base/socket_server_gn/moz.build
83417
index d4654af6fc1f..265a05693776 100644
82751
index c8422272d86d..c487a6a1a9c3 100644
83418
--- third_party/libwebrtc/rtc_base/socket_server_gn/moz.build
82752
--- third_party/libwebrtc/rtc_base/socket_server_gn/moz.build
83419
+++ third_party/libwebrtc/rtc_base/socket_server_gn/moz.build
82753
+++ third_party/libwebrtc/rtc_base/socket_server_gn/moz.build
83420
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
82754
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 83613-83619 index d4654af6fc1f..265a05693776 100644 Link Here
83613
-
82947
-
83614
 Library("socket_server_gn")
82948
 Library("socket_server_gn")
83615
diff --git third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build
82949
diff --git third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build
83616
index 66251b8e86a1..a920e0e0e95b 100644
82950
index 5918111073da..dffbff477eb4 100644
83617
--- third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build
82951
--- third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build
83618
+++ third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build
82952
+++ third_party/libwebrtc/rtc_base/ssl_adapter_gn/moz.build
83619
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
82953
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 83800-83806 index 66251b8e86a1..a920e0e0e95b 100644 Link Here
83800
-
83134
-
83801
 Library("ssl_adapter_gn")
83135
 Library("ssl_adapter_gn")
83802
diff --git third_party/libwebrtc/rtc_base/stringutils_gn/moz.build third_party/libwebrtc/rtc_base/stringutils_gn/moz.build
83136
diff --git third_party/libwebrtc/rtc_base/stringutils_gn/moz.build third_party/libwebrtc/rtc_base/stringutils_gn/moz.build
83803
index 5016b4fce059..44112c834b87 100644
83137
index 75921a43ab56..d47eb321a37c 100644
83804
--- third_party/libwebrtc/rtc_base/stringutils_gn/moz.build
83138
--- third_party/libwebrtc/rtc_base/stringutils_gn/moz.build
83805
+++ third_party/libwebrtc/rtc_base/stringutils_gn/moz.build
83139
+++ third_party/libwebrtc/rtc_base/stringutils_gn/moz.build
83806
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
83140
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 84010-84019 index 5016b4fce059..44112c834b87 100644 Link Here
84010
+    DEFINES["USE_X11"] = "1"
83344
+    DEFINES["USE_X11"] = "1"
84011
 
83345
 
84012
 Library("stringutils_gn")
83346
 Library("stringutils_gn")
84013
diff --git third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build
83347
diff --git third_party/libwebrtc/rtc_base/strong_alias_gn/moz.build third_party/libwebrtc/rtc_base/strong_alias_gn/moz.build
84014
index b84cec9997f3..f4fe48e03291 100644
83348
index 04a9115ab9ef..bc03fb306863 100644
84015
--- third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build
83349
--- third_party/libwebrtc/rtc_base/strong_alias_gn/moz.build
84016
+++ third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build
83350
+++ third_party/libwebrtc/rtc_base/strong_alias_gn/moz.build
84017
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
83351
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
84018
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
83352
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
84019
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
83353
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 84036-84042 index b84cec9997f3..f4fe48e03291 100644 Link Here
84036
 
83370
 
84037
 FINAL_LIBRARY = "xul"
83371
 FINAL_LIBRARY = "xul"
84038
 
83372
 
84039
@@ -39,111 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
83373
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
84040
 if CONFIG["MOZ_DEBUG"] == "1":
83374
 if CONFIG["MOZ_DEBUG"] == "1":
84041
 
83375
 
84042
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
83376
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 84055-84064 index b84cec9997f3..f4fe48e03291 100644 Link Here
84055
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
83389
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
84056
-    DEFINES["__STDC_FORMAT_MACROS"] = True
83390
-    DEFINES["__STDC_FORMAT_MACROS"] = True
84057
-
83391
-
84058
-    OS_LIBS += [
84059
-        "log"
84060
-    ]
84061
-
84062
-if CONFIG["OS_TARGET"] == "Darwin":
83392
-if CONFIG["OS_TARGET"] == "Darwin":
84063
-
83393
-
84064
-    DEFINES["WEBRTC_MAC"] = True
83394
-    DEFINES["WEBRTC_MAC"] = True
Lines 84149-84155 index b84cec9997f3..f4fe48e03291 100644 Link Here
84149
 
83479
 
84150
 if CONFIG["TARGET_CPU"] == "x86":
83480
 if CONFIG["TARGET_CPU"] == "x86":
84151
 
83481
 
84152
@@ -153,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
83482
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
84153
 
83483
 
84154
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
83484
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
84155
 
83485
 
Lines 84200-84210 index b84cec9997f3..f4fe48e03291 100644 Link Here
84200
-
83530
-
84201
-    DEFINES["_GNU_SOURCE"] = True
83531
-    DEFINES["_GNU_SOURCE"] = True
84202
-
83532
-
84203
 Library("swap_queue_gn")
83533
 Library("strong_alias_gn")
84204
diff --git third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build
83534
diff --git third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build
84205
index c1704d262949..be17c0f04367 100644
83535
index ca2c7814e857..9d5e20f05cd1 100644
84206
--- third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build
83536
--- third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build
84207
+++ third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build
83537
+++ third_party/libwebrtc/rtc_base/swap_queue_gn/moz.build
84208
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
83538
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
84209
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
83539
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
84210
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
83540
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 84391-84401 index c1704d262949..be17c0f04367 100644 Link Here
84391
-
83721
-
84392
-    DEFINES["_GNU_SOURCE"] = True
83722
-    DEFINES["_GNU_SOURCE"] = True
84393
-
83723
-
84394
 Library("mutex_gn")
83724
 Library("swap_queue_gn")
84395
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
83725
diff --git third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build
84396
index e4f72d363530..f26d786ad38b 100644
83726
index b643fe459c81..5e1c1cd358d7 100644
84397
--- third_party/libwebrtc/rtc_base/synchronization/sequence_checker_internal_gn/moz.build
83727
--- third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build
84398
+++ third_party/libwebrtc/rtc_base/synchronization/sequence_checker_internal_gn/moz.build
83728
+++ third_party/libwebrtc/rtc_base/synchronization/mutex_gn/moz.build
84399
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
83729
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
84400
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
83730
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
84401
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
83731
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 84418-84424 index e4f72d363530..f26d786ad38b 100644 Link Here
84418
 
83748
 
84419
 FINAL_LIBRARY = "xul"
83749
 FINAL_LIBRARY = "xul"
84420
 
83750
 
84421
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
83751
@@ -39,111 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
84422
 if CONFIG["MOZ_DEBUG"] == "1":
83752
 if CONFIG["MOZ_DEBUG"] == "1":
84423
 
83753
 
84424
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
83754
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 84515-84524 index e4f72d363530..f26d786ad38b 100644 Link Here
84515
 
83845
 
84516
-if CONFIG["TARGET_CPU"] == "arm":
83846
-if CONFIG["TARGET_CPU"] == "arm":
84517
-
83847
-
84518
-    CXXFLAGS += [
84519
-        "-mfpu=neon"
84520
-    ]
84521
-
84522
-    DEFINES["WEBRTC_ARCH_ARM"] = True
83848
-    DEFINES["WEBRTC_ARCH_ARM"] = True
84523
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
83849
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
84524
-    DEFINES["WEBRTC_HAS_NEON"] = True
83850
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 84535-84546 index e4f72d363530..f26d786ad38b 100644 Link Here
84535
 
83861
 
84536
 if CONFIG["TARGET_CPU"] == "x86":
83862
 if CONFIG["TARGET_CPU"] == "x86":
84537
 
83863
 
84538
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
83864
@@ -153,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
84539
-
83865
 
84540
-if CONFIG["TARGET_CPU"] == "x86_64":
83866
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
84541
-
83867
 
84542
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
84543
-
84544
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
83868
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
84545
-
83869
-
84546
-    DEFINES["_DEBUG"] = True
83870
-    DEFINES["_DEBUG"] = True
Lines 84562-84582 index e4f72d363530..f26d786ad38b 100644 Link Here
84562
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
83886
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
84563
-
83887
-
84564
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
83888
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
84565
-
83889
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
84566
-    DEFINES["USE_X11"] = "1"
83890
 
84567
-
83891
     DEFINES["USE_X11"] = "1"
83892
 
84568
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
83893
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
84569
-
83894
-
84570
-    OS_LIBS += [
83895
-    OS_LIBS += [
84571
-        "unwind"
83896
-        "unwind"
84572
-    ]
83897
-    ]
84573
-
83898
-
84574
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
84575
-
84576
     CXXFLAGS += [
84577
         "-msse2"
84578
     ]
84579
 
84580
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
83899
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
84581
-
83900
-
84582
-    DEFINES["_GNU_SOURCE"] = True
83901
-    DEFINES["_GNU_SOURCE"] = True
Lines 84586-84612 index e4f72d363530..f26d786ad38b 100644 Link Here
84586
-    DEFINES["_GNU_SOURCE"] = True
83905
-    DEFINES["_GNU_SOURCE"] = True
84587
-
83906
-
84588
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
83907
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
84589
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
83908
-
84590
 
84591
-    CXXFLAGS += [
84592
-        "-msse2"
84593
-    ]
84594
+if CONFIG["TARGET_CPU"] == "x86_64":
84595
 
84596
-    DEFINES["_GNU_SOURCE"] = True
83909
-    DEFINES["_GNU_SOURCE"] = True
84597
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
83910
-
84598
 
84599
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
83911
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
84600
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
83912
-
84601
 
84602
-    DEFINES["_GNU_SOURCE"] = True
83913
-    DEFINES["_GNU_SOURCE"] = True
84603
+    DEFINES["USE_X11"] = "1"
83914
-
84604
 
83915
 Library("mutex_gn")
84605
 Library("sequence_checker_internal_gn")
83916
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
84606
diff --git third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build
83917
index bb5927b75df3..1367d09cbfd7 100644
84607
index 98232a67bd39..7a6b0bb40432 100644
83918
--- third_party/libwebrtc/rtc_base/synchronization/sequence_checker_internal_gn/moz.build
84608
--- third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build
83919
+++ third_party/libwebrtc/rtc_base/synchronization/sequence_checker_internal_gn/moz.build
84609
+++ third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build
84610
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
83920
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
84611
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
83921
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
84612
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
83922
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 84629-84635 index 98232a67bd39..7a6b0bb40432 100644 Link Here
84629
 
83939
 
84630
 FINAL_LIBRARY = "xul"
83940
 FINAL_LIBRARY = "xul"
84631
 
83941
 
84632
@@ -43,174 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
83942
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
84633
 if CONFIG["MOZ_DEBUG"] == "1":
83943
 if CONFIG["MOZ_DEBUG"] == "1":
84634
 
83944
 
84635
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
83945
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 84648-84653 index 98232a67bd39..7a6b0bb40432 100644 Link Here
84648
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
83958
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
84649
-    DEFINES["__STDC_FORMAT_MACROS"] = True
83959
-    DEFINES["__STDC_FORMAT_MACROS"] = True
84650
-
83960
-
83961
-    OS_LIBS += [
83962
-        "log"
83963
-    ]
83964
-
84651
-if CONFIG["OS_TARGET"] == "Darwin":
83965
-if CONFIG["OS_TARGET"] == "Darwin":
84652
-
83966
-
84653
-    DEFINES["WEBRTC_MAC"] = True
83967
-    DEFINES["WEBRTC_MAC"] = True
Lines 84809-84819 index 98232a67bd39..7a6b0bb40432 100644 Link Here
84809
-    DEFINES["_GNU_SOURCE"] = True
84123
-    DEFINES["_GNU_SOURCE"] = True
84810
+    DEFINES["USE_X11"] = "1"
84124
+    DEFINES["USE_X11"] = "1"
84811
 
84125
 
84812
 Library("yield_gn")
84126
 Library("sequence_checker_internal_gn")
84813
diff --git third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build
84127
diff --git third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build
84814
index 40dcd7ba2f70..678c14a8aa72 100644
84128
index 395ae6db1d66..649b24818cda 100644
84815
--- third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build
84129
--- third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build
84816
+++ third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build
84130
+++ third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build
84817
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
84131
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
84818
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
84132
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
84819
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
84133
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 84836-84842 index 40dcd7ba2f70..678c14a8aa72 100644 Link Here
84836
 
84150
 
84837
 FINAL_LIBRARY = "xul"
84151
 FINAL_LIBRARY = "xul"
84838
 
84152
 
84839
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
84153
@@ -43,174 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
84840
 if CONFIG["MOZ_DEBUG"] == "1":
84154
 if CONFIG["MOZ_DEBUG"] == "1":
84841
 
84155
 
84842
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
84156
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 84855-84864 index 40dcd7ba2f70..678c14a8aa72 100644 Link Here
84855
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
84169
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
84856
-    DEFINES["__STDC_FORMAT_MACROS"] = True
84170
-    DEFINES["__STDC_FORMAT_MACROS"] = True
84857
-
84171
-
84858
-    OS_LIBS += [
84859
-        "log"
84860
-    ]
84861
-
84862
-if CONFIG["OS_TARGET"] == "Darwin":
84172
-if CONFIG["OS_TARGET"] == "Darwin":
84863
-
84173
-
84864
-    DEFINES["WEBRTC_MAC"] = True
84174
-    DEFINES["WEBRTC_MAC"] = True
Lines 85020-85030 index 40dcd7ba2f70..678c14a8aa72 100644 Link Here
85020
-    DEFINES["_GNU_SOURCE"] = True
84330
-    DEFINES["_GNU_SOURCE"] = True
85021
+    DEFINES["USE_X11"] = "1"
84331
+    DEFINES["USE_X11"] = "1"
85022
 
84332
 
85023
 Library("yield_policy_gn")
84333
 Library("yield_gn")
85024
diff --git third_party/libwebrtc/rtc_base/system/arch_gn/moz.build third_party/libwebrtc/rtc_base/system/arch_gn/moz.build
84334
diff --git third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build
85025
index 1d1555984fb0..4f8961109262 100644
84335
index 9b3743827556..6cce225200a7 100644
85026
--- third_party/libwebrtc/rtc_base/system/arch_gn/moz.build
84336
--- third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build
85027
+++ third_party/libwebrtc/rtc_base/system/arch_gn/moz.build
84337
+++ third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build
85028
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
84338
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
85029
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
84339
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
85030
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
84340
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 85047-85053 index 1d1555984fb0..4f8961109262 100644 Link Here
85047
 
84357
 
85048
 FINAL_LIBRARY = "xul"
84358
 FINAL_LIBRARY = "xul"
85049
 
84359
 
85050
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
84360
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
85051
 if CONFIG["MOZ_DEBUG"] == "1":
84361
 if CONFIG["MOZ_DEBUG"] == "1":
85052
 
84362
 
85053
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
84363
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 85066-85071 index 1d1555984fb0..4f8961109262 100644 Link Here
85066
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
84376
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
85067
-    DEFINES["__STDC_FORMAT_MACROS"] = True
84377
-    DEFINES["__STDC_FORMAT_MACROS"] = True
85068
-
84378
-
84379
-    OS_LIBS += [
84380
-        "log"
84381
-    ]
84382
-
85069
-if CONFIG["OS_TARGET"] == "Darwin":
84383
-if CONFIG["OS_TARGET"] == "Darwin":
85070
-
84384
-
85071
-    DEFINES["WEBRTC_MAC"] = True
84385
-    DEFINES["WEBRTC_MAC"] = True
Lines 85140-85145 index 1d1555984fb0..4f8961109262 100644 Link Here
85140
 
84454
 
85141
-if CONFIG["TARGET_CPU"] == "arm":
84455
-if CONFIG["TARGET_CPU"] == "arm":
85142
-
84456
-
84457
-    CXXFLAGS += [
84458
-        "-mfpu=neon"
84459
-    ]
84460
-
85143
-    DEFINES["WEBRTC_ARCH_ARM"] = True
84461
-    DEFINES["WEBRTC_ARCH_ARM"] = True
85144
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
84462
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
85145
-    DEFINES["WEBRTC_HAS_NEON"] = True
84463
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 85156-85165 index 1d1555984fb0..4f8961109262 100644 Link Here
85156
 
84474
 
85157
 if CONFIG["TARGET_CPU"] == "x86":
84475
 if CONFIG["TARGET_CPU"] == "x86":
85158
 
84476
 
85159
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
84477
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
85160
 
84478
-
85161
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
84479
-if CONFIG["TARGET_CPU"] == "x86_64":
85162
 
84480
-
84481
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
84482
-
85163
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
84483
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
85164
-
84484
-
85165
-    DEFINES["_DEBUG"] = True
84485
-    DEFINES["_DEBUG"] = True
Lines 85181-85196 index 1d1555984fb0..4f8961109262 100644 Link Here
85181
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
84501
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
85182
-
84502
-
85183
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
84503
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
85184
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
84504
-
85185
 
84505
-    DEFINES["USE_X11"] = "1"
85186
     DEFINES["USE_X11"] = "1"
84506
-
85187
 
85188
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
84507
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
85189
-
84508
-
85190
-    OS_LIBS += [
84509
-    OS_LIBS += [
85191
-        "unwind"
84510
-        "unwind"
85192
-    ]
84511
-    ]
85193
-
84512
-
84513
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
84514
-
84515
     CXXFLAGS += [
84516
         "-msse2"
84517
     ]
84518
 
85194
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
84519
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
85195
-
84520
-
85196
-    DEFINES["_GNU_SOURCE"] = True
84521
-    DEFINES["_GNU_SOURCE"] = True
Lines 85200-85376 index 1d1555984fb0..4f8961109262 100644 Link Here
85200
-    DEFINES["_GNU_SOURCE"] = True
84525
-    DEFINES["_GNU_SOURCE"] = True
85201
-
84526
-
85202
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
84527
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
85203
-
84528
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
84529
 
84530
-    CXXFLAGS += [
84531
-        "-msse2"
84532
-    ]
84533
+if CONFIG["TARGET_CPU"] == "x86_64":
84534
 
85204
-    DEFINES["_GNU_SOURCE"] = True
84535
-    DEFINES["_GNU_SOURCE"] = True
85205
-
84536
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
84537
 
85206
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
84538
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
85207
-
84539
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
84540
 
85208
-    DEFINES["_GNU_SOURCE"] = True
84541
-    DEFINES["_GNU_SOURCE"] = True
85209
-
84542
+    DEFINES["USE_X11"] = "1"
85210
 Library("arch_gn")
84543
 
85211
diff --git third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build
84544
 Library("yield_policy_gn")
85212
deleted file mode 100644
84545
diff --git third_party/libwebrtc/rtc_base/system/arch_gn/moz.build third_party/libwebrtc/rtc_base/system/arch_gn/moz.build
85213
index 9ea729634114..000000000000
84546
index eab84dd33140..cc9898059b47 100644
85214
--- third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build
84547
--- third_party/libwebrtc/rtc_base/system/arch_gn/moz.build
85215
+++ /dev/null
84548
+++ third_party/libwebrtc/rtc_base/system/arch_gn/moz.build
85216
@@ -1,80 +0,0 @@
85217
-# This Source Code Form is subject to the terms of the Mozilla Public
85218
-# License, v. 2.0. If a copy of the MPL was not distributed with this
85219
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
85220
-
85221
-
85222
-  ### This moz.build was AUTOMATICALLY GENERATED from a GN config,  ###
85223
-  ### DO NOT edit it by hand.                                       ###
85224
-
85225
-COMPILE_FLAGS["OS_INCLUDES"] = []
85226
-AllowCompilerWarnings()
85227
-
85228
-DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
85229
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
85230
-DEFINES["RTC_ENABLE_VP9"] = True
85231
-DEFINES["WEBRTC_ARCH_ARM"] = True
85232
-DEFINES["WEBRTC_ARCH_ARM_V7"] = True
85233
-DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
85234
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
85235
-DEFINES["WEBRTC_HAS_NEON"] = True
85236
-DEFINES["WEBRTC_LIBRARY_IMPL"] = True
85237
-DEFINES["WEBRTC_LINUX"] = True
85238
-DEFINES["WEBRTC_MOZILLA_BUILD"] = True
85239
-DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
85240
-DEFINES["WEBRTC_POSIX"] = True
85241
-DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
85242
-DEFINES["_GNU_SOURCE"] = True
85243
-DEFINES["__STDC_CONSTANT_MACROS"] = True
85244
-DEFINES["__STDC_FORMAT_MACROS"] = True
85245
-
85246
-FINAL_LIBRARY = "xul"
85247
-
85248
-
85249
-LOCAL_INCLUDES += [
85250
-    "!/ipc/ipdl/_ipdlheaders",
85251
-    "!/third_party/libwebrtc/gen",
85252
-    "/ipc/chromium/src",
85253
-    "/third_party/libwebrtc/",
85254
-    "/third_party/libwebrtc/third_party/abseil-cpp/",
85255
-    "/tools/profiler/public"
85256
-]
85257
-
85258
-if not CONFIG["MOZ_DEBUG"]:
85259
-
85260
-    DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
85261
-    DEFINES["NDEBUG"] = True
85262
-    DEFINES["NVALGRIND"] = True
85263
-
85264
-if CONFIG["MOZ_DEBUG"] == "1":
85265
-
85266
-    DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
85267
-    DEFINES["_DEBUG"] = True
85268
-
85269
-if CONFIG["OS_TARGET"] == "Android":
85270
-
85271
-    DEFINES["ANDROID"] = True
85272
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
85273
-    DEFINES["HAVE_SYS_UIO_H"] = True
85274
-    DEFINES["WEBRTC_ANDROID"] = True
85275
-    DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
85276
-
85277
-    OS_LIBS += [
85278
-        "unwind"
85279
-    ]
85280
-
85281
-if CONFIG["OS_TARGET"] == "Linux":
85282
-
85283
-    DEFINES["USE_AURA"] = "1"
85284
-    DEFINES["USE_GLIB"] = "1"
85285
-    DEFINES["USE_NSS_CERTS"] = "1"
85286
-    DEFINES["USE_OZONE"] = "1"
85287
-    DEFINES["USE_UDEV"] = True
85288
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
85289
-    DEFINES["_LARGEFILE64_SOURCE"] = True
85290
-    DEFINES["_LARGEFILE_SOURCE"] = True
85291
-
85292
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
85293
-
85294
-    DEFINES["USE_X11"] = "1"
85295
-
85296
-Library("asm_defines_gn")
85297
diff --git third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build
85298
deleted file mode 100644
85299
index 36bdf13d4b68..000000000000
85300
--- third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build
85301
+++ /dev/null
85302
@@ -1,67 +0,0 @@
85303
-# This Source Code Form is subject to the terms of the Mozilla Public
85304
-# License, v. 2.0. If a copy of the MPL was not distributed with this
85305
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
85306
-
85307
-
85308
-  ### This moz.build was AUTOMATICALLY GENERATED from a GN config,  ###
85309
-  ### DO NOT edit it by hand.                                       ###
85310
-
85311
-CMMFLAGS += [
85312
-    "-fobjc-arc"
85313
-]
85314
-
85315
-COMPILE_FLAGS["OS_INCLUDES"] = []
85316
-AllowCompilerWarnings()
85317
-
85318
-DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
85319
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
85320
-DEFINES["RTC_ENABLE_VP9"] = True
85321
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
85322
-DEFINES["WEBRTC_LIBRARY_IMPL"] = True
85323
-DEFINES["WEBRTC_MAC"] = True
85324
-DEFINES["WEBRTC_MOZILLA_BUILD"] = True
85325
-DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
85326
-DEFINES["WEBRTC_POSIX"] = True
85327
-DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
85328
-DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
85329
-DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
85330
-DEFINES["__STDC_CONSTANT_MACROS"] = True
85331
-DEFINES["__STDC_FORMAT_MACROS"] = True
85332
-
85333
-FINAL_LIBRARY = "xul"
85334
-
85335
-
85336
-LOCAL_INCLUDES += [
85337
-    "!/ipc/ipdl/_ipdlheaders",
85338
-    "!/third_party/libwebrtc/gen",
85339
-    "/ipc/chromium/src",
85340
-    "/third_party/libwebrtc/",
85341
-    "/third_party/libwebrtc/third_party/abseil-cpp/",
85342
-    "/tools/profiler/public"
85343
-]
85344
-
85345
-UNIFIED_SOURCES += [
85346
-    "/third_party/libwebrtc/rtc_base/system/cocoa_threading.mm"
85347
-]
85348
-
85349
-if not CONFIG["MOZ_DEBUG"]:
85350
-
85351
-    DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
85352
-    DEFINES["NDEBUG"] = True
85353
-    DEFINES["NVALGRIND"] = True
85354
-
85355
-if CONFIG["MOZ_DEBUG"] == "1":
85356
-
85357
-    DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
85358
-    DEFINES["_DEBUG"] = True
85359
-
85360
-if CONFIG["TARGET_CPU"] == "aarch64":
85361
-
85362
-    DEFINES["WEBRTC_ARCH_ARM64"] = True
85363
-    DEFINES["WEBRTC_HAS_NEON"] = True
85364
-
85365
-if CONFIG["TARGET_CPU"] == "x86_64":
85366
-
85367
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
85368
-
85369
-Library("cocoa_threading_gn")
85370
diff --git third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build
85371
index 807f4726e102..81fb6a624984 100644
85372
--- third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build
85373
+++ third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build
85374
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
84549
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
85375
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
84550
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
85376
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
84551
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 85393-85399 index 807f4726e102..81fb6a624984 100644 Link Here
85393
 
84568
 
85394
 FINAL_LIBRARY = "xul"
84569
 FINAL_LIBRARY = "xul"
85395
 
84570
 
85396
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
84571
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
85397
 if CONFIG["MOZ_DEBUG"] == "1":
84572
 if CONFIG["MOZ_DEBUG"] == "1":
85398
 
84573
 
85399
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
84574
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 85412-85421 index 807f4726e102..81fb6a624984 100644 Link Here
85412
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
84587
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
85413
-    DEFINES["__STDC_FORMAT_MACROS"] = True
84588
-    DEFINES["__STDC_FORMAT_MACROS"] = True
85414
-
84589
-
85415
-    OS_LIBS += [
85416
-        "log"
85417
-    ]
85418
-
85419
-if CONFIG["OS_TARGET"] == "Darwin":
84590
-if CONFIG["OS_TARGET"] == "Darwin":
85420
-
84591
-
85421
-    DEFINES["WEBRTC_MAC"] = True
84592
-    DEFINES["WEBRTC_MAC"] = True
Lines 85490-85499 index 807f4726e102..81fb6a624984 100644 Link Here
85490
 
84661
 
85491
-if CONFIG["TARGET_CPU"] == "arm":
84662
-if CONFIG["TARGET_CPU"] == "arm":
85492
-
84663
-
85493
-    CXXFLAGS += [
85494
-        "-mfpu=neon"
85495
-    ]
85496
-
85497
-    DEFINES["WEBRTC_ARCH_ARM"] = True
84664
-    DEFINES["WEBRTC_ARCH_ARM"] = True
85498
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
84665
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
85499
-    DEFINES["WEBRTC_HAS_NEON"] = True
84666
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 85510-85521 index 807f4726e102..81fb6a624984 100644 Link Here
85510
 
84677
 
85511
 if CONFIG["TARGET_CPU"] == "x86":
84678
 if CONFIG["TARGET_CPU"] == "x86":
85512
 
84679
 
85513
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
84680
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
85514
-
84681
 
85515
-if CONFIG["TARGET_CPU"] == "x86_64":
84682
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
85516
-
84683
 
85517
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
85518
-
85519
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
84684
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
85520
-
84685
-
85521
-    DEFINES["_DEBUG"] = True
84686
-    DEFINES["_DEBUG"] = True
Lines 85537-85557 index 807f4726e102..81fb6a624984 100644 Link Here
85537
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
84702
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
85538
-
84703
-
85539
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
84704
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
85540
-
84705
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
85541
-    DEFINES["USE_X11"] = "1"
84706
 
85542
-
84707
     DEFINES["USE_X11"] = "1"
84708
 
85543
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
84709
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
85544
-
84710
-
85545
-    OS_LIBS += [
84711
-    OS_LIBS += [
85546
-        "unwind"
84712
-        "unwind"
85547
-    ]
84713
-    ]
85548
-
84714
-
85549
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
85550
-
85551
     CXXFLAGS += [
85552
         "-msse2"
85553
     ]
85554
 
85555
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
84715
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
85556
-
84716
-
85557
-    DEFINES["_GNU_SOURCE"] = True
84717
-    DEFINES["_GNU_SOURCE"] = True
Lines 85561-85587 index 807f4726e102..81fb6a624984 100644 Link Here
85561
-    DEFINES["_GNU_SOURCE"] = True
84721
-    DEFINES["_GNU_SOURCE"] = True
85562
-
84722
-
85563
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
84723
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
85564
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
84724
-
85565
 
85566
-    CXXFLAGS += [
85567
-        "-msse2"
85568
-    ]
85569
+if CONFIG["TARGET_CPU"] == "x86_64":
85570
 
85571
-    DEFINES["_GNU_SOURCE"] = True
84725
-    DEFINES["_GNU_SOURCE"] = True
85572
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
84726
-
85573
 
85574
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
84727
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
85575
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
84728
-
85576
 
85577
-    DEFINES["_GNU_SOURCE"] = True
84729
-    DEFINES["_GNU_SOURCE"] = True
85578
+    DEFINES["USE_X11"] = "1"
84730
-
85579
 
84731
 Library("arch_gn")
85580
 Library("file_wrapper_gn")
84732
diff --git third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build
85581
diff --git third_party/libwebrtc/rtc_base/system/gcd_helpers_gn/moz.build third_party/libwebrtc/rtc_base/system/gcd_helpers_gn/moz.build
85582
deleted file mode 100644
84733
deleted file mode 100644
85583
index 21350fb07bfa..000000000000
84734
index aef882dd21c6..000000000000
85584
--- third_party/libwebrtc/rtc_base/system/gcd_helpers_gn/moz.build
84735
--- third_party/libwebrtc/rtc_base/system/asm_defines_gn/moz.build
84736
+++ /dev/null
84737
@@ -1,80 +0,0 @@
84738
-# This Source Code Form is subject to the terms of the Mozilla Public
84739
-# License, v. 2.0. If a copy of the MPL was not distributed with this
84740
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
84741
-
84742
-
84743
-  ### This moz.build was AUTOMATICALLY GENERATED from a GN config,  ###
84744
-  ### DO NOT edit it by hand.                                       ###
84745
-
84746
-COMPILE_FLAGS["OS_INCLUDES"] = []
84747
-AllowCompilerWarnings()
84748
-
84749
-DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
84750
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
84751
-DEFINES["RTC_ENABLE_VP9"] = True
84752
-DEFINES["WEBRTC_ARCH_ARM"] = True
84753
-DEFINES["WEBRTC_ARCH_ARM_V7"] = True
84754
-DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
84755
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
84756
-DEFINES["WEBRTC_HAS_NEON"] = True
84757
-DEFINES["WEBRTC_LIBRARY_IMPL"] = True
84758
-DEFINES["WEBRTC_LINUX"] = True
84759
-DEFINES["WEBRTC_MOZILLA_BUILD"] = True
84760
-DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
84761
-DEFINES["WEBRTC_POSIX"] = True
84762
-DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
84763
-DEFINES["_GNU_SOURCE"] = True
84764
-DEFINES["__STDC_CONSTANT_MACROS"] = True
84765
-DEFINES["__STDC_FORMAT_MACROS"] = True
84766
-
84767
-FINAL_LIBRARY = "xul"
84768
-
84769
-
84770
-LOCAL_INCLUDES += [
84771
-    "!/ipc/ipdl/_ipdlheaders",
84772
-    "!/third_party/libwebrtc/gen",
84773
-    "/ipc/chromium/src",
84774
-    "/third_party/abseil-cpp/",
84775
-    "/third_party/libwebrtc/",
84776
-    "/tools/profiler/public"
84777
-]
84778
-
84779
-if not CONFIG["MOZ_DEBUG"]:
84780
-
84781
-    DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
84782
-    DEFINES["NDEBUG"] = True
84783
-    DEFINES["NVALGRIND"] = True
84784
-
84785
-if CONFIG["MOZ_DEBUG"] == "1":
84786
-
84787
-    DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
84788
-    DEFINES["_DEBUG"] = True
84789
-
84790
-if CONFIG["OS_TARGET"] == "Android":
84791
-
84792
-    DEFINES["ANDROID"] = True
84793
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
84794
-    DEFINES["HAVE_SYS_UIO_H"] = True
84795
-    DEFINES["WEBRTC_ANDROID"] = True
84796
-    DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
84797
-
84798
-    OS_LIBS += [
84799
-        "unwind"
84800
-    ]
84801
-
84802
-if CONFIG["OS_TARGET"] == "Linux":
84803
-
84804
-    DEFINES["USE_AURA"] = "1"
84805
-    DEFINES["USE_GLIB"] = "1"
84806
-    DEFINES["USE_NSS_CERTS"] = "1"
84807
-    DEFINES["USE_OZONE"] = "1"
84808
-    DEFINES["USE_UDEV"] = True
84809
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
84810
-    DEFINES["_LARGEFILE64_SOURCE"] = True
84811
-    DEFINES["_LARGEFILE_SOURCE"] = True
84812
-
84813
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
84814
-
84815
-    DEFINES["USE_X11"] = "1"
84816
-
84817
-Library("asm_defines_gn")
84818
diff --git third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build
84819
deleted file mode 100644
84820
index 558f19324d33..000000000000
84821
--- third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build
85585
+++ /dev/null
84822
+++ /dev/null
85586
@@ -1,67 +0,0 @@
84823
@@ -1,67 +0,0 @@
85587
-# This Source Code Form is subject to the terms of the Mozilla Public
84824
-# This Source Code Form is subject to the terms of the Mozilla Public
Lines 85592-85598 index 21350fb07bfa..000000000000 Link Here
85592
-  ### This moz.build was AUTOMATICALLY GENERATED from a GN config,  ###
84829
-  ### This moz.build was AUTOMATICALLY GENERATED from a GN config,  ###
85593
-  ### DO NOT edit it by hand.                                       ###
84830
-  ### DO NOT edit it by hand.                                       ###
85594
-
84831
-
85595
-CMFLAGS += [
84832
-CMMFLAGS += [
85596
-    "-fobjc-arc"
84833
-    "-fobjc-arc"
85597
-]
84834
-]
85598
-
84835
-
Lines 85621-85633 index 21350fb07bfa..000000000000 Link Here
85621
-    "!/ipc/ipdl/_ipdlheaders",
84858
-    "!/ipc/ipdl/_ipdlheaders",
85622
-    "!/third_party/libwebrtc/gen",
84859
-    "!/third_party/libwebrtc/gen",
85623
-    "/ipc/chromium/src",
84860
-    "/ipc/chromium/src",
84861
-    "/third_party/abseil-cpp/",
85624
-    "/third_party/libwebrtc/",
84862
-    "/third_party/libwebrtc/",
85625
-    "/third_party/libwebrtc/third_party/abseil-cpp/",
85626
-    "/tools/profiler/public"
84863
-    "/tools/profiler/public"
85627
-]
84864
-]
85628
-
84865
-
85629
-UNIFIED_SOURCES += [
84866
-UNIFIED_SOURCES += [
85630
-    "/third_party/libwebrtc/rtc_base/system/gcd_helpers.m"
84867
-    "/third_party/libwebrtc/rtc_base/system/cocoa_threading.mm"
85631
-]
84868
-]
85632
-
84869
-
85633
-if not CONFIG["MOZ_DEBUG"]:
84870
-if not CONFIG["MOZ_DEBUG"]:
Lines 85650-85660 index 21350fb07bfa..000000000000 Link Here
85650
-
84887
-
85651
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
84888
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
85652
-
84889
-
85653
-Library("gcd_helpers_gn")
84890
-Library("cocoa_threading_gn")
85654
diff --git third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build
84891
diff --git third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build
85655
index 7a5b33257453..e12ece6bf6df 100644
84892
index 4fa2a3995855..b24a234a8441 100644
85656
--- third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build
84893
--- third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build
85657
+++ third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build
84894
+++ third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build
85658
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
84895
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
85659
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
84896
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
85660
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
84897
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 85677-85683 index 7a5b33257453..e12ece6bf6df 100644 Link Here
85677
 
84914
 
85678
 FINAL_LIBRARY = "xul"
84915
 FINAL_LIBRARY = "xul"
85679
 
84916
 
85680
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
84917
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
85681
 if CONFIG["MOZ_DEBUG"] == "1":
84918
 if CONFIG["MOZ_DEBUG"] == "1":
85682
 
84919
 
85683
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
84920
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 85696-85701 index 7a5b33257453..e12ece6bf6df 100644 Link Here
85696
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
84933
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
85697
-    DEFINES["__STDC_FORMAT_MACROS"] = True
84934
-    DEFINES["__STDC_FORMAT_MACROS"] = True
85698
-
84935
-
84936
-    OS_LIBS += [
84937
-        "log"
84938
-    ]
84939
-
85699
-if CONFIG["OS_TARGET"] == "Darwin":
84940
-if CONFIG["OS_TARGET"] == "Darwin":
85700
-
84941
-
85701
-    DEFINES["WEBRTC_MAC"] = True
84942
-    DEFINES["WEBRTC_MAC"] = True
Lines 85770-85775 index 7a5b33257453..e12ece6bf6df 100644 Link Here
85770
 
85011
 
85771
-if CONFIG["TARGET_CPU"] == "arm":
85012
-if CONFIG["TARGET_CPU"] == "arm":
85772
-
85013
-
85014
-    CXXFLAGS += [
85015
-        "-mfpu=neon"
85016
-    ]
85017
-
85773
-    DEFINES["WEBRTC_ARCH_ARM"] = True
85018
-    DEFINES["WEBRTC_ARCH_ARM"] = True
85774
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
85019
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
85775
-    DEFINES["WEBRTC_HAS_NEON"] = True
85020
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 85786-85795 index 7a5b33257453..e12ece6bf6df 100644 Link Here
85786
 
85031
 
85787
 if CONFIG["TARGET_CPU"] == "x86":
85032
 if CONFIG["TARGET_CPU"] == "x86":
85788
 
85033
 
85789
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
85034
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
85790
 
85035
-
85791
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
85036
-if CONFIG["TARGET_CPU"] == "x86_64":
85792
 
85037
-
85038
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
85039
-
85793
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
85040
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
85794
-
85041
-
85795
-    DEFINES["_DEBUG"] = True
85042
-    DEFINES["_DEBUG"] = True
Lines 85811-85826 index 7a5b33257453..e12ece6bf6df 100644 Link Here
85811
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
85058
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
85812
-
85059
-
85813
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
85060
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
85814
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
85061
-
85815
 
85062
-    DEFINES["USE_X11"] = "1"
85816
     DEFINES["USE_X11"] = "1"
85063
-
85817
 
85818
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
85064
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
85819
-
85065
-
85820
-    OS_LIBS += [
85066
-    OS_LIBS += [
85821
-        "unwind"
85067
-        "unwind"
85822
-    ]
85068
-    ]
85823
-
85069
-
85070
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
85071
-
85072
     CXXFLAGS += [
85073
         "-msse2"
85074
     ]
85075
 
85824
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
85076
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
85825
-
85077
-
85826
-    DEFINES["_GNU_SOURCE"] = True
85078
-    DEFINES["_GNU_SOURCE"] = True
Lines 85830-85847 index 7a5b33257453..e12ece6bf6df 100644 Link Here
85830
-    DEFINES["_GNU_SOURCE"] = True
85082
-    DEFINES["_GNU_SOURCE"] = True
85831
-
85083
-
85832
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
85084
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
85833
-
85085
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
85086
 
85087
-    CXXFLAGS += [
85088
-        "-msse2"
85089
-    ]
85090
+if CONFIG["TARGET_CPU"] == "x86_64":
85091
 
85834
-    DEFINES["_GNU_SOURCE"] = True
85092
-    DEFINES["_GNU_SOURCE"] = True
85835
-
85093
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
85094
 
85836
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
85095
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
85837
-
85096
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
85097
 
85838
-    DEFINES["_GNU_SOURCE"] = True
85098
-    DEFINES["_GNU_SOURCE"] = True
85099
+    DEFINES["USE_X11"] = "1"
85100
 
85101
 Library("file_wrapper_gn")
85102
diff --git third_party/libwebrtc/rtc_base/system/gcd_helpers_gn/moz.build third_party/libwebrtc/rtc_base/system/gcd_helpers_gn/moz.build
85103
deleted file mode 100644
85104
index ebb3552a5504..000000000000
85105
--- third_party/libwebrtc/rtc_base/system/gcd_helpers_gn/moz.build
85106
+++ /dev/null
85107
@@ -1,67 +0,0 @@
85108
-# This Source Code Form is subject to the terms of the Mozilla Public
85109
-# License, v. 2.0. If a copy of the MPL was not distributed with this
85110
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
85839
-
85111
-
85840
 Library("ignore_warnings_gn")
85112
-
85841
diff --git third_party/libwebrtc/rtc_base/system/inline_gn/moz.build third_party/libwebrtc/rtc_base/system/inline_gn/moz.build
85113
-  ### This moz.build was AUTOMATICALLY GENERATED from a GN config,  ###
85842
index 7df25c5644f1..64d47571debc 100644
85114
-  ### DO NOT edit it by hand.                                       ###
85843
--- third_party/libwebrtc/rtc_base/system/inline_gn/moz.build
85115
-
85844
+++ third_party/libwebrtc/rtc_base/system/inline_gn/moz.build
85116
-CMFLAGS += [
85117
-    "-fobjc-arc"
85118
-]
85119
-
85120
-COMPILE_FLAGS["OS_INCLUDES"] = []
85121
-AllowCompilerWarnings()
85122
-
85123
-DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
85124
-DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
85125
-DEFINES["RTC_ENABLE_VP9"] = True
85126
-DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
85127
-DEFINES["WEBRTC_LIBRARY_IMPL"] = True
85128
-DEFINES["WEBRTC_MAC"] = True
85129
-DEFINES["WEBRTC_MOZILLA_BUILD"] = True
85130
-DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
85131
-DEFINES["WEBRTC_POSIX"] = True
85132
-DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
85133
-DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
85134
-DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
85135
-DEFINES["__STDC_CONSTANT_MACROS"] = True
85136
-DEFINES["__STDC_FORMAT_MACROS"] = True
85137
-
85138
-FINAL_LIBRARY = "xul"
85139
-
85140
-
85141
-LOCAL_INCLUDES += [
85142
-    "!/ipc/ipdl/_ipdlheaders",
85143
-    "!/third_party/libwebrtc/gen",
85144
-    "/ipc/chromium/src",
85145
-    "/third_party/abseil-cpp/",
85146
-    "/third_party/libwebrtc/",
85147
-    "/tools/profiler/public"
85148
-]
85149
-
85150
-UNIFIED_SOURCES += [
85151
-    "/third_party/libwebrtc/rtc_base/system/gcd_helpers.m"
85152
-]
85153
-
85154
-if not CONFIG["MOZ_DEBUG"]:
85155
-
85156
-    DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
85157
-    DEFINES["NDEBUG"] = True
85158
-    DEFINES["NVALGRIND"] = True
85159
-
85160
-if CONFIG["MOZ_DEBUG"] == "1":
85161
-
85162
-    DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
85163
-    DEFINES["_DEBUG"] = True
85164
-
85165
-if CONFIG["TARGET_CPU"] == "aarch64":
85166
-
85167
-    DEFINES["WEBRTC_ARCH_ARM64"] = True
85168
-    DEFINES["WEBRTC_HAS_NEON"] = True
85169
-
85170
-if CONFIG["TARGET_CPU"] == "x86_64":
85171
-
85172
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
85173
-
85174
-Library("gcd_helpers_gn")
85175
diff --git third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build
85176
index d807d9e45d42..b6f7d1224f89 100644
85177
--- third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build
85178
+++ third_party/libwebrtc/rtc_base/system/ignore_warnings_gn/moz.build
85845
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
85179
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
85846
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
85180
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
85847
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
85181
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 86024-86034 index 7df25c5644f1..64d47571debc 100644 Link Here
86024
-
85358
-
86025
-    DEFINES["_GNU_SOURCE"] = True
85359
-    DEFINES["_GNU_SOURCE"] = True
86026
-
85360
-
86027
 Library("inline_gn")
85361
 Library("ignore_warnings_gn")
86028
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
85362
diff --git third_party/libwebrtc/rtc_base/system/inline_gn/moz.build third_party/libwebrtc/rtc_base/system/inline_gn/moz.build
86029
index 17a93fe6bf50..658616cb1183 100644
85363
index e427abf5700d..7b1087757005 100644
86030
--- third_party/libwebrtc/rtc_base/system/no_unique_address_gn/moz.build
85364
--- third_party/libwebrtc/rtc_base/system/inline_gn/moz.build
86031
+++ third_party/libwebrtc/rtc_base/system/no_unique_address_gn/moz.build
85365
+++ third_party/libwebrtc/rtc_base/system/inline_gn/moz.build
86032
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
85366
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
86033
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
85367
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
86034
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
85368
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 86211-86221 index 17a93fe6bf50..658616cb1183 100644 Link Here
86211
-
85545
-
86212
-    DEFINES["_GNU_SOURCE"] = True
85546
-    DEFINES["_GNU_SOURCE"] = True
86213
-
85547
-
86214
 Library("no_unique_address_gn")
85548
 Library("inline_gn")
86215
diff --git third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build
85549
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
86216
index e0c1fd16dc3e..47d3317cfa4a 100644
85550
index 8003a8f5e6ff..fa1723ca2198 100644
86217
--- third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build
85551
--- third_party/libwebrtc/rtc_base/system/no_unique_address_gn/moz.build
86218
+++ third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build
85552
+++ third_party/libwebrtc/rtc_base/system/no_unique_address_gn/moz.build
86219
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
85553
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
86220
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
85554
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
86221
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
85555
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 86398-86408 index e0c1fd16dc3e..47d3317cfa4a 100644 Link Here
86398
-
85732
-
86399
-    DEFINES["_GNU_SOURCE"] = True
85733
-    DEFINES["_GNU_SOURCE"] = True
86400
-
85734
-
86401
 Library("rtc_export_gn")
85735
 Library("no_unique_address_gn")
86402
diff --git third_party/libwebrtc/rtc_base/system/unused_gn/moz.build third_party/libwebrtc/rtc_base/system/unused_gn/moz.build
85736
diff --git third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build
86403
index 11c7d7e1a9c3..49b5c9ab23a6 100644
85737
index d58855bc2c57..85f76cc47513 100644
86404
--- third_party/libwebrtc/rtc_base/system/unused_gn/moz.build
85738
--- third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build
86405
+++ third_party/libwebrtc/rtc_base/system/unused_gn/moz.build
85739
+++ third_party/libwebrtc/rtc_base/system/rtc_export_gn/moz.build
86406
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
85740
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
86407
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
85741
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
86408
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
85742
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 86585-86595 index 11c7d7e1a9c3..49b5c9ab23a6 100644 Link Here
86585
-
85919
-
86586
-    DEFINES["_GNU_SOURCE"] = True
85920
-    DEFINES["_GNU_SOURCE"] = True
86587
-
85921
-
86588
 Library("unused_gn")
85922
 Library("rtc_export_gn")
86589
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
85923
diff --git third_party/libwebrtc/rtc_base/system/unused_gn/moz.build third_party/libwebrtc/rtc_base/system/unused_gn/moz.build
86590
index 72142098bf1c..851abb2f75d7 100644
85924
index 14c87f46cf75..2e2d1ccdc9f2 100644
86591
--- third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build
85925
--- third_party/libwebrtc/rtc_base/system/unused_gn/moz.build
86592
+++ third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build
85926
+++ third_party/libwebrtc/rtc_base/system/unused_gn/moz.build
86593
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
85927
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
86594
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
85928
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
86595
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
85929
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 86772-86782 index 72142098bf1c..851abb2f75d7 100644 Link Here
86772
-
86106
-
86773
-    DEFINES["_GNU_SOURCE"] = True
86107
-    DEFINES["_GNU_SOURCE"] = True
86774
-
86108
-
86775
 Library("warn_current_thread_is_deadlocked_gn")
86109
 Library("unused_gn")
86776
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
86110
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
86777
index b6057410da79..05fcf9b60a33 100644
86111
index 639589a8525d..9f50e33f1bd5 100644
86778
--- third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build
86112
--- third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build
86779
+++ third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build
86113
+++ third_party/libwebrtc/rtc_base/system/warn_current_thread_is_deadlocked_gn/moz.build
86780
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
86114
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
86781
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
86115
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
86782
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
86116
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 86799-86805 index b6057410da79..05fcf9b60a33 100644 Link Here
86799
 
86133
 
86800
 FINAL_LIBRARY = "xul"
86134
 FINAL_LIBRARY = "xul"
86801
 
86135
 
86802
@@ -43,189 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
86136
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
86803
 if CONFIG["MOZ_DEBUG"] == "1":
86137
 if CONFIG["MOZ_DEBUG"] == "1":
86804
 
86138
 
86805
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
86139
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 86818-86827 index b6057410da79..05fcf9b60a33 100644 Link Here
86818
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
86152
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
86819
-    DEFINES["__STDC_FORMAT_MACROS"] = True
86153
-    DEFINES["__STDC_FORMAT_MACROS"] = True
86820
-
86154
-
86821
-    OS_LIBS += [
86822
-        "log"
86823
-    ]
86824
-
86825
-if CONFIG["OS_TARGET"] == "Darwin":
86155
-if CONFIG["OS_TARGET"] == "Darwin":
86826
-
86156
-
86827
-    DEFINES["WEBRTC_MAC"] = True
86157
-    DEFINES["WEBRTC_MAC"] = True
Lines 86847-86856 index b6057410da79..05fcf9b60a33 100644 Link Here
86847
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
86177
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
86848
-    DEFINES["__STDC_FORMAT_MACROS"] = True
86178
-    DEFINES["__STDC_FORMAT_MACROS"] = True
86849
-
86179
-
86850
-    OS_LIBS += [
86851
-        "rt"
86852
-    ]
86853
-
86854
-if CONFIG["OS_TARGET"] == "OpenBSD":
86180
-if CONFIG["OS_TARGET"] == "OpenBSD":
86855
-
86181
-
86856
-    DEFINES["USE_GLIB"] = "1"
86182
-    DEFINES["USE_GLIB"] = "1"
Lines 86891-86903 index b6057410da79..05fcf9b60a33 100644 Link Here
86891
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
86217
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
86892
-    DEFINES["_WINDOWS"] = True
86218
-    DEFINES["_WINDOWS"] = True
86893
-    DEFINES["__STD_C"] = True
86219
-    DEFINES["__STD_C"] = True
86894
-
86895
-    OS_LIBS += [
86896
-        "crypt32",
86897
-        "iphlpapi",
86898
-        "secur32",
86899
-        "winmm"
86900
-    ]
86901
+    DEFINES["_DEBUG"] = True
86220
+    DEFINES["_DEBUG"] = True
86902
 
86221
 
86903
 if CONFIG["TARGET_CPU"] == "aarch64":
86222
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 86907-86916 index b6057410da79..05fcf9b60a33 100644 Link Here
86907
 
86226
 
86908
-if CONFIG["TARGET_CPU"] == "arm":
86227
-if CONFIG["TARGET_CPU"] == "arm":
86909
-
86228
-
86910
-    CXXFLAGS += [
86911
-        "-mfpu=neon"
86912
-    ]
86913
-
86914
-    DEFINES["WEBRTC_ARCH_ARM"] = True
86229
-    DEFINES["WEBRTC_ARCH_ARM"] = True
86915
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
86230
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
86916
-    DEFINES["WEBRTC_HAS_NEON"] = True
86231
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 86927-87149 index b6057410da79..05fcf9b60a33 100644 Link Here
86927
 
86242
 
86928
 if CONFIG["TARGET_CPU"] == "x86":
86243
 if CONFIG["TARGET_CPU"] == "x86":
86929
 
86244
 
86930
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
86245
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
86931
-
86932
-if CONFIG["TARGET_CPU"] == "x86_64":
86933
-
86934
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
86935
-
86936
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
86937
-
86938
-    DEFINES["_DEBUG"] = True
86939
-
86940
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
86941
-
86942
-    DEFINES["_DEBUG"] = True
86943
-
86944
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
86945
-
86946
-    DEFINES["_DEBUG"] = True
86947
-
86948
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
86949
-
86950
-    DEFINES["_DEBUG"] = True
86951
-
86952
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
86953
-
86954
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
86955
-
86956
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
86957
-
86958
-    DEFINES["USE_X11"] = "1"
86959
-
86960
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
86961
-
86962
-    OS_LIBS += [
86963
-        "unwind"
86964
-    ]
86965
-
86966
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
86967
-
86968
     CXXFLAGS += [
86969
         "-msse2"
86970
     ]
86971
 
86972
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
86973
-
86974
-    DEFINES["_GNU_SOURCE"] = True
86975
-
86976
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
86977
-
86978
-    DEFINES["_GNU_SOURCE"] = True
86979
-
86980
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
86981
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
86982
 
86983
-    CXXFLAGS += [
86984
-        "-msse2"
86985
-    ]
86986
+if CONFIG["TARGET_CPU"] == "x86_64":
86987
 
86988
-    DEFINES["_GNU_SOURCE"] = True
86989
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
86990
 
86991
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
86992
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
86993
 
86994
-    DEFINES["_GNU_SOURCE"] = True
86995
+    DEFINES["USE_X11"] = "1"
86996
 
86997
 Library("repeating_task_gn")
86998
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
86999
index cd7049d1e1ad..48679d72d348 100644
87000
--- third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build
87001
+++ third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build
87002
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
87003
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
87004
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
87005
 DEFINES["RTC_ENABLE_VP9"] = True
87006
+DEFINES["USE_GLIB"] = "1"
87007
+DEFINES["USE_OZONE"] = "1"
87008
+DEFINES["WEBRTC_BSD"] = True
87009
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
87010
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
87011
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
87012
 DEFINES["WEBRTC_MOZILLA_BUILD"] = True
87013
 DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
87014
+DEFINES["WEBRTC_POSIX"] = True
87015
 DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
87016
+DEFINES["_FILE_OFFSET_BITS"] = "64"
87017
+DEFINES["_LARGEFILE64_SOURCE"] = True
87018
+DEFINES["_LARGEFILE_SOURCE"] = True
87019
+DEFINES["__STDC_CONSTANT_MACROS"] = True
87020
+DEFINES["__STDC_FORMAT_MACROS"] = True
87021
 
87022
 FINAL_LIBRARY = "xul"
87023
 
87024
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
87025
 if CONFIG["MOZ_DEBUG"] == "1":
87026
 
87027
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
87028
-
87029
-if CONFIG["OS_TARGET"] == "Android":
87030
-
87031
-    DEFINES["ANDROID"] = True
87032
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
87033
-    DEFINES["HAVE_SYS_UIO_H"] = True
87034
-    DEFINES["WEBRTC_ANDROID"] = True
87035
-    DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
87036
-    DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
87037
-    DEFINES["WEBRTC_LINUX"] = True
87038
-    DEFINES["WEBRTC_POSIX"] = True
87039
-    DEFINES["_GNU_SOURCE"] = True
87040
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
87041
-    DEFINES["__STDC_FORMAT_MACROS"] = True
87042
-
87043
-    OS_LIBS += [
87044
-        "log"
87045
-    ]
87046
-
87047
-if CONFIG["OS_TARGET"] == "Darwin":
87048
-
87049
-    DEFINES["WEBRTC_MAC"] = True
87050
-    DEFINES["WEBRTC_POSIX"] = True
87051
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
87052
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
87053
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
87054
-    DEFINES["__STDC_FORMAT_MACROS"] = True
87055
-
87056
-if CONFIG["OS_TARGET"] == "Linux":
87057
-
87058
-    DEFINES["USE_AURA"] = "1"
87059
-    DEFINES["USE_GLIB"] = "1"
87060
-    DEFINES["USE_NSS_CERTS"] = "1"
87061
-    DEFINES["USE_OZONE"] = "1"
87062
-    DEFINES["USE_UDEV"] = True
87063
-    DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
87064
-    DEFINES["WEBRTC_LINUX"] = True
87065
-    DEFINES["WEBRTC_POSIX"] = True
87066
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
87067
-    DEFINES["_LARGEFILE64_SOURCE"] = True
87068
-    DEFINES["_LARGEFILE_SOURCE"] = True
87069
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
87070
-    DEFINES["__STDC_FORMAT_MACROS"] = True
87071
-
87072
-if CONFIG["OS_TARGET"] == "OpenBSD":
87073
-
87074
-    DEFINES["USE_GLIB"] = "1"
87075
-    DEFINES["USE_OZONE"] = "1"
87076
-    DEFINES["USE_X11"] = "1"
87077
-    DEFINES["WEBRTC_BSD"] = True
87078
-    DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
87079
-    DEFINES["WEBRTC_POSIX"] = True
87080
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
87081
-    DEFINES["_LARGEFILE64_SOURCE"] = True
87082
-    DEFINES["_LARGEFILE_SOURCE"] = True
87083
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
87084
-    DEFINES["__STDC_FORMAT_MACROS"] = True
87085
-
87086
-if CONFIG["OS_TARGET"] == "WINNT":
87087
-
87088
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
87089
-    DEFINES["NOMINMAX"] = True
87090
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
87091
-    DEFINES["PSAPI_VERSION"] = "2"
87092
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
87093
-    DEFINES["UNICODE"] = True
87094
-    DEFINES["USE_AURA"] = "1"
87095
-    DEFINES["WEBRTC_WIN"] = True
87096
-    DEFINES["WIN32"] = True
87097
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
87098
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
87099
-    DEFINES["WINVER"] = "0x0A00"
87100
-    DEFINES["_ATL_NO_OPENGL"] = True
87101
-    DEFINES["_CRT_RAND_S"] = True
87102
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
87103
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
87104
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
87105
-    DEFINES["_HAS_NODISCARD"] = True
87106
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
87107
-    DEFINES["_SECURE_ATL"] = True
87108
-    DEFINES["_UNICODE"] = True
87109
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
87110
-    DEFINES["_WINDOWS"] = True
87111
-    DEFINES["__STD_C"] = True
87112
+    DEFINES["_DEBUG"] = True
87113
 
87114
 if CONFIG["TARGET_CPU"] == "aarch64":
87115
 
87116
     DEFINES["WEBRTC_ARCH_ARM64"] = True
87117
     DEFINES["WEBRTC_HAS_NEON"] = True
87118
 
87119
-if CONFIG["TARGET_CPU"] == "arm":
87120
-
87121
-    CXXFLAGS += [
87122
-        "-mfpu=neon"
87123
-    ]
87124
-
87125
-    DEFINES["WEBRTC_ARCH_ARM"] = True
87126
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
87127
-    DEFINES["WEBRTC_HAS_NEON"] = True
87128
-
87129
 if CONFIG["TARGET_CPU"] == "mips32":
87130
 
87131
     DEFINES["MIPS32_LE"] = True
87132
     DEFINES["MIPS_FPU_LE"] = True
87133
-    DEFINES["_GNU_SOURCE"] = True
87134
-
87135
-if CONFIG["TARGET_CPU"] == "mips64":
87136
-
87137
-    DEFINES["_GNU_SOURCE"] = True
87138
 
86246
 
87139
 if CONFIG["TARGET_CPU"] == "x86":
86247
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
87140
 
86248
 
87141
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
87142
-
87143
-if CONFIG["TARGET_CPU"] == "x86_64":
87144
-
87145
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
87146
-
87147
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
86249
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
87148
-
86250
-
87149
-    DEFINES["_DEBUG"] = True
86251
-    DEFINES["_DEBUG"] = True
Lines 87165-87185 index cd7049d1e1ad..48679d72d348 100644 Link Here
87165
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
86267
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
87166
-
86268
-
87167
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
86269
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
87168
-
86270
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
87169
-    DEFINES["USE_X11"] = "1"
86271
 
87170
-
86272
     DEFINES["USE_X11"] = "1"
86273
 
87171
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
86274
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
87172
-
86275
-
87173
-    OS_LIBS += [
86276
-    OS_LIBS += [
87174
-        "unwind"
86277
-        "unwind"
87175
-    ]
86278
-    ]
87176
-
86279
-
87177
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
87178
-
87179
     CXXFLAGS += [
87180
         "-msse2"
87181
     ]
87182
 
87183
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
86280
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
87184
-
86281
-
87185
-    DEFINES["_GNU_SOURCE"] = True
86282
-    DEFINES["_GNU_SOURCE"] = True
Lines 87189-87215 index cd7049d1e1ad..48679d72d348 100644 Link Here
87189
-    DEFINES["_GNU_SOURCE"] = True
86286
-    DEFINES["_GNU_SOURCE"] = True
87190
-
86287
-
87191
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
86288
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
87192
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
86289
-
87193
 
87194
-    CXXFLAGS += [
87195
-        "-msse2"
87196
-    ]
87197
+if CONFIG["TARGET_CPU"] == "x86_64":
87198
 
87199
-    DEFINES["_GNU_SOURCE"] = True
86290
-    DEFINES["_GNU_SOURCE"] = True
87200
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
86291
-
87201
 
87202
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
86292
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
87203
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
86293
-
87204
 
87205
-    DEFINES["_GNU_SOURCE"] = True
86294
-    DEFINES["_GNU_SOURCE"] = True
87206
+    DEFINES["USE_X11"] = "1"
86295
-
87207
 
86296
 Library("warn_current_thread_is_deadlocked_gn")
87208
 Library("base64_gn")
86297
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
87209
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
86298
index 330b87a2f876..2cecca8682c7 100644
87210
index b4ca57145cff..c1e70893bf9f 100644
86299
--- third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build
87211
--- third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build
86300
+++ third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build
87212
+++ third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build
87213
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
86301
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
87214
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
86302
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
87215
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
86303
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 87232-87238 index b4ca57145cff..c1e70893bf9f 100644 Link Here
87232
 
86320
 
87233
 FINAL_LIBRARY = "xul"
86321
 FINAL_LIBRARY = "xul"
87234
 
86322
 
87235
@@ -43,174 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
86323
@@ -43,189 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
87236
 if CONFIG["MOZ_DEBUG"] == "1":
86324
 if CONFIG["MOZ_DEBUG"] == "1":
87237
 
86325
 
87238
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
86326
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 87251-87256 index b4ca57145cff..c1e70893bf9f 100644 Link Here
87251
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
86339
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
87252
-    DEFINES["__STDC_FORMAT_MACROS"] = True
86340
-    DEFINES["__STDC_FORMAT_MACROS"] = True
87253
-
86341
-
86342
-    OS_LIBS += [
86343
-        "log"
86344
-    ]
86345
-
87254
-if CONFIG["OS_TARGET"] == "Darwin":
86346
-if CONFIG["OS_TARGET"] == "Darwin":
87255
-
86347
-
87256
-    DEFINES["WEBRTC_MAC"] = True
86348
-    DEFINES["WEBRTC_MAC"] = True
Lines 87276-87281 index b4ca57145cff..c1e70893bf9f 100644 Link Here
87276
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
86368
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
87277
-    DEFINES["__STDC_FORMAT_MACROS"] = True
86369
-    DEFINES["__STDC_FORMAT_MACROS"] = True
87278
-
86370
-
86371
-    OS_LIBS += [
86372
-        "rt"
86373
-    ]
86374
-
87279
-if CONFIG["OS_TARGET"] == "OpenBSD":
86375
-if CONFIG["OS_TARGET"] == "OpenBSD":
87280
-
86376
-
87281
-    DEFINES["USE_GLIB"] = "1"
86377
-    DEFINES["USE_GLIB"] = "1"
Lines 87316-87321 index b4ca57145cff..c1e70893bf9f 100644 Link Here
87316
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
86412
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
87317
-    DEFINES["_WINDOWS"] = True
86413
-    DEFINES["_WINDOWS"] = True
87318
-    DEFINES["__STD_C"] = True
86414
-    DEFINES["__STD_C"] = True
86415
-
86416
-    OS_LIBS += [
86417
-        "crypt32",
86418
-        "iphlpapi",
86419
-        "secur32",
86420
-        "winmm"
86421
-    ]
87319
+    DEFINES["_DEBUG"] = True
86422
+    DEFINES["_DEBUG"] = True
87320
 
86423
 
87321
 if CONFIG["TARGET_CPU"] == "aarch64":
86424
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 87412-87422 index b4ca57145cff..c1e70893bf9f 100644 Link Here
87412
-    DEFINES["_GNU_SOURCE"] = True
86515
-    DEFINES["_GNU_SOURCE"] = True
87413
+    DEFINES["USE_X11"] = "1"
86516
+    DEFINES["USE_X11"] = "1"
87414
 
86517
 
87415
 Library("sigslot_gn")
86518
 Library("repeating_task_gn")
87416
diff --git third_party/libwebrtc/rtc_base/threading_gn/moz.build third_party/libwebrtc/rtc_base/threading_gn/moz.build
86519
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
87417
index 53ae39a12405..28c418ee0db5 100644
86520
index 813e85ca2e2a..90c22496578a 100644
87418
--- third_party/libwebrtc/rtc_base/threading_gn/moz.build
86521
--- third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build
87419
+++ third_party/libwebrtc/rtc_base/threading_gn/moz.build
86522
+++ third_party/libwebrtc/rtc_base/third_party/base64/base64_gn/moz.build
87420
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
86523
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
87421
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
86524
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
87422
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
86525
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 87439-87445 index 53ae39a12405..28c418ee0db5 100644 Link Here
87439
 
86542
 
87440
 FINAL_LIBRARY = "xul"
86543
 FINAL_LIBRARY = "xul"
87441
 
86544
 
87442
@@ -46,202 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
86545
@@ -43,178 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
87443
 if CONFIG["MOZ_DEBUG"] == "1":
86546
 if CONFIG["MOZ_DEBUG"] == "1":
87444
 
86547
 
87445
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
86548
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 87459-87472 index 53ae39a12405..28c418ee0db5 100644 Link Here
87459
-    DEFINES["__STDC_FORMAT_MACROS"] = True
86562
-    DEFINES["__STDC_FORMAT_MACROS"] = True
87460
-
86563
-
87461
-    OS_LIBS += [
86564
-    OS_LIBS += [
87462
-        "GLESv2",
87463
-        "log"
86565
-        "log"
87464
-    ]
86566
-    ]
87465
-
86567
-
87466
-    UNIFIED_SOURCES += [
87467
-        "/third_party/libwebrtc/rtc_base/physical_socket_server.cc"
87468
-    ]
87469
-
87470
-if CONFIG["OS_TARGET"] == "Darwin":
86568
-if CONFIG["OS_TARGET"] == "Darwin":
87471
-
86569
-
87472
-    DEFINES["WEBRTC_MAC"] = True
86570
-    DEFINES["WEBRTC_MAC"] = True
Lines 87476-87485 index 53ae39a12405..28c418ee0db5 100644 Link Here
87476
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
86574
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
87477
-    DEFINES["__STDC_FORMAT_MACROS"] = True
86575
-    DEFINES["__STDC_FORMAT_MACROS"] = True
87478
-
86576
-
87479
-    UNIFIED_SOURCES += [
87480
-        "/third_party/libwebrtc/rtc_base/physical_socket_server.cc"
87481
-    ]
87482
-
87483
-if CONFIG["OS_TARGET"] == "Linux":
86577
-if CONFIG["OS_TARGET"] == "Linux":
87484
-
86578
-
87485
-    DEFINES["USE_AURA"] = "1"
86579
-    DEFINES["USE_AURA"] = "1"
Lines 87496-87505 index 53ae39a12405..28c418ee0db5 100644 Link Here
87496
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
86590
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
87497
-    DEFINES["__STDC_FORMAT_MACROS"] = True
86591
-    DEFINES["__STDC_FORMAT_MACROS"] = True
87498
-
86592
-
87499
-    UNIFIED_SOURCES += [
87500
-        "/third_party/libwebrtc/rtc_base/physical_socket_server.cc"
87501
-    ]
87502
-
87503
-if CONFIG["OS_TARGET"] == "OpenBSD":
86593
-if CONFIG["OS_TARGET"] == "OpenBSD":
87504
-
86594
-
87505
-    DEFINES["USE_GLIB"] = "1"
86595
-    DEFINES["USE_GLIB"] = "1"
Lines 87540-87556 index 53ae39a12405..28c418ee0db5 100644 Link Here
87540
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
86630
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
87541
-    DEFINES["_WINDOWS"] = True
86631
-    DEFINES["_WINDOWS"] = True
87542
-    DEFINES["__STD_C"] = True
86632
-    DEFINES["__STD_C"] = True
87543
-
87544
-    OS_LIBS += [
87545
-        "crypt32",
87546
-        "iphlpapi",
87547
-        "secur32",
87548
-        "winmm"
87549
-    ]
87550
-
87551
-    UNIFIED_SOURCES += [
87552
-        "/third_party/libwebrtc/rtc_base/physical_socket_server.cc"
87553
-    ]
87554
+    DEFINES["_DEBUG"] = True
86633
+    DEFINES["_DEBUG"] = True
87555
 
86634
 
87556
 if CONFIG["TARGET_CPU"] == "aarch64":
86635
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 87647-87658 index 53ae39a12405..28c418ee0db5 100644 Link Here
87647
-    DEFINES["_GNU_SOURCE"] = True
86726
-    DEFINES["_GNU_SOURCE"] = True
87648
+    DEFINES["USE_X11"] = "1"
86727
+    DEFINES["USE_X11"] = "1"
87649
 
86728
 
87650
 Library("threading_gn")
86729
 Library("base64_gn")
87651
diff --git third_party/libwebrtc/rtc_base/timeutils_gn/moz.build third_party/libwebrtc/rtc_base/timeutils_gn/moz.build
86730
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
87652
index 55044da704f0..b3d3a631906d 100644
86731
index dc375810b3f0..4bc36c2f4d30 100644
87653
--- third_party/libwebrtc/rtc_base/timeutils_gn/moz.build
86732
--- third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build
87654
+++ third_party/libwebrtc/rtc_base/timeutils_gn/moz.build
86733
+++ third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build
87655
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
86734
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
87656
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
86735
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
87657
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
86736
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
87658
 DEFINES["RTC_ENABLE_VP9"] = True
86737
 DEFINES["RTC_ENABLE_VP9"] = True
Lines 87661-87667 index 55044da704f0..b3d3a631906d 100644 Link Here
87661
+DEFINES["WEBRTC_BSD"] = True
86740
+DEFINES["WEBRTC_BSD"] = True
87662
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
86741
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
87663
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
86742
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
87664
 DEFINES["WEBRTC_EXCLUDE_SYSTEM_TIME"] = True
87665
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
86743
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
87666
 DEFINES["WEBRTC_MOZILLA_BUILD"] = True
86744
 DEFINES["WEBRTC_MOZILLA_BUILD"] = True
87667
 DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
86745
 DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
Lines 87675-87681 index 55044da704f0..b3d3a631906d 100644 Link Here
87675
 
86753
 
87676
 FINAL_LIBRARY = "xul"
86754
 FINAL_LIBRARY = "xul"
87677
 
86755
 
87678
@@ -45,185 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
86756
@@ -43,174 +53,32 @@ if not CONFIG["MOZ_DEBUG"]:
87679
 if CONFIG["MOZ_DEBUG"] == "1":
86757
 if CONFIG["MOZ_DEBUG"] == "1":
87680
 
86758
 
87681
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
86759
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 87694-87703 index 55044da704f0..b3d3a631906d 100644 Link Here
87694
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
86772
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
87695
-    DEFINES["__STDC_FORMAT_MACROS"] = True
86773
-    DEFINES["__STDC_FORMAT_MACROS"] = True
87696
-
86774
-
87697
-    OS_LIBS += [
87698
-        "log"
87699
-    ]
87700
-
87701
-if CONFIG["OS_TARGET"] == "Darwin":
86775
-if CONFIG["OS_TARGET"] == "Darwin":
87702
-
86776
-
87703
-    DEFINES["WEBRTC_MAC"] = True
86777
-    DEFINES["WEBRTC_MAC"] = True
Lines 87763-87775 index 55044da704f0..b3d3a631906d 100644 Link Here
87763
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
86837
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
87764
-    DEFINES["_WINDOWS"] = True
86838
-    DEFINES["_WINDOWS"] = True
87765
-    DEFINES["__STD_C"] = True
86839
-    DEFINES["__STD_C"] = True
87766
-
87767
-    OS_LIBS += [
87768
-        "crypt32",
87769
-        "iphlpapi",
87770
-        "secur32",
87771
-        "winmm"
87772
-    ]
87773
+    DEFINES["_DEBUG"] = True
86840
+    DEFINES["_DEBUG"] = True
87774
 
86841
 
87775
 if CONFIG["TARGET_CPU"] == "aarch64":
86842
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 87866-87876 index 55044da704f0..b3d3a631906d 100644 Link Here
87866
-    DEFINES["_GNU_SOURCE"] = True
86933
-    DEFINES["_GNU_SOURCE"] = True
87867
+    DEFINES["USE_X11"] = "1"
86934
+    DEFINES["USE_X11"] = "1"
87868
 
86935
 
87869
 Library("timeutils_gn")
86936
 Library("sigslot_gn")
87870
diff --git third_party/libwebrtc/rtc_base/type_traits_gn/moz.build third_party/libwebrtc/rtc_base/type_traits_gn/moz.build
86937
diff --git third_party/libwebrtc/rtc_base/threading_gn/moz.build third_party/libwebrtc/rtc_base/threading_gn/moz.build
87871
index 6e5a6266c98d..f89c8dde62eb 100644
86938
index 56cbe529d143..efec4f148ca9 100644
87872
--- third_party/libwebrtc/rtc_base/type_traits_gn/moz.build
86939
--- third_party/libwebrtc/rtc_base/threading_gn/moz.build
87873
+++ third_party/libwebrtc/rtc_base/type_traits_gn/moz.build
86940
+++ third_party/libwebrtc/rtc_base/threading_gn/moz.build
87874
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
86941
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
87875
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
86942
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
87876
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
86943
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 87893-87899 index 6e5a6266c98d..f89c8dde62eb 100644 Link Here
87893
 
86960
 
87894
 FINAL_LIBRARY = "xul"
86961
 FINAL_LIBRARY = "xul"
87895
 
86962
 
87896
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
86963
@@ -46,202 +56,32 @@ if not CONFIG["MOZ_DEBUG"]:
87897
 if CONFIG["MOZ_DEBUG"] == "1":
86964
 if CONFIG["MOZ_DEBUG"] == "1":
87898
 
86965
 
87899
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
86966
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 87912-87917 index 6e5a6266c98d..f89c8dde62eb 100644 Link Here
87912
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
86979
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
87913
-    DEFINES["__STDC_FORMAT_MACROS"] = True
86980
-    DEFINES["__STDC_FORMAT_MACROS"] = True
87914
-
86981
-
86982
-    OS_LIBS += [
86983
-        "GLESv2",
86984
-        "log"
86985
-    ]
86986
-
86987
-    UNIFIED_SOURCES += [
86988
-        "/third_party/libwebrtc/rtc_base/physical_socket_server.cc"
86989
-    ]
86990
-
87915
-if CONFIG["OS_TARGET"] == "Darwin":
86991
-if CONFIG["OS_TARGET"] == "Darwin":
87916
-
86992
-
87917
-    DEFINES["WEBRTC_MAC"] = True
86993
-    DEFINES["WEBRTC_MAC"] = True
Lines 87921-87926 index 6e5a6266c98d..f89c8dde62eb 100644 Link Here
87921
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
86997
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
87922
-    DEFINES["__STDC_FORMAT_MACROS"] = True
86998
-    DEFINES["__STDC_FORMAT_MACROS"] = True
87923
-
86999
-
87000
-    UNIFIED_SOURCES += [
87001
-        "/third_party/libwebrtc/rtc_base/physical_socket_server.cc"
87002
-    ]
87003
-
87924
-if CONFIG["OS_TARGET"] == "Linux":
87004
-if CONFIG["OS_TARGET"] == "Linux":
87925
-
87005
-
87926
-    DEFINES["USE_AURA"] = "1"
87006
-    DEFINES["USE_AURA"] = "1"
Lines 87937-87942 index 6e5a6266c98d..f89c8dde62eb 100644 Link Here
87937
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
87017
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
87938
-    DEFINES["__STDC_FORMAT_MACROS"] = True
87018
-    DEFINES["__STDC_FORMAT_MACROS"] = True
87939
-
87019
-
87020
-    UNIFIED_SOURCES += [
87021
-        "/third_party/libwebrtc/rtc_base/physical_socket_server.cc"
87022
-    ]
87023
-
87940
-if CONFIG["OS_TARGET"] == "OpenBSD":
87024
-if CONFIG["OS_TARGET"] == "OpenBSD":
87941
-
87025
-
87942
-    DEFINES["USE_GLIB"] = "1"
87026
-    DEFINES["USE_GLIB"] = "1"
Lines 87977-87982 index 6e5a6266c98d..f89c8dde62eb 100644 Link Here
87977
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
87061
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
87978
-    DEFINES["_WINDOWS"] = True
87062
-    DEFINES["_WINDOWS"] = True
87979
-    DEFINES["__STD_C"] = True
87063
-    DEFINES["__STD_C"] = True
87064
-
87065
-    OS_LIBS += [
87066
-        "crypt32",
87067
-        "iphlpapi",
87068
-        "secur32",
87069
-        "winmm"
87070
-    ]
87071
-
87072
-    UNIFIED_SOURCES += [
87073
-        "/third_party/libwebrtc/rtc_base/physical_socket_server.cc"
87074
-    ]
87980
+    DEFINES["_DEBUG"] = True
87075
+    DEFINES["_DEBUG"] = True
87981
 
87076
 
87982
 if CONFIG["TARGET_CPU"] == "aarch64":
87077
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 87986-87991 index 6e5a6266c98d..f89c8dde62eb 100644 Link Here
87986
 
87081
 
87987
-if CONFIG["TARGET_CPU"] == "arm":
87082
-if CONFIG["TARGET_CPU"] == "arm":
87988
-
87083
-
87084
-    CXXFLAGS += [
87085
-        "-mfpu=neon"
87086
-    ]
87087
-
87989
-    DEFINES["WEBRTC_ARCH_ARM"] = True
87088
-    DEFINES["WEBRTC_ARCH_ARM"] = True
87990
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
87089
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
87991
-    DEFINES["WEBRTC_HAS_NEON"] = True
87090
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 88002-88011 index 6e5a6266c98d..f89c8dde62eb 100644 Link Here
88002
 
87101
 
88003
 if CONFIG["TARGET_CPU"] == "x86":
87102
 if CONFIG["TARGET_CPU"] == "x86":
88004
 
87103
 
88005
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
87104
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
88006
 
87105
-
88007
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
87106
-if CONFIG["TARGET_CPU"] == "x86_64":
88008
 
87107
-
87108
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
87109
-
88009
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
87110
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
88010
-
87111
-
88011
-    DEFINES["_DEBUG"] = True
87112
-    DEFINES["_DEBUG"] = True
Lines 88027-88042 index 6e5a6266c98d..f89c8dde62eb 100644 Link Here
88027
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
87128
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
88028
-
87129
-
88029
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
87130
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
88030
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
87131
-
88031
 
87132
-    DEFINES["USE_X11"] = "1"
88032
     DEFINES["USE_X11"] = "1"
87133
-
88033
 
88034
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
87134
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
88035
-
87135
-
88036
-    OS_LIBS += [
87136
-    OS_LIBS += [
88037
-        "unwind"
87137
-        "unwind"
88038
-    ]
87138
-    ]
88039
-
87139
-
87140
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
87141
-
87142
     CXXFLAGS += [
87143
         "-msse2"
87144
     ]
87145
 
88040
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
87146
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
88041
-
87147
-
88042
-    DEFINES["_GNU_SOURCE"] = True
87148
-    DEFINES["_GNU_SOURCE"] = True
Lines 88046-88064 index 6e5a6266c98d..f89c8dde62eb 100644 Link Here
88046
-    DEFINES["_GNU_SOURCE"] = True
87152
-    DEFINES["_GNU_SOURCE"] = True
88047
-
87153
-
88048
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
87154
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
88049
-
87155
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
87156
 
87157
-    CXXFLAGS += [
87158
-        "-msse2"
87159
-    ]
87160
+if CONFIG["TARGET_CPU"] == "x86_64":
87161
 
88050
-    DEFINES["_GNU_SOURCE"] = True
87162
-    DEFINES["_GNU_SOURCE"] = True
88051
-
87163
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
87164
 
88052
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
87165
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
88053
-
87166
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
87167
 
88054
-    DEFINES["_GNU_SOURCE"] = True
87168
-    DEFINES["_GNU_SOURCE"] = True
88055
-
87169
+    DEFINES["USE_X11"] = "1"
88056
 Library("type_traits_gn")
87170
 
88057
diff --git third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build
87171
 Library("threading_gn")
88058
index 144e5ff789f9..e0450e78ecd4 100644
87172
diff --git third_party/libwebrtc/rtc_base/timeutils_gn/moz.build third_party/libwebrtc/rtc_base/timeutils_gn/moz.build
88059
--- third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build
87173
index bb37032aff82..3cce4edd523d 100644
88060
+++ third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build
87174
--- third_party/libwebrtc/rtc_base/timeutils_gn/moz.build
88061
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
87175
+++ third_party/libwebrtc/rtc_base/timeutils_gn/moz.build
87176
@@ -12,12 +12,22 @@ AllowCompilerWarnings()
88062
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
87177
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
88063
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
87178
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
88064
 DEFINES["RTC_ENABLE_VP9"] = True
87179
 DEFINES["RTC_ENABLE_VP9"] = True
Lines 88067-88072 index 144e5ff789f9..e0450e78ecd4 100644 Link Here
88067
+DEFINES["WEBRTC_BSD"] = True
87182
+DEFINES["WEBRTC_BSD"] = True
88068
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
87183
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
88069
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
87184
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
87185
 DEFINES["WEBRTC_EXCLUDE_SYSTEM_TIME"] = True
88070
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
87186
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
88071
 DEFINES["WEBRTC_MOZILLA_BUILD"] = True
87187
 DEFINES["WEBRTC_MOZILLA_BUILD"] = True
88072
 DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
87188
 DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
Lines 88080-88086 index 144e5ff789f9..e0450e78ecd4 100644 Link Here
88080
 
87196
 
88081
 FINAL_LIBRARY = "xul"
87197
 FINAL_LIBRARY = "xul"
88082
 
87198
 
88083
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
87199
@@ -45,185 +55,32 @@ if not CONFIG["MOZ_DEBUG"]:
88084
 if CONFIG["MOZ_DEBUG"] == "1":
87200
 if CONFIG["MOZ_DEBUG"] == "1":
88085
 
87201
 
88086
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
87202
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
Lines 88099-88104 index 144e5ff789f9..e0450e78ecd4 100644 Link Here
88099
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
87215
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
88100
-    DEFINES["__STDC_FORMAT_MACROS"] = True
87216
-    DEFINES["__STDC_FORMAT_MACROS"] = True
88101
-
87217
-
87218
-    OS_LIBS += [
87219
-        "log"
87220
-    ]
87221
-
88102
-if CONFIG["OS_TARGET"] == "Darwin":
87222
-if CONFIG["OS_TARGET"] == "Darwin":
88103
-
87223
-
88104
-    DEFINES["WEBRTC_MAC"] = True
87224
-    DEFINES["WEBRTC_MAC"] = True
Lines 88164-88169 index 144e5ff789f9..e0450e78ecd4 100644 Link Here
88164
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
87284
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
88165
-    DEFINES["_WINDOWS"] = True
87285
-    DEFINES["_WINDOWS"] = True
88166
-    DEFINES["__STD_C"] = True
87286
-    DEFINES["__STD_C"] = True
87287
-
87288
-    OS_LIBS += [
87289
-        "crypt32",
87290
-        "iphlpapi",
87291
-        "secur32",
87292
-        "winmm"
87293
-    ]
88167
+    DEFINES["_DEBUG"] = True
87294
+    DEFINES["_DEBUG"] = True
88168
 
87295
 
88169
 if CONFIG["TARGET_CPU"] == "aarch64":
87296
 if CONFIG["TARGET_CPU"] == "aarch64":
Lines 88173-88178 index 144e5ff789f9..e0450e78ecd4 100644 Link Here
88173
 
87300
 
88174
-if CONFIG["TARGET_CPU"] == "arm":
87301
-if CONFIG["TARGET_CPU"] == "arm":
88175
-
87302
-
87303
-    CXXFLAGS += [
87304
-        "-mfpu=neon"
87305
-    ]
87306
-
88176
-    DEFINES["WEBRTC_ARCH_ARM"] = True
87307
-    DEFINES["WEBRTC_ARCH_ARM"] = True
88177
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
87308
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
88178
-    DEFINES["WEBRTC_HAS_NEON"] = True
87309
-    DEFINES["WEBRTC_HAS_NEON"] = True
Lines 88189-88198 index 144e5ff789f9..e0450e78ecd4 100644 Link Here
88189
 
87320
 
88190
 if CONFIG["TARGET_CPU"] == "x86":
87321
 if CONFIG["TARGET_CPU"] == "x86":
88191
 
87322
 
88192
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
87323
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
88193
 
87324
-
88194
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
87325
-if CONFIG["TARGET_CPU"] == "x86_64":
88195
 
87326
-
87327
-    DEFINES["WEBRTC_ENABLE_AVX2"] = True
87328
-
88196
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
87329
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
88197
-
87330
-
88198
-    DEFINES["_DEBUG"] = True
87331
-    DEFINES["_DEBUG"] = True
Lines 88214-88229 index 144e5ff789f9..e0450e78ecd4 100644 Link Here
88214
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
87347
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
88215
-
87348
-
88216
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
87349
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
88217
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
87350
-
88218
 
87351
-    DEFINES["USE_X11"] = "1"
88219
     DEFINES["USE_X11"] = "1"
87352
-
88220
 
88221
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
87353
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
88222
-
87354
-
88223
-    OS_LIBS += [
87355
-    OS_LIBS += [
88224
-        "unwind"
87356
-        "unwind"
88225
-    ]
87357
-    ]
88226
-
87358
-
87359
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
87360
-
87361
     CXXFLAGS += [
87362
         "-msse2"
87363
     ]
87364
 
88227
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
87365
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
88228
-
87366
-
88229
-    DEFINES["_GNU_SOURCE"] = True
87367
-    DEFINES["_GNU_SOURCE"] = True
Lines 88233-88250 index 144e5ff789f9..e0450e78ecd4 100644 Link Here
88233
-    DEFINES["_GNU_SOURCE"] = True
87371
-    DEFINES["_GNU_SOURCE"] = True
88234
-
87372
-
88235
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
87373
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
88236
-
87374
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
87375
 
87376
-    CXXFLAGS += [
87377
-        "-msse2"
87378
-    ]
87379
+if CONFIG["TARGET_CPU"] == "x86_64":
87380
 
88237
-    DEFINES["_GNU_SOURCE"] = True
87381
-    DEFINES["_GNU_SOURCE"] = True
88238
-
87382
+    DEFINES["WEBRTC_ENABLE_AVX2"] = True
87383
 
88239
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
87384
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
88240
-
87385
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
87386
 
88241
-    DEFINES["_GNU_SOURCE"] = True
87387
-    DEFINES["_GNU_SOURCE"] = True
88242
-
87388
+    DEFINES["USE_X11"] = "1"
88243
 Library("unique_id_generator_gn")
87389
 
88244
diff --git third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build
87390
 Library("timeutils_gn")
88245
index 1a73da55be6d..fa188d4c8b2c 100644
87391
diff --git third_party/libwebrtc/rtc_base/type_traits_gn/moz.build third_party/libwebrtc/rtc_base/type_traits_gn/moz.build
88246
--- third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build
87392
index 1236cdcdc0ef..f8427d18b1f6 100644
88247
+++ third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build
87393
--- third_party/libwebrtc/rtc_base/type_traits_gn/moz.build
87394
+++ third_party/libwebrtc/rtc_base/type_traits_gn/moz.build
87395
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
87396
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
87397
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
87398
 DEFINES["RTC_ENABLE_VP9"] = True
87399
+DEFINES["USE_GLIB"] = "1"
87400
+DEFINES["USE_OZONE"] = "1"
87401
+DEFINES["WEBRTC_BSD"] = True
87402
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
87403
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
87404
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
87405
 DEFINES["WEBRTC_MOZILLA_BUILD"] = True
87406
 DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
87407
+DEFINES["WEBRTC_POSIX"] = True
87408
 DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
87409
+DEFINES["_FILE_OFFSET_BITS"] = "64"
87410
+DEFINES["_LARGEFILE64_SOURCE"] = True
87411
+DEFINES["_LARGEFILE_SOURCE"] = True
87412
+DEFINES["__STDC_CONSTANT_MACROS"] = True
87413
+DEFINES["__STDC_FORMAT_MACROS"] = True
87414
 
87415
 FINAL_LIBRARY = "xul"
87416
 
87417
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
87418
 if CONFIG["MOZ_DEBUG"] == "1":
87419
 
87420
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
87421
-
87422
-if CONFIG["OS_TARGET"] == "Android":
87423
-
87424
-    DEFINES["ANDROID"] = True
87425
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
87426
-    DEFINES["HAVE_SYS_UIO_H"] = True
87427
-    DEFINES["WEBRTC_ANDROID"] = True
87428
-    DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
87429
-    DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
87430
-    DEFINES["WEBRTC_LINUX"] = True
87431
-    DEFINES["WEBRTC_POSIX"] = True
87432
-    DEFINES["_GNU_SOURCE"] = True
87433
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
87434
-    DEFINES["__STDC_FORMAT_MACROS"] = True
87435
-
87436
-if CONFIG["OS_TARGET"] == "Darwin":
87437
-
87438
-    DEFINES["WEBRTC_MAC"] = True
87439
-    DEFINES["WEBRTC_POSIX"] = True
87440
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
87441
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
87442
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
87443
-    DEFINES["__STDC_FORMAT_MACROS"] = True
87444
-
87445
-if CONFIG["OS_TARGET"] == "Linux":
87446
-
87447
-    DEFINES["USE_AURA"] = "1"
87448
-    DEFINES["USE_GLIB"] = "1"
87449
-    DEFINES["USE_NSS_CERTS"] = "1"
87450
-    DEFINES["USE_OZONE"] = "1"
87451
-    DEFINES["USE_UDEV"] = True
87452
-    DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
87453
-    DEFINES["WEBRTC_LINUX"] = True
87454
-    DEFINES["WEBRTC_POSIX"] = True
87455
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
87456
-    DEFINES["_LARGEFILE64_SOURCE"] = True
87457
-    DEFINES["_LARGEFILE_SOURCE"] = True
87458
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
87459
-    DEFINES["__STDC_FORMAT_MACROS"] = True
87460
-
87461
-if CONFIG["OS_TARGET"] == "OpenBSD":
87462
-
87463
-    DEFINES["USE_GLIB"] = "1"
87464
-    DEFINES["USE_OZONE"] = "1"
87465
-    DEFINES["USE_X11"] = "1"
87466
-    DEFINES["WEBRTC_BSD"] = True
87467
-    DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
87468
-    DEFINES["WEBRTC_POSIX"] = True
87469
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
87470
-    DEFINES["_LARGEFILE64_SOURCE"] = True
87471
-    DEFINES["_LARGEFILE_SOURCE"] = True
87472
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
87473
-    DEFINES["__STDC_FORMAT_MACROS"] = True
87474
-
87475
-if CONFIG["OS_TARGET"] == "WINNT":
87476
-
87477
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
87478
-    DEFINES["NOMINMAX"] = True
87479
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
87480
-    DEFINES["PSAPI_VERSION"] = "2"
87481
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
87482
-    DEFINES["UNICODE"] = True
87483
-    DEFINES["USE_AURA"] = "1"
87484
-    DEFINES["WEBRTC_WIN"] = True
87485
-    DEFINES["WIN32"] = True
87486
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
87487
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
87488
-    DEFINES["WINVER"] = "0x0A00"
87489
-    DEFINES["_ATL_NO_OPENGL"] = True
87490
-    DEFINES["_CRT_RAND_S"] = True
87491
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
87492
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
87493
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
87494
-    DEFINES["_HAS_NODISCARD"] = True
87495
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
87496
-    DEFINES["_SECURE_ATL"] = True
87497
-    DEFINES["_UNICODE"] = True
87498
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
87499
-    DEFINES["_WINDOWS"] = True
87500
-    DEFINES["__STD_C"] = True
87501
+    DEFINES["_DEBUG"] = True
87502
 
87503
 if CONFIG["TARGET_CPU"] == "aarch64":
87504
 
87505
     DEFINES["WEBRTC_ARCH_ARM64"] = True
87506
     DEFINES["WEBRTC_HAS_NEON"] = True
87507
 
87508
-if CONFIG["TARGET_CPU"] == "arm":
87509
-
87510
-    DEFINES["WEBRTC_ARCH_ARM"] = True
87511
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
87512
-    DEFINES["WEBRTC_HAS_NEON"] = True
87513
-
87514
 if CONFIG["TARGET_CPU"] == "mips32":
87515
 
87516
     DEFINES["MIPS32_LE"] = True
87517
     DEFINES["MIPS_FPU_LE"] = True
87518
-    DEFINES["_GNU_SOURCE"] = True
87519
-
87520
-if CONFIG["TARGET_CPU"] == "mips64":
87521
-
87522
-    DEFINES["_GNU_SOURCE"] = True
87523
 
87524
 if CONFIG["TARGET_CPU"] == "x86":
87525
 
87526
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
87527
 
87528
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
87529
 
87530
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
87531
-
87532
-    DEFINES["_DEBUG"] = True
87533
-
87534
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
87535
-
87536
-    DEFINES["_DEBUG"] = True
87537
-
87538
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
87539
-
87540
-    DEFINES["_DEBUG"] = True
87541
-
87542
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
87543
-
87544
-    DEFINES["_DEBUG"] = True
87545
-
87546
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
87547
-
87548
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
87549
-
87550
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
87551
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
87552
 
87553
     DEFINES["USE_X11"] = "1"
87554
 
87555
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
87556
-
87557
-    OS_LIBS += [
87558
-        "unwind"
87559
-    ]
87560
-
87561
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
87562
-
87563
-    DEFINES["_GNU_SOURCE"] = True
87564
-
87565
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
87566
-
87567
-    DEFINES["_GNU_SOURCE"] = True
87568
-
87569
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
87570
-
87571
-    DEFINES["_GNU_SOURCE"] = True
87572
-
87573
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
87574
-
87575
-    DEFINES["_GNU_SOURCE"] = True
87576
-
87577
 Library("type_traits_gn")
87578
diff --git third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build
87579
index a3b15450a5d8..2833f41808a1 100644
87580
--- third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build
87581
+++ third_party/libwebrtc/rtc_base/unique_id_generator_gn/moz.build
87582
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
87583
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
87584
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
87585
 DEFINES["RTC_ENABLE_VP9"] = True
87586
+DEFINES["USE_GLIB"] = "1"
87587
+DEFINES["USE_OZONE"] = "1"
87588
+DEFINES["WEBRTC_BSD"] = True
87589
+DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
87590
 DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0"
87591
 DEFINES["WEBRTC_LIBRARY_IMPL"] = True
87592
 DEFINES["WEBRTC_MOZILLA_BUILD"] = True
87593
 DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
87594
+DEFINES["WEBRTC_POSIX"] = True
87595
 DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
87596
+DEFINES["_FILE_OFFSET_BITS"] = "64"
87597
+DEFINES["_LARGEFILE64_SOURCE"] = True
87598
+DEFINES["_LARGEFILE_SOURCE"] = True
87599
+DEFINES["__STDC_CONSTANT_MACROS"] = True
87600
+DEFINES["__STDC_FORMAT_MACROS"] = True
87601
 
87602
 FINAL_LIBRARY = "xul"
87603
 
87604
@@ -39,107 +49,17 @@ if not CONFIG["MOZ_DEBUG"]:
87605
 if CONFIG["MOZ_DEBUG"] == "1":
87606
 
87607
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
87608
-
87609
-if CONFIG["OS_TARGET"] == "Android":
87610
-
87611
-    DEFINES["ANDROID"] = True
87612
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
87613
-    DEFINES["HAVE_SYS_UIO_H"] = True
87614
-    DEFINES["WEBRTC_ANDROID"] = True
87615
-    DEFINES["WEBRTC_ANDROID_OPENSLES"] = True
87616
-    DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
87617
-    DEFINES["WEBRTC_LINUX"] = True
87618
-    DEFINES["WEBRTC_POSIX"] = True
87619
-    DEFINES["_GNU_SOURCE"] = True
87620
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
87621
-    DEFINES["__STDC_FORMAT_MACROS"] = True
87622
-
87623
-if CONFIG["OS_TARGET"] == "Darwin":
87624
-
87625
-    DEFINES["WEBRTC_MAC"] = True
87626
-    DEFINES["WEBRTC_POSIX"] = True
87627
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
87628
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
87629
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
87630
-    DEFINES["__STDC_FORMAT_MACROS"] = True
87631
-
87632
-if CONFIG["OS_TARGET"] == "Linux":
87633
-
87634
-    DEFINES["USE_AURA"] = "1"
87635
-    DEFINES["USE_GLIB"] = "1"
87636
-    DEFINES["USE_NSS_CERTS"] = "1"
87637
-    DEFINES["USE_OZONE"] = "1"
87638
-    DEFINES["USE_UDEV"] = True
87639
-    DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
87640
-    DEFINES["WEBRTC_LINUX"] = True
87641
-    DEFINES["WEBRTC_POSIX"] = True
87642
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
87643
-    DEFINES["_LARGEFILE64_SOURCE"] = True
87644
-    DEFINES["_LARGEFILE_SOURCE"] = True
87645
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
87646
-    DEFINES["__STDC_FORMAT_MACROS"] = True
87647
-
87648
-if CONFIG["OS_TARGET"] == "OpenBSD":
87649
-
87650
-    DEFINES["USE_GLIB"] = "1"
87651
-    DEFINES["USE_OZONE"] = "1"
87652
-    DEFINES["USE_X11"] = "1"
87653
-    DEFINES["WEBRTC_BSD"] = True
87654
-    DEFINES["WEBRTC_ENABLE_LIBEVENT"] = True
87655
-    DEFINES["WEBRTC_POSIX"] = True
87656
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
87657
-    DEFINES["_LARGEFILE64_SOURCE"] = True
87658
-    DEFINES["_LARGEFILE_SOURCE"] = True
87659
-    DEFINES["__STDC_CONSTANT_MACROS"] = True
87660
-    DEFINES["__STDC_FORMAT_MACROS"] = True
87661
-
87662
-if CONFIG["OS_TARGET"] == "WINNT":
87663
-
87664
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
87665
-    DEFINES["NOMINMAX"] = True
87666
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
87667
-    DEFINES["PSAPI_VERSION"] = "2"
87668
-    DEFINES["RTC_ENABLE_WIN_WGC"] = True
87669
-    DEFINES["UNICODE"] = True
87670
-    DEFINES["USE_AURA"] = "1"
87671
-    DEFINES["WEBRTC_WIN"] = True
87672
-    DEFINES["WIN32"] = True
87673
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
87674
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
87675
-    DEFINES["WINVER"] = "0x0A00"
87676
-    DEFINES["_ATL_NO_OPENGL"] = True
87677
-    DEFINES["_CRT_RAND_S"] = True
87678
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
87679
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
87680
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
87681
-    DEFINES["_HAS_NODISCARD"] = True
87682
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
87683
-    DEFINES["_SECURE_ATL"] = True
87684
-    DEFINES["_UNICODE"] = True
87685
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
87686
-    DEFINES["_WINDOWS"] = True
87687
-    DEFINES["__STD_C"] = True
87688
+    DEFINES["_DEBUG"] = True
87689
 
87690
 if CONFIG["TARGET_CPU"] == "aarch64":
87691
 
87692
     DEFINES["WEBRTC_ARCH_ARM64"] = True
87693
     DEFINES["WEBRTC_HAS_NEON"] = True
87694
 
87695
-if CONFIG["TARGET_CPU"] == "arm":
87696
-
87697
-    DEFINES["WEBRTC_ARCH_ARM"] = True
87698
-    DEFINES["WEBRTC_ARCH_ARM_V7"] = True
87699
-    DEFINES["WEBRTC_HAS_NEON"] = True
87700
-
87701
 if CONFIG["TARGET_CPU"] == "mips32":
87702
 
87703
     DEFINES["MIPS32_LE"] = True
87704
     DEFINES["MIPS_FPU_LE"] = True
87705
-    DEFINES["_GNU_SOURCE"] = True
87706
-
87707
-if CONFIG["TARGET_CPU"] == "mips64":
87708
-
87709
-    DEFINES["_GNU_SOURCE"] = True
87710
 
87711
 if CONFIG["TARGET_CPU"] == "x86":
87712
 
87713
@@ -149,50 +69,8 @@ if CONFIG["TARGET_CPU"] == "x86_64":
87714
 
87715
     DEFINES["WEBRTC_ENABLE_AVX2"] = True
87716
 
87717
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
87718
-
87719
-    DEFINES["_DEBUG"] = True
87720
-
87721
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
87722
-
87723
-    DEFINES["_DEBUG"] = True
87724
-
87725
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
87726
-
87727
-    DEFINES["_DEBUG"] = True
87728
-
87729
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
87730
-
87731
-    DEFINES["_DEBUG"] = True
87732
-
87733
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
87734
-
87735
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
87736
-
87737
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
87738
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
87739
 
87740
     DEFINES["USE_X11"] = "1"
87741
 
87742
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
87743
-
87744
-    OS_LIBS += [
87745
-        "unwind"
87746
-    ]
87747
-
87748
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
87749
-
87750
-    DEFINES["_GNU_SOURCE"] = True
87751
-
87752
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
87753
-
87754
-    DEFINES["_GNU_SOURCE"] = True
87755
-
87756
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
87757
-
87758
-    DEFINES["_GNU_SOURCE"] = True
87759
-
87760
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
87761
-
87762
-    DEFINES["_GNU_SOURCE"] = True
87763
-
87764
 Library("unique_id_generator_gn")
87765
diff --git third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build
87766
index 4bf43cc48410..c8ff69d62f0f 100644
87767
--- third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build
87768
+++ third_party/libwebrtc/rtc_base/units/unit_base_gn/moz.build
88248
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
87769
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
88249
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
87770
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
88250
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
87771
 DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True
Lines 88433-88439 index 1a73da55be6d..fa188d4c8b2c 100644 Link Here
88433
-
87954
-
88434
 Library("unit_base_gn")
87955
 Library("unit_base_gn")
88435
diff --git third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build
87956
diff --git third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build
88436
index 24bcc6accf79..c91a4d711206 100644
87957
index cd3c1db313a2..0a0f133cae3e 100644
88437
--- third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build
87958
--- third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build
88438
+++ third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build
87959
+++ third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build
88439
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
87960
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 88645-88651 index 24bcc6accf79..c91a4d711206 100644 Link Here
88645
 Library("weak_ptr_gn")
88166
 Library("weak_ptr_gn")
88646
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
88167
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
88647
deleted file mode 100644
88168
deleted file mode 100644
88648
index 89b4d408242e..000000000000
88169
index 6782a6918724..000000000000
88649
--- third_party/libwebrtc/rtc_base/win/create_direct3d_device_gn/moz.build
88170
--- third_party/libwebrtc/rtc_base/win/create_direct3d_device_gn/moz.build
88650
+++ /dev/null
88171
+++ /dev/null
88651
@@ -1,85 +0,0 @@
88172
@@ -1,85 +0,0 @@
Lines 88700-88707 index 89b4d408242e..000000000000 Link Here
88700
-    "!/ipc/ipdl/_ipdlheaders",
88221
-    "!/ipc/ipdl/_ipdlheaders",
88701
-    "!/third_party/libwebrtc/gen",
88222
-    "!/third_party/libwebrtc/gen",
88702
-    "/ipc/chromium/src",
88223
-    "/ipc/chromium/src",
88224
-    "/third_party/abseil-cpp/",
88703
-    "/third_party/libwebrtc/",
88225
-    "/third_party/libwebrtc/",
88704
-    "/third_party/libwebrtc/third_party/abseil-cpp/",
88705
-    "/tools/profiler/public"
88226
-    "/tools/profiler/public"
88706
-]
88227
-]
88707
-
88228
-
Lines 88736-88742 index 89b4d408242e..000000000000 Link Here
88736
-Library("create_direct3d_device_gn")
88257
-Library("create_direct3d_device_gn")
88737
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
88258
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
88738
deleted file mode 100644
88259
deleted file mode 100644
88739
index 0f2ade5af2ea..000000000000
88260
index f2ad41ae9f27..000000000000
88740
--- third_party/libwebrtc/rtc_base/win/get_activation_factory_gn/moz.build
88261
--- third_party/libwebrtc/rtc_base/win/get_activation_factory_gn/moz.build
88741
+++ /dev/null
88262
+++ /dev/null
88742
@@ -1,85 +0,0 @@
88263
@@ -1,85 +0,0 @@
Lines 88791-88798 index 0f2ade5af2ea..000000000000 Link Here
88791
-    "!/ipc/ipdl/_ipdlheaders",
88312
-    "!/ipc/ipdl/_ipdlheaders",
88792
-    "!/third_party/libwebrtc/gen",
88313
-    "!/third_party/libwebrtc/gen",
88793
-    "/ipc/chromium/src",
88314
-    "/ipc/chromium/src",
88315
-    "/third_party/abseil-cpp/",
88794
-    "/third_party/libwebrtc/",
88316
-    "/third_party/libwebrtc/",
88795
-    "/third_party/libwebrtc/third_party/abseil-cpp/",
88796
-    "/tools/profiler/public"
88317
-    "/tools/profiler/public"
88797
-]
88318
-]
88798
-
88319
-
Lines 88827-88833 index 0f2ade5af2ea..000000000000 Link Here
88827
-Library("get_activation_factory_gn")
88348
-Library("get_activation_factory_gn")
88828
diff --git third_party/libwebrtc/rtc_base/win/hstring_gn/moz.build third_party/libwebrtc/rtc_base/win/hstring_gn/moz.build
88349
diff --git third_party/libwebrtc/rtc_base/win/hstring_gn/moz.build third_party/libwebrtc/rtc_base/win/hstring_gn/moz.build
88829
deleted file mode 100644
88350
deleted file mode 100644
88830
index d6968eb597c9..000000000000
88351
index ba15ff2b3c18..000000000000
88831
--- third_party/libwebrtc/rtc_base/win/hstring_gn/moz.build
88352
--- third_party/libwebrtc/rtc_base/win/hstring_gn/moz.build
88832
+++ /dev/null
88353
+++ /dev/null
88833
@@ -1,85 +0,0 @@
88354
@@ -1,85 +0,0 @@
Lines 88882-88889 index d6968eb597c9..000000000000 Link Here
88882
-    "!/ipc/ipdl/_ipdlheaders",
88403
-    "!/ipc/ipdl/_ipdlheaders",
88883
-    "!/third_party/libwebrtc/gen",
88404
-    "!/third_party/libwebrtc/gen",
88884
-    "/ipc/chromium/src",
88405
-    "/ipc/chromium/src",
88406
-    "/third_party/abseil-cpp/",
88885
-    "/third_party/libwebrtc/",
88407
-    "/third_party/libwebrtc/",
88886
-    "/third_party/libwebrtc/third_party/abseil-cpp/",
88887
-    "/tools/profiler/public"
88408
-    "/tools/profiler/public"
88888
-]
88409
-]
88889
-
88410
-
Lines 88918-88924 index d6968eb597c9..000000000000 Link Here
88918
-Library("hstring_gn")
88439
-Library("hstring_gn")
88919
diff --git third_party/libwebrtc/rtc_base/win/windows_version_gn/moz.build third_party/libwebrtc/rtc_base/win/windows_version_gn/moz.build
88440
diff --git third_party/libwebrtc/rtc_base/win/windows_version_gn/moz.build third_party/libwebrtc/rtc_base/win/windows_version_gn/moz.build
88920
deleted file mode 100644
88441
deleted file mode 100644
88921
index 014d6aaf9a74..000000000000
88442
index 8720108cc441..000000000000
88922
--- third_party/libwebrtc/rtc_base/win/windows_version_gn/moz.build
88443
--- third_party/libwebrtc/rtc_base/win/windows_version_gn/moz.build
88923
+++ /dev/null
88444
+++ /dev/null
88924
@@ -1,85 +0,0 @@
88445
@@ -1,85 +0,0 @@
Lines 88973-88980 index 014d6aaf9a74..000000000000 Link Here
88973
-    "!/ipc/ipdl/_ipdlheaders",
88494
-    "!/ipc/ipdl/_ipdlheaders",
88974
-    "!/third_party/libwebrtc/gen",
88495
-    "!/third_party/libwebrtc/gen",
88975
-    "/ipc/chromium/src",
88496
-    "/ipc/chromium/src",
88497
-    "/third_party/abseil-cpp/",
88976
-    "/third_party/libwebrtc/",
88498
-    "/third_party/libwebrtc/",
88977
-    "/third_party/libwebrtc/third_party/abseil-cpp/",
88978
-    "/tools/profiler/public"
88499
-    "/tools/profiler/public"
88979
-]
88500
-]
88980
-
88501
-
Lines 89009-89015 index 014d6aaf9a74..000000000000 Link Here
89009
-Library("windows_version_gn")
88530
-Library("windows_version_gn")
89010
diff --git third_party/libwebrtc/rtc_base/win32_gn/moz.build third_party/libwebrtc/rtc_base/win32_gn/moz.build
88531
diff --git third_party/libwebrtc/rtc_base/win32_gn/moz.build third_party/libwebrtc/rtc_base/win32_gn/moz.build
89011
deleted file mode 100644
88532
deleted file mode 100644
89012
index 9c7c5cec86d1..000000000000
88533
index 0c72f4850db5..000000000000
89013
--- third_party/libwebrtc/rtc_base/win32_gn/moz.build
88534
--- third_party/libwebrtc/rtc_base/win32_gn/moz.build
89014
+++ /dev/null
88535
+++ /dev/null
89015
@@ -1,92 +0,0 @@
88536
@@ -1,92 +0,0 @@
Lines 89065-89072 index 9c7c5cec86d1..000000000000 Link Here
89065
-    "!/ipc/ipdl/_ipdlheaders",
88586
-    "!/ipc/ipdl/_ipdlheaders",
89066
-    "!/third_party/libwebrtc/gen",
88587
-    "!/third_party/libwebrtc/gen",
89067
-    "/ipc/chromium/src",
88588
-    "/ipc/chromium/src",
88589
-    "/third_party/abseil-cpp/",
89068
-    "/third_party/libwebrtc/",
88590
-    "/third_party/libwebrtc/",
89069
-    "/third_party/libwebrtc/third_party/abseil-cpp/",
89070
-    "/tools/profiler/public"
88591
-    "/tools/profiler/public"
89071
-]
88592
-]
89072
-
88593
-
Lines 89106-89112 index 9c7c5cec86d1..000000000000 Link Here
89106
-
88627
-
89107
-Library("win32_gn")
88628
-Library("win32_gn")
89108
diff --git third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build
88629
diff --git third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build
89109
index 3cb03f687969..4a1ec8b5bf42 100644
88630
index bfff36ec02ab..b9a6295e770c 100644
89110
--- third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build
88631
--- third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build
89111
+++ third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build
88632
+++ third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build
89112
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
88633
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 89318-89324 index 3cb03f687969..4a1ec8b5bf42 100644 Link Here
89318
 Library("zero_memory_gn")
88839
 Library("zero_memory_gn")
89319
diff --git third_party/libwebrtc/sdk/base_objc_gn/moz.build third_party/libwebrtc/sdk/base_objc_gn/moz.build
88840
diff --git third_party/libwebrtc/sdk/base_objc_gn/moz.build third_party/libwebrtc/sdk/base_objc_gn/moz.build
89320
deleted file mode 100644
88841
deleted file mode 100644
89321
index baf20fbcbcb8..000000000000
88842
index 6698f3d6ef31..000000000000
89322
--- third_party/libwebrtc/sdk/base_objc_gn/moz.build
88843
--- third_party/libwebrtc/sdk/base_objc_gn/moz.build
89323
+++ /dev/null
88844
+++ /dev/null
89324
@@ -1,79 +0,0 @@
88845
@@ -1,79 +0,0 @@
Lines 89363-89372 index baf20fbcbcb8..000000000000 Link Here
89363
-    "!/ipc/ipdl/_ipdlheaders",
88884
-    "!/ipc/ipdl/_ipdlheaders",
89364
-    "!/third_party/libwebrtc/gen",
88885
-    "!/third_party/libwebrtc/gen",
89365
-    "/ipc/chromium/src",
88886
-    "/ipc/chromium/src",
88887
-    "/third_party/abseil-cpp/",
89366
-    "/third_party/libwebrtc/",
88888
-    "/third_party/libwebrtc/",
89367
-    "/third_party/libwebrtc/sdk/objc/",
88889
-    "/third_party/libwebrtc/sdk/objc/",
89368
-    "/third_party/libwebrtc/sdk/objc/base/",
88890
-    "/third_party/libwebrtc/sdk/objc/base/",
89369
-    "/third_party/libwebrtc/third_party/abseil-cpp/",
89370
-    "/tools/profiler/public"
88891
-    "/tools/profiler/public"
89371
-]
88892
-]
89372
-
88893
-
Lines 89403-89409 index baf20fbcbcb8..000000000000 Link Here
89403
-Library("base_objc_gn")
88924
-Library("base_objc_gn")
89404
diff --git third_party/libwebrtc/sdk/helpers_objc_gn/moz.build third_party/libwebrtc/sdk/helpers_objc_gn/moz.build
88925
diff --git third_party/libwebrtc/sdk/helpers_objc_gn/moz.build third_party/libwebrtc/sdk/helpers_objc_gn/moz.build
89405
deleted file mode 100644
88926
deleted file mode 100644
89406
index b27bdaafb20a..000000000000
88927
index 161ce60f39a6..000000000000
89407
--- third_party/libwebrtc/sdk/helpers_objc_gn/moz.build
88928
--- third_party/libwebrtc/sdk/helpers_objc_gn/moz.build
89408
+++ /dev/null
88929
+++ /dev/null
89409
@@ -1,75 +0,0 @@
88930
@@ -1,75 +0,0 @@
Lines 89448-89457 index b27bdaafb20a..000000000000 Link Here
89448
-    "!/ipc/ipdl/_ipdlheaders",
88969
-    "!/ipc/ipdl/_ipdlheaders",
89449
-    "!/third_party/libwebrtc/gen",
88970
-    "!/third_party/libwebrtc/gen",
89450
-    "/ipc/chromium/src",
88971
-    "/ipc/chromium/src",
88972
-    "/third_party/abseil-cpp/",
89451
-    "/third_party/libwebrtc/",
88973
-    "/third_party/libwebrtc/",
89452
-    "/third_party/libwebrtc/sdk/objc/",
88974
-    "/third_party/libwebrtc/sdk/objc/",
89453
-    "/third_party/libwebrtc/sdk/objc/base/",
88975
-    "/third_party/libwebrtc/sdk/objc/base/",
89454
-    "/third_party/libwebrtc/third_party/abseil-cpp/",
89455
-    "/tools/profiler/public"
88976
-    "/tools/profiler/public"
89456
-]
88977
-]
89457
-
88978
-
Lines 89484-89490 index b27bdaafb20a..000000000000 Link Here
89484
-Library("helpers_objc_gn")
89005
-Library("helpers_objc_gn")
89485
diff --git third_party/libwebrtc/sdk/videocapture_objc_gn/moz.build third_party/libwebrtc/sdk/videocapture_objc_gn/moz.build
89006
diff --git third_party/libwebrtc/sdk/videocapture_objc_gn/moz.build third_party/libwebrtc/sdk/videocapture_objc_gn/moz.build
89486
deleted file mode 100644
89007
deleted file mode 100644
89487
index bd4d77a39536..000000000000
89008
index db4fdfb6b108..000000000000
89488
--- third_party/libwebrtc/sdk/videocapture_objc_gn/moz.build
89009
--- third_party/libwebrtc/sdk/videocapture_objc_gn/moz.build
89489
+++ /dev/null
89010
+++ /dev/null
89490
@@ -1,70 +0,0 @@
89011
@@ -1,70 +0,0 @@
Lines 89525-89534 index bd4d77a39536..000000000000 Link Here
89525
-    "!/ipc/ipdl/_ipdlheaders",
89046
-    "!/ipc/ipdl/_ipdlheaders",
89526
-    "!/third_party/libwebrtc/gen",
89047
-    "!/third_party/libwebrtc/gen",
89527
-    "/ipc/chromium/src",
89048
-    "/ipc/chromium/src",
89049
-    "/third_party/abseil-cpp/",
89528
-    "/third_party/libwebrtc/",
89050
-    "/third_party/libwebrtc/",
89529
-    "/third_party/libwebrtc/sdk/objc/",
89051
-    "/third_party/libwebrtc/sdk/objc/",
89530
-    "/third_party/libwebrtc/sdk/objc/base/",
89052
-    "/third_party/libwebrtc/sdk/objc/base/",
89531
-    "/third_party/libwebrtc/third_party/abseil-cpp/",
89532
-    "/tools/profiler/public"
89053
-    "/tools/profiler/public"
89533
-]
89054
-]
89534
-
89055
-
Lines 89560-89566 index bd4d77a39536..000000000000 Link Here
89560
-Library("videocapture_objc_gn")
89081
-Library("videocapture_objc_gn")
89561
diff --git third_party/libwebrtc/sdk/videoframebuffer_objc_gn/moz.build third_party/libwebrtc/sdk/videoframebuffer_objc_gn/moz.build
89082
diff --git third_party/libwebrtc/sdk/videoframebuffer_objc_gn/moz.build third_party/libwebrtc/sdk/videoframebuffer_objc_gn/moz.build
89562
deleted file mode 100644
89083
deleted file mode 100644
89563
index 25e08e62fadc..000000000000
89084
index f705e220de43..000000000000
89564
--- third_party/libwebrtc/sdk/videoframebuffer_objc_gn/moz.build
89085
--- third_party/libwebrtc/sdk/videoframebuffer_objc_gn/moz.build
89565
+++ /dev/null
89086
+++ /dev/null
89566
@@ -1,73 +0,0 @@
89087
@@ -1,73 +0,0 @@
Lines 89603-89612 index 25e08e62fadc..000000000000 Link Here
89603
-    "/ipc/chromium/src",
89124
-    "/ipc/chromium/src",
89604
-    "/media/libyuv/",
89125
-    "/media/libyuv/",
89605
-    "/media/libyuv/libyuv/include/",
89126
-    "/media/libyuv/libyuv/include/",
89127
-    "/third_party/abseil-cpp/",
89606
-    "/third_party/libwebrtc/",
89128
-    "/third_party/libwebrtc/",
89607
-    "/third_party/libwebrtc/sdk/objc/",
89129
-    "/third_party/libwebrtc/sdk/objc/",
89608
-    "/third_party/libwebrtc/sdk/objc/base/",
89130
-    "/third_party/libwebrtc/sdk/objc/base/",
89609
-    "/third_party/libwebrtc/third_party/abseil-cpp/",
89610
-    "/tools/profiler/public"
89131
-    "/tools/profiler/public"
89611
-]
89132
-]
89612
-
89133
-
Lines 89638-89644 index 25e08e62fadc..000000000000 Link Here
89638
-
89159
-
89639
-Library("videoframebuffer_objc_gn")
89160
-Library("videoframebuffer_objc_gn")
89640
diff --git third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build
89161
diff --git third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build
89641
index cd0bc1b144b8..9f955dcf32b3 100644
89162
index e112c4874c1f..518c1df32127 100644
89642
--- third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build
89163
--- third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build
89643
+++ third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build
89164
+++ third_party/libwebrtc/system_wrappers/denormal_disabler_gn/moz.build
89644
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
89165
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 89849-89855 index cd0bc1b144b8..9f955dcf32b3 100644 Link Here
89849
 
89370
 
89850
 Library("denormal_disabler_gn")
89371
 Library("denormal_disabler_gn")
89851
diff --git third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build
89372
diff --git third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build
89852
index 30aa20ae3ede..c5bb79c454fc 100644
89373
index 460a3a113757..d40812159ee8 100644
89853
--- third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build
89374
--- third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build
89854
+++ third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build
89375
+++ third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build
89855
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
89376
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 90067-90073 index 30aa20ae3ede..c5bb79c454fc 100644 Link Here
90067
 
89588
 
90068
 Library("field_trial_gn")
89589
 Library("field_trial_gn")
90069
diff --git third_party/libwebrtc/system_wrappers/metrics_gn/moz.build third_party/libwebrtc/system_wrappers/metrics_gn/moz.build
89590
diff --git third_party/libwebrtc/system_wrappers/metrics_gn/moz.build third_party/libwebrtc/system_wrappers/metrics_gn/moz.build
90070
index 2347fbcbacf5..31a75cc714e1 100644
89591
index 29156ca2193e..7a01c486865b 100644
90071
--- third_party/libwebrtc/system_wrappers/metrics_gn/moz.build
89592
--- third_party/libwebrtc/system_wrappers/metrics_gn/moz.build
90072
+++ third_party/libwebrtc/system_wrappers/metrics_gn/moz.build
89593
+++ third_party/libwebrtc/system_wrappers/metrics_gn/moz.build
90073
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
89594
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 90278-90284 index 2347fbcbacf5..31a75cc714e1 100644 Link Here
90278
 
89799
 
90279
 Library("metrics_gn")
89800
 Library("metrics_gn")
90280
diff --git third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build
89801
diff --git third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build
90281
index 161fe336d913..ade9b1212194 100644
89802
index 02d7c603b974..2bc033f65974 100644
90282
--- third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build
89803
--- third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build
90283
+++ third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build
89804
+++ third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build
90284
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
89805
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 90510-90516 index 161fe336d913..ade9b1212194 100644 Link Here
90510
 
90031
 
90511
 Library("system_wrappers_gn")
90032
 Library("system_wrappers_gn")
90512
diff --git third_party/libwebrtc/test/network/simulated_network_gn/moz.build third_party/libwebrtc/test/network/simulated_network_gn/moz.build
90033
diff --git third_party/libwebrtc/test/network/simulated_network_gn/moz.build third_party/libwebrtc/test/network/simulated_network_gn/moz.build
90513
index 26939945bfb9..bda1c894e9e1 100644
90034
index bedfa0c56dbe..6ac0bb28a3f8 100644
90514
--- third_party/libwebrtc/test/network/simulated_network_gn/moz.build
90035
--- third_party/libwebrtc/test/network/simulated_network_gn/moz.build
90515
+++ third_party/libwebrtc/test/network/simulated_network_gn/moz.build
90036
+++ third_party/libwebrtc/test/network/simulated_network_gn/moz.build
90516
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
90037
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 90721-90727 index 26939945bfb9..bda1c894e9e1 100644 Link Here
90721
 
90242
 
90722
 Library("simulated_network_gn")
90243
 Library("simulated_network_gn")
90723
diff --git third_party/libwebrtc/test/rtp_test_utils_gn/moz.build third_party/libwebrtc/test/rtp_test_utils_gn/moz.build
90244
diff --git third_party/libwebrtc/test/rtp_test_utils_gn/moz.build third_party/libwebrtc/test/rtp_test_utils_gn/moz.build
90724
index 5a0d4a3984ef..020143107080 100644
90245
index 8ce02c0e89e8..eb6407536eab 100644
90725
--- third_party/libwebrtc/test/rtp_test_utils_gn/moz.build
90246
--- third_party/libwebrtc/test/rtp_test_utils_gn/moz.build
90726
+++ third_party/libwebrtc/test/rtp_test_utils_gn/moz.build
90247
+++ third_party/libwebrtc/test/rtp_test_utils_gn/moz.build
90727
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
90248
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 90923-94989 index 5a0d4a3984ef..020143107080 100644 Link Here
90923
-    DEFINES["_GNU_SOURCE"] = True
90444
-    DEFINES["_GNU_SOURCE"] = True
90924
-
90445
-
90925
 Library("rtp_test_utils_gn")
90446
 Library("rtp_test_utils_gn")
90926
diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/algorithm_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/algorithm_gn/moz.build
90927
index 696c19c0a090..bdcf7cc0dc34 100644
90928
--- third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/algorithm_gn/moz.build
90929
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/algorithm_gn/moz.build
90930
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
90931
 AllowCompilerWarnings()
90932
 
90933
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
90934
+DEFINES["USE_GLIB"] = "1"
90935
+DEFINES["USE_OZONE"] = "1"
90936
+DEFINES["_FILE_OFFSET_BITS"] = "64"
90937
+DEFINES["_LARGEFILE64_SOURCE"] = True
90938
+DEFINES["_LARGEFILE_SOURCE"] = True
90939
 
90940
 FINAL_LIBRARY = "xul"
90941
 
90942
@@ -32,117 +37,10 @@ if not CONFIG["MOZ_DEBUG"]:
90943
 if CONFIG["MOZ_DEBUG"] == "1":
90944
 
90945
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
90946
-
90947
-if CONFIG["OS_TARGET"] == "Android":
90948
-
90949
-    DEFINES["ANDROID"] = True
90950
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
90951
-    DEFINES["HAVE_SYS_UIO_H"] = True
90952
-    DEFINES["_GNU_SOURCE"] = True
90953
-
90954
-if CONFIG["OS_TARGET"] == "Darwin":
90955
-
90956
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
90957
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
90958
-
90959
-if CONFIG["OS_TARGET"] == "Linux":
90960
-
90961
-    DEFINES["USE_AURA"] = "1"
90962
-    DEFINES["USE_GLIB"] = "1"
90963
-    DEFINES["USE_NSS_CERTS"] = "1"
90964
-    DEFINES["USE_OZONE"] = "1"
90965
-    DEFINES["USE_UDEV"] = True
90966
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
90967
-    DEFINES["_LARGEFILE64_SOURCE"] = True
90968
-    DEFINES["_LARGEFILE_SOURCE"] = True
90969
-
90970
-if CONFIG["OS_TARGET"] == "OpenBSD":
90971
-
90972
-    DEFINES["USE_GLIB"] = "1"
90973
-    DEFINES["USE_OZONE"] = "1"
90974
-    DEFINES["USE_X11"] = "1"
90975
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
90976
-    DEFINES["_LARGEFILE64_SOURCE"] = True
90977
-    DEFINES["_LARGEFILE_SOURCE"] = True
90978
-
90979
-if CONFIG["OS_TARGET"] == "WINNT":
90980
-
90981
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
90982
-    DEFINES["NOMINMAX"] = True
90983
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
90984
-    DEFINES["PSAPI_VERSION"] = "2"
90985
-    DEFINES["UNICODE"] = True
90986
-    DEFINES["USE_AURA"] = "1"
90987
-    DEFINES["WIN32"] = True
90988
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
90989
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
90990
-    DEFINES["WINVER"] = "0x0A00"
90991
-    DEFINES["_ATL_NO_OPENGL"] = True
90992
-    DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = True
90993
-    DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
90994
-    DEFINES["_CRT_RAND_S"] = True
90995
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
90996
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
90997
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
90998
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
90999
-    DEFINES["_SECURE_ATL"] = True
91000
-    DEFINES["_UNICODE"] = True
91001
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
91002
-    DEFINES["_WINDOWS"] = True
91003
-    DEFINES["__STD_C"] = True
91004
-
91005
-if CONFIG["TARGET_CPU"] == "mips32":
91006
-
91007
-    DEFINES["_GNU_SOURCE"] = True
91008
-
91009
-if CONFIG["TARGET_CPU"] == "mips64":
91010
-
91011
-    DEFINES["_GNU_SOURCE"] = True
91012
-
91013
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
91014
-
91015
-    DEFINES["_DEBUG"] = True
91016
-
91017
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
91018
-
91019
-    DEFINES["_DEBUG"] = True
91020
-
91021
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
91022
-
91023
-    DEFINES["_DEBUG"] = True
91024
-
91025
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
91026
-
91027
     DEFINES["_DEBUG"] = True
91028
 
91029
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
91030
-
91031
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
91032
-
91033
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
91034
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
91035
 
91036
     DEFINES["USE_X11"] = "1"
91037
 
91038
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
91039
-
91040
-    OS_LIBS += [
91041
-        "unwind"
91042
-    ]
91043
-
91044
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
91045
-
91046
-    DEFINES["_GNU_SOURCE"] = True
91047
-
91048
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
91049
-
91050
-    DEFINES["_GNU_SOURCE"] = True
91051
-
91052
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
91053
-
91054
-    DEFINES["_GNU_SOURCE"] = True
91055
-
91056
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
91057
-
91058
-    DEFINES["_GNU_SOURCE"] = True
91059
-
91060
 Library("algorithm_gn")
91061
diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/container_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/container_gn/moz.build
91062
index 376a6873a7de..d8e126e98d22 100644
91063
--- third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/container_gn/moz.build
91064
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/algorithm/container_gn/moz.build
91065
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
91066
 AllowCompilerWarnings()
91067
 
91068
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
91069
+DEFINES["USE_GLIB"] = "1"
91070
+DEFINES["USE_OZONE"] = "1"
91071
+DEFINES["_FILE_OFFSET_BITS"] = "64"
91072
+DEFINES["_LARGEFILE64_SOURCE"] = True
91073
+DEFINES["_LARGEFILE_SOURCE"] = True
91074
 
91075
 FINAL_LIBRARY = "xul"
91076
 
91077
@@ -32,117 +37,10 @@ if not CONFIG["MOZ_DEBUG"]:
91078
 if CONFIG["MOZ_DEBUG"] == "1":
91079
 
91080
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
91081
-
91082
-if CONFIG["OS_TARGET"] == "Android":
91083
-
91084
-    DEFINES["ANDROID"] = True
91085
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
91086
-    DEFINES["HAVE_SYS_UIO_H"] = True
91087
-    DEFINES["_GNU_SOURCE"] = True
91088
-
91089
-if CONFIG["OS_TARGET"] == "Darwin":
91090
-
91091
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
91092
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
91093
-
91094
-if CONFIG["OS_TARGET"] == "Linux":
91095
-
91096
-    DEFINES["USE_AURA"] = "1"
91097
-    DEFINES["USE_GLIB"] = "1"
91098
-    DEFINES["USE_NSS_CERTS"] = "1"
91099
-    DEFINES["USE_OZONE"] = "1"
91100
-    DEFINES["USE_UDEV"] = True
91101
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
91102
-    DEFINES["_LARGEFILE64_SOURCE"] = True
91103
-    DEFINES["_LARGEFILE_SOURCE"] = True
91104
-
91105
-if CONFIG["OS_TARGET"] == "OpenBSD":
91106
-
91107
-    DEFINES["USE_GLIB"] = "1"
91108
-    DEFINES["USE_OZONE"] = "1"
91109
-    DEFINES["USE_X11"] = "1"
91110
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
91111
-    DEFINES["_LARGEFILE64_SOURCE"] = True
91112
-    DEFINES["_LARGEFILE_SOURCE"] = True
91113
-
91114
-if CONFIG["OS_TARGET"] == "WINNT":
91115
-
91116
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
91117
-    DEFINES["NOMINMAX"] = True
91118
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
91119
-    DEFINES["PSAPI_VERSION"] = "2"
91120
-    DEFINES["UNICODE"] = True
91121
-    DEFINES["USE_AURA"] = "1"
91122
-    DEFINES["WIN32"] = True
91123
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
91124
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
91125
-    DEFINES["WINVER"] = "0x0A00"
91126
-    DEFINES["_ATL_NO_OPENGL"] = True
91127
-    DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = True
91128
-    DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
91129
-    DEFINES["_CRT_RAND_S"] = True
91130
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
91131
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
91132
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
91133
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
91134
-    DEFINES["_SECURE_ATL"] = True
91135
-    DEFINES["_UNICODE"] = True
91136
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
91137
-    DEFINES["_WINDOWS"] = True
91138
-    DEFINES["__STD_C"] = True
91139
-
91140
-if CONFIG["TARGET_CPU"] == "mips32":
91141
-
91142
-    DEFINES["_GNU_SOURCE"] = True
91143
-
91144
-if CONFIG["TARGET_CPU"] == "mips64":
91145
-
91146
-    DEFINES["_GNU_SOURCE"] = True
91147
-
91148
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
91149
-
91150
-    DEFINES["_DEBUG"] = True
91151
-
91152
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
91153
-
91154
-    DEFINES["_DEBUG"] = True
91155
-
91156
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
91157
-
91158
-    DEFINES["_DEBUG"] = True
91159
-
91160
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
91161
-
91162
     DEFINES["_DEBUG"] = True
91163
 
91164
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
91165
-
91166
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
91167
-
91168
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
91169
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
91170
 
91171
     DEFINES["USE_X11"] = "1"
91172
 
91173
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
91174
-
91175
-    OS_LIBS += [
91176
-        "unwind"
91177
-    ]
91178
-
91179
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
91180
-
91181
-    DEFINES["_GNU_SOURCE"] = True
91182
-
91183
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
91184
-
91185
-    DEFINES["_GNU_SOURCE"] = True
91186
-
91187
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
91188
-
91189
-    DEFINES["_GNU_SOURCE"] = True
91190
-
91191
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
91192
-
91193
-    DEFINES["_GNU_SOURCE"] = True
91194
-
91195
 Library("container_gn")
91196
diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/base/atomic_hook_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/base/atomic_hook_gn/moz.build
91197
index 1dbf8b303711..a5bb25ebbee5 100644
91198
--- third_party/libwebrtc/third_party/abseil-cpp/absl/base/atomic_hook_gn/moz.build
91199
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/base/atomic_hook_gn/moz.build
91200
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
91201
 AllowCompilerWarnings()
91202
 
91203
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
91204
+DEFINES["USE_GLIB"] = "1"
91205
+DEFINES["USE_OZONE"] = "1"
91206
+DEFINES["_FILE_OFFSET_BITS"] = "64"
91207
+DEFINES["_LARGEFILE64_SOURCE"] = True
91208
+DEFINES["_LARGEFILE_SOURCE"] = True
91209
 
91210
 FINAL_LIBRARY = "xul"
91211
 
91212
@@ -32,117 +37,10 @@ if not CONFIG["MOZ_DEBUG"]:
91213
 if CONFIG["MOZ_DEBUG"] == "1":
91214
 
91215
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
91216
-
91217
-if CONFIG["OS_TARGET"] == "Android":
91218
-
91219
-    DEFINES["ANDROID"] = True
91220
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
91221
-    DEFINES["HAVE_SYS_UIO_H"] = True
91222
-    DEFINES["_GNU_SOURCE"] = True
91223
-
91224
-if CONFIG["OS_TARGET"] == "Darwin":
91225
-
91226
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
91227
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
91228
-
91229
-if CONFIG["OS_TARGET"] == "Linux":
91230
-
91231
-    DEFINES["USE_AURA"] = "1"
91232
-    DEFINES["USE_GLIB"] = "1"
91233
-    DEFINES["USE_NSS_CERTS"] = "1"
91234
-    DEFINES["USE_OZONE"] = "1"
91235
-    DEFINES["USE_UDEV"] = True
91236
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
91237
-    DEFINES["_LARGEFILE64_SOURCE"] = True
91238
-    DEFINES["_LARGEFILE_SOURCE"] = True
91239
-
91240
-if CONFIG["OS_TARGET"] == "OpenBSD":
91241
-
91242
-    DEFINES["USE_GLIB"] = "1"
91243
-    DEFINES["USE_OZONE"] = "1"
91244
-    DEFINES["USE_X11"] = "1"
91245
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
91246
-    DEFINES["_LARGEFILE64_SOURCE"] = True
91247
-    DEFINES["_LARGEFILE_SOURCE"] = True
91248
-
91249
-if CONFIG["OS_TARGET"] == "WINNT":
91250
-
91251
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
91252
-    DEFINES["NOMINMAX"] = True
91253
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
91254
-    DEFINES["PSAPI_VERSION"] = "2"
91255
-    DEFINES["UNICODE"] = True
91256
-    DEFINES["USE_AURA"] = "1"
91257
-    DEFINES["WIN32"] = True
91258
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
91259
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
91260
-    DEFINES["WINVER"] = "0x0A00"
91261
-    DEFINES["_ATL_NO_OPENGL"] = True
91262
-    DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = True
91263
-    DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
91264
-    DEFINES["_CRT_RAND_S"] = True
91265
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
91266
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
91267
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
91268
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
91269
-    DEFINES["_SECURE_ATL"] = True
91270
-    DEFINES["_UNICODE"] = True
91271
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
91272
-    DEFINES["_WINDOWS"] = True
91273
-    DEFINES["__STD_C"] = True
91274
-
91275
-if CONFIG["TARGET_CPU"] == "mips32":
91276
-
91277
-    DEFINES["_GNU_SOURCE"] = True
91278
-
91279
-if CONFIG["TARGET_CPU"] == "mips64":
91280
-
91281
-    DEFINES["_GNU_SOURCE"] = True
91282
-
91283
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
91284
-
91285
-    DEFINES["_DEBUG"] = True
91286
-
91287
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
91288
-
91289
-    DEFINES["_DEBUG"] = True
91290
-
91291
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
91292
-
91293
-    DEFINES["_DEBUG"] = True
91294
-
91295
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
91296
-
91297
     DEFINES["_DEBUG"] = True
91298
 
91299
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
91300
-
91301
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
91302
-
91303
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
91304
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
91305
 
91306
     DEFINES["USE_X11"] = "1"
91307
 
91308
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
91309
-
91310
-    OS_LIBS += [
91311
-        "unwind"
91312
-    ]
91313
-
91314
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
91315
-
91316
-    DEFINES["_GNU_SOURCE"] = True
91317
-
91318
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
91319
-
91320
-    DEFINES["_GNU_SOURCE"] = True
91321
-
91322
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
91323
-
91324
-    DEFINES["_GNU_SOURCE"] = True
91325
-
91326
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
91327
-
91328
-    DEFINES["_GNU_SOURCE"] = True
91329
-
91330
 Library("atomic_hook_gn")
91331
diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/base/base_internal_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/base/base_internal_gn/moz.build
91332
index c74d13c51a7f..fa3789dd2bec 100644
91333
--- third_party/libwebrtc/third_party/abseil-cpp/absl/base/base_internal_gn/moz.build
91334
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/base/base_internal_gn/moz.build
91335
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
91336
 AllowCompilerWarnings()
91337
 
91338
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
91339
+DEFINES["USE_GLIB"] = "1"
91340
+DEFINES["USE_OZONE"] = "1"
91341
+DEFINES["_FILE_OFFSET_BITS"] = "64"
91342
+DEFINES["_LARGEFILE64_SOURCE"] = True
91343
+DEFINES["_LARGEFILE_SOURCE"] = True
91344
 
91345
 FINAL_LIBRARY = "xul"
91346
 
91347
@@ -32,117 +37,10 @@ if not CONFIG["MOZ_DEBUG"]:
91348
 if CONFIG["MOZ_DEBUG"] == "1":
91349
 
91350
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
91351
-
91352
-if CONFIG["OS_TARGET"] == "Android":
91353
-
91354
-    DEFINES["ANDROID"] = True
91355
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
91356
-    DEFINES["HAVE_SYS_UIO_H"] = True
91357
-    DEFINES["_GNU_SOURCE"] = True
91358
-
91359
-if CONFIG["OS_TARGET"] == "Darwin":
91360
-
91361
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
91362
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
91363
-
91364
-if CONFIG["OS_TARGET"] == "Linux":
91365
-
91366
-    DEFINES["USE_AURA"] = "1"
91367
-    DEFINES["USE_GLIB"] = "1"
91368
-    DEFINES["USE_NSS_CERTS"] = "1"
91369
-    DEFINES["USE_OZONE"] = "1"
91370
-    DEFINES["USE_UDEV"] = True
91371
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
91372
-    DEFINES["_LARGEFILE64_SOURCE"] = True
91373
-    DEFINES["_LARGEFILE_SOURCE"] = True
91374
-
91375
-if CONFIG["OS_TARGET"] == "OpenBSD":
91376
-
91377
-    DEFINES["USE_GLIB"] = "1"
91378
-    DEFINES["USE_OZONE"] = "1"
91379
-    DEFINES["USE_X11"] = "1"
91380
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
91381
-    DEFINES["_LARGEFILE64_SOURCE"] = True
91382
-    DEFINES["_LARGEFILE_SOURCE"] = True
91383
-
91384
-if CONFIG["OS_TARGET"] == "WINNT":
91385
-
91386
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
91387
-    DEFINES["NOMINMAX"] = True
91388
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
91389
-    DEFINES["PSAPI_VERSION"] = "2"
91390
-    DEFINES["UNICODE"] = True
91391
-    DEFINES["USE_AURA"] = "1"
91392
-    DEFINES["WIN32"] = True
91393
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
91394
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
91395
-    DEFINES["WINVER"] = "0x0A00"
91396
-    DEFINES["_ATL_NO_OPENGL"] = True
91397
-    DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = True
91398
-    DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
91399
-    DEFINES["_CRT_RAND_S"] = True
91400
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
91401
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
91402
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
91403
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
91404
-    DEFINES["_SECURE_ATL"] = True
91405
-    DEFINES["_UNICODE"] = True
91406
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
91407
-    DEFINES["_WINDOWS"] = True
91408
-    DEFINES["__STD_C"] = True
91409
-
91410
-if CONFIG["TARGET_CPU"] == "mips32":
91411
-
91412
-    DEFINES["_GNU_SOURCE"] = True
91413
-
91414
-if CONFIG["TARGET_CPU"] == "mips64":
91415
-
91416
-    DEFINES["_GNU_SOURCE"] = True
91417
-
91418
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
91419
-
91420
-    DEFINES["_DEBUG"] = True
91421
-
91422
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
91423
-
91424
-    DEFINES["_DEBUG"] = True
91425
-
91426
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
91427
-
91428
-    DEFINES["_DEBUG"] = True
91429
-
91430
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
91431
-
91432
     DEFINES["_DEBUG"] = True
91433
 
91434
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
91435
-
91436
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
91437
-
91438
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
91439
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
91440
 
91441
     DEFINES["USE_X11"] = "1"
91442
 
91443
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
91444
-
91445
-    OS_LIBS += [
91446
-        "unwind"
91447
-    ]
91448
-
91449
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
91450
-
91451
-    DEFINES["_GNU_SOURCE"] = True
91452
-
91453
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
91454
-
91455
-    DEFINES["_GNU_SOURCE"] = True
91456
-
91457
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
91458
-
91459
-    DEFINES["_GNU_SOURCE"] = True
91460
-
91461
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
91462
-
91463
-    DEFINES["_GNU_SOURCE"] = True
91464
-
91465
 Library("base_internal_gn")
91466
diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/base/config_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/base/config_gn/moz.build
91467
index 5cd792ccd5d2..27118a5fb2d3 100644
91468
--- third_party/libwebrtc/third_party/abseil-cpp/absl/base/config_gn/moz.build
91469
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/base/config_gn/moz.build
91470
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
91471
 AllowCompilerWarnings()
91472
 
91473
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
91474
+DEFINES["USE_GLIB"] = "1"
91475
+DEFINES["USE_OZONE"] = "1"
91476
+DEFINES["_FILE_OFFSET_BITS"] = "64"
91477
+DEFINES["_LARGEFILE64_SOURCE"] = True
91478
+DEFINES["_LARGEFILE_SOURCE"] = True
91479
 
91480
 FINAL_LIBRARY = "xul"
91481
 
91482
@@ -32,117 +37,10 @@ if not CONFIG["MOZ_DEBUG"]:
91483
 if CONFIG["MOZ_DEBUG"] == "1":
91484
 
91485
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
91486
-
91487
-if CONFIG["OS_TARGET"] == "Android":
91488
-
91489
-    DEFINES["ANDROID"] = True
91490
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
91491
-    DEFINES["HAVE_SYS_UIO_H"] = True
91492
-    DEFINES["_GNU_SOURCE"] = True
91493
-
91494
-if CONFIG["OS_TARGET"] == "Darwin":
91495
-
91496
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
91497
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
91498
-
91499
-if CONFIG["OS_TARGET"] == "Linux":
91500
-
91501
-    DEFINES["USE_AURA"] = "1"
91502
-    DEFINES["USE_GLIB"] = "1"
91503
-    DEFINES["USE_NSS_CERTS"] = "1"
91504
-    DEFINES["USE_OZONE"] = "1"
91505
-    DEFINES["USE_UDEV"] = True
91506
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
91507
-    DEFINES["_LARGEFILE64_SOURCE"] = True
91508
-    DEFINES["_LARGEFILE_SOURCE"] = True
91509
-
91510
-if CONFIG["OS_TARGET"] == "OpenBSD":
91511
-
91512
-    DEFINES["USE_GLIB"] = "1"
91513
-    DEFINES["USE_OZONE"] = "1"
91514
-    DEFINES["USE_X11"] = "1"
91515
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
91516
-    DEFINES["_LARGEFILE64_SOURCE"] = True
91517
-    DEFINES["_LARGEFILE_SOURCE"] = True
91518
-
91519
-if CONFIG["OS_TARGET"] == "WINNT":
91520
-
91521
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
91522
-    DEFINES["NOMINMAX"] = True
91523
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
91524
-    DEFINES["PSAPI_VERSION"] = "2"
91525
-    DEFINES["UNICODE"] = True
91526
-    DEFINES["USE_AURA"] = "1"
91527
-    DEFINES["WIN32"] = True
91528
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
91529
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
91530
-    DEFINES["WINVER"] = "0x0A00"
91531
-    DEFINES["_ATL_NO_OPENGL"] = True
91532
-    DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = True
91533
-    DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
91534
-    DEFINES["_CRT_RAND_S"] = True
91535
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
91536
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
91537
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
91538
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
91539
-    DEFINES["_SECURE_ATL"] = True
91540
-    DEFINES["_UNICODE"] = True
91541
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
91542
-    DEFINES["_WINDOWS"] = True
91543
-    DEFINES["__STD_C"] = True
91544
-
91545
-if CONFIG["TARGET_CPU"] == "mips32":
91546
-
91547
-    DEFINES["_GNU_SOURCE"] = True
91548
-
91549
-if CONFIG["TARGET_CPU"] == "mips64":
91550
-
91551
-    DEFINES["_GNU_SOURCE"] = True
91552
-
91553
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
91554
-
91555
-    DEFINES["_DEBUG"] = True
91556
-
91557
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
91558
-
91559
-    DEFINES["_DEBUG"] = True
91560
-
91561
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
91562
-
91563
-    DEFINES["_DEBUG"] = True
91564
-
91565
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
91566
-
91567
     DEFINES["_DEBUG"] = True
91568
 
91569
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
91570
-
91571
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
91572
-
91573
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
91574
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
91575
 
91576
     DEFINES["USE_X11"] = "1"
91577
 
91578
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
91579
-
91580
-    OS_LIBS += [
91581
-        "unwind"
91582
-    ]
91583
-
91584
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
91585
-
91586
-    DEFINES["_GNU_SOURCE"] = True
91587
-
91588
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
91589
-
91590
-    DEFINES["_GNU_SOURCE"] = True
91591
-
91592
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
91593
-
91594
-    DEFINES["_GNU_SOURCE"] = True
91595
-
91596
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
91597
-
91598
-    DEFINES["_GNU_SOURCE"] = True
91599
-
91600
 Library("config_gn")
91601
diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/base/core_headers_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/base/core_headers_gn/moz.build
91602
index 26296e769d53..f6d55cb2edf7 100644
91603
--- third_party/libwebrtc/third_party/abseil-cpp/absl/base/core_headers_gn/moz.build
91604
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/base/core_headers_gn/moz.build
91605
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
91606
 AllowCompilerWarnings()
91607
 
91608
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
91609
+DEFINES["USE_GLIB"] = "1"
91610
+DEFINES["USE_OZONE"] = "1"
91611
+DEFINES["_FILE_OFFSET_BITS"] = "64"
91612
+DEFINES["_LARGEFILE64_SOURCE"] = True
91613
+DEFINES["_LARGEFILE_SOURCE"] = True
91614
 
91615
 FINAL_LIBRARY = "xul"
91616
 
91617
@@ -32,117 +37,10 @@ if not CONFIG["MOZ_DEBUG"]:
91618
 if CONFIG["MOZ_DEBUG"] == "1":
91619
 
91620
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
91621
-
91622
-if CONFIG["OS_TARGET"] == "Android":
91623
-
91624
-    DEFINES["ANDROID"] = True
91625
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
91626
-    DEFINES["HAVE_SYS_UIO_H"] = True
91627
-    DEFINES["_GNU_SOURCE"] = True
91628
-
91629
-if CONFIG["OS_TARGET"] == "Darwin":
91630
-
91631
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
91632
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
91633
-
91634
-if CONFIG["OS_TARGET"] == "Linux":
91635
-
91636
-    DEFINES["USE_AURA"] = "1"
91637
-    DEFINES["USE_GLIB"] = "1"
91638
-    DEFINES["USE_NSS_CERTS"] = "1"
91639
-    DEFINES["USE_OZONE"] = "1"
91640
-    DEFINES["USE_UDEV"] = True
91641
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
91642
-    DEFINES["_LARGEFILE64_SOURCE"] = True
91643
-    DEFINES["_LARGEFILE_SOURCE"] = True
91644
-
91645
-if CONFIG["OS_TARGET"] == "OpenBSD":
91646
-
91647
-    DEFINES["USE_GLIB"] = "1"
91648
-    DEFINES["USE_OZONE"] = "1"
91649
-    DEFINES["USE_X11"] = "1"
91650
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
91651
-    DEFINES["_LARGEFILE64_SOURCE"] = True
91652
-    DEFINES["_LARGEFILE_SOURCE"] = True
91653
-
91654
-if CONFIG["OS_TARGET"] == "WINNT":
91655
-
91656
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
91657
-    DEFINES["NOMINMAX"] = True
91658
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
91659
-    DEFINES["PSAPI_VERSION"] = "2"
91660
-    DEFINES["UNICODE"] = True
91661
-    DEFINES["USE_AURA"] = "1"
91662
-    DEFINES["WIN32"] = True
91663
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
91664
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
91665
-    DEFINES["WINVER"] = "0x0A00"
91666
-    DEFINES["_ATL_NO_OPENGL"] = True
91667
-    DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = True
91668
-    DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
91669
-    DEFINES["_CRT_RAND_S"] = True
91670
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
91671
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
91672
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
91673
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
91674
-    DEFINES["_SECURE_ATL"] = True
91675
-    DEFINES["_UNICODE"] = True
91676
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
91677
-    DEFINES["_WINDOWS"] = True
91678
-    DEFINES["__STD_C"] = True
91679
-
91680
-if CONFIG["TARGET_CPU"] == "mips32":
91681
-
91682
-    DEFINES["_GNU_SOURCE"] = True
91683
-
91684
-if CONFIG["TARGET_CPU"] == "mips64":
91685
-
91686
-    DEFINES["_GNU_SOURCE"] = True
91687
-
91688
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
91689
-
91690
-    DEFINES["_DEBUG"] = True
91691
-
91692
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
91693
-
91694
-    DEFINES["_DEBUG"] = True
91695
-
91696
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
91697
-
91698
-    DEFINES["_DEBUG"] = True
91699
-
91700
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
91701
-
91702
     DEFINES["_DEBUG"] = True
91703
 
91704
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
91705
-
91706
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
91707
-
91708
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
91709
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
91710
 
91711
     DEFINES["USE_X11"] = "1"
91712
 
91713
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
91714
-
91715
-    OS_LIBS += [
91716
-        "unwind"
91717
-    ]
91718
-
91719
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
91720
-
91721
-    DEFINES["_GNU_SOURCE"] = True
91722
-
91723
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
91724
-
91725
-    DEFINES["_GNU_SOURCE"] = True
91726
-
91727
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
91728
-
91729
-    DEFINES["_GNU_SOURCE"] = True
91730
-
91731
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
91732
-
91733
-    DEFINES["_GNU_SOURCE"] = True
91734
-
91735
 Library("core_headers_gn")
91736
diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/base/log_severity_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/base/log_severity_gn/moz.build
91737
index 284ba1262009..89638dbef9e0 100644
91738
--- third_party/libwebrtc/third_party/abseil-cpp/absl/base/log_severity_gn/moz.build
91739
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/base/log_severity_gn/moz.build
91740
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
91741
 AllowCompilerWarnings()
91742
 
91743
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
91744
+DEFINES["USE_GLIB"] = "1"
91745
+DEFINES["USE_OZONE"] = "1"
91746
+DEFINES["_FILE_OFFSET_BITS"] = "64"
91747
+DEFINES["_LARGEFILE64_SOURCE"] = True
91748
+DEFINES["_LARGEFILE_SOURCE"] = True
91749
 
91750
 FINAL_LIBRARY = "xul"
91751
 
91752
@@ -36,133 +41,16 @@ if not CONFIG["MOZ_DEBUG"]:
91753
 if CONFIG["MOZ_DEBUG"] == "1":
91754
 
91755
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
91756
-
91757
-if CONFIG["OS_TARGET"] == "Android":
91758
-
91759
-    DEFINES["ANDROID"] = True
91760
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
91761
-    DEFINES["HAVE_SYS_UIO_H"] = True
91762
-    DEFINES["_GNU_SOURCE"] = True
91763
-
91764
-if CONFIG["OS_TARGET"] == "Darwin":
91765
-
91766
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
91767
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
91768
-
91769
-if CONFIG["OS_TARGET"] == "Linux":
91770
-
91771
-    DEFINES["USE_AURA"] = "1"
91772
-    DEFINES["USE_GLIB"] = "1"
91773
-    DEFINES["USE_NSS_CERTS"] = "1"
91774
-    DEFINES["USE_OZONE"] = "1"
91775
-    DEFINES["USE_UDEV"] = True
91776
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
91777
-    DEFINES["_LARGEFILE64_SOURCE"] = True
91778
-    DEFINES["_LARGEFILE_SOURCE"] = True
91779
-
91780
-if CONFIG["OS_TARGET"] == "OpenBSD":
91781
-
91782
-    DEFINES["USE_GLIB"] = "1"
91783
-    DEFINES["USE_OZONE"] = "1"
91784
-    DEFINES["USE_X11"] = "1"
91785
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
91786
-    DEFINES["_LARGEFILE64_SOURCE"] = True
91787
-    DEFINES["_LARGEFILE_SOURCE"] = True
91788
-
91789
-if CONFIG["OS_TARGET"] == "WINNT":
91790
-
91791
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
91792
-    DEFINES["NOMINMAX"] = True
91793
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
91794
-    DEFINES["PSAPI_VERSION"] = "2"
91795
-    DEFINES["UNICODE"] = True
91796
-    DEFINES["USE_AURA"] = "1"
91797
-    DEFINES["WIN32"] = True
91798
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
91799
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
91800
-    DEFINES["WINVER"] = "0x0A00"
91801
-    DEFINES["_ATL_NO_OPENGL"] = True
91802
-    DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = True
91803
-    DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
91804
-    DEFINES["_CRT_RAND_S"] = True
91805
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
91806
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
91807
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
91808
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
91809
-    DEFINES["_SECURE_ATL"] = True
91810
-    DEFINES["_UNICODE"] = True
91811
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
91812
-    DEFINES["_WINDOWS"] = True
91813
-    DEFINES["__STD_C"] = True
91814
-
91815
-if CONFIG["TARGET_CPU"] == "arm":
91816
-
91817
-    CXXFLAGS += [
91818
-        "-mfpu=neon"
91819
-    ]
91820
-
91821
-if CONFIG["TARGET_CPU"] == "mips32":
91822
-
91823
-    DEFINES["_GNU_SOURCE"] = True
91824
-
91825
-if CONFIG["TARGET_CPU"] == "mips64":
91826
-
91827
-    DEFINES["_GNU_SOURCE"] = True
91828
-
91829
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
91830
-
91831
-    DEFINES["_DEBUG"] = True
91832
-
91833
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
91834
-
91835
-    DEFINES["_DEBUG"] = True
91836
-
91837
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
91838
-
91839
-    DEFINES["_DEBUG"] = True
91840
-
91841
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
91842
-
91843
     DEFINES["_DEBUG"] = True
91844
 
91845
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
91846
-
91847
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
91848
-
91849
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
91850
-
91851
-    DEFINES["USE_X11"] = "1"
91852
-
91853
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
91854
-
91855
-    OS_LIBS += [
91856
-        "unwind"
91857
-    ]
91858
-
91859
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
91860
+if CONFIG["TARGET_CPU"] == "x86":
91861
 
91862
     CXXFLAGS += [
91863
         "-msse2"
91864
     ]
91865
 
91866
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
91867
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
91868
 
91869
-    DEFINES["_GNU_SOURCE"] = True
91870
-
91871
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
91872
-
91873
-    DEFINES["_GNU_SOURCE"] = True
91874
-
91875
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
91876
-
91877
-    CXXFLAGS += [
91878
-        "-msse2"
91879
-    ]
91880
-
91881
-    DEFINES["_GNU_SOURCE"] = True
91882
-
91883
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
91884
-
91885
-    DEFINES["_GNU_SOURCE"] = True
91886
+    DEFINES["USE_X11"] = "1"
91887
 
91888
 Library("log_severity_gn")
91889
diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/base/nullability_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/base/nullability_gn/moz.build
91890
index f152e046ce64..990765b4dea1 100644
91891
--- third_party/libwebrtc/third_party/abseil-cpp/absl/base/nullability_gn/moz.build
91892
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/base/nullability_gn/moz.build
91893
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
91894
 AllowCompilerWarnings()
91895
 
91896
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
91897
+DEFINES["USE_GLIB"] = "1"
91898
+DEFINES["USE_OZONE"] = "1"
91899
+DEFINES["_FILE_OFFSET_BITS"] = "64"
91900
+DEFINES["_LARGEFILE64_SOURCE"] = True
91901
+DEFINES["_LARGEFILE_SOURCE"] = True
91902
 
91903
 FINAL_LIBRARY = "xul"
91904
 
91905
@@ -32,117 +37,10 @@ if not CONFIG["MOZ_DEBUG"]:
91906
 if CONFIG["MOZ_DEBUG"] == "1":
91907
 
91908
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
91909
-
91910
-if CONFIG["OS_TARGET"] == "Android":
91911
-
91912
-    DEFINES["ANDROID"] = True
91913
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
91914
-    DEFINES["HAVE_SYS_UIO_H"] = True
91915
-    DEFINES["_GNU_SOURCE"] = True
91916
-
91917
-if CONFIG["OS_TARGET"] == "Darwin":
91918
-
91919
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
91920
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
91921
-
91922
-if CONFIG["OS_TARGET"] == "Linux":
91923
-
91924
-    DEFINES["USE_AURA"] = "1"
91925
-    DEFINES["USE_GLIB"] = "1"
91926
-    DEFINES["USE_NSS_CERTS"] = "1"
91927
-    DEFINES["USE_OZONE"] = "1"
91928
-    DEFINES["USE_UDEV"] = True
91929
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
91930
-    DEFINES["_LARGEFILE64_SOURCE"] = True
91931
-    DEFINES["_LARGEFILE_SOURCE"] = True
91932
-
91933
-if CONFIG["OS_TARGET"] == "OpenBSD":
91934
-
91935
-    DEFINES["USE_GLIB"] = "1"
91936
-    DEFINES["USE_OZONE"] = "1"
91937
-    DEFINES["USE_X11"] = "1"
91938
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
91939
-    DEFINES["_LARGEFILE64_SOURCE"] = True
91940
-    DEFINES["_LARGEFILE_SOURCE"] = True
91941
-
91942
-if CONFIG["OS_TARGET"] == "WINNT":
91943
-
91944
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
91945
-    DEFINES["NOMINMAX"] = True
91946
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
91947
-    DEFINES["PSAPI_VERSION"] = "2"
91948
-    DEFINES["UNICODE"] = True
91949
-    DEFINES["USE_AURA"] = "1"
91950
-    DEFINES["WIN32"] = True
91951
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
91952
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
91953
-    DEFINES["WINVER"] = "0x0A00"
91954
-    DEFINES["_ATL_NO_OPENGL"] = True
91955
-    DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = True
91956
-    DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
91957
-    DEFINES["_CRT_RAND_S"] = True
91958
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
91959
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
91960
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
91961
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
91962
-    DEFINES["_SECURE_ATL"] = True
91963
-    DEFINES["_UNICODE"] = True
91964
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
91965
-    DEFINES["_WINDOWS"] = True
91966
-    DEFINES["__STD_C"] = True
91967
-
91968
-if CONFIG["TARGET_CPU"] == "mips32":
91969
-
91970
-    DEFINES["_GNU_SOURCE"] = True
91971
-
91972
-if CONFIG["TARGET_CPU"] == "mips64":
91973
-
91974
-    DEFINES["_GNU_SOURCE"] = True
91975
-
91976
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
91977
-
91978
-    DEFINES["_DEBUG"] = True
91979
-
91980
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
91981
-
91982
-    DEFINES["_DEBUG"] = True
91983
-
91984
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
91985
-
91986
-    DEFINES["_DEBUG"] = True
91987
-
91988
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
91989
-
91990
     DEFINES["_DEBUG"] = True
91991
 
91992
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
91993
-
91994
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
91995
-
91996
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
91997
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
91998
 
91999
     DEFINES["USE_X11"] = "1"
92000
 
92001
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
92002
-
92003
-    OS_LIBS += [
92004
-        "unwind"
92005
-    ]
92006
-
92007
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
92008
-
92009
-    DEFINES["_GNU_SOURCE"] = True
92010
-
92011
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
92012
-
92013
-    DEFINES["_GNU_SOURCE"] = True
92014
-
92015
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
92016
-
92017
-    DEFINES["_GNU_SOURCE"] = True
92018
-
92019
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
92020
-
92021
-    DEFINES["_GNU_SOURCE"] = True
92022
-
92023
 Library("nullability_gn")
92024
diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/base/raw_logging_internal_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/base/raw_logging_internal_gn/moz.build
92025
index 67100a47728f..843518325fec 100644
92026
--- third_party/libwebrtc/third_party/abseil-cpp/absl/base/raw_logging_internal_gn/moz.build
92027
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/base/raw_logging_internal_gn/moz.build
92028
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
92029
 AllowCompilerWarnings()
92030
 
92031
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
92032
+DEFINES["USE_GLIB"] = "1"
92033
+DEFINES["USE_OZONE"] = "1"
92034
+DEFINES["_FILE_OFFSET_BITS"] = "64"
92035
+DEFINES["_LARGEFILE64_SOURCE"] = True
92036
+DEFINES["_LARGEFILE_SOURCE"] = True
92037
 
92038
 FINAL_LIBRARY = "xul"
92039
 
92040
@@ -36,133 +41,16 @@ if not CONFIG["MOZ_DEBUG"]:
92041
 if CONFIG["MOZ_DEBUG"] == "1":
92042
 
92043
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
92044
-
92045
-if CONFIG["OS_TARGET"] == "Android":
92046
-
92047
-    DEFINES["ANDROID"] = True
92048
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
92049
-    DEFINES["HAVE_SYS_UIO_H"] = True
92050
-    DEFINES["_GNU_SOURCE"] = True
92051
-
92052
-if CONFIG["OS_TARGET"] == "Darwin":
92053
-
92054
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
92055
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
92056
-
92057
-if CONFIG["OS_TARGET"] == "Linux":
92058
-
92059
-    DEFINES["USE_AURA"] = "1"
92060
-    DEFINES["USE_GLIB"] = "1"
92061
-    DEFINES["USE_NSS_CERTS"] = "1"
92062
-    DEFINES["USE_OZONE"] = "1"
92063
-    DEFINES["USE_UDEV"] = True
92064
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
92065
-    DEFINES["_LARGEFILE64_SOURCE"] = True
92066
-    DEFINES["_LARGEFILE_SOURCE"] = True
92067
-
92068
-if CONFIG["OS_TARGET"] == "OpenBSD":
92069
-
92070
-    DEFINES["USE_GLIB"] = "1"
92071
-    DEFINES["USE_OZONE"] = "1"
92072
-    DEFINES["USE_X11"] = "1"
92073
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
92074
-    DEFINES["_LARGEFILE64_SOURCE"] = True
92075
-    DEFINES["_LARGEFILE_SOURCE"] = True
92076
-
92077
-if CONFIG["OS_TARGET"] == "WINNT":
92078
-
92079
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
92080
-    DEFINES["NOMINMAX"] = True
92081
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
92082
-    DEFINES["PSAPI_VERSION"] = "2"
92083
-    DEFINES["UNICODE"] = True
92084
-    DEFINES["USE_AURA"] = "1"
92085
-    DEFINES["WIN32"] = True
92086
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
92087
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
92088
-    DEFINES["WINVER"] = "0x0A00"
92089
-    DEFINES["_ATL_NO_OPENGL"] = True
92090
-    DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = True
92091
-    DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
92092
-    DEFINES["_CRT_RAND_S"] = True
92093
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
92094
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
92095
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
92096
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
92097
-    DEFINES["_SECURE_ATL"] = True
92098
-    DEFINES["_UNICODE"] = True
92099
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
92100
-    DEFINES["_WINDOWS"] = True
92101
-    DEFINES["__STD_C"] = True
92102
-
92103
-if CONFIG["TARGET_CPU"] == "arm":
92104
-
92105
-    CXXFLAGS += [
92106
-        "-mfpu=neon"
92107
-    ]
92108
-
92109
-if CONFIG["TARGET_CPU"] == "mips32":
92110
-
92111
-    DEFINES["_GNU_SOURCE"] = True
92112
-
92113
-if CONFIG["TARGET_CPU"] == "mips64":
92114
-
92115
-    DEFINES["_GNU_SOURCE"] = True
92116
-
92117
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
92118
-
92119
-    DEFINES["_DEBUG"] = True
92120
-
92121
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
92122
-
92123
-    DEFINES["_DEBUG"] = True
92124
-
92125
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
92126
-
92127
-    DEFINES["_DEBUG"] = True
92128
-
92129
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
92130
-
92131
     DEFINES["_DEBUG"] = True
92132
 
92133
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
92134
-
92135
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
92136
-
92137
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
92138
-
92139
-    DEFINES["USE_X11"] = "1"
92140
-
92141
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
92142
-
92143
-    OS_LIBS += [
92144
-        "unwind"
92145
-    ]
92146
-
92147
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
92148
+if CONFIG["TARGET_CPU"] == "x86":
92149
 
92150
     CXXFLAGS += [
92151
         "-msse2"
92152
     ]
92153
 
92154
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
92155
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
92156
 
92157
-    DEFINES["_GNU_SOURCE"] = True
92158
-
92159
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
92160
-
92161
-    DEFINES["_GNU_SOURCE"] = True
92162
-
92163
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
92164
-
92165
-    CXXFLAGS += [
92166
-        "-msse2"
92167
-    ]
92168
-
92169
-    DEFINES["_GNU_SOURCE"] = True
92170
-
92171
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
92172
-
92173
-    DEFINES["_GNU_SOURCE"] = True
92174
+    DEFINES["USE_X11"] = "1"
92175
 
92176
 Library("raw_logging_internal_gn")
92177
diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/base/throw_delegate_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/base/throw_delegate_gn/moz.build
92178
index 06b91ef80d22..e6011044ff71 100644
92179
--- third_party/libwebrtc/third_party/abseil-cpp/absl/base/throw_delegate_gn/moz.build
92180
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/base/throw_delegate_gn/moz.build
92181
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
92182
 AllowCompilerWarnings()
92183
 
92184
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
92185
+DEFINES["USE_GLIB"] = "1"
92186
+DEFINES["USE_OZONE"] = "1"
92187
+DEFINES["_FILE_OFFSET_BITS"] = "64"
92188
+DEFINES["_LARGEFILE64_SOURCE"] = True
92189
+DEFINES["_LARGEFILE_SOURCE"] = True
92190
 
92191
 FINAL_LIBRARY = "xul"
92192
 
92193
@@ -36,133 +41,16 @@ if not CONFIG["MOZ_DEBUG"]:
92194
 if CONFIG["MOZ_DEBUG"] == "1":
92195
 
92196
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
92197
-
92198
-if CONFIG["OS_TARGET"] == "Android":
92199
-
92200
-    DEFINES["ANDROID"] = True
92201
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
92202
-    DEFINES["HAVE_SYS_UIO_H"] = True
92203
-    DEFINES["_GNU_SOURCE"] = True
92204
-
92205
-if CONFIG["OS_TARGET"] == "Darwin":
92206
-
92207
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
92208
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
92209
-
92210
-if CONFIG["OS_TARGET"] == "Linux":
92211
-
92212
-    DEFINES["USE_AURA"] = "1"
92213
-    DEFINES["USE_GLIB"] = "1"
92214
-    DEFINES["USE_NSS_CERTS"] = "1"
92215
-    DEFINES["USE_OZONE"] = "1"
92216
-    DEFINES["USE_UDEV"] = True
92217
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
92218
-    DEFINES["_LARGEFILE64_SOURCE"] = True
92219
-    DEFINES["_LARGEFILE_SOURCE"] = True
92220
-
92221
-if CONFIG["OS_TARGET"] == "OpenBSD":
92222
-
92223
-    DEFINES["USE_GLIB"] = "1"
92224
-    DEFINES["USE_OZONE"] = "1"
92225
-    DEFINES["USE_X11"] = "1"
92226
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
92227
-    DEFINES["_LARGEFILE64_SOURCE"] = True
92228
-    DEFINES["_LARGEFILE_SOURCE"] = True
92229
-
92230
-if CONFIG["OS_TARGET"] == "WINNT":
92231
-
92232
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
92233
-    DEFINES["NOMINMAX"] = True
92234
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
92235
-    DEFINES["PSAPI_VERSION"] = "2"
92236
-    DEFINES["UNICODE"] = True
92237
-    DEFINES["USE_AURA"] = "1"
92238
-    DEFINES["WIN32"] = True
92239
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
92240
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
92241
-    DEFINES["WINVER"] = "0x0A00"
92242
-    DEFINES["_ATL_NO_OPENGL"] = True
92243
-    DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = True
92244
-    DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
92245
-    DEFINES["_CRT_RAND_S"] = True
92246
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
92247
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
92248
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
92249
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
92250
-    DEFINES["_SECURE_ATL"] = True
92251
-    DEFINES["_UNICODE"] = True
92252
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
92253
-    DEFINES["_WINDOWS"] = True
92254
-    DEFINES["__STD_C"] = True
92255
-
92256
-if CONFIG["TARGET_CPU"] == "arm":
92257
-
92258
-    CXXFLAGS += [
92259
-        "-mfpu=neon"
92260
-    ]
92261
-
92262
-if CONFIG["TARGET_CPU"] == "mips32":
92263
-
92264
-    DEFINES["_GNU_SOURCE"] = True
92265
-
92266
-if CONFIG["TARGET_CPU"] == "mips64":
92267
-
92268
-    DEFINES["_GNU_SOURCE"] = True
92269
-
92270
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
92271
-
92272
-    DEFINES["_DEBUG"] = True
92273
-
92274
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
92275
-
92276
-    DEFINES["_DEBUG"] = True
92277
-
92278
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
92279
-
92280
-    DEFINES["_DEBUG"] = True
92281
-
92282
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
92283
-
92284
     DEFINES["_DEBUG"] = True
92285
 
92286
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
92287
-
92288
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
92289
-
92290
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
92291
-
92292
-    DEFINES["USE_X11"] = "1"
92293
-
92294
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
92295
-
92296
-    OS_LIBS += [
92297
-        "unwind"
92298
-    ]
92299
-
92300
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
92301
+if CONFIG["TARGET_CPU"] == "x86":
92302
 
92303
     CXXFLAGS += [
92304
         "-msse2"
92305
     ]
92306
 
92307
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
92308
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
92309
 
92310
-    DEFINES["_GNU_SOURCE"] = True
92311
-
92312
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
92313
-
92314
-    DEFINES["_GNU_SOURCE"] = True
92315
-
92316
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
92317
-
92318
-    CXXFLAGS += [
92319
-        "-msse2"
92320
-    ]
92321
-
92322
-    DEFINES["_GNU_SOURCE"] = True
92323
-
92324
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
92325
-
92326
-    DEFINES["_GNU_SOURCE"] = True
92327
+    DEFINES["USE_X11"] = "1"
92328
 
92329
 Library("throw_delegate_gn")
92330
diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/cleanup/cleanup_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/cleanup/cleanup_gn/moz.build
92331
index 8ed66c3ce2c6..2f22adddfa94 100644
92332
--- third_party/libwebrtc/third_party/abseil-cpp/absl/cleanup/cleanup_gn/moz.build
92333
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/cleanup/cleanup_gn/moz.build
92334
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
92335
 AllowCompilerWarnings()
92336
 
92337
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
92338
+DEFINES["USE_GLIB"] = "1"
92339
+DEFINES["USE_OZONE"] = "1"
92340
+DEFINES["_FILE_OFFSET_BITS"] = "64"
92341
+DEFINES["_LARGEFILE64_SOURCE"] = True
92342
+DEFINES["_LARGEFILE_SOURCE"] = True
92343
 
92344
 FINAL_LIBRARY = "xul"
92345
 
92346
@@ -32,117 +37,10 @@ if not CONFIG["MOZ_DEBUG"]:
92347
 if CONFIG["MOZ_DEBUG"] == "1":
92348
 
92349
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
92350
-
92351
-if CONFIG["OS_TARGET"] == "Android":
92352
-
92353
-    DEFINES["ANDROID"] = True
92354
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
92355
-    DEFINES["HAVE_SYS_UIO_H"] = True
92356
-    DEFINES["_GNU_SOURCE"] = True
92357
-
92358
-if CONFIG["OS_TARGET"] == "Darwin":
92359
-
92360
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
92361
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
92362
-
92363
-if CONFIG["OS_TARGET"] == "Linux":
92364
-
92365
-    DEFINES["USE_AURA"] = "1"
92366
-    DEFINES["USE_GLIB"] = "1"
92367
-    DEFINES["USE_NSS_CERTS"] = "1"
92368
-    DEFINES["USE_OZONE"] = "1"
92369
-    DEFINES["USE_UDEV"] = True
92370
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
92371
-    DEFINES["_LARGEFILE64_SOURCE"] = True
92372
-    DEFINES["_LARGEFILE_SOURCE"] = True
92373
-
92374
-if CONFIG["OS_TARGET"] == "OpenBSD":
92375
-
92376
-    DEFINES["USE_GLIB"] = "1"
92377
-    DEFINES["USE_OZONE"] = "1"
92378
-    DEFINES["USE_X11"] = "1"
92379
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
92380
-    DEFINES["_LARGEFILE64_SOURCE"] = True
92381
-    DEFINES["_LARGEFILE_SOURCE"] = True
92382
-
92383
-if CONFIG["OS_TARGET"] == "WINNT":
92384
-
92385
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
92386
-    DEFINES["NOMINMAX"] = True
92387
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
92388
-    DEFINES["PSAPI_VERSION"] = "2"
92389
-    DEFINES["UNICODE"] = True
92390
-    DEFINES["USE_AURA"] = "1"
92391
-    DEFINES["WIN32"] = True
92392
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
92393
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
92394
-    DEFINES["WINVER"] = "0x0A00"
92395
-    DEFINES["_ATL_NO_OPENGL"] = True
92396
-    DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = True
92397
-    DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
92398
-    DEFINES["_CRT_RAND_S"] = True
92399
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
92400
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
92401
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
92402
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
92403
-    DEFINES["_SECURE_ATL"] = True
92404
-    DEFINES["_UNICODE"] = True
92405
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
92406
-    DEFINES["_WINDOWS"] = True
92407
-    DEFINES["__STD_C"] = True
92408
-
92409
-if CONFIG["TARGET_CPU"] == "mips32":
92410
-
92411
-    DEFINES["_GNU_SOURCE"] = True
92412
-
92413
-if CONFIG["TARGET_CPU"] == "mips64":
92414
-
92415
-    DEFINES["_GNU_SOURCE"] = True
92416
-
92417
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
92418
-
92419
-    DEFINES["_DEBUG"] = True
92420
-
92421
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
92422
-
92423
-    DEFINES["_DEBUG"] = True
92424
-
92425
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
92426
-
92427
-    DEFINES["_DEBUG"] = True
92428
-
92429
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
92430
-
92431
     DEFINES["_DEBUG"] = True
92432
 
92433
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
92434
-
92435
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
92436
-
92437
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
92438
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
92439
 
92440
     DEFINES["USE_X11"] = "1"
92441
 
92442
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
92443
-
92444
-    OS_LIBS += [
92445
-        "unwind"
92446
-    ]
92447
-
92448
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
92449
-
92450
-    DEFINES["_GNU_SOURCE"] = True
92451
-
92452
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
92453
-
92454
-    DEFINES["_GNU_SOURCE"] = True
92455
-
92456
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
92457
-
92458
-    DEFINES["_GNU_SOURCE"] = True
92459
-
92460
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
92461
-
92462
-    DEFINES["_GNU_SOURCE"] = True
92463
-
92464
 Library("cleanup_gn")
92465
diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/cleanup/cleanup_internal_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/cleanup/cleanup_internal_gn/moz.build
92466
index 0f3944e348c4..8fd358c0b828 100644
92467
--- third_party/libwebrtc/third_party/abseil-cpp/absl/cleanup/cleanup_internal_gn/moz.build
92468
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/cleanup/cleanup_internal_gn/moz.build
92469
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
92470
 AllowCompilerWarnings()
92471
 
92472
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
92473
+DEFINES["USE_GLIB"] = "1"
92474
+DEFINES["USE_OZONE"] = "1"
92475
+DEFINES["_FILE_OFFSET_BITS"] = "64"
92476
+DEFINES["_LARGEFILE64_SOURCE"] = True
92477
+DEFINES["_LARGEFILE_SOURCE"] = True
92478
 
92479
 FINAL_LIBRARY = "xul"
92480
 
92481
@@ -32,117 +37,10 @@ if not CONFIG["MOZ_DEBUG"]:
92482
 if CONFIG["MOZ_DEBUG"] == "1":
92483
 
92484
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
92485
-
92486
-if CONFIG["OS_TARGET"] == "Android":
92487
-
92488
-    DEFINES["ANDROID"] = True
92489
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
92490
-    DEFINES["HAVE_SYS_UIO_H"] = True
92491
-    DEFINES["_GNU_SOURCE"] = True
92492
-
92493
-if CONFIG["OS_TARGET"] == "Darwin":
92494
-
92495
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
92496
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
92497
-
92498
-if CONFIG["OS_TARGET"] == "Linux":
92499
-
92500
-    DEFINES["USE_AURA"] = "1"
92501
-    DEFINES["USE_GLIB"] = "1"
92502
-    DEFINES["USE_NSS_CERTS"] = "1"
92503
-    DEFINES["USE_OZONE"] = "1"
92504
-    DEFINES["USE_UDEV"] = True
92505
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
92506
-    DEFINES["_LARGEFILE64_SOURCE"] = True
92507
-    DEFINES["_LARGEFILE_SOURCE"] = True
92508
-
92509
-if CONFIG["OS_TARGET"] == "OpenBSD":
92510
-
92511
-    DEFINES["USE_GLIB"] = "1"
92512
-    DEFINES["USE_OZONE"] = "1"
92513
-    DEFINES["USE_X11"] = "1"
92514
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
92515
-    DEFINES["_LARGEFILE64_SOURCE"] = True
92516
-    DEFINES["_LARGEFILE_SOURCE"] = True
92517
-
92518
-if CONFIG["OS_TARGET"] == "WINNT":
92519
-
92520
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
92521
-    DEFINES["NOMINMAX"] = True
92522
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
92523
-    DEFINES["PSAPI_VERSION"] = "2"
92524
-    DEFINES["UNICODE"] = True
92525
-    DEFINES["USE_AURA"] = "1"
92526
-    DEFINES["WIN32"] = True
92527
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
92528
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
92529
-    DEFINES["WINVER"] = "0x0A00"
92530
-    DEFINES["_ATL_NO_OPENGL"] = True
92531
-    DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = True
92532
-    DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
92533
-    DEFINES["_CRT_RAND_S"] = True
92534
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
92535
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
92536
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
92537
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
92538
-    DEFINES["_SECURE_ATL"] = True
92539
-    DEFINES["_UNICODE"] = True
92540
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
92541
-    DEFINES["_WINDOWS"] = True
92542
-    DEFINES["__STD_C"] = True
92543
-
92544
-if CONFIG["TARGET_CPU"] == "mips32":
92545
-
92546
-    DEFINES["_GNU_SOURCE"] = True
92547
-
92548
-if CONFIG["TARGET_CPU"] == "mips64":
92549
-
92550
-    DEFINES["_GNU_SOURCE"] = True
92551
-
92552
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
92553
-
92554
-    DEFINES["_DEBUG"] = True
92555
-
92556
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
92557
-
92558
-    DEFINES["_DEBUG"] = True
92559
-
92560
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
92561
-
92562
-    DEFINES["_DEBUG"] = True
92563
-
92564
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
92565
-
92566
     DEFINES["_DEBUG"] = True
92567
 
92568
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
92569
-
92570
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
92571
-
92572
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
92573
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
92574
 
92575
     DEFINES["USE_X11"] = "1"
92576
 
92577
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
92578
-
92579
-    OS_LIBS += [
92580
-        "unwind"
92581
-    ]
92582
-
92583
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
92584
-
92585
-    DEFINES["_GNU_SOURCE"] = True
92586
-
92587
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
92588
-
92589
-    DEFINES["_GNU_SOURCE"] = True
92590
-
92591
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
92592
-
92593
-    DEFINES["_GNU_SOURCE"] = True
92594
-
92595
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
92596
-
92597
-    DEFINES["_GNU_SOURCE"] = True
92598
-
92599
 Library("cleanup_internal_gn")
92600
diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/container/compressed_tuple_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/container/compressed_tuple_gn/moz.build
92601
index 758e27e19bdf..6a45401b4ad4 100644
92602
--- third_party/libwebrtc/third_party/abseil-cpp/absl/container/compressed_tuple_gn/moz.build
92603
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/container/compressed_tuple_gn/moz.build
92604
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
92605
 AllowCompilerWarnings()
92606
 
92607
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
92608
+DEFINES["USE_GLIB"] = "1"
92609
+DEFINES["USE_OZONE"] = "1"
92610
+DEFINES["_FILE_OFFSET_BITS"] = "64"
92611
+DEFINES["_LARGEFILE64_SOURCE"] = True
92612
+DEFINES["_LARGEFILE_SOURCE"] = True
92613
 
92614
 FINAL_LIBRARY = "xul"
92615
 
92616
@@ -32,117 +37,10 @@ if not CONFIG["MOZ_DEBUG"]:
92617
 if CONFIG["MOZ_DEBUG"] == "1":
92618
 
92619
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
92620
-
92621
-if CONFIG["OS_TARGET"] == "Android":
92622
-
92623
-    DEFINES["ANDROID"] = True
92624
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
92625
-    DEFINES["HAVE_SYS_UIO_H"] = True
92626
-    DEFINES["_GNU_SOURCE"] = True
92627
-
92628
-if CONFIG["OS_TARGET"] == "Darwin":
92629
-
92630
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
92631
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
92632
-
92633
-if CONFIG["OS_TARGET"] == "Linux":
92634
-
92635
-    DEFINES["USE_AURA"] = "1"
92636
-    DEFINES["USE_GLIB"] = "1"
92637
-    DEFINES["USE_NSS_CERTS"] = "1"
92638
-    DEFINES["USE_OZONE"] = "1"
92639
-    DEFINES["USE_UDEV"] = True
92640
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
92641
-    DEFINES["_LARGEFILE64_SOURCE"] = True
92642
-    DEFINES["_LARGEFILE_SOURCE"] = True
92643
-
92644
-if CONFIG["OS_TARGET"] == "OpenBSD":
92645
-
92646
-    DEFINES["USE_GLIB"] = "1"
92647
-    DEFINES["USE_OZONE"] = "1"
92648
-    DEFINES["USE_X11"] = "1"
92649
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
92650
-    DEFINES["_LARGEFILE64_SOURCE"] = True
92651
-    DEFINES["_LARGEFILE_SOURCE"] = True
92652
-
92653
-if CONFIG["OS_TARGET"] == "WINNT":
92654
-
92655
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
92656
-    DEFINES["NOMINMAX"] = True
92657
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
92658
-    DEFINES["PSAPI_VERSION"] = "2"
92659
-    DEFINES["UNICODE"] = True
92660
-    DEFINES["USE_AURA"] = "1"
92661
-    DEFINES["WIN32"] = True
92662
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
92663
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
92664
-    DEFINES["WINVER"] = "0x0A00"
92665
-    DEFINES["_ATL_NO_OPENGL"] = True
92666
-    DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = True
92667
-    DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
92668
-    DEFINES["_CRT_RAND_S"] = True
92669
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
92670
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
92671
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
92672
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
92673
-    DEFINES["_SECURE_ATL"] = True
92674
-    DEFINES["_UNICODE"] = True
92675
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
92676
-    DEFINES["_WINDOWS"] = True
92677
-    DEFINES["__STD_C"] = True
92678
-
92679
-if CONFIG["TARGET_CPU"] == "mips32":
92680
-
92681
-    DEFINES["_GNU_SOURCE"] = True
92682
-
92683
-if CONFIG["TARGET_CPU"] == "mips64":
92684
-
92685
-    DEFINES["_GNU_SOURCE"] = True
92686
-
92687
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
92688
-
92689
-    DEFINES["_DEBUG"] = True
92690
-
92691
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
92692
-
92693
-    DEFINES["_DEBUG"] = True
92694
-
92695
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
92696
-
92697
-    DEFINES["_DEBUG"] = True
92698
-
92699
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
92700
-
92701
     DEFINES["_DEBUG"] = True
92702
 
92703
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
92704
-
92705
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
92706
-
92707
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
92708
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
92709
 
92710
     DEFINES["USE_X11"] = "1"
92711
 
92712
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
92713
-
92714
-    OS_LIBS += [
92715
-        "unwind"
92716
-    ]
92717
-
92718
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
92719
-
92720
-    DEFINES["_GNU_SOURCE"] = True
92721
-
92722
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
92723
-
92724
-    DEFINES["_GNU_SOURCE"] = True
92725
-
92726
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
92727
-
92728
-    DEFINES["_GNU_SOURCE"] = True
92729
-
92730
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
92731
-
92732
-    DEFINES["_GNU_SOURCE"] = True
92733
-
92734
 Library("compressed_tuple_gn")
92735
diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_gn/moz.build
92736
index 0aeeb25380b2..1ec3c2b3ff22 100644
92737
--- third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_gn/moz.build
92738
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_gn/moz.build
92739
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
92740
 AllowCompilerWarnings()
92741
 
92742
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
92743
+DEFINES["USE_GLIB"] = "1"
92744
+DEFINES["USE_OZONE"] = "1"
92745
+DEFINES["_FILE_OFFSET_BITS"] = "64"
92746
+DEFINES["_LARGEFILE64_SOURCE"] = True
92747
+DEFINES["_LARGEFILE_SOURCE"] = True
92748
 
92749
 FINAL_LIBRARY = "xul"
92750
 
92751
@@ -32,117 +37,10 @@ if not CONFIG["MOZ_DEBUG"]:
92752
 if CONFIG["MOZ_DEBUG"] == "1":
92753
 
92754
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
92755
-
92756
-if CONFIG["OS_TARGET"] == "Android":
92757
-
92758
-    DEFINES["ANDROID"] = True
92759
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
92760
-    DEFINES["HAVE_SYS_UIO_H"] = True
92761
-    DEFINES["_GNU_SOURCE"] = True
92762
-
92763
-if CONFIG["OS_TARGET"] == "Darwin":
92764
-
92765
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
92766
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
92767
-
92768
-if CONFIG["OS_TARGET"] == "Linux":
92769
-
92770
-    DEFINES["USE_AURA"] = "1"
92771
-    DEFINES["USE_GLIB"] = "1"
92772
-    DEFINES["USE_NSS_CERTS"] = "1"
92773
-    DEFINES["USE_OZONE"] = "1"
92774
-    DEFINES["USE_UDEV"] = True
92775
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
92776
-    DEFINES["_LARGEFILE64_SOURCE"] = True
92777
-    DEFINES["_LARGEFILE_SOURCE"] = True
92778
-
92779
-if CONFIG["OS_TARGET"] == "OpenBSD":
92780
-
92781
-    DEFINES["USE_GLIB"] = "1"
92782
-    DEFINES["USE_OZONE"] = "1"
92783
-    DEFINES["USE_X11"] = "1"
92784
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
92785
-    DEFINES["_LARGEFILE64_SOURCE"] = True
92786
-    DEFINES["_LARGEFILE_SOURCE"] = True
92787
-
92788
-if CONFIG["OS_TARGET"] == "WINNT":
92789
-
92790
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
92791
-    DEFINES["NOMINMAX"] = True
92792
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
92793
-    DEFINES["PSAPI_VERSION"] = "2"
92794
-    DEFINES["UNICODE"] = True
92795
-    DEFINES["USE_AURA"] = "1"
92796
-    DEFINES["WIN32"] = True
92797
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
92798
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
92799
-    DEFINES["WINVER"] = "0x0A00"
92800
-    DEFINES["_ATL_NO_OPENGL"] = True
92801
-    DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = True
92802
-    DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
92803
-    DEFINES["_CRT_RAND_S"] = True
92804
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
92805
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
92806
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
92807
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
92808
-    DEFINES["_SECURE_ATL"] = True
92809
-    DEFINES["_UNICODE"] = True
92810
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
92811
-    DEFINES["_WINDOWS"] = True
92812
-    DEFINES["__STD_C"] = True
92813
-
92814
-if CONFIG["TARGET_CPU"] == "mips32":
92815
-
92816
-    DEFINES["_GNU_SOURCE"] = True
92817
-
92818
-if CONFIG["TARGET_CPU"] == "mips64":
92819
-
92820
-    DEFINES["_GNU_SOURCE"] = True
92821
-
92822
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
92823
-
92824
-    DEFINES["_DEBUG"] = True
92825
-
92826
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
92827
-
92828
-    DEFINES["_DEBUG"] = True
92829
-
92830
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
92831
-
92832
-    DEFINES["_DEBUG"] = True
92833
-
92834
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
92835
-
92836
     DEFINES["_DEBUG"] = True
92837
 
92838
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
92839
-
92840
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
92841
-
92842
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
92843
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
92844
 
92845
     DEFINES["USE_X11"] = "1"
92846
 
92847
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
92848
-
92849
-    OS_LIBS += [
92850
-        "unwind"
92851
-    ]
92852
-
92853
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
92854
-
92855
-    DEFINES["_GNU_SOURCE"] = True
92856
-
92857
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
92858
-
92859
-    DEFINES["_GNU_SOURCE"] = True
92860
-
92861
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
92862
-
92863
-    DEFINES["_GNU_SOURCE"] = True
92864
-
92865
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
92866
-
92867
-    DEFINES["_GNU_SOURCE"] = True
92868
-
92869
 Library("inlined_vector_gn")
92870
diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_internal_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_internal_gn/moz.build
92871
index 3b6744eda733..7bbe29993c1b 100644
92872
--- third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_internal_gn/moz.build
92873
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/container/inlined_vector_internal_gn/moz.build
92874
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
92875
 AllowCompilerWarnings()
92876
 
92877
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
92878
+DEFINES["USE_GLIB"] = "1"
92879
+DEFINES["USE_OZONE"] = "1"
92880
+DEFINES["_FILE_OFFSET_BITS"] = "64"
92881
+DEFINES["_LARGEFILE64_SOURCE"] = True
92882
+DEFINES["_LARGEFILE_SOURCE"] = True
92883
 
92884
 FINAL_LIBRARY = "xul"
92885
 
92886
@@ -32,117 +37,10 @@ if not CONFIG["MOZ_DEBUG"]:
92887
 if CONFIG["MOZ_DEBUG"] == "1":
92888
 
92889
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
92890
-
92891
-if CONFIG["OS_TARGET"] == "Android":
92892
-
92893
-    DEFINES["ANDROID"] = True
92894
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
92895
-    DEFINES["HAVE_SYS_UIO_H"] = True
92896
-    DEFINES["_GNU_SOURCE"] = True
92897
-
92898
-if CONFIG["OS_TARGET"] == "Darwin":
92899
-
92900
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
92901
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
92902
-
92903
-if CONFIG["OS_TARGET"] == "Linux":
92904
-
92905
-    DEFINES["USE_AURA"] = "1"
92906
-    DEFINES["USE_GLIB"] = "1"
92907
-    DEFINES["USE_NSS_CERTS"] = "1"
92908
-    DEFINES["USE_OZONE"] = "1"
92909
-    DEFINES["USE_UDEV"] = True
92910
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
92911
-    DEFINES["_LARGEFILE64_SOURCE"] = True
92912
-    DEFINES["_LARGEFILE_SOURCE"] = True
92913
-
92914
-if CONFIG["OS_TARGET"] == "OpenBSD":
92915
-
92916
-    DEFINES["USE_GLIB"] = "1"
92917
-    DEFINES["USE_OZONE"] = "1"
92918
-    DEFINES["USE_X11"] = "1"
92919
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
92920
-    DEFINES["_LARGEFILE64_SOURCE"] = True
92921
-    DEFINES["_LARGEFILE_SOURCE"] = True
92922
-
92923
-if CONFIG["OS_TARGET"] == "WINNT":
92924
-
92925
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
92926
-    DEFINES["NOMINMAX"] = True
92927
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
92928
-    DEFINES["PSAPI_VERSION"] = "2"
92929
-    DEFINES["UNICODE"] = True
92930
-    DEFINES["USE_AURA"] = "1"
92931
-    DEFINES["WIN32"] = True
92932
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
92933
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
92934
-    DEFINES["WINVER"] = "0x0A00"
92935
-    DEFINES["_ATL_NO_OPENGL"] = True
92936
-    DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = True
92937
-    DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
92938
-    DEFINES["_CRT_RAND_S"] = True
92939
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
92940
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
92941
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
92942
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
92943
-    DEFINES["_SECURE_ATL"] = True
92944
-    DEFINES["_UNICODE"] = True
92945
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
92946
-    DEFINES["_WINDOWS"] = True
92947
-    DEFINES["__STD_C"] = True
92948
-
92949
-if CONFIG["TARGET_CPU"] == "mips32":
92950
-
92951
-    DEFINES["_GNU_SOURCE"] = True
92952
-
92953
-if CONFIG["TARGET_CPU"] == "mips64":
92954
-
92955
-    DEFINES["_GNU_SOURCE"] = True
92956
-
92957
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
92958
-
92959
-    DEFINES["_DEBUG"] = True
92960
-
92961
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
92962
-
92963
-    DEFINES["_DEBUG"] = True
92964
-
92965
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
92966
-
92967
-    DEFINES["_DEBUG"] = True
92968
-
92969
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
92970
-
92971
     DEFINES["_DEBUG"] = True
92972
 
92973
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
92974
-
92975
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
92976
-
92977
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
92978
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
92979
 
92980
     DEFINES["USE_X11"] = "1"
92981
 
92982
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
92983
-
92984
-    OS_LIBS += [
92985
-        "unwind"
92986
-    ]
92987
-
92988
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
92989
-
92990
-    DEFINES["_GNU_SOURCE"] = True
92991
-
92992
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
92993
-
92994
-    DEFINES["_GNU_SOURCE"] = True
92995
-
92996
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
92997
-
92998
-    DEFINES["_GNU_SOURCE"] = True
92999
-
93000
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
93001
-
93002
-    DEFINES["_GNU_SOURCE"] = True
93003
-
93004
 Library("inlined_vector_internal_gn")
93005
diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/functional/any_invocable_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/functional/any_invocable_gn/moz.build
93006
index 63e6206cdfb4..31b936c12c59 100644
93007
--- third_party/libwebrtc/third_party/abseil-cpp/absl/functional/any_invocable_gn/moz.build
93008
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/functional/any_invocable_gn/moz.build
93009
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
93010
 AllowCompilerWarnings()
93011
 
93012
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
93013
+DEFINES["USE_GLIB"] = "1"
93014
+DEFINES["USE_OZONE"] = "1"
93015
+DEFINES["_FILE_OFFSET_BITS"] = "64"
93016
+DEFINES["_LARGEFILE64_SOURCE"] = True
93017
+DEFINES["_LARGEFILE_SOURCE"] = True
93018
 
93019
 FINAL_LIBRARY = "xul"
93020
 
93021
@@ -32,117 +37,10 @@ if not CONFIG["MOZ_DEBUG"]:
93022
 if CONFIG["MOZ_DEBUG"] == "1":
93023
 
93024
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
93025
-
93026
-if CONFIG["OS_TARGET"] == "Android":
93027
-
93028
-    DEFINES["ANDROID"] = True
93029
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
93030
-    DEFINES["HAVE_SYS_UIO_H"] = True
93031
-    DEFINES["_GNU_SOURCE"] = True
93032
-
93033
-if CONFIG["OS_TARGET"] == "Darwin":
93034
-
93035
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
93036
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
93037
-
93038
-if CONFIG["OS_TARGET"] == "Linux":
93039
-
93040
-    DEFINES["USE_AURA"] = "1"
93041
-    DEFINES["USE_GLIB"] = "1"
93042
-    DEFINES["USE_NSS_CERTS"] = "1"
93043
-    DEFINES["USE_OZONE"] = "1"
93044
-    DEFINES["USE_UDEV"] = True
93045
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
93046
-    DEFINES["_LARGEFILE64_SOURCE"] = True
93047
-    DEFINES["_LARGEFILE_SOURCE"] = True
93048
-
93049
-if CONFIG["OS_TARGET"] == "OpenBSD":
93050
-
93051
-    DEFINES["USE_GLIB"] = "1"
93052
-    DEFINES["USE_OZONE"] = "1"
93053
-    DEFINES["USE_X11"] = "1"
93054
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
93055
-    DEFINES["_LARGEFILE64_SOURCE"] = True
93056
-    DEFINES["_LARGEFILE_SOURCE"] = True
93057
-
93058
-if CONFIG["OS_TARGET"] == "WINNT":
93059
-
93060
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
93061
-    DEFINES["NOMINMAX"] = True
93062
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
93063
-    DEFINES["PSAPI_VERSION"] = "2"
93064
-    DEFINES["UNICODE"] = True
93065
-    DEFINES["USE_AURA"] = "1"
93066
-    DEFINES["WIN32"] = True
93067
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
93068
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
93069
-    DEFINES["WINVER"] = "0x0A00"
93070
-    DEFINES["_ATL_NO_OPENGL"] = True
93071
-    DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = True
93072
-    DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
93073
-    DEFINES["_CRT_RAND_S"] = True
93074
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
93075
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
93076
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
93077
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
93078
-    DEFINES["_SECURE_ATL"] = True
93079
-    DEFINES["_UNICODE"] = True
93080
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
93081
-    DEFINES["_WINDOWS"] = True
93082
-    DEFINES["__STD_C"] = True
93083
-
93084
-if CONFIG["TARGET_CPU"] == "mips32":
93085
-
93086
-    DEFINES["_GNU_SOURCE"] = True
93087
-
93088
-if CONFIG["TARGET_CPU"] == "mips64":
93089
-
93090
-    DEFINES["_GNU_SOURCE"] = True
93091
-
93092
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
93093
-
93094
-    DEFINES["_DEBUG"] = True
93095
-
93096
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
93097
-
93098
-    DEFINES["_DEBUG"] = True
93099
-
93100
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
93101
-
93102
-    DEFINES["_DEBUG"] = True
93103
-
93104
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
93105
-
93106
     DEFINES["_DEBUG"] = True
93107
 
93108
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
93109
-
93110
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
93111
-
93112
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
93113
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
93114
 
93115
     DEFINES["USE_X11"] = "1"
93116
 
93117
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
93118
-
93119
-    OS_LIBS += [
93120
-        "unwind"
93121
-    ]
93122
-
93123
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
93124
-
93125
-    DEFINES["_GNU_SOURCE"] = True
93126
-
93127
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
93128
-
93129
-    DEFINES["_GNU_SOURCE"] = True
93130
-
93131
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
93132
-
93133
-    DEFINES["_GNU_SOURCE"] = True
93134
-
93135
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
93136
-
93137
-    DEFINES["_GNU_SOURCE"] = True
93138
-
93139
 Library("any_invocable_gn")
93140
diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/functional/bind_front_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/functional/bind_front_gn/moz.build
93141
index c26f1ed6a481..fb0da281c4cc 100644
93142
--- third_party/libwebrtc/third_party/abseil-cpp/absl/functional/bind_front_gn/moz.build
93143
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/functional/bind_front_gn/moz.build
93144
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
93145
 AllowCompilerWarnings()
93146
 
93147
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
93148
+DEFINES["USE_GLIB"] = "1"
93149
+DEFINES["USE_OZONE"] = "1"
93150
+DEFINES["_FILE_OFFSET_BITS"] = "64"
93151
+DEFINES["_LARGEFILE64_SOURCE"] = True
93152
+DEFINES["_LARGEFILE_SOURCE"] = True
93153
 
93154
 FINAL_LIBRARY = "xul"
93155
 
93156
@@ -32,117 +37,10 @@ if not CONFIG["MOZ_DEBUG"]:
93157
 if CONFIG["MOZ_DEBUG"] == "1":
93158
 
93159
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
93160
-
93161
-if CONFIG["OS_TARGET"] == "Android":
93162
-
93163
-    DEFINES["ANDROID"] = True
93164
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
93165
-    DEFINES["HAVE_SYS_UIO_H"] = True
93166
-    DEFINES["_GNU_SOURCE"] = True
93167
-
93168
-if CONFIG["OS_TARGET"] == "Darwin":
93169
-
93170
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
93171
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
93172
-
93173
-if CONFIG["OS_TARGET"] == "Linux":
93174
-
93175
-    DEFINES["USE_AURA"] = "1"
93176
-    DEFINES["USE_GLIB"] = "1"
93177
-    DEFINES["USE_NSS_CERTS"] = "1"
93178
-    DEFINES["USE_OZONE"] = "1"
93179
-    DEFINES["USE_UDEV"] = True
93180
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
93181
-    DEFINES["_LARGEFILE64_SOURCE"] = True
93182
-    DEFINES["_LARGEFILE_SOURCE"] = True
93183
-
93184
-if CONFIG["OS_TARGET"] == "OpenBSD":
93185
-
93186
-    DEFINES["USE_GLIB"] = "1"
93187
-    DEFINES["USE_OZONE"] = "1"
93188
-    DEFINES["USE_X11"] = "1"
93189
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
93190
-    DEFINES["_LARGEFILE64_SOURCE"] = True
93191
-    DEFINES["_LARGEFILE_SOURCE"] = True
93192
-
93193
-if CONFIG["OS_TARGET"] == "WINNT":
93194
-
93195
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
93196
-    DEFINES["NOMINMAX"] = True
93197
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
93198
-    DEFINES["PSAPI_VERSION"] = "2"
93199
-    DEFINES["UNICODE"] = True
93200
-    DEFINES["USE_AURA"] = "1"
93201
-    DEFINES["WIN32"] = True
93202
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
93203
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
93204
-    DEFINES["WINVER"] = "0x0A00"
93205
-    DEFINES["_ATL_NO_OPENGL"] = True
93206
-    DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = True
93207
-    DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
93208
-    DEFINES["_CRT_RAND_S"] = True
93209
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
93210
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
93211
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
93212
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
93213
-    DEFINES["_SECURE_ATL"] = True
93214
-    DEFINES["_UNICODE"] = True
93215
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
93216
-    DEFINES["_WINDOWS"] = True
93217
-    DEFINES["__STD_C"] = True
93218
-
93219
-if CONFIG["TARGET_CPU"] == "mips32":
93220
-
93221
-    DEFINES["_GNU_SOURCE"] = True
93222
-
93223
-if CONFIG["TARGET_CPU"] == "mips64":
93224
-
93225
-    DEFINES["_GNU_SOURCE"] = True
93226
-
93227
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
93228
-
93229
-    DEFINES["_DEBUG"] = True
93230
-
93231
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
93232
-
93233
-    DEFINES["_DEBUG"] = True
93234
-
93235
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
93236
-
93237
-    DEFINES["_DEBUG"] = True
93238
-
93239
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
93240
-
93241
     DEFINES["_DEBUG"] = True
93242
 
93243
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
93244
-
93245
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
93246
-
93247
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
93248
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
93249
 
93250
     DEFINES["USE_X11"] = "1"
93251
 
93252
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
93253
-
93254
-    OS_LIBS += [
93255
-        "unwind"
93256
-    ]
93257
-
93258
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
93259
-
93260
-    DEFINES["_GNU_SOURCE"] = True
93261
-
93262
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
93263
-
93264
-    DEFINES["_GNU_SOURCE"] = True
93265
-
93266
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
93267
-
93268
-    DEFINES["_GNU_SOURCE"] = True
93269
-
93270
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
93271
-
93272
-    DEFINES["_GNU_SOURCE"] = True
93273
-
93274
 Library("bind_front_gn")
93275
diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/memory/memory_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/memory/memory_gn/moz.build
93276
index 398b663a3d1e..72b51836d300 100644
93277
--- third_party/libwebrtc/third_party/abseil-cpp/absl/memory/memory_gn/moz.build
93278
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/memory/memory_gn/moz.build
93279
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
93280
 AllowCompilerWarnings()
93281
 
93282
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
93283
+DEFINES["USE_GLIB"] = "1"
93284
+DEFINES["USE_OZONE"] = "1"
93285
+DEFINES["_FILE_OFFSET_BITS"] = "64"
93286
+DEFINES["_LARGEFILE64_SOURCE"] = True
93287
+DEFINES["_LARGEFILE_SOURCE"] = True
93288
 
93289
 FINAL_LIBRARY = "xul"
93290
 
93291
@@ -32,117 +37,10 @@ if not CONFIG["MOZ_DEBUG"]:
93292
 if CONFIG["MOZ_DEBUG"] == "1":
93293
 
93294
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
93295
-
93296
-if CONFIG["OS_TARGET"] == "Android":
93297
-
93298
-    DEFINES["ANDROID"] = True
93299
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
93300
-    DEFINES["HAVE_SYS_UIO_H"] = True
93301
-    DEFINES["_GNU_SOURCE"] = True
93302
-
93303
-if CONFIG["OS_TARGET"] == "Darwin":
93304
-
93305
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
93306
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
93307
-
93308
-if CONFIG["OS_TARGET"] == "Linux":
93309
-
93310
-    DEFINES["USE_AURA"] = "1"
93311
-    DEFINES["USE_GLIB"] = "1"
93312
-    DEFINES["USE_NSS_CERTS"] = "1"
93313
-    DEFINES["USE_OZONE"] = "1"
93314
-    DEFINES["USE_UDEV"] = True
93315
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
93316
-    DEFINES["_LARGEFILE64_SOURCE"] = True
93317
-    DEFINES["_LARGEFILE_SOURCE"] = True
93318
-
93319
-if CONFIG["OS_TARGET"] == "OpenBSD":
93320
-
93321
-    DEFINES["USE_GLIB"] = "1"
93322
-    DEFINES["USE_OZONE"] = "1"
93323
-    DEFINES["USE_X11"] = "1"
93324
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
93325
-    DEFINES["_LARGEFILE64_SOURCE"] = True
93326
-    DEFINES["_LARGEFILE_SOURCE"] = True
93327
-
93328
-if CONFIG["OS_TARGET"] == "WINNT":
93329
-
93330
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
93331
-    DEFINES["NOMINMAX"] = True
93332
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
93333
-    DEFINES["PSAPI_VERSION"] = "2"
93334
-    DEFINES["UNICODE"] = True
93335
-    DEFINES["USE_AURA"] = "1"
93336
-    DEFINES["WIN32"] = True
93337
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
93338
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
93339
-    DEFINES["WINVER"] = "0x0A00"
93340
-    DEFINES["_ATL_NO_OPENGL"] = True
93341
-    DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = True
93342
-    DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
93343
-    DEFINES["_CRT_RAND_S"] = True
93344
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
93345
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
93346
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
93347
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
93348
-    DEFINES["_SECURE_ATL"] = True
93349
-    DEFINES["_UNICODE"] = True
93350
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
93351
-    DEFINES["_WINDOWS"] = True
93352
-    DEFINES["__STD_C"] = True
93353
-
93354
-if CONFIG["TARGET_CPU"] == "mips32":
93355
-
93356
-    DEFINES["_GNU_SOURCE"] = True
93357
-
93358
-if CONFIG["TARGET_CPU"] == "mips64":
93359
-
93360
-    DEFINES["_GNU_SOURCE"] = True
93361
-
93362
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
93363
-
93364
-    DEFINES["_DEBUG"] = True
93365
-
93366
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
93367
-
93368
-    DEFINES["_DEBUG"] = True
93369
-
93370
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
93371
-
93372
-    DEFINES["_DEBUG"] = True
93373
-
93374
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
93375
-
93376
     DEFINES["_DEBUG"] = True
93377
 
93378
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
93379
-
93380
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
93381
-
93382
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
93383
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
93384
 
93385
     DEFINES["USE_X11"] = "1"
93386
 
93387
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
93388
-
93389
-    OS_LIBS += [
93390
-        "unwind"
93391
-    ]
93392
-
93393
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
93394
-
93395
-    DEFINES["_GNU_SOURCE"] = True
93396
-
93397
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
93398
-
93399
-    DEFINES["_GNU_SOURCE"] = True
93400
-
93401
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
93402
-
93403
-    DEFINES["_GNU_SOURCE"] = True
93404
-
93405
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
93406
-
93407
-    DEFINES["_GNU_SOURCE"] = True
93408
-
93409
 Library("memory_gn")
93410
diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/meta/type_traits_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/meta/type_traits_gn/moz.build
93411
index 6d2e55152f52..914e219e6503 100644
93412
--- third_party/libwebrtc/third_party/abseil-cpp/absl/meta/type_traits_gn/moz.build
93413
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/meta/type_traits_gn/moz.build
93414
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
93415
 AllowCompilerWarnings()
93416
 
93417
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
93418
+DEFINES["USE_GLIB"] = "1"
93419
+DEFINES["USE_OZONE"] = "1"
93420
+DEFINES["_FILE_OFFSET_BITS"] = "64"
93421
+DEFINES["_LARGEFILE64_SOURCE"] = True
93422
+DEFINES["_LARGEFILE_SOURCE"] = True
93423
 
93424
 FINAL_LIBRARY = "xul"
93425
 
93426
@@ -32,117 +37,10 @@ if not CONFIG["MOZ_DEBUG"]:
93427
 if CONFIG["MOZ_DEBUG"] == "1":
93428
 
93429
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
93430
-
93431
-if CONFIG["OS_TARGET"] == "Android":
93432
-
93433
-    DEFINES["ANDROID"] = True
93434
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
93435
-    DEFINES["HAVE_SYS_UIO_H"] = True
93436
-    DEFINES["_GNU_SOURCE"] = True
93437
-
93438
-if CONFIG["OS_TARGET"] == "Darwin":
93439
-
93440
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
93441
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
93442
-
93443
-if CONFIG["OS_TARGET"] == "Linux":
93444
-
93445
-    DEFINES["USE_AURA"] = "1"
93446
-    DEFINES["USE_GLIB"] = "1"
93447
-    DEFINES["USE_NSS_CERTS"] = "1"
93448
-    DEFINES["USE_OZONE"] = "1"
93449
-    DEFINES["USE_UDEV"] = True
93450
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
93451
-    DEFINES["_LARGEFILE64_SOURCE"] = True
93452
-    DEFINES["_LARGEFILE_SOURCE"] = True
93453
-
93454
-if CONFIG["OS_TARGET"] == "OpenBSD":
93455
-
93456
-    DEFINES["USE_GLIB"] = "1"
93457
-    DEFINES["USE_OZONE"] = "1"
93458
-    DEFINES["USE_X11"] = "1"
93459
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
93460
-    DEFINES["_LARGEFILE64_SOURCE"] = True
93461
-    DEFINES["_LARGEFILE_SOURCE"] = True
93462
-
93463
-if CONFIG["OS_TARGET"] == "WINNT":
93464
-
93465
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
93466
-    DEFINES["NOMINMAX"] = True
93467
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
93468
-    DEFINES["PSAPI_VERSION"] = "2"
93469
-    DEFINES["UNICODE"] = True
93470
-    DEFINES["USE_AURA"] = "1"
93471
-    DEFINES["WIN32"] = True
93472
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
93473
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
93474
-    DEFINES["WINVER"] = "0x0A00"
93475
-    DEFINES["_ATL_NO_OPENGL"] = True
93476
-    DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = True
93477
-    DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
93478
-    DEFINES["_CRT_RAND_S"] = True
93479
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
93480
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
93481
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
93482
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
93483
-    DEFINES["_SECURE_ATL"] = True
93484
-    DEFINES["_UNICODE"] = True
93485
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
93486
-    DEFINES["_WINDOWS"] = True
93487
-    DEFINES["__STD_C"] = True
93488
-
93489
-if CONFIG["TARGET_CPU"] == "mips32":
93490
-
93491
-    DEFINES["_GNU_SOURCE"] = True
93492
-
93493
-if CONFIG["TARGET_CPU"] == "mips64":
93494
-
93495
-    DEFINES["_GNU_SOURCE"] = True
93496
-
93497
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
93498
-
93499
-    DEFINES["_DEBUG"] = True
93500
-
93501
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
93502
-
93503
-    DEFINES["_DEBUG"] = True
93504
-
93505
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
93506
-
93507
-    DEFINES["_DEBUG"] = True
93508
-
93509
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
93510
-
93511
     DEFINES["_DEBUG"] = True
93512
 
93513
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
93514
-
93515
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
93516
-
93517
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
93518
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
93519
 
93520
     DEFINES["USE_X11"] = "1"
93521
 
93522
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
93523
-
93524
-    OS_LIBS += [
93525
-        "unwind"
93526
-    ]
93527
-
93528
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
93529
-
93530
-    DEFINES["_GNU_SOURCE"] = True
93531
-
93532
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
93533
-
93534
-    DEFINES["_GNU_SOURCE"] = True
93535
-
93536
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
93537
-
93538
-    DEFINES["_GNU_SOURCE"] = True
93539
-
93540
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
93541
-
93542
-    DEFINES["_GNU_SOURCE"] = True
93543
-
93544
 Library("type_traits_gn")
93545
diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/numeric/bits_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/numeric/bits_gn/moz.build
93546
index 765dc92eb6d3..fa04a621dfa2 100644
93547
--- third_party/libwebrtc/third_party/abseil-cpp/absl/numeric/bits_gn/moz.build
93548
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/numeric/bits_gn/moz.build
93549
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
93550
 AllowCompilerWarnings()
93551
 
93552
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
93553
+DEFINES["USE_GLIB"] = "1"
93554
+DEFINES["USE_OZONE"] = "1"
93555
+DEFINES["_FILE_OFFSET_BITS"] = "64"
93556
+DEFINES["_LARGEFILE64_SOURCE"] = True
93557
+DEFINES["_LARGEFILE_SOURCE"] = True
93558
 
93559
 FINAL_LIBRARY = "xul"
93560
 
93561
@@ -32,117 +37,10 @@ if not CONFIG["MOZ_DEBUG"]:
93562
 if CONFIG["MOZ_DEBUG"] == "1":
93563
 
93564
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
93565
-
93566
-if CONFIG["OS_TARGET"] == "Android":
93567
-
93568
-    DEFINES["ANDROID"] = True
93569
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
93570
-    DEFINES["HAVE_SYS_UIO_H"] = True
93571
-    DEFINES["_GNU_SOURCE"] = True
93572
-
93573
-if CONFIG["OS_TARGET"] == "Darwin":
93574
-
93575
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
93576
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
93577
-
93578
-if CONFIG["OS_TARGET"] == "Linux":
93579
-
93580
-    DEFINES["USE_AURA"] = "1"
93581
-    DEFINES["USE_GLIB"] = "1"
93582
-    DEFINES["USE_NSS_CERTS"] = "1"
93583
-    DEFINES["USE_OZONE"] = "1"
93584
-    DEFINES["USE_UDEV"] = True
93585
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
93586
-    DEFINES["_LARGEFILE64_SOURCE"] = True
93587
-    DEFINES["_LARGEFILE_SOURCE"] = True
93588
-
93589
-if CONFIG["OS_TARGET"] == "OpenBSD":
93590
-
93591
-    DEFINES["USE_GLIB"] = "1"
93592
-    DEFINES["USE_OZONE"] = "1"
93593
-    DEFINES["USE_X11"] = "1"
93594
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
93595
-    DEFINES["_LARGEFILE64_SOURCE"] = True
93596
-    DEFINES["_LARGEFILE_SOURCE"] = True
93597
-
93598
-if CONFIG["OS_TARGET"] == "WINNT":
93599
-
93600
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
93601
-    DEFINES["NOMINMAX"] = True
93602
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
93603
-    DEFINES["PSAPI_VERSION"] = "2"
93604
-    DEFINES["UNICODE"] = True
93605
-    DEFINES["USE_AURA"] = "1"
93606
-    DEFINES["WIN32"] = True
93607
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
93608
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
93609
-    DEFINES["WINVER"] = "0x0A00"
93610
-    DEFINES["_ATL_NO_OPENGL"] = True
93611
-    DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = True
93612
-    DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
93613
-    DEFINES["_CRT_RAND_S"] = True
93614
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
93615
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
93616
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
93617
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
93618
-    DEFINES["_SECURE_ATL"] = True
93619
-    DEFINES["_UNICODE"] = True
93620
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
93621
-    DEFINES["_WINDOWS"] = True
93622
-    DEFINES["__STD_C"] = True
93623
-
93624
-if CONFIG["TARGET_CPU"] == "mips32":
93625
-
93626
-    DEFINES["_GNU_SOURCE"] = True
93627
-
93628
-if CONFIG["TARGET_CPU"] == "mips64":
93629
-
93630
-    DEFINES["_GNU_SOURCE"] = True
93631
-
93632
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
93633
-
93634
-    DEFINES["_DEBUG"] = True
93635
-
93636
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
93637
-
93638
-    DEFINES["_DEBUG"] = True
93639
-
93640
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
93641
-
93642
-    DEFINES["_DEBUG"] = True
93643
-
93644
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
93645
-
93646
     DEFINES["_DEBUG"] = True
93647
 
93648
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
93649
-
93650
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
93651
-
93652
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
93653
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
93654
 
93655
     DEFINES["USE_X11"] = "1"
93656
 
93657
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
93658
-
93659
-    OS_LIBS += [
93660
-        "unwind"
93661
-    ]
93662
-
93663
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
93664
-
93665
-    DEFINES["_GNU_SOURCE"] = True
93666
-
93667
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
93668
-
93669
-    DEFINES["_GNU_SOURCE"] = True
93670
-
93671
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
93672
-
93673
-    DEFINES["_GNU_SOURCE"] = True
93674
-
93675
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
93676
-
93677
-    DEFINES["_GNU_SOURCE"] = True
93678
-
93679
 Library("bits_gn")
93680
diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/numeric/int128_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/numeric/int128_gn/moz.build
93681
index 0d1a183abaf9..294e64ffcb5e 100644
93682
--- third_party/libwebrtc/third_party/abseil-cpp/absl/numeric/int128_gn/moz.build
93683
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/numeric/int128_gn/moz.build
93684
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
93685
 AllowCompilerWarnings()
93686
 
93687
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
93688
+DEFINES["USE_GLIB"] = "1"
93689
+DEFINES["USE_OZONE"] = "1"
93690
+DEFINES["_FILE_OFFSET_BITS"] = "64"
93691
+DEFINES["_LARGEFILE64_SOURCE"] = True
93692
+DEFINES["_LARGEFILE_SOURCE"] = True
93693
 
93694
 FINAL_LIBRARY = "xul"
93695
 
93696
@@ -36,133 +41,16 @@ if not CONFIG["MOZ_DEBUG"]:
93697
 if CONFIG["MOZ_DEBUG"] == "1":
93698
 
93699
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
93700
-
93701
-if CONFIG["OS_TARGET"] == "Android":
93702
-
93703
-    DEFINES["ANDROID"] = True
93704
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
93705
-    DEFINES["HAVE_SYS_UIO_H"] = True
93706
-    DEFINES["_GNU_SOURCE"] = True
93707
-
93708
-if CONFIG["OS_TARGET"] == "Darwin":
93709
-
93710
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
93711
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
93712
-
93713
-if CONFIG["OS_TARGET"] == "Linux":
93714
-
93715
-    DEFINES["USE_AURA"] = "1"
93716
-    DEFINES["USE_GLIB"] = "1"
93717
-    DEFINES["USE_NSS_CERTS"] = "1"
93718
-    DEFINES["USE_OZONE"] = "1"
93719
-    DEFINES["USE_UDEV"] = True
93720
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
93721
-    DEFINES["_LARGEFILE64_SOURCE"] = True
93722
-    DEFINES["_LARGEFILE_SOURCE"] = True
93723
-
93724
-if CONFIG["OS_TARGET"] == "OpenBSD":
93725
-
93726
-    DEFINES["USE_GLIB"] = "1"
93727
-    DEFINES["USE_OZONE"] = "1"
93728
-    DEFINES["USE_X11"] = "1"
93729
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
93730
-    DEFINES["_LARGEFILE64_SOURCE"] = True
93731
-    DEFINES["_LARGEFILE_SOURCE"] = True
93732
-
93733
-if CONFIG["OS_TARGET"] == "WINNT":
93734
-
93735
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
93736
-    DEFINES["NOMINMAX"] = True
93737
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
93738
-    DEFINES["PSAPI_VERSION"] = "2"
93739
-    DEFINES["UNICODE"] = True
93740
-    DEFINES["USE_AURA"] = "1"
93741
-    DEFINES["WIN32"] = True
93742
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
93743
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
93744
-    DEFINES["WINVER"] = "0x0A00"
93745
-    DEFINES["_ATL_NO_OPENGL"] = True
93746
-    DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = True
93747
-    DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
93748
-    DEFINES["_CRT_RAND_S"] = True
93749
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
93750
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
93751
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
93752
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
93753
-    DEFINES["_SECURE_ATL"] = True
93754
-    DEFINES["_UNICODE"] = True
93755
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
93756
-    DEFINES["_WINDOWS"] = True
93757
-    DEFINES["__STD_C"] = True
93758
-
93759
-if CONFIG["TARGET_CPU"] == "arm":
93760
-
93761
-    CXXFLAGS += [
93762
-        "-mfpu=neon"
93763
-    ]
93764
-
93765
-if CONFIG["TARGET_CPU"] == "mips32":
93766
-
93767
-    DEFINES["_GNU_SOURCE"] = True
93768
-
93769
-if CONFIG["TARGET_CPU"] == "mips64":
93770
-
93771
-    DEFINES["_GNU_SOURCE"] = True
93772
-
93773
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
93774
-
93775
-    DEFINES["_DEBUG"] = True
93776
-
93777
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
93778
-
93779
-    DEFINES["_DEBUG"] = True
93780
-
93781
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
93782
-
93783
-    DEFINES["_DEBUG"] = True
93784
-
93785
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
93786
-
93787
     DEFINES["_DEBUG"] = True
93788
 
93789
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
93790
-
93791
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
93792
-
93793
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
93794
-
93795
-    DEFINES["USE_X11"] = "1"
93796
-
93797
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
93798
-
93799
-    OS_LIBS += [
93800
-        "unwind"
93801
-    ]
93802
-
93803
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
93804
+if CONFIG["TARGET_CPU"] == "x86":
93805
 
93806
     CXXFLAGS += [
93807
         "-msse2"
93808
     ]
93809
 
93810
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
93811
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
93812
 
93813
-    DEFINES["_GNU_SOURCE"] = True
93814
-
93815
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
93816
-
93817
-    DEFINES["_GNU_SOURCE"] = True
93818
-
93819
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
93820
-
93821
-    CXXFLAGS += [
93822
-        "-msse2"
93823
-    ]
93824
-
93825
-    DEFINES["_GNU_SOURCE"] = True
93826
-
93827
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
93828
-
93829
-    DEFINES["_GNU_SOURCE"] = True
93830
+    DEFINES["USE_X11"] = "1"
93831
 
93832
 Library("int128_gn")
93833
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
93834
index 4002fa626303..2908acf7ba9f 100644
93835
--- third_party/libwebrtc/third_party/abseil-cpp/absl/strings/string_view_gn/moz.build
93836
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/strings/string_view_gn/moz.build
93837
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
93838
 AllowCompilerWarnings()
93839
 
93840
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
93841
+DEFINES["USE_GLIB"] = "1"
93842
+DEFINES["USE_OZONE"] = "1"
93843
+DEFINES["_FILE_OFFSET_BITS"] = "64"
93844
+DEFINES["_LARGEFILE64_SOURCE"] = True
93845
+DEFINES["_LARGEFILE_SOURCE"] = True
93846
 
93847
 FINAL_LIBRARY = "xul"
93848
 
93849
@@ -36,133 +41,16 @@ if not CONFIG["MOZ_DEBUG"]:
93850
 if CONFIG["MOZ_DEBUG"] == "1":
93851
 
93852
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
93853
-
93854
-if CONFIG["OS_TARGET"] == "Android":
93855
-
93856
-    DEFINES["ANDROID"] = True
93857
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
93858
-    DEFINES["HAVE_SYS_UIO_H"] = True
93859
-    DEFINES["_GNU_SOURCE"] = True
93860
-
93861
-if CONFIG["OS_TARGET"] == "Darwin":
93862
-
93863
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
93864
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
93865
-
93866
-if CONFIG["OS_TARGET"] == "Linux":
93867
-
93868
-    DEFINES["USE_AURA"] = "1"
93869
-    DEFINES["USE_GLIB"] = "1"
93870
-    DEFINES["USE_NSS_CERTS"] = "1"
93871
-    DEFINES["USE_OZONE"] = "1"
93872
-    DEFINES["USE_UDEV"] = True
93873
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
93874
-    DEFINES["_LARGEFILE64_SOURCE"] = True
93875
-    DEFINES["_LARGEFILE_SOURCE"] = True
93876
-
93877
-if CONFIG["OS_TARGET"] == "OpenBSD":
93878
-
93879
-    DEFINES["USE_GLIB"] = "1"
93880
-    DEFINES["USE_OZONE"] = "1"
93881
-    DEFINES["USE_X11"] = "1"
93882
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
93883
-    DEFINES["_LARGEFILE64_SOURCE"] = True
93884
-    DEFINES["_LARGEFILE_SOURCE"] = True
93885
-
93886
-if CONFIG["OS_TARGET"] == "WINNT":
93887
-
93888
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
93889
-    DEFINES["NOMINMAX"] = True
93890
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
93891
-    DEFINES["PSAPI_VERSION"] = "2"
93892
-    DEFINES["UNICODE"] = True
93893
-    DEFINES["USE_AURA"] = "1"
93894
-    DEFINES["WIN32"] = True
93895
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
93896
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
93897
-    DEFINES["WINVER"] = "0x0A00"
93898
-    DEFINES["_ATL_NO_OPENGL"] = True
93899
-    DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = True
93900
-    DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
93901
-    DEFINES["_CRT_RAND_S"] = True
93902
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
93903
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
93904
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
93905
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
93906
-    DEFINES["_SECURE_ATL"] = True
93907
-    DEFINES["_UNICODE"] = True
93908
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
93909
-    DEFINES["_WINDOWS"] = True
93910
-    DEFINES["__STD_C"] = True
93911
-
93912
-if CONFIG["TARGET_CPU"] == "arm":
93913
-
93914
-    CXXFLAGS += [
93915
-        "-mfpu=neon"
93916
-    ]
93917
-
93918
-if CONFIG["TARGET_CPU"] == "mips32":
93919
-
93920
-    DEFINES["_GNU_SOURCE"] = True
93921
-
93922
-if CONFIG["TARGET_CPU"] == "mips64":
93923
-
93924
-    DEFINES["_GNU_SOURCE"] = True
93925
-
93926
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
93927
-
93928
-    DEFINES["_DEBUG"] = True
93929
-
93930
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
93931
-
93932
-    DEFINES["_DEBUG"] = True
93933
-
93934
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
93935
-
93936
-    DEFINES["_DEBUG"] = True
93937
-
93938
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
93939
-
93940
     DEFINES["_DEBUG"] = True
93941
 
93942
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
93943
-
93944
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
93945
-
93946
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
93947
-
93948
-    DEFINES["USE_X11"] = "1"
93949
-
93950
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
93951
-
93952
-    OS_LIBS += [
93953
-        "unwind"
93954
-    ]
93955
-
93956
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
93957
+if CONFIG["TARGET_CPU"] == "x86":
93958
 
93959
     CXXFLAGS += [
93960
         "-msse2"
93961
     ]
93962
 
93963
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
93964
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
93965
 
93966
-    DEFINES["_GNU_SOURCE"] = True
93967
-
93968
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
93969
-
93970
-    DEFINES["_GNU_SOURCE"] = True
93971
-
93972
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
93973
-
93974
-    CXXFLAGS += [
93975
-        "-msse2"
93976
-    ]
93977
-
93978
-    DEFINES["_GNU_SOURCE"] = True
93979
-
93980
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
93981
-
93982
-    DEFINES["_GNU_SOURCE"] = True
93983
+    DEFINES["USE_X11"] = "1"
93984
 
93985
 Library("string_view_gn")
93986
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
93987
index 8105bb2f27d1..4cd3456a3ff3 100644
93988
--- third_party/libwebrtc/third_party/abseil-cpp/absl/strings/strings_gn/moz.build
93989
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/strings/strings_gn/moz.build
93990
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
93991
 AllowCompilerWarnings()
93992
 
93993
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
93994
+DEFINES["USE_GLIB"] = "1"
93995
+DEFINES["USE_OZONE"] = "1"
93996
+DEFINES["_FILE_OFFSET_BITS"] = "64"
93997
+DEFINES["_LARGEFILE64_SOURCE"] = True
93998
+DEFINES["_LARGEFILE_SOURCE"] = True
93999
 
94000
 FINAL_LIBRARY = "xul"
94001
 
94002
@@ -41,133 +46,16 @@ if not CONFIG["MOZ_DEBUG"]:
94003
 if CONFIG["MOZ_DEBUG"] == "1":
94004
 
94005
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
94006
-
94007
-if CONFIG["OS_TARGET"] == "Android":
94008
-
94009
-    DEFINES["ANDROID"] = True
94010
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
94011
-    DEFINES["HAVE_SYS_UIO_H"] = True
94012
-    DEFINES["_GNU_SOURCE"] = True
94013
-
94014
-if CONFIG["OS_TARGET"] == "Darwin":
94015
-
94016
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
94017
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
94018
-
94019
-if CONFIG["OS_TARGET"] == "Linux":
94020
-
94021
-    DEFINES["USE_AURA"] = "1"
94022
-    DEFINES["USE_GLIB"] = "1"
94023
-    DEFINES["USE_NSS_CERTS"] = "1"
94024
-    DEFINES["USE_OZONE"] = "1"
94025
-    DEFINES["USE_UDEV"] = True
94026
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
94027
-    DEFINES["_LARGEFILE64_SOURCE"] = True
94028
-    DEFINES["_LARGEFILE_SOURCE"] = True
94029
-
94030
-if CONFIG["OS_TARGET"] == "OpenBSD":
94031
-
94032
-    DEFINES["USE_GLIB"] = "1"
94033
-    DEFINES["USE_OZONE"] = "1"
94034
-    DEFINES["USE_X11"] = "1"
94035
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
94036
-    DEFINES["_LARGEFILE64_SOURCE"] = True
94037
-    DEFINES["_LARGEFILE_SOURCE"] = True
94038
-
94039
-if CONFIG["OS_TARGET"] == "WINNT":
94040
-
94041
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
94042
-    DEFINES["NOMINMAX"] = True
94043
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
94044
-    DEFINES["PSAPI_VERSION"] = "2"
94045
-    DEFINES["UNICODE"] = True
94046
-    DEFINES["USE_AURA"] = "1"
94047
-    DEFINES["WIN32"] = True
94048
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
94049
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
94050
-    DEFINES["WINVER"] = "0x0A00"
94051
-    DEFINES["_ATL_NO_OPENGL"] = True
94052
-    DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = True
94053
-    DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
94054
-    DEFINES["_CRT_RAND_S"] = True
94055
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
94056
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
94057
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
94058
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
94059
-    DEFINES["_SECURE_ATL"] = True
94060
-    DEFINES["_UNICODE"] = True
94061
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
94062
-    DEFINES["_WINDOWS"] = True
94063
-    DEFINES["__STD_C"] = True
94064
-
94065
-if CONFIG["TARGET_CPU"] == "arm":
94066
-
94067
-    CXXFLAGS += [
94068
-        "-mfpu=neon"
94069
-    ]
94070
-
94071
-if CONFIG["TARGET_CPU"] == "mips32":
94072
-
94073
-    DEFINES["_GNU_SOURCE"] = True
94074
-
94075
-if CONFIG["TARGET_CPU"] == "mips64":
94076
-
94077
-    DEFINES["_GNU_SOURCE"] = True
94078
-
94079
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
94080
-
94081
-    DEFINES["_DEBUG"] = True
94082
-
94083
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
94084
-
94085
-    DEFINES["_DEBUG"] = True
94086
-
94087
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
94088
-
94089
-    DEFINES["_DEBUG"] = True
94090
-
94091
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
94092
-
94093
     DEFINES["_DEBUG"] = True
94094
 
94095
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
94096
-
94097
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
94098
-
94099
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
94100
-
94101
-    DEFINES["USE_X11"] = "1"
94102
-
94103
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
94104
-
94105
-    OS_LIBS += [
94106
-        "unwind"
94107
-    ]
94108
-
94109
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
94110
+if CONFIG["TARGET_CPU"] == "x86":
94111
 
94112
     CXXFLAGS += [
94113
         "-msse2"
94114
     ]
94115
 
94116
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
94117
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
94118
 
94119
-    DEFINES["_GNU_SOURCE"] = True
94120
-
94121
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
94122
-
94123
-    DEFINES["_GNU_SOURCE"] = True
94124
-
94125
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
94126
-
94127
-    CXXFLAGS += [
94128
-        "-msse2"
94129
-    ]
94130
-
94131
-    DEFINES["_GNU_SOURCE"] = True
94132
-
94133
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
94134
-
94135
-    DEFINES["_GNU_SOURCE"] = True
94136
+    DEFINES["USE_X11"] = "1"
94137
 
94138
 Library("strings_gn")
94139
diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_optional_access_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_optional_access_gn/moz.build
94140
index 25164c3e5f91..4fe2271056dc 100644
94141
--- third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_optional_access_gn/moz.build
94142
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_optional_access_gn/moz.build
94143
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
94144
 AllowCompilerWarnings()
94145
 
94146
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
94147
+DEFINES["USE_GLIB"] = "1"
94148
+DEFINES["USE_OZONE"] = "1"
94149
+DEFINES["_FILE_OFFSET_BITS"] = "64"
94150
+DEFINES["_LARGEFILE64_SOURCE"] = True
94151
+DEFINES["_LARGEFILE_SOURCE"] = True
94152
 
94153
 FINAL_LIBRARY = "xul"
94154
 
94155
@@ -36,133 +41,16 @@ if not CONFIG["MOZ_DEBUG"]:
94156
 if CONFIG["MOZ_DEBUG"] == "1":
94157
 
94158
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
94159
-
94160
-if CONFIG["OS_TARGET"] == "Android":
94161
-
94162
-    DEFINES["ANDROID"] = True
94163
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
94164
-    DEFINES["HAVE_SYS_UIO_H"] = True
94165
-    DEFINES["_GNU_SOURCE"] = True
94166
-
94167
-if CONFIG["OS_TARGET"] == "Darwin":
94168
-
94169
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
94170
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
94171
-
94172
-if CONFIG["OS_TARGET"] == "Linux":
94173
-
94174
-    DEFINES["USE_AURA"] = "1"
94175
-    DEFINES["USE_GLIB"] = "1"
94176
-    DEFINES["USE_NSS_CERTS"] = "1"
94177
-    DEFINES["USE_OZONE"] = "1"
94178
-    DEFINES["USE_UDEV"] = True
94179
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
94180
-    DEFINES["_LARGEFILE64_SOURCE"] = True
94181
-    DEFINES["_LARGEFILE_SOURCE"] = True
94182
-
94183
-if CONFIG["OS_TARGET"] == "OpenBSD":
94184
-
94185
-    DEFINES["USE_GLIB"] = "1"
94186
-    DEFINES["USE_OZONE"] = "1"
94187
-    DEFINES["USE_X11"] = "1"
94188
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
94189
-    DEFINES["_LARGEFILE64_SOURCE"] = True
94190
-    DEFINES["_LARGEFILE_SOURCE"] = True
94191
-
94192
-if CONFIG["OS_TARGET"] == "WINNT":
94193
-
94194
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
94195
-    DEFINES["NOMINMAX"] = True
94196
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
94197
-    DEFINES["PSAPI_VERSION"] = "2"
94198
-    DEFINES["UNICODE"] = True
94199
-    DEFINES["USE_AURA"] = "1"
94200
-    DEFINES["WIN32"] = True
94201
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
94202
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
94203
-    DEFINES["WINVER"] = "0x0A00"
94204
-    DEFINES["_ATL_NO_OPENGL"] = True
94205
-    DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = True
94206
-    DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
94207
-    DEFINES["_CRT_RAND_S"] = True
94208
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
94209
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
94210
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
94211
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
94212
-    DEFINES["_SECURE_ATL"] = True
94213
-    DEFINES["_UNICODE"] = True
94214
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
94215
-    DEFINES["_WINDOWS"] = True
94216
-    DEFINES["__STD_C"] = True
94217
-
94218
-if CONFIG["TARGET_CPU"] == "arm":
94219
-
94220
-    CXXFLAGS += [
94221
-        "-mfpu=neon"
94222
-    ]
94223
-
94224
-if CONFIG["TARGET_CPU"] == "mips32":
94225
-
94226
-    DEFINES["_GNU_SOURCE"] = True
94227
-
94228
-if CONFIG["TARGET_CPU"] == "mips64":
94229
-
94230
-    DEFINES["_GNU_SOURCE"] = True
94231
-
94232
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
94233
-
94234
-    DEFINES["_DEBUG"] = True
94235
-
94236
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
94237
-
94238
-    DEFINES["_DEBUG"] = True
94239
-
94240
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
94241
-
94242
-    DEFINES["_DEBUG"] = True
94243
-
94244
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
94245
-
94246
     DEFINES["_DEBUG"] = True
94247
 
94248
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
94249
-
94250
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
94251
-
94252
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
94253
-
94254
-    DEFINES["USE_X11"] = "1"
94255
-
94256
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
94257
-
94258
-    OS_LIBS += [
94259
-        "unwind"
94260
-    ]
94261
-
94262
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
94263
+if CONFIG["TARGET_CPU"] == "x86":
94264
 
94265
     CXXFLAGS += [
94266
         "-msse2"
94267
     ]
94268
 
94269
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
94270
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
94271
 
94272
-    DEFINES["_GNU_SOURCE"] = True
94273
-
94274
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
94275
-
94276
-    DEFINES["_GNU_SOURCE"] = True
94277
-
94278
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
94279
-
94280
-    CXXFLAGS += [
94281
-        "-msse2"
94282
-    ]
94283
-
94284
-    DEFINES["_GNU_SOURCE"] = True
94285
-
94286
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
94287
-
94288
-    DEFINES["_GNU_SOURCE"] = True
94289
+    DEFINES["USE_X11"] = "1"
94290
 
94291
 Library("bad_optional_access_gn")
94292
diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_variant_access_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_variant_access_gn/moz.build
94293
index 83007237aa43..7feffa5b7fa7 100644
94294
--- third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_variant_access_gn/moz.build
94295
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/types/bad_variant_access_gn/moz.build
94296
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
94297
 AllowCompilerWarnings()
94298
 
94299
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
94300
+DEFINES["USE_GLIB"] = "1"
94301
+DEFINES["USE_OZONE"] = "1"
94302
+DEFINES["_FILE_OFFSET_BITS"] = "64"
94303
+DEFINES["_LARGEFILE64_SOURCE"] = True
94304
+DEFINES["_LARGEFILE_SOURCE"] = True
94305
 
94306
 FINAL_LIBRARY = "xul"
94307
 
94308
@@ -36,133 +41,16 @@ if not CONFIG["MOZ_DEBUG"]:
94309
 if CONFIG["MOZ_DEBUG"] == "1":
94310
 
94311
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
94312
-
94313
-if CONFIG["OS_TARGET"] == "Android":
94314
-
94315
-    DEFINES["ANDROID"] = True
94316
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
94317
-    DEFINES["HAVE_SYS_UIO_H"] = True
94318
-    DEFINES["_GNU_SOURCE"] = True
94319
-
94320
-if CONFIG["OS_TARGET"] == "Darwin":
94321
-
94322
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
94323
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
94324
-
94325
-if CONFIG["OS_TARGET"] == "Linux":
94326
-
94327
-    DEFINES["USE_AURA"] = "1"
94328
-    DEFINES["USE_GLIB"] = "1"
94329
-    DEFINES["USE_NSS_CERTS"] = "1"
94330
-    DEFINES["USE_OZONE"] = "1"
94331
-    DEFINES["USE_UDEV"] = True
94332
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
94333
-    DEFINES["_LARGEFILE64_SOURCE"] = True
94334
-    DEFINES["_LARGEFILE_SOURCE"] = True
94335
-
94336
-if CONFIG["OS_TARGET"] == "OpenBSD":
94337
-
94338
-    DEFINES["USE_GLIB"] = "1"
94339
-    DEFINES["USE_OZONE"] = "1"
94340
-    DEFINES["USE_X11"] = "1"
94341
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
94342
-    DEFINES["_LARGEFILE64_SOURCE"] = True
94343
-    DEFINES["_LARGEFILE_SOURCE"] = True
94344
-
94345
-if CONFIG["OS_TARGET"] == "WINNT":
94346
-
94347
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
94348
-    DEFINES["NOMINMAX"] = True
94349
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
94350
-    DEFINES["PSAPI_VERSION"] = "2"
94351
-    DEFINES["UNICODE"] = True
94352
-    DEFINES["USE_AURA"] = "1"
94353
-    DEFINES["WIN32"] = True
94354
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
94355
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
94356
-    DEFINES["WINVER"] = "0x0A00"
94357
-    DEFINES["_ATL_NO_OPENGL"] = True
94358
-    DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = True
94359
-    DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
94360
-    DEFINES["_CRT_RAND_S"] = True
94361
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
94362
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
94363
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
94364
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
94365
-    DEFINES["_SECURE_ATL"] = True
94366
-    DEFINES["_UNICODE"] = True
94367
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
94368
-    DEFINES["_WINDOWS"] = True
94369
-    DEFINES["__STD_C"] = True
94370
-
94371
-if CONFIG["TARGET_CPU"] == "arm":
94372
-
94373
-    CXXFLAGS += [
94374
-        "-mfpu=neon"
94375
-    ]
94376
-
94377
-if CONFIG["TARGET_CPU"] == "mips32":
94378
-
94379
-    DEFINES["_GNU_SOURCE"] = True
94380
-
94381
-if CONFIG["TARGET_CPU"] == "mips64":
94382
-
94383
-    DEFINES["_GNU_SOURCE"] = True
94384
-
94385
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
94386
-
94387
-    DEFINES["_DEBUG"] = True
94388
-
94389
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
94390
-
94391
-    DEFINES["_DEBUG"] = True
94392
-
94393
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
94394
-
94395
-    DEFINES["_DEBUG"] = True
94396
-
94397
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
94398
-
94399
     DEFINES["_DEBUG"] = True
94400
 
94401
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
94402
-
94403
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
94404
-
94405
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
94406
-
94407
-    DEFINES["USE_X11"] = "1"
94408
-
94409
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
94410
-
94411
-    OS_LIBS += [
94412
-        "unwind"
94413
-    ]
94414
-
94415
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86":
94416
+if CONFIG["TARGET_CPU"] == "x86":
94417
 
94418
     CXXFLAGS += [
94419
         "-msse2"
94420
     ]
94421
 
94422
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
94423
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
94424
 
94425
-    DEFINES["_GNU_SOURCE"] = True
94426
-
94427
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
94428
-
94429
-    DEFINES["_GNU_SOURCE"] = True
94430
-
94431
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
94432
-
94433
-    CXXFLAGS += [
94434
-        "-msse2"
94435
-    ]
94436
-
94437
-    DEFINES["_GNU_SOURCE"] = True
94438
-
94439
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
94440
-
94441
-    DEFINES["_GNU_SOURCE"] = True
94442
+    DEFINES["USE_X11"] = "1"
94443
 
94444
 Library("bad_variant_access_gn")
94445
diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/types/optional_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/types/optional_gn/moz.build
94446
index 890fa95dc850..9538221de171 100644
94447
--- third_party/libwebrtc/third_party/abseil-cpp/absl/types/optional_gn/moz.build
94448
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/types/optional_gn/moz.build
94449
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
94450
 AllowCompilerWarnings()
94451
 
94452
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
94453
+DEFINES["USE_GLIB"] = "1"
94454
+DEFINES["USE_OZONE"] = "1"
94455
+DEFINES["_FILE_OFFSET_BITS"] = "64"
94456
+DEFINES["_LARGEFILE64_SOURCE"] = True
94457
+DEFINES["_LARGEFILE_SOURCE"] = True
94458
 
94459
 FINAL_LIBRARY = "xul"
94460
 
94461
@@ -32,117 +37,10 @@ if not CONFIG["MOZ_DEBUG"]:
94462
 if CONFIG["MOZ_DEBUG"] == "1":
94463
 
94464
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
94465
-
94466
-if CONFIG["OS_TARGET"] == "Android":
94467
-
94468
-    DEFINES["ANDROID"] = True
94469
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
94470
-    DEFINES["HAVE_SYS_UIO_H"] = True
94471
-    DEFINES["_GNU_SOURCE"] = True
94472
-
94473
-if CONFIG["OS_TARGET"] == "Darwin":
94474
-
94475
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
94476
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
94477
-
94478
-if CONFIG["OS_TARGET"] == "Linux":
94479
-
94480
-    DEFINES["USE_AURA"] = "1"
94481
-    DEFINES["USE_GLIB"] = "1"
94482
-    DEFINES["USE_NSS_CERTS"] = "1"
94483
-    DEFINES["USE_OZONE"] = "1"
94484
-    DEFINES["USE_UDEV"] = True
94485
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
94486
-    DEFINES["_LARGEFILE64_SOURCE"] = True
94487
-    DEFINES["_LARGEFILE_SOURCE"] = True
94488
-
94489
-if CONFIG["OS_TARGET"] == "OpenBSD":
94490
-
94491
-    DEFINES["USE_GLIB"] = "1"
94492
-    DEFINES["USE_OZONE"] = "1"
94493
-    DEFINES["USE_X11"] = "1"
94494
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
94495
-    DEFINES["_LARGEFILE64_SOURCE"] = True
94496
-    DEFINES["_LARGEFILE_SOURCE"] = True
94497
-
94498
-if CONFIG["OS_TARGET"] == "WINNT":
94499
-
94500
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
94501
-    DEFINES["NOMINMAX"] = True
94502
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
94503
-    DEFINES["PSAPI_VERSION"] = "2"
94504
-    DEFINES["UNICODE"] = True
94505
-    DEFINES["USE_AURA"] = "1"
94506
-    DEFINES["WIN32"] = True
94507
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
94508
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
94509
-    DEFINES["WINVER"] = "0x0A00"
94510
-    DEFINES["_ATL_NO_OPENGL"] = True
94511
-    DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = True
94512
-    DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
94513
-    DEFINES["_CRT_RAND_S"] = True
94514
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
94515
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
94516
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
94517
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
94518
-    DEFINES["_SECURE_ATL"] = True
94519
-    DEFINES["_UNICODE"] = True
94520
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
94521
-    DEFINES["_WINDOWS"] = True
94522
-    DEFINES["__STD_C"] = True
94523
-
94524
-if CONFIG["TARGET_CPU"] == "mips32":
94525
-
94526
-    DEFINES["_GNU_SOURCE"] = True
94527
-
94528
-if CONFIG["TARGET_CPU"] == "mips64":
94529
-
94530
-    DEFINES["_GNU_SOURCE"] = True
94531
-
94532
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
94533
-
94534
-    DEFINES["_DEBUG"] = True
94535
-
94536
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
94537
-
94538
-    DEFINES["_DEBUG"] = True
94539
-
94540
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
94541
-
94542
-    DEFINES["_DEBUG"] = True
94543
-
94544
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
94545
-
94546
     DEFINES["_DEBUG"] = True
94547
 
94548
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
94549
-
94550
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
94551
-
94552
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
94553
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
94554
 
94555
     DEFINES["USE_X11"] = "1"
94556
 
94557
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
94558
-
94559
-    OS_LIBS += [
94560
-        "unwind"
94561
-    ]
94562
-
94563
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
94564
-
94565
-    DEFINES["_GNU_SOURCE"] = True
94566
-
94567
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
94568
-
94569
-    DEFINES["_GNU_SOURCE"] = True
94570
-
94571
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
94572
-
94573
-    DEFINES["_GNU_SOURCE"] = True
94574
-
94575
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
94576
-
94577
-    DEFINES["_GNU_SOURCE"] = True
94578
-
94579
 Library("optional_gn")
94580
diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/types/span_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/types/span_gn/moz.build
94581
index 438c3e8f7ca6..a8f20aad44d7 100644
94582
--- third_party/libwebrtc/third_party/abseil-cpp/absl/types/span_gn/moz.build
94583
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/types/span_gn/moz.build
94584
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
94585
 AllowCompilerWarnings()
94586
 
94587
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
94588
+DEFINES["USE_GLIB"] = "1"
94589
+DEFINES["USE_OZONE"] = "1"
94590
+DEFINES["_FILE_OFFSET_BITS"] = "64"
94591
+DEFINES["_LARGEFILE64_SOURCE"] = True
94592
+DEFINES["_LARGEFILE_SOURCE"] = True
94593
 
94594
 FINAL_LIBRARY = "xul"
94595
 
94596
@@ -32,117 +37,10 @@ if not CONFIG["MOZ_DEBUG"]:
94597
 if CONFIG["MOZ_DEBUG"] == "1":
94598
 
94599
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
94600
-
94601
-if CONFIG["OS_TARGET"] == "Android":
94602
-
94603
-    DEFINES["ANDROID"] = True
94604
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
94605
-    DEFINES["HAVE_SYS_UIO_H"] = True
94606
-    DEFINES["_GNU_SOURCE"] = True
94607
-
94608
-if CONFIG["OS_TARGET"] == "Darwin":
94609
-
94610
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
94611
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
94612
-
94613
-if CONFIG["OS_TARGET"] == "Linux":
94614
-
94615
-    DEFINES["USE_AURA"] = "1"
94616
-    DEFINES["USE_GLIB"] = "1"
94617
-    DEFINES["USE_NSS_CERTS"] = "1"
94618
-    DEFINES["USE_OZONE"] = "1"
94619
-    DEFINES["USE_UDEV"] = True
94620
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
94621
-    DEFINES["_LARGEFILE64_SOURCE"] = True
94622
-    DEFINES["_LARGEFILE_SOURCE"] = True
94623
-
94624
-if CONFIG["OS_TARGET"] == "OpenBSD":
94625
-
94626
-    DEFINES["USE_GLIB"] = "1"
94627
-    DEFINES["USE_OZONE"] = "1"
94628
-    DEFINES["USE_X11"] = "1"
94629
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
94630
-    DEFINES["_LARGEFILE64_SOURCE"] = True
94631
-    DEFINES["_LARGEFILE_SOURCE"] = True
94632
-
94633
-if CONFIG["OS_TARGET"] == "WINNT":
94634
-
94635
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
94636
-    DEFINES["NOMINMAX"] = True
94637
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
94638
-    DEFINES["PSAPI_VERSION"] = "2"
94639
-    DEFINES["UNICODE"] = True
94640
-    DEFINES["USE_AURA"] = "1"
94641
-    DEFINES["WIN32"] = True
94642
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
94643
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
94644
-    DEFINES["WINVER"] = "0x0A00"
94645
-    DEFINES["_ATL_NO_OPENGL"] = True
94646
-    DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = True
94647
-    DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
94648
-    DEFINES["_CRT_RAND_S"] = True
94649
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
94650
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
94651
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
94652
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
94653
-    DEFINES["_SECURE_ATL"] = True
94654
-    DEFINES["_UNICODE"] = True
94655
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
94656
-    DEFINES["_WINDOWS"] = True
94657
-    DEFINES["__STD_C"] = True
94658
-
94659
-if CONFIG["TARGET_CPU"] == "mips32":
94660
-
94661
-    DEFINES["_GNU_SOURCE"] = True
94662
-
94663
-if CONFIG["TARGET_CPU"] == "mips64":
94664
-
94665
-    DEFINES["_GNU_SOURCE"] = True
94666
-
94667
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
94668
-
94669
-    DEFINES["_DEBUG"] = True
94670
-
94671
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
94672
-
94673
-    DEFINES["_DEBUG"] = True
94674
-
94675
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
94676
-
94677
-    DEFINES["_DEBUG"] = True
94678
-
94679
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
94680
-
94681
     DEFINES["_DEBUG"] = True
94682
 
94683
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
94684
-
94685
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
94686
-
94687
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
94688
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
94689
 
94690
     DEFINES["USE_X11"] = "1"
94691
 
94692
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
94693
-
94694
-    OS_LIBS += [
94695
-        "unwind"
94696
-    ]
94697
-
94698
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
94699
-
94700
-    DEFINES["_GNU_SOURCE"] = True
94701
-
94702
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
94703
-
94704
-    DEFINES["_GNU_SOURCE"] = True
94705
-
94706
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
94707
-
94708
-    DEFINES["_GNU_SOURCE"] = True
94709
-
94710
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
94711
-
94712
-    DEFINES["_GNU_SOURCE"] = True
94713
-
94714
 Library("span_gn")
94715
diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/types/variant_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/types/variant_gn/moz.build
94716
index b548c0214b55..4a1c6b4239bb 100644
94717
--- third_party/libwebrtc/third_party/abseil-cpp/absl/types/variant_gn/moz.build
94718
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/types/variant_gn/moz.build
94719
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
94720
 AllowCompilerWarnings()
94721
 
94722
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
94723
+DEFINES["USE_GLIB"] = "1"
94724
+DEFINES["USE_OZONE"] = "1"
94725
+DEFINES["_FILE_OFFSET_BITS"] = "64"
94726
+DEFINES["_LARGEFILE64_SOURCE"] = True
94727
+DEFINES["_LARGEFILE_SOURCE"] = True
94728
 
94729
 FINAL_LIBRARY = "xul"
94730
 
94731
@@ -32,117 +37,10 @@ if not CONFIG["MOZ_DEBUG"]:
94732
 if CONFIG["MOZ_DEBUG"] == "1":
94733
 
94734
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
94735
-
94736
-if CONFIG["OS_TARGET"] == "Android":
94737
-
94738
-    DEFINES["ANDROID"] = True
94739
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
94740
-    DEFINES["HAVE_SYS_UIO_H"] = True
94741
-    DEFINES["_GNU_SOURCE"] = True
94742
-
94743
-if CONFIG["OS_TARGET"] == "Darwin":
94744
-
94745
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
94746
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
94747
-
94748
-if CONFIG["OS_TARGET"] == "Linux":
94749
-
94750
-    DEFINES["USE_AURA"] = "1"
94751
-    DEFINES["USE_GLIB"] = "1"
94752
-    DEFINES["USE_NSS_CERTS"] = "1"
94753
-    DEFINES["USE_OZONE"] = "1"
94754
-    DEFINES["USE_UDEV"] = True
94755
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
94756
-    DEFINES["_LARGEFILE64_SOURCE"] = True
94757
-    DEFINES["_LARGEFILE_SOURCE"] = True
94758
-
94759
-if CONFIG["OS_TARGET"] == "OpenBSD":
94760
-
94761
-    DEFINES["USE_GLIB"] = "1"
94762
-    DEFINES["USE_OZONE"] = "1"
94763
-    DEFINES["USE_X11"] = "1"
94764
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
94765
-    DEFINES["_LARGEFILE64_SOURCE"] = True
94766
-    DEFINES["_LARGEFILE_SOURCE"] = True
94767
-
94768
-if CONFIG["OS_TARGET"] == "WINNT":
94769
-
94770
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
94771
-    DEFINES["NOMINMAX"] = True
94772
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
94773
-    DEFINES["PSAPI_VERSION"] = "2"
94774
-    DEFINES["UNICODE"] = True
94775
-    DEFINES["USE_AURA"] = "1"
94776
-    DEFINES["WIN32"] = True
94777
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
94778
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
94779
-    DEFINES["WINVER"] = "0x0A00"
94780
-    DEFINES["_ATL_NO_OPENGL"] = True
94781
-    DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = True
94782
-    DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
94783
-    DEFINES["_CRT_RAND_S"] = True
94784
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
94785
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
94786
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
94787
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
94788
-    DEFINES["_SECURE_ATL"] = True
94789
-    DEFINES["_UNICODE"] = True
94790
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
94791
-    DEFINES["_WINDOWS"] = True
94792
-    DEFINES["__STD_C"] = True
94793
-
94794
-if CONFIG["TARGET_CPU"] == "mips32":
94795
-
94796
-    DEFINES["_GNU_SOURCE"] = True
94797
-
94798
-if CONFIG["TARGET_CPU"] == "mips64":
94799
-
94800
-    DEFINES["_GNU_SOURCE"] = True
94801
-
94802
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
94803
-
94804
-    DEFINES["_DEBUG"] = True
94805
-
94806
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
94807
-
94808
-    DEFINES["_DEBUG"] = True
94809
-
94810
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
94811
-
94812
-    DEFINES["_DEBUG"] = True
94813
-
94814
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
94815
-
94816
     DEFINES["_DEBUG"] = True
94817
 
94818
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
94819
-
94820
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
94821
-
94822
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
94823
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
94824
 
94825
     DEFINES["USE_X11"] = "1"
94826
 
94827
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
94828
-
94829
-    OS_LIBS += [
94830
-        "unwind"
94831
-    ]
94832
-
94833
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
94834
-
94835
-    DEFINES["_GNU_SOURCE"] = True
94836
-
94837
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
94838
-
94839
-    DEFINES["_GNU_SOURCE"] = True
94840
-
94841
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
94842
-
94843
-    DEFINES["_GNU_SOURCE"] = True
94844
-
94845
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
94846
-
94847
-    DEFINES["_GNU_SOURCE"] = True
94848
-
94849
 Library("variant_gn")
94850
diff --git third_party/libwebrtc/third_party/abseil-cpp/absl/utility/utility_gn/moz.build third_party/libwebrtc/third_party/abseil-cpp/absl/utility/utility_gn/moz.build
94851
index c47e6649127c..05338e798930 100644
94852
--- third_party/libwebrtc/third_party/abseil-cpp/absl/utility/utility_gn/moz.build
94853
+++ third_party/libwebrtc/third_party/abseil-cpp/absl/utility/utility_gn/moz.build
94854
@@ -10,6 +10,11 @@ COMPILE_FLAGS["OS_INCLUDES"] = []
94855
 AllowCompilerWarnings()
94856
 
94857
 DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1"
94858
+DEFINES["USE_GLIB"] = "1"
94859
+DEFINES["USE_OZONE"] = "1"
94860
+DEFINES["_FILE_OFFSET_BITS"] = "64"
94861
+DEFINES["_LARGEFILE64_SOURCE"] = True
94862
+DEFINES["_LARGEFILE_SOURCE"] = True
94863
 
94864
 FINAL_LIBRARY = "xul"
94865
 
94866
@@ -32,117 +37,10 @@ if not CONFIG["MOZ_DEBUG"]:
94867
 if CONFIG["MOZ_DEBUG"] == "1":
94868
 
94869
     DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1"
94870
-
94871
-if CONFIG["OS_TARGET"] == "Android":
94872
-
94873
-    DEFINES["ANDROID"] = True
94874
-    DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r22_1"
94875
-    DEFINES["HAVE_SYS_UIO_H"] = True
94876
-    DEFINES["_GNU_SOURCE"] = True
94877
-
94878
-if CONFIG["OS_TARGET"] == "Darwin":
94879
-
94880
-    DEFINES["_LIBCPP_HAS_NO_ALIGNED_ALLOCATION"] = True
94881
-    DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES"] = "0"
94882
-
94883
-if CONFIG["OS_TARGET"] == "Linux":
94884
-
94885
-    DEFINES["USE_AURA"] = "1"
94886
-    DEFINES["USE_GLIB"] = "1"
94887
-    DEFINES["USE_NSS_CERTS"] = "1"
94888
-    DEFINES["USE_OZONE"] = "1"
94889
-    DEFINES["USE_UDEV"] = True
94890
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
94891
-    DEFINES["_LARGEFILE64_SOURCE"] = True
94892
-    DEFINES["_LARGEFILE_SOURCE"] = True
94893
-
94894
-if CONFIG["OS_TARGET"] == "OpenBSD":
94895
-
94896
-    DEFINES["USE_GLIB"] = "1"
94897
-    DEFINES["USE_OZONE"] = "1"
94898
-    DEFINES["USE_X11"] = "1"
94899
-    DEFINES["_FILE_OFFSET_BITS"] = "64"
94900
-    DEFINES["_LARGEFILE64_SOURCE"] = True
94901
-    DEFINES["_LARGEFILE_SOURCE"] = True
94902
-
94903
-if CONFIG["OS_TARGET"] == "WINNT":
94904
-
94905
-    DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
94906
-    DEFINES["NOMINMAX"] = True
94907
-    DEFINES["NTDDI_VERSION"] = "0x0A000000"
94908
-    DEFINES["PSAPI_VERSION"] = "2"
94909
-    DEFINES["UNICODE"] = True
94910
-    DEFINES["USE_AURA"] = "1"
94911
-    DEFINES["WIN32"] = True
94912
-    DEFINES["WIN32_LEAN_AND_MEAN"] = True
94913
-    DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
94914
-    DEFINES["WINVER"] = "0x0A00"
94915
-    DEFINES["_ATL_NO_OPENGL"] = True
94916
-    DEFINES["_CRT_NONSTDC_NO_DEPRECATE"] = True
94917
-    DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
94918
-    DEFINES["_CRT_RAND_S"] = True
94919
-    DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
94920
-    DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True
94921
-    DEFINES["_HAS_EXCEPTIONS"] = "0"
94922
-    DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
94923
-    DEFINES["_SECURE_ATL"] = True
94924
-    DEFINES["_UNICODE"] = True
94925
-    DEFINES["_WIN32_WINNT"] = "0x0A00"
94926
-    DEFINES["_WINDOWS"] = True
94927
-    DEFINES["__STD_C"] = True
94928
-
94929
-if CONFIG["TARGET_CPU"] == "mips32":
94930
-
94931
-    DEFINES["_GNU_SOURCE"] = True
94932
-
94933
-if CONFIG["TARGET_CPU"] == "mips64":
94934
-
94935
-    DEFINES["_GNU_SOURCE"] = True
94936
-
94937
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
94938
-
94939
-    DEFINES["_DEBUG"] = True
94940
-
94941
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin":
94942
-
94943
-    DEFINES["_DEBUG"] = True
94944
-
94945
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
94946
-
94947
-    DEFINES["_DEBUG"] = True
94948
-
94949
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD":
94950
-
94951
     DEFINES["_DEBUG"] = True
94952
 
94953
-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
94954
-
94955
-    DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
94956
-
94957
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux":
94958
+if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD":
94959
 
94960
     DEFINES["USE_X11"] = "1"
94961
 
94962
-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "arm":
94963
-
94964
-    OS_LIBS += [
94965
-        "unwind"
94966
-    ]
94967
-
94968
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
94969
-
94970
-    DEFINES["_GNU_SOURCE"] = True
94971
-
94972
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
94973
-
94974
-    DEFINES["_GNU_SOURCE"] = True
94975
-
94976
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
94977
-
94978
-    DEFINES["_GNU_SOURCE"] = True
94979
-
94980
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
94981
-
94982
-    DEFINES["_GNU_SOURCE"] = True
94983
-
94984
 Library("utility_gn")
94985
diff --git third_party/libwebrtc/third_party/drm/drm_gn/moz.build third_party/libwebrtc/third_party/drm/drm_gn/moz.build
90447
diff --git third_party/libwebrtc/third_party/drm/drm_gn/moz.build third_party/libwebrtc/third_party/drm/drm_gn/moz.build
94986
index 971e9b6a89f8..24d5305eaf44 100644
90448
index 7c425a25708f..e24de7a7f5ed 100644
94987
--- third_party/libwebrtc/third_party/drm/drm_gn/moz.build
90449
--- third_party/libwebrtc/third_party/drm/drm_gn/moz.build
94988
+++ third_party/libwebrtc/third_party/drm/drm_gn/moz.build
90450
+++ third_party/libwebrtc/third_party/drm/drm_gn/moz.build
94989
@@ -12,21 +12,17 @@ AllowCompilerWarnings()
90451
@@ -12,21 +12,17 @@ AllowCompilerWarnings()
Lines 95032-95038 index 971e9b6a89f8..24d5305eaf44 100644 Link Here
95032
     DEFINES["USE_X11"] = "1"
90494
     DEFINES["USE_X11"] = "1"
95033
 
90495
 
95034
diff --git third_party/libwebrtc/third_party/gbm/gbm_gn/moz.build third_party/libwebrtc/third_party/gbm/gbm_gn/moz.build
90496
diff --git third_party/libwebrtc/third_party/gbm/gbm_gn/moz.build third_party/libwebrtc/third_party/gbm/gbm_gn/moz.build
95035
index 9273b95ead40..0919eb0f43e8 100644
90497
index 7c126d82542b..42eb6521079f 100644
95036
--- third_party/libwebrtc/third_party/gbm/gbm_gn/moz.build
90498
--- third_party/libwebrtc/third_party/gbm/gbm_gn/moz.build
95037
+++ third_party/libwebrtc/third_party/gbm/gbm_gn/moz.build
90499
+++ third_party/libwebrtc/third_party/gbm/gbm_gn/moz.build
95038
@@ -12,21 +12,17 @@ AllowCompilerWarnings()
90500
@@ -12,21 +12,17 @@ AllowCompilerWarnings()
Lines 95081-95087 index 9273b95ead40..0919eb0f43e8 100644 Link Here
95081
     DEFINES["USE_X11"] = "1"
90543
     DEFINES["USE_X11"] = "1"
95082
 
90544
 
95083
diff --git third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build
90545
diff --git third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build
95084
index 35f0925d3bde..c63ac3dc1601 100644
90546
index 0c2874eb73a8..032d3c12aa30 100644
95085
--- third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build
90547
--- third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build
95086
+++ third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build
90548
+++ third_party/libwebrtc/third_party/libepoxy/libepoxy_gn/moz.build
95087
@@ -12,21 +12,17 @@ AllowCompilerWarnings()
90549
@@ -12,21 +12,17 @@ AllowCompilerWarnings()
Lines 95130-95136 index 35f0925d3bde..c63ac3dc1601 100644 Link Here
95130
     DEFINES["USE_X11"] = "1"
90592
     DEFINES["USE_X11"] = "1"
95131
 
90593
 
95132
diff --git third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build
90594
diff --git third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build
95133
index a3038e0c4a61..55e100bde724 100644
90595
index 32e84e422d97..9bf6973ec982 100644
95134
--- third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build
90596
--- third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build
95135
+++ third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build
90597
+++ third_party/libwebrtc/third_party/libyuv/libyuv_gn/moz.build
95136
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
90598
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 95489-95495 index 836a04a7c723..4adcdaca807c 100644 Link Here
95489
 
90951
 
95490
 Library("pffft_gn")
90952
 Library("pffft_gn")
95491
diff --git third_party/libwebrtc/third_party/pipewire/pipewire_gn/moz.build third_party/libwebrtc/third_party/pipewire/pipewire_gn/moz.build
90953
diff --git third_party/libwebrtc/third_party/pipewire/pipewire_gn/moz.build third_party/libwebrtc/third_party/pipewire/pipewire_gn/moz.build
95492
index af5c5520ca80..a6d3fb5993d4 100644
90954
index 77bfb16a9df6..35ba3bbe70b8 100644
95493
--- third_party/libwebrtc/third_party/pipewire/pipewire_gn/moz.build
90955
--- third_party/libwebrtc/third_party/pipewire/pipewire_gn/moz.build
95494
+++ third_party/libwebrtc/third_party/pipewire/pipewire_gn/moz.build
90956
+++ third_party/libwebrtc/third_party/pipewire/pipewire_gn/moz.build
95495
@@ -12,22 +12,18 @@ AllowCompilerWarnings()
90957
@@ -12,22 +12,18 @@ AllowCompilerWarnings()
Lines 95701-95707 index b10b4c330ef8..3703f7ef3366 100644 Link Here
95701
 
91163
 
95702
 Library("rnn_vad_gn")
91164
 Library("rnn_vad_gn")
95703
diff --git third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build
91165
diff --git third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build
95704
index 54334034a290..771396806039 100644
91166
index 92db0ecf14f2..ed55e8e83f49 100644
95705
--- third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build
91167
--- third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build
95706
+++ third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build
91168
+++ third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build
95707
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
91169
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 95924-95930 index 54334034a290..771396806039 100644 Link Here
95924
 
91386
 
95925
 Library("video_adaptation_gn")
91387
 Library("video_adaptation_gn")
95926
diff --git third_party/libwebrtc/video/config/encoder_config_gn/moz.build third_party/libwebrtc/video/config/encoder_config_gn/moz.build
91388
diff --git third_party/libwebrtc/video/config/encoder_config_gn/moz.build third_party/libwebrtc/video/config/encoder_config_gn/moz.build
95927
index 605a6b14f7f5..05a856fbe4af 100644
91389
index 25d4e52bc234..7902174e756b 100644
95928
--- third_party/libwebrtc/video/config/encoder_config_gn/moz.build
91390
--- third_party/libwebrtc/video/config/encoder_config_gn/moz.build
95929
+++ third_party/libwebrtc/video/config/encoder_config_gn/moz.build
91391
+++ third_party/libwebrtc/video/config/encoder_config_gn/moz.build
95930
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
91392
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 96142-96148 index 605a6b14f7f5..05a856fbe4af 100644 Link Here
96142
 
91604
 
96143
 Library("encoder_config_gn")
91605
 Library("encoder_config_gn")
96144
diff --git third_party/libwebrtc/video/config/streams_config_gn/moz.build third_party/libwebrtc/video/config/streams_config_gn/moz.build
91606
diff --git third_party/libwebrtc/video/config/streams_config_gn/moz.build third_party/libwebrtc/video/config/streams_config_gn/moz.build
96145
index 3014de468204..57c6d4c2998b 100644
91607
index 84750d67a3fd..4c28f43e2fe1 100644
96146
--- third_party/libwebrtc/video/config/streams_config_gn/moz.build
91608
--- third_party/libwebrtc/video/config/streams_config_gn/moz.build
96147
+++ third_party/libwebrtc/video/config/streams_config_gn/moz.build
91609
+++ third_party/libwebrtc/video/config/streams_config_gn/moz.build
96148
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
91610
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 96365-96371 index 3014de468204..57c6d4c2998b 100644 Link Here
96365
 
91827
 
96366
 Library("streams_config_gn")
91828
 Library("streams_config_gn")
96367
diff --git third_party/libwebrtc/video/decode_synchronizer_gn/moz.build third_party/libwebrtc/video/decode_synchronizer_gn/moz.build
91829
diff --git third_party/libwebrtc/video/decode_synchronizer_gn/moz.build third_party/libwebrtc/video/decode_synchronizer_gn/moz.build
96368
index c1ae808ab1bb..1c51f66173fe 100644
91830
index e5b92baba40f..b234e7808436 100644
96369
--- third_party/libwebrtc/video/decode_synchronizer_gn/moz.build
91831
--- third_party/libwebrtc/video/decode_synchronizer_gn/moz.build
96370
+++ third_party/libwebrtc/video/decode_synchronizer_gn/moz.build
91832
+++ third_party/libwebrtc/video/decode_synchronizer_gn/moz.build
96371
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
91833
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 96587-96593 index c1ae808ab1bb..1c51f66173fe 100644 Link Here
96587
 
92049
 
96588
 Library("decode_synchronizer_gn")
92050
 Library("decode_synchronizer_gn")
96589
diff --git third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build
92051
diff --git third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build
96590
index 6e073f2e20c8..d9e054785471 100644
92052
index 5817a5b68a3c..a49f2342f96d 100644
96591
--- third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build
92053
--- third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build
96592
+++ third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build
92054
+++ third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build
96593
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
92055
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 96809-96815 index 6e073f2e20c8..d9e054785471 100644 Link Here
96809
 
92271
 
96810
 Library("frame_cadence_adapter_gn")
92272
 Library("frame_cadence_adapter_gn")
96811
diff --git third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build
92273
diff --git third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build
96812
index dfe1ecd08c0c..ddac47c4650d 100644
92274
index ae358f548924..60e58b4d3e94 100644
96813
--- third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build
92275
--- third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build
96814
+++ third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build
92276
+++ third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build
96815
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
92277
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 97011-97017 index dfe1ecd08c0c..ddac47c4650d 100644 Link Here
97011
-
92473
-
97012
 Library("frame_decode_scheduler_gn")
92474
 Library("frame_decode_scheduler_gn")
97013
diff --git third_party/libwebrtc/video/frame_decode_timing_gn/moz.build third_party/libwebrtc/video/frame_decode_timing_gn/moz.build
92475
diff --git third_party/libwebrtc/video/frame_decode_timing_gn/moz.build third_party/libwebrtc/video/frame_decode_timing_gn/moz.build
97014
index f1b85291c770..d4b8b9b731ba 100644
92476
index 0deade49e8f6..7048ad94cbe8 100644
97015
--- third_party/libwebrtc/video/frame_decode_timing_gn/moz.build
92477
--- third_party/libwebrtc/video/frame_decode_timing_gn/moz.build
97016
+++ third_party/libwebrtc/video/frame_decode_timing_gn/moz.build
92478
+++ third_party/libwebrtc/video/frame_decode_timing_gn/moz.build
97017
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
92479
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 97233-97239 index f1b85291c770..d4b8b9b731ba 100644 Link Here
97233
 
92695
 
97234
 Library("frame_decode_timing_gn")
92696
 Library("frame_decode_timing_gn")
97235
diff --git third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build
92697
diff --git third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build
97236
index 001433ce9ffe..c57fc823f293 100644
92698
index 8129c6209e6b..6e16a191239c 100644
97237
--- third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build
92699
--- third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build
97238
+++ third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build
92700
+++ third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build
97239
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
92701
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 97456-97462 index 001433ce9ffe..c57fc823f293 100644 Link Here
97456
 
92918
 
97457
 Library("frame_dumping_decoder_gn")
92919
 Library("frame_dumping_decoder_gn")
97458
diff --git third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build
92920
diff --git third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build
97459
index a3bf0c641a1d..262c5170e8bc 100644
92921
index 25b047e3798f..6e35ea00b773 100644
97460
--- third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build
92922
--- third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build
97461
+++ third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build
92923
+++ third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build
97462
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
92924
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 97679-97685 index a3bf0c641a1d..262c5170e8bc 100644 Link Here
97679
 
93141
 
97680
 Library("frame_dumping_encoder_gn")
93142
 Library("frame_dumping_encoder_gn")
97681
diff --git third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build
93143
diff --git third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build
97682
index 42488b31f3f8..88aaeeb2fa86 100644
93144
index 166999051875..117ca8774fd0 100644
97683
--- third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build
93145
--- third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build
97684
+++ third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build
93146
+++ third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build
97685
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
93147
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 97897-97903 index 42488b31f3f8..88aaeeb2fa86 100644 Link Here
97897
 
93359
 
97898
 Library("incoming_video_stream_gn")
93360
 Library("incoming_video_stream_gn")
97899
diff --git third_party/libwebrtc/video/render/video_render_frames_gn/moz.build third_party/libwebrtc/video/render/video_render_frames_gn/moz.build
93361
diff --git third_party/libwebrtc/video/render/video_render_frames_gn/moz.build third_party/libwebrtc/video/render/video_render_frames_gn/moz.build
97900
index 24bd462a0c8e..a4d64795d0c7 100644
93362
index 6a9ad8451a57..e561cf8d21b6 100644
97901
--- third_party/libwebrtc/video/render/video_render_frames_gn/moz.build
93363
--- third_party/libwebrtc/video/render/video_render_frames_gn/moz.build
97902
+++ third_party/libwebrtc/video/render/video_render_frames_gn/moz.build
93364
+++ third_party/libwebrtc/video/render/video_render_frames_gn/moz.build
97903
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
93365
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 98115-98121 index 24bd462a0c8e..a4d64795d0c7 100644 Link Here
98115
 
93577
 
98116
 Library("video_render_frames_gn")
93578
 Library("video_render_frames_gn")
98117
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
93579
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
98118
index d1ee8ffccb72..d483272d93cf 100644
93580
index b2df93f20386..022d5aab0b07 100644
98119
--- third_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build
93581
--- third_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build
98120
+++ third_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build
93582
+++ third_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build
98121
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
93583
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 98337-98343 index d1ee8ffccb72..d483272d93cf 100644 Link Here
98337
 
93799
 
98338
 Library("task_queue_frame_decode_scheduler_gn")
93800
 Library("task_queue_frame_decode_scheduler_gn")
98339
diff --git third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build
93801
diff --git third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build
98340
index b0eb431cfba7..067e25f152bd 100644
93802
index edd42aa502c4..2edcc433f13c 100644
98341
--- third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build
93803
--- third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build
98342
+++ third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build
93804
+++ third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build
98343
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
93805
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 98544-98550 index b0eb431cfba7..067e25f152bd 100644 Link Here
98544
 
94006
 
98545
 Library("unique_timestamp_counter_gn")
94007
 Library("unique_timestamp_counter_gn")
98546
diff --git third_party/libwebrtc/video/video_gn/moz.build third_party/libwebrtc/video/video_gn/moz.build
94008
diff --git third_party/libwebrtc/video/video_gn/moz.build third_party/libwebrtc/video/video_gn/moz.build
98547
index 09826d37f927..a92734005e3c 100644
94009
index 73a0749f2926..e28cf052d5a2 100644
98548
--- third_party/libwebrtc/video/video_gn/moz.build
94010
--- third_party/libwebrtc/video/video_gn/moz.build
98549
+++ third_party/libwebrtc/video/video_gn/moz.build
94011
+++ third_party/libwebrtc/video/video_gn/moz.build
98550
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
94012
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 98767-98773 index 09826d37f927..a92734005e3c 100644 Link Here
98767
 
94229
 
98768
 Library("video_gn")
94230
 Library("video_gn")
98769
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
94231
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
98770
index d24bf03a5991..d5f4170c45d8 100644
94232
index 2ddf1cba308d..6c05db21ae0a 100644
98771
--- third_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build
94233
--- third_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build
98772
+++ third_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build
94234
+++ third_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build
98773
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
94235
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 98989-98995 index d24bf03a5991..d5f4170c45d8 100644 Link Here
98989
 
94451
 
98990
 Library("video_receive_stream_timeout_tracker_gn")
94452
 Library("video_receive_stream_timeout_tracker_gn")
98991
diff --git third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build
94453
diff --git third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build
98992
index b99c992d4953..b1f2505dadb4 100644
94454
index f86dbd03a98b..54723e3b191e 100644
98993
--- third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build
94455
--- third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build
98994
+++ third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build
94456
+++ third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build
98995
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
94457
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 99212-99218 index b99c992d4953..b1f2505dadb4 100644 Link Here
99212
 
94674
 
99213
 Library("video_stream_buffer_controller_gn")
94675
 Library("video_stream_buffer_controller_gn")
99214
diff --git third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build
94676
diff --git third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build
99215
index b1d59382d51a..b102d5288fbe 100644
94677
index 2c9ea4a7d6c0..e181e0004d99 100644
99216
--- third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build
94678
--- third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build
99217
+++ third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build
94679
+++ third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build
99218
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
94680
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 99435-99441 index b1d59382d51a..b102d5288fbe 100644 Link Here
99435
 
94897
 
99436
 Library("video_stream_encoder_impl_gn")
94898
 Library("video_stream_encoder_impl_gn")
99437
diff --git third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build
94899
diff --git third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build
99438
index 7eeb5d9f4203..18a6af8783cc 100644
94900
index 68109330f136..b2239c8f9f0d 100644
99439
--- third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build
94901
--- third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build
99440
+++ third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build
94902
+++ third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build
99441
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
94903
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
Lines 99633-99639 index 7eeb5d9f4203..18a6af8783cc 100644 Link Here
99633
-
95095
-
99634
 Library("video_stream_encoder_interface_gn")
95096
 Library("video_stream_encoder_interface_gn")
99635
diff --git third_party/libwebrtc/webrtc_gn/moz.build third_party/libwebrtc/webrtc_gn/moz.build
95097
diff --git third_party/libwebrtc/webrtc_gn/moz.build third_party/libwebrtc/webrtc_gn/moz.build
99636
index 0a5908916a50..535ef83511d1 100644
95098
index 50e90f5868e1..9ce063158578 100644
99637
--- third_party/libwebrtc/webrtc_gn/moz.build
95099
--- third_party/libwebrtc/webrtc_gn/moz.build
99638
+++ third_party/libwebrtc/webrtc_gn/moz.build
95100
+++ third_party/libwebrtc/webrtc_gn/moz.build
99639
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
95101
@@ -12,11 +12,21 @@ AllowCompilerWarnings()
(-)b/www/librewolf/files/patch-third__party_libwebrtc_build_config_BUILDCONFIG.gn (-41 / +32 lines)
Lines 1-25 Link Here
1
commit 93615ae859d1d819b33bbe0e32c5260a467b3625
1
commit da40b474fba2247ffc07696a2c565d830e900c9c
2
Author: Christoph Moench-Tegeder <cmt@burggraben.net>
2
Author: Christoph Moench-Tegeder <cmt@FreeBSD.org>
3
3
4
    enable pipewire on bsd
4
    enable pipewire on bsd
5
5
6
diff --git third_party/libwebrtc/BUILD.gn third_party/libwebrtc/BUILD.gn
6
diff --git third_party/chromium/build/config/BUILDCONFIG.gn third_party/chromium/build/config/BUILDCONFIG.gn
7
index 6eb14773b0a7..d63fd1d5529f 100644
7
index 889bdb92354c..ccda96d998c5 100644
8
--- third_party/libwebrtc/BUILD.gn
8
--- third_party/chromium/build/config/BUILDCONFIG.gn
9
+++ third_party/libwebrtc/BUILD.gn
9
+++ third_party/chromium/build/config/BUILDCONFIG.gn
10
@@ -106,7 +106,7 @@ if (!build_with_chromium && !build_with_mozilla) {
11
           "tools_webrtc/perf:webrtc_dashboard_upload",
12
         ]
13
       }
14
-      if ((is_linux || is_chromeos) && rtc_use_pipewire) {
15
+      if ((is_linux || is_chromeos || is_bsd) && rtc_use_pipewire) {
16
         deps += [ "modules/desktop_capture:shared_screencast_stream_test" ]
17
       }
18
       if (is_fuchsia) {
19
diff --git third_party/libwebrtc/build/config/BUILDCONFIG.gn third_party/libwebrtc/build/config/BUILDCONFIG.gn
20
index 571ae5f0d60d..863d428fc676 100644
21
--- third_party/libwebrtc/build/config/BUILDCONFIG.gn
22
+++ third_party/libwebrtc/build/config/BUILDCONFIG.gn
23
@@ -132,6 +132,7 @@ declare_args() {
10
@@ -132,6 +132,7 @@ declare_args() {
24
 
11
 
25
   # Set to true when compiling with the Clang compiler.
12
   # Set to true when compiling with the Clang compiler.
Lines 35-51 index 571ae5f0d60d..863d428fc676 100644 Link Here
35
-  if (host_os == "linux" || host_os == "openbsd") {
22
-  if (host_os == "linux" || host_os == "openbsd") {
36
+  if (host_os == "linux" || host_os == "openbsd" || host_os == "freebsd") {
23
+  if (host_os == "linux" || host_os == "openbsd" || host_os == "freebsd") {
37
     if (target_os != "linux") {
24
     if (target_os != "linux") {
38
       host_toolchain = "//build/toolchain/linux:clang_$host_cpu"
25
       host_toolchain = "//chromium/build/toolchain/linux:clang_$host_cpu"
39
     } else if (is_clang) {
26
     } else if (is_clang) {
40
@@ -222,7 +223,7 @@ if (target_os == "android") {
27
@@ -222,7 +223,7 @@ if (target_os == "android") {
41
   assert(host_os == "linux" || host_os == "mac",
28
   assert(host_os == "linux" || host_os == "mac",
42
          "Android builds are only supported on Linux and Mac hosts.")
29
          "Android builds are only supported on Linux and Mac hosts.")
43
   _default_toolchain = "//build/toolchain/android:android_clang_$target_cpu"
30
   _default_toolchain = "//chromium/build/toolchain/android:android_clang_$target_cpu"
44
-} else if (target_os == "chromeos" || target_os == "linux" || target_os == "openbsd") {
31
-} else if (target_os == "chromeos" || target_os == "linux" || target_os == "openbsd") {
45
+} else if (target_os == "chromeos" || target_os == "linux" || target_os == "openbsd" || target_os == "freebsd") {
32
+} else if (target_os == "chromeos" || target_os == "linux" || target_os == "openbsd" || target_os == "freebsd") {
46
   # See comments in build/toolchain/cros/BUILD.gn about board compiles.
33
   # See comments in build/toolchain/cros/BUILD.gn about board compiles.
47
   if (is_clang) {
34
   if (is_clang) {
48
     _default_toolchain = "//build/toolchain/linux:clang_$target_cpu"
35
     _default_toolchain = "//chromium/build/toolchain/linux:clang_$target_cpu"
49
@@ -288,7 +289,7 @@ is_chromeos = current_os == "chromeos"
36
@@ -288,7 +289,7 @@ is_chromeos = current_os == "chromeos"
50
 is_fuchsia = current_os == "fuchsia"
37
 is_fuchsia = current_os == "fuchsia"
51
 is_ios = current_os == "ios"
38
 is_ios = current_os == "ios"
Lines 55-65 index 571ae5f0d60d..863d428fc676 100644 Link Here
55
 is_mac = current_os == "mac"
42
 is_mac = current_os == "mac"
56
 is_nacl = current_os == "nacl"
43
 is_nacl = current_os == "nacl"
57
 is_win = current_os == "win" || current_os == "winuwp"
44
 is_win = current_os == "win" || current_os == "winuwp"
45
diff --git third_party/libwebrtc/BUILD.gn third_party/libwebrtc/BUILD.gn
46
index 397df7b27b24..8a587feed6b9 100644
47
--- third_party/libwebrtc/BUILD.gn
48
+++ third_party/libwebrtc/BUILD.gn
49
@@ -107,7 +107,7 @@ if (!build_with_chromium && !build_with_mozilla) {
50
           "tools_webrtc/perf:webrtc_dashboard_upload",
51
         ]
52
       }
53
-      if ((is_linux || is_chromeos) && rtc_use_pipewire) {
54
+      if ((is_linux || is_chromeos || is_bsd) && rtc_use_pipewire) {
55
         deps += [ "modules/desktop_capture:shared_screencast_stream_test" ]
56
       }
57
     }
58
diff --git third_party/libwebrtc/modules/desktop_capture/BUILD.gn third_party/libwebrtc/modules/desktop_capture/BUILD.gn
58
diff --git third_party/libwebrtc/modules/desktop_capture/BUILD.gn third_party/libwebrtc/modules/desktop_capture/BUILD.gn
59
index c184e2fbbcac..e1af29734d8b 100644
59
index de00f688871c..e32c19d38c8d 100644
60
--- third_party/libwebrtc/modules/desktop_capture/BUILD.gn
60
--- third_party/libwebrtc/modules/desktop_capture/BUILD.gn
61
+++ third_party/libwebrtc/modules/desktop_capture/BUILD.gn
61
+++ third_party/libwebrtc/modules/desktop_capture/BUILD.gn
62
@@ -75,7 +75,7 @@ if (rtc_include_tests) {
62
@@ -74,7 +74,7 @@ if (rtc_include_tests) {
63
         "window_finder_unittest.cc",
63
         "window_finder_unittest.cc",
64
       ]
64
       ]
65
 
65
 
Lines 68-74 index c184e2fbbcac..e1af29734d8b 100644 Link Here
68
         configs += [ "../portal:gio" ]
68
         configs += [ "../portal:gio" ]
69
       }
69
       }
70
 
70
 
71
@@ -87,7 +87,7 @@ if (rtc_include_tests) {
71
@@ -86,7 +86,7 @@ if (rtc_include_tests) {
72
     }
72
     }
73
   }
73
   }
74
 
74
 
Lines 77-83 index c184e2fbbcac..e1af29734d8b 100644 Link Here
77
     rtc_test("shared_screencast_stream_test") {
77
     rtc_test("shared_screencast_stream_test") {
78
       testonly = true
78
       testonly = true
79
 
79
 
80
@@ -146,7 +146,7 @@ if (rtc_include_tests) {
80
@@ -145,7 +145,7 @@ if (rtc_include_tests) {
81
       "test_utils_unittest.cc",
81
       "test_utils_unittest.cc",
82
     ]
82
     ]
83
 
83
 
Lines 86-101 index c184e2fbbcac..e1af29734d8b 100644 Link Here
86
       configs += [ "../portal:gio" ]
86
       configs += [ "../portal:gio" ]
87
     }
87
     }
88
 
88
 
89
@@ -255,7 +255,7 @@ if (rtc_include_tests) {
89
@@ -267,7 +267,7 @@ if (rtc_include_tests) {
90
       "mock_desktop_capturer_callback.h",
91
     ]
92
 
93
-    if ((is_linux || is_chromeos) && rtc_use_pipewire) {
94
+    if ((is_linux || is_chromeos || is_bsd) && rtc_use_pipewire) {
95
       configs += [ "../portal:gio" ]
96
     }
97
 
98
@@ -268,7 +268,7 @@ if (rtc_include_tests) {
99
 }
90
 }
100
 
91
 
101
 # TODO(bugs.webrtc.org/14187): remove when all users are gone
92
 # TODO(bugs.webrtc.org/14187): remove when all users are gone
Lines 104-110 index c184e2fbbcac..e1af29734d8b 100644 Link Here
104
   config("pipewire_config") {
95
   config("pipewire_config") {
105
     configs = [ "../portal:pipewire_config" ]
96
     configs = [ "../portal:pipewire_config" ]
106
   }
97
   }
107
@@ -326,7 +326,7 @@ rtc_library("desktop_capture") {
98
@@ -330,7 +330,7 @@ rtc_library("desktop_capture") {
108
     "window_finder.cc",
99
     "window_finder.cc",
109
     "window_finder.h",
100
     "window_finder.h",
110
   ]
101
   ]
Lines 114-123 index c184e2fbbcac..e1af29734d8b 100644 Link Here
114
   }
105
   }
115
   if (is_mac) {
106
   if (is_mac) {
116
diff --git third_party/libwebrtc/modules/portal/BUILD.gn third_party/libwebrtc/modules/portal/BUILD.gn
107
diff --git third_party/libwebrtc/modules/portal/BUILD.gn third_party/libwebrtc/modules/portal/BUILD.gn
117
index d7768b2323c9..3593a6959277 100644
108
index 6828388b31af..7e1857d861c5 100644
118
--- third_party/libwebrtc/modules/portal/BUILD.gn
109
--- third_party/libwebrtc/modules/portal/BUILD.gn
119
+++ third_party/libwebrtc/modules/portal/BUILD.gn
110
+++ third_party/libwebrtc/modules/portal/BUILD.gn
120
@@ -10,7 +10,7 @@ import("//build/config/linux/pkg_config.gni")
111
@@ -10,7 +10,7 @@ import("//chromium/build/config/linux/pkg_config.gni")
121
 import("//tools/generate_stubs/rules.gni")
112
 import("//tools/generate_stubs/rules.gni")
122
 import("../../webrtc.gni")
113
 import("../../webrtc.gni")
123
 
114
 
Lines 127-136 index d7768b2323c9..3593a6959277 100644 Link Here
127
   pkg_config("gio") {
118
   pkg_config("gio") {
128
     packages = [
119
     packages = [
129
diff --git third_party/libwebrtc/webrtc.gni third_party/libwebrtc/webrtc.gni
120
diff --git third_party/libwebrtc/webrtc.gni third_party/libwebrtc/webrtc.gni
130
index b1db8ff88415..64e0cb8f7c79 100644
121
index 58b450cbb16e..00b9ca49c71f 100644
131
--- third_party/libwebrtc/webrtc.gni
122
--- third_party/libwebrtc/webrtc.gni
132
+++ third_party/libwebrtc/webrtc.gni
123
+++ third_party/libwebrtc/webrtc.gni
133
@@ -153,7 +153,7 @@ declare_args() {
124
@@ -154,7 +154,7 @@ declare_args() {
134
   # By default it's only enabled on desktop Linux (excludes ChromeOS) and
125
   # By default it's only enabled on desktop Linux (excludes ChromeOS) and
135
   # only when using the sysroot as PipeWire is not available in older and
126
   # only when using the sysroot as PipeWire is not available in older and
136
   # supported Ubuntu and Debian distributions.
127
   # supported Ubuntu and Debian distributions.
(-)a/www/librewolf/files/patch-tools_profiler_core_patform.cpp (-52 lines)
Removed Link Here
1
commit 45a7951cb6a9b1735b9b6cec89db69b5933715c7
2
Author: Christoph Moench-Tegeder <cmt@FreeBSD.org>
3
Date:   Mon Mar 28 21:54:35 2022 +0200
4
5
    FreeBSD can use sched_getcpu() from 1400046/1300524 on
6
7
diff --git tools/profiler/core/platform.cpp tools/profiler/core/platform.cpp
8
index 92bcc1100687..2f17a88942a8 100644
9
--- tools/profiler/core/platform.cpp
10
+++ tools/profiler/core/platform.cpp
11
@@ -111,6 +111,20 @@
12
 #  include <cpuid.h>
13
 #endif
14
 
15
+#if defined(GP_OS_freebsd)
16
+#include <sys/param.h>
17
+// "after making CPU_SET macros compatible with glibc"
18
+#  if __FreeBSD_version > 1400045 || (__FreeBSD_version > 1300523 && __FreeBSD_version < 1400000)
19
+#  include <sched.h>
20
+#  else
21
+#    if __x86_64__ || __i386__
22
+// similar cpuid_count() trick as on Darwin, using LLVM
23
+// but not for all CPUs
24
+#      include <cpuid.h>
25
+#    endif
26
+#  endif
27
+#endif
28
+
29
 #if defined(GP_OS_windows)
30
 #  include <processthreadsapi.h>
31
 
32
@@ -6368,6 +6382,19 @@ void profiler_mark_thread_awake() {
33
     cpuId = ebx >> 24;
34
   }
35
 #  endif
36
+#elif defined(GP_OS_freebsd) 
37
+#  if __FreeBSD_version > 1400045 || (__FreeBSD_version > 1300523 && __FreeBSD_version < 1400000)
38
+  cpuId = sched_getcpu();
39
+#  elif defined(__amd64__)
40
+  unsigned int eax, ebx, ecx, edx;
41
+  __cpuid_count(1, 0, eax, ebx, ecx, edx);
42
+  // Check if we have an APIC.
43
+  if ((edx & (1 << 9))) {
44
+    // APIC ID is bits 24-31 of EBX
45
+    cpuId = ebx >> 24;
46
+  }
47
+#  endif
48
+// the fallthrough is cpuID = 0
49
 #else
50
   cpuId = sched_getcpu();
51
 #endif
52
- 

Return to bug 283324