Added
Link Here
|
1 |
diff --git media/webrtc/trunk/moz.build media/webrtc/trunk/moz.build |
2 |
index 0292981c2191..67a761d5a135 100644 |
3 |
--- media/webrtc/trunk/moz.build |
4 |
+++ media/webrtc/trunk/moz.build |
5 |
@@ -96,7 +96,7 @@ if CONFIG["OS_TARGET"] == "WINNT": |
6 |
"/media/webrtc/trunk/webrtc/video_engine/video_engine_gn" |
7 |
] |
8 |
|
9 |
-if CONFIG["OS_TARGET"] == "Linux": |
10 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
11 |
|
12 |
DIRS += [ |
13 |
"/media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn", |
14 |
@@ -105,7 +105,6 @@ if CONFIG["OS_TARGET"] == "Linux": |
15 |
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn", |
16 |
"/media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn", |
17 |
"/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn", |
18 |
- "/media/webrtc/trunk/webrtc/system_wrappers/cpu_features_linux_gn", |
19 |
"/media/webrtc/trunk/webrtc/video_engine/video_engine_gn" |
20 |
] |
21 |
|
22 |
@@ -122,6 +121,71 @@ if CONFIG["OS_TARGET"] == "Darwin": |
23 |
"/media/webrtc/trunk/webrtc/video_engine/video_engine_gn" |
24 |
] |
25 |
|
26 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
27 |
+ |
28 |
+ DIRS += [ |
29 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn", |
30 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn", |
31 |
+ "/media/webrtc/trunk/webrtc/video_engine/video_engine_gn" |
32 |
+ ] |
33 |
+ |
34 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
35 |
+ |
36 |
+ DIRS += [ |
37 |
+ "/media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn", |
38 |
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn", |
39 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn", |
40 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn", |
41 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn", |
42 |
+ "/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn", |
43 |
+ "/media/webrtc/trunk/webrtc/video_engine/video_engine_gn" |
44 |
+ ] |
45 |
+ |
46 |
+if CONFIG["OS_TARGET"] == "Linux": |
47 |
+ |
48 |
+ DIRS += [ |
49 |
+ "/media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn", |
50 |
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn", |
51 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn", |
52 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn", |
53 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn", |
54 |
+ "/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn", |
55 |
+ "/media/webrtc/trunk/webrtc/system_wrappers/cpu_features_linux_gn", |
56 |
+ "/media/webrtc/trunk/webrtc/video_engine/video_engine_gn" |
57 |
+ ] |
58 |
+ |
59 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
60 |
+ |
61 |
+ DIRS += [ |
62 |
+ "/media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn", |
63 |
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn", |
64 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn", |
65 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn", |
66 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn", |
67 |
+ "/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn", |
68 |
+ "/media/webrtc/trunk/webrtc/video_engine/video_engine_gn" |
69 |
+ ] |
70 |
+ |
71 |
+if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "FreeBSD": |
72 |
+ |
73 |
+ DIRS += [ |
74 |
+ "/media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn", |
75 |
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn", |
76 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn", |
77 |
+ "/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn" |
78 |
+ ] |
79 |
+ |
80 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "FreeBSD": |
81 |
+ |
82 |
+ DIRS += [ |
83 |
+ "/media/webrtc/trunk/webrtc/common_audio/common_audio_neon_c_gn", |
84 |
+ "/media/webrtc/trunk/webrtc/common_audio/common_audio_neon_gn", |
85 |
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/isac_neon_gn", |
86 |
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_c_gn", |
87 |
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_gn", |
88 |
+ "/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_neon_gn" |
89 |
+ ] |
90 |
+ |
91 |
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android": |
92 |
|
93 |
DIRS += [ |
94 |
@@ -151,3 +215,12 @@ if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Android": |
95 |
"/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_gn", |
96 |
"/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_neon_gn" |
97 |
] |
98 |
+ |
99 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD": |
100 |
+ |
101 |
+ DIRS += [ |
102 |
+ "/media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn", |
103 |
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn", |
104 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn", |
105 |
+ "/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn" |
106 |
+ ] |
107 |
diff --git media/webrtc/trunk/webrtc/api/audio_mixer_api_gn/moz.build media/webrtc/trunk/webrtc/api/audio_mixer_api_gn/moz.build |
108 |
index 9f9b4e365084..ac0c9d5f246e 100644 |
109 |
--- media/webrtc/trunk/webrtc/api/audio_mixer_api_gn/moz.build |
110 |
+++ media/webrtc/trunk/webrtc/api/audio_mixer_api_gn/moz.build |
111 |
@@ -65,6 +65,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
112 |
DEFINES["WEBRTC_POSIX"] = True |
113 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
114 |
|
115 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
116 |
+ |
117 |
+ DEFINES["USE_X11"] = "1" |
118 |
+ DEFINES["WEBRTC_BSD"] = True |
119 |
+ DEFINES["WEBRTC_POSIX"] = True |
120 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
121 |
+ |
122 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
123 |
+ |
124 |
+ DEFINES["USE_X11"] = "1" |
125 |
+ DEFINES["WEBRTC_BSD"] = True |
126 |
+ DEFINES["WEBRTC_POSIX"] = True |
127 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
128 |
+ |
129 |
if CONFIG["OS_TARGET"] == "Linux": |
130 |
|
131 |
DEFINES["USE_NSS_CERTS"] = "1" |
132 |
@@ -73,6 +87,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
133 |
DEFINES["WEBRTC_POSIX"] = True |
134 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
135 |
|
136 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
137 |
+ |
138 |
+ DEFINES["USE_X11"] = "1" |
139 |
+ DEFINES["WEBRTC_BSD"] = True |
140 |
+ DEFINES["WEBRTC_POSIX"] = True |
141 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
142 |
+ |
143 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
144 |
+ |
145 |
+ DEFINES["USE_X11"] = "1" |
146 |
+ DEFINES["WEBRTC_BSD"] = True |
147 |
+ DEFINES["WEBRTC_POSIX"] = True |
148 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
149 |
+ |
150 |
if CONFIG["OS_TARGET"] == "WINNT": |
151 |
|
152 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
153 |
@@ -106,6 +134,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
154 |
|
155 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
156 |
|
157 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
158 |
+ |
159 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
160 |
+ |
161 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
162 |
+ |
163 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
164 |
+ |
165 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
166 |
+ |
167 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
168 |
+ |
169 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
170 |
+ |
171 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
172 |
+ |
173 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
174 |
|
175 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
176 |
@@ -121,6 +165,11 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
177 |
DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
178 |
DEFINES["WEBRTC_HAS_NEON"] = True |
179 |
|
180 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
181 |
+ |
182 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
183 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
184 |
+ |
185 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
186 |
|
187 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
188 |
@@ -132,4 +181,9 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
189 |
DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
190 |
DEFINES["WEBRTC_HAS_NEON"] = True |
191 |
|
192 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
193 |
+ |
194 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
195 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
196 |
+ |
197 |
Library("audio_mixer_api_gn") |
198 |
diff --git media/webrtc/trunk/webrtc/api/call_api_gn/moz.build media/webrtc/trunk/webrtc/api/call_api_gn/moz.build |
199 |
index 516ef78c4911..e83c47210c06 100644 |
200 |
--- media/webrtc/trunk/webrtc/api/call_api_gn/moz.build |
201 |
+++ media/webrtc/trunk/webrtc/api/call_api_gn/moz.build |
202 |
@@ -65,6 +65,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
203 |
DEFINES["WEBRTC_POSIX"] = True |
204 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
205 |
|
206 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
207 |
+ |
208 |
+ DEFINES["USE_X11"] = "1" |
209 |
+ DEFINES["WEBRTC_BSD"] = True |
210 |
+ DEFINES["WEBRTC_POSIX"] = True |
211 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
212 |
+ |
213 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
214 |
+ |
215 |
+ DEFINES["USE_X11"] = "1" |
216 |
+ DEFINES["WEBRTC_BSD"] = True |
217 |
+ DEFINES["WEBRTC_POSIX"] = True |
218 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
219 |
+ |
220 |
if CONFIG["OS_TARGET"] == "Linux": |
221 |
|
222 |
DEFINES["USE_NSS_CERTS"] = "1" |
223 |
@@ -73,6 +87,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
224 |
DEFINES["WEBRTC_POSIX"] = True |
225 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
226 |
|
227 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
228 |
+ |
229 |
+ DEFINES["USE_X11"] = "1" |
230 |
+ DEFINES["WEBRTC_BSD"] = True |
231 |
+ DEFINES["WEBRTC_POSIX"] = True |
232 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
233 |
+ |
234 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
235 |
+ |
236 |
+ DEFINES["USE_X11"] = "1" |
237 |
+ DEFINES["WEBRTC_BSD"] = True |
238 |
+ DEFINES["WEBRTC_POSIX"] = True |
239 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
240 |
+ |
241 |
if CONFIG["OS_TARGET"] == "WINNT": |
242 |
|
243 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
244 |
@@ -106,6 +134,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
245 |
|
246 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
247 |
|
248 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
249 |
+ |
250 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
251 |
+ |
252 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
253 |
+ |
254 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
255 |
+ |
256 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
257 |
+ |
258 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
259 |
+ |
260 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
261 |
+ |
262 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
263 |
+ |
264 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
265 |
|
266 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
267 |
@@ -121,6 +165,11 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
268 |
DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
269 |
DEFINES["WEBRTC_HAS_NEON"] = True |
270 |
|
271 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
272 |
+ |
273 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
274 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
275 |
+ |
276 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
277 |
|
278 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
279 |
@@ -132,4 +181,9 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
280 |
DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
281 |
DEFINES["WEBRTC_HAS_NEON"] = True |
282 |
|
283 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
284 |
+ |
285 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
286 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
287 |
+ |
288 |
Library("call_api_gn") |
289 |
diff --git media/webrtc/trunk/webrtc/api/transport_api_gn/moz.build media/webrtc/trunk/webrtc/api/transport_api_gn/moz.build |
290 |
index 2c864e42a07f..4d249b2e5402 100644 |
291 |
--- media/webrtc/trunk/webrtc/api/transport_api_gn/moz.build |
292 |
+++ media/webrtc/trunk/webrtc/api/transport_api_gn/moz.build |
293 |
@@ -61,6 +61,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
294 |
DEFINES["WEBRTC_POSIX"] = True |
295 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
296 |
|
297 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
298 |
+ |
299 |
+ DEFINES["USE_X11"] = "1" |
300 |
+ DEFINES["WEBRTC_BSD"] = True |
301 |
+ DEFINES["WEBRTC_POSIX"] = True |
302 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
303 |
+ |
304 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
305 |
+ |
306 |
+ DEFINES["USE_X11"] = "1" |
307 |
+ DEFINES["WEBRTC_BSD"] = True |
308 |
+ DEFINES["WEBRTC_POSIX"] = True |
309 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
310 |
+ |
311 |
if CONFIG["OS_TARGET"] == "Linux": |
312 |
|
313 |
DEFINES["USE_NSS_CERTS"] = "1" |
314 |
@@ -69,6 +83,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
315 |
DEFINES["WEBRTC_POSIX"] = True |
316 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
317 |
|
318 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
319 |
+ |
320 |
+ DEFINES["USE_X11"] = "1" |
321 |
+ DEFINES["WEBRTC_BSD"] = True |
322 |
+ DEFINES["WEBRTC_POSIX"] = True |
323 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
324 |
+ |
325 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
326 |
+ |
327 |
+ DEFINES["USE_X11"] = "1" |
328 |
+ DEFINES["WEBRTC_BSD"] = True |
329 |
+ DEFINES["WEBRTC_POSIX"] = True |
330 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
331 |
+ |
332 |
if CONFIG["OS_TARGET"] == "WINNT": |
333 |
|
334 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
335 |
@@ -102,6 +130,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
336 |
|
337 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
338 |
|
339 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
340 |
+ |
341 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
342 |
+ |
343 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
344 |
+ |
345 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
346 |
+ |
347 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
348 |
+ |
349 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
350 |
+ |
351 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
352 |
+ |
353 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
354 |
+ |
355 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
356 |
|
357 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
358 |
@@ -117,6 +161,11 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
359 |
DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
360 |
DEFINES["WEBRTC_HAS_NEON"] = True |
361 |
|
362 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
363 |
+ |
364 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
365 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
366 |
+ |
367 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
368 |
|
369 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
370 |
@@ -128,4 +177,9 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
371 |
DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
372 |
DEFINES["WEBRTC_HAS_NEON"] = True |
373 |
|
374 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
375 |
+ |
376 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
377 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
378 |
+ |
379 |
Library("transport_api_gn") |
380 |
diff --git media/webrtc/trunk/webrtc/api/video_frame_api_gn/moz.build media/webrtc/trunk/webrtc/api/video_frame_api_gn/moz.build |
381 |
index 29bea6b3d128..81b605fa0d37 100644 |
382 |
--- media/webrtc/trunk/webrtc/api/video_frame_api_gn/moz.build |
383 |
+++ media/webrtc/trunk/webrtc/api/video_frame_api_gn/moz.build |
384 |
@@ -71,6 +71,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
385 |
DEFINES["WEBRTC_POSIX"] = True |
386 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
387 |
|
388 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
389 |
+ |
390 |
+ DEFINES["USE_X11"] = "1" |
391 |
+ DEFINES["WEBRTC_BSD"] = True |
392 |
+ DEFINES["WEBRTC_POSIX"] = True |
393 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
394 |
+ |
395 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
396 |
+ |
397 |
+ DEFINES["USE_X11"] = "1" |
398 |
+ DEFINES["WEBRTC_BSD"] = True |
399 |
+ DEFINES["WEBRTC_POSIX"] = True |
400 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
401 |
+ |
402 |
if CONFIG["OS_TARGET"] == "Linux": |
403 |
|
404 |
DEFINES["USE_NSS_CERTS"] = "1" |
405 |
@@ -83,6 +97,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
406 |
"rt" |
407 |
] |
408 |
|
409 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
410 |
+ |
411 |
+ DEFINES["USE_X11"] = "1" |
412 |
+ DEFINES["WEBRTC_BSD"] = True |
413 |
+ DEFINES["WEBRTC_POSIX"] = True |
414 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
415 |
+ |
416 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
417 |
+ |
418 |
+ DEFINES["USE_X11"] = "1" |
419 |
+ DEFINES["WEBRTC_BSD"] = True |
420 |
+ DEFINES["WEBRTC_POSIX"] = True |
421 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
422 |
+ |
423 |
if CONFIG["OS_TARGET"] == "WINNT": |
424 |
|
425 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
426 |
@@ -120,6 +148,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
427 |
|
428 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
429 |
|
430 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
431 |
+ |
432 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
433 |
+ |
434 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
435 |
+ |
436 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
437 |
+ |
438 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
439 |
+ |
440 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
441 |
+ |
442 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
443 |
+ |
444 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
445 |
+ |
446 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
447 |
|
448 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
449 |
@@ -145,6 +189,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
450 |
"-msse2" |
451 |
] |
452 |
|
453 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
454 |
+ |
455 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
456 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
457 |
+ |
458 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
459 |
+ |
460 |
+ CXXFLAGS += [ |
461 |
+ "-msse2" |
462 |
+ ] |
463 |
+ |
464 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
465 |
+ |
466 |
+ CXXFLAGS += [ |
467 |
+ "-msse2" |
468 |
+ ] |
469 |
+ |
470 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
471 |
+ |
472 |
+ CXXFLAGS += [ |
473 |
+ "-msse2" |
474 |
+ ] |
475 |
+ |
476 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
477 |
|
478 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
479 |
@@ -166,4 +233,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
480 |
"-msse2" |
481 |
] |
482 |
|
483 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
484 |
+ |
485 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
486 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
487 |
+ |
488 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
489 |
+ |
490 |
+ CXXFLAGS += [ |
491 |
+ "-msse2" |
492 |
+ ] |
493 |
+ |
494 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
495 |
+ |
496 |
+ CXXFLAGS += [ |
497 |
+ "-msse2" |
498 |
+ ] |
499 |
+ |
500 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
501 |
+ |
502 |
+ CXXFLAGS += [ |
503 |
+ "-msse2" |
504 |
+ ] |
505 |
+ |
506 |
Library("video_frame_api_gn") |
507 |
diff --git media/webrtc/trunk/webrtc/audio/audio_gn/moz.build media/webrtc/trunk/webrtc/audio/audio_gn/moz.build |
508 |
index 31bfe517ce43..c43284f7e032 100644 |
509 |
--- media/webrtc/trunk/webrtc/audio/audio_gn/moz.build |
510 |
+++ media/webrtc/trunk/webrtc/audio/audio_gn/moz.build |
511 |
@@ -90,6 +90,22 @@ if CONFIG["OS_TARGET"] == "Darwin": |
512 |
"-framework CoreVideo" |
513 |
] |
514 |
|
515 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
516 |
+ |
517 |
+ DEFINES["USE_X11"] = "1" |
518 |
+ DEFINES["WEBRTC_BSD"] = True |
519 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
520 |
+ DEFINES["WEBRTC_POSIX"] = True |
521 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
522 |
+ |
523 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
524 |
+ |
525 |
+ DEFINES["USE_X11"] = "1" |
526 |
+ DEFINES["WEBRTC_BSD"] = True |
527 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
528 |
+ DEFINES["WEBRTC_POSIX"] = True |
529 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
530 |
+ |
531 |
if CONFIG["OS_TARGET"] == "Linux": |
532 |
|
533 |
DEFINES["USE_NSS_CERTS"] = "1" |
534 |
@@ -105,6 +121,22 @@ if CONFIG["OS_TARGET"] == "Linux": |
535 |
"rt" |
536 |
] |
537 |
|
538 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
539 |
+ |
540 |
+ DEFINES["USE_X11"] = "1" |
541 |
+ DEFINES["WEBRTC_BSD"] = True |
542 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
543 |
+ DEFINES["WEBRTC_POSIX"] = True |
544 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
545 |
+ |
546 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
547 |
+ |
548 |
+ DEFINES["USE_X11"] = "1" |
549 |
+ DEFINES["WEBRTC_BSD"] = True |
550 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
551 |
+ DEFINES["WEBRTC_POSIX"] = True |
552 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
553 |
+ |
554 |
if CONFIG["OS_TARGET"] == "WINNT": |
555 |
|
556 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
557 |
@@ -146,6 +178,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
558 |
|
559 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
560 |
|
561 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
562 |
+ |
563 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
564 |
+ |
565 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
566 |
+ |
567 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
568 |
+ |
569 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
570 |
+ |
571 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
572 |
+ |
573 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
574 |
+ |
575 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
576 |
+ |
577 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
578 |
|
579 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
580 |
@@ -171,6 +219,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
581 |
"-msse2" |
582 |
] |
583 |
|
584 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
585 |
+ |
586 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
587 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
588 |
+ |
589 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
590 |
+ |
591 |
+ CXXFLAGS += [ |
592 |
+ "-msse2" |
593 |
+ ] |
594 |
+ |
595 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
596 |
+ |
597 |
+ CXXFLAGS += [ |
598 |
+ "-msse2" |
599 |
+ ] |
600 |
+ |
601 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
602 |
+ |
603 |
+ CXXFLAGS += [ |
604 |
+ "-msse2" |
605 |
+ ] |
606 |
+ |
607 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
608 |
|
609 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
610 |
@@ -192,4 +263,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
611 |
"-msse2" |
612 |
] |
613 |
|
614 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
615 |
+ |
616 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
617 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
618 |
+ |
619 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
620 |
+ |
621 |
+ CXXFLAGS += [ |
622 |
+ "-msse2" |
623 |
+ ] |
624 |
+ |
625 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
626 |
+ |
627 |
+ CXXFLAGS += [ |
628 |
+ "-msse2" |
629 |
+ ] |
630 |
+ |
631 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
632 |
+ |
633 |
+ CXXFLAGS += [ |
634 |
+ "-msse2" |
635 |
+ ] |
636 |
+ |
637 |
Library("audio_gn") |
638 |
diff --git media/webrtc/trunk/webrtc/audio/utility/audio_frame_operations_gn/moz.build media/webrtc/trunk/webrtc/audio/utility/audio_frame_operations_gn/moz.build |
639 |
index 9fd694319308..26259d834b26 100644 |
640 |
--- media/webrtc/trunk/webrtc/audio/utility/audio_frame_operations_gn/moz.build |
641 |
+++ media/webrtc/trunk/webrtc/audio/utility/audio_frame_operations_gn/moz.build |
642 |
@@ -69,6 +69,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
643 |
DEFINES["WEBRTC_POSIX"] = True |
644 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
645 |
|
646 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
647 |
+ |
648 |
+ DEFINES["USE_X11"] = "1" |
649 |
+ DEFINES["WEBRTC_BSD"] = True |
650 |
+ DEFINES["WEBRTC_POSIX"] = True |
651 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
652 |
+ |
653 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
654 |
+ |
655 |
+ DEFINES["USE_X11"] = "1" |
656 |
+ DEFINES["WEBRTC_BSD"] = True |
657 |
+ DEFINES["WEBRTC_POSIX"] = True |
658 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
659 |
+ |
660 |
if CONFIG["OS_TARGET"] == "Linux": |
661 |
|
662 |
DEFINES["USE_NSS_CERTS"] = "1" |
663 |
@@ -77,6 +91,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
664 |
DEFINES["WEBRTC_POSIX"] = True |
665 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
666 |
|
667 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
668 |
+ |
669 |
+ DEFINES["USE_X11"] = "1" |
670 |
+ DEFINES["WEBRTC_BSD"] = True |
671 |
+ DEFINES["WEBRTC_POSIX"] = True |
672 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
673 |
+ |
674 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
675 |
+ |
676 |
+ DEFINES["USE_X11"] = "1" |
677 |
+ DEFINES["WEBRTC_BSD"] = True |
678 |
+ DEFINES["WEBRTC_POSIX"] = True |
679 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
680 |
+ |
681 |
if CONFIG["OS_TARGET"] == "WINNT": |
682 |
|
683 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
684 |
@@ -110,6 +138,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
685 |
|
686 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
687 |
|
688 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
689 |
+ |
690 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
691 |
+ |
692 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
693 |
+ |
694 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
695 |
+ |
696 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
697 |
+ |
698 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
699 |
+ |
700 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
701 |
+ |
702 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
703 |
+ |
704 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
705 |
|
706 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
707 |
@@ -135,6 +179,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
708 |
"-msse2" |
709 |
] |
710 |
|
711 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
712 |
+ |
713 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
714 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
715 |
+ |
716 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
717 |
+ |
718 |
+ CXXFLAGS += [ |
719 |
+ "-msse2" |
720 |
+ ] |
721 |
+ |
722 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
723 |
+ |
724 |
+ CXXFLAGS += [ |
725 |
+ "-msse2" |
726 |
+ ] |
727 |
+ |
728 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
729 |
+ |
730 |
+ CXXFLAGS += [ |
731 |
+ "-msse2" |
732 |
+ ] |
733 |
+ |
734 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
735 |
|
736 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
737 |
@@ -156,4 +223,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
738 |
"-msse2" |
739 |
] |
740 |
|
741 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
742 |
+ |
743 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
744 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
745 |
+ |
746 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
747 |
+ |
748 |
+ CXXFLAGS += [ |
749 |
+ "-msse2" |
750 |
+ ] |
751 |
+ |
752 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
753 |
+ |
754 |
+ CXXFLAGS += [ |
755 |
+ "-msse2" |
756 |
+ ] |
757 |
+ |
758 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
759 |
+ |
760 |
+ CXXFLAGS += [ |
761 |
+ "-msse2" |
762 |
+ ] |
763 |
+ |
764 |
Library("audio_frame_operations_gn") |
765 |
diff --git media/webrtc/trunk/webrtc/base/gtest_prod_gn/moz.build media/webrtc/trunk/webrtc/base/gtest_prod_gn/moz.build |
766 |
index 78e13fc728b4..54277e5cf0a2 100644 |
767 |
--- media/webrtc/trunk/webrtc/base/gtest_prod_gn/moz.build |
768 |
+++ media/webrtc/trunk/webrtc/base/gtest_prod_gn/moz.build |
769 |
@@ -61,6 +61,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
770 |
DEFINES["WEBRTC_POSIX"] = True |
771 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
772 |
|
773 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
774 |
+ |
775 |
+ DEFINES["USE_X11"] = "1" |
776 |
+ DEFINES["WEBRTC_BSD"] = True |
777 |
+ DEFINES["WEBRTC_POSIX"] = True |
778 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
779 |
+ |
780 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
781 |
+ |
782 |
+ DEFINES["USE_X11"] = "1" |
783 |
+ DEFINES["WEBRTC_BSD"] = True |
784 |
+ DEFINES["WEBRTC_POSIX"] = True |
785 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
786 |
+ |
787 |
if CONFIG["OS_TARGET"] == "Linux": |
788 |
|
789 |
DEFINES["USE_NSS_CERTS"] = "1" |
790 |
@@ -69,6 +83,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
791 |
DEFINES["WEBRTC_POSIX"] = True |
792 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
793 |
|
794 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
795 |
+ |
796 |
+ DEFINES["USE_X11"] = "1" |
797 |
+ DEFINES["WEBRTC_BSD"] = True |
798 |
+ DEFINES["WEBRTC_POSIX"] = True |
799 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
800 |
+ |
801 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
802 |
+ |
803 |
+ DEFINES["USE_X11"] = "1" |
804 |
+ DEFINES["WEBRTC_BSD"] = True |
805 |
+ DEFINES["WEBRTC_POSIX"] = True |
806 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
807 |
+ |
808 |
if CONFIG["OS_TARGET"] == "WINNT": |
809 |
|
810 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
811 |
@@ -102,6 +130,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
812 |
|
813 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
814 |
|
815 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
816 |
+ |
817 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
818 |
+ |
819 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
820 |
+ |
821 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
822 |
+ |
823 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
824 |
+ |
825 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
826 |
+ |
827 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
828 |
+ |
829 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
830 |
+ |
831 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
832 |
|
833 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
834 |
@@ -117,6 +161,11 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
835 |
DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
836 |
DEFINES["WEBRTC_HAS_NEON"] = True |
837 |
|
838 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
839 |
+ |
840 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
841 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
842 |
+ |
843 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
844 |
|
845 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
846 |
@@ -128,4 +177,9 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
847 |
DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
848 |
DEFINES["WEBRTC_HAS_NEON"] = True |
849 |
|
850 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
851 |
+ |
852 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
853 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
854 |
+ |
855 |
Library("gtest_prod_gn") |
856 |
diff --git media/webrtc/trunk/webrtc/base/rtc_base_approved_gn/moz.build media/webrtc/trunk/webrtc/base/rtc_base_approved_gn/moz.build |
857 |
index 9d8984d7314e..63f7424ead1b 100644 |
858 |
--- media/webrtc/trunk/webrtc/base/rtc_base_approved_gn/moz.build |
859 |
+++ media/webrtc/trunk/webrtc/base/rtc_base_approved_gn/moz.build |
860 |
@@ -107,6 +107,28 @@ if CONFIG["OS_TARGET"] == "Darwin": |
861 |
"/media/webrtc/trunk/webrtc/base/macutils.cc" |
862 |
] |
863 |
|
864 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
865 |
+ |
866 |
+ DEFINES["USE_X11"] = "1" |
867 |
+ DEFINES["WEBRTC_BSD"] = True |
868 |
+ DEFINES["WEBRTC_POSIX"] = True |
869 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
870 |
+ |
871 |
+ UNIFIED_SOURCES += [ |
872 |
+ "/media/webrtc/trunk/webrtc/base/file_posix.cc" |
873 |
+ ] |
874 |
+ |
875 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
876 |
+ |
877 |
+ DEFINES["USE_X11"] = "1" |
878 |
+ DEFINES["WEBRTC_BSD"] = True |
879 |
+ DEFINES["WEBRTC_POSIX"] = True |
880 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
881 |
+ |
882 |
+ UNIFIED_SOURCES += [ |
883 |
+ "/media/webrtc/trunk/webrtc/base/file_posix.cc" |
884 |
+ ] |
885 |
+ |
886 |
if CONFIG["OS_TARGET"] == "Linux": |
887 |
|
888 |
DEFINES["USE_NSS_CERTS"] = "1" |
889 |
@@ -119,6 +141,28 @@ if CONFIG["OS_TARGET"] == "Linux": |
890 |
"/media/webrtc/trunk/webrtc/base/file_posix.cc" |
891 |
] |
892 |
|
893 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
894 |
+ |
895 |
+ DEFINES["USE_X11"] = "1" |
896 |
+ DEFINES["WEBRTC_BSD"] = True |
897 |
+ DEFINES["WEBRTC_POSIX"] = True |
898 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
899 |
+ |
900 |
+ UNIFIED_SOURCES += [ |
901 |
+ "/media/webrtc/trunk/webrtc/base/file_posix.cc" |
902 |
+ ] |
903 |
+ |
904 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
905 |
+ |
906 |
+ DEFINES["USE_X11"] = "1" |
907 |
+ DEFINES["WEBRTC_BSD"] = True |
908 |
+ DEFINES["WEBRTC_POSIX"] = True |
909 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
910 |
+ |
911 |
+ UNIFIED_SOURCES += [ |
912 |
+ "/media/webrtc/trunk/webrtc/base/file_posix.cc" |
913 |
+ ] |
914 |
+ |
915 |
if CONFIG["OS_TARGET"] == "WINNT": |
916 |
|
917 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
918 |
@@ -157,6 +201,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
919 |
|
920 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
921 |
|
922 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
923 |
+ |
924 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
925 |
+ |
926 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
927 |
+ |
928 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
929 |
+ |
930 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
931 |
+ |
932 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
933 |
+ |
934 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
935 |
+ |
936 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
937 |
+ |
938 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
939 |
|
940 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
941 |
@@ -182,6 +242,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
942 |
"-msse2" |
943 |
] |
944 |
|
945 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
946 |
+ |
947 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
948 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
949 |
+ |
950 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
951 |
+ |
952 |
+ CXXFLAGS += [ |
953 |
+ "-msse2" |
954 |
+ ] |
955 |
+ |
956 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
957 |
+ |
958 |
+ CXXFLAGS += [ |
959 |
+ "-msse2" |
960 |
+ ] |
961 |
+ |
962 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
963 |
+ |
964 |
+ CXXFLAGS += [ |
965 |
+ "-msse2" |
966 |
+ ] |
967 |
+ |
968 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
969 |
|
970 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
971 |
@@ -203,4 +286,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
972 |
"-msse2" |
973 |
] |
974 |
|
975 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
976 |
+ |
977 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
978 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
979 |
+ |
980 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
981 |
+ |
982 |
+ CXXFLAGS += [ |
983 |
+ "-msse2" |
984 |
+ ] |
985 |
+ |
986 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
987 |
+ |
988 |
+ CXXFLAGS += [ |
989 |
+ "-msse2" |
990 |
+ ] |
991 |
+ |
992 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
993 |
+ |
994 |
+ CXXFLAGS += [ |
995 |
+ "-msse2" |
996 |
+ ] |
997 |
+ |
998 |
Library("rtc_base_approved_gn") |
999 |
diff --git media/webrtc/trunk/webrtc/base/rtc_numerics_gn/moz.build media/webrtc/trunk/webrtc/base/rtc_numerics_gn/moz.build |
1000 |
index 53f9ece07e2d..d4cf99fb0ca5 100644 |
1001 |
--- media/webrtc/trunk/webrtc/base/rtc_numerics_gn/moz.build |
1002 |
+++ media/webrtc/trunk/webrtc/base/rtc_numerics_gn/moz.build |
1003 |
@@ -69,6 +69,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
1004 |
DEFINES["WEBRTC_POSIX"] = True |
1005 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
1006 |
|
1007 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
1008 |
+ |
1009 |
+ DEFINES["USE_X11"] = "1" |
1010 |
+ DEFINES["WEBRTC_BSD"] = True |
1011 |
+ DEFINES["WEBRTC_POSIX"] = True |
1012 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
1013 |
+ |
1014 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
1015 |
+ |
1016 |
+ DEFINES["USE_X11"] = "1" |
1017 |
+ DEFINES["WEBRTC_BSD"] = True |
1018 |
+ DEFINES["WEBRTC_POSIX"] = True |
1019 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
1020 |
+ |
1021 |
if CONFIG["OS_TARGET"] == "Linux": |
1022 |
|
1023 |
DEFINES["USE_NSS_CERTS"] = "1" |
1024 |
@@ -77,6 +91,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
1025 |
DEFINES["WEBRTC_POSIX"] = True |
1026 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
1027 |
|
1028 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
1029 |
+ |
1030 |
+ DEFINES["USE_X11"] = "1" |
1031 |
+ DEFINES["WEBRTC_BSD"] = True |
1032 |
+ DEFINES["WEBRTC_POSIX"] = True |
1033 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
1034 |
+ |
1035 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
1036 |
+ |
1037 |
+ DEFINES["USE_X11"] = "1" |
1038 |
+ DEFINES["WEBRTC_BSD"] = True |
1039 |
+ DEFINES["WEBRTC_POSIX"] = True |
1040 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
1041 |
+ |
1042 |
if CONFIG["OS_TARGET"] == "WINNT": |
1043 |
|
1044 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
1045 |
@@ -110,6 +138,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
1046 |
|
1047 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
1048 |
|
1049 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
1050 |
+ |
1051 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
1052 |
+ |
1053 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
1054 |
+ |
1055 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
1056 |
+ |
1057 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
1058 |
+ |
1059 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
1060 |
+ |
1061 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
1062 |
+ |
1063 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
1064 |
+ |
1065 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
1066 |
|
1067 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
1068 |
@@ -135,6 +179,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
1069 |
"-msse2" |
1070 |
] |
1071 |
|
1072 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
1073 |
+ |
1074 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
1075 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
1076 |
+ |
1077 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
1078 |
+ |
1079 |
+ CXXFLAGS += [ |
1080 |
+ "-msse2" |
1081 |
+ ] |
1082 |
+ |
1083 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
1084 |
+ |
1085 |
+ CXXFLAGS += [ |
1086 |
+ "-msse2" |
1087 |
+ ] |
1088 |
+ |
1089 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
1090 |
+ |
1091 |
+ CXXFLAGS += [ |
1092 |
+ "-msse2" |
1093 |
+ ] |
1094 |
+ |
1095 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
1096 |
|
1097 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
1098 |
@@ -156,4 +223,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
1099 |
"-msse2" |
1100 |
] |
1101 |
|
1102 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
1103 |
+ |
1104 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
1105 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
1106 |
+ |
1107 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
1108 |
+ |
1109 |
+ CXXFLAGS += [ |
1110 |
+ "-msse2" |
1111 |
+ ] |
1112 |
+ |
1113 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
1114 |
+ |
1115 |
+ CXXFLAGS += [ |
1116 |
+ "-msse2" |
1117 |
+ ] |
1118 |
+ |
1119 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
1120 |
+ |
1121 |
+ CXXFLAGS += [ |
1122 |
+ "-msse2" |
1123 |
+ ] |
1124 |
+ |
1125 |
Library("rtc_numerics_gn") |
1126 |
diff --git media/webrtc/trunk/webrtc/base/rtc_task_queue_gn/moz.build media/webrtc/trunk/webrtc/base/rtc_task_queue_gn/moz.build |
1127 |
index 3d0babc48c28..11cd49ed3301 100644 |
1128 |
--- media/webrtc/trunk/webrtc/base/rtc_task_queue_gn/moz.build |
1129 |
+++ media/webrtc/trunk/webrtc/base/rtc_task_queue_gn/moz.build |
1130 |
@@ -86,6 +86,42 @@ if CONFIG["OS_TARGET"] == "Darwin": |
1131 |
"/media/webrtc/trunk/webrtc/base/task_queue_posix.cc" |
1132 |
] |
1133 |
|
1134 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
1135 |
+ |
1136 |
+ DEFINES["USE_X11"] = "1" |
1137 |
+ DEFINES["WEBRTC_BSD"] = True |
1138 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
1139 |
+ DEFINES["WEBRTC_POSIX"] = True |
1140 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
1141 |
+ |
1142 |
+ LOCAL_INCLUDES += [ |
1143 |
+ "/ipc/chromium/src/third_party/libevent/include/", |
1144 |
+ "/ipc/chromium/src/third_party/libevent/linux/" |
1145 |
+ ] |
1146 |
+ |
1147 |
+ UNIFIED_SOURCES += [ |
1148 |
+ "/media/webrtc/trunk/webrtc/base/task_queue_libevent.cc", |
1149 |
+ "/media/webrtc/trunk/webrtc/base/task_queue_posix.cc" |
1150 |
+ ] |
1151 |
+ |
1152 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
1153 |
+ |
1154 |
+ DEFINES["USE_X11"] = "1" |
1155 |
+ DEFINES["WEBRTC_BSD"] = True |
1156 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
1157 |
+ DEFINES["WEBRTC_POSIX"] = True |
1158 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
1159 |
+ |
1160 |
+ LOCAL_INCLUDES += [ |
1161 |
+ "/ipc/chromium/src/third_party/libevent/include/", |
1162 |
+ "/ipc/chromium/src/third_party/libevent/linux/" |
1163 |
+ ] |
1164 |
+ |
1165 |
+ UNIFIED_SOURCES += [ |
1166 |
+ "/media/webrtc/trunk/webrtc/base/task_queue_libevent.cc", |
1167 |
+ "/media/webrtc/trunk/webrtc/base/task_queue_posix.cc" |
1168 |
+ ] |
1169 |
+ |
1170 |
if CONFIG["OS_TARGET"] == "Linux": |
1171 |
|
1172 |
DEFINES["USE_NSS_CERTS"] = "1" |
1173 |
@@ -105,6 +141,42 @@ if CONFIG["OS_TARGET"] == "Linux": |
1174 |
"/media/webrtc/trunk/webrtc/base/task_queue_posix.cc" |
1175 |
] |
1176 |
|
1177 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
1178 |
+ |
1179 |
+ DEFINES["USE_X11"] = "1" |
1180 |
+ DEFINES["WEBRTC_BSD"] = True |
1181 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
1182 |
+ DEFINES["WEBRTC_POSIX"] = True |
1183 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
1184 |
+ |
1185 |
+ LOCAL_INCLUDES += [ |
1186 |
+ "/ipc/chromium/src/third_party/libevent/include/", |
1187 |
+ "/ipc/chromium/src/third_party/libevent/linux/" |
1188 |
+ ] |
1189 |
+ |
1190 |
+ UNIFIED_SOURCES += [ |
1191 |
+ "/media/webrtc/trunk/webrtc/base/task_queue_libevent.cc", |
1192 |
+ "/media/webrtc/trunk/webrtc/base/task_queue_posix.cc" |
1193 |
+ ] |
1194 |
+ |
1195 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
1196 |
+ |
1197 |
+ DEFINES["USE_X11"] = "1" |
1198 |
+ DEFINES["WEBRTC_BSD"] = True |
1199 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
1200 |
+ DEFINES["WEBRTC_POSIX"] = True |
1201 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
1202 |
+ |
1203 |
+ LOCAL_INCLUDES += [ |
1204 |
+ "/ipc/chromium/src/third_party/libevent/include/", |
1205 |
+ "/ipc/chromium/src/third_party/libevent/linux/" |
1206 |
+ ] |
1207 |
+ |
1208 |
+ UNIFIED_SOURCES += [ |
1209 |
+ "/media/webrtc/trunk/webrtc/base/task_queue_libevent.cc", |
1210 |
+ "/media/webrtc/trunk/webrtc/base/task_queue_posix.cc" |
1211 |
+ ] |
1212 |
+ |
1213 |
if CONFIG["OS_TARGET"] == "WINNT": |
1214 |
|
1215 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
1216 |
@@ -142,6 +214,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
1217 |
|
1218 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
1219 |
|
1220 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
1221 |
+ |
1222 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
1223 |
+ |
1224 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
1225 |
+ |
1226 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
1227 |
+ |
1228 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
1229 |
+ |
1230 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
1231 |
+ |
1232 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
1233 |
+ |
1234 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
1235 |
+ |
1236 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
1237 |
|
1238 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
1239 |
@@ -167,6 +255,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
1240 |
"-msse2" |
1241 |
] |
1242 |
|
1243 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
1244 |
+ |
1245 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
1246 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
1247 |
+ |
1248 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
1249 |
+ |
1250 |
+ CXXFLAGS += [ |
1251 |
+ "-msse2" |
1252 |
+ ] |
1253 |
+ |
1254 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
1255 |
+ |
1256 |
+ CXXFLAGS += [ |
1257 |
+ "-msse2" |
1258 |
+ ] |
1259 |
+ |
1260 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
1261 |
+ |
1262 |
+ CXXFLAGS += [ |
1263 |
+ "-msse2" |
1264 |
+ ] |
1265 |
+ |
1266 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
1267 |
|
1268 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
1269 |
@@ -188,4 +299,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
1270 |
"-msse2" |
1271 |
] |
1272 |
|
1273 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
1274 |
+ |
1275 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
1276 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
1277 |
+ |
1278 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
1279 |
+ |
1280 |
+ CXXFLAGS += [ |
1281 |
+ "-msse2" |
1282 |
+ ] |
1283 |
+ |
1284 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
1285 |
+ |
1286 |
+ CXXFLAGS += [ |
1287 |
+ "-msse2" |
1288 |
+ ] |
1289 |
+ |
1290 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
1291 |
+ |
1292 |
+ CXXFLAGS += [ |
1293 |
+ "-msse2" |
1294 |
+ ] |
1295 |
+ |
1296 |
Library("rtc_task_queue_gn") |
1297 |
diff --git media/webrtc/trunk/webrtc/call/call_gn/moz.build media/webrtc/trunk/webrtc/call/call_gn/moz.build |
1298 |
index 3f987c322ffd..303d67aa3930 100644 |
1299 |
--- media/webrtc/trunk/webrtc/call/call_gn/moz.build |
1300 |
+++ media/webrtc/trunk/webrtc/call/call_gn/moz.build |
1301 |
@@ -81,6 +81,22 @@ if CONFIG["OS_TARGET"] == "Darwin": |
1302 |
"-framework CoreVideo" |
1303 |
] |
1304 |
|
1305 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
1306 |
+ |
1307 |
+ DEFINES["USE_X11"] = "1" |
1308 |
+ DEFINES["WEBRTC_BSD"] = True |
1309 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
1310 |
+ DEFINES["WEBRTC_POSIX"] = True |
1311 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
1312 |
+ |
1313 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
1314 |
+ |
1315 |
+ DEFINES["USE_X11"] = "1" |
1316 |
+ DEFINES["WEBRTC_BSD"] = True |
1317 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
1318 |
+ DEFINES["WEBRTC_POSIX"] = True |
1319 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
1320 |
+ |
1321 |
if CONFIG["OS_TARGET"] == "Linux": |
1322 |
|
1323 |
DEFINES["USE_NSS_CERTS"] = "1" |
1324 |
@@ -96,6 +112,22 @@ if CONFIG["OS_TARGET"] == "Linux": |
1325 |
"rt" |
1326 |
] |
1327 |
|
1328 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
1329 |
+ |
1330 |
+ DEFINES["USE_X11"] = "1" |
1331 |
+ DEFINES["WEBRTC_BSD"] = True |
1332 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
1333 |
+ DEFINES["WEBRTC_POSIX"] = True |
1334 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
1335 |
+ |
1336 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
1337 |
+ |
1338 |
+ DEFINES["USE_X11"] = "1" |
1339 |
+ DEFINES["WEBRTC_BSD"] = True |
1340 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
1341 |
+ DEFINES["WEBRTC_POSIX"] = True |
1342 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
1343 |
+ |
1344 |
if CONFIG["OS_TARGET"] == "WINNT": |
1345 |
|
1346 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
1347 |
@@ -137,6 +169,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
1348 |
|
1349 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
1350 |
|
1351 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
1352 |
+ |
1353 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
1354 |
+ |
1355 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
1356 |
+ |
1357 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
1358 |
+ |
1359 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
1360 |
+ |
1361 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
1362 |
+ |
1363 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
1364 |
+ |
1365 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
1366 |
+ |
1367 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
1368 |
|
1369 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
1370 |
@@ -162,6 +210,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
1371 |
"-msse2" |
1372 |
] |
1373 |
|
1374 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
1375 |
+ |
1376 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
1377 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
1378 |
+ |
1379 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
1380 |
+ |
1381 |
+ CXXFLAGS += [ |
1382 |
+ "-msse2" |
1383 |
+ ] |
1384 |
+ |
1385 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
1386 |
+ |
1387 |
+ CXXFLAGS += [ |
1388 |
+ "-msse2" |
1389 |
+ ] |
1390 |
+ |
1391 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
1392 |
+ |
1393 |
+ CXXFLAGS += [ |
1394 |
+ "-msse2" |
1395 |
+ ] |
1396 |
+ |
1397 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
1398 |
|
1399 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
1400 |
@@ -183,4 +254,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
1401 |
"-msse2" |
1402 |
] |
1403 |
|
1404 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
1405 |
+ |
1406 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
1407 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
1408 |
+ |
1409 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
1410 |
+ |
1411 |
+ CXXFLAGS += [ |
1412 |
+ "-msse2" |
1413 |
+ ] |
1414 |
+ |
1415 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
1416 |
+ |
1417 |
+ CXXFLAGS += [ |
1418 |
+ "-msse2" |
1419 |
+ ] |
1420 |
+ |
1421 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
1422 |
+ |
1423 |
+ CXXFLAGS += [ |
1424 |
+ "-msse2" |
1425 |
+ ] |
1426 |
+ |
1427 |
Library("call_gn") |
1428 |
diff --git media/webrtc/trunk/webrtc/call/call_interfaces_gn/moz.build media/webrtc/trunk/webrtc/call/call_interfaces_gn/moz.build |
1429 |
index 9d353c04625b..7f28e1cd0dee 100644 |
1430 |
--- media/webrtc/trunk/webrtc/call/call_interfaces_gn/moz.build |
1431 |
+++ media/webrtc/trunk/webrtc/call/call_interfaces_gn/moz.build |
1432 |
@@ -65,6 +65,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
1433 |
DEFINES["WEBRTC_POSIX"] = True |
1434 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
1435 |
|
1436 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
1437 |
+ |
1438 |
+ DEFINES["USE_X11"] = "1" |
1439 |
+ DEFINES["WEBRTC_BSD"] = True |
1440 |
+ DEFINES["WEBRTC_POSIX"] = True |
1441 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
1442 |
+ |
1443 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
1444 |
+ |
1445 |
+ DEFINES["USE_X11"] = "1" |
1446 |
+ DEFINES["WEBRTC_BSD"] = True |
1447 |
+ DEFINES["WEBRTC_POSIX"] = True |
1448 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
1449 |
+ |
1450 |
if CONFIG["OS_TARGET"] == "Linux": |
1451 |
|
1452 |
DEFINES["USE_NSS_CERTS"] = "1" |
1453 |
@@ -73,6 +87,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
1454 |
DEFINES["WEBRTC_POSIX"] = True |
1455 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
1456 |
|
1457 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
1458 |
+ |
1459 |
+ DEFINES["USE_X11"] = "1" |
1460 |
+ DEFINES["WEBRTC_BSD"] = True |
1461 |
+ DEFINES["WEBRTC_POSIX"] = True |
1462 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
1463 |
+ |
1464 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
1465 |
+ |
1466 |
+ DEFINES["USE_X11"] = "1" |
1467 |
+ DEFINES["WEBRTC_BSD"] = True |
1468 |
+ DEFINES["WEBRTC_POSIX"] = True |
1469 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
1470 |
+ |
1471 |
if CONFIG["OS_TARGET"] == "WINNT": |
1472 |
|
1473 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
1474 |
@@ -106,6 +134,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
1475 |
|
1476 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
1477 |
|
1478 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
1479 |
+ |
1480 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
1481 |
+ |
1482 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
1483 |
+ |
1484 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
1485 |
+ |
1486 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
1487 |
+ |
1488 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
1489 |
+ |
1490 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
1491 |
+ |
1492 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
1493 |
+ |
1494 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
1495 |
|
1496 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
1497 |
@@ -131,6 +175,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
1498 |
"-msse2" |
1499 |
] |
1500 |
|
1501 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
1502 |
+ |
1503 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
1504 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
1505 |
+ |
1506 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
1507 |
+ |
1508 |
+ CXXFLAGS += [ |
1509 |
+ "-msse2" |
1510 |
+ ] |
1511 |
+ |
1512 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
1513 |
+ |
1514 |
+ CXXFLAGS += [ |
1515 |
+ "-msse2" |
1516 |
+ ] |
1517 |
+ |
1518 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
1519 |
+ |
1520 |
+ CXXFLAGS += [ |
1521 |
+ "-msse2" |
1522 |
+ ] |
1523 |
+ |
1524 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
1525 |
|
1526 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
1527 |
@@ -152,4 +219,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
1528 |
"-msse2" |
1529 |
] |
1530 |
|
1531 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
1532 |
+ |
1533 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
1534 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
1535 |
+ |
1536 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
1537 |
+ |
1538 |
+ CXXFLAGS += [ |
1539 |
+ "-msse2" |
1540 |
+ ] |
1541 |
+ |
1542 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
1543 |
+ |
1544 |
+ CXXFLAGS += [ |
1545 |
+ "-msse2" |
1546 |
+ ] |
1547 |
+ |
1548 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
1549 |
+ |
1550 |
+ CXXFLAGS += [ |
1551 |
+ "-msse2" |
1552 |
+ ] |
1553 |
+ |
1554 |
Library("call_interfaces_gn") |
1555 |
diff --git media/webrtc/trunk/webrtc/common_audio/common_audio_c_gn/moz.build media/webrtc/trunk/webrtc/common_audio/common_audio_c_gn/moz.build |
1556 |
index fb9ac6ffa332..5d4f59b94099 100644 |
1557 |
--- media/webrtc/trunk/webrtc/common_audio/common_audio_c_gn/moz.build |
1558 |
+++ media/webrtc/trunk/webrtc/common_audio/common_audio_c_gn/moz.build |
1559 |
@@ -114,6 +114,32 @@ if CONFIG["OS_TARGET"] == "Darwin": |
1560 |
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c" |
1561 |
] |
1562 |
|
1563 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
1564 |
+ |
1565 |
+ DEFINES["USE_X11"] = "1" |
1566 |
+ DEFINES["WEBRTC_BSD"] = True |
1567 |
+ DEFINES["WEBRTC_POSIX"] = True |
1568 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
1569 |
+ |
1570 |
+ UNIFIED_SOURCES += [ |
1571 |
+ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c", |
1572 |
+ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c", |
1573 |
+ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c" |
1574 |
+ ] |
1575 |
+ |
1576 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
1577 |
+ |
1578 |
+ DEFINES["USE_X11"] = "1" |
1579 |
+ DEFINES["WEBRTC_BSD"] = True |
1580 |
+ DEFINES["WEBRTC_POSIX"] = True |
1581 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
1582 |
+ |
1583 |
+ UNIFIED_SOURCES += [ |
1584 |
+ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c", |
1585 |
+ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c", |
1586 |
+ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c" |
1587 |
+ ] |
1588 |
+ |
1589 |
if CONFIG["OS_TARGET"] == "Linux": |
1590 |
|
1591 |
DEFINES["USE_NSS_CERTS"] = "1" |
1592 |
@@ -128,6 +154,32 @@ if CONFIG["OS_TARGET"] == "Linux": |
1593 |
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c" |
1594 |
] |
1595 |
|
1596 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
1597 |
+ |
1598 |
+ DEFINES["USE_X11"] = "1" |
1599 |
+ DEFINES["WEBRTC_BSD"] = True |
1600 |
+ DEFINES["WEBRTC_POSIX"] = True |
1601 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
1602 |
+ |
1603 |
+ UNIFIED_SOURCES += [ |
1604 |
+ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c", |
1605 |
+ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c", |
1606 |
+ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c" |
1607 |
+ ] |
1608 |
+ |
1609 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
1610 |
+ |
1611 |
+ DEFINES["USE_X11"] = "1" |
1612 |
+ DEFINES["WEBRTC_BSD"] = True |
1613 |
+ DEFINES["WEBRTC_POSIX"] = True |
1614 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
1615 |
+ |
1616 |
+ UNIFIED_SOURCES += [ |
1617 |
+ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c", |
1618 |
+ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c", |
1619 |
+ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c" |
1620 |
+ ] |
1621 |
+ |
1622 |
if CONFIG["OS_TARGET"] == "WINNT": |
1623 |
|
1624 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
1625 |
@@ -167,6 +219,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
1626 |
|
1627 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
1628 |
|
1629 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
1630 |
+ |
1631 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
1632 |
+ |
1633 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
1634 |
+ |
1635 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
1636 |
+ |
1637 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
1638 |
+ |
1639 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
1640 |
+ |
1641 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
1642 |
+ |
1643 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
1644 |
+ |
1645 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
1646 |
|
1647 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
1648 |
@@ -210,6 +278,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
1649 |
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c" |
1650 |
] |
1651 |
|
1652 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
1653 |
+ |
1654 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
1655 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
1656 |
+ |
1657 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
1658 |
+ |
1659 |
+ CFLAGS += [ |
1660 |
+ "-msse2" |
1661 |
+ ] |
1662 |
+ |
1663 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
1664 |
+ |
1665 |
+ CFLAGS += [ |
1666 |
+ "-msse2" |
1667 |
+ ] |
1668 |
+ |
1669 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
1670 |
+ |
1671 |
+ CFLAGS += [ |
1672 |
+ "-msse2" |
1673 |
+ ] |
1674 |
+ |
1675 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
1676 |
|
1677 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
1678 |
@@ -249,4 +340,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
1679 |
"/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c" |
1680 |
] |
1681 |
|
1682 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
1683 |
+ |
1684 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
1685 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
1686 |
+ |
1687 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
1688 |
+ |
1689 |
+ CFLAGS += [ |
1690 |
+ "-msse2" |
1691 |
+ ] |
1692 |
+ |
1693 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
1694 |
+ |
1695 |
+ CFLAGS += [ |
1696 |
+ "-msse2" |
1697 |
+ ] |
1698 |
+ |
1699 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
1700 |
+ |
1701 |
+ CFLAGS += [ |
1702 |
+ "-msse2" |
1703 |
+ ] |
1704 |
+ |
1705 |
Library("common_audio_c_gn") |
1706 |
diff --git media/webrtc/trunk/webrtc/common_audio/common_audio_gn/moz.build media/webrtc/trunk/webrtc/common_audio/common_audio_gn/moz.build |
1707 |
index 706886b0238a..f5eea840f093 100644 |
1708 |
--- media/webrtc/trunk/webrtc/common_audio/common_audio_gn/moz.build |
1709 |
+++ media/webrtc/trunk/webrtc/common_audio/common_audio_gn/moz.build |
1710 |
@@ -90,6 +90,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
1711 |
DEFINES["WEBRTC_POSIX"] = True |
1712 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
1713 |
|
1714 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
1715 |
+ |
1716 |
+ DEFINES["USE_X11"] = "1" |
1717 |
+ DEFINES["WEBRTC_BSD"] = True |
1718 |
+ DEFINES["WEBRTC_POSIX"] = True |
1719 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
1720 |
+ |
1721 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
1722 |
+ |
1723 |
+ DEFINES["USE_X11"] = "1" |
1724 |
+ DEFINES["WEBRTC_BSD"] = True |
1725 |
+ DEFINES["WEBRTC_POSIX"] = True |
1726 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
1727 |
+ |
1728 |
if CONFIG["OS_TARGET"] == "Linux": |
1729 |
|
1730 |
DEFINES["USE_NSS_CERTS"] = "1" |
1731 |
@@ -102,6 +116,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
1732 |
"rt" |
1733 |
] |
1734 |
|
1735 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
1736 |
+ |
1737 |
+ DEFINES["USE_X11"] = "1" |
1738 |
+ DEFINES["WEBRTC_BSD"] = True |
1739 |
+ DEFINES["WEBRTC_POSIX"] = True |
1740 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
1741 |
+ |
1742 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
1743 |
+ |
1744 |
+ DEFINES["USE_X11"] = "1" |
1745 |
+ DEFINES["WEBRTC_BSD"] = True |
1746 |
+ DEFINES["WEBRTC_POSIX"] = True |
1747 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
1748 |
+ |
1749 |
if CONFIG["OS_TARGET"] == "WINNT": |
1750 |
|
1751 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
1752 |
@@ -139,6 +167,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
1753 |
|
1754 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
1755 |
|
1756 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
1757 |
+ |
1758 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
1759 |
+ |
1760 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
1761 |
+ |
1762 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
1763 |
+ |
1764 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
1765 |
+ |
1766 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
1767 |
+ |
1768 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
1769 |
+ |
1770 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
1771 |
+ |
1772 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
1773 |
|
1774 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
1775 |
@@ -164,6 +208,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
1776 |
"-msse2" |
1777 |
] |
1778 |
|
1779 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
1780 |
+ |
1781 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
1782 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
1783 |
+ |
1784 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
1785 |
+ |
1786 |
+ CXXFLAGS += [ |
1787 |
+ "-msse2" |
1788 |
+ ] |
1789 |
+ |
1790 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
1791 |
+ |
1792 |
+ CXXFLAGS += [ |
1793 |
+ "-msse2" |
1794 |
+ ] |
1795 |
+ |
1796 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
1797 |
+ |
1798 |
+ CXXFLAGS += [ |
1799 |
+ "-msse2" |
1800 |
+ ] |
1801 |
+ |
1802 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
1803 |
|
1804 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
1805 |
@@ -185,4 +252,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
1806 |
"-msse2" |
1807 |
] |
1808 |
|
1809 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
1810 |
+ |
1811 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
1812 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
1813 |
+ |
1814 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
1815 |
+ |
1816 |
+ CXXFLAGS += [ |
1817 |
+ "-msse2" |
1818 |
+ ] |
1819 |
+ |
1820 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
1821 |
+ |
1822 |
+ CXXFLAGS += [ |
1823 |
+ "-msse2" |
1824 |
+ ] |
1825 |
+ |
1826 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
1827 |
+ |
1828 |
+ CXXFLAGS += [ |
1829 |
+ "-msse2" |
1830 |
+ ] |
1831 |
+ |
1832 |
Library("common_audio_gn") |
1833 |
diff --git media/webrtc/trunk/webrtc/common_audio/common_audio_neon_c_gn/moz.build media/webrtc/trunk/webrtc/common_audio/common_audio_neon_c_gn/moz.build |
1834 |
index 468e0f4b6779..fea41c9ad880 100644 |
1835 |
--- media/webrtc/trunk/webrtc/common_audio/common_audio_neon_c_gn/moz.build |
1836 |
+++ media/webrtc/trunk/webrtc/common_audio/common_audio_neon_c_gn/moz.build |
1837 |
@@ -10,25 +10,15 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] |
1838 |
COMPILE_FLAGS["STL"] = [] |
1839 |
AllowCompilerWarnings() |
1840 |
|
1841 |
-DEFINES["ANDROID"] = True |
1842 |
-DEFINES["ANDROID_NDK_VERSION"] = "r12b" |
1843 |
DEFINES["CHROMIUM_BUILD"] = True |
1844 |
-DEFINES["DISABLE_NACL"] = True |
1845 |
DEFINES["EXPAT_RELATIVE_PATH"] = True |
1846 |
-DEFINES["HAVE_SYS_UIO_H"] = True |
1847 |
-DEFINES["NO_TCMALLOC"] = True |
1848 |
-DEFINES["USE_OPENSSL_CERTS"] = "1" |
1849 |
DEFINES["V8_DEPRECATION_WARNINGS"] = True |
1850 |
-DEFINES["WEBRTC_ANDROID"] = True |
1851 |
-DEFINES["WEBRTC_ANDROID_OPENSLES"] = True |
1852 |
DEFINES["WEBRTC_HAS_NEON"] = True |
1853 |
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True |
1854 |
-DEFINES["WEBRTC_LINUX"] = True |
1855 |
DEFINES["WEBRTC_MOZILLA_BUILD"] = True |
1856 |
DEFINES["WEBRTC_POSIX"] = True |
1857 |
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True |
1858 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
1859 |
-DEFINES["__GNU_SOURCE"] = "1" |
1860 |
|
1861 |
FINAL_LIBRARY = "webrtc" |
1862 |
|
1863 |
@@ -58,6 +48,25 @@ if CONFIG["MOZ_DEBUG"] == "1": |
1864 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
1865 |
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1" |
1866 |
|
1867 |
+if CONFIG["OS_TARGET"] == "Android": |
1868 |
+ |
1869 |
+ DEFINES["ANDROID"] = True |
1870 |
+ DEFINES["ANDROID_NDK_VERSION"] = "r12b" |
1871 |
+ DEFINES["DISABLE_NACL"] = True |
1872 |
+ DEFINES["HAVE_SYS_UIO_H"] = True |
1873 |
+ DEFINES["NO_TCMALLOC"] = True |
1874 |
+ DEFINES["USE_OPENSSL_CERTS"] = "1" |
1875 |
+ DEFINES["WEBRTC_ANDROID"] = True |
1876 |
+ DEFINES["WEBRTC_ANDROID_OPENSLES"] = True |
1877 |
+ DEFINES["WEBRTC_LINUX"] = True |
1878 |
+ DEFINES["__GNU_SOURCE"] = "1" |
1879 |
+ |
1880 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
1881 |
+ |
1882 |
+ DEFINES["USE_X11"] = "1" |
1883 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
1884 |
+ DEFINES["WEBRTC_BSD"] = True |
1885 |
+ |
1886 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": |
1887 |
|
1888 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
1889 |
diff --git media/webrtc/trunk/webrtc/common_audio/common_audio_neon_gn/moz.build media/webrtc/trunk/webrtc/common_audio/common_audio_neon_gn/moz.build |
1890 |
index c35a5100983e..dcdd404efe35 100644 |
1891 |
--- media/webrtc/trunk/webrtc/common_audio/common_audio_neon_gn/moz.build |
1892 |
+++ media/webrtc/trunk/webrtc/common_audio/common_audio_neon_gn/moz.build |
1893 |
@@ -10,25 +10,15 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] |
1894 |
COMPILE_FLAGS["STL"] = [] |
1895 |
AllowCompilerWarnings() |
1896 |
|
1897 |
-DEFINES["ANDROID"] = True |
1898 |
-DEFINES["ANDROID_NDK_VERSION"] = "r12b" |
1899 |
DEFINES["CHROMIUM_BUILD"] = True |
1900 |
-DEFINES["DISABLE_NACL"] = True |
1901 |
DEFINES["EXPAT_RELATIVE_PATH"] = True |
1902 |
-DEFINES["HAVE_SYS_UIO_H"] = True |
1903 |
-DEFINES["NO_TCMALLOC"] = True |
1904 |
-DEFINES["USE_OPENSSL_CERTS"] = "1" |
1905 |
DEFINES["V8_DEPRECATION_WARNINGS"] = True |
1906 |
-DEFINES["WEBRTC_ANDROID"] = True |
1907 |
-DEFINES["WEBRTC_ANDROID_OPENSLES"] = True |
1908 |
DEFINES["WEBRTC_HAS_NEON"] = True |
1909 |
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True |
1910 |
-DEFINES["WEBRTC_LINUX"] = True |
1911 |
DEFINES["WEBRTC_MOZILLA_BUILD"] = True |
1912 |
DEFINES["WEBRTC_POSIX"] = True |
1913 |
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True |
1914 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
1915 |
-DEFINES["__GNU_SOURCE"] = "1" |
1916 |
|
1917 |
FINAL_LIBRARY = "webrtc" |
1918 |
|
1919 |
@@ -57,6 +47,25 @@ if CONFIG["MOZ_DEBUG"] == "1": |
1920 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
1921 |
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1" |
1922 |
|
1923 |
+if CONFIG["OS_TARGET"] == "Android": |
1924 |
+ |
1925 |
+ DEFINES["ANDROID"] = True |
1926 |
+ DEFINES["ANDROID_NDK_VERSION"] = "r12b" |
1927 |
+ DEFINES["DISABLE_NACL"] = True |
1928 |
+ DEFINES["HAVE_SYS_UIO_H"] = True |
1929 |
+ DEFINES["NO_TCMALLOC"] = True |
1930 |
+ DEFINES["USE_OPENSSL_CERTS"] = "1" |
1931 |
+ DEFINES["WEBRTC_ANDROID"] = True |
1932 |
+ DEFINES["WEBRTC_ANDROID_OPENSLES"] = True |
1933 |
+ DEFINES["WEBRTC_LINUX"] = True |
1934 |
+ DEFINES["__GNU_SOURCE"] = "1" |
1935 |
+ |
1936 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
1937 |
+ |
1938 |
+ DEFINES["USE_X11"] = "1" |
1939 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
1940 |
+ DEFINES["WEBRTC_BSD"] = True |
1941 |
+ |
1942 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": |
1943 |
|
1944 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
1945 |
diff --git media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn/moz.build media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn/moz.build |
1946 |
index b82e8740a0ab..5fa3c15bc163 100644 |
1947 |
--- media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn/moz.build |
1948 |
+++ media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn/moz.build |
1949 |
@@ -75,6 +75,28 @@ if CONFIG["OS_TARGET"] == "Darwin": |
1950 |
DEFINES["WEBRTC_POSIX"] = True |
1951 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
1952 |
|
1953 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
1954 |
+ |
1955 |
+ CXXFLAGS += [ |
1956 |
+ "-msse2" |
1957 |
+ ] |
1958 |
+ |
1959 |
+ DEFINES["USE_X11"] = "1" |
1960 |
+ DEFINES["WEBRTC_BSD"] = True |
1961 |
+ DEFINES["WEBRTC_POSIX"] = True |
1962 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
1963 |
+ |
1964 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
1965 |
+ |
1966 |
+ CXXFLAGS += [ |
1967 |
+ "-msse2" |
1968 |
+ ] |
1969 |
+ |
1970 |
+ DEFINES["USE_X11"] = "1" |
1971 |
+ DEFINES["WEBRTC_BSD"] = True |
1972 |
+ DEFINES["WEBRTC_POSIX"] = True |
1973 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
1974 |
+ |
1975 |
if CONFIG["OS_TARGET"] == "Linux": |
1976 |
|
1977 |
CXXFLAGS += [ |
1978 |
@@ -87,6 +109,29 @@ if CONFIG["OS_TARGET"] == "Linux": |
1979 |
DEFINES["WEBRTC_POSIX"] = True |
1980 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
1981 |
|
1982 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
1983 |
+ |
1984 |
+ CXXFLAGS += [ |
1985 |
+ "-msse2" |
1986 |
+ ] |
1987 |
+ |
1988 |
+ DEFINES["USE_X11"] = "1" |
1989 |
+ DEFINES["WEBRTC_BSD"] = True |
1990 |
+ DEFINES["WEBRTC_POSIX"] = True |
1991 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
1992 |
+ |
1993 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
1994 |
+ |
1995 |
+ CXXFLAGS += [ |
1996 |
+ "-msse2", |
1997 |
+ "-msse2" |
1998 |
+ ] |
1999 |
+ |
2000 |
+ DEFINES["USE_X11"] = "1" |
2001 |
+ DEFINES["WEBRTC_BSD"] = True |
2002 |
+ DEFINES["WEBRTC_POSIX"] = True |
2003 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2004 |
+ |
2005 |
if CONFIG["OS_TARGET"] == "WINNT": |
2006 |
|
2007 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
2008 |
@@ -120,6 +165,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
2009 |
|
2010 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
2011 |
|
2012 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
2013 |
+ |
2014 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2015 |
+ |
2016 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
2017 |
+ |
2018 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2019 |
+ |
2020 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
2021 |
+ |
2022 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2023 |
+ |
2024 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
2025 |
+ |
2026 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2027 |
+ |
2028 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
2029 |
|
2030 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
2031 |
diff --git media/webrtc/trunk/webrtc/common_video/common_video_gn/moz.build media/webrtc/trunk/webrtc/common_video/common_video_gn/moz.build |
2032 |
index 237df9942375..3a7cf3ddabc7 100644 |
2033 |
--- media/webrtc/trunk/webrtc/common_video/common_video_gn/moz.build |
2034 |
+++ media/webrtc/trunk/webrtc/common_video/common_video_gn/moz.build |
2035 |
@@ -93,6 +93,22 @@ if CONFIG["OS_TARGET"] == "Darwin": |
2036 |
"/media/webrtc/trunk/webrtc/common_video/corevideo_frame_buffer.cc" |
2037 |
] |
2038 |
|
2039 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
2040 |
+ |
2041 |
+ DEFINES["USE_X11"] = "1" |
2042 |
+ DEFINES["WEBRTC_BSD"] = True |
2043 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
2044 |
+ DEFINES["WEBRTC_POSIX"] = True |
2045 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2046 |
+ |
2047 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
2048 |
+ |
2049 |
+ DEFINES["USE_X11"] = "1" |
2050 |
+ DEFINES["WEBRTC_BSD"] = True |
2051 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
2052 |
+ DEFINES["WEBRTC_POSIX"] = True |
2053 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2054 |
+ |
2055 |
if CONFIG["OS_TARGET"] == "Linux": |
2056 |
|
2057 |
DEFINES["USE_NSS_CERTS"] = "1" |
2058 |
@@ -106,6 +122,22 @@ if CONFIG["OS_TARGET"] == "Linux": |
2059 |
"rt" |
2060 |
] |
2061 |
|
2062 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
2063 |
+ |
2064 |
+ DEFINES["USE_X11"] = "1" |
2065 |
+ DEFINES["WEBRTC_BSD"] = True |
2066 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
2067 |
+ DEFINES["WEBRTC_POSIX"] = True |
2068 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2069 |
+ |
2070 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
2071 |
+ |
2072 |
+ DEFINES["USE_X11"] = "1" |
2073 |
+ DEFINES["WEBRTC_BSD"] = True |
2074 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
2075 |
+ DEFINES["WEBRTC_POSIX"] = True |
2076 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2077 |
+ |
2078 |
if CONFIG["OS_TARGET"] == "WINNT": |
2079 |
|
2080 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
2081 |
@@ -143,6 +175,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
2082 |
|
2083 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
2084 |
|
2085 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
2086 |
+ |
2087 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2088 |
+ |
2089 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
2090 |
+ |
2091 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2092 |
+ |
2093 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
2094 |
+ |
2095 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2096 |
+ |
2097 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
2098 |
+ |
2099 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2100 |
+ |
2101 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
2102 |
|
2103 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
2104 |
@@ -168,6 +216,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
2105 |
"-msse2" |
2106 |
] |
2107 |
|
2108 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
2109 |
+ |
2110 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
2111 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
2112 |
+ |
2113 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
2114 |
+ |
2115 |
+ CXXFLAGS += [ |
2116 |
+ "-msse2" |
2117 |
+ ] |
2118 |
+ |
2119 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
2120 |
+ |
2121 |
+ CXXFLAGS += [ |
2122 |
+ "-msse2" |
2123 |
+ ] |
2124 |
+ |
2125 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
2126 |
+ |
2127 |
+ CXXFLAGS += [ |
2128 |
+ "-msse2" |
2129 |
+ ] |
2130 |
+ |
2131 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
2132 |
|
2133 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
2134 |
@@ -189,4 +260,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
2135 |
"-msse2" |
2136 |
] |
2137 |
|
2138 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
2139 |
+ |
2140 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
2141 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
2142 |
+ |
2143 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
2144 |
+ |
2145 |
+ CXXFLAGS += [ |
2146 |
+ "-msse2" |
2147 |
+ ] |
2148 |
+ |
2149 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
2150 |
+ |
2151 |
+ CXXFLAGS += [ |
2152 |
+ "-msse2" |
2153 |
+ ] |
2154 |
+ |
2155 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
2156 |
+ |
2157 |
+ CXXFLAGS += [ |
2158 |
+ "-msse2" |
2159 |
+ ] |
2160 |
+ |
2161 |
Library("common_video_gn") |
2162 |
diff --git media/webrtc/trunk/webrtc/logging/rtc_event_log_api_gn/moz.build media/webrtc/trunk/webrtc/logging/rtc_event_log_api_gn/moz.build |
2163 |
index 477ff0ddc459..5ffb1744904b 100644 |
2164 |
--- media/webrtc/trunk/webrtc/logging/rtc_event_log_api_gn/moz.build |
2165 |
+++ media/webrtc/trunk/webrtc/logging/rtc_event_log_api_gn/moz.build |
2166 |
@@ -61,6 +61,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
2167 |
DEFINES["WEBRTC_POSIX"] = True |
2168 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
2169 |
|
2170 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
2171 |
+ |
2172 |
+ DEFINES["USE_X11"] = "1" |
2173 |
+ DEFINES["WEBRTC_BSD"] = True |
2174 |
+ DEFINES["WEBRTC_POSIX"] = True |
2175 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2176 |
+ |
2177 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
2178 |
+ |
2179 |
+ DEFINES["USE_X11"] = "1" |
2180 |
+ DEFINES["WEBRTC_BSD"] = True |
2181 |
+ DEFINES["WEBRTC_POSIX"] = True |
2182 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2183 |
+ |
2184 |
if CONFIG["OS_TARGET"] == "Linux": |
2185 |
|
2186 |
DEFINES["USE_NSS_CERTS"] = "1" |
2187 |
@@ -69,6 +83,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
2188 |
DEFINES["WEBRTC_POSIX"] = True |
2189 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
2190 |
|
2191 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
2192 |
+ |
2193 |
+ DEFINES["USE_X11"] = "1" |
2194 |
+ DEFINES["WEBRTC_BSD"] = True |
2195 |
+ DEFINES["WEBRTC_POSIX"] = True |
2196 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2197 |
+ |
2198 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
2199 |
+ |
2200 |
+ DEFINES["USE_X11"] = "1" |
2201 |
+ DEFINES["WEBRTC_BSD"] = True |
2202 |
+ DEFINES["WEBRTC_POSIX"] = True |
2203 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2204 |
+ |
2205 |
if CONFIG["OS_TARGET"] == "WINNT": |
2206 |
|
2207 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
2208 |
@@ -102,6 +130,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
2209 |
|
2210 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
2211 |
|
2212 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
2213 |
+ |
2214 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2215 |
+ |
2216 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
2217 |
+ |
2218 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2219 |
+ |
2220 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
2221 |
+ |
2222 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2223 |
+ |
2224 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
2225 |
+ |
2226 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2227 |
+ |
2228 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
2229 |
|
2230 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
2231 |
@@ -117,6 +161,11 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
2232 |
DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
2233 |
DEFINES["WEBRTC_HAS_NEON"] = True |
2234 |
|
2235 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
2236 |
+ |
2237 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
2238 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
2239 |
+ |
2240 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
2241 |
|
2242 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
2243 |
@@ -128,4 +177,9 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
2244 |
DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
2245 |
DEFINES["WEBRTC_HAS_NEON"] = True |
2246 |
|
2247 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
2248 |
+ |
2249 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
2250 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
2251 |
+ |
2252 |
Library("rtc_event_log_api_gn") |
2253 |
diff --git media/webrtc/trunk/webrtc/logging/rtc_event_log_impl_gn/moz.build media/webrtc/trunk/webrtc/logging/rtc_event_log_impl_gn/moz.build |
2254 |
index 16d2861a0f2c..c87c2f914046 100644 |
2255 |
--- media/webrtc/trunk/webrtc/logging/rtc_event_log_impl_gn/moz.build |
2256 |
+++ media/webrtc/trunk/webrtc/logging/rtc_event_log_impl_gn/moz.build |
2257 |
@@ -75,6 +75,22 @@ if CONFIG["OS_TARGET"] == "Darwin": |
2258 |
"-framework CoreVideo" |
2259 |
] |
2260 |
|
2261 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
2262 |
+ |
2263 |
+ DEFINES["USE_X11"] = "1" |
2264 |
+ DEFINES["WEBRTC_BSD"] = True |
2265 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
2266 |
+ DEFINES["WEBRTC_POSIX"] = True |
2267 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2268 |
+ |
2269 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
2270 |
+ |
2271 |
+ DEFINES["USE_X11"] = "1" |
2272 |
+ DEFINES["WEBRTC_BSD"] = True |
2273 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
2274 |
+ DEFINES["WEBRTC_POSIX"] = True |
2275 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2276 |
+ |
2277 |
if CONFIG["OS_TARGET"] == "Linux": |
2278 |
|
2279 |
DEFINES["USE_NSS_CERTS"] = "1" |
2280 |
@@ -88,6 +104,22 @@ if CONFIG["OS_TARGET"] == "Linux": |
2281 |
"rt" |
2282 |
] |
2283 |
|
2284 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
2285 |
+ |
2286 |
+ DEFINES["USE_X11"] = "1" |
2287 |
+ DEFINES["WEBRTC_BSD"] = True |
2288 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
2289 |
+ DEFINES["WEBRTC_POSIX"] = True |
2290 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2291 |
+ |
2292 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
2293 |
+ |
2294 |
+ DEFINES["USE_X11"] = "1" |
2295 |
+ DEFINES["WEBRTC_BSD"] = True |
2296 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
2297 |
+ DEFINES["WEBRTC_POSIX"] = True |
2298 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2299 |
+ |
2300 |
if CONFIG["OS_TARGET"] == "WINNT": |
2301 |
|
2302 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
2303 |
@@ -125,6 +157,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
2304 |
|
2305 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
2306 |
|
2307 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
2308 |
+ |
2309 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2310 |
+ |
2311 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
2312 |
+ |
2313 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2314 |
+ |
2315 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
2316 |
+ |
2317 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2318 |
+ |
2319 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
2320 |
+ |
2321 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2322 |
+ |
2323 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
2324 |
|
2325 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
2326 |
@@ -150,6 +198,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
2327 |
"-msse2" |
2328 |
] |
2329 |
|
2330 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
2331 |
+ |
2332 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
2333 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
2334 |
+ |
2335 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
2336 |
+ |
2337 |
+ CXXFLAGS += [ |
2338 |
+ "-msse2" |
2339 |
+ ] |
2340 |
+ |
2341 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
2342 |
+ |
2343 |
+ CXXFLAGS += [ |
2344 |
+ "-msse2" |
2345 |
+ ] |
2346 |
+ |
2347 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
2348 |
+ |
2349 |
+ CXXFLAGS += [ |
2350 |
+ "-msse2" |
2351 |
+ ] |
2352 |
+ |
2353 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
2354 |
|
2355 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
2356 |
@@ -171,4 +242,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
2357 |
"-msse2" |
2358 |
] |
2359 |
|
2360 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
2361 |
+ |
2362 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
2363 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
2364 |
+ |
2365 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
2366 |
+ |
2367 |
+ CXXFLAGS += [ |
2368 |
+ "-msse2" |
2369 |
+ ] |
2370 |
+ |
2371 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
2372 |
+ |
2373 |
+ CXXFLAGS += [ |
2374 |
+ "-msse2" |
2375 |
+ ] |
2376 |
+ |
2377 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
2378 |
+ |
2379 |
+ CXXFLAGS += [ |
2380 |
+ "-msse2" |
2381 |
+ ] |
2382 |
+ |
2383 |
Library("rtc_event_log_impl_gn") |
2384 |
diff --git media/webrtc/trunk/webrtc/media/mozilla_rtc_media_gn/moz.build media/webrtc/trunk/webrtc/media/mozilla_rtc_media_gn/moz.build |
2385 |
index 46bdea513d72..e92a58f61921 100644 |
2386 |
--- media/webrtc/trunk/webrtc/media/mozilla_rtc_media_gn/moz.build |
2387 |
+++ media/webrtc/trunk/webrtc/media/mozilla_rtc_media_gn/moz.build |
2388 |
@@ -67,6 +67,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
2389 |
DEFINES["WEBRTC_POSIX"] = True |
2390 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
2391 |
|
2392 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
2393 |
+ |
2394 |
+ DEFINES["USE_X11"] = "1" |
2395 |
+ DEFINES["WEBRTC_BSD"] = True |
2396 |
+ DEFINES["WEBRTC_POSIX"] = True |
2397 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2398 |
+ |
2399 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
2400 |
+ |
2401 |
+ DEFINES["USE_X11"] = "1" |
2402 |
+ DEFINES["WEBRTC_BSD"] = True |
2403 |
+ DEFINES["WEBRTC_POSIX"] = True |
2404 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2405 |
+ |
2406 |
if CONFIG["OS_TARGET"] == "Linux": |
2407 |
|
2408 |
DEFINES["USE_NSS_CERTS"] = "1" |
2409 |
@@ -75,6 +89,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
2410 |
DEFINES["WEBRTC_POSIX"] = True |
2411 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
2412 |
|
2413 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
2414 |
+ |
2415 |
+ DEFINES["USE_X11"] = "1" |
2416 |
+ DEFINES["WEBRTC_BSD"] = True |
2417 |
+ DEFINES["WEBRTC_POSIX"] = True |
2418 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2419 |
+ |
2420 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
2421 |
+ |
2422 |
+ DEFINES["USE_X11"] = "1" |
2423 |
+ DEFINES["WEBRTC_BSD"] = True |
2424 |
+ DEFINES["WEBRTC_POSIX"] = True |
2425 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2426 |
+ |
2427 |
if CONFIG["OS_TARGET"] == "WINNT": |
2428 |
|
2429 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
2430 |
@@ -108,6 +136,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
2431 |
|
2432 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
2433 |
|
2434 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
2435 |
+ |
2436 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2437 |
+ |
2438 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
2439 |
+ |
2440 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2441 |
+ |
2442 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
2443 |
+ |
2444 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2445 |
+ |
2446 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
2447 |
+ |
2448 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2449 |
+ |
2450 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
2451 |
|
2452 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
2453 |
@@ -133,6 +177,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
2454 |
"-msse2" |
2455 |
] |
2456 |
|
2457 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
2458 |
+ |
2459 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
2460 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
2461 |
+ |
2462 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
2463 |
+ |
2464 |
+ CXXFLAGS += [ |
2465 |
+ "-msse2" |
2466 |
+ ] |
2467 |
+ |
2468 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
2469 |
+ |
2470 |
+ CXXFLAGS += [ |
2471 |
+ "-msse2" |
2472 |
+ ] |
2473 |
+ |
2474 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
2475 |
+ |
2476 |
+ CXXFLAGS += [ |
2477 |
+ "-msse2" |
2478 |
+ ] |
2479 |
+ |
2480 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
2481 |
|
2482 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
2483 |
@@ -154,4 +221,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
2484 |
"-msse2" |
2485 |
] |
2486 |
|
2487 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
2488 |
+ |
2489 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
2490 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
2491 |
+ |
2492 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
2493 |
+ |
2494 |
+ CXXFLAGS += [ |
2495 |
+ "-msse2" |
2496 |
+ ] |
2497 |
+ |
2498 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
2499 |
+ |
2500 |
+ CXXFLAGS += [ |
2501 |
+ "-msse2" |
2502 |
+ ] |
2503 |
+ |
2504 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
2505 |
+ |
2506 |
+ CXXFLAGS += [ |
2507 |
+ "-msse2" |
2508 |
+ ] |
2509 |
+ |
2510 |
Library("mozilla_rtc_media_gn") |
2511 |
diff --git media/webrtc/trunk/webrtc/modules/audio_coding/audio_coding_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/audio_coding_gn/moz.build |
2512 |
index 7b8b52a50144..848e05c7f8d9 100644 |
2513 |
--- media/webrtc/trunk/webrtc/modules/audio_coding/audio_coding_gn/moz.build |
2514 |
+++ media/webrtc/trunk/webrtc/modules/audio_coding/audio_coding_gn/moz.build |
2515 |
@@ -92,6 +92,28 @@ if CONFIG["OS_TARGET"] == "Darwin": |
2516 |
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" |
2517 |
] |
2518 |
|
2519 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
2520 |
+ |
2521 |
+ DEFINES["USE_X11"] = "1" |
2522 |
+ DEFINES["WEBRTC_BSD"] = True |
2523 |
+ DEFINES["WEBRTC_POSIX"] = True |
2524 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2525 |
+ |
2526 |
+ LOCAL_INCLUDES += [ |
2527 |
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" |
2528 |
+ ] |
2529 |
+ |
2530 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
2531 |
+ |
2532 |
+ DEFINES["USE_X11"] = "1" |
2533 |
+ DEFINES["WEBRTC_BSD"] = True |
2534 |
+ DEFINES["WEBRTC_POSIX"] = True |
2535 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2536 |
+ |
2537 |
+ LOCAL_INCLUDES += [ |
2538 |
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" |
2539 |
+ ] |
2540 |
+ |
2541 |
if CONFIG["OS_TARGET"] == "Linux": |
2542 |
|
2543 |
DEFINES["USE_NSS_CERTS"] = "1" |
2544 |
@@ -109,6 +131,28 @@ if CONFIG["OS_TARGET"] == "Linux": |
2545 |
"rt" |
2546 |
] |
2547 |
|
2548 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
2549 |
+ |
2550 |
+ DEFINES["USE_X11"] = "1" |
2551 |
+ DEFINES["WEBRTC_BSD"] = True |
2552 |
+ DEFINES["WEBRTC_POSIX"] = True |
2553 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2554 |
+ |
2555 |
+ LOCAL_INCLUDES += [ |
2556 |
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" |
2557 |
+ ] |
2558 |
+ |
2559 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
2560 |
+ |
2561 |
+ DEFINES["USE_X11"] = "1" |
2562 |
+ DEFINES["WEBRTC_BSD"] = True |
2563 |
+ DEFINES["WEBRTC_POSIX"] = True |
2564 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2565 |
+ |
2566 |
+ LOCAL_INCLUDES += [ |
2567 |
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" |
2568 |
+ ] |
2569 |
+ |
2570 |
if CONFIG["OS_TARGET"] == "WINNT": |
2571 |
|
2572 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
2573 |
@@ -150,6 +194,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
2574 |
|
2575 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
2576 |
|
2577 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
2578 |
+ |
2579 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2580 |
+ |
2581 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
2582 |
+ |
2583 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2584 |
+ |
2585 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
2586 |
+ |
2587 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2588 |
+ |
2589 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
2590 |
+ |
2591 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2592 |
+ |
2593 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
2594 |
|
2595 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
2596 |
@@ -187,6 +247,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
2597 |
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" |
2598 |
] |
2599 |
|
2600 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
2601 |
+ |
2602 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
2603 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
2604 |
+ |
2605 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
2606 |
+ |
2607 |
+ CXXFLAGS += [ |
2608 |
+ "-msse2" |
2609 |
+ ] |
2610 |
+ |
2611 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
2612 |
+ |
2613 |
+ CXXFLAGS += [ |
2614 |
+ "-msse2" |
2615 |
+ ] |
2616 |
+ |
2617 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
2618 |
+ |
2619 |
+ CXXFLAGS += [ |
2620 |
+ "-msse2" |
2621 |
+ ] |
2622 |
+ |
2623 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
2624 |
|
2625 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
2626 |
@@ -220,4 +303,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
2627 |
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" |
2628 |
] |
2629 |
|
2630 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
2631 |
+ |
2632 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
2633 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
2634 |
+ |
2635 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
2636 |
+ |
2637 |
+ CXXFLAGS += [ |
2638 |
+ "-msse2" |
2639 |
+ ] |
2640 |
+ |
2641 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
2642 |
+ |
2643 |
+ CXXFLAGS += [ |
2644 |
+ "-msse2" |
2645 |
+ ] |
2646 |
+ |
2647 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
2648 |
+ |
2649 |
+ CXXFLAGS += [ |
2650 |
+ "-msse2" |
2651 |
+ ] |
2652 |
+ |
2653 |
Library("audio_coding_gn") |
2654 |
diff --git media/webrtc/trunk/webrtc/modules/audio_coding/audio_decoder_factory_interface_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/audio_decoder_factory_interface_gn/moz.build |
2655 |
index b0a1acb1952e..c14a19fc2474 100644 |
2656 |
--- media/webrtc/trunk/webrtc/modules/audio_coding/audio_decoder_factory_interface_gn/moz.build |
2657 |
+++ media/webrtc/trunk/webrtc/modules/audio_coding/audio_decoder_factory_interface_gn/moz.build |
2658 |
@@ -65,6 +65,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
2659 |
DEFINES["WEBRTC_POSIX"] = True |
2660 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
2661 |
|
2662 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
2663 |
+ |
2664 |
+ DEFINES["USE_X11"] = "1" |
2665 |
+ DEFINES["WEBRTC_BSD"] = True |
2666 |
+ DEFINES["WEBRTC_POSIX"] = True |
2667 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2668 |
+ |
2669 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
2670 |
+ |
2671 |
+ DEFINES["USE_X11"] = "1" |
2672 |
+ DEFINES["WEBRTC_BSD"] = True |
2673 |
+ DEFINES["WEBRTC_POSIX"] = True |
2674 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2675 |
+ |
2676 |
if CONFIG["OS_TARGET"] == "Linux": |
2677 |
|
2678 |
DEFINES["USE_NSS_CERTS"] = "1" |
2679 |
@@ -73,6 +87,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
2680 |
DEFINES["WEBRTC_POSIX"] = True |
2681 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
2682 |
|
2683 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
2684 |
+ |
2685 |
+ DEFINES["USE_X11"] = "1" |
2686 |
+ DEFINES["WEBRTC_BSD"] = True |
2687 |
+ DEFINES["WEBRTC_POSIX"] = True |
2688 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2689 |
+ |
2690 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
2691 |
+ |
2692 |
+ DEFINES["USE_X11"] = "1" |
2693 |
+ DEFINES["WEBRTC_BSD"] = True |
2694 |
+ DEFINES["WEBRTC_POSIX"] = True |
2695 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2696 |
+ |
2697 |
if CONFIG["OS_TARGET"] == "WINNT": |
2698 |
|
2699 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
2700 |
@@ -106,6 +134,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
2701 |
|
2702 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
2703 |
|
2704 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
2705 |
+ |
2706 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2707 |
+ |
2708 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
2709 |
+ |
2710 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2711 |
+ |
2712 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
2713 |
+ |
2714 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2715 |
+ |
2716 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
2717 |
+ |
2718 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2719 |
+ |
2720 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
2721 |
|
2722 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
2723 |
@@ -121,6 +165,11 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
2724 |
DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
2725 |
DEFINES["WEBRTC_HAS_NEON"] = True |
2726 |
|
2727 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
2728 |
+ |
2729 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
2730 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
2731 |
+ |
2732 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
2733 |
|
2734 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
2735 |
@@ -132,4 +181,9 @@ if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
2736 |
DEFINES["WEBRTC_ARCH_ARM_V7"] = True |
2737 |
DEFINES["WEBRTC_HAS_NEON"] = True |
2738 |
|
2739 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
2740 |
+ |
2741 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
2742 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
2743 |
+ |
2744 |
Library("audio_decoder_factory_interface_gn") |
2745 |
diff --git media/webrtc/trunk/webrtc/modules/audio_coding/audio_decoder_interface_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/audio_decoder_interface_gn/moz.build |
2746 |
index 458c3695687a..9d7d81d2bc22 100644 |
2747 |
--- media/webrtc/trunk/webrtc/modules/audio_coding/audio_decoder_interface_gn/moz.build |
2748 |
+++ media/webrtc/trunk/webrtc/modules/audio_coding/audio_decoder_interface_gn/moz.build |
2749 |
@@ -70,6 +70,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
2750 |
DEFINES["WEBRTC_POSIX"] = True |
2751 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
2752 |
|
2753 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
2754 |
+ |
2755 |
+ DEFINES["USE_X11"] = "1" |
2756 |
+ DEFINES["WEBRTC_BSD"] = True |
2757 |
+ DEFINES["WEBRTC_POSIX"] = True |
2758 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2759 |
+ |
2760 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
2761 |
+ |
2762 |
+ DEFINES["USE_X11"] = "1" |
2763 |
+ DEFINES["WEBRTC_BSD"] = True |
2764 |
+ DEFINES["WEBRTC_POSIX"] = True |
2765 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2766 |
+ |
2767 |
if CONFIG["OS_TARGET"] == "Linux": |
2768 |
|
2769 |
DEFINES["USE_NSS_CERTS"] = "1" |
2770 |
@@ -78,6 +92,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
2771 |
DEFINES["WEBRTC_POSIX"] = True |
2772 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
2773 |
|
2774 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
2775 |
+ |
2776 |
+ DEFINES["USE_X11"] = "1" |
2777 |
+ DEFINES["WEBRTC_BSD"] = True |
2778 |
+ DEFINES["WEBRTC_POSIX"] = True |
2779 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2780 |
+ |
2781 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
2782 |
+ |
2783 |
+ DEFINES["USE_X11"] = "1" |
2784 |
+ DEFINES["WEBRTC_BSD"] = True |
2785 |
+ DEFINES["WEBRTC_POSIX"] = True |
2786 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2787 |
+ |
2788 |
if CONFIG["OS_TARGET"] == "WINNT": |
2789 |
|
2790 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
2791 |
@@ -111,6 +139,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
2792 |
|
2793 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
2794 |
|
2795 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
2796 |
+ |
2797 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2798 |
+ |
2799 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
2800 |
+ |
2801 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2802 |
+ |
2803 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
2804 |
+ |
2805 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2806 |
+ |
2807 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
2808 |
+ |
2809 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2810 |
+ |
2811 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
2812 |
|
2813 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
2814 |
@@ -136,6 +180,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
2815 |
"-msse2" |
2816 |
] |
2817 |
|
2818 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
2819 |
+ |
2820 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
2821 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
2822 |
+ |
2823 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
2824 |
+ |
2825 |
+ CXXFLAGS += [ |
2826 |
+ "-msse2" |
2827 |
+ ] |
2828 |
+ |
2829 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
2830 |
+ |
2831 |
+ CXXFLAGS += [ |
2832 |
+ "-msse2" |
2833 |
+ ] |
2834 |
+ |
2835 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
2836 |
+ |
2837 |
+ CXXFLAGS += [ |
2838 |
+ "-msse2" |
2839 |
+ ] |
2840 |
+ |
2841 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
2842 |
|
2843 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
2844 |
@@ -157,4 +224,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
2845 |
"-msse2" |
2846 |
] |
2847 |
|
2848 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
2849 |
+ |
2850 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
2851 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
2852 |
+ |
2853 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
2854 |
+ |
2855 |
+ CXXFLAGS += [ |
2856 |
+ "-msse2" |
2857 |
+ ] |
2858 |
+ |
2859 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
2860 |
+ |
2861 |
+ CXXFLAGS += [ |
2862 |
+ "-msse2" |
2863 |
+ ] |
2864 |
+ |
2865 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
2866 |
+ |
2867 |
+ CXXFLAGS += [ |
2868 |
+ "-msse2" |
2869 |
+ ] |
2870 |
+ |
2871 |
Library("audio_decoder_interface_gn") |
2872 |
diff --git media/webrtc/trunk/webrtc/modules/audio_coding/audio_encoder_interface_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/audio_encoder_interface_gn/moz.build |
2873 |
index 5e26fb762d85..2e9d4bf8cc8a 100644 |
2874 |
--- media/webrtc/trunk/webrtc/modules/audio_coding/audio_encoder_interface_gn/moz.build |
2875 |
+++ media/webrtc/trunk/webrtc/modules/audio_coding/audio_encoder_interface_gn/moz.build |
2876 |
@@ -69,6 +69,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
2877 |
DEFINES["WEBRTC_POSIX"] = True |
2878 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
2879 |
|
2880 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
2881 |
+ |
2882 |
+ DEFINES["USE_X11"] = "1" |
2883 |
+ DEFINES["WEBRTC_BSD"] = True |
2884 |
+ DEFINES["WEBRTC_POSIX"] = True |
2885 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2886 |
+ |
2887 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
2888 |
+ |
2889 |
+ DEFINES["USE_X11"] = "1" |
2890 |
+ DEFINES["WEBRTC_BSD"] = True |
2891 |
+ DEFINES["WEBRTC_POSIX"] = True |
2892 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2893 |
+ |
2894 |
if CONFIG["OS_TARGET"] == "Linux": |
2895 |
|
2896 |
DEFINES["USE_NSS_CERTS"] = "1" |
2897 |
@@ -77,6 +91,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
2898 |
DEFINES["WEBRTC_POSIX"] = True |
2899 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
2900 |
|
2901 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
2902 |
+ |
2903 |
+ DEFINES["USE_X11"] = "1" |
2904 |
+ DEFINES["WEBRTC_BSD"] = True |
2905 |
+ DEFINES["WEBRTC_POSIX"] = True |
2906 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2907 |
+ |
2908 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
2909 |
+ |
2910 |
+ DEFINES["USE_X11"] = "1" |
2911 |
+ DEFINES["WEBRTC_BSD"] = True |
2912 |
+ DEFINES["WEBRTC_POSIX"] = True |
2913 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
2914 |
+ |
2915 |
if CONFIG["OS_TARGET"] == "WINNT": |
2916 |
|
2917 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
2918 |
@@ -110,6 +138,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
2919 |
|
2920 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
2921 |
|
2922 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
2923 |
+ |
2924 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2925 |
+ |
2926 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
2927 |
+ |
2928 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2929 |
+ |
2930 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
2931 |
+ |
2932 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2933 |
+ |
2934 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
2935 |
+ |
2936 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
2937 |
+ |
2938 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
2939 |
|
2940 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
2941 |
@@ -135,6 +179,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
2942 |
"-msse2" |
2943 |
] |
2944 |
|
2945 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
2946 |
+ |
2947 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
2948 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
2949 |
+ |
2950 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
2951 |
+ |
2952 |
+ CXXFLAGS += [ |
2953 |
+ "-msse2" |
2954 |
+ ] |
2955 |
+ |
2956 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
2957 |
+ |
2958 |
+ CXXFLAGS += [ |
2959 |
+ "-msse2" |
2960 |
+ ] |
2961 |
+ |
2962 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
2963 |
+ |
2964 |
+ CXXFLAGS += [ |
2965 |
+ "-msse2" |
2966 |
+ ] |
2967 |
+ |
2968 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
2969 |
|
2970 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
2971 |
@@ -156,4 +223,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
2972 |
"-msse2" |
2973 |
] |
2974 |
|
2975 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
2976 |
+ |
2977 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
2978 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
2979 |
+ |
2980 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
2981 |
+ |
2982 |
+ CXXFLAGS += [ |
2983 |
+ "-msse2" |
2984 |
+ ] |
2985 |
+ |
2986 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
2987 |
+ |
2988 |
+ CXXFLAGS += [ |
2989 |
+ "-msse2" |
2990 |
+ ] |
2991 |
+ |
2992 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
2993 |
+ |
2994 |
+ CXXFLAGS += [ |
2995 |
+ "-msse2" |
2996 |
+ ] |
2997 |
+ |
2998 |
Library("audio_encoder_interface_gn") |
2999 |
diff --git media/webrtc/trunk/webrtc/modules/audio_coding/audio_format_conversion_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/audio_format_conversion_gn/moz.build |
3000 |
index 76e7d08f977f..7d2060a43eb7 100644 |
3001 |
--- media/webrtc/trunk/webrtc/modules/audio_coding/audio_format_conversion_gn/moz.build |
3002 |
+++ media/webrtc/trunk/webrtc/modules/audio_coding/audio_format_conversion_gn/moz.build |
3003 |
@@ -69,6 +69,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
3004 |
DEFINES["WEBRTC_POSIX"] = True |
3005 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
3006 |
|
3007 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
3008 |
+ |
3009 |
+ DEFINES["USE_X11"] = "1" |
3010 |
+ DEFINES["WEBRTC_BSD"] = True |
3011 |
+ DEFINES["WEBRTC_POSIX"] = True |
3012 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3013 |
+ |
3014 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
3015 |
+ |
3016 |
+ DEFINES["USE_X11"] = "1" |
3017 |
+ DEFINES["WEBRTC_BSD"] = True |
3018 |
+ DEFINES["WEBRTC_POSIX"] = True |
3019 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3020 |
+ |
3021 |
if CONFIG["OS_TARGET"] == "Linux": |
3022 |
|
3023 |
DEFINES["USE_NSS_CERTS"] = "1" |
3024 |
@@ -77,6 +91,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
3025 |
DEFINES["WEBRTC_POSIX"] = True |
3026 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
3027 |
|
3028 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
3029 |
+ |
3030 |
+ DEFINES["USE_X11"] = "1" |
3031 |
+ DEFINES["WEBRTC_BSD"] = True |
3032 |
+ DEFINES["WEBRTC_POSIX"] = True |
3033 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3034 |
+ |
3035 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
3036 |
+ |
3037 |
+ DEFINES["USE_X11"] = "1" |
3038 |
+ DEFINES["WEBRTC_BSD"] = True |
3039 |
+ DEFINES["WEBRTC_POSIX"] = True |
3040 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3041 |
+ |
3042 |
if CONFIG["OS_TARGET"] == "WINNT": |
3043 |
|
3044 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
3045 |
@@ -110,6 +138,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
3046 |
|
3047 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
3048 |
|
3049 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
3050 |
+ |
3051 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3052 |
+ |
3053 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
3054 |
+ |
3055 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3056 |
+ |
3057 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
3058 |
+ |
3059 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3060 |
+ |
3061 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
3062 |
+ |
3063 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3064 |
+ |
3065 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
3066 |
|
3067 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
3068 |
@@ -135,6 +179,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
3069 |
"-msse2" |
3070 |
] |
3071 |
|
3072 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
3073 |
+ |
3074 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
3075 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
3076 |
+ |
3077 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
3078 |
+ |
3079 |
+ CXXFLAGS += [ |
3080 |
+ "-msse2" |
3081 |
+ ] |
3082 |
+ |
3083 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
3084 |
+ |
3085 |
+ CXXFLAGS += [ |
3086 |
+ "-msse2" |
3087 |
+ ] |
3088 |
+ |
3089 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
3090 |
+ |
3091 |
+ CXXFLAGS += [ |
3092 |
+ "-msse2" |
3093 |
+ ] |
3094 |
+ |
3095 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
3096 |
|
3097 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
3098 |
@@ -156,4 +223,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
3099 |
"-msse2" |
3100 |
] |
3101 |
|
3102 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
3103 |
+ |
3104 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
3105 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
3106 |
+ |
3107 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
3108 |
+ |
3109 |
+ CXXFLAGS += [ |
3110 |
+ "-msse2" |
3111 |
+ ] |
3112 |
+ |
3113 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
3114 |
+ |
3115 |
+ CXXFLAGS += [ |
3116 |
+ "-msse2" |
3117 |
+ ] |
3118 |
+ |
3119 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
3120 |
+ |
3121 |
+ CXXFLAGS += [ |
3122 |
+ "-msse2" |
3123 |
+ ] |
3124 |
+ |
3125 |
Library("audio_format_conversion_gn") |
3126 |
diff --git media/webrtc/trunk/webrtc/modules/audio_coding/audio_format_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/audio_format_gn/moz.build |
3127 |
index e1e96c810fb8..0b5693d1ddac 100644 |
3128 |
--- media/webrtc/trunk/webrtc/modules/audio_coding/audio_format_gn/moz.build |
3129 |
+++ media/webrtc/trunk/webrtc/modules/audio_coding/audio_format_gn/moz.build |
3130 |
@@ -65,6 +65,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
3131 |
DEFINES["WEBRTC_POSIX"] = True |
3132 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
3133 |
|
3134 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
3135 |
+ |
3136 |
+ DEFINES["USE_X11"] = "1" |
3137 |
+ DEFINES["WEBRTC_BSD"] = True |
3138 |
+ DEFINES["WEBRTC_POSIX"] = True |
3139 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3140 |
+ |
3141 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
3142 |
+ |
3143 |
+ DEFINES["USE_X11"] = "1" |
3144 |
+ DEFINES["WEBRTC_BSD"] = True |
3145 |
+ DEFINES["WEBRTC_POSIX"] = True |
3146 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3147 |
+ |
3148 |
if CONFIG["OS_TARGET"] == "Linux": |
3149 |
|
3150 |
DEFINES["USE_NSS_CERTS"] = "1" |
3151 |
@@ -73,6 +87,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
3152 |
DEFINES["WEBRTC_POSIX"] = True |
3153 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
3154 |
|
3155 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
3156 |
+ |
3157 |
+ DEFINES["USE_X11"] = "1" |
3158 |
+ DEFINES["WEBRTC_BSD"] = True |
3159 |
+ DEFINES["WEBRTC_POSIX"] = True |
3160 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3161 |
+ |
3162 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
3163 |
+ |
3164 |
+ DEFINES["USE_X11"] = "1" |
3165 |
+ DEFINES["WEBRTC_BSD"] = True |
3166 |
+ DEFINES["WEBRTC_POSIX"] = True |
3167 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3168 |
+ |
3169 |
if CONFIG["OS_TARGET"] == "WINNT": |
3170 |
|
3171 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
3172 |
@@ -106,6 +134,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
3173 |
|
3174 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
3175 |
|
3176 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
3177 |
+ |
3178 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3179 |
+ |
3180 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
3181 |
+ |
3182 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3183 |
+ |
3184 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
3185 |
+ |
3186 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3187 |
+ |
3188 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
3189 |
+ |
3190 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3191 |
+ |
3192 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
3193 |
|
3194 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
3195 |
@@ -131,6 +175,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
3196 |
"-msse2" |
3197 |
] |
3198 |
|
3199 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
3200 |
+ |
3201 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
3202 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
3203 |
+ |
3204 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
3205 |
+ |
3206 |
+ CXXFLAGS += [ |
3207 |
+ "-msse2" |
3208 |
+ ] |
3209 |
+ |
3210 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
3211 |
+ |
3212 |
+ CXXFLAGS += [ |
3213 |
+ "-msse2" |
3214 |
+ ] |
3215 |
+ |
3216 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
3217 |
+ |
3218 |
+ CXXFLAGS += [ |
3219 |
+ "-msse2" |
3220 |
+ ] |
3221 |
+ |
3222 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
3223 |
|
3224 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
3225 |
@@ -152,4 +219,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
3226 |
"-msse2" |
3227 |
] |
3228 |
|
3229 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
3230 |
+ |
3231 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
3232 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
3233 |
+ |
3234 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
3235 |
+ |
3236 |
+ CXXFLAGS += [ |
3237 |
+ "-msse2" |
3238 |
+ ] |
3239 |
+ |
3240 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
3241 |
+ |
3242 |
+ CXXFLAGS += [ |
3243 |
+ "-msse2" |
3244 |
+ ] |
3245 |
+ |
3246 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
3247 |
+ |
3248 |
+ CXXFLAGS += [ |
3249 |
+ "-msse2" |
3250 |
+ ] |
3251 |
+ |
3252 |
Library("audio_format_gn") |
3253 |
diff --git media/webrtc/trunk/webrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build |
3254 |
index e32ac3d3f71e..f6bfffaa278c 100644 |
3255 |
--- media/webrtc/trunk/webrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build |
3256 |
+++ media/webrtc/trunk/webrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build |
3257 |
@@ -81,6 +81,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
3258 |
DEFINES["WEBRTC_POSIX"] = True |
3259 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
3260 |
|
3261 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
3262 |
+ |
3263 |
+ DEFINES["USE_X11"] = "1" |
3264 |
+ DEFINES["WEBRTC_BSD"] = True |
3265 |
+ DEFINES["WEBRTC_POSIX"] = True |
3266 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3267 |
+ |
3268 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
3269 |
+ |
3270 |
+ DEFINES["USE_X11"] = "1" |
3271 |
+ DEFINES["WEBRTC_BSD"] = True |
3272 |
+ DEFINES["WEBRTC_POSIX"] = True |
3273 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3274 |
+ |
3275 |
if CONFIG["OS_TARGET"] == "Linux": |
3276 |
|
3277 |
DEFINES["USE_NSS_CERTS"] = "1" |
3278 |
@@ -93,6 +107,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
3279 |
"rt" |
3280 |
] |
3281 |
|
3282 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
3283 |
+ |
3284 |
+ DEFINES["USE_X11"] = "1" |
3285 |
+ DEFINES["WEBRTC_BSD"] = True |
3286 |
+ DEFINES["WEBRTC_POSIX"] = True |
3287 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3288 |
+ |
3289 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
3290 |
+ |
3291 |
+ DEFINES["USE_X11"] = "1" |
3292 |
+ DEFINES["WEBRTC_BSD"] = True |
3293 |
+ DEFINES["WEBRTC_POSIX"] = True |
3294 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3295 |
+ |
3296 |
if CONFIG["OS_TARGET"] == "WINNT": |
3297 |
|
3298 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
3299 |
@@ -130,6 +158,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
3300 |
|
3301 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
3302 |
|
3303 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
3304 |
+ |
3305 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3306 |
+ |
3307 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
3308 |
+ |
3309 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3310 |
+ |
3311 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
3312 |
+ |
3313 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3314 |
+ |
3315 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
3316 |
+ |
3317 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3318 |
+ |
3319 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
3320 |
|
3321 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
3322 |
@@ -155,6 +199,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
3323 |
"-msse2" |
3324 |
] |
3325 |
|
3326 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
3327 |
+ |
3328 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
3329 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
3330 |
+ |
3331 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
3332 |
+ |
3333 |
+ CXXFLAGS += [ |
3334 |
+ "-msse2" |
3335 |
+ ] |
3336 |
+ |
3337 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
3338 |
+ |
3339 |
+ CXXFLAGS += [ |
3340 |
+ "-msse2" |
3341 |
+ ] |
3342 |
+ |
3343 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
3344 |
+ |
3345 |
+ CXXFLAGS += [ |
3346 |
+ "-msse2" |
3347 |
+ ] |
3348 |
+ |
3349 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
3350 |
|
3351 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
3352 |
@@ -176,4 +243,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
3353 |
"-msse2" |
3354 |
] |
3355 |
|
3356 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
3357 |
+ |
3358 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
3359 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
3360 |
+ |
3361 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
3362 |
+ |
3363 |
+ CXXFLAGS += [ |
3364 |
+ "-msse2" |
3365 |
+ ] |
3366 |
+ |
3367 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
3368 |
+ |
3369 |
+ CXXFLAGS += [ |
3370 |
+ "-msse2" |
3371 |
+ ] |
3372 |
+ |
3373 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
3374 |
+ |
3375 |
+ CXXFLAGS += [ |
3376 |
+ "-msse2" |
3377 |
+ ] |
3378 |
+ |
3379 |
Library("audio_network_adaptor_gn") |
3380 |
diff --git media/webrtc/trunk/webrtc/modules/audio_coding/builtin_audio_decoder_factory_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/builtin_audio_decoder_factory_gn/moz.build |
3381 |
index b3587a35a860..d6b5fe9e72fc 100644 |
3382 |
--- media/webrtc/trunk/webrtc/modules/audio_coding/builtin_audio_decoder_factory_gn/moz.build |
3383 |
+++ media/webrtc/trunk/webrtc/modules/audio_coding/builtin_audio_decoder_factory_gn/moz.build |
3384 |
@@ -80,6 +80,28 @@ if CONFIG["OS_TARGET"] == "Darwin": |
3385 |
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" |
3386 |
] |
3387 |
|
3388 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
3389 |
+ |
3390 |
+ DEFINES["USE_X11"] = "1" |
3391 |
+ DEFINES["WEBRTC_BSD"] = True |
3392 |
+ DEFINES["WEBRTC_POSIX"] = True |
3393 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3394 |
+ |
3395 |
+ LOCAL_INCLUDES += [ |
3396 |
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" |
3397 |
+ ] |
3398 |
+ |
3399 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
3400 |
+ |
3401 |
+ DEFINES["USE_X11"] = "1" |
3402 |
+ DEFINES["WEBRTC_BSD"] = True |
3403 |
+ DEFINES["WEBRTC_POSIX"] = True |
3404 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3405 |
+ |
3406 |
+ LOCAL_INCLUDES += [ |
3407 |
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" |
3408 |
+ ] |
3409 |
+ |
3410 |
if CONFIG["OS_TARGET"] == "Linux": |
3411 |
|
3412 |
DEFINES["USE_NSS_CERTS"] = "1" |
3413 |
@@ -97,6 +119,28 @@ if CONFIG["OS_TARGET"] == "Linux": |
3414 |
"rt" |
3415 |
] |
3416 |
|
3417 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
3418 |
+ |
3419 |
+ DEFINES["USE_X11"] = "1" |
3420 |
+ DEFINES["WEBRTC_BSD"] = True |
3421 |
+ DEFINES["WEBRTC_POSIX"] = True |
3422 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3423 |
+ |
3424 |
+ LOCAL_INCLUDES += [ |
3425 |
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" |
3426 |
+ ] |
3427 |
+ |
3428 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
3429 |
+ |
3430 |
+ DEFINES["USE_X11"] = "1" |
3431 |
+ DEFINES["WEBRTC_BSD"] = True |
3432 |
+ DEFINES["WEBRTC_POSIX"] = True |
3433 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3434 |
+ |
3435 |
+ LOCAL_INCLUDES += [ |
3436 |
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" |
3437 |
+ ] |
3438 |
+ |
3439 |
if CONFIG["OS_TARGET"] == "WINNT": |
3440 |
|
3441 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
3442 |
@@ -138,6 +182,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
3443 |
|
3444 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
3445 |
|
3446 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
3447 |
+ |
3448 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3449 |
+ |
3450 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
3451 |
+ |
3452 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3453 |
+ |
3454 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
3455 |
+ |
3456 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3457 |
+ |
3458 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
3459 |
+ |
3460 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3461 |
+ |
3462 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
3463 |
|
3464 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
3465 |
@@ -175,6 +235,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
3466 |
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" |
3467 |
] |
3468 |
|
3469 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
3470 |
+ |
3471 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
3472 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
3473 |
+ |
3474 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
3475 |
+ |
3476 |
+ CXXFLAGS += [ |
3477 |
+ "-msse2" |
3478 |
+ ] |
3479 |
+ |
3480 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
3481 |
+ |
3482 |
+ CXXFLAGS += [ |
3483 |
+ "-msse2" |
3484 |
+ ] |
3485 |
+ |
3486 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
3487 |
+ |
3488 |
+ CXXFLAGS += [ |
3489 |
+ "-msse2" |
3490 |
+ ] |
3491 |
+ |
3492 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
3493 |
|
3494 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
3495 |
@@ -208,4 +291,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
3496 |
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" |
3497 |
] |
3498 |
|
3499 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
3500 |
+ |
3501 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
3502 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
3503 |
+ |
3504 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
3505 |
+ |
3506 |
+ CXXFLAGS += [ |
3507 |
+ "-msse2" |
3508 |
+ ] |
3509 |
+ |
3510 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
3511 |
+ |
3512 |
+ CXXFLAGS += [ |
3513 |
+ "-msse2" |
3514 |
+ ] |
3515 |
+ |
3516 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
3517 |
+ |
3518 |
+ CXXFLAGS += [ |
3519 |
+ "-msse2" |
3520 |
+ ] |
3521 |
+ |
3522 |
Library("builtin_audio_decoder_factory_gn") |
3523 |
diff --git media/webrtc/trunk/webrtc/modules/audio_coding/cng_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/cng_gn/moz.build |
3524 |
index ef17a4e46c28..b1f25580ddf6 100644 |
3525 |
--- media/webrtc/trunk/webrtc/modules/audio_coding/cng_gn/moz.build |
3526 |
+++ media/webrtc/trunk/webrtc/modules/audio_coding/cng_gn/moz.build |
3527 |
@@ -74,6 +74,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
3528 |
DEFINES["WEBRTC_POSIX"] = True |
3529 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
3530 |
|
3531 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
3532 |
+ |
3533 |
+ DEFINES["USE_X11"] = "1" |
3534 |
+ DEFINES["WEBRTC_BSD"] = True |
3535 |
+ DEFINES["WEBRTC_POSIX"] = True |
3536 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3537 |
+ |
3538 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
3539 |
+ |
3540 |
+ DEFINES["USE_X11"] = "1" |
3541 |
+ DEFINES["WEBRTC_BSD"] = True |
3542 |
+ DEFINES["WEBRTC_POSIX"] = True |
3543 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3544 |
+ |
3545 |
if CONFIG["OS_TARGET"] == "Linux": |
3546 |
|
3547 |
DEFINES["USE_NSS_CERTS"] = "1" |
3548 |
@@ -86,6 +100,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
3549 |
"rt" |
3550 |
] |
3551 |
|
3552 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
3553 |
+ |
3554 |
+ DEFINES["USE_X11"] = "1" |
3555 |
+ DEFINES["WEBRTC_BSD"] = True |
3556 |
+ DEFINES["WEBRTC_POSIX"] = True |
3557 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3558 |
+ |
3559 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
3560 |
+ |
3561 |
+ DEFINES["USE_X11"] = "1" |
3562 |
+ DEFINES["WEBRTC_BSD"] = True |
3563 |
+ DEFINES["WEBRTC_POSIX"] = True |
3564 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3565 |
+ |
3566 |
if CONFIG["OS_TARGET"] == "WINNT": |
3567 |
|
3568 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
3569 |
@@ -123,6 +151,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
3570 |
|
3571 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
3572 |
|
3573 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
3574 |
+ |
3575 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3576 |
+ |
3577 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
3578 |
+ |
3579 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3580 |
+ |
3581 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
3582 |
+ |
3583 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3584 |
+ |
3585 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
3586 |
+ |
3587 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3588 |
+ |
3589 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
3590 |
|
3591 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
3592 |
@@ -148,6 +192,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
3593 |
"-msse2" |
3594 |
] |
3595 |
|
3596 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
3597 |
+ |
3598 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
3599 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
3600 |
+ |
3601 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
3602 |
+ |
3603 |
+ CXXFLAGS += [ |
3604 |
+ "-msse2" |
3605 |
+ ] |
3606 |
+ |
3607 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
3608 |
+ |
3609 |
+ CXXFLAGS += [ |
3610 |
+ "-msse2" |
3611 |
+ ] |
3612 |
+ |
3613 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
3614 |
+ |
3615 |
+ CXXFLAGS += [ |
3616 |
+ "-msse2" |
3617 |
+ ] |
3618 |
+ |
3619 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
3620 |
|
3621 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
3622 |
@@ -169,4 +236,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
3623 |
"-msse2" |
3624 |
] |
3625 |
|
3626 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
3627 |
+ |
3628 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
3629 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
3630 |
+ |
3631 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
3632 |
+ |
3633 |
+ CXXFLAGS += [ |
3634 |
+ "-msse2" |
3635 |
+ ] |
3636 |
+ |
3637 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
3638 |
+ |
3639 |
+ CXXFLAGS += [ |
3640 |
+ "-msse2" |
3641 |
+ ] |
3642 |
+ |
3643 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
3644 |
+ |
3645 |
+ CXXFLAGS += [ |
3646 |
+ "-msse2" |
3647 |
+ ] |
3648 |
+ |
3649 |
Library("cng_gn") |
3650 |
diff --git media/webrtc/trunk/webrtc/modules/audio_coding/g711_c_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/g711_c_gn/moz.build |
3651 |
index 8dcfed9b6292..39c49b423af0 100644 |
3652 |
--- media/webrtc/trunk/webrtc/modules/audio_coding/g711_c_gn/moz.build |
3653 |
+++ media/webrtc/trunk/webrtc/modules/audio_coding/g711_c_gn/moz.build |
3654 |
@@ -66,6 +66,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
3655 |
DEFINES["WEBRTC_POSIX"] = True |
3656 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
3657 |
|
3658 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
3659 |
+ |
3660 |
+ DEFINES["USE_X11"] = "1" |
3661 |
+ DEFINES["WEBRTC_BSD"] = True |
3662 |
+ DEFINES["WEBRTC_POSIX"] = True |
3663 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3664 |
+ |
3665 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
3666 |
+ |
3667 |
+ DEFINES["USE_X11"] = "1" |
3668 |
+ DEFINES["WEBRTC_BSD"] = True |
3669 |
+ DEFINES["WEBRTC_POSIX"] = True |
3670 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3671 |
+ |
3672 |
if CONFIG["OS_TARGET"] == "Linux": |
3673 |
|
3674 |
DEFINES["USE_NSS_CERTS"] = "1" |
3675 |
@@ -74,6 +88,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
3676 |
DEFINES["WEBRTC_POSIX"] = True |
3677 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
3678 |
|
3679 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
3680 |
+ |
3681 |
+ DEFINES["USE_X11"] = "1" |
3682 |
+ DEFINES["WEBRTC_BSD"] = True |
3683 |
+ DEFINES["WEBRTC_POSIX"] = True |
3684 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3685 |
+ |
3686 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
3687 |
+ |
3688 |
+ DEFINES["USE_X11"] = "1" |
3689 |
+ DEFINES["WEBRTC_BSD"] = True |
3690 |
+ DEFINES["WEBRTC_POSIX"] = True |
3691 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3692 |
+ |
3693 |
if CONFIG["OS_TARGET"] == "WINNT": |
3694 |
|
3695 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
3696 |
@@ -107,6 +135,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
3697 |
|
3698 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
3699 |
|
3700 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
3701 |
+ |
3702 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3703 |
+ |
3704 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
3705 |
+ |
3706 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3707 |
+ |
3708 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
3709 |
+ |
3710 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3711 |
+ |
3712 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
3713 |
+ |
3714 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3715 |
+ |
3716 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
3717 |
|
3718 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
3719 |
@@ -132,6 +176,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
3720 |
"-msse2" |
3721 |
] |
3722 |
|
3723 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
3724 |
+ |
3725 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
3726 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
3727 |
+ |
3728 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
3729 |
+ |
3730 |
+ CFLAGS += [ |
3731 |
+ "-msse2" |
3732 |
+ ] |
3733 |
+ |
3734 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
3735 |
+ |
3736 |
+ CFLAGS += [ |
3737 |
+ "-msse2" |
3738 |
+ ] |
3739 |
+ |
3740 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
3741 |
+ |
3742 |
+ CFLAGS += [ |
3743 |
+ "-msse2" |
3744 |
+ ] |
3745 |
+ |
3746 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
3747 |
|
3748 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
3749 |
@@ -153,4 +220,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
3750 |
"-msse2" |
3751 |
] |
3752 |
|
3753 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
3754 |
+ |
3755 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
3756 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
3757 |
+ |
3758 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
3759 |
+ |
3760 |
+ CFLAGS += [ |
3761 |
+ "-msse2" |
3762 |
+ ] |
3763 |
+ |
3764 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
3765 |
+ |
3766 |
+ CFLAGS += [ |
3767 |
+ "-msse2" |
3768 |
+ ] |
3769 |
+ |
3770 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
3771 |
+ |
3772 |
+ CFLAGS += [ |
3773 |
+ "-msse2" |
3774 |
+ ] |
3775 |
+ |
3776 |
Library("g711_c_gn") |
3777 |
diff --git media/webrtc/trunk/webrtc/modules/audio_coding/g711_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/g711_gn/moz.build |
3778 |
index cd01d13ff660..823f3c7750a7 100644 |
3779 |
--- media/webrtc/trunk/webrtc/modules/audio_coding/g711_gn/moz.build |
3780 |
+++ media/webrtc/trunk/webrtc/modules/audio_coding/g711_gn/moz.build |
3781 |
@@ -71,6 +71,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
3782 |
DEFINES["WEBRTC_POSIX"] = True |
3783 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
3784 |
|
3785 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
3786 |
+ |
3787 |
+ DEFINES["USE_X11"] = "1" |
3788 |
+ DEFINES["WEBRTC_BSD"] = True |
3789 |
+ DEFINES["WEBRTC_POSIX"] = True |
3790 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3791 |
+ |
3792 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
3793 |
+ |
3794 |
+ DEFINES["USE_X11"] = "1" |
3795 |
+ DEFINES["WEBRTC_BSD"] = True |
3796 |
+ DEFINES["WEBRTC_POSIX"] = True |
3797 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3798 |
+ |
3799 |
if CONFIG["OS_TARGET"] == "Linux": |
3800 |
|
3801 |
DEFINES["USE_NSS_CERTS"] = "1" |
3802 |
@@ -79,6 +93,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
3803 |
DEFINES["WEBRTC_POSIX"] = True |
3804 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
3805 |
|
3806 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
3807 |
+ |
3808 |
+ DEFINES["USE_X11"] = "1" |
3809 |
+ DEFINES["WEBRTC_BSD"] = True |
3810 |
+ DEFINES["WEBRTC_POSIX"] = True |
3811 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3812 |
+ |
3813 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
3814 |
+ |
3815 |
+ DEFINES["USE_X11"] = "1" |
3816 |
+ DEFINES["WEBRTC_BSD"] = True |
3817 |
+ DEFINES["WEBRTC_POSIX"] = True |
3818 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3819 |
+ |
3820 |
if CONFIG["OS_TARGET"] == "WINNT": |
3821 |
|
3822 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
3823 |
@@ -112,6 +140,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
3824 |
|
3825 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
3826 |
|
3827 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
3828 |
+ |
3829 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3830 |
+ |
3831 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
3832 |
+ |
3833 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3834 |
+ |
3835 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
3836 |
+ |
3837 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3838 |
+ |
3839 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
3840 |
+ |
3841 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3842 |
+ |
3843 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
3844 |
|
3845 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
3846 |
@@ -137,6 +181,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
3847 |
"-msse2" |
3848 |
] |
3849 |
|
3850 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
3851 |
+ |
3852 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
3853 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
3854 |
+ |
3855 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
3856 |
+ |
3857 |
+ CXXFLAGS += [ |
3858 |
+ "-msse2" |
3859 |
+ ] |
3860 |
+ |
3861 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
3862 |
+ |
3863 |
+ CXXFLAGS += [ |
3864 |
+ "-msse2" |
3865 |
+ ] |
3866 |
+ |
3867 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
3868 |
+ |
3869 |
+ CXXFLAGS += [ |
3870 |
+ "-msse2" |
3871 |
+ ] |
3872 |
+ |
3873 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
3874 |
|
3875 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
3876 |
@@ -158,4 +225,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
3877 |
"-msse2" |
3878 |
] |
3879 |
|
3880 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
3881 |
+ |
3882 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
3883 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
3884 |
+ |
3885 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
3886 |
+ |
3887 |
+ CXXFLAGS += [ |
3888 |
+ "-msse2" |
3889 |
+ ] |
3890 |
+ |
3891 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
3892 |
+ |
3893 |
+ CXXFLAGS += [ |
3894 |
+ "-msse2" |
3895 |
+ ] |
3896 |
+ |
3897 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
3898 |
+ |
3899 |
+ CXXFLAGS += [ |
3900 |
+ "-msse2" |
3901 |
+ ] |
3902 |
+ |
3903 |
Library("g711_gn") |
3904 |
diff --git media/webrtc/trunk/webrtc/modules/audio_coding/g722_c_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/g722_c_gn/moz.build |
3905 |
index 86cb12c5d4f8..3a97192504b2 100644 |
3906 |
--- media/webrtc/trunk/webrtc/modules/audio_coding/g722_c_gn/moz.build |
3907 |
+++ media/webrtc/trunk/webrtc/modules/audio_coding/g722_c_gn/moz.build |
3908 |
@@ -70,6 +70,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
3909 |
DEFINES["WEBRTC_POSIX"] = True |
3910 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
3911 |
|
3912 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
3913 |
+ |
3914 |
+ DEFINES["USE_X11"] = "1" |
3915 |
+ DEFINES["WEBRTC_BSD"] = True |
3916 |
+ DEFINES["WEBRTC_POSIX"] = True |
3917 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3918 |
+ |
3919 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
3920 |
+ |
3921 |
+ DEFINES["USE_X11"] = "1" |
3922 |
+ DEFINES["WEBRTC_BSD"] = True |
3923 |
+ DEFINES["WEBRTC_POSIX"] = True |
3924 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3925 |
+ |
3926 |
if CONFIG["OS_TARGET"] == "Linux": |
3927 |
|
3928 |
DEFINES["USE_NSS_CERTS"] = "1" |
3929 |
@@ -78,6 +92,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
3930 |
DEFINES["WEBRTC_POSIX"] = True |
3931 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
3932 |
|
3933 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
3934 |
+ |
3935 |
+ DEFINES["USE_X11"] = "1" |
3936 |
+ DEFINES["WEBRTC_BSD"] = True |
3937 |
+ DEFINES["WEBRTC_POSIX"] = True |
3938 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3939 |
+ |
3940 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
3941 |
+ |
3942 |
+ DEFINES["USE_X11"] = "1" |
3943 |
+ DEFINES["WEBRTC_BSD"] = True |
3944 |
+ DEFINES["WEBRTC_POSIX"] = True |
3945 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
3946 |
+ |
3947 |
if CONFIG["OS_TARGET"] == "WINNT": |
3948 |
|
3949 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
3950 |
@@ -111,6 +139,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
3951 |
|
3952 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
3953 |
|
3954 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
3955 |
+ |
3956 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3957 |
+ |
3958 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
3959 |
+ |
3960 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3961 |
+ |
3962 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
3963 |
+ |
3964 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3965 |
+ |
3966 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
3967 |
+ |
3968 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
3969 |
+ |
3970 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
3971 |
|
3972 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
3973 |
@@ -136,6 +180,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
3974 |
"-msse2" |
3975 |
] |
3976 |
|
3977 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
3978 |
+ |
3979 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
3980 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
3981 |
+ |
3982 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
3983 |
+ |
3984 |
+ CFLAGS += [ |
3985 |
+ "-msse2" |
3986 |
+ ] |
3987 |
+ |
3988 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
3989 |
+ |
3990 |
+ CFLAGS += [ |
3991 |
+ "-msse2" |
3992 |
+ ] |
3993 |
+ |
3994 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
3995 |
+ |
3996 |
+ CFLAGS += [ |
3997 |
+ "-msse2" |
3998 |
+ ] |
3999 |
+ |
4000 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
4001 |
|
4002 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
4003 |
@@ -157,4 +224,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
4004 |
"-msse2" |
4005 |
] |
4006 |
|
4007 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
4008 |
+ |
4009 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
4010 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
4011 |
+ |
4012 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
4013 |
+ |
4014 |
+ CFLAGS += [ |
4015 |
+ "-msse2" |
4016 |
+ ] |
4017 |
+ |
4018 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
4019 |
+ |
4020 |
+ CFLAGS += [ |
4021 |
+ "-msse2" |
4022 |
+ ] |
4023 |
+ |
4024 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
4025 |
+ |
4026 |
+ CFLAGS += [ |
4027 |
+ "-msse2" |
4028 |
+ ] |
4029 |
+ |
4030 |
Library("g722_c_gn") |
4031 |
diff --git media/webrtc/trunk/webrtc/modules/audio_coding/g722_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/g722_gn/moz.build |
4032 |
index 4f65ac0062e4..e53fc64410e5 100644 |
4033 |
--- media/webrtc/trunk/webrtc/modules/audio_coding/g722_gn/moz.build |
4034 |
+++ media/webrtc/trunk/webrtc/modules/audio_coding/g722_gn/moz.build |
4035 |
@@ -71,6 +71,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
4036 |
DEFINES["WEBRTC_POSIX"] = True |
4037 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
4038 |
|
4039 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
4040 |
+ |
4041 |
+ DEFINES["USE_X11"] = "1" |
4042 |
+ DEFINES["WEBRTC_BSD"] = True |
4043 |
+ DEFINES["WEBRTC_POSIX"] = True |
4044 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
4045 |
+ |
4046 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
4047 |
+ |
4048 |
+ DEFINES["USE_X11"] = "1" |
4049 |
+ DEFINES["WEBRTC_BSD"] = True |
4050 |
+ DEFINES["WEBRTC_POSIX"] = True |
4051 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
4052 |
+ |
4053 |
if CONFIG["OS_TARGET"] == "Linux": |
4054 |
|
4055 |
DEFINES["USE_NSS_CERTS"] = "1" |
4056 |
@@ -79,6 +93,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
4057 |
DEFINES["WEBRTC_POSIX"] = True |
4058 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
4059 |
|
4060 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
4061 |
+ |
4062 |
+ DEFINES["USE_X11"] = "1" |
4063 |
+ DEFINES["WEBRTC_BSD"] = True |
4064 |
+ DEFINES["WEBRTC_POSIX"] = True |
4065 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
4066 |
+ |
4067 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
4068 |
+ |
4069 |
+ DEFINES["USE_X11"] = "1" |
4070 |
+ DEFINES["WEBRTC_BSD"] = True |
4071 |
+ DEFINES["WEBRTC_POSIX"] = True |
4072 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
4073 |
+ |
4074 |
if CONFIG["OS_TARGET"] == "WINNT": |
4075 |
|
4076 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
4077 |
@@ -112,6 +140,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
4078 |
|
4079 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
4080 |
|
4081 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
4082 |
+ |
4083 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
4084 |
+ |
4085 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
4086 |
+ |
4087 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
4088 |
+ |
4089 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
4090 |
+ |
4091 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
4092 |
+ |
4093 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
4094 |
+ |
4095 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
4096 |
+ |
4097 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
4098 |
|
4099 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
4100 |
@@ -137,6 +181,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
4101 |
"-msse2" |
4102 |
] |
4103 |
|
4104 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
4105 |
+ |
4106 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
4107 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
4108 |
+ |
4109 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
4110 |
+ |
4111 |
+ CXXFLAGS += [ |
4112 |
+ "-msse2" |
4113 |
+ ] |
4114 |
+ |
4115 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
4116 |
+ |
4117 |
+ CXXFLAGS += [ |
4118 |
+ "-msse2" |
4119 |
+ ] |
4120 |
+ |
4121 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
4122 |
+ |
4123 |
+ CXXFLAGS += [ |
4124 |
+ "-msse2" |
4125 |
+ ] |
4126 |
+ |
4127 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
4128 |
|
4129 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
4130 |
@@ -158,4 +225,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
4131 |
"-msse2" |
4132 |
] |
4133 |
|
4134 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
4135 |
+ |
4136 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
4137 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
4138 |
+ |
4139 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
4140 |
+ |
4141 |
+ CXXFLAGS += [ |
4142 |
+ "-msse2" |
4143 |
+ ] |
4144 |
+ |
4145 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
4146 |
+ |
4147 |
+ CXXFLAGS += [ |
4148 |
+ "-msse2" |
4149 |
+ ] |
4150 |
+ |
4151 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
4152 |
+ |
4153 |
+ CXXFLAGS += [ |
4154 |
+ "-msse2" |
4155 |
+ ] |
4156 |
+ |
4157 |
Library("g722_gn") |
4158 |
diff --git media/webrtc/trunk/webrtc/modules/audio_coding/isac_c_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/isac_c_gn/moz.build |
4159 |
index 2b80215e7978..53632d94843b 100644 |
4160 |
--- media/webrtc/trunk/webrtc/modules/audio_coding/isac_c_gn/moz.build |
4161 |
+++ media/webrtc/trunk/webrtc/modules/audio_coding/isac_c_gn/moz.build |
4162 |
@@ -101,6 +101,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
4163 |
DEFINES["WEBRTC_POSIX"] = True |
4164 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
4165 |
|
4166 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
4167 |
+ |
4168 |
+ DEFINES["USE_X11"] = "1" |
4169 |
+ DEFINES["WEBRTC_BSD"] = True |
4170 |
+ DEFINES["WEBRTC_POSIX"] = True |
4171 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
4172 |
+ |
4173 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
4174 |
+ |
4175 |
+ DEFINES["USE_X11"] = "1" |
4176 |
+ DEFINES["WEBRTC_BSD"] = True |
4177 |
+ DEFINES["WEBRTC_POSIX"] = True |
4178 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
4179 |
+ |
4180 |
if CONFIG["OS_TARGET"] == "Linux": |
4181 |
|
4182 |
DEFINES["USE_NSS_CERTS"] = "1" |
4183 |
@@ -114,6 +128,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
4184 |
"rt" |
4185 |
] |
4186 |
|
4187 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
4188 |
+ |
4189 |
+ DEFINES["USE_X11"] = "1" |
4190 |
+ DEFINES["WEBRTC_BSD"] = True |
4191 |
+ DEFINES["WEBRTC_POSIX"] = True |
4192 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
4193 |
+ |
4194 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
4195 |
+ |
4196 |
+ DEFINES["USE_X11"] = "1" |
4197 |
+ DEFINES["WEBRTC_BSD"] = True |
4198 |
+ DEFINES["WEBRTC_POSIX"] = True |
4199 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
4200 |
+ |
4201 |
if CONFIG["OS_TARGET"] == "WINNT": |
4202 |
|
4203 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
4204 |
@@ -151,6 +179,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
4205 |
|
4206 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
4207 |
|
4208 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
4209 |
+ |
4210 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
4211 |
+ |
4212 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
4213 |
+ |
4214 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
4215 |
+ |
4216 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
4217 |
+ |
4218 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
4219 |
+ |
4220 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
4221 |
+ |
4222 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
4223 |
+ |
4224 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
4225 |
|
4226 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
4227 |
@@ -176,6 +220,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
4228 |
"-msse2" |
4229 |
] |
4230 |
|
4231 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
4232 |
+ |
4233 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
4234 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
4235 |
+ |
4236 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
4237 |
+ |
4238 |
+ CFLAGS += [ |
4239 |
+ "-msse2" |
4240 |
+ ] |
4241 |
+ |
4242 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
4243 |
+ |
4244 |
+ CFLAGS += [ |
4245 |
+ "-msse2" |
4246 |
+ ] |
4247 |
+ |
4248 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
4249 |
+ |
4250 |
+ CFLAGS += [ |
4251 |
+ "-msse2" |
4252 |
+ ] |
4253 |
+ |
4254 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
4255 |
|
4256 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
4257 |
@@ -197,4 +264,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
4258 |
"-msse2" |
4259 |
] |
4260 |
|
4261 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
4262 |
+ |
4263 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
4264 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
4265 |
+ |
4266 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
4267 |
+ |
4268 |
+ CFLAGS += [ |
4269 |
+ "-msse2" |
4270 |
+ ] |
4271 |
+ |
4272 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
4273 |
+ |
4274 |
+ CFLAGS += [ |
4275 |
+ "-msse2" |
4276 |
+ ] |
4277 |
+ |
4278 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
4279 |
+ |
4280 |
+ CFLAGS += [ |
4281 |
+ "-msse2" |
4282 |
+ ] |
4283 |
+ |
4284 |
Library("isac_c_gn") |
4285 |
diff --git media/webrtc/trunk/webrtc/modules/audio_coding/isac_common_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/isac_common_gn/moz.build |
4286 |
index be5aa83372c0..f7117f4358f3 100644 |
4287 |
--- media/webrtc/trunk/webrtc/modules/audio_coding/isac_common_gn/moz.build |
4288 |
+++ media/webrtc/trunk/webrtc/modules/audio_coding/isac_common_gn/moz.build |
4289 |
@@ -69,6 +69,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
4290 |
DEFINES["WEBRTC_POSIX"] = True |
4291 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
4292 |
|
4293 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
4294 |
+ |
4295 |
+ DEFINES["USE_X11"] = "1" |
4296 |
+ DEFINES["WEBRTC_BSD"] = True |
4297 |
+ DEFINES["WEBRTC_POSIX"] = True |
4298 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
4299 |
+ |
4300 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
4301 |
+ |
4302 |
+ DEFINES["USE_X11"] = "1" |
4303 |
+ DEFINES["WEBRTC_BSD"] = True |
4304 |
+ DEFINES["WEBRTC_POSIX"] = True |
4305 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
4306 |
+ |
4307 |
if CONFIG["OS_TARGET"] == "Linux": |
4308 |
|
4309 |
DEFINES["USE_NSS_CERTS"] = "1" |
4310 |
@@ -77,6 +91,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
4311 |
DEFINES["WEBRTC_POSIX"] = True |
4312 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
4313 |
|
4314 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
4315 |
+ |
4316 |
+ DEFINES["USE_X11"] = "1" |
4317 |
+ DEFINES["WEBRTC_BSD"] = True |
4318 |
+ DEFINES["WEBRTC_POSIX"] = True |
4319 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
4320 |
+ |
4321 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
4322 |
+ |
4323 |
+ DEFINES["USE_X11"] = "1" |
4324 |
+ DEFINES["WEBRTC_BSD"] = True |
4325 |
+ DEFINES["WEBRTC_POSIX"] = True |
4326 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
4327 |
+ |
4328 |
if CONFIG["OS_TARGET"] == "WINNT": |
4329 |
|
4330 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
4331 |
@@ -110,6 +138,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
4332 |
|
4333 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
4334 |
|
4335 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
4336 |
+ |
4337 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
4338 |
+ |
4339 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
4340 |
+ |
4341 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
4342 |
+ |
4343 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
4344 |
+ |
4345 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
4346 |
+ |
4347 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
4348 |
+ |
4349 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
4350 |
+ |
4351 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
4352 |
|
4353 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
4354 |
@@ -135,6 +179,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
4355 |
"-msse2" |
4356 |
] |
4357 |
|
4358 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
4359 |
+ |
4360 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
4361 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
4362 |
+ |
4363 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
4364 |
+ |
4365 |
+ CXXFLAGS += [ |
4366 |
+ "-msse2" |
4367 |
+ ] |
4368 |
+ |
4369 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
4370 |
+ |
4371 |
+ CXXFLAGS += [ |
4372 |
+ "-msse2" |
4373 |
+ ] |
4374 |
+ |
4375 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
4376 |
+ |
4377 |
+ CXXFLAGS += [ |
4378 |
+ "-msse2" |
4379 |
+ ] |
4380 |
+ |
4381 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
4382 |
|
4383 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
4384 |
@@ -156,4 +223,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
4385 |
"-msse2" |
4386 |
] |
4387 |
|
4388 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
4389 |
+ |
4390 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
4391 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
4392 |
+ |
4393 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
4394 |
+ |
4395 |
+ CXXFLAGS += [ |
4396 |
+ "-msse2" |
4397 |
+ ] |
4398 |
+ |
4399 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
4400 |
+ |
4401 |
+ CXXFLAGS += [ |
4402 |
+ "-msse2" |
4403 |
+ ] |
4404 |
+ |
4405 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
4406 |
+ |
4407 |
+ CXXFLAGS += [ |
4408 |
+ "-msse2" |
4409 |
+ ] |
4410 |
+ |
4411 |
Library("isac_common_gn") |
4412 |
diff --git media/webrtc/trunk/webrtc/modules/audio_coding/isac_fix_c_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/isac_fix_c_gn/moz.build |
4413 |
index dd94b2d6b546..f20b32841934 100644 |
4414 |
--- media/webrtc/trunk/webrtc/modules/audio_coding/isac_fix_c_gn/moz.build |
4415 |
+++ media/webrtc/trunk/webrtc/modules/audio_coding/isac_fix_c_gn/moz.build |
4416 |
@@ -110,6 +110,36 @@ if CONFIG["OS_TARGET"] == "Darwin": |
4417 |
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c" |
4418 |
] |
4419 |
|
4420 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
4421 |
+ |
4422 |
+ DEFINES["USE_X11"] = "1" |
4423 |
+ DEFINES["WEBRTC_BSD"] = True |
4424 |
+ DEFINES["WEBRTC_POSIX"] = True |
4425 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
4426 |
+ |
4427 |
+ SOURCES += [ |
4428 |
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c" |
4429 |
+ ] |
4430 |
+ |
4431 |
+ UNIFIED_SOURCES += [ |
4432 |
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c" |
4433 |
+ ] |
4434 |
+ |
4435 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
4436 |
+ |
4437 |
+ DEFINES["USE_X11"] = "1" |
4438 |
+ DEFINES["WEBRTC_BSD"] = True |
4439 |
+ DEFINES["WEBRTC_POSIX"] = True |
4440 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
4441 |
+ |
4442 |
+ SOURCES += [ |
4443 |
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c" |
4444 |
+ ] |
4445 |
+ |
4446 |
+ UNIFIED_SOURCES += [ |
4447 |
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c" |
4448 |
+ ] |
4449 |
+ |
4450 |
if CONFIG["OS_TARGET"] == "Linux": |
4451 |
|
4452 |
DEFINES["USE_NSS_CERTS"] = "1" |
4453 |
@@ -130,6 +160,36 @@ if CONFIG["OS_TARGET"] == "Linux": |
4454 |
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c" |
4455 |
] |
4456 |
|
4457 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
4458 |
+ |
4459 |
+ DEFINES["USE_X11"] = "1" |
4460 |
+ DEFINES["WEBRTC_BSD"] = True |
4461 |
+ DEFINES["WEBRTC_POSIX"] = True |
4462 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
4463 |
+ |
4464 |
+ SOURCES += [ |
4465 |
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c" |
4466 |
+ ] |
4467 |
+ |
4468 |
+ UNIFIED_SOURCES += [ |
4469 |
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c" |
4470 |
+ ] |
4471 |
+ |
4472 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
4473 |
+ |
4474 |
+ DEFINES["USE_X11"] = "1" |
4475 |
+ DEFINES["WEBRTC_BSD"] = True |
4476 |
+ DEFINES["WEBRTC_POSIX"] = True |
4477 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
4478 |
+ |
4479 |
+ SOURCES += [ |
4480 |
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c" |
4481 |
+ ] |
4482 |
+ |
4483 |
+ UNIFIED_SOURCES += [ |
4484 |
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c" |
4485 |
+ ] |
4486 |
+ |
4487 |
if CONFIG["OS_TARGET"] == "WINNT": |
4488 |
|
4489 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
4490 |
@@ -175,6 +235,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
4491 |
|
4492 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
4493 |
|
4494 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
4495 |
+ |
4496 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
4497 |
+ |
4498 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
4499 |
+ |
4500 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
4501 |
+ |
4502 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
4503 |
+ |
4504 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
4505 |
+ |
4506 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
4507 |
+ |
4508 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
4509 |
+ |
4510 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
4511 |
|
4512 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
4513 |
@@ -221,6 +297,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
4514 |
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c" |
4515 |
] |
4516 |
|
4517 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
4518 |
+ |
4519 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
4520 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
4521 |
+ |
4522 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
4523 |
+ |
4524 |
+ CFLAGS += [ |
4525 |
+ "-msse2" |
4526 |
+ ] |
4527 |
+ |
4528 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
4529 |
+ |
4530 |
+ CFLAGS += [ |
4531 |
+ "-msse2" |
4532 |
+ ] |
4533 |
+ |
4534 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
4535 |
+ |
4536 |
+ CFLAGS += [ |
4537 |
+ "-msse2" |
4538 |
+ ] |
4539 |
+ |
4540 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
4541 |
|
4542 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
4543 |
@@ -263,4 +362,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
4544 |
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c" |
4545 |
] |
4546 |
|
4547 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
4548 |
+ |
4549 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
4550 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
4551 |
+ |
4552 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
4553 |
+ |
4554 |
+ CFLAGS += [ |
4555 |
+ "-msse2" |
4556 |
+ ] |
4557 |
+ |
4558 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
4559 |
+ |
4560 |
+ CFLAGS += [ |
4561 |
+ "-msse2" |
4562 |
+ ] |
4563 |
+ |
4564 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
4565 |
+ |
4566 |
+ CFLAGS += [ |
4567 |
+ "-msse2" |
4568 |
+ ] |
4569 |
+ |
4570 |
Library("isac_fix_c_gn") |
4571 |
diff --git media/webrtc/trunk/webrtc/modules/audio_coding/isac_fix_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/isac_fix_gn/moz.build |
4572 |
index f6ad5df072aa..e60e24ed4c69 100644 |
4573 |
--- media/webrtc/trunk/webrtc/modules/audio_coding/isac_fix_gn/moz.build |
4574 |
+++ media/webrtc/trunk/webrtc/modules/audio_coding/isac_fix_gn/moz.build |
4575 |
@@ -75,6 +75,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
4576 |
DEFINES["WEBRTC_POSIX"] = True |
4577 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
4578 |
|
4579 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
4580 |
+ |
4581 |
+ DEFINES["USE_X11"] = "1" |
4582 |
+ DEFINES["WEBRTC_BSD"] = True |
4583 |
+ DEFINES["WEBRTC_POSIX"] = True |
4584 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
4585 |
+ |
4586 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
4587 |
+ |
4588 |
+ DEFINES["USE_X11"] = "1" |
4589 |
+ DEFINES["WEBRTC_BSD"] = True |
4590 |
+ DEFINES["WEBRTC_POSIX"] = True |
4591 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
4592 |
+ |
4593 |
if CONFIG["OS_TARGET"] == "Linux": |
4594 |
|
4595 |
DEFINES["USE_NSS_CERTS"] = "1" |
4596 |
@@ -87,6 +101,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
4597 |
"rt" |
4598 |
] |
4599 |
|
4600 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
4601 |
+ |
4602 |
+ DEFINES["USE_X11"] = "1" |
4603 |
+ DEFINES["WEBRTC_BSD"] = True |
4604 |
+ DEFINES["WEBRTC_POSIX"] = True |
4605 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
4606 |
+ |
4607 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
4608 |
+ |
4609 |
+ DEFINES["USE_X11"] = "1" |
4610 |
+ DEFINES["WEBRTC_BSD"] = True |
4611 |
+ DEFINES["WEBRTC_POSIX"] = True |
4612 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
4613 |
+ |
4614 |
if CONFIG["OS_TARGET"] == "WINNT": |
4615 |
|
4616 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
4617 |
@@ -124,6 +152,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
4618 |
|
4619 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
4620 |
|
4621 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
4622 |
+ |
4623 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
4624 |
+ |
4625 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
4626 |
+ |
4627 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
4628 |
+ |
4629 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
4630 |
+ |
4631 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
4632 |
+ |
4633 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
4634 |
+ |
4635 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
4636 |
+ |
4637 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
4638 |
|
4639 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
4640 |
@@ -149,6 +193,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
4641 |
"-msse2" |
4642 |
] |
4643 |
|
4644 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
4645 |
+ |
4646 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
4647 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
4648 |
+ |
4649 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
4650 |
+ |
4651 |
+ CXXFLAGS += [ |
4652 |
+ "-msse2" |
4653 |
+ ] |
4654 |
+ |
4655 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
4656 |
+ |
4657 |
+ CXXFLAGS += [ |
4658 |
+ "-msse2" |
4659 |
+ ] |
4660 |
+ |
4661 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
4662 |
+ |
4663 |
+ CXXFLAGS += [ |
4664 |
+ "-msse2" |
4665 |
+ ] |
4666 |
+ |
4667 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
4668 |
|
4669 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
4670 |
@@ -170,4 +237,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
4671 |
"-msse2" |
4672 |
] |
4673 |
|
4674 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
4675 |
+ |
4676 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
4677 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
4678 |
+ |
4679 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
4680 |
+ |
4681 |
+ CXXFLAGS += [ |
4682 |
+ "-msse2" |
4683 |
+ ] |
4684 |
+ |
4685 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
4686 |
+ |
4687 |
+ CXXFLAGS += [ |
4688 |
+ "-msse2" |
4689 |
+ ] |
4690 |
+ |
4691 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
4692 |
+ |
4693 |
+ CXXFLAGS += [ |
4694 |
+ "-msse2" |
4695 |
+ ] |
4696 |
+ |
4697 |
Library("isac_fix_gn") |
4698 |
diff --git media/webrtc/trunk/webrtc/modules/audio_coding/isac_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/isac_gn/moz.build |
4699 |
index 9af02ae6b976..83fa14ce6c6b 100644 |
4700 |
--- media/webrtc/trunk/webrtc/modules/audio_coding/isac_gn/moz.build |
4701 |
+++ media/webrtc/trunk/webrtc/modules/audio_coding/isac_gn/moz.build |
4702 |
@@ -72,6 +72,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
4703 |
DEFINES["WEBRTC_POSIX"] = True |
4704 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
4705 |
|
4706 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
4707 |
+ |
4708 |
+ DEFINES["USE_X11"] = "1" |
4709 |
+ DEFINES["WEBRTC_BSD"] = True |
4710 |
+ DEFINES["WEBRTC_POSIX"] = True |
4711 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
4712 |
+ |
4713 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
4714 |
+ |
4715 |
+ DEFINES["USE_X11"] = "1" |
4716 |
+ DEFINES["WEBRTC_BSD"] = True |
4717 |
+ DEFINES["WEBRTC_POSIX"] = True |
4718 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
4719 |
+ |
4720 |
if CONFIG["OS_TARGET"] == "Linux": |
4721 |
|
4722 |
DEFINES["USE_NSS_CERTS"] = "1" |
4723 |
@@ -85,6 +99,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
4724 |
"rt" |
4725 |
] |
4726 |
|
4727 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
4728 |
+ |
4729 |
+ DEFINES["USE_X11"] = "1" |
4730 |
+ DEFINES["WEBRTC_BSD"] = True |
4731 |
+ DEFINES["WEBRTC_POSIX"] = True |
4732 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
4733 |
+ |
4734 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
4735 |
+ |
4736 |
+ DEFINES["USE_X11"] = "1" |
4737 |
+ DEFINES["WEBRTC_BSD"] = True |
4738 |
+ DEFINES["WEBRTC_POSIX"] = True |
4739 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
4740 |
+ |
4741 |
if CONFIG["OS_TARGET"] == "WINNT": |
4742 |
|
4743 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
4744 |
@@ -122,6 +150,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
4745 |
|
4746 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
4747 |
|
4748 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
4749 |
+ |
4750 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
4751 |
+ |
4752 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
4753 |
+ |
4754 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
4755 |
+ |
4756 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
4757 |
+ |
4758 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
4759 |
+ |
4760 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
4761 |
+ |
4762 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
4763 |
+ |
4764 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
4765 |
|
4766 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
4767 |
@@ -147,6 +191,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
4768 |
"-msse2" |
4769 |
] |
4770 |
|
4771 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
4772 |
+ |
4773 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
4774 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
4775 |
+ |
4776 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
4777 |
+ |
4778 |
+ CXXFLAGS += [ |
4779 |
+ "-msse2" |
4780 |
+ ] |
4781 |
+ |
4782 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
4783 |
+ |
4784 |
+ CXXFLAGS += [ |
4785 |
+ "-msse2" |
4786 |
+ ] |
4787 |
+ |
4788 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
4789 |
+ |
4790 |
+ CXXFLAGS += [ |
4791 |
+ "-msse2" |
4792 |
+ ] |
4793 |
+ |
4794 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
4795 |
|
4796 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
4797 |
@@ -168,4 +235,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
4798 |
"-msse2" |
4799 |
] |
4800 |
|
4801 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
4802 |
+ |
4803 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
4804 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
4805 |
+ |
4806 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
4807 |
+ |
4808 |
+ CXXFLAGS += [ |
4809 |
+ "-msse2" |
4810 |
+ ] |
4811 |
+ |
4812 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
4813 |
+ |
4814 |
+ CXXFLAGS += [ |
4815 |
+ "-msse2" |
4816 |
+ ] |
4817 |
+ |
4818 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
4819 |
+ |
4820 |
+ CXXFLAGS += [ |
4821 |
+ "-msse2" |
4822 |
+ ] |
4823 |
+ |
4824 |
Library("isac_gn") |
4825 |
diff --git media/webrtc/trunk/webrtc/modules/audio_coding/isac_neon_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/isac_neon_gn/moz.build |
4826 |
index 0d32b4ac0ecf..86360db061ad 100644 |
4827 |
--- media/webrtc/trunk/webrtc/modules/audio_coding/isac_neon_gn/moz.build |
4828 |
+++ media/webrtc/trunk/webrtc/modules/audio_coding/isac_neon_gn/moz.build |
4829 |
@@ -10,25 +10,15 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] |
4830 |
COMPILE_FLAGS["STL"] = [] |
4831 |
AllowCompilerWarnings() |
4832 |
|
4833 |
-DEFINES["ANDROID"] = True |
4834 |
-DEFINES["ANDROID_NDK_VERSION"] = "r12b" |
4835 |
DEFINES["CHROMIUM_BUILD"] = True |
4836 |
-DEFINES["DISABLE_NACL"] = True |
4837 |
DEFINES["EXPAT_RELATIVE_PATH"] = True |
4838 |
-DEFINES["HAVE_SYS_UIO_H"] = True |
4839 |
-DEFINES["NO_TCMALLOC"] = True |
4840 |
-DEFINES["USE_OPENSSL_CERTS"] = "1" |
4841 |
DEFINES["V8_DEPRECATION_WARNINGS"] = True |
4842 |
-DEFINES["WEBRTC_ANDROID"] = True |
4843 |
-DEFINES["WEBRTC_ANDROID_OPENSLES"] = True |
4844 |
DEFINES["WEBRTC_HAS_NEON"] = True |
4845 |
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True |
4846 |
-DEFINES["WEBRTC_LINUX"] = True |
4847 |
DEFINES["WEBRTC_MOZILLA_BUILD"] = True |
4848 |
DEFINES["WEBRTC_POSIX"] = True |
4849 |
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True |
4850 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
4851 |
-DEFINES["__GNU_SOURCE"] = "1" |
4852 |
|
4853 |
FINAL_LIBRARY = "webrtc" |
4854 |
|
4855 |
@@ -45,10 +35,6 @@ LOCAL_INCLUDES += [ |
4856 |
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/include/" |
4857 |
] |
4858 |
|
4859 |
-OS_LIBS += [ |
4860 |
- "log" |
4861 |
-] |
4862 |
- |
4863 |
UNIFIED_SOURCES += [ |
4864 |
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/entropy_coding_neon.c", |
4865 |
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/filterbanks_neon.c", |
4866 |
@@ -69,6 +55,29 @@ if CONFIG["MOZ_DEBUG"] == "1": |
4867 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
4868 |
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1" |
4869 |
|
4870 |
+if CONFIG["OS_TARGET"] == "Android": |
4871 |
+ |
4872 |
+ DEFINES["ANDROID"] = True |
4873 |
+ DEFINES["ANDROID_NDK_VERSION"] = "r12b" |
4874 |
+ DEFINES["DISABLE_NACL"] = True |
4875 |
+ DEFINES["HAVE_SYS_UIO_H"] = True |
4876 |
+ DEFINES["NO_TCMALLOC"] = True |
4877 |
+ DEFINES["USE_OPENSSL_CERTS"] = "1" |
4878 |
+ DEFINES["WEBRTC_ANDROID"] = True |
4879 |
+ DEFINES["WEBRTC_ANDROID_OPENSLES"] = True |
4880 |
+ DEFINES["WEBRTC_LINUX"] = True |
4881 |
+ DEFINES["__GNU_SOURCE"] = "1" |
4882 |
+ |
4883 |
+ OS_LIBS += [ |
4884 |
+ "log" |
4885 |
+ ] |
4886 |
+ |
4887 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
4888 |
+ |
4889 |
+ DEFINES["USE_X11"] = "1" |
4890 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
4891 |
+ DEFINES["WEBRTC_BSD"] = True |
4892 |
+ |
4893 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": |
4894 |
|
4895 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
4896 |
diff --git media/webrtc/trunk/webrtc/modules/audio_coding/neteq_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/neteq_gn/moz.build |
4897 |
index 2a2f7ed76fd3..3423d92fd759 100644 |
4898 |
--- media/webrtc/trunk/webrtc/modules/audio_coding/neteq_gn/moz.build |
4899 |
+++ media/webrtc/trunk/webrtc/modules/audio_coding/neteq_gn/moz.build |
4900 |
@@ -123,6 +123,30 @@ if CONFIG["OS_TARGET"] == "Darwin": |
4901 |
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" |
4902 |
] |
4903 |
|
4904 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
4905 |
+ |
4906 |
+ DEFINES["USE_X11"] = "1" |
4907 |
+ DEFINES["WEBRTC_BSD"] = True |
4908 |
+ DEFINES["WEBRTC_CODEC_ISAC"] = True |
4909 |
+ DEFINES["WEBRTC_POSIX"] = True |
4910 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
4911 |
+ |
4912 |
+ LOCAL_INCLUDES += [ |
4913 |
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" |
4914 |
+ ] |
4915 |
+ |
4916 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
4917 |
+ |
4918 |
+ DEFINES["USE_X11"] = "1" |
4919 |
+ DEFINES["WEBRTC_BSD"] = True |
4920 |
+ DEFINES["WEBRTC_CODEC_ISAC"] = True |
4921 |
+ DEFINES["WEBRTC_POSIX"] = True |
4922 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
4923 |
+ |
4924 |
+ LOCAL_INCLUDES += [ |
4925 |
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" |
4926 |
+ ] |
4927 |
+ |
4928 |
if CONFIG["OS_TARGET"] == "Linux": |
4929 |
|
4930 |
DEFINES["USE_NSS_CERTS"] = "1" |
4931 |
@@ -141,6 +165,30 @@ if CONFIG["OS_TARGET"] == "Linux": |
4932 |
"rt" |
4933 |
] |
4934 |
|
4935 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
4936 |
+ |
4937 |
+ DEFINES["USE_X11"] = "1" |
4938 |
+ DEFINES["WEBRTC_BSD"] = True |
4939 |
+ DEFINES["WEBRTC_CODEC_ISAC"] = True |
4940 |
+ DEFINES["WEBRTC_POSIX"] = True |
4941 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
4942 |
+ |
4943 |
+ LOCAL_INCLUDES += [ |
4944 |
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" |
4945 |
+ ] |
4946 |
+ |
4947 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
4948 |
+ |
4949 |
+ DEFINES["USE_X11"] = "1" |
4950 |
+ DEFINES["WEBRTC_BSD"] = True |
4951 |
+ DEFINES["WEBRTC_CODEC_ISAC"] = True |
4952 |
+ DEFINES["WEBRTC_POSIX"] = True |
4953 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
4954 |
+ |
4955 |
+ LOCAL_INCLUDES += [ |
4956 |
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" |
4957 |
+ ] |
4958 |
+ |
4959 |
if CONFIG["OS_TARGET"] == "WINNT": |
4960 |
|
4961 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
4962 |
@@ -183,6 +231,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
4963 |
|
4964 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
4965 |
|
4966 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
4967 |
+ |
4968 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
4969 |
+ |
4970 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
4971 |
+ |
4972 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
4973 |
+ |
4974 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
4975 |
+ |
4976 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
4977 |
+ |
4978 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
4979 |
+ |
4980 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
4981 |
+ |
4982 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
4983 |
|
4984 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
4985 |
@@ -220,6 +284,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
4986 |
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" |
4987 |
] |
4988 |
|
4989 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
4990 |
+ |
4991 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
4992 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
4993 |
+ |
4994 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
4995 |
+ |
4996 |
+ CXXFLAGS += [ |
4997 |
+ "-msse2" |
4998 |
+ ] |
4999 |
+ |
5000 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
5001 |
+ |
5002 |
+ CXXFLAGS += [ |
5003 |
+ "-msse2" |
5004 |
+ ] |
5005 |
+ |
5006 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
5007 |
+ |
5008 |
+ CXXFLAGS += [ |
5009 |
+ "-msse2" |
5010 |
+ ] |
5011 |
+ |
5012 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
5013 |
|
5014 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
5015 |
@@ -253,4 +340,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
5016 |
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" |
5017 |
] |
5018 |
|
5019 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
5020 |
+ |
5021 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
5022 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
5023 |
+ |
5024 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
5025 |
+ |
5026 |
+ CXXFLAGS += [ |
5027 |
+ "-msse2" |
5028 |
+ ] |
5029 |
+ |
5030 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
5031 |
+ |
5032 |
+ CXXFLAGS += [ |
5033 |
+ "-msse2" |
5034 |
+ ] |
5035 |
+ |
5036 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
5037 |
+ |
5038 |
+ CXXFLAGS += [ |
5039 |
+ "-msse2" |
5040 |
+ ] |
5041 |
+ |
5042 |
Library("neteq_gn") |
5043 |
diff --git media/webrtc/trunk/webrtc/modules/audio_coding/pcm16b_c_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/pcm16b_c_gn/moz.build |
5044 |
index cb3863c723ed..8dd7e1bbf07d 100644 |
5045 |
--- media/webrtc/trunk/webrtc/modules/audio_coding/pcm16b_c_gn/moz.build |
5046 |
+++ media/webrtc/trunk/webrtc/modules/audio_coding/pcm16b_c_gn/moz.build |
5047 |
@@ -66,6 +66,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
5048 |
DEFINES["WEBRTC_POSIX"] = True |
5049 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
5050 |
|
5051 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
5052 |
+ |
5053 |
+ DEFINES["USE_X11"] = "1" |
5054 |
+ DEFINES["WEBRTC_BSD"] = True |
5055 |
+ DEFINES["WEBRTC_POSIX"] = True |
5056 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5057 |
+ |
5058 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
5059 |
+ |
5060 |
+ DEFINES["USE_X11"] = "1" |
5061 |
+ DEFINES["WEBRTC_BSD"] = True |
5062 |
+ DEFINES["WEBRTC_POSIX"] = True |
5063 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5064 |
+ |
5065 |
if CONFIG["OS_TARGET"] == "Linux": |
5066 |
|
5067 |
DEFINES["USE_NSS_CERTS"] = "1" |
5068 |
@@ -74,6 +88,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
5069 |
DEFINES["WEBRTC_POSIX"] = True |
5070 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
5071 |
|
5072 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
5073 |
+ |
5074 |
+ DEFINES["USE_X11"] = "1" |
5075 |
+ DEFINES["WEBRTC_BSD"] = True |
5076 |
+ DEFINES["WEBRTC_POSIX"] = True |
5077 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5078 |
+ |
5079 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
5080 |
+ |
5081 |
+ DEFINES["USE_X11"] = "1" |
5082 |
+ DEFINES["WEBRTC_BSD"] = True |
5083 |
+ DEFINES["WEBRTC_POSIX"] = True |
5084 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5085 |
+ |
5086 |
if CONFIG["OS_TARGET"] == "WINNT": |
5087 |
|
5088 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
5089 |
@@ -107,6 +135,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
5090 |
|
5091 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
5092 |
|
5093 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
5094 |
+ |
5095 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
5096 |
+ |
5097 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
5098 |
+ |
5099 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
5100 |
+ |
5101 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
5102 |
+ |
5103 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
5104 |
+ |
5105 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
5106 |
+ |
5107 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
5108 |
+ |
5109 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
5110 |
|
5111 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
5112 |
@@ -132,6 +176,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
5113 |
"-msse2" |
5114 |
] |
5115 |
|
5116 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
5117 |
+ |
5118 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
5119 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
5120 |
+ |
5121 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
5122 |
+ |
5123 |
+ CFLAGS += [ |
5124 |
+ "-msse2" |
5125 |
+ ] |
5126 |
+ |
5127 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
5128 |
+ |
5129 |
+ CFLAGS += [ |
5130 |
+ "-msse2" |
5131 |
+ ] |
5132 |
+ |
5133 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
5134 |
+ |
5135 |
+ CFLAGS += [ |
5136 |
+ "-msse2" |
5137 |
+ ] |
5138 |
+ |
5139 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
5140 |
|
5141 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
5142 |
@@ -153,4 +220,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
5143 |
"-msse2" |
5144 |
] |
5145 |
|
5146 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
5147 |
+ |
5148 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
5149 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
5150 |
+ |
5151 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
5152 |
+ |
5153 |
+ CFLAGS += [ |
5154 |
+ "-msse2" |
5155 |
+ ] |
5156 |
+ |
5157 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
5158 |
+ |
5159 |
+ CFLAGS += [ |
5160 |
+ "-msse2" |
5161 |
+ ] |
5162 |
+ |
5163 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
5164 |
+ |
5165 |
+ CFLAGS += [ |
5166 |
+ "-msse2" |
5167 |
+ ] |
5168 |
+ |
5169 |
Library("pcm16b_c_gn") |
5170 |
diff --git media/webrtc/trunk/webrtc/modules/audio_coding/pcm16b_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/pcm16b_gn/moz.build |
5171 |
index ef378b0e5efb..475086d5abc7 100644 |
5172 |
--- media/webrtc/trunk/webrtc/modules/audio_coding/pcm16b_gn/moz.build |
5173 |
+++ media/webrtc/trunk/webrtc/modules/audio_coding/pcm16b_gn/moz.build |
5174 |
@@ -72,6 +72,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
5175 |
DEFINES["WEBRTC_POSIX"] = True |
5176 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
5177 |
|
5178 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
5179 |
+ |
5180 |
+ DEFINES["USE_X11"] = "1" |
5181 |
+ DEFINES["WEBRTC_BSD"] = True |
5182 |
+ DEFINES["WEBRTC_POSIX"] = True |
5183 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5184 |
+ |
5185 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
5186 |
+ |
5187 |
+ DEFINES["USE_X11"] = "1" |
5188 |
+ DEFINES["WEBRTC_BSD"] = True |
5189 |
+ DEFINES["WEBRTC_POSIX"] = True |
5190 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5191 |
+ |
5192 |
if CONFIG["OS_TARGET"] == "Linux": |
5193 |
|
5194 |
DEFINES["USE_NSS_CERTS"] = "1" |
5195 |
@@ -80,6 +94,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
5196 |
DEFINES["WEBRTC_POSIX"] = True |
5197 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
5198 |
|
5199 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
5200 |
+ |
5201 |
+ DEFINES["USE_X11"] = "1" |
5202 |
+ DEFINES["WEBRTC_BSD"] = True |
5203 |
+ DEFINES["WEBRTC_POSIX"] = True |
5204 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5205 |
+ |
5206 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
5207 |
+ |
5208 |
+ DEFINES["USE_X11"] = "1" |
5209 |
+ DEFINES["WEBRTC_BSD"] = True |
5210 |
+ DEFINES["WEBRTC_POSIX"] = True |
5211 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5212 |
+ |
5213 |
if CONFIG["OS_TARGET"] == "WINNT": |
5214 |
|
5215 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
5216 |
@@ -113,6 +141,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
5217 |
|
5218 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
5219 |
|
5220 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
5221 |
+ |
5222 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
5223 |
+ |
5224 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
5225 |
+ |
5226 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
5227 |
+ |
5228 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
5229 |
+ |
5230 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
5231 |
+ |
5232 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
5233 |
+ |
5234 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
5235 |
+ |
5236 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
5237 |
|
5238 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
5239 |
@@ -138,6 +182,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
5240 |
"-msse2" |
5241 |
] |
5242 |
|
5243 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
5244 |
+ |
5245 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
5246 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
5247 |
+ |
5248 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
5249 |
+ |
5250 |
+ CXXFLAGS += [ |
5251 |
+ "-msse2" |
5252 |
+ ] |
5253 |
+ |
5254 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
5255 |
+ |
5256 |
+ CXXFLAGS += [ |
5257 |
+ "-msse2" |
5258 |
+ ] |
5259 |
+ |
5260 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
5261 |
+ |
5262 |
+ CXXFLAGS += [ |
5263 |
+ "-msse2" |
5264 |
+ ] |
5265 |
+ |
5266 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
5267 |
|
5268 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
5269 |
@@ -159,4 +226,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
5270 |
"-msse2" |
5271 |
] |
5272 |
|
5273 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
5274 |
+ |
5275 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
5276 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
5277 |
+ |
5278 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
5279 |
+ |
5280 |
+ CXXFLAGS += [ |
5281 |
+ "-msse2" |
5282 |
+ ] |
5283 |
+ |
5284 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
5285 |
+ |
5286 |
+ CXXFLAGS += [ |
5287 |
+ "-msse2" |
5288 |
+ ] |
5289 |
+ |
5290 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
5291 |
+ |
5292 |
+ CXXFLAGS += [ |
5293 |
+ "-msse2" |
5294 |
+ ] |
5295 |
+ |
5296 |
Library("pcm16b_gn") |
5297 |
diff --git media/webrtc/trunk/webrtc/modules/audio_coding/rent_a_codec_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/rent_a_codec_gn/moz.build |
5298 |
index 00c769c9d481..f2759b871e6a 100644 |
5299 |
--- media/webrtc/trunk/webrtc/modules/audio_coding/rent_a_codec_gn/moz.build |
5300 |
+++ media/webrtc/trunk/webrtc/modules/audio_coding/rent_a_codec_gn/moz.build |
5301 |
@@ -81,6 +81,28 @@ if CONFIG["OS_TARGET"] == "Darwin": |
5302 |
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" |
5303 |
] |
5304 |
|
5305 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
5306 |
+ |
5307 |
+ DEFINES["USE_X11"] = "1" |
5308 |
+ DEFINES["WEBRTC_BSD"] = True |
5309 |
+ DEFINES["WEBRTC_POSIX"] = True |
5310 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5311 |
+ |
5312 |
+ LOCAL_INCLUDES += [ |
5313 |
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" |
5314 |
+ ] |
5315 |
+ |
5316 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
5317 |
+ |
5318 |
+ DEFINES["USE_X11"] = "1" |
5319 |
+ DEFINES["WEBRTC_BSD"] = True |
5320 |
+ DEFINES["WEBRTC_POSIX"] = True |
5321 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5322 |
+ |
5323 |
+ LOCAL_INCLUDES += [ |
5324 |
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" |
5325 |
+ ] |
5326 |
+ |
5327 |
if CONFIG["OS_TARGET"] == "Linux": |
5328 |
|
5329 |
DEFINES["USE_NSS_CERTS"] = "1" |
5330 |
@@ -98,6 +120,28 @@ if CONFIG["OS_TARGET"] == "Linux": |
5331 |
"rt" |
5332 |
] |
5333 |
|
5334 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
5335 |
+ |
5336 |
+ DEFINES["USE_X11"] = "1" |
5337 |
+ DEFINES["WEBRTC_BSD"] = True |
5338 |
+ DEFINES["WEBRTC_POSIX"] = True |
5339 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5340 |
+ |
5341 |
+ LOCAL_INCLUDES += [ |
5342 |
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" |
5343 |
+ ] |
5344 |
+ |
5345 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
5346 |
+ |
5347 |
+ DEFINES["USE_X11"] = "1" |
5348 |
+ DEFINES["WEBRTC_BSD"] = True |
5349 |
+ DEFINES["WEBRTC_POSIX"] = True |
5350 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5351 |
+ |
5352 |
+ LOCAL_INCLUDES += [ |
5353 |
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" |
5354 |
+ ] |
5355 |
+ |
5356 |
if CONFIG["OS_TARGET"] == "WINNT": |
5357 |
|
5358 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
5359 |
@@ -139,6 +183,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
5360 |
|
5361 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
5362 |
|
5363 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
5364 |
+ |
5365 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
5366 |
+ |
5367 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
5368 |
+ |
5369 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
5370 |
+ |
5371 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
5372 |
+ |
5373 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
5374 |
+ |
5375 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
5376 |
+ |
5377 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
5378 |
+ |
5379 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
5380 |
|
5381 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
5382 |
@@ -176,6 +236,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
5383 |
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" |
5384 |
] |
5385 |
|
5386 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
5387 |
+ |
5388 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
5389 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
5390 |
+ |
5391 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
5392 |
+ |
5393 |
+ CXXFLAGS += [ |
5394 |
+ "-msse2" |
5395 |
+ ] |
5396 |
+ |
5397 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
5398 |
+ |
5399 |
+ CXXFLAGS += [ |
5400 |
+ "-msse2" |
5401 |
+ ] |
5402 |
+ |
5403 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
5404 |
+ |
5405 |
+ CXXFLAGS += [ |
5406 |
+ "-msse2" |
5407 |
+ ] |
5408 |
+ |
5409 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
5410 |
|
5411 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
5412 |
@@ -209,4 +292,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
5413 |
"/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/" |
5414 |
] |
5415 |
|
5416 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
5417 |
+ |
5418 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
5419 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
5420 |
+ |
5421 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
5422 |
+ |
5423 |
+ CXXFLAGS += [ |
5424 |
+ "-msse2" |
5425 |
+ ] |
5426 |
+ |
5427 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
5428 |
+ |
5429 |
+ CXXFLAGS += [ |
5430 |
+ "-msse2" |
5431 |
+ ] |
5432 |
+ |
5433 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
5434 |
+ |
5435 |
+ CXXFLAGS += [ |
5436 |
+ "-msse2" |
5437 |
+ ] |
5438 |
+ |
5439 |
Library("rent_a_codec_gn") |
5440 |
diff --git media/webrtc/trunk/webrtc/modules/audio_coding/webrtc_opus_c_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/webrtc_opus_c_gn/moz.build |
5441 |
index 37eb99386bc1..f0b0c70f541d 100644 |
5442 |
--- media/webrtc/trunk/webrtc/modules/audio_coding/webrtc_opus_c_gn/moz.build |
5443 |
+++ media/webrtc/trunk/webrtc/modules/audio_coding/webrtc_opus_c_gn/moz.build |
5444 |
@@ -70,6 +70,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
5445 |
DEFINES["WEBRTC_POSIX"] = True |
5446 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
5447 |
|
5448 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
5449 |
+ |
5450 |
+ DEFINES["USE_X11"] = "1" |
5451 |
+ DEFINES["WEBRTC_BSD"] = True |
5452 |
+ DEFINES["WEBRTC_POSIX"] = True |
5453 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5454 |
+ |
5455 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
5456 |
+ |
5457 |
+ DEFINES["USE_X11"] = "1" |
5458 |
+ DEFINES["WEBRTC_BSD"] = True |
5459 |
+ DEFINES["WEBRTC_POSIX"] = True |
5460 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5461 |
+ |
5462 |
if CONFIG["OS_TARGET"] == "Linux": |
5463 |
|
5464 |
DEFINES["USE_NSS_CERTS"] = "1" |
5465 |
@@ -78,6 +92,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
5466 |
DEFINES["WEBRTC_POSIX"] = True |
5467 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
5468 |
|
5469 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
5470 |
+ |
5471 |
+ DEFINES["USE_X11"] = "1" |
5472 |
+ DEFINES["WEBRTC_BSD"] = True |
5473 |
+ DEFINES["WEBRTC_POSIX"] = True |
5474 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5475 |
+ |
5476 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
5477 |
+ |
5478 |
+ DEFINES["USE_X11"] = "1" |
5479 |
+ DEFINES["WEBRTC_BSD"] = True |
5480 |
+ DEFINES["WEBRTC_POSIX"] = True |
5481 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5482 |
+ |
5483 |
if CONFIG["OS_TARGET"] == "WINNT": |
5484 |
|
5485 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
5486 |
@@ -111,6 +139,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
5487 |
|
5488 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
5489 |
|
5490 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
5491 |
+ |
5492 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
5493 |
+ |
5494 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
5495 |
+ |
5496 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
5497 |
+ |
5498 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
5499 |
+ |
5500 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
5501 |
+ |
5502 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
5503 |
+ |
5504 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
5505 |
+ |
5506 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
5507 |
|
5508 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
5509 |
@@ -136,6 +180,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
5510 |
"-msse2" |
5511 |
] |
5512 |
|
5513 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
5514 |
+ |
5515 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
5516 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
5517 |
+ |
5518 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
5519 |
+ |
5520 |
+ CFLAGS += [ |
5521 |
+ "-msse2" |
5522 |
+ ] |
5523 |
+ |
5524 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
5525 |
+ |
5526 |
+ CFLAGS += [ |
5527 |
+ "-msse2" |
5528 |
+ ] |
5529 |
+ |
5530 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
5531 |
+ |
5532 |
+ CFLAGS += [ |
5533 |
+ "-msse2" |
5534 |
+ ] |
5535 |
+ |
5536 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
5537 |
|
5538 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
5539 |
@@ -157,4 +224,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
5540 |
"-msse2" |
5541 |
] |
5542 |
|
5543 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
5544 |
+ |
5545 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
5546 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
5547 |
+ |
5548 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
5549 |
+ |
5550 |
+ CFLAGS += [ |
5551 |
+ "-msse2" |
5552 |
+ ] |
5553 |
+ |
5554 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
5555 |
+ |
5556 |
+ CFLAGS += [ |
5557 |
+ "-msse2" |
5558 |
+ ] |
5559 |
+ |
5560 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
5561 |
+ |
5562 |
+ CFLAGS += [ |
5563 |
+ "-msse2" |
5564 |
+ ] |
5565 |
+ |
5566 |
Library("webrtc_opus_c_gn") |
5567 |
diff --git media/webrtc/trunk/webrtc/modules/audio_coding/webrtc_opus_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_coding/webrtc_opus_gn/moz.build |
5568 |
index 4fd97ed7d4d8..1e119b2fda85 100644 |
5569 |
--- media/webrtc/trunk/webrtc/modules/audio_coding/webrtc_opus_gn/moz.build |
5570 |
+++ media/webrtc/trunk/webrtc/modules/audio_coding/webrtc_opus_gn/moz.build |
5571 |
@@ -74,6 +74,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
5572 |
DEFINES["WEBRTC_POSIX"] = True |
5573 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
5574 |
|
5575 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
5576 |
+ |
5577 |
+ DEFINES["USE_X11"] = "1" |
5578 |
+ DEFINES["WEBRTC_BSD"] = True |
5579 |
+ DEFINES["WEBRTC_POSIX"] = True |
5580 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5581 |
+ |
5582 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
5583 |
+ |
5584 |
+ DEFINES["USE_X11"] = "1" |
5585 |
+ DEFINES["WEBRTC_BSD"] = True |
5586 |
+ DEFINES["WEBRTC_POSIX"] = True |
5587 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5588 |
+ |
5589 |
if CONFIG["OS_TARGET"] == "Linux": |
5590 |
|
5591 |
DEFINES["USE_NSS_CERTS"] = "1" |
5592 |
@@ -86,6 +100,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
5593 |
"rt" |
5594 |
] |
5595 |
|
5596 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
5597 |
+ |
5598 |
+ DEFINES["USE_X11"] = "1" |
5599 |
+ DEFINES["WEBRTC_BSD"] = True |
5600 |
+ DEFINES["WEBRTC_POSIX"] = True |
5601 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5602 |
+ |
5603 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
5604 |
+ |
5605 |
+ DEFINES["USE_X11"] = "1" |
5606 |
+ DEFINES["WEBRTC_BSD"] = True |
5607 |
+ DEFINES["WEBRTC_POSIX"] = True |
5608 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5609 |
+ |
5610 |
if CONFIG["OS_TARGET"] == "WINNT": |
5611 |
|
5612 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
5613 |
@@ -123,6 +151,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
5614 |
|
5615 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
5616 |
|
5617 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
5618 |
+ |
5619 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
5620 |
+ |
5621 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
5622 |
+ |
5623 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
5624 |
+ |
5625 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
5626 |
+ |
5627 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
5628 |
+ |
5629 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
5630 |
+ |
5631 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
5632 |
+ |
5633 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
5634 |
|
5635 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
5636 |
@@ -148,6 +192,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
5637 |
"-msse2" |
5638 |
] |
5639 |
|
5640 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
5641 |
+ |
5642 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
5643 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
5644 |
+ |
5645 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
5646 |
+ |
5647 |
+ CXXFLAGS += [ |
5648 |
+ "-msse2" |
5649 |
+ ] |
5650 |
+ |
5651 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
5652 |
+ |
5653 |
+ CXXFLAGS += [ |
5654 |
+ "-msse2" |
5655 |
+ ] |
5656 |
+ |
5657 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
5658 |
+ |
5659 |
+ CXXFLAGS += [ |
5660 |
+ "-msse2" |
5661 |
+ ] |
5662 |
+ |
5663 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
5664 |
|
5665 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
5666 |
@@ -169,4 +236,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
5667 |
"-msse2" |
5668 |
] |
5669 |
|
5670 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
5671 |
+ |
5672 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
5673 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
5674 |
+ |
5675 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
5676 |
+ |
5677 |
+ CXXFLAGS += [ |
5678 |
+ "-msse2" |
5679 |
+ ] |
5680 |
+ |
5681 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
5682 |
+ |
5683 |
+ CXXFLAGS += [ |
5684 |
+ "-msse2" |
5685 |
+ ] |
5686 |
+ |
5687 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
5688 |
+ |
5689 |
+ CXXFLAGS += [ |
5690 |
+ "-msse2" |
5691 |
+ ] |
5692 |
+ |
5693 |
Library("webrtc_opus_gn") |
5694 |
diff --git media/webrtc/trunk/webrtc/modules/audio_conference_mixer/audio_conference_mixer_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_conference_mixer/audio_conference_mixer_gn/moz.build |
5695 |
index ef967ae4d17a..6f82159980aa 100644 |
5696 |
--- media/webrtc/trunk/webrtc/modules/audio_conference_mixer/audio_conference_mixer_gn/moz.build |
5697 |
+++ media/webrtc/trunk/webrtc/modules/audio_conference_mixer/audio_conference_mixer_gn/moz.build |
5698 |
@@ -73,6 +73,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
5699 |
DEFINES["WEBRTC_POSIX"] = True |
5700 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
5701 |
|
5702 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
5703 |
+ |
5704 |
+ DEFINES["USE_X11"] = "1" |
5705 |
+ DEFINES["WEBRTC_BSD"] = True |
5706 |
+ DEFINES["WEBRTC_POSIX"] = True |
5707 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5708 |
+ |
5709 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
5710 |
+ |
5711 |
+ DEFINES["USE_X11"] = "1" |
5712 |
+ DEFINES["WEBRTC_BSD"] = True |
5713 |
+ DEFINES["WEBRTC_POSIX"] = True |
5714 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5715 |
+ |
5716 |
if CONFIG["OS_TARGET"] == "Linux": |
5717 |
|
5718 |
DEFINES["USE_NSS_CERTS"] = "1" |
5719 |
@@ -86,6 +100,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
5720 |
"rt" |
5721 |
] |
5722 |
|
5723 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
5724 |
+ |
5725 |
+ DEFINES["USE_X11"] = "1" |
5726 |
+ DEFINES["WEBRTC_BSD"] = True |
5727 |
+ DEFINES["WEBRTC_POSIX"] = True |
5728 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5729 |
+ |
5730 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
5731 |
+ |
5732 |
+ DEFINES["USE_X11"] = "1" |
5733 |
+ DEFINES["WEBRTC_BSD"] = True |
5734 |
+ DEFINES["WEBRTC_POSIX"] = True |
5735 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5736 |
+ |
5737 |
if CONFIG["OS_TARGET"] == "WINNT": |
5738 |
|
5739 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
5740 |
@@ -123,6 +151,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
5741 |
|
5742 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
5743 |
|
5744 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
5745 |
+ |
5746 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
5747 |
+ |
5748 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
5749 |
+ |
5750 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
5751 |
+ |
5752 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
5753 |
+ |
5754 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
5755 |
+ |
5756 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
5757 |
+ |
5758 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
5759 |
+ |
5760 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
5761 |
|
5762 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
5763 |
@@ -148,6 +192,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
5764 |
"-msse2" |
5765 |
] |
5766 |
|
5767 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
5768 |
+ |
5769 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
5770 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
5771 |
+ |
5772 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
5773 |
+ |
5774 |
+ CXXFLAGS += [ |
5775 |
+ "-msse2" |
5776 |
+ ] |
5777 |
+ |
5778 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
5779 |
+ |
5780 |
+ CXXFLAGS += [ |
5781 |
+ "-msse2" |
5782 |
+ ] |
5783 |
+ |
5784 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
5785 |
+ |
5786 |
+ CXXFLAGS += [ |
5787 |
+ "-msse2" |
5788 |
+ ] |
5789 |
+ |
5790 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
5791 |
|
5792 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
5793 |
@@ -169,4 +236,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
5794 |
"-msse2" |
5795 |
] |
5796 |
|
5797 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
5798 |
+ |
5799 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
5800 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
5801 |
+ |
5802 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
5803 |
+ |
5804 |
+ CXXFLAGS += [ |
5805 |
+ "-msse2" |
5806 |
+ ] |
5807 |
+ |
5808 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
5809 |
+ |
5810 |
+ CXXFLAGS += [ |
5811 |
+ "-msse2" |
5812 |
+ ] |
5813 |
+ |
5814 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
5815 |
+ |
5816 |
+ CXXFLAGS += [ |
5817 |
+ "-msse2" |
5818 |
+ ] |
5819 |
+ |
5820 |
Library("audio_conference_mixer_gn") |
5821 |
diff --git media/webrtc/trunk/webrtc/modules/audio_device/audio_device_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_device/audio_device_gn/moz.build |
5822 |
index 6026ed7939c6..5ded7d30b670 100644 |
5823 |
--- media/webrtc/trunk/webrtc/modules/audio_device/audio_device_gn/moz.build |
5824 |
+++ media/webrtc/trunk/webrtc/modules/audio_device/audio_device_gn/moz.build |
5825 |
@@ -120,6 +120,22 @@ if CONFIG["OS_TARGET"] == "Darwin": |
5826 |
"/media/webrtc/trunk/webrtc/modules/audio_device/mac/audio_mixer_manager_mac.cc" |
5827 |
] |
5828 |
|
5829 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
5830 |
+ |
5831 |
+ DEFINES["USE_X11"] = "1" |
5832 |
+ DEFINES["WEBRTC_BSD"] = True |
5833 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
5834 |
+ DEFINES["WEBRTC_POSIX"] = True |
5835 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5836 |
+ |
5837 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
5838 |
+ |
5839 |
+ DEFINES["USE_X11"] = "1" |
5840 |
+ DEFINES["WEBRTC_BSD"] = True |
5841 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
5842 |
+ DEFINES["WEBRTC_POSIX"] = True |
5843 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5844 |
+ |
5845 |
if CONFIG["OS_TARGET"] == "Linux": |
5846 |
|
5847 |
DEFINES["LINUX_PULSE"] = True |
5848 |
@@ -150,6 +166,22 @@ if CONFIG["OS_TARGET"] == "Linux": |
5849 |
"/media/webrtc/trunk/webrtc/modules/audio_device/linux/pulseaudiosymboltable_linux.cc" |
5850 |
] |
5851 |
|
5852 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
5853 |
+ |
5854 |
+ DEFINES["USE_X11"] = "1" |
5855 |
+ DEFINES["WEBRTC_BSD"] = True |
5856 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
5857 |
+ DEFINES["WEBRTC_POSIX"] = True |
5858 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5859 |
+ |
5860 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
5861 |
+ |
5862 |
+ DEFINES["USE_X11"] = "1" |
5863 |
+ DEFINES["WEBRTC_BSD"] = True |
5864 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
5865 |
+ DEFINES["WEBRTC_POSIX"] = True |
5866 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5867 |
+ |
5868 |
if CONFIG["OS_TARGET"] == "WINNT": |
5869 |
|
5870 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
5871 |
@@ -204,6 +236,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
5872 |
|
5873 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
5874 |
|
5875 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
5876 |
+ |
5877 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
5878 |
+ |
5879 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
5880 |
+ |
5881 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
5882 |
+ |
5883 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
5884 |
+ |
5885 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
5886 |
+ |
5887 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
5888 |
+ |
5889 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
5890 |
+ |
5891 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
5892 |
|
5893 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
5894 |
@@ -229,6 +277,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
5895 |
"-msse2" |
5896 |
] |
5897 |
|
5898 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
5899 |
+ |
5900 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
5901 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
5902 |
+ |
5903 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
5904 |
+ |
5905 |
+ CXXFLAGS += [ |
5906 |
+ "-msse2" |
5907 |
+ ] |
5908 |
+ |
5909 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
5910 |
+ |
5911 |
+ CXXFLAGS += [ |
5912 |
+ "-msse2" |
5913 |
+ ] |
5914 |
+ |
5915 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
5916 |
+ |
5917 |
+ CXXFLAGS += [ |
5918 |
+ "-msse2" |
5919 |
+ ] |
5920 |
+ |
5921 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
5922 |
|
5923 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
5924 |
@@ -250,4 +321,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
5925 |
"-msse2" |
5926 |
] |
5927 |
|
5928 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
5929 |
+ |
5930 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
5931 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
5932 |
+ |
5933 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
5934 |
+ |
5935 |
+ CXXFLAGS += [ |
5936 |
+ "-msse2" |
5937 |
+ ] |
5938 |
+ |
5939 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
5940 |
+ |
5941 |
+ CXXFLAGS += [ |
5942 |
+ "-msse2" |
5943 |
+ ] |
5944 |
+ |
5945 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
5946 |
+ |
5947 |
+ CXXFLAGS += [ |
5948 |
+ "-msse2" |
5949 |
+ ] |
5950 |
+ |
5951 |
Library("audio_device_gn") |
5952 |
diff --git media/webrtc/trunk/webrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build |
5953 |
index a214e68a4634..a11d9a416bf0 100644 |
5954 |
--- media/webrtc/trunk/webrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build |
5955 |
+++ media/webrtc/trunk/webrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build |
5956 |
@@ -69,6 +69,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
5957 |
DEFINES["WEBRTC_POSIX"] = True |
5958 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
5959 |
|
5960 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
5961 |
+ |
5962 |
+ DEFINES["USE_X11"] = "1" |
5963 |
+ DEFINES["WEBRTC_BSD"] = True |
5964 |
+ DEFINES["WEBRTC_POSIX"] = True |
5965 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5966 |
+ |
5967 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
5968 |
+ |
5969 |
+ DEFINES["USE_X11"] = "1" |
5970 |
+ DEFINES["WEBRTC_BSD"] = True |
5971 |
+ DEFINES["WEBRTC_POSIX"] = True |
5972 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5973 |
+ |
5974 |
if CONFIG["OS_TARGET"] == "Linux": |
5975 |
|
5976 |
DEFINES["USE_NSS_CERTS"] = "1" |
5977 |
@@ -77,6 +91,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
5978 |
DEFINES["WEBRTC_POSIX"] = True |
5979 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
5980 |
|
5981 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
5982 |
+ |
5983 |
+ DEFINES["USE_X11"] = "1" |
5984 |
+ DEFINES["WEBRTC_BSD"] = True |
5985 |
+ DEFINES["WEBRTC_POSIX"] = True |
5986 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5987 |
+ |
5988 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
5989 |
+ |
5990 |
+ DEFINES["USE_X11"] = "1" |
5991 |
+ DEFINES["WEBRTC_BSD"] = True |
5992 |
+ DEFINES["WEBRTC_POSIX"] = True |
5993 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
5994 |
+ |
5995 |
if CONFIG["OS_TARGET"] == "WINNT": |
5996 |
|
5997 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
5998 |
@@ -110,6 +138,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
5999 |
|
6000 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
6001 |
|
6002 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
6003 |
+ |
6004 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
6005 |
+ |
6006 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
6007 |
+ |
6008 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
6009 |
+ |
6010 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
6011 |
+ |
6012 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
6013 |
+ |
6014 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
6015 |
+ |
6016 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
6017 |
+ |
6018 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
6019 |
|
6020 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
6021 |
@@ -135,6 +179,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
6022 |
"-msse2" |
6023 |
] |
6024 |
|
6025 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
6026 |
+ |
6027 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
6028 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
6029 |
+ |
6030 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
6031 |
+ |
6032 |
+ CXXFLAGS += [ |
6033 |
+ "-msse2" |
6034 |
+ ] |
6035 |
+ |
6036 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
6037 |
+ |
6038 |
+ CXXFLAGS += [ |
6039 |
+ "-msse2" |
6040 |
+ ] |
6041 |
+ |
6042 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
6043 |
+ |
6044 |
+ CXXFLAGS += [ |
6045 |
+ "-msse2" |
6046 |
+ ] |
6047 |
+ |
6048 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
6049 |
|
6050 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
6051 |
@@ -156,4 +223,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
6052 |
"-msse2" |
6053 |
] |
6054 |
|
6055 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
6056 |
+ |
6057 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
6058 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
6059 |
+ |
6060 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
6061 |
+ |
6062 |
+ CXXFLAGS += [ |
6063 |
+ "-msse2" |
6064 |
+ ] |
6065 |
+ |
6066 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
6067 |
+ |
6068 |
+ CXXFLAGS += [ |
6069 |
+ "-msse2" |
6070 |
+ ] |
6071 |
+ |
6072 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
6073 |
+ |
6074 |
+ CXXFLAGS += [ |
6075 |
+ "-msse2" |
6076 |
+ ] |
6077 |
+ |
6078 |
Library("audio_frame_manipulator_gn") |
6079 |
diff --git media/webrtc/trunk/webrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build |
6080 |
index 7f164fdf0987..a9189fc17b90 100644 |
6081 |
--- media/webrtc/trunk/webrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build |
6082 |
+++ media/webrtc/trunk/webrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build |
6083 |
@@ -70,6 +70,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
6084 |
DEFINES["WEBRTC_POSIX"] = True |
6085 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
6086 |
|
6087 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
6088 |
+ |
6089 |
+ DEFINES["USE_X11"] = "1" |
6090 |
+ DEFINES["WEBRTC_BSD"] = True |
6091 |
+ DEFINES["WEBRTC_POSIX"] = True |
6092 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
6093 |
+ |
6094 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
6095 |
+ |
6096 |
+ DEFINES["USE_X11"] = "1" |
6097 |
+ DEFINES["WEBRTC_BSD"] = True |
6098 |
+ DEFINES["WEBRTC_POSIX"] = True |
6099 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
6100 |
+ |
6101 |
if CONFIG["OS_TARGET"] == "Linux": |
6102 |
|
6103 |
DEFINES["USE_NSS_CERTS"] = "1" |
6104 |
@@ -83,6 +97,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
6105 |
"rt" |
6106 |
] |
6107 |
|
6108 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
6109 |
+ |
6110 |
+ DEFINES["USE_X11"] = "1" |
6111 |
+ DEFINES["WEBRTC_BSD"] = True |
6112 |
+ DEFINES["WEBRTC_POSIX"] = True |
6113 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
6114 |
+ |
6115 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
6116 |
+ |
6117 |
+ DEFINES["USE_X11"] = "1" |
6118 |
+ DEFINES["WEBRTC_BSD"] = True |
6119 |
+ DEFINES["WEBRTC_POSIX"] = True |
6120 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
6121 |
+ |
6122 |
if CONFIG["OS_TARGET"] == "WINNT": |
6123 |
|
6124 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
6125 |
@@ -120,6 +148,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
6126 |
|
6127 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
6128 |
|
6129 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
6130 |
+ |
6131 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
6132 |
+ |
6133 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
6134 |
+ |
6135 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
6136 |
+ |
6137 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
6138 |
+ |
6139 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
6140 |
+ |
6141 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
6142 |
+ |
6143 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
6144 |
+ |
6145 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
6146 |
|
6147 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
6148 |
@@ -145,6 +189,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
6149 |
"-msse2" |
6150 |
] |
6151 |
|
6152 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
6153 |
+ |
6154 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
6155 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
6156 |
+ |
6157 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
6158 |
+ |
6159 |
+ CXXFLAGS += [ |
6160 |
+ "-msse2" |
6161 |
+ ] |
6162 |
+ |
6163 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
6164 |
+ |
6165 |
+ CXXFLAGS += [ |
6166 |
+ "-msse2" |
6167 |
+ ] |
6168 |
+ |
6169 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
6170 |
+ |
6171 |
+ CXXFLAGS += [ |
6172 |
+ "-msse2" |
6173 |
+ ] |
6174 |
+ |
6175 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
6176 |
|
6177 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
6178 |
@@ -166,4 +233,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
6179 |
"-msse2" |
6180 |
] |
6181 |
|
6182 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
6183 |
+ |
6184 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
6185 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
6186 |
+ |
6187 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
6188 |
+ |
6189 |
+ CXXFLAGS += [ |
6190 |
+ "-msse2" |
6191 |
+ ] |
6192 |
+ |
6193 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
6194 |
+ |
6195 |
+ CXXFLAGS += [ |
6196 |
+ "-msse2" |
6197 |
+ ] |
6198 |
+ |
6199 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
6200 |
+ |
6201 |
+ CXXFLAGS += [ |
6202 |
+ "-msse2" |
6203 |
+ ] |
6204 |
+ |
6205 |
Library("audio_mixer_impl_gn") |
6206 |
diff --git media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_c_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_c_gn/moz.build |
6207 |
index 0fd510657c14..529c07e1b56c 100644 |
6208 |
--- media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_c_gn/moz.build |
6209 |
+++ media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_c_gn/moz.build |
6210 |
@@ -81,6 +81,25 @@ if CONFIG["OS_TARGET"] == "Darwin": |
6211 |
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c" |
6212 |
] |
6213 |
|
6214 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
6215 |
+ |
6216 |
+ DEFINES["USE_X11"] = "1" |
6217 |
+ DEFINES["WEBRTC_BSD"] = True |
6218 |
+ DEFINES["WEBRTC_POSIX"] = True |
6219 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
6220 |
+ |
6221 |
+ UNIFIED_SOURCES += [ |
6222 |
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c", |
6223 |
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c" |
6224 |
+ ] |
6225 |
+ |
6226 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
6227 |
+ |
6228 |
+ DEFINES["USE_X11"] = "1" |
6229 |
+ DEFINES["WEBRTC_BSD"] = True |
6230 |
+ DEFINES["WEBRTC_POSIX"] = True |
6231 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
6232 |
+ |
6233 |
if CONFIG["OS_TARGET"] == "Linux": |
6234 |
|
6235 |
DEFINES["USE_NSS_CERTS"] = "1" |
6236 |
@@ -98,6 +117,30 @@ if CONFIG["OS_TARGET"] == "Linux": |
6237 |
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c" |
6238 |
] |
6239 |
|
6240 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
6241 |
+ |
6242 |
+ DEFINES["USE_X11"] = "1" |
6243 |
+ DEFINES["WEBRTC_BSD"] = True |
6244 |
+ DEFINES["WEBRTC_POSIX"] = True |
6245 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
6246 |
+ |
6247 |
+ UNIFIED_SOURCES += [ |
6248 |
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c", |
6249 |
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c" |
6250 |
+ ] |
6251 |
+ |
6252 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
6253 |
+ |
6254 |
+ DEFINES["USE_X11"] = "1" |
6255 |
+ DEFINES["WEBRTC_BSD"] = True |
6256 |
+ DEFINES["WEBRTC_POSIX"] = True |
6257 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
6258 |
+ |
6259 |
+ UNIFIED_SOURCES += [ |
6260 |
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c", |
6261 |
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c" |
6262 |
+ ] |
6263 |
+ |
6264 |
if CONFIG["OS_TARGET"] == "WINNT": |
6265 |
|
6266 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
6267 |
@@ -140,6 +183,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
6268 |
|
6269 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
6270 |
|
6271 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
6272 |
+ |
6273 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
6274 |
+ |
6275 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
6276 |
+ |
6277 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
6278 |
+ |
6279 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
6280 |
+ |
6281 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
6282 |
+ |
6283 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
6284 |
+ |
6285 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
6286 |
+ |
6287 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
6288 |
|
6289 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
6290 |
@@ -182,6 +241,47 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
6291 |
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c" |
6292 |
] |
6293 |
|
6294 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
6295 |
+ |
6296 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
6297 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
6298 |
+ |
6299 |
+ UNIFIED_SOURCES += [ |
6300 |
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression_x.c", |
6301 |
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core.c", |
6302 |
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core_c.c" |
6303 |
+ ] |
6304 |
+ |
6305 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
6306 |
+ |
6307 |
+ CFLAGS += [ |
6308 |
+ "-msse2" |
6309 |
+ ] |
6310 |
+ |
6311 |
+ UNIFIED_SOURCES += [ |
6312 |
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c", |
6313 |
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c" |
6314 |
+ ] |
6315 |
+ |
6316 |
+if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
6317 |
+ |
6318 |
+ UNIFIED_SOURCES += [ |
6319 |
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c", |
6320 |
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c" |
6321 |
+ ] |
6322 |
+ |
6323 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
6324 |
+ |
6325 |
+ CFLAGS += [ |
6326 |
+ "-msse2" |
6327 |
+ ] |
6328 |
+ |
6329 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
6330 |
+ |
6331 |
+ CFLAGS += [ |
6332 |
+ "-msse2" |
6333 |
+ ] |
6334 |
+ |
6335 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
6336 |
|
6337 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
6338 |
@@ -220,4 +320,45 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
6339 |
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c" |
6340 |
] |
6341 |
|
6342 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
6343 |
+ |
6344 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
6345 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
6346 |
+ |
6347 |
+ UNIFIED_SOURCES += [ |
6348 |
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression_x.c", |
6349 |
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core.c", |
6350 |
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core_c.c" |
6351 |
+ ] |
6352 |
+ |
6353 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
6354 |
+ |
6355 |
+ CFLAGS += [ |
6356 |
+ "-msse2" |
6357 |
+ ] |
6358 |
+ |
6359 |
+ UNIFIED_SOURCES += [ |
6360 |
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c", |
6361 |
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c" |
6362 |
+ ] |
6363 |
+ |
6364 |
+if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
6365 |
+ |
6366 |
+ UNIFIED_SOURCES += [ |
6367 |
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c", |
6368 |
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c" |
6369 |
+ ] |
6370 |
+ |
6371 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
6372 |
+ |
6373 |
+ CFLAGS += [ |
6374 |
+ "-msse2" |
6375 |
+ ] |
6376 |
+ |
6377 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
6378 |
+ |
6379 |
+ CFLAGS += [ |
6380 |
+ "-msse2" |
6381 |
+ ] |
6382 |
+ |
6383 |
Library("audio_processing_c_gn") |
6384 |
diff --git media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_gn/moz.build |
6385 |
index e3edf3cdf71a..ff5e99ac55ba 100644 |
6386 |
--- media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_gn/moz.build |
6387 |
+++ media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_gn/moz.build |
6388 |
@@ -146,6 +146,21 @@ if CONFIG["OS_TARGET"] == "Darwin": |
6389 |
DEFINES["WEBRTC_POSIX"] = True |
6390 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
6391 |
|
6392 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
6393 |
+ |
6394 |
+ DEFINES["USE_X11"] = "1" |
6395 |
+ DEFINES["WEBRTC_BSD"] = True |
6396 |
+ DEFINES["WEBRTC_NS_FLOAT"] = True |
6397 |
+ DEFINES["WEBRTC_POSIX"] = True |
6398 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
6399 |
+ |
6400 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
6401 |
+ |
6402 |
+ DEFINES["USE_X11"] = "1" |
6403 |
+ DEFINES["WEBRTC_BSD"] = True |
6404 |
+ DEFINES["WEBRTC_POSIX"] = True |
6405 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
6406 |
+ |
6407 |
if CONFIG["OS_TARGET"] == "Linux": |
6408 |
|
6409 |
DEFINES["USE_NSS_CERTS"] = "1" |
6410 |
@@ -160,6 +175,22 @@ if CONFIG["OS_TARGET"] == "Linux": |
6411 |
"rt" |
6412 |
] |
6413 |
|
6414 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
6415 |
+ |
6416 |
+ DEFINES["USE_X11"] = "1" |
6417 |
+ DEFINES["WEBRTC_BSD"] = True |
6418 |
+ DEFINES["WEBRTC_NS_FLOAT"] = True |
6419 |
+ DEFINES["WEBRTC_POSIX"] = True |
6420 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
6421 |
+ |
6422 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
6423 |
+ |
6424 |
+ DEFINES["USE_X11"] = "1" |
6425 |
+ DEFINES["WEBRTC_BSD"] = True |
6426 |
+ DEFINES["WEBRTC_NS_FLOAT"] = True |
6427 |
+ DEFINES["WEBRTC_POSIX"] = True |
6428 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
6429 |
+ |
6430 |
if CONFIG["OS_TARGET"] == "WINNT": |
6431 |
|
6432 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
6433 |
@@ -198,6 +229,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
6434 |
|
6435 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
6436 |
|
6437 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
6438 |
+ |
6439 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
6440 |
+ |
6441 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
6442 |
+ |
6443 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
6444 |
+ |
6445 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
6446 |
+ |
6447 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
6448 |
+ |
6449 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
6450 |
+ |
6451 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
6452 |
+ |
6453 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
6454 |
|
6455 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
6456 |
@@ -227,6 +274,36 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
6457 |
|
6458 |
DEFINES["WEBRTC_NS_FLOAT"] = True |
6459 |
|
6460 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
6461 |
+ |
6462 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
6463 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
6464 |
+ DEFINES["WEBRTC_NS_FIXED"] = True |
6465 |
+ |
6466 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
6467 |
+ |
6468 |
+ CXXFLAGS += [ |
6469 |
+ "-msse2" |
6470 |
+ ] |
6471 |
+ |
6472 |
+ DEFINES["WEBRTC_NS_FLOAT"] = True |
6473 |
+ |
6474 |
+if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
6475 |
+ |
6476 |
+ DEFINES["WEBRTC_NS_FLOAT"] = True |
6477 |
+ |
6478 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
6479 |
+ |
6480 |
+ CXXFLAGS += [ |
6481 |
+ "-msse2" |
6482 |
+ ] |
6483 |
+ |
6484 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
6485 |
+ |
6486 |
+ CXXFLAGS += [ |
6487 |
+ "-msse2" |
6488 |
+ ] |
6489 |
+ |
6490 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
6491 |
|
6492 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
6493 |
@@ -252,4 +329,34 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
6494 |
|
6495 |
DEFINES["WEBRTC_NS_FLOAT"] = True |
6496 |
|
6497 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
6498 |
+ |
6499 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
6500 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
6501 |
+ DEFINES["WEBRTC_NS_FIXED"] = True |
6502 |
+ |
6503 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
6504 |
+ |
6505 |
+ CXXFLAGS += [ |
6506 |
+ "-msse2" |
6507 |
+ ] |
6508 |
+ |
6509 |
+ DEFINES["WEBRTC_NS_FLOAT"] = True |
6510 |
+ |
6511 |
+if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
6512 |
+ |
6513 |
+ DEFINES["WEBRTC_NS_FLOAT"] = True |
6514 |
+ |
6515 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
6516 |
+ |
6517 |
+ CXXFLAGS += [ |
6518 |
+ "-msse2" |
6519 |
+ ] |
6520 |
+ |
6521 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
6522 |
+ |
6523 |
+ CXXFLAGS += [ |
6524 |
+ "-msse2" |
6525 |
+ ] |
6526 |
+ |
6527 |
Library("audio_processing_gn") |
6528 |
diff --git media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_c_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_c_gn/moz.build |
6529 |
index 39b9d200a0f0..d602d2a62a33 100644 |
6530 |
--- media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_c_gn/moz.build |
6531 |
+++ media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_c_gn/moz.build |
6532 |
@@ -10,25 +10,15 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] |
6533 |
COMPILE_FLAGS["STL"] = [] |
6534 |
AllowCompilerWarnings() |
6535 |
|
6536 |
-DEFINES["ANDROID"] = True |
6537 |
-DEFINES["ANDROID_NDK_VERSION"] = "r12b" |
6538 |
DEFINES["CHROMIUM_BUILD"] = True |
6539 |
-DEFINES["DISABLE_NACL"] = True |
6540 |
DEFINES["EXPAT_RELATIVE_PATH"] = True |
6541 |
-DEFINES["HAVE_SYS_UIO_H"] = True |
6542 |
-DEFINES["NO_TCMALLOC"] = True |
6543 |
-DEFINES["USE_OPENSSL_CERTS"] = "1" |
6544 |
DEFINES["V8_DEPRECATION_WARNINGS"] = True |
6545 |
-DEFINES["WEBRTC_ANDROID"] = True |
6546 |
-DEFINES["WEBRTC_ANDROID_OPENSLES"] = True |
6547 |
DEFINES["WEBRTC_HAS_NEON"] = True |
6548 |
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True |
6549 |
-DEFINES["WEBRTC_LINUX"] = True |
6550 |
DEFINES["WEBRTC_MOZILLA_BUILD"] = True |
6551 |
DEFINES["WEBRTC_POSIX"] = True |
6552 |
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True |
6553 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
6554 |
-DEFINES["__GNU_SOURCE"] = "1" |
6555 |
|
6556 |
FINAL_LIBRARY = "webrtc" |
6557 |
|
6558 |
@@ -40,10 +30,6 @@ LOCAL_INCLUDES += [ |
6559 |
"/media/webrtc/trunk/" |
6560 |
] |
6561 |
|
6562 |
-OS_LIBS += [ |
6563 |
- "log" |
6564 |
-] |
6565 |
- |
6566 |
UNIFIED_SOURCES += [ |
6567 |
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core_neon.c" |
6568 |
] |
6569 |
@@ -60,6 +46,29 @@ if CONFIG["MOZ_DEBUG"] == "1": |
6570 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
6571 |
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1" |
6572 |
|
6573 |
+if CONFIG["OS_TARGET"] == "Android": |
6574 |
+ |
6575 |
+ DEFINES["ANDROID"] = True |
6576 |
+ DEFINES["ANDROID_NDK_VERSION"] = "r12b" |
6577 |
+ DEFINES["DISABLE_NACL"] = True |
6578 |
+ DEFINES["HAVE_SYS_UIO_H"] = True |
6579 |
+ DEFINES["NO_TCMALLOC"] = True |
6580 |
+ DEFINES["USE_OPENSSL_CERTS"] = "1" |
6581 |
+ DEFINES["WEBRTC_ANDROID"] = True |
6582 |
+ DEFINES["WEBRTC_ANDROID_OPENSLES"] = True |
6583 |
+ DEFINES["WEBRTC_LINUX"] = True |
6584 |
+ DEFINES["__GNU_SOURCE"] = "1" |
6585 |
+ |
6586 |
+ OS_LIBS += [ |
6587 |
+ "log" |
6588 |
+ ] |
6589 |
+ |
6590 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
6591 |
+ |
6592 |
+ DEFINES["USE_X11"] = "1" |
6593 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
6594 |
+ DEFINES["WEBRTC_BSD"] = True |
6595 |
+ |
6596 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": |
6597 |
|
6598 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
6599 |
diff --git media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_gn/moz.build |
6600 |
index 4a1c0e0d2273..40fa6f57e04e 100644 |
6601 |
--- media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_gn/moz.build |
6602 |
+++ media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_gn/moz.build |
6603 |
@@ -10,26 +10,16 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] |
6604 |
COMPILE_FLAGS["STL"] = [] |
6605 |
AllowCompilerWarnings() |
6606 |
|
6607 |
-DEFINES["ANDROID"] = True |
6608 |
-DEFINES["ANDROID_NDK_VERSION"] = "r12b" |
6609 |
DEFINES["CHROMIUM_BUILD"] = True |
6610 |
-DEFINES["DISABLE_NACL"] = True |
6611 |
DEFINES["EXPAT_RELATIVE_PATH"] = True |
6612 |
-DEFINES["HAVE_SYS_UIO_H"] = True |
6613 |
-DEFINES["NO_TCMALLOC"] = True |
6614 |
-DEFINES["USE_OPENSSL_CERTS"] = "1" |
6615 |
DEFINES["V8_DEPRECATION_WARNINGS"] = True |
6616 |
-DEFINES["WEBRTC_ANDROID"] = True |
6617 |
-DEFINES["WEBRTC_ANDROID_OPENSLES"] = True |
6618 |
DEFINES["WEBRTC_APM_DEBUG_DUMP"] = "1" |
6619 |
DEFINES["WEBRTC_HAS_NEON"] = True |
6620 |
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True |
6621 |
-DEFINES["WEBRTC_LINUX"] = True |
6622 |
DEFINES["WEBRTC_MOZILLA_BUILD"] = True |
6623 |
DEFINES["WEBRTC_POSIX"] = True |
6624 |
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True |
6625 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
6626 |
-DEFINES["__GNU_SOURCE"] = "1" |
6627 |
|
6628 |
FINAL_LIBRARY = "webrtc" |
6629 |
|
6630 |
@@ -44,10 +34,6 @@ LOCAL_INCLUDES += [ |
6631 |
"/media/webrtc/trunk/webrtc/common_audio/vad/include/" |
6632 |
] |
6633 |
|
6634 |
-OS_LIBS += [ |
6635 |
- "log" |
6636 |
-] |
6637 |
- |
6638 |
UNIFIED_SOURCES += [ |
6639 |
"/media/webrtc/trunk/webrtc/modules/audio_processing/aec/aec_core_neon.cc", |
6640 |
"/media/webrtc/trunk/webrtc/modules/audio_processing/aecm/aecm_core_neon.cc", |
6641 |
@@ -66,6 +52,29 @@ if CONFIG["MOZ_DEBUG"] == "1": |
6642 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
6643 |
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1" |
6644 |
|
6645 |
+if CONFIG["OS_TARGET"] == "Android": |
6646 |
+ |
6647 |
+ DEFINES["ANDROID"] = True |
6648 |
+ DEFINES["ANDROID_NDK_VERSION"] = "r12b" |
6649 |
+ DEFINES["DISABLE_NACL"] = True |
6650 |
+ DEFINES["HAVE_SYS_UIO_H"] = True |
6651 |
+ DEFINES["NO_TCMALLOC"] = True |
6652 |
+ DEFINES["USE_OPENSSL_CERTS"] = "1" |
6653 |
+ DEFINES["WEBRTC_ANDROID"] = True |
6654 |
+ DEFINES["WEBRTC_ANDROID_OPENSLES"] = True |
6655 |
+ DEFINES["WEBRTC_LINUX"] = True |
6656 |
+ DEFINES["__GNU_SOURCE"] = "1" |
6657 |
+ |
6658 |
+ OS_LIBS += [ |
6659 |
+ "log" |
6660 |
+ ] |
6661 |
+ |
6662 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
6663 |
+ |
6664 |
+ DEFINES["USE_X11"] = "1" |
6665 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
6666 |
+ DEFINES["WEBRTC_BSD"] = True |
6667 |
+ |
6668 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": |
6669 |
|
6670 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
6671 |
diff --git media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn/moz.build media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn/moz.build |
6672 |
index fe7edf21124f..a89cdfbd0833 100644 |
6673 |
--- media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn/moz.build |
6674 |
+++ media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn/moz.build |
6675 |
@@ -76,6 +76,28 @@ if CONFIG["OS_TARGET"] == "Darwin": |
6676 |
DEFINES["WEBRTC_POSIX"] = True |
6677 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
6678 |
|
6679 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
6680 |
+ |
6681 |
+ CXXFLAGS += [ |
6682 |
+ "-msse2" |
6683 |
+ ] |
6684 |
+ |
6685 |
+ DEFINES["USE_X11"] = "1" |
6686 |
+ DEFINES["WEBRTC_BSD"] = True |
6687 |
+ DEFINES["WEBRTC_POSIX"] = True |
6688 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
6689 |
+ |
6690 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
6691 |
+ |
6692 |
+ CXXFLAGS += [ |
6693 |
+ "-msse2" |
6694 |
+ ] |
6695 |
+ |
6696 |
+ DEFINES["USE_X11"] = "1" |
6697 |
+ DEFINES["WEBRTC_BSD"] = True |
6698 |
+ DEFINES["WEBRTC_POSIX"] = True |
6699 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
6700 |
+ |
6701 |
if CONFIG["OS_TARGET"] == "Linux": |
6702 |
|
6703 |
CXXFLAGS += [ |
6704 |
@@ -88,6 +110,29 @@ if CONFIG["OS_TARGET"] == "Linux": |
6705 |
DEFINES["WEBRTC_POSIX"] = True |
6706 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
6707 |
|
6708 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
6709 |
+ |
6710 |
+ CXXFLAGS += [ |
6711 |
+ "-msse2" |
6712 |
+ ] |
6713 |
+ |
6714 |
+ DEFINES["USE_X11"] = "1" |
6715 |
+ DEFINES["WEBRTC_BSD"] = True |
6716 |
+ DEFINES["WEBRTC_POSIX"] = True |
6717 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
6718 |
+ |
6719 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
6720 |
+ |
6721 |
+ CXXFLAGS += [ |
6722 |
+ "-msse2", |
6723 |
+ "-msse2" |
6724 |
+ ] |
6725 |
+ |
6726 |
+ DEFINES["USE_X11"] = "1" |
6727 |
+ DEFINES["WEBRTC_BSD"] = True |
6728 |
+ DEFINES["WEBRTC_POSIX"] = True |
6729 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
6730 |
+ |
6731 |
if CONFIG["OS_TARGET"] == "WINNT": |
6732 |
|
6733 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
6734 |
@@ -121,6 +166,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
6735 |
|
6736 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
6737 |
|
6738 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
6739 |
+ |
6740 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
6741 |
+ |
6742 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
6743 |
+ |
6744 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
6745 |
+ |
6746 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
6747 |
+ |
6748 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
6749 |
+ |
6750 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
6751 |
+ |
6752 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
6753 |
+ |
6754 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
6755 |
|
6756 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
6757 |
diff --git media/webrtc/trunk/webrtc/modules/bitrate_controller/bitrate_controller_gn/moz.build media/webrtc/trunk/webrtc/modules/bitrate_controller/bitrate_controller_gn/moz.build |
6758 |
index 353de9772938..5aadfd7e43b6 100644 |
6759 |
--- media/webrtc/trunk/webrtc/modules/bitrate_controller/bitrate_controller_gn/moz.build |
6760 |
+++ media/webrtc/trunk/webrtc/modules/bitrate_controller/bitrate_controller_gn/moz.build |
6761 |
@@ -76,6 +76,22 @@ if CONFIG["OS_TARGET"] == "Darwin": |
6762 |
"-framework CoreVideo" |
6763 |
] |
6764 |
|
6765 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
6766 |
+ |
6767 |
+ DEFINES["USE_X11"] = "1" |
6768 |
+ DEFINES["WEBRTC_BSD"] = True |
6769 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
6770 |
+ DEFINES["WEBRTC_POSIX"] = True |
6771 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
6772 |
+ |
6773 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
6774 |
+ |
6775 |
+ DEFINES["USE_X11"] = "1" |
6776 |
+ DEFINES["WEBRTC_BSD"] = True |
6777 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
6778 |
+ DEFINES["WEBRTC_POSIX"] = True |
6779 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
6780 |
+ |
6781 |
if CONFIG["OS_TARGET"] == "Linux": |
6782 |
|
6783 |
DEFINES["USE_NSS_CERTS"] = "1" |
6784 |
@@ -89,6 +105,22 @@ if CONFIG["OS_TARGET"] == "Linux": |
6785 |
"rt" |
6786 |
] |
6787 |
|
6788 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
6789 |
+ |
6790 |
+ DEFINES["USE_X11"] = "1" |
6791 |
+ DEFINES["WEBRTC_BSD"] = True |
6792 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
6793 |
+ DEFINES["WEBRTC_POSIX"] = True |
6794 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
6795 |
+ |
6796 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
6797 |
+ |
6798 |
+ DEFINES["USE_X11"] = "1" |
6799 |
+ DEFINES["WEBRTC_BSD"] = True |
6800 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
6801 |
+ DEFINES["WEBRTC_POSIX"] = True |
6802 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
6803 |
+ |
6804 |
if CONFIG["OS_TARGET"] == "WINNT": |
6805 |
|
6806 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
6807 |
@@ -126,6 +158,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
6808 |
|
6809 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
6810 |
|
6811 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
6812 |
+ |
6813 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
6814 |
+ |
6815 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
6816 |
+ |
6817 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
6818 |
+ |
6819 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
6820 |
+ |
6821 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
6822 |
+ |
6823 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
6824 |
+ |
6825 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
6826 |
+ |
6827 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
6828 |
|
6829 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
6830 |
@@ -151,6 +199,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
6831 |
"-msse2" |
6832 |
] |
6833 |
|
6834 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
6835 |
+ |
6836 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
6837 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
6838 |
+ |
6839 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
6840 |
+ |
6841 |
+ CXXFLAGS += [ |
6842 |
+ "-msse2" |
6843 |
+ ] |
6844 |
+ |
6845 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
6846 |
+ |
6847 |
+ CXXFLAGS += [ |
6848 |
+ "-msse2" |
6849 |
+ ] |
6850 |
+ |
6851 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
6852 |
+ |
6853 |
+ CXXFLAGS += [ |
6854 |
+ "-msse2" |
6855 |
+ ] |
6856 |
+ |
6857 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
6858 |
|
6859 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
6860 |
@@ -172,4 +243,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
6861 |
"-msse2" |
6862 |
] |
6863 |
|
6864 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
6865 |
+ |
6866 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
6867 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
6868 |
+ |
6869 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
6870 |
+ |
6871 |
+ CXXFLAGS += [ |
6872 |
+ "-msse2" |
6873 |
+ ] |
6874 |
+ |
6875 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
6876 |
+ |
6877 |
+ CXXFLAGS += [ |
6878 |
+ "-msse2" |
6879 |
+ ] |
6880 |
+ |
6881 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
6882 |
+ |
6883 |
+ CXXFLAGS += [ |
6884 |
+ "-msse2" |
6885 |
+ ] |
6886 |
+ |
6887 |
Library("bitrate_controller_gn") |
6888 |
diff --git media/webrtc/trunk/webrtc/modules/congestion_controller/congestion_controller_gn/moz.build media/webrtc/trunk/webrtc/modules/congestion_controller/congestion_controller_gn/moz.build |
6889 |
index c8e95f77d856..8c394bbe6907 100644 |
6890 |
--- media/webrtc/trunk/webrtc/modules/congestion_controller/congestion_controller_gn/moz.build |
6891 |
+++ media/webrtc/trunk/webrtc/modules/congestion_controller/congestion_controller_gn/moz.build |
6892 |
@@ -85,6 +85,22 @@ if CONFIG["OS_TARGET"] == "Darwin": |
6893 |
"-framework CoreVideo" |
6894 |
] |
6895 |
|
6896 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
6897 |
+ |
6898 |
+ DEFINES["USE_X11"] = "1" |
6899 |
+ DEFINES["WEBRTC_BSD"] = True |
6900 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
6901 |
+ DEFINES["WEBRTC_POSIX"] = True |
6902 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
6903 |
+ |
6904 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
6905 |
+ |
6906 |
+ DEFINES["USE_X11"] = "1" |
6907 |
+ DEFINES["WEBRTC_BSD"] = True |
6908 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
6909 |
+ DEFINES["WEBRTC_POSIX"] = True |
6910 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
6911 |
+ |
6912 |
if CONFIG["OS_TARGET"] == "Linux": |
6913 |
|
6914 |
DEFINES["USE_NSS_CERTS"] = "1" |
6915 |
@@ -99,6 +115,22 @@ if CONFIG["OS_TARGET"] == "Linux": |
6916 |
"rt" |
6917 |
] |
6918 |
|
6919 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
6920 |
+ |
6921 |
+ DEFINES["USE_X11"] = "1" |
6922 |
+ DEFINES["WEBRTC_BSD"] = True |
6923 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
6924 |
+ DEFINES["WEBRTC_POSIX"] = True |
6925 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
6926 |
+ |
6927 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
6928 |
+ |
6929 |
+ DEFINES["USE_X11"] = "1" |
6930 |
+ DEFINES["WEBRTC_BSD"] = True |
6931 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
6932 |
+ DEFINES["WEBRTC_POSIX"] = True |
6933 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
6934 |
+ |
6935 |
if CONFIG["OS_TARGET"] == "WINNT": |
6936 |
|
6937 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
6938 |
@@ -136,6 +168,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
6939 |
|
6940 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
6941 |
|
6942 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
6943 |
+ |
6944 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
6945 |
+ |
6946 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
6947 |
+ |
6948 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
6949 |
+ |
6950 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
6951 |
+ |
6952 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
6953 |
+ |
6954 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
6955 |
+ |
6956 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
6957 |
+ |
6958 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
6959 |
|
6960 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
6961 |
@@ -161,6 +209,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
6962 |
"-msse2" |
6963 |
] |
6964 |
|
6965 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
6966 |
+ |
6967 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
6968 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
6969 |
+ |
6970 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
6971 |
+ |
6972 |
+ CXXFLAGS += [ |
6973 |
+ "-msse2" |
6974 |
+ ] |
6975 |
+ |
6976 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
6977 |
+ |
6978 |
+ CXXFLAGS += [ |
6979 |
+ "-msse2" |
6980 |
+ ] |
6981 |
+ |
6982 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
6983 |
+ |
6984 |
+ CXXFLAGS += [ |
6985 |
+ "-msse2" |
6986 |
+ ] |
6987 |
+ |
6988 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
6989 |
|
6990 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
6991 |
@@ -182,4 +253,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
6992 |
"-msse2" |
6993 |
] |
6994 |
|
6995 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
6996 |
+ |
6997 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
6998 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
6999 |
+ |
7000 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
7001 |
+ |
7002 |
+ CXXFLAGS += [ |
7003 |
+ "-msse2" |
7004 |
+ ] |
7005 |
+ |
7006 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
7007 |
+ |
7008 |
+ CXXFLAGS += [ |
7009 |
+ "-msse2" |
7010 |
+ ] |
7011 |
+ |
7012 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
7013 |
+ |
7014 |
+ CXXFLAGS += [ |
7015 |
+ "-msse2" |
7016 |
+ ] |
7017 |
+ |
7018 |
Library("congestion_controller_gn") |
7019 |
diff --git media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build |
7020 |
index dd67efb43394..c572170b6bc4 100644 |
7021 |
--- media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build |
7022 |
+++ media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build |
7023 |
@@ -54,6 +54,28 @@ if CONFIG["OS_TARGET"] == "Darwin": |
7024 |
DEFINES["WEBRTC_POSIX"] = True |
7025 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
7026 |
|
7027 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
7028 |
+ |
7029 |
+ CXXFLAGS += [ |
7030 |
+ "-msse2" |
7031 |
+ ] |
7032 |
+ |
7033 |
+ DEFINES["USE_X11"] = "1" |
7034 |
+ DEFINES["WEBRTC_BSD"] = True |
7035 |
+ DEFINES["WEBRTC_POSIX"] = True |
7036 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
7037 |
+ |
7038 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
7039 |
+ |
7040 |
+ CXXFLAGS += [ |
7041 |
+ "-msse2" |
7042 |
+ ] |
7043 |
+ |
7044 |
+ DEFINES["USE_X11"] = "1" |
7045 |
+ DEFINES["WEBRTC_BSD"] = True |
7046 |
+ DEFINES["WEBRTC_POSIX"] = True |
7047 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
7048 |
+ |
7049 |
if CONFIG["OS_TARGET"] == "Linux": |
7050 |
|
7051 |
CXXFLAGS += [ |
7052 |
@@ -66,6 +88,29 @@ if CONFIG["OS_TARGET"] == "Linux": |
7053 |
DEFINES["WEBRTC_POSIX"] = True |
7054 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
7055 |
|
7056 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
7057 |
+ |
7058 |
+ CXXFLAGS += [ |
7059 |
+ "-msse2" |
7060 |
+ ] |
7061 |
+ |
7062 |
+ DEFINES["USE_X11"] = "1" |
7063 |
+ DEFINES["WEBRTC_BSD"] = True |
7064 |
+ DEFINES["WEBRTC_POSIX"] = True |
7065 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
7066 |
+ |
7067 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
7068 |
+ |
7069 |
+ CXXFLAGS += [ |
7070 |
+ "-msse2", |
7071 |
+ "-msse2" |
7072 |
+ ] |
7073 |
+ |
7074 |
+ DEFINES["USE_X11"] = "1" |
7075 |
+ DEFINES["WEBRTC_BSD"] = True |
7076 |
+ DEFINES["WEBRTC_POSIX"] = True |
7077 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
7078 |
+ |
7079 |
if CONFIG["OS_TARGET"] == "WINNT": |
7080 |
|
7081 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
7082 |
@@ -95,6 +140,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
7083 |
|
7084 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
7085 |
|
7086 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
7087 |
+ |
7088 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
7089 |
+ |
7090 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
7091 |
+ |
7092 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
7093 |
+ |
7094 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
7095 |
+ |
7096 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
7097 |
+ |
7098 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
7099 |
+ |
7100 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
7101 |
+ |
7102 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
7103 |
|
7104 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
7105 |
diff --git media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn/moz.build media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn/moz.build |
7106 |
index d72c4a24a555..01ba0b15f58f 100644 |
7107 |
--- media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn/moz.build |
7108 |
+++ media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn/moz.build |
7109 |
@@ -81,6 +81,70 @@ if CONFIG["OS_TARGET"] == "Darwin": |
7110 |
"/media/webrtc/trunk/webrtc/modules/desktop_capture/window_capturer_mac.mm" |
7111 |
] |
7112 |
|
7113 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
7114 |
+ |
7115 |
+ DEFINES["USE_X11"] = "1" |
7116 |
+ DEFINES["WEBRTC_BSD"] = True |
7117 |
+ DEFINES["WEBRTC_POSIX"] = True |
7118 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
7119 |
+ |
7120 |
+ OS_LIBS += [ |
7121 |
+ "X11", |
7122 |
+ "X11-xcb", |
7123 |
+ "xcb", |
7124 |
+ "Xcomposite", |
7125 |
+ "Xcursor", |
7126 |
+ "Xdamage", |
7127 |
+ "Xext", |
7128 |
+ "Xfixes", |
7129 |
+ "Xi", |
7130 |
+ "Xrender" |
7131 |
+ ] |
7132 |
+ |
7133 |
+ UNIFIED_SOURCES += [ |
7134 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/app_capturer_x11.cc", |
7135 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/mouse_cursor_monitor_x11.cc", |
7136 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/screen_capturer_x11.cc", |
7137 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/window_capturer_x11.cc", |
7138 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/desktop_device_info_x11.cc", |
7139 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/shared_x_display.cc", |
7140 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/shared_x_util.cc", |
7141 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/x_error_trap.cc", |
7142 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.cc" |
7143 |
+ ] |
7144 |
+ |
7145 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
7146 |
+ |
7147 |
+ DEFINES["USE_X11"] = "1" |
7148 |
+ DEFINES["WEBRTC_BSD"] = True |
7149 |
+ DEFINES["WEBRTC_POSIX"] = True |
7150 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
7151 |
+ |
7152 |
+ OS_LIBS += [ |
7153 |
+ "X11", |
7154 |
+ "X11-xcb", |
7155 |
+ "xcb", |
7156 |
+ "Xcomposite", |
7157 |
+ "Xcursor", |
7158 |
+ "Xdamage", |
7159 |
+ "Xext", |
7160 |
+ "Xfixes", |
7161 |
+ "Xi", |
7162 |
+ "Xrender" |
7163 |
+ ] |
7164 |
+ |
7165 |
+ UNIFIED_SOURCES += [ |
7166 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/app_capturer_x11.cc", |
7167 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/mouse_cursor_monitor_x11.cc", |
7168 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/screen_capturer_x11.cc", |
7169 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/window_capturer_x11.cc", |
7170 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/desktop_device_info_x11.cc", |
7171 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/shared_x_display.cc", |
7172 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/shared_x_util.cc", |
7173 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/x_error_trap.cc", |
7174 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.cc" |
7175 |
+ ] |
7176 |
+ |
7177 |
if CONFIG["OS_TARGET"] == "Linux": |
7178 |
|
7179 |
DEFINES["USE_NSS_CERTS"] = "1" |
7180 |
@@ -115,6 +179,70 @@ if CONFIG["OS_TARGET"] == "Linux": |
7181 |
"/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.cc" |
7182 |
] |
7183 |
|
7184 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
7185 |
+ |
7186 |
+ DEFINES["USE_X11"] = "1" |
7187 |
+ DEFINES["WEBRTC_BSD"] = True |
7188 |
+ DEFINES["WEBRTC_POSIX"] = True |
7189 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
7190 |
+ |
7191 |
+ OS_LIBS += [ |
7192 |
+ "X11", |
7193 |
+ "X11-xcb", |
7194 |
+ "xcb", |
7195 |
+ "Xcomposite", |
7196 |
+ "Xcursor", |
7197 |
+ "Xdamage", |
7198 |
+ "Xext", |
7199 |
+ "Xfixes", |
7200 |
+ "Xi", |
7201 |
+ "Xrender" |
7202 |
+ ] |
7203 |
+ |
7204 |
+ UNIFIED_SOURCES += [ |
7205 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/app_capturer_x11.cc", |
7206 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/mouse_cursor_monitor_x11.cc", |
7207 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/screen_capturer_x11.cc", |
7208 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/window_capturer_x11.cc", |
7209 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/desktop_device_info_x11.cc", |
7210 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/shared_x_display.cc", |
7211 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/shared_x_util.cc", |
7212 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/x_error_trap.cc", |
7213 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.cc" |
7214 |
+ ] |
7215 |
+ |
7216 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
7217 |
+ |
7218 |
+ DEFINES["USE_X11"] = "1" |
7219 |
+ DEFINES["WEBRTC_BSD"] = True |
7220 |
+ DEFINES["WEBRTC_POSIX"] = True |
7221 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
7222 |
+ |
7223 |
+ OS_LIBS += [ |
7224 |
+ "X11", |
7225 |
+ "X11-xcb", |
7226 |
+ "xcb", |
7227 |
+ "Xcomposite", |
7228 |
+ "Xcursor", |
7229 |
+ "Xdamage", |
7230 |
+ "Xext", |
7231 |
+ "Xfixes", |
7232 |
+ "Xi", |
7233 |
+ "Xrender" |
7234 |
+ ] |
7235 |
+ |
7236 |
+ UNIFIED_SOURCES += [ |
7237 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/app_capturer_x11.cc", |
7238 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/mouse_cursor_monitor_x11.cc", |
7239 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/screen_capturer_x11.cc", |
7240 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/window_capturer_x11.cc", |
7241 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/desktop_device_info_x11.cc", |
7242 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/shared_x_display.cc", |
7243 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/shared_x_util.cc", |
7244 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/x_error_trap.cc", |
7245 |
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/x_server_pixel_buffer.cc" |
7246 |
+ ] |
7247 |
+ |
7248 |
if CONFIG["OS_TARGET"] == "WINNT": |
7249 |
|
7250 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
7251 |
@@ -179,8 +307,70 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
7252 |
|
7253 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
7254 |
|
7255 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
7256 |
+ |
7257 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
7258 |
+ |
7259 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
7260 |
+ |
7261 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
7262 |
+ |
7263 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
7264 |
+ |
7265 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
7266 |
+ |
7267 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
7268 |
+ |
7269 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
7270 |
+ |
7271 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
7272 |
|
7273 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
7274 |
|
7275 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
7276 |
+ |
7277 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
7278 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
7279 |
+ |
7280 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
7281 |
+ |
7282 |
+ CXXFLAGS += [ |
7283 |
+ "-msse2" |
7284 |
+ ] |
7285 |
+ |
7286 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
7287 |
+ |
7288 |
+ CXXFLAGS += [ |
7289 |
+ "-msse2" |
7290 |
+ ] |
7291 |
+ |
7292 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
7293 |
+ |
7294 |
+ CXXFLAGS += [ |
7295 |
+ "-msse2" |
7296 |
+ ] |
7297 |
+ |
7298 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
7299 |
+ |
7300 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
7301 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
7302 |
+ |
7303 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
7304 |
+ |
7305 |
+ CXXFLAGS += [ |
7306 |
+ "-msse2" |
7307 |
+ ] |
7308 |
+ |
7309 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
7310 |
+ |
7311 |
+ CXXFLAGS += [ |
7312 |
+ "-msse2" |
7313 |
+ ] |
7314 |
+ |
7315 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
7316 |
+ |
7317 |
+ CXXFLAGS += [ |
7318 |
+ "-msse2" |
7319 |
+ ] |
7320 |
+ |
7321 |
Library("desktop_capture_gn") |
7322 |
diff --git media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn/moz.build media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn/moz.build |
7323 |
index 94a38d140a50..9833d58b7912 100644 |
7324 |
--- media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn/moz.build |
7325 |
+++ media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn/moz.build |
7326 |
@@ -54,6 +54,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
7327 |
DEFINES["WEBRTC_POSIX"] = True |
7328 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
7329 |
|
7330 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
7331 |
+ |
7332 |
+ DEFINES["USE_X11"] = "1" |
7333 |
+ DEFINES["WEBRTC_BSD"] = True |
7334 |
+ DEFINES["WEBRTC_POSIX"] = True |
7335 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
7336 |
+ |
7337 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
7338 |
+ |
7339 |
+ DEFINES["USE_X11"] = "1" |
7340 |
+ DEFINES["WEBRTC_BSD"] = True |
7341 |
+ DEFINES["WEBRTC_POSIX"] = True |
7342 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
7343 |
+ |
7344 |
if CONFIG["OS_TARGET"] == "Linux": |
7345 |
|
7346 |
DEFINES["USE_NSS_CERTS"] = "1" |
7347 |
@@ -62,6 +76,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
7348 |
DEFINES["WEBRTC_POSIX"] = True |
7349 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
7350 |
|
7351 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
7352 |
+ |
7353 |
+ DEFINES["USE_X11"] = "1" |
7354 |
+ DEFINES["WEBRTC_BSD"] = True |
7355 |
+ DEFINES["WEBRTC_POSIX"] = True |
7356 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
7357 |
+ |
7358 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
7359 |
+ |
7360 |
+ DEFINES["USE_X11"] = "1" |
7361 |
+ DEFINES["WEBRTC_BSD"] = True |
7362 |
+ DEFINES["WEBRTC_POSIX"] = True |
7363 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
7364 |
+ |
7365 |
if CONFIG["OS_TARGET"] == "WINNT": |
7366 |
|
7367 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
7368 |
@@ -91,8 +119,70 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
7369 |
|
7370 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
7371 |
|
7372 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
7373 |
+ |
7374 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
7375 |
+ |
7376 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
7377 |
+ |
7378 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
7379 |
+ |
7380 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
7381 |
+ |
7382 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
7383 |
+ |
7384 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
7385 |
+ |
7386 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
7387 |
+ |
7388 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
7389 |
|
7390 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
7391 |
|
7392 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
7393 |
+ |
7394 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
7395 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
7396 |
+ |
7397 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
7398 |
+ |
7399 |
+ CXXFLAGS += [ |
7400 |
+ "-msse2" |
7401 |
+ ] |
7402 |
+ |
7403 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
7404 |
+ |
7405 |
+ CXXFLAGS += [ |
7406 |
+ "-msse2" |
7407 |
+ ] |
7408 |
+ |
7409 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
7410 |
+ |
7411 |
+ CXXFLAGS += [ |
7412 |
+ "-msse2" |
7413 |
+ ] |
7414 |
+ |
7415 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
7416 |
+ |
7417 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
7418 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
7419 |
+ |
7420 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
7421 |
+ |
7422 |
+ CXXFLAGS += [ |
7423 |
+ "-msse2" |
7424 |
+ ] |
7425 |
+ |
7426 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
7427 |
+ |
7428 |
+ CXXFLAGS += [ |
7429 |
+ "-msse2" |
7430 |
+ ] |
7431 |
+ |
7432 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
7433 |
+ |
7434 |
+ CXXFLAGS += [ |
7435 |
+ "-msse2" |
7436 |
+ ] |
7437 |
+ |
7438 |
Library("primitives_gn") |
7439 |
diff --git media/webrtc/trunk/webrtc/modules/media_file/media_file_gn/moz.build media/webrtc/trunk/webrtc/modules/media_file/media_file_gn/moz.build |
7440 |
index c70918aac75f..a5d5b72590d5 100644 |
7441 |
--- media/webrtc/trunk/webrtc/modules/media_file/media_file_gn/moz.build |
7442 |
+++ media/webrtc/trunk/webrtc/modules/media_file/media_file_gn/moz.build |
7443 |
@@ -73,6 +73,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
7444 |
DEFINES["WEBRTC_POSIX"] = True |
7445 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
7446 |
|
7447 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
7448 |
+ |
7449 |
+ DEFINES["USE_X11"] = "1" |
7450 |
+ DEFINES["WEBRTC_BSD"] = True |
7451 |
+ DEFINES["WEBRTC_POSIX"] = True |
7452 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
7453 |
+ |
7454 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
7455 |
+ |
7456 |
+ DEFINES["USE_X11"] = "1" |
7457 |
+ DEFINES["WEBRTC_BSD"] = True |
7458 |
+ DEFINES["WEBRTC_POSIX"] = True |
7459 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
7460 |
+ |
7461 |
if CONFIG["OS_TARGET"] == "Linux": |
7462 |
|
7463 |
DEFINES["USE_NSS_CERTS"] = "1" |
7464 |
@@ -85,6 +99,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
7465 |
"rt" |
7466 |
] |
7467 |
|
7468 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
7469 |
+ |
7470 |
+ DEFINES["USE_X11"] = "1" |
7471 |
+ DEFINES["WEBRTC_BSD"] = True |
7472 |
+ DEFINES["WEBRTC_POSIX"] = True |
7473 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
7474 |
+ |
7475 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
7476 |
+ |
7477 |
+ DEFINES["USE_X11"] = "1" |
7478 |
+ DEFINES["WEBRTC_BSD"] = True |
7479 |
+ DEFINES["WEBRTC_POSIX"] = True |
7480 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
7481 |
+ |
7482 |
if CONFIG["OS_TARGET"] == "WINNT": |
7483 |
|
7484 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
7485 |
@@ -122,6 +150,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
7486 |
|
7487 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
7488 |
|
7489 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
7490 |
+ |
7491 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
7492 |
+ |
7493 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
7494 |
+ |
7495 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
7496 |
+ |
7497 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
7498 |
+ |
7499 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
7500 |
+ |
7501 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
7502 |
+ |
7503 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
7504 |
+ |
7505 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
7506 |
|
7507 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
7508 |
@@ -147,6 +191,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
7509 |
"-msse2" |
7510 |
] |
7511 |
|
7512 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
7513 |
+ |
7514 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
7515 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
7516 |
+ |
7517 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
7518 |
+ |
7519 |
+ CXXFLAGS += [ |
7520 |
+ "-msse2" |
7521 |
+ ] |
7522 |
+ |
7523 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
7524 |
+ |
7525 |
+ CXXFLAGS += [ |
7526 |
+ "-msse2" |
7527 |
+ ] |
7528 |
+ |
7529 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
7530 |
+ |
7531 |
+ CXXFLAGS += [ |
7532 |
+ "-msse2" |
7533 |
+ ] |
7534 |
+ |
7535 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
7536 |
|
7537 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
7538 |
@@ -168,4 +235,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
7539 |
"-msse2" |
7540 |
] |
7541 |
|
7542 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
7543 |
+ |
7544 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
7545 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
7546 |
+ |
7547 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
7548 |
+ |
7549 |
+ CXXFLAGS += [ |
7550 |
+ "-msse2" |
7551 |
+ ] |
7552 |
+ |
7553 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
7554 |
+ |
7555 |
+ CXXFLAGS += [ |
7556 |
+ "-msse2" |
7557 |
+ ] |
7558 |
+ |
7559 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
7560 |
+ |
7561 |
+ CXXFLAGS += [ |
7562 |
+ "-msse2" |
7563 |
+ ] |
7564 |
+ |
7565 |
Library("media_file_gn") |
7566 |
diff --git media/webrtc/trunk/webrtc/modules/pacing/pacing_gn/moz.build media/webrtc/trunk/webrtc/modules/pacing/pacing_gn/moz.build |
7567 |
index 9af6ee9cf1d3..018b0aa93770 100644 |
7568 |
--- media/webrtc/trunk/webrtc/modules/pacing/pacing_gn/moz.build |
7569 |
+++ media/webrtc/trunk/webrtc/modules/pacing/pacing_gn/moz.build |
7570 |
@@ -77,6 +77,22 @@ if CONFIG["OS_TARGET"] == "Darwin": |
7571 |
"-framework CoreVideo" |
7572 |
] |
7573 |
|
7574 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
7575 |
+ |
7576 |
+ DEFINES["USE_X11"] = "1" |
7577 |
+ DEFINES["WEBRTC_BSD"] = True |
7578 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
7579 |
+ DEFINES["WEBRTC_POSIX"] = True |
7580 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
7581 |
+ |
7582 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
7583 |
+ |
7584 |
+ DEFINES["USE_X11"] = "1" |
7585 |
+ DEFINES["WEBRTC_BSD"] = True |
7586 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
7587 |
+ DEFINES["WEBRTC_POSIX"] = True |
7588 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
7589 |
+ |
7590 |
if CONFIG["OS_TARGET"] == "Linux": |
7591 |
|
7592 |
DEFINES["USE_NSS_CERTS"] = "1" |
7593 |
@@ -90,6 +106,22 @@ if CONFIG["OS_TARGET"] == "Linux": |
7594 |
"rt" |
7595 |
] |
7596 |
|
7597 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
7598 |
+ |
7599 |
+ DEFINES["USE_X11"] = "1" |
7600 |
+ DEFINES["WEBRTC_BSD"] = True |
7601 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
7602 |
+ DEFINES["WEBRTC_POSIX"] = True |
7603 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
7604 |
+ |
7605 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
7606 |
+ |
7607 |
+ DEFINES["USE_X11"] = "1" |
7608 |
+ DEFINES["WEBRTC_BSD"] = True |
7609 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
7610 |
+ DEFINES["WEBRTC_POSIX"] = True |
7611 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
7612 |
+ |
7613 |
if CONFIG["OS_TARGET"] == "WINNT": |
7614 |
|
7615 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
7616 |
@@ -127,6 +159,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
7617 |
|
7618 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
7619 |
|
7620 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
7621 |
+ |
7622 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
7623 |
+ |
7624 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
7625 |
+ |
7626 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
7627 |
+ |
7628 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
7629 |
+ |
7630 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
7631 |
+ |
7632 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
7633 |
+ |
7634 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
7635 |
+ |
7636 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
7637 |
|
7638 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
7639 |
@@ -152,6 +200,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
7640 |
"-msse2" |
7641 |
] |
7642 |
|
7643 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
7644 |
+ |
7645 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
7646 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
7647 |
+ |
7648 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
7649 |
+ |
7650 |
+ CXXFLAGS += [ |
7651 |
+ "-msse2" |
7652 |
+ ] |
7653 |
+ |
7654 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
7655 |
+ |
7656 |
+ CXXFLAGS += [ |
7657 |
+ "-msse2" |
7658 |
+ ] |
7659 |
+ |
7660 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
7661 |
+ |
7662 |
+ CXXFLAGS += [ |
7663 |
+ "-msse2" |
7664 |
+ ] |
7665 |
+ |
7666 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
7667 |
|
7668 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
7669 |
@@ -173,4 +244,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
7670 |
"-msse2" |
7671 |
] |
7672 |
|
7673 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
7674 |
+ |
7675 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
7676 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
7677 |
+ |
7678 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
7679 |
+ |
7680 |
+ CXXFLAGS += [ |
7681 |
+ "-msse2" |
7682 |
+ ] |
7683 |
+ |
7684 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
7685 |
+ |
7686 |
+ CXXFLAGS += [ |
7687 |
+ "-msse2" |
7688 |
+ ] |
7689 |
+ |
7690 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
7691 |
+ |
7692 |
+ CXXFLAGS += [ |
7693 |
+ "-msse2" |
7694 |
+ ] |
7695 |
+ |
7696 |
Library("pacing_gn") |
7697 |
diff --git media/webrtc/trunk/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build media/webrtc/trunk/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build |
7698 |
index 723b4c2223cb..3e085e54c5f1 100644 |
7699 |
--- media/webrtc/trunk/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build |
7700 |
+++ media/webrtc/trunk/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build |
7701 |
@@ -81,6 +81,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
7702 |
DEFINES["WEBRTC_POSIX"] = True |
7703 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
7704 |
|
7705 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
7706 |
+ |
7707 |
+ DEFINES["USE_X11"] = "1" |
7708 |
+ DEFINES["WEBRTC_BSD"] = True |
7709 |
+ DEFINES["WEBRTC_POSIX"] = True |
7710 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
7711 |
+ |
7712 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
7713 |
+ |
7714 |
+ DEFINES["USE_X11"] = "1" |
7715 |
+ DEFINES["WEBRTC_BSD"] = True |
7716 |
+ DEFINES["WEBRTC_POSIX"] = True |
7717 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
7718 |
+ |
7719 |
if CONFIG["OS_TARGET"] == "Linux": |
7720 |
|
7721 |
DEFINES["USE_NSS_CERTS"] = "1" |
7722 |
@@ -93,6 +107,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
7723 |
"rt" |
7724 |
] |
7725 |
|
7726 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
7727 |
+ |
7728 |
+ DEFINES["USE_X11"] = "1" |
7729 |
+ DEFINES["WEBRTC_BSD"] = True |
7730 |
+ DEFINES["WEBRTC_POSIX"] = True |
7731 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
7732 |
+ |
7733 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
7734 |
+ |
7735 |
+ DEFINES["USE_X11"] = "1" |
7736 |
+ DEFINES["WEBRTC_BSD"] = True |
7737 |
+ DEFINES["WEBRTC_POSIX"] = True |
7738 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
7739 |
+ |
7740 |
if CONFIG["OS_TARGET"] == "WINNT": |
7741 |
|
7742 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
7743 |
@@ -130,6 +158,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
7744 |
|
7745 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
7746 |
|
7747 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
7748 |
+ |
7749 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
7750 |
+ |
7751 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
7752 |
+ |
7753 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
7754 |
+ |
7755 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
7756 |
+ |
7757 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
7758 |
+ |
7759 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
7760 |
+ |
7761 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
7762 |
+ |
7763 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
7764 |
|
7765 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
7766 |
@@ -155,6 +199,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
7767 |
"-msse2" |
7768 |
] |
7769 |
|
7770 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
7771 |
+ |
7772 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
7773 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
7774 |
+ |
7775 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
7776 |
+ |
7777 |
+ CXXFLAGS += [ |
7778 |
+ "-msse2" |
7779 |
+ ] |
7780 |
+ |
7781 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
7782 |
+ |
7783 |
+ CXXFLAGS += [ |
7784 |
+ "-msse2" |
7785 |
+ ] |
7786 |
+ |
7787 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
7788 |
+ |
7789 |
+ CXXFLAGS += [ |
7790 |
+ "-msse2" |
7791 |
+ ] |
7792 |
+ |
7793 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
7794 |
|
7795 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
7796 |
@@ -176,4 +243,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
7797 |
"-msse2" |
7798 |
] |
7799 |
|
7800 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
7801 |
+ |
7802 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
7803 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
7804 |
+ |
7805 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
7806 |
+ |
7807 |
+ CXXFLAGS += [ |
7808 |
+ "-msse2" |
7809 |
+ ] |
7810 |
+ |
7811 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
7812 |
+ |
7813 |
+ CXXFLAGS += [ |
7814 |
+ "-msse2" |
7815 |
+ ] |
7816 |
+ |
7817 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
7818 |
+ |
7819 |
+ CXXFLAGS += [ |
7820 |
+ "-msse2" |
7821 |
+ ] |
7822 |
+ |
7823 |
Library("remote_bitrate_estimator_gn") |
7824 |
diff --git media/webrtc/trunk/webrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build media/webrtc/trunk/webrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build |
7825 |
index 7b8dcb4c2707..0cc6b4c46493 100644 |
7826 |
--- media/webrtc/trunk/webrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build |
7827 |
+++ media/webrtc/trunk/webrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build |
7828 |
@@ -147,6 +147,22 @@ if CONFIG["OS_TARGET"] == "Darwin": |
7829 |
"-framework CoreVideo" |
7830 |
] |
7831 |
|
7832 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
7833 |
+ |
7834 |
+ DEFINES["USE_X11"] = "1" |
7835 |
+ DEFINES["WEBRTC_BSD"] = True |
7836 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
7837 |
+ DEFINES["WEBRTC_POSIX"] = True |
7838 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
7839 |
+ |
7840 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
7841 |
+ |
7842 |
+ DEFINES["USE_X11"] = "1" |
7843 |
+ DEFINES["WEBRTC_BSD"] = True |
7844 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
7845 |
+ DEFINES["WEBRTC_POSIX"] = True |
7846 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
7847 |
+ |
7848 |
if CONFIG["OS_TARGET"] == "Linux": |
7849 |
|
7850 |
DEFINES["USE_NSS_CERTS"] = "1" |
7851 |
@@ -160,6 +176,22 @@ if CONFIG["OS_TARGET"] == "Linux": |
7852 |
"rt" |
7853 |
] |
7854 |
|
7855 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
7856 |
+ |
7857 |
+ DEFINES["USE_X11"] = "1" |
7858 |
+ DEFINES["WEBRTC_BSD"] = True |
7859 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
7860 |
+ DEFINES["WEBRTC_POSIX"] = True |
7861 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
7862 |
+ |
7863 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
7864 |
+ |
7865 |
+ DEFINES["USE_X11"] = "1" |
7866 |
+ DEFINES["WEBRTC_BSD"] = True |
7867 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
7868 |
+ DEFINES["WEBRTC_POSIX"] = True |
7869 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
7870 |
+ |
7871 |
if CONFIG["OS_TARGET"] == "WINNT": |
7872 |
|
7873 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
7874 |
@@ -197,6 +229,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
7875 |
|
7876 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
7877 |
|
7878 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
7879 |
+ |
7880 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
7881 |
+ |
7882 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
7883 |
+ |
7884 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
7885 |
+ |
7886 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
7887 |
+ |
7888 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
7889 |
+ |
7890 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
7891 |
+ |
7892 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
7893 |
+ |
7894 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
7895 |
|
7896 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
7897 |
@@ -222,6 +270,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
7898 |
"-msse2" |
7899 |
] |
7900 |
|
7901 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
7902 |
+ |
7903 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
7904 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
7905 |
+ |
7906 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
7907 |
+ |
7908 |
+ CXXFLAGS += [ |
7909 |
+ "-msse2" |
7910 |
+ ] |
7911 |
+ |
7912 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
7913 |
+ |
7914 |
+ CXXFLAGS += [ |
7915 |
+ "-msse2" |
7916 |
+ ] |
7917 |
+ |
7918 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
7919 |
+ |
7920 |
+ CXXFLAGS += [ |
7921 |
+ "-msse2" |
7922 |
+ ] |
7923 |
+ |
7924 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
7925 |
|
7926 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
7927 |
@@ -243,4 +314,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
7928 |
"-msse2" |
7929 |
] |
7930 |
|
7931 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
7932 |
+ |
7933 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
7934 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
7935 |
+ |
7936 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
7937 |
+ |
7938 |
+ CXXFLAGS += [ |
7939 |
+ "-msse2" |
7940 |
+ ] |
7941 |
+ |
7942 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
7943 |
+ |
7944 |
+ CXXFLAGS += [ |
7945 |
+ "-msse2" |
7946 |
+ ] |
7947 |
+ |
7948 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
7949 |
+ |
7950 |
+ CXXFLAGS += [ |
7951 |
+ "-msse2" |
7952 |
+ ] |
7953 |
+ |
7954 |
Library("rtp_rtcp_gn") |
7955 |
diff --git media/webrtc/trunk/webrtc/modules/utility/utility_gn/moz.build media/webrtc/trunk/webrtc/modules/utility/utility_gn/moz.build |
7956 |
index 08a7e1fc9c6c..bc04455ccaf3 100644 |
7957 |
--- media/webrtc/trunk/webrtc/modules/utility/utility_gn/moz.build |
7958 |
+++ media/webrtc/trunk/webrtc/modules/utility/utility_gn/moz.build |
7959 |
@@ -80,6 +80,22 @@ if CONFIG["OS_TARGET"] == "Darwin": |
7960 |
DEFINES["WEBRTC_POSIX"] = True |
7961 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
7962 |
|
7963 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
7964 |
+ |
7965 |
+ DEFINES["USE_X11"] = "1" |
7966 |
+ DEFINES["WEBRTC_BSD"] = True |
7967 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
7968 |
+ DEFINES["WEBRTC_POSIX"] = True |
7969 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
7970 |
+ |
7971 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
7972 |
+ |
7973 |
+ DEFINES["USE_X11"] = "1" |
7974 |
+ DEFINES["WEBRTC_BSD"] = True |
7975 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
7976 |
+ DEFINES["WEBRTC_POSIX"] = True |
7977 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
7978 |
+ |
7979 |
if CONFIG["OS_TARGET"] == "Linux": |
7980 |
|
7981 |
DEFINES["USE_NSS_CERTS"] = "1" |
7982 |
@@ -94,6 +110,22 @@ if CONFIG["OS_TARGET"] == "Linux": |
7983 |
"rt" |
7984 |
] |
7985 |
|
7986 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
7987 |
+ |
7988 |
+ DEFINES["USE_X11"] = "1" |
7989 |
+ DEFINES["WEBRTC_BSD"] = True |
7990 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
7991 |
+ DEFINES["WEBRTC_POSIX"] = True |
7992 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
7993 |
+ |
7994 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
7995 |
+ |
7996 |
+ DEFINES["USE_X11"] = "1" |
7997 |
+ DEFINES["WEBRTC_BSD"] = True |
7998 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
7999 |
+ DEFINES["WEBRTC_POSIX"] = True |
8000 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
8001 |
+ |
8002 |
if CONFIG["OS_TARGET"] == "WINNT": |
8003 |
|
8004 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
8005 |
@@ -131,6 +163,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
8006 |
|
8007 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
8008 |
|
8009 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
8010 |
+ |
8011 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8012 |
+ |
8013 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
8014 |
+ |
8015 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8016 |
+ |
8017 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
8018 |
+ |
8019 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8020 |
+ |
8021 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
8022 |
+ |
8023 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8024 |
+ |
8025 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
8026 |
|
8027 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
8028 |
@@ -156,6 +204,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
8029 |
"-msse2" |
8030 |
] |
8031 |
|
8032 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
8033 |
+ |
8034 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
8035 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
8036 |
+ |
8037 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
8038 |
+ |
8039 |
+ CXXFLAGS += [ |
8040 |
+ "-msse2" |
8041 |
+ ] |
8042 |
+ |
8043 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
8044 |
+ |
8045 |
+ CXXFLAGS += [ |
8046 |
+ "-msse2" |
8047 |
+ ] |
8048 |
+ |
8049 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
8050 |
+ |
8051 |
+ CXXFLAGS += [ |
8052 |
+ "-msse2" |
8053 |
+ ] |
8054 |
+ |
8055 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
8056 |
|
8057 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
8058 |
@@ -177,4 +248,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
8059 |
"-msse2" |
8060 |
] |
8061 |
|
8062 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
8063 |
+ |
8064 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
8065 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
8066 |
+ |
8067 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
8068 |
+ |
8069 |
+ CXXFLAGS += [ |
8070 |
+ "-msse2" |
8071 |
+ ] |
8072 |
+ |
8073 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
8074 |
+ |
8075 |
+ CXXFLAGS += [ |
8076 |
+ "-msse2" |
8077 |
+ ] |
8078 |
+ |
8079 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
8080 |
+ |
8081 |
+ CXXFLAGS += [ |
8082 |
+ "-msse2" |
8083 |
+ ] |
8084 |
+ |
8085 |
Library("utility_gn") |
8086 |
diff --git media/webrtc/trunk/webrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build media/webrtc/trunk/webrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build |
8087 |
index a901d9c822aa..00460b2c29b1 100644 |
8088 |
--- media/webrtc/trunk/webrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build |
8089 |
+++ media/webrtc/trunk/webrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build |
8090 |
@@ -91,6 +91,32 @@ if CONFIG["OS_TARGET"] == "Darwin": |
8091 |
"/media/webrtc/trunk/webrtc/modules/video_capture/mac/video_capture_mac.mm" |
8092 |
] |
8093 |
|
8094 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
8095 |
+ |
8096 |
+ DEFINES["USE_X11"] = "1" |
8097 |
+ DEFINES["WEBRTC_BSD"] = True |
8098 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
8099 |
+ DEFINES["WEBRTC_POSIX"] = True |
8100 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
8101 |
+ |
8102 |
+ UNIFIED_SOURCES += [ |
8103 |
+ "/media/webrtc/trunk/webrtc/modules/video_capture/linux/device_info_linux.cc", |
8104 |
+ "/media/webrtc/trunk/webrtc/modules/video_capture/linux/video_capture_linux.cc" |
8105 |
+ ] |
8106 |
+ |
8107 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
8108 |
+ |
8109 |
+ DEFINES["USE_X11"] = "1" |
8110 |
+ DEFINES["WEBRTC_BSD"] = True |
8111 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
8112 |
+ DEFINES["WEBRTC_POSIX"] = True |
8113 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
8114 |
+ |
8115 |
+ UNIFIED_SOURCES += [ |
8116 |
+ "/media/webrtc/trunk/webrtc/modules/video_capture/linux/device_info_linux.cc", |
8117 |
+ "/media/webrtc/trunk/webrtc/modules/video_capture/linux/video_capture_linux.cc" |
8118 |
+ ] |
8119 |
+ |
8120 |
if CONFIG["OS_TARGET"] == "Linux": |
8121 |
|
8122 |
DEFINES["USE_NSS_CERTS"] = "1" |
8123 |
@@ -110,6 +136,32 @@ if CONFIG["OS_TARGET"] == "Linux": |
8124 |
"/media/webrtc/trunk/webrtc/modules/video_capture/linux/video_capture_linux.cc" |
8125 |
] |
8126 |
|
8127 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
8128 |
+ |
8129 |
+ DEFINES["USE_X11"] = "1" |
8130 |
+ DEFINES["WEBRTC_BSD"] = True |
8131 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
8132 |
+ DEFINES["WEBRTC_POSIX"] = True |
8133 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
8134 |
+ |
8135 |
+ UNIFIED_SOURCES += [ |
8136 |
+ "/media/webrtc/trunk/webrtc/modules/video_capture/linux/device_info_linux.cc", |
8137 |
+ "/media/webrtc/trunk/webrtc/modules/video_capture/linux/video_capture_linux.cc" |
8138 |
+ ] |
8139 |
+ |
8140 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
8141 |
+ |
8142 |
+ DEFINES["USE_X11"] = "1" |
8143 |
+ DEFINES["WEBRTC_BSD"] = True |
8144 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
8145 |
+ DEFINES["WEBRTC_POSIX"] = True |
8146 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
8147 |
+ |
8148 |
+ UNIFIED_SOURCES += [ |
8149 |
+ "/media/webrtc/trunk/webrtc/modules/video_capture/linux/device_info_linux.cc", |
8150 |
+ "/media/webrtc/trunk/webrtc/modules/video_capture/linux/video_capture_linux.cc" |
8151 |
+ ] |
8152 |
+ |
8153 |
if CONFIG["OS_TARGET"] == "WINNT": |
8154 |
|
8155 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
8156 |
@@ -165,6 +217,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
8157 |
|
8158 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
8159 |
|
8160 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
8161 |
+ |
8162 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8163 |
+ |
8164 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
8165 |
+ |
8166 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8167 |
+ |
8168 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
8169 |
+ |
8170 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8171 |
+ |
8172 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
8173 |
+ |
8174 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8175 |
+ |
8176 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
8177 |
|
8178 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
8179 |
@@ -190,6 +258,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
8180 |
"-msse2" |
8181 |
] |
8182 |
|
8183 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
8184 |
+ |
8185 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
8186 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
8187 |
+ |
8188 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
8189 |
+ |
8190 |
+ CXXFLAGS += [ |
8191 |
+ "-msse2" |
8192 |
+ ] |
8193 |
+ |
8194 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
8195 |
+ |
8196 |
+ CXXFLAGS += [ |
8197 |
+ "-msse2" |
8198 |
+ ] |
8199 |
+ |
8200 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
8201 |
+ |
8202 |
+ CXXFLAGS += [ |
8203 |
+ "-msse2" |
8204 |
+ ] |
8205 |
+ |
8206 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
8207 |
|
8208 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
8209 |
@@ -211,4 +302,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
8210 |
"-msse2" |
8211 |
] |
8212 |
|
8213 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
8214 |
+ |
8215 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
8216 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
8217 |
+ |
8218 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
8219 |
+ |
8220 |
+ CXXFLAGS += [ |
8221 |
+ "-msse2" |
8222 |
+ ] |
8223 |
+ |
8224 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
8225 |
+ |
8226 |
+ CXXFLAGS += [ |
8227 |
+ "-msse2" |
8228 |
+ ] |
8229 |
+ |
8230 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
8231 |
+ |
8232 |
+ CXXFLAGS += [ |
8233 |
+ "-msse2" |
8234 |
+ ] |
8235 |
+ |
8236 |
Library("video_capture_internal_impl_gn") |
8237 |
diff --git media/webrtc/trunk/webrtc/modules/video_capture/video_capture_module_gn/moz.build media/webrtc/trunk/webrtc/modules/video_capture/video_capture_module_gn/moz.build |
8238 |
index 15e9bea6a7c7..17d66d50a1c9 100644 |
8239 |
--- media/webrtc/trunk/webrtc/modules/video_capture/video_capture_module_gn/moz.build |
8240 |
+++ media/webrtc/trunk/webrtc/modules/video_capture/video_capture_module_gn/moz.build |
8241 |
@@ -78,6 +78,22 @@ if CONFIG["OS_TARGET"] == "Darwin": |
8242 |
"-framework CoreVideo" |
8243 |
] |
8244 |
|
8245 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
8246 |
+ |
8247 |
+ DEFINES["USE_X11"] = "1" |
8248 |
+ DEFINES["WEBRTC_BSD"] = True |
8249 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
8250 |
+ DEFINES["WEBRTC_POSIX"] = True |
8251 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
8252 |
+ |
8253 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
8254 |
+ |
8255 |
+ DEFINES["USE_X11"] = "1" |
8256 |
+ DEFINES["WEBRTC_BSD"] = True |
8257 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
8258 |
+ DEFINES["WEBRTC_POSIX"] = True |
8259 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
8260 |
+ |
8261 |
if CONFIG["OS_TARGET"] == "Linux": |
8262 |
|
8263 |
DEFINES["USE_NSS_CERTS"] = "1" |
8264 |
@@ -92,6 +108,22 @@ if CONFIG["OS_TARGET"] == "Linux": |
8265 |
"rt" |
8266 |
] |
8267 |
|
8268 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
8269 |
+ |
8270 |
+ DEFINES["USE_X11"] = "1" |
8271 |
+ DEFINES["WEBRTC_BSD"] = True |
8272 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
8273 |
+ DEFINES["WEBRTC_POSIX"] = True |
8274 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
8275 |
+ |
8276 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
8277 |
+ |
8278 |
+ DEFINES["USE_X11"] = "1" |
8279 |
+ DEFINES["WEBRTC_BSD"] = True |
8280 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
8281 |
+ DEFINES["WEBRTC_POSIX"] = True |
8282 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
8283 |
+ |
8284 |
if CONFIG["OS_TARGET"] == "WINNT": |
8285 |
|
8286 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
8287 |
@@ -129,6 +161,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
8288 |
|
8289 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
8290 |
|
8291 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
8292 |
+ |
8293 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8294 |
+ |
8295 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
8296 |
+ |
8297 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8298 |
+ |
8299 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
8300 |
+ |
8301 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8302 |
+ |
8303 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
8304 |
+ |
8305 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8306 |
+ |
8307 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
8308 |
|
8309 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
8310 |
@@ -154,6 +202,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
8311 |
"-msse2" |
8312 |
] |
8313 |
|
8314 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
8315 |
+ |
8316 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
8317 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
8318 |
+ |
8319 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
8320 |
+ |
8321 |
+ CXXFLAGS += [ |
8322 |
+ "-msse2" |
8323 |
+ ] |
8324 |
+ |
8325 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
8326 |
+ |
8327 |
+ CXXFLAGS += [ |
8328 |
+ "-msse2" |
8329 |
+ ] |
8330 |
+ |
8331 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
8332 |
+ |
8333 |
+ CXXFLAGS += [ |
8334 |
+ "-msse2" |
8335 |
+ ] |
8336 |
+ |
8337 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
8338 |
|
8339 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
8340 |
@@ -175,4 +246,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
8341 |
"-msse2" |
8342 |
] |
8343 |
|
8344 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
8345 |
+ |
8346 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
8347 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
8348 |
+ |
8349 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
8350 |
+ |
8351 |
+ CXXFLAGS += [ |
8352 |
+ "-msse2" |
8353 |
+ ] |
8354 |
+ |
8355 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
8356 |
+ |
8357 |
+ CXXFLAGS += [ |
8358 |
+ "-msse2" |
8359 |
+ ] |
8360 |
+ |
8361 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
8362 |
+ |
8363 |
+ CXXFLAGS += [ |
8364 |
+ "-msse2" |
8365 |
+ ] |
8366 |
+ |
8367 |
Library("video_capture_module_gn") |
8368 |
diff --git media/webrtc/trunk/webrtc/modules/video_coding/video_coding_gn/moz.build media/webrtc/trunk/webrtc/modules/video_coding/video_coding_gn/moz.build |
8369 |
index 303d07665a24..b10798ed3878 100644 |
8370 |
--- media/webrtc/trunk/webrtc/modules/video_coding/video_coding_gn/moz.build |
8371 |
+++ media/webrtc/trunk/webrtc/modules/video_coding/video_coding_gn/moz.build |
8372 |
@@ -106,6 +106,22 @@ if CONFIG["OS_TARGET"] == "Darwin": |
8373 |
"-framework CoreVideo" |
8374 |
] |
8375 |
|
8376 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
8377 |
+ |
8378 |
+ DEFINES["USE_X11"] = "1" |
8379 |
+ DEFINES["WEBRTC_BSD"] = True |
8380 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
8381 |
+ DEFINES["WEBRTC_POSIX"] = True |
8382 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
8383 |
+ |
8384 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
8385 |
+ |
8386 |
+ DEFINES["USE_X11"] = "1" |
8387 |
+ DEFINES["WEBRTC_BSD"] = True |
8388 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
8389 |
+ DEFINES["WEBRTC_POSIX"] = True |
8390 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
8391 |
+ |
8392 |
if CONFIG["OS_TARGET"] == "Linux": |
8393 |
|
8394 |
DEFINES["USE_NSS_CERTS"] = "1" |
8395 |
@@ -120,6 +136,22 @@ if CONFIG["OS_TARGET"] == "Linux": |
8396 |
"rt" |
8397 |
] |
8398 |
|
8399 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
8400 |
+ |
8401 |
+ DEFINES["USE_X11"] = "1" |
8402 |
+ DEFINES["WEBRTC_BSD"] = True |
8403 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
8404 |
+ DEFINES["WEBRTC_POSIX"] = True |
8405 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
8406 |
+ |
8407 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
8408 |
+ |
8409 |
+ DEFINES["USE_X11"] = "1" |
8410 |
+ DEFINES["WEBRTC_BSD"] = True |
8411 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
8412 |
+ DEFINES["WEBRTC_POSIX"] = True |
8413 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
8414 |
+ |
8415 |
if CONFIG["OS_TARGET"] == "WINNT": |
8416 |
|
8417 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
8418 |
@@ -157,6 +189,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
8419 |
|
8420 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
8421 |
|
8422 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
8423 |
+ |
8424 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8425 |
+ |
8426 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
8427 |
+ |
8428 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8429 |
+ |
8430 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
8431 |
+ |
8432 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8433 |
+ |
8434 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
8435 |
+ |
8436 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8437 |
+ |
8438 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
8439 |
|
8440 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
8441 |
@@ -182,6 +230,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
8442 |
"-msse2" |
8443 |
] |
8444 |
|
8445 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
8446 |
+ |
8447 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
8448 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
8449 |
+ |
8450 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
8451 |
+ |
8452 |
+ CXXFLAGS += [ |
8453 |
+ "-msse2" |
8454 |
+ ] |
8455 |
+ |
8456 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
8457 |
+ |
8458 |
+ CXXFLAGS += [ |
8459 |
+ "-msse2" |
8460 |
+ ] |
8461 |
+ |
8462 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
8463 |
+ |
8464 |
+ CXXFLAGS += [ |
8465 |
+ "-msse2" |
8466 |
+ ] |
8467 |
+ |
8468 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
8469 |
|
8470 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
8471 |
@@ -203,4 +274,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
8472 |
"-msse2" |
8473 |
] |
8474 |
|
8475 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
8476 |
+ |
8477 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
8478 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
8479 |
+ |
8480 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
8481 |
+ |
8482 |
+ CXXFLAGS += [ |
8483 |
+ "-msse2" |
8484 |
+ ] |
8485 |
+ |
8486 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
8487 |
+ |
8488 |
+ CXXFLAGS += [ |
8489 |
+ "-msse2" |
8490 |
+ ] |
8491 |
+ |
8492 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
8493 |
+ |
8494 |
+ CXXFLAGS += [ |
8495 |
+ "-msse2" |
8496 |
+ ] |
8497 |
+ |
8498 |
Library("video_coding_gn") |
8499 |
diff --git media/webrtc/trunk/webrtc/modules/video_coding/video_coding_utility_gn/moz.build media/webrtc/trunk/webrtc/modules/video_coding/video_coding_utility_gn/moz.build |
8500 |
index 6614266d7654..38ed790ffd0e 100644 |
8501 |
--- media/webrtc/trunk/webrtc/modules/video_coding/video_coding_utility_gn/moz.build |
8502 |
+++ media/webrtc/trunk/webrtc/modules/video_coding/video_coding_utility_gn/moz.build |
8503 |
@@ -83,6 +83,22 @@ if CONFIG["OS_TARGET"] == "Darwin": |
8504 |
"-framework CoreVideo" |
8505 |
] |
8506 |
|
8507 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
8508 |
+ |
8509 |
+ DEFINES["USE_X11"] = "1" |
8510 |
+ DEFINES["WEBRTC_BSD"] = True |
8511 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
8512 |
+ DEFINES["WEBRTC_POSIX"] = True |
8513 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
8514 |
+ |
8515 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
8516 |
+ |
8517 |
+ DEFINES["USE_X11"] = "1" |
8518 |
+ DEFINES["WEBRTC_BSD"] = True |
8519 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
8520 |
+ DEFINES["WEBRTC_POSIX"] = True |
8521 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
8522 |
+ |
8523 |
if CONFIG["OS_TARGET"] == "Linux": |
8524 |
|
8525 |
DEFINES["USE_NSS_CERTS"] = "1" |
8526 |
@@ -96,6 +112,22 @@ if CONFIG["OS_TARGET"] == "Linux": |
8527 |
"rt" |
8528 |
] |
8529 |
|
8530 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
8531 |
+ |
8532 |
+ DEFINES["USE_X11"] = "1" |
8533 |
+ DEFINES["WEBRTC_BSD"] = True |
8534 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
8535 |
+ DEFINES["WEBRTC_POSIX"] = True |
8536 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
8537 |
+ |
8538 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
8539 |
+ |
8540 |
+ DEFINES["USE_X11"] = "1" |
8541 |
+ DEFINES["WEBRTC_BSD"] = True |
8542 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
8543 |
+ DEFINES["WEBRTC_POSIX"] = True |
8544 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
8545 |
+ |
8546 |
if CONFIG["OS_TARGET"] == "WINNT": |
8547 |
|
8548 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
8549 |
@@ -133,6 +165,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
8550 |
|
8551 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
8552 |
|
8553 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
8554 |
+ |
8555 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8556 |
+ |
8557 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
8558 |
+ |
8559 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8560 |
+ |
8561 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
8562 |
+ |
8563 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8564 |
+ |
8565 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
8566 |
+ |
8567 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8568 |
+ |
8569 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
8570 |
|
8571 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
8572 |
@@ -158,6 +206,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
8573 |
"-msse2" |
8574 |
] |
8575 |
|
8576 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
8577 |
+ |
8578 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
8579 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
8580 |
+ |
8581 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
8582 |
+ |
8583 |
+ CXXFLAGS += [ |
8584 |
+ "-msse2" |
8585 |
+ ] |
8586 |
+ |
8587 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
8588 |
+ |
8589 |
+ CXXFLAGS += [ |
8590 |
+ "-msse2" |
8591 |
+ ] |
8592 |
+ |
8593 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
8594 |
+ |
8595 |
+ CXXFLAGS += [ |
8596 |
+ "-msse2" |
8597 |
+ ] |
8598 |
+ |
8599 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
8600 |
|
8601 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
8602 |
@@ -179,4 +250,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
8603 |
"-msse2" |
8604 |
] |
8605 |
|
8606 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
8607 |
+ |
8608 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
8609 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
8610 |
+ |
8611 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
8612 |
+ |
8613 |
+ CXXFLAGS += [ |
8614 |
+ "-msse2" |
8615 |
+ ] |
8616 |
+ |
8617 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
8618 |
+ |
8619 |
+ CXXFLAGS += [ |
8620 |
+ "-msse2" |
8621 |
+ ] |
8622 |
+ |
8623 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
8624 |
+ |
8625 |
+ CXXFLAGS += [ |
8626 |
+ "-msse2" |
8627 |
+ ] |
8628 |
+ |
8629 |
Library("video_coding_utility_gn") |
8630 |
diff --git media/webrtc/trunk/webrtc/modules/video_coding/webrtc_h264_gn/moz.build media/webrtc/trunk/webrtc/modules/video_coding/webrtc_h264_gn/moz.build |
8631 |
index 09b1bfe37d70..b47a2fcc234d 100644 |
8632 |
--- media/webrtc/trunk/webrtc/modules/video_coding/webrtc_h264_gn/moz.build |
8633 |
+++ media/webrtc/trunk/webrtc/modules/video_coding/webrtc_h264_gn/moz.build |
8634 |
@@ -74,6 +74,22 @@ if CONFIG["OS_TARGET"] == "Darwin": |
8635 |
"-framework CoreVideo" |
8636 |
] |
8637 |
|
8638 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
8639 |
+ |
8640 |
+ DEFINES["USE_X11"] = "1" |
8641 |
+ DEFINES["WEBRTC_BSD"] = True |
8642 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
8643 |
+ DEFINES["WEBRTC_POSIX"] = True |
8644 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
8645 |
+ |
8646 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
8647 |
+ |
8648 |
+ DEFINES["USE_X11"] = "1" |
8649 |
+ DEFINES["WEBRTC_BSD"] = True |
8650 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
8651 |
+ DEFINES["WEBRTC_POSIX"] = True |
8652 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
8653 |
+ |
8654 |
if CONFIG["OS_TARGET"] == "Linux": |
8655 |
|
8656 |
DEFINES["USE_NSS_CERTS"] = "1" |
8657 |
@@ -87,6 +103,22 @@ if CONFIG["OS_TARGET"] == "Linux": |
8658 |
"rt" |
8659 |
] |
8660 |
|
8661 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
8662 |
+ |
8663 |
+ DEFINES["USE_X11"] = "1" |
8664 |
+ DEFINES["WEBRTC_BSD"] = True |
8665 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
8666 |
+ DEFINES["WEBRTC_POSIX"] = True |
8667 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
8668 |
+ |
8669 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
8670 |
+ |
8671 |
+ DEFINES["USE_X11"] = "1" |
8672 |
+ DEFINES["WEBRTC_BSD"] = True |
8673 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
8674 |
+ DEFINES["WEBRTC_POSIX"] = True |
8675 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
8676 |
+ |
8677 |
if CONFIG["OS_TARGET"] == "WINNT": |
8678 |
|
8679 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
8680 |
@@ -124,6 +156,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
8681 |
|
8682 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
8683 |
|
8684 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
8685 |
+ |
8686 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8687 |
+ |
8688 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
8689 |
+ |
8690 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8691 |
+ |
8692 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
8693 |
+ |
8694 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8695 |
+ |
8696 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
8697 |
+ |
8698 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8699 |
+ |
8700 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
8701 |
|
8702 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
8703 |
@@ -149,6 +197,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
8704 |
"-msse2" |
8705 |
] |
8706 |
|
8707 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
8708 |
+ |
8709 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
8710 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
8711 |
+ |
8712 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
8713 |
+ |
8714 |
+ CXXFLAGS += [ |
8715 |
+ "-msse2" |
8716 |
+ ] |
8717 |
+ |
8718 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
8719 |
+ |
8720 |
+ CXXFLAGS += [ |
8721 |
+ "-msse2" |
8722 |
+ ] |
8723 |
+ |
8724 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
8725 |
+ |
8726 |
+ CXXFLAGS += [ |
8727 |
+ "-msse2" |
8728 |
+ ] |
8729 |
+ |
8730 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
8731 |
|
8732 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
8733 |
@@ -170,4 +241,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
8734 |
"-msse2" |
8735 |
] |
8736 |
|
8737 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
8738 |
+ |
8739 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
8740 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
8741 |
+ |
8742 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
8743 |
+ |
8744 |
+ CXXFLAGS += [ |
8745 |
+ "-msse2" |
8746 |
+ ] |
8747 |
+ |
8748 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
8749 |
+ |
8750 |
+ CXXFLAGS += [ |
8751 |
+ "-msse2" |
8752 |
+ ] |
8753 |
+ |
8754 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
8755 |
+ |
8756 |
+ CXXFLAGS += [ |
8757 |
+ "-msse2" |
8758 |
+ ] |
8759 |
+ |
8760 |
Library("webrtc_h264_gn") |
8761 |
diff --git media/webrtc/trunk/webrtc/modules/video_coding/webrtc_i420_gn/moz.build media/webrtc/trunk/webrtc/modules/video_coding/webrtc_i420_gn/moz.build |
8762 |
index d4f207e3e2ac..d66c46e99947 100644 |
8763 |
--- media/webrtc/trunk/webrtc/modules/video_coding/webrtc_i420_gn/moz.build |
8764 |
+++ media/webrtc/trunk/webrtc/modules/video_coding/webrtc_i420_gn/moz.build |
8765 |
@@ -76,6 +76,22 @@ if CONFIG["OS_TARGET"] == "Darwin": |
8766 |
"-framework CoreVideo" |
8767 |
] |
8768 |
|
8769 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
8770 |
+ |
8771 |
+ DEFINES["USE_X11"] = "1" |
8772 |
+ DEFINES["WEBRTC_BSD"] = True |
8773 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
8774 |
+ DEFINES["WEBRTC_POSIX"] = True |
8775 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
8776 |
+ |
8777 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
8778 |
+ |
8779 |
+ DEFINES["USE_X11"] = "1" |
8780 |
+ DEFINES["WEBRTC_BSD"] = True |
8781 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
8782 |
+ DEFINES["WEBRTC_POSIX"] = True |
8783 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
8784 |
+ |
8785 |
if CONFIG["OS_TARGET"] == "Linux": |
8786 |
|
8787 |
DEFINES["USE_NSS_CERTS"] = "1" |
8788 |
@@ -89,6 +105,22 @@ if CONFIG["OS_TARGET"] == "Linux": |
8789 |
"rt" |
8790 |
] |
8791 |
|
8792 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
8793 |
+ |
8794 |
+ DEFINES["USE_X11"] = "1" |
8795 |
+ DEFINES["WEBRTC_BSD"] = True |
8796 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
8797 |
+ DEFINES["WEBRTC_POSIX"] = True |
8798 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
8799 |
+ |
8800 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
8801 |
+ |
8802 |
+ DEFINES["USE_X11"] = "1" |
8803 |
+ DEFINES["WEBRTC_BSD"] = True |
8804 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
8805 |
+ DEFINES["WEBRTC_POSIX"] = True |
8806 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
8807 |
+ |
8808 |
if CONFIG["OS_TARGET"] == "WINNT": |
8809 |
|
8810 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
8811 |
@@ -126,6 +158,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
8812 |
|
8813 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
8814 |
|
8815 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
8816 |
+ |
8817 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8818 |
+ |
8819 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
8820 |
+ |
8821 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8822 |
+ |
8823 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
8824 |
+ |
8825 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8826 |
+ |
8827 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
8828 |
+ |
8829 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8830 |
+ |
8831 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
8832 |
|
8833 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
8834 |
@@ -151,6 +199,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
8835 |
"-msse2" |
8836 |
] |
8837 |
|
8838 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
8839 |
+ |
8840 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
8841 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
8842 |
+ |
8843 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
8844 |
+ |
8845 |
+ CXXFLAGS += [ |
8846 |
+ "-msse2" |
8847 |
+ ] |
8848 |
+ |
8849 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
8850 |
+ |
8851 |
+ CXXFLAGS += [ |
8852 |
+ "-msse2" |
8853 |
+ ] |
8854 |
+ |
8855 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
8856 |
+ |
8857 |
+ CXXFLAGS += [ |
8858 |
+ "-msse2" |
8859 |
+ ] |
8860 |
+ |
8861 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
8862 |
|
8863 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
8864 |
@@ -172,4 +243,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
8865 |
"-msse2" |
8866 |
] |
8867 |
|
8868 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
8869 |
+ |
8870 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
8871 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
8872 |
+ |
8873 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
8874 |
+ |
8875 |
+ CXXFLAGS += [ |
8876 |
+ "-msse2" |
8877 |
+ ] |
8878 |
+ |
8879 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
8880 |
+ |
8881 |
+ CXXFLAGS += [ |
8882 |
+ "-msse2" |
8883 |
+ ] |
8884 |
+ |
8885 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
8886 |
+ |
8887 |
+ CXXFLAGS += [ |
8888 |
+ "-msse2" |
8889 |
+ ] |
8890 |
+ |
8891 |
Library("webrtc_i420_gn") |
8892 |
diff --git media/webrtc/trunk/webrtc/modules/video_coding/webrtc_vp8_gn/moz.build media/webrtc/trunk/webrtc/modules/video_coding/webrtc_vp8_gn/moz.build |
8893 |
index c58da7783bed..339b18f51139 100644 |
8894 |
--- media/webrtc/trunk/webrtc/modules/video_coding/webrtc_vp8_gn/moz.build |
8895 |
+++ media/webrtc/trunk/webrtc/modules/video_coding/webrtc_vp8_gn/moz.build |
8896 |
@@ -82,6 +82,22 @@ if CONFIG["OS_TARGET"] == "Darwin": |
8897 |
"-framework CoreVideo" |
8898 |
] |
8899 |
|
8900 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
8901 |
+ |
8902 |
+ DEFINES["USE_X11"] = "1" |
8903 |
+ DEFINES["WEBRTC_BSD"] = True |
8904 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
8905 |
+ DEFINES["WEBRTC_POSIX"] = True |
8906 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
8907 |
+ |
8908 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
8909 |
+ |
8910 |
+ DEFINES["USE_X11"] = "1" |
8911 |
+ DEFINES["WEBRTC_BSD"] = True |
8912 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
8913 |
+ DEFINES["WEBRTC_POSIX"] = True |
8914 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
8915 |
+ |
8916 |
if CONFIG["OS_TARGET"] == "Linux": |
8917 |
|
8918 |
DEFINES["USE_NSS_CERTS"] = "1" |
8919 |
@@ -95,6 +111,22 @@ if CONFIG["OS_TARGET"] == "Linux": |
8920 |
"rt" |
8921 |
] |
8922 |
|
8923 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
8924 |
+ |
8925 |
+ DEFINES["USE_X11"] = "1" |
8926 |
+ DEFINES["WEBRTC_BSD"] = True |
8927 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
8928 |
+ DEFINES["WEBRTC_POSIX"] = True |
8929 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
8930 |
+ |
8931 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
8932 |
+ |
8933 |
+ DEFINES["USE_X11"] = "1" |
8934 |
+ DEFINES["WEBRTC_BSD"] = True |
8935 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
8936 |
+ DEFINES["WEBRTC_POSIX"] = True |
8937 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
8938 |
+ |
8939 |
if CONFIG["OS_TARGET"] == "WINNT": |
8940 |
|
8941 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
8942 |
@@ -132,6 +164,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
8943 |
|
8944 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
8945 |
|
8946 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
8947 |
+ |
8948 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8949 |
+ |
8950 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
8951 |
+ |
8952 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8953 |
+ |
8954 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
8955 |
+ |
8956 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8957 |
+ |
8958 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
8959 |
+ |
8960 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
8961 |
+ |
8962 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
8963 |
|
8964 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
8965 |
@@ -157,6 +205,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
8966 |
"-msse2" |
8967 |
] |
8968 |
|
8969 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
8970 |
+ |
8971 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
8972 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
8973 |
+ |
8974 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
8975 |
+ |
8976 |
+ CXXFLAGS += [ |
8977 |
+ "-msse2" |
8978 |
+ ] |
8979 |
+ |
8980 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
8981 |
+ |
8982 |
+ CXXFLAGS += [ |
8983 |
+ "-msse2" |
8984 |
+ ] |
8985 |
+ |
8986 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
8987 |
+ |
8988 |
+ CXXFLAGS += [ |
8989 |
+ "-msse2" |
8990 |
+ ] |
8991 |
+ |
8992 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
8993 |
|
8994 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
8995 |
@@ -178,4 +249,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
8996 |
"-msse2" |
8997 |
] |
8998 |
|
8999 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
9000 |
+ |
9001 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
9002 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
9003 |
+ |
9004 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
9005 |
+ |
9006 |
+ CXXFLAGS += [ |
9007 |
+ "-msse2" |
9008 |
+ ] |
9009 |
+ |
9010 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
9011 |
+ |
9012 |
+ CXXFLAGS += [ |
9013 |
+ "-msse2" |
9014 |
+ ] |
9015 |
+ |
9016 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
9017 |
+ |
9018 |
+ CXXFLAGS += [ |
9019 |
+ "-msse2" |
9020 |
+ ] |
9021 |
+ |
9022 |
Library("webrtc_vp8_gn") |
9023 |
diff --git media/webrtc/trunk/webrtc/modules/video_coding/webrtc_vp9_gn/moz.build media/webrtc/trunk/webrtc/modules/video_coding/webrtc_vp9_gn/moz.build |
9024 |
index c11cca092da4..1da9d808ceb4 100644 |
9025 |
--- media/webrtc/trunk/webrtc/modules/video_coding/webrtc_vp9_gn/moz.build |
9026 |
+++ media/webrtc/trunk/webrtc/modules/video_coding/webrtc_vp9_gn/moz.build |
9027 |
@@ -78,6 +78,22 @@ if CONFIG["OS_TARGET"] == "Darwin": |
9028 |
"-framework CoreVideo" |
9029 |
] |
9030 |
|
9031 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
9032 |
+ |
9033 |
+ DEFINES["USE_X11"] = "1" |
9034 |
+ DEFINES["WEBRTC_BSD"] = True |
9035 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
9036 |
+ DEFINES["WEBRTC_POSIX"] = True |
9037 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
9038 |
+ |
9039 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
9040 |
+ |
9041 |
+ DEFINES["USE_X11"] = "1" |
9042 |
+ DEFINES["WEBRTC_BSD"] = True |
9043 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
9044 |
+ DEFINES["WEBRTC_POSIX"] = True |
9045 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
9046 |
+ |
9047 |
if CONFIG["OS_TARGET"] == "Linux": |
9048 |
|
9049 |
DEFINES["USE_NSS_CERTS"] = "1" |
9050 |
@@ -91,6 +107,22 @@ if CONFIG["OS_TARGET"] == "Linux": |
9051 |
"rt" |
9052 |
] |
9053 |
|
9054 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
9055 |
+ |
9056 |
+ DEFINES["USE_X11"] = "1" |
9057 |
+ DEFINES["WEBRTC_BSD"] = True |
9058 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
9059 |
+ DEFINES["WEBRTC_POSIX"] = True |
9060 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
9061 |
+ |
9062 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
9063 |
+ |
9064 |
+ DEFINES["USE_X11"] = "1" |
9065 |
+ DEFINES["WEBRTC_BSD"] = True |
9066 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
9067 |
+ DEFINES["WEBRTC_POSIX"] = True |
9068 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
9069 |
+ |
9070 |
if CONFIG["OS_TARGET"] == "WINNT": |
9071 |
|
9072 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
9073 |
@@ -128,6 +160,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
9074 |
|
9075 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
9076 |
|
9077 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
9078 |
+ |
9079 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
9080 |
+ |
9081 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
9082 |
+ |
9083 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
9084 |
+ |
9085 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
9086 |
+ |
9087 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
9088 |
+ |
9089 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
9090 |
+ |
9091 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
9092 |
+ |
9093 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
9094 |
|
9095 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
9096 |
@@ -153,6 +201,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
9097 |
"-msse2" |
9098 |
] |
9099 |
|
9100 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
9101 |
+ |
9102 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
9103 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
9104 |
+ |
9105 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
9106 |
+ |
9107 |
+ CXXFLAGS += [ |
9108 |
+ "-msse2" |
9109 |
+ ] |
9110 |
+ |
9111 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
9112 |
+ |
9113 |
+ CXXFLAGS += [ |
9114 |
+ "-msse2" |
9115 |
+ ] |
9116 |
+ |
9117 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
9118 |
+ |
9119 |
+ CXXFLAGS += [ |
9120 |
+ "-msse2" |
9121 |
+ ] |
9122 |
+ |
9123 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
9124 |
|
9125 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
9126 |
@@ -174,4 +245,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
9127 |
"-msse2" |
9128 |
] |
9129 |
|
9130 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
9131 |
+ |
9132 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
9133 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
9134 |
+ |
9135 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
9136 |
+ |
9137 |
+ CXXFLAGS += [ |
9138 |
+ "-msse2" |
9139 |
+ ] |
9140 |
+ |
9141 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
9142 |
+ |
9143 |
+ CXXFLAGS += [ |
9144 |
+ "-msse2" |
9145 |
+ ] |
9146 |
+ |
9147 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
9148 |
+ |
9149 |
+ CXXFLAGS += [ |
9150 |
+ "-msse2" |
9151 |
+ ] |
9152 |
+ |
9153 |
Library("webrtc_vp9_gn") |
9154 |
diff --git media/webrtc/trunk/webrtc/modules/video_processing/video_processing_gn/moz.build media/webrtc/trunk/webrtc/modules/video_processing/video_processing_gn/moz.build |
9155 |
index 6e662cae7e7e..ee570616ba4e 100644 |
9156 |
--- media/webrtc/trunk/webrtc/modules/video_processing/video_processing_gn/moz.build |
9157 |
+++ media/webrtc/trunk/webrtc/modules/video_processing/video_processing_gn/moz.build |
9158 |
@@ -84,6 +84,22 @@ if CONFIG["OS_TARGET"] == "Darwin": |
9159 |
"-framework CoreVideo" |
9160 |
] |
9161 |
|
9162 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
9163 |
+ |
9164 |
+ DEFINES["USE_X11"] = "1" |
9165 |
+ DEFINES["WEBRTC_BSD"] = True |
9166 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
9167 |
+ DEFINES["WEBRTC_POSIX"] = True |
9168 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
9169 |
+ |
9170 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
9171 |
+ |
9172 |
+ DEFINES["USE_X11"] = "1" |
9173 |
+ DEFINES["WEBRTC_BSD"] = True |
9174 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
9175 |
+ DEFINES["WEBRTC_POSIX"] = True |
9176 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
9177 |
+ |
9178 |
if CONFIG["OS_TARGET"] == "Linux": |
9179 |
|
9180 |
DEFINES["USE_NSS_CERTS"] = "1" |
9181 |
@@ -98,6 +114,22 @@ if CONFIG["OS_TARGET"] == "Linux": |
9182 |
"rt" |
9183 |
] |
9184 |
|
9185 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
9186 |
+ |
9187 |
+ DEFINES["USE_X11"] = "1" |
9188 |
+ DEFINES["WEBRTC_BSD"] = True |
9189 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
9190 |
+ DEFINES["WEBRTC_POSIX"] = True |
9191 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
9192 |
+ |
9193 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
9194 |
+ |
9195 |
+ DEFINES["USE_X11"] = "1" |
9196 |
+ DEFINES["WEBRTC_BSD"] = True |
9197 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
9198 |
+ DEFINES["WEBRTC_POSIX"] = True |
9199 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
9200 |
+ |
9201 |
if CONFIG["OS_TARGET"] == "WINNT": |
9202 |
|
9203 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
9204 |
@@ -135,6 +167,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
9205 |
|
9206 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
9207 |
|
9208 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
9209 |
+ |
9210 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
9211 |
+ |
9212 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
9213 |
+ |
9214 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
9215 |
+ |
9216 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
9217 |
+ |
9218 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
9219 |
+ |
9220 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
9221 |
+ |
9222 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
9223 |
+ |
9224 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
9225 |
|
9226 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
9227 |
@@ -160,6 +208,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
9228 |
"-msse2" |
9229 |
] |
9230 |
|
9231 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
9232 |
+ |
9233 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
9234 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
9235 |
+ |
9236 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
9237 |
+ |
9238 |
+ CXXFLAGS += [ |
9239 |
+ "-msse2" |
9240 |
+ ] |
9241 |
+ |
9242 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
9243 |
+ |
9244 |
+ CXXFLAGS += [ |
9245 |
+ "-msse2" |
9246 |
+ ] |
9247 |
+ |
9248 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
9249 |
+ |
9250 |
+ CXXFLAGS += [ |
9251 |
+ "-msse2" |
9252 |
+ ] |
9253 |
+ |
9254 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
9255 |
|
9256 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
9257 |
@@ -181,4 +252,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
9258 |
"-msse2" |
9259 |
] |
9260 |
|
9261 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
9262 |
+ |
9263 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
9264 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
9265 |
+ |
9266 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
9267 |
+ |
9268 |
+ CXXFLAGS += [ |
9269 |
+ "-msse2" |
9270 |
+ ] |
9271 |
+ |
9272 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
9273 |
+ |
9274 |
+ CXXFLAGS += [ |
9275 |
+ "-msse2" |
9276 |
+ ] |
9277 |
+ |
9278 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
9279 |
+ |
9280 |
+ CXXFLAGS += [ |
9281 |
+ "-msse2" |
9282 |
+ ] |
9283 |
+ |
9284 |
Library("video_processing_gn") |
9285 |
diff --git media/webrtc/trunk/webrtc/modules/video_processing/video_processing_neon_gn/moz.build media/webrtc/trunk/webrtc/modules/video_processing/video_processing_neon_gn/moz.build |
9286 |
index 445650899304..fae947a2e8ec 100644 |
9287 |
--- media/webrtc/trunk/webrtc/modules/video_processing/video_processing_neon_gn/moz.build |
9288 |
+++ media/webrtc/trunk/webrtc/modules/video_processing/video_processing_neon_gn/moz.build |
9289 |
@@ -10,25 +10,15 @@ COMPILE_FLAGS["OS_INCLUDES"] = [] |
9290 |
COMPILE_FLAGS["STL"] = [] |
9291 |
AllowCompilerWarnings() |
9292 |
|
9293 |
-DEFINES["ANDROID"] = True |
9294 |
-DEFINES["ANDROID_NDK_VERSION"] = "r12b" |
9295 |
DEFINES["CHROMIUM_BUILD"] = True |
9296 |
-DEFINES["DISABLE_NACL"] = True |
9297 |
DEFINES["EXPAT_RELATIVE_PATH"] = True |
9298 |
-DEFINES["HAVE_SYS_UIO_H"] = True |
9299 |
-DEFINES["NO_TCMALLOC"] = True |
9300 |
-DEFINES["USE_OPENSSL_CERTS"] = "1" |
9301 |
DEFINES["V8_DEPRECATION_WARNINGS"] = True |
9302 |
-DEFINES["WEBRTC_ANDROID"] = True |
9303 |
-DEFINES["WEBRTC_ANDROID_OPENSLES"] = True |
9304 |
DEFINES["WEBRTC_HAS_NEON"] = True |
9305 |
DEFINES["WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE"] = True |
9306 |
-DEFINES["WEBRTC_LINUX"] = True |
9307 |
DEFINES["WEBRTC_MOZILLA_BUILD"] = True |
9308 |
DEFINES["WEBRTC_POSIX"] = True |
9309 |
DEFINES["WEBRTC_RESTRICT_LOGGING"] = True |
9310 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
9311 |
-DEFINES["__GNU_SOURCE"] = "1" |
9312 |
|
9313 |
FINAL_LIBRARY = "webrtc" |
9314 |
|
9315 |
@@ -56,6 +46,25 @@ if CONFIG["MOZ_DEBUG"] == "1": |
9316 |
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" |
9317 |
DEFINES["WTF_USE_DYNAMIC_ANNOTATIONS"] = "1" |
9318 |
|
9319 |
+if CONFIG["OS_TARGET"] == "Android": |
9320 |
+ |
9321 |
+ DEFINES["ANDROID"] = True |
9322 |
+ DEFINES["ANDROID_NDK_VERSION"] = "r12b" |
9323 |
+ DEFINES["DISABLE_NACL"] = True |
9324 |
+ DEFINES["HAVE_SYS_UIO_H"] = True |
9325 |
+ DEFINES["NO_TCMALLOC"] = True |
9326 |
+ DEFINES["USE_OPENSSL_CERTS"] = "1" |
9327 |
+ DEFINES["WEBRTC_ANDROID"] = True |
9328 |
+ DEFINES["WEBRTC_ANDROID_OPENSLES"] = True |
9329 |
+ DEFINES["WEBRTC_LINUX"] = True |
9330 |
+ DEFINES["__GNU_SOURCE"] = "1" |
9331 |
+ |
9332 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
9333 |
+ |
9334 |
+ DEFINES["USE_X11"] = "1" |
9335 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
9336 |
+ DEFINES["WEBRTC_BSD"] = True |
9337 |
+ |
9338 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android": |
9339 |
|
9340 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
9341 |
diff --git media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn/moz.build media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn/moz.build |
9342 |
index 9815b7305a45..9f7e2024e602 100644 |
9343 |
--- media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn/moz.build |
9344 |
+++ media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn/moz.build |
9345 |
@@ -78,6 +78,28 @@ if CONFIG["OS_TARGET"] == "Darwin": |
9346 |
DEFINES["WEBRTC_POSIX"] = True |
9347 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
9348 |
|
9349 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
9350 |
+ |
9351 |
+ CXXFLAGS += [ |
9352 |
+ "-msse2" |
9353 |
+ ] |
9354 |
+ |
9355 |
+ DEFINES["USE_X11"] = "1" |
9356 |
+ DEFINES["WEBRTC_BSD"] = True |
9357 |
+ DEFINES["WEBRTC_POSIX"] = True |
9358 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
9359 |
+ |
9360 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
9361 |
+ |
9362 |
+ CXXFLAGS += [ |
9363 |
+ "-msse2" |
9364 |
+ ] |
9365 |
+ |
9366 |
+ DEFINES["USE_X11"] = "1" |
9367 |
+ DEFINES["WEBRTC_BSD"] = True |
9368 |
+ DEFINES["WEBRTC_POSIX"] = True |
9369 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
9370 |
+ |
9371 |
if CONFIG["OS_TARGET"] == "Linux": |
9372 |
|
9373 |
CXXFLAGS += [ |
9374 |
@@ -94,6 +116,29 @@ if CONFIG["OS_TARGET"] == "Linux": |
9375 |
"rt" |
9376 |
] |
9377 |
|
9378 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
9379 |
+ |
9380 |
+ CXXFLAGS += [ |
9381 |
+ "-msse2" |
9382 |
+ ] |
9383 |
+ |
9384 |
+ DEFINES["USE_X11"] = "1" |
9385 |
+ DEFINES["WEBRTC_BSD"] = True |
9386 |
+ DEFINES["WEBRTC_POSIX"] = True |
9387 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
9388 |
+ |
9389 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
9390 |
+ |
9391 |
+ CXXFLAGS += [ |
9392 |
+ "-msse2", |
9393 |
+ "-msse2" |
9394 |
+ ] |
9395 |
+ |
9396 |
+ DEFINES["USE_X11"] = "1" |
9397 |
+ DEFINES["WEBRTC_BSD"] = True |
9398 |
+ DEFINES["WEBRTC_POSIX"] = True |
9399 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
9400 |
+ |
9401 |
if CONFIG["OS_TARGET"] == "WINNT": |
9402 |
|
9403 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
9404 |
@@ -131,6 +176,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
9405 |
|
9406 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
9407 |
|
9408 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
9409 |
+ |
9410 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
9411 |
+ |
9412 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
9413 |
+ |
9414 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
9415 |
+ |
9416 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
9417 |
+ |
9418 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
9419 |
+ |
9420 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
9421 |
+ |
9422 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
9423 |
+ |
9424 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
9425 |
|
9426 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
9427 |
diff --git media/webrtc/trunk/webrtc/system_wrappers/field_trial_default_gn/moz.build media/webrtc/trunk/webrtc/system_wrappers/field_trial_default_gn/moz.build |
9428 |
index 00d248dfcf68..700daf4ecd88 100644 |
9429 |
--- media/webrtc/trunk/webrtc/system_wrappers/field_trial_default_gn/moz.build |
9430 |
+++ media/webrtc/trunk/webrtc/system_wrappers/field_trial_default_gn/moz.build |
9431 |
@@ -65,6 +65,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
9432 |
DEFINES["WEBRTC_POSIX"] = True |
9433 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
9434 |
|
9435 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
9436 |
+ |
9437 |
+ DEFINES["USE_X11"] = "1" |
9438 |
+ DEFINES["WEBRTC_BSD"] = True |
9439 |
+ DEFINES["WEBRTC_POSIX"] = True |
9440 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
9441 |
+ |
9442 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
9443 |
+ |
9444 |
+ DEFINES["USE_X11"] = "1" |
9445 |
+ DEFINES["WEBRTC_BSD"] = True |
9446 |
+ DEFINES["WEBRTC_POSIX"] = True |
9447 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
9448 |
+ |
9449 |
if CONFIG["OS_TARGET"] == "Linux": |
9450 |
|
9451 |
DEFINES["USE_NSS_CERTS"] = "1" |
9452 |
@@ -73,6 +87,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
9453 |
DEFINES["WEBRTC_POSIX"] = True |
9454 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
9455 |
|
9456 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
9457 |
+ |
9458 |
+ DEFINES["USE_X11"] = "1" |
9459 |
+ DEFINES["WEBRTC_BSD"] = True |
9460 |
+ DEFINES["WEBRTC_POSIX"] = True |
9461 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
9462 |
+ |
9463 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
9464 |
+ |
9465 |
+ DEFINES["USE_X11"] = "1" |
9466 |
+ DEFINES["WEBRTC_BSD"] = True |
9467 |
+ DEFINES["WEBRTC_POSIX"] = True |
9468 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
9469 |
+ |
9470 |
if CONFIG["OS_TARGET"] == "WINNT": |
9471 |
|
9472 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
9473 |
@@ -106,6 +134,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
9474 |
|
9475 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
9476 |
|
9477 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
9478 |
+ |
9479 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
9480 |
+ |
9481 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
9482 |
+ |
9483 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
9484 |
+ |
9485 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
9486 |
+ |
9487 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
9488 |
+ |
9489 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
9490 |
+ |
9491 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
9492 |
+ |
9493 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
9494 |
|
9495 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
9496 |
@@ -131,6 +175,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
9497 |
"-msse2" |
9498 |
] |
9499 |
|
9500 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
9501 |
+ |
9502 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
9503 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
9504 |
+ |
9505 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
9506 |
+ |
9507 |
+ CXXFLAGS += [ |
9508 |
+ "-msse2" |
9509 |
+ ] |
9510 |
+ |
9511 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
9512 |
+ |
9513 |
+ CXXFLAGS += [ |
9514 |
+ "-msse2" |
9515 |
+ ] |
9516 |
+ |
9517 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
9518 |
+ |
9519 |
+ CXXFLAGS += [ |
9520 |
+ "-msse2" |
9521 |
+ ] |
9522 |
+ |
9523 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
9524 |
|
9525 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
9526 |
@@ -152,4 +219,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
9527 |
"-msse2" |
9528 |
] |
9529 |
|
9530 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
9531 |
+ |
9532 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
9533 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
9534 |
+ |
9535 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
9536 |
+ |
9537 |
+ CXXFLAGS += [ |
9538 |
+ "-msse2" |
9539 |
+ ] |
9540 |
+ |
9541 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
9542 |
+ |
9543 |
+ CXXFLAGS += [ |
9544 |
+ "-msse2" |
9545 |
+ ] |
9546 |
+ |
9547 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
9548 |
+ |
9549 |
+ CXXFLAGS += [ |
9550 |
+ "-msse2" |
9551 |
+ ] |
9552 |
+ |
9553 |
Library("field_trial_default_gn") |
9554 |
diff --git media/webrtc/trunk/webrtc/system_wrappers/metrics_default_gn/moz.build media/webrtc/trunk/webrtc/system_wrappers/metrics_default_gn/moz.build |
9555 |
index 8550ddf940ba..14245f797eaa 100644 |
9556 |
--- media/webrtc/trunk/webrtc/system_wrappers/metrics_default_gn/moz.build |
9557 |
+++ media/webrtc/trunk/webrtc/system_wrappers/metrics_default_gn/moz.build |
9558 |
@@ -65,6 +65,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
9559 |
DEFINES["WEBRTC_POSIX"] = True |
9560 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
9561 |
|
9562 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
9563 |
+ |
9564 |
+ DEFINES["USE_X11"] = "1" |
9565 |
+ DEFINES["WEBRTC_BSD"] = True |
9566 |
+ DEFINES["WEBRTC_POSIX"] = True |
9567 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
9568 |
+ |
9569 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
9570 |
+ |
9571 |
+ DEFINES["USE_X11"] = "1" |
9572 |
+ DEFINES["WEBRTC_BSD"] = True |
9573 |
+ DEFINES["WEBRTC_POSIX"] = True |
9574 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
9575 |
+ |
9576 |
if CONFIG["OS_TARGET"] == "Linux": |
9577 |
|
9578 |
DEFINES["USE_NSS_CERTS"] = "1" |
9579 |
@@ -73,6 +87,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
9580 |
DEFINES["WEBRTC_POSIX"] = True |
9581 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
9582 |
|
9583 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
9584 |
+ |
9585 |
+ DEFINES["USE_X11"] = "1" |
9586 |
+ DEFINES["WEBRTC_BSD"] = True |
9587 |
+ DEFINES["WEBRTC_POSIX"] = True |
9588 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
9589 |
+ |
9590 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
9591 |
+ |
9592 |
+ DEFINES["USE_X11"] = "1" |
9593 |
+ DEFINES["WEBRTC_BSD"] = True |
9594 |
+ DEFINES["WEBRTC_POSIX"] = True |
9595 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
9596 |
+ |
9597 |
if CONFIG["OS_TARGET"] == "WINNT": |
9598 |
|
9599 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
9600 |
@@ -106,6 +134,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
9601 |
|
9602 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
9603 |
|
9604 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
9605 |
+ |
9606 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
9607 |
+ |
9608 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
9609 |
+ |
9610 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
9611 |
+ |
9612 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
9613 |
+ |
9614 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
9615 |
+ |
9616 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
9617 |
+ |
9618 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
9619 |
+ |
9620 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
9621 |
|
9622 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
9623 |
@@ -131,6 +175,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
9624 |
"-msse2" |
9625 |
] |
9626 |
|
9627 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
9628 |
+ |
9629 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
9630 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
9631 |
+ |
9632 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
9633 |
+ |
9634 |
+ CXXFLAGS += [ |
9635 |
+ "-msse2" |
9636 |
+ ] |
9637 |
+ |
9638 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
9639 |
+ |
9640 |
+ CXXFLAGS += [ |
9641 |
+ "-msse2" |
9642 |
+ ] |
9643 |
+ |
9644 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
9645 |
+ |
9646 |
+ CXXFLAGS += [ |
9647 |
+ "-msse2" |
9648 |
+ ] |
9649 |
+ |
9650 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
9651 |
|
9652 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
9653 |
@@ -152,4 +219,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
9654 |
"-msse2" |
9655 |
] |
9656 |
|
9657 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
9658 |
+ |
9659 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
9660 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
9661 |
+ |
9662 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
9663 |
+ |
9664 |
+ CXXFLAGS += [ |
9665 |
+ "-msse2" |
9666 |
+ ] |
9667 |
+ |
9668 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
9669 |
+ |
9670 |
+ CXXFLAGS += [ |
9671 |
+ "-msse2" |
9672 |
+ ] |
9673 |
+ |
9674 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
9675 |
+ |
9676 |
+ CXXFLAGS += [ |
9677 |
+ "-msse2" |
9678 |
+ ] |
9679 |
+ |
9680 |
Library("metrics_default_gn") |
9681 |
diff --git media/webrtc/trunk/webrtc/system_wrappers/system_wrappers_gn/moz.build media/webrtc/trunk/webrtc/system_wrappers/system_wrappers_gn/moz.build |
9682 |
index c69215b4e91e..61bbdd44c60b 100644 |
9683 |
--- media/webrtc/trunk/webrtc/system_wrappers/system_wrappers_gn/moz.build |
9684 |
+++ media/webrtc/trunk/webrtc/system_wrappers/system_wrappers_gn/moz.build |
9685 |
@@ -103,6 +103,36 @@ if CONFIG["OS_TARGET"] == "Darwin": |
9686 |
"/media/webrtc/trunk/webrtc/system_wrappers/source/trace_posix.cc" |
9687 |
] |
9688 |
|
9689 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
9690 |
+ |
9691 |
+ DEFINES["USE_X11"] = "1" |
9692 |
+ DEFINES["WEBRTC_BSD"] = True |
9693 |
+ DEFINES["WEBRTC_POSIX"] = True |
9694 |
+ DEFINES["WEBRTC_THREAD_RR"] = True |
9695 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
9696 |
+ |
9697 |
+ UNIFIED_SOURCES += [ |
9698 |
+ "/media/webrtc/trunk/webrtc/system_wrappers/source/atomic32_non_darwin_unix.cc", |
9699 |
+ "/media/webrtc/trunk/webrtc/system_wrappers/source/event_timer_posix.cc", |
9700 |
+ "/media/webrtc/trunk/webrtc/system_wrappers/source/rw_lock_posix.cc", |
9701 |
+ "/media/webrtc/trunk/webrtc/system_wrappers/source/trace_posix.cc" |
9702 |
+ ] |
9703 |
+ |
9704 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
9705 |
+ |
9706 |
+ DEFINES["USE_X11"] = "1" |
9707 |
+ DEFINES["WEBRTC_BSD"] = True |
9708 |
+ DEFINES["WEBRTC_POSIX"] = True |
9709 |
+ DEFINES["WEBRTC_THREAD_RR"] = True |
9710 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
9711 |
+ |
9712 |
+ UNIFIED_SOURCES += [ |
9713 |
+ "/media/webrtc/trunk/webrtc/system_wrappers/source/atomic32_non_darwin_unix.cc", |
9714 |
+ "/media/webrtc/trunk/webrtc/system_wrappers/source/event_timer_posix.cc", |
9715 |
+ "/media/webrtc/trunk/webrtc/system_wrappers/source/rw_lock_posix.cc", |
9716 |
+ "/media/webrtc/trunk/webrtc/system_wrappers/source/trace_posix.cc" |
9717 |
+ ] |
9718 |
+ |
9719 |
if CONFIG["OS_TARGET"] == "Linux": |
9720 |
|
9721 |
DEFINES["USE_NSS_CERTS"] = "1" |
9722 |
@@ -123,6 +153,36 @@ if CONFIG["OS_TARGET"] == "Linux": |
9723 |
"/media/webrtc/trunk/webrtc/system_wrappers/source/trace_posix.cc" |
9724 |
] |
9725 |
|
9726 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
9727 |
+ |
9728 |
+ DEFINES["USE_X11"] = "1" |
9729 |
+ DEFINES["WEBRTC_BSD"] = True |
9730 |
+ DEFINES["WEBRTC_POSIX"] = True |
9731 |
+ DEFINES["WEBRTC_THREAD_RR"] = True |
9732 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
9733 |
+ |
9734 |
+ UNIFIED_SOURCES += [ |
9735 |
+ "/media/webrtc/trunk/webrtc/system_wrappers/source/atomic32_non_darwin_unix.cc", |
9736 |
+ "/media/webrtc/trunk/webrtc/system_wrappers/source/event_timer_posix.cc", |
9737 |
+ "/media/webrtc/trunk/webrtc/system_wrappers/source/rw_lock_posix.cc", |
9738 |
+ "/media/webrtc/trunk/webrtc/system_wrappers/source/trace_posix.cc" |
9739 |
+ ] |
9740 |
+ |
9741 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
9742 |
+ |
9743 |
+ DEFINES["USE_X11"] = "1" |
9744 |
+ DEFINES["WEBRTC_BSD"] = True |
9745 |
+ DEFINES["WEBRTC_POSIX"] = True |
9746 |
+ DEFINES["WEBRTC_THREAD_RR"] = True |
9747 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
9748 |
+ |
9749 |
+ UNIFIED_SOURCES += [ |
9750 |
+ "/media/webrtc/trunk/webrtc/system_wrappers/source/atomic32_non_darwin_unix.cc", |
9751 |
+ "/media/webrtc/trunk/webrtc/system_wrappers/source/event_timer_posix.cc", |
9752 |
+ "/media/webrtc/trunk/webrtc/system_wrappers/source/rw_lock_posix.cc", |
9753 |
+ "/media/webrtc/trunk/webrtc/system_wrappers/source/trace_posix.cc" |
9754 |
+ ] |
9755 |
+ |
9756 |
if CONFIG["OS_TARGET"] == "WINNT": |
9757 |
|
9758 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
9759 |
@@ -169,6 +229,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
9760 |
|
9761 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
9762 |
|
9763 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
9764 |
+ |
9765 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
9766 |
+ |
9767 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
9768 |
+ |
9769 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
9770 |
+ |
9771 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
9772 |
+ |
9773 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
9774 |
+ |
9775 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
9776 |
+ |
9777 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
9778 |
+ |
9779 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
9780 |
|
9781 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
9782 |
@@ -194,6 +270,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
9783 |
"-msse2" |
9784 |
] |
9785 |
|
9786 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
9787 |
+ |
9788 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
9789 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
9790 |
+ |
9791 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
9792 |
+ |
9793 |
+ CXXFLAGS += [ |
9794 |
+ "-msse2" |
9795 |
+ ] |
9796 |
+ |
9797 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
9798 |
+ |
9799 |
+ CXXFLAGS += [ |
9800 |
+ "-msse2" |
9801 |
+ ] |
9802 |
+ |
9803 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
9804 |
+ |
9805 |
+ CXXFLAGS += [ |
9806 |
+ "-msse2" |
9807 |
+ ] |
9808 |
+ |
9809 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
9810 |
|
9811 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
9812 |
@@ -215,4 +314,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
9813 |
"-msse2" |
9814 |
] |
9815 |
|
9816 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
9817 |
+ |
9818 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
9819 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
9820 |
+ |
9821 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
9822 |
+ |
9823 |
+ CXXFLAGS += [ |
9824 |
+ "-msse2" |
9825 |
+ ] |
9826 |
+ |
9827 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
9828 |
+ |
9829 |
+ CXXFLAGS += [ |
9830 |
+ "-msse2" |
9831 |
+ ] |
9832 |
+ |
9833 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
9834 |
+ |
9835 |
+ CXXFLAGS += [ |
9836 |
+ "-msse2" |
9837 |
+ ] |
9838 |
+ |
9839 |
Library("system_wrappers_gn") |
9840 |
diff --git media/webrtc/trunk/webrtc/video/video_gn/moz.build media/webrtc/trunk/webrtc/video/video_gn/moz.build |
9841 |
index 87f39409c276..4632948283d5 100644 |
9842 |
--- media/webrtc/trunk/webrtc/video/video_gn/moz.build |
9843 |
+++ media/webrtc/trunk/webrtc/video/video_gn/moz.build |
9844 |
@@ -104,6 +104,22 @@ if CONFIG["OS_TARGET"] == "Darwin": |
9845 |
"-framework CoreVideo" |
9846 |
] |
9847 |
|
9848 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
9849 |
+ |
9850 |
+ DEFINES["USE_X11"] = "1" |
9851 |
+ DEFINES["WEBRTC_BSD"] = True |
9852 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
9853 |
+ DEFINES["WEBRTC_POSIX"] = True |
9854 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
9855 |
+ |
9856 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
9857 |
+ |
9858 |
+ DEFINES["USE_X11"] = "1" |
9859 |
+ DEFINES["WEBRTC_BSD"] = True |
9860 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
9861 |
+ DEFINES["WEBRTC_POSIX"] = True |
9862 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
9863 |
+ |
9864 |
if CONFIG["OS_TARGET"] == "Linux": |
9865 |
|
9866 |
DEFINES["USE_NSS_CERTS"] = "1" |
9867 |
@@ -119,6 +135,22 @@ if CONFIG["OS_TARGET"] == "Linux": |
9868 |
"rt" |
9869 |
] |
9870 |
|
9871 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
9872 |
+ |
9873 |
+ DEFINES["USE_X11"] = "1" |
9874 |
+ DEFINES["WEBRTC_BSD"] = True |
9875 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
9876 |
+ DEFINES["WEBRTC_POSIX"] = True |
9877 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
9878 |
+ |
9879 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
9880 |
+ |
9881 |
+ DEFINES["USE_X11"] = "1" |
9882 |
+ DEFINES["WEBRTC_BSD"] = True |
9883 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
9884 |
+ DEFINES["WEBRTC_POSIX"] = True |
9885 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
9886 |
+ |
9887 |
if CONFIG["OS_TARGET"] == "WINNT": |
9888 |
|
9889 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
9890 |
@@ -160,6 +192,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
9891 |
|
9892 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
9893 |
|
9894 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
9895 |
+ |
9896 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
9897 |
+ |
9898 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
9899 |
+ |
9900 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
9901 |
+ |
9902 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
9903 |
+ |
9904 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
9905 |
+ |
9906 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
9907 |
+ |
9908 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
9909 |
+ |
9910 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
9911 |
|
9912 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
9913 |
@@ -185,6 +233,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
9914 |
"-msse2" |
9915 |
] |
9916 |
|
9917 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
9918 |
+ |
9919 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
9920 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
9921 |
+ |
9922 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
9923 |
+ |
9924 |
+ CXXFLAGS += [ |
9925 |
+ "-msse2" |
9926 |
+ ] |
9927 |
+ |
9928 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
9929 |
+ |
9930 |
+ CXXFLAGS += [ |
9931 |
+ "-msse2" |
9932 |
+ ] |
9933 |
+ |
9934 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
9935 |
+ |
9936 |
+ CXXFLAGS += [ |
9937 |
+ "-msse2" |
9938 |
+ ] |
9939 |
+ |
9940 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
9941 |
|
9942 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
9943 |
@@ -206,4 +277,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
9944 |
"-msse2" |
9945 |
] |
9946 |
|
9947 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
9948 |
+ |
9949 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
9950 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
9951 |
+ |
9952 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
9953 |
+ |
9954 |
+ CXXFLAGS += [ |
9955 |
+ "-msse2" |
9956 |
+ ] |
9957 |
+ |
9958 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
9959 |
+ |
9960 |
+ CXXFLAGS += [ |
9961 |
+ "-msse2" |
9962 |
+ ] |
9963 |
+ |
9964 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
9965 |
+ |
9966 |
+ CXXFLAGS += [ |
9967 |
+ "-msse2" |
9968 |
+ ] |
9969 |
+ |
9970 |
Library("video_gn") |
9971 |
diff --git media/webrtc/trunk/webrtc/video_engine/video_engine_gn/moz.build media/webrtc/trunk/webrtc/video_engine/video_engine_gn/moz.build |
9972 |
index 48331e196f20..d135f0fcc9dc 100644 |
9973 |
--- media/webrtc/trunk/webrtc/video_engine/video_engine_gn/moz.build |
9974 |
+++ media/webrtc/trunk/webrtc/video_engine/video_engine_gn/moz.build |
9975 |
@@ -50,6 +50,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
9976 |
DEFINES["WEBRTC_POSIX"] = True |
9977 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
9978 |
|
9979 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
9980 |
+ |
9981 |
+ DEFINES["USE_X11"] = "1" |
9982 |
+ DEFINES["WEBRTC_BSD"] = True |
9983 |
+ DEFINES["WEBRTC_POSIX"] = True |
9984 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
9985 |
+ |
9986 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
9987 |
+ |
9988 |
+ DEFINES["USE_X11"] = "1" |
9989 |
+ DEFINES["WEBRTC_BSD"] = True |
9990 |
+ DEFINES["WEBRTC_POSIX"] = True |
9991 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
9992 |
+ |
9993 |
if CONFIG["OS_TARGET"] == "Linux": |
9994 |
|
9995 |
DEFINES["USE_NSS_CERTS"] = "1" |
9996 |
@@ -58,6 +72,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
9997 |
DEFINES["WEBRTC_POSIX"] = True |
9998 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
9999 |
|
10000 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
10001 |
+ |
10002 |
+ DEFINES["USE_X11"] = "1" |
10003 |
+ DEFINES["WEBRTC_BSD"] = True |
10004 |
+ DEFINES["WEBRTC_POSIX"] = True |
10005 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
10006 |
+ |
10007 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
10008 |
+ |
10009 |
+ DEFINES["USE_X11"] = "1" |
10010 |
+ DEFINES["WEBRTC_BSD"] = True |
10011 |
+ DEFINES["WEBRTC_POSIX"] = True |
10012 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
10013 |
+ |
10014 |
if CONFIG["OS_TARGET"] == "WINNT": |
10015 |
|
10016 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
10017 |
@@ -87,8 +115,70 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
10018 |
|
10019 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
10020 |
|
10021 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
10022 |
+ |
10023 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10024 |
+ |
10025 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
10026 |
+ |
10027 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10028 |
+ |
10029 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
10030 |
+ |
10031 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10032 |
+ |
10033 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
10034 |
+ |
10035 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10036 |
+ |
10037 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
10038 |
|
10039 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
10040 |
|
10041 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
10042 |
+ |
10043 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
10044 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
10045 |
+ |
10046 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
10047 |
+ |
10048 |
+ CXXFLAGS += [ |
10049 |
+ "-msse2" |
10050 |
+ ] |
10051 |
+ |
10052 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
10053 |
+ |
10054 |
+ CXXFLAGS += [ |
10055 |
+ "-msse2" |
10056 |
+ ] |
10057 |
+ |
10058 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
10059 |
+ |
10060 |
+ CXXFLAGS += [ |
10061 |
+ "-msse2" |
10062 |
+ ] |
10063 |
+ |
10064 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
10065 |
+ |
10066 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
10067 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
10068 |
+ |
10069 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
10070 |
+ |
10071 |
+ CXXFLAGS += [ |
10072 |
+ "-msse2" |
10073 |
+ ] |
10074 |
+ |
10075 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
10076 |
+ |
10077 |
+ CXXFLAGS += [ |
10078 |
+ "-msse2" |
10079 |
+ ] |
10080 |
+ |
10081 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
10082 |
+ |
10083 |
+ CXXFLAGS += [ |
10084 |
+ "-msse2" |
10085 |
+ ] |
10086 |
+ |
10087 |
Library("video_engine_gn") |
10088 |
diff --git media/webrtc/trunk/webrtc/voice_engine/audio_coder_gn/moz.build media/webrtc/trunk/webrtc/voice_engine/audio_coder_gn/moz.build |
10089 |
index 81ede819424b..30c581867870 100644 |
10090 |
--- media/webrtc/trunk/webrtc/voice_engine/audio_coder_gn/moz.build |
10091 |
+++ media/webrtc/trunk/webrtc/voice_engine/audio_coder_gn/moz.build |
10092 |
@@ -71,6 +71,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
10093 |
DEFINES["WEBRTC_POSIX"] = True |
10094 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
10095 |
|
10096 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
10097 |
+ |
10098 |
+ DEFINES["USE_X11"] = "1" |
10099 |
+ DEFINES["WEBRTC_BSD"] = True |
10100 |
+ DEFINES["WEBRTC_POSIX"] = True |
10101 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
10102 |
+ |
10103 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
10104 |
+ |
10105 |
+ DEFINES["USE_X11"] = "1" |
10106 |
+ DEFINES["WEBRTC_BSD"] = True |
10107 |
+ DEFINES["WEBRTC_POSIX"] = True |
10108 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
10109 |
+ |
10110 |
if CONFIG["OS_TARGET"] == "Linux": |
10111 |
|
10112 |
DEFINES["USE_NSS_CERTS"] = "1" |
10113 |
@@ -84,6 +98,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
10114 |
"rt" |
10115 |
] |
10116 |
|
10117 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
10118 |
+ |
10119 |
+ DEFINES["USE_X11"] = "1" |
10120 |
+ DEFINES["WEBRTC_BSD"] = True |
10121 |
+ DEFINES["WEBRTC_POSIX"] = True |
10122 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
10123 |
+ |
10124 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
10125 |
+ |
10126 |
+ DEFINES["USE_X11"] = "1" |
10127 |
+ DEFINES["WEBRTC_BSD"] = True |
10128 |
+ DEFINES["WEBRTC_POSIX"] = True |
10129 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
10130 |
+ |
10131 |
if CONFIG["OS_TARGET"] == "WINNT": |
10132 |
|
10133 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
10134 |
@@ -121,6 +149,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
10135 |
|
10136 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
10137 |
|
10138 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
10139 |
+ |
10140 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10141 |
+ |
10142 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
10143 |
+ |
10144 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10145 |
+ |
10146 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
10147 |
+ |
10148 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10149 |
+ |
10150 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
10151 |
+ |
10152 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10153 |
+ |
10154 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
10155 |
|
10156 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
10157 |
@@ -146,6 +190,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
10158 |
"-msse2" |
10159 |
] |
10160 |
|
10161 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
10162 |
+ |
10163 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
10164 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
10165 |
+ |
10166 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
10167 |
+ |
10168 |
+ CXXFLAGS += [ |
10169 |
+ "-msse2" |
10170 |
+ ] |
10171 |
+ |
10172 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
10173 |
+ |
10174 |
+ CXXFLAGS += [ |
10175 |
+ "-msse2" |
10176 |
+ ] |
10177 |
+ |
10178 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
10179 |
+ |
10180 |
+ CXXFLAGS += [ |
10181 |
+ "-msse2" |
10182 |
+ ] |
10183 |
+ |
10184 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
10185 |
|
10186 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
10187 |
@@ -167,4 +234,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
10188 |
"-msse2" |
10189 |
] |
10190 |
|
10191 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
10192 |
+ |
10193 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
10194 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
10195 |
+ |
10196 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
10197 |
+ |
10198 |
+ CXXFLAGS += [ |
10199 |
+ "-msse2" |
10200 |
+ ] |
10201 |
+ |
10202 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
10203 |
+ |
10204 |
+ CXXFLAGS += [ |
10205 |
+ "-msse2" |
10206 |
+ ] |
10207 |
+ |
10208 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
10209 |
+ |
10210 |
+ CXXFLAGS += [ |
10211 |
+ "-msse2" |
10212 |
+ ] |
10213 |
+ |
10214 |
Library("audio_coder_gn") |
10215 |
diff --git media/webrtc/trunk/webrtc/voice_engine/file_player_gn/moz.build media/webrtc/trunk/webrtc/voice_engine/file_player_gn/moz.build |
10216 |
index df9a45d29ab1..ce08220befb5 100644 |
10217 |
--- media/webrtc/trunk/webrtc/voice_engine/file_player_gn/moz.build |
10218 |
+++ media/webrtc/trunk/webrtc/voice_engine/file_player_gn/moz.build |
10219 |
@@ -72,6 +72,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
10220 |
DEFINES["WEBRTC_POSIX"] = True |
10221 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
10222 |
|
10223 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
10224 |
+ |
10225 |
+ DEFINES["USE_X11"] = "1" |
10226 |
+ DEFINES["WEBRTC_BSD"] = True |
10227 |
+ DEFINES["WEBRTC_POSIX"] = True |
10228 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
10229 |
+ |
10230 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
10231 |
+ |
10232 |
+ DEFINES["USE_X11"] = "1" |
10233 |
+ DEFINES["WEBRTC_BSD"] = True |
10234 |
+ DEFINES["WEBRTC_POSIX"] = True |
10235 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
10236 |
+ |
10237 |
if CONFIG["OS_TARGET"] == "Linux": |
10238 |
|
10239 |
DEFINES["USE_NSS_CERTS"] = "1" |
10240 |
@@ -85,6 +99,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
10241 |
"rt" |
10242 |
] |
10243 |
|
10244 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
10245 |
+ |
10246 |
+ DEFINES["USE_X11"] = "1" |
10247 |
+ DEFINES["WEBRTC_BSD"] = True |
10248 |
+ DEFINES["WEBRTC_POSIX"] = True |
10249 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
10250 |
+ |
10251 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
10252 |
+ |
10253 |
+ DEFINES["USE_X11"] = "1" |
10254 |
+ DEFINES["WEBRTC_BSD"] = True |
10255 |
+ DEFINES["WEBRTC_POSIX"] = True |
10256 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
10257 |
+ |
10258 |
if CONFIG["OS_TARGET"] == "WINNT": |
10259 |
|
10260 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
10261 |
@@ -122,6 +150,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
10262 |
|
10263 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
10264 |
|
10265 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
10266 |
+ |
10267 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10268 |
+ |
10269 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
10270 |
+ |
10271 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10272 |
+ |
10273 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
10274 |
+ |
10275 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10276 |
+ |
10277 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
10278 |
+ |
10279 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10280 |
+ |
10281 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
10282 |
|
10283 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
10284 |
@@ -147,6 +191,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
10285 |
"-msse2" |
10286 |
] |
10287 |
|
10288 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
10289 |
+ |
10290 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
10291 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
10292 |
+ |
10293 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
10294 |
+ |
10295 |
+ CXXFLAGS += [ |
10296 |
+ "-msse2" |
10297 |
+ ] |
10298 |
+ |
10299 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
10300 |
+ |
10301 |
+ CXXFLAGS += [ |
10302 |
+ "-msse2" |
10303 |
+ ] |
10304 |
+ |
10305 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
10306 |
+ |
10307 |
+ CXXFLAGS += [ |
10308 |
+ "-msse2" |
10309 |
+ ] |
10310 |
+ |
10311 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
10312 |
|
10313 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
10314 |
@@ -168,4 +235,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
10315 |
"-msse2" |
10316 |
] |
10317 |
|
10318 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
10319 |
+ |
10320 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
10321 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
10322 |
+ |
10323 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
10324 |
+ |
10325 |
+ CXXFLAGS += [ |
10326 |
+ "-msse2" |
10327 |
+ ] |
10328 |
+ |
10329 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
10330 |
+ |
10331 |
+ CXXFLAGS += [ |
10332 |
+ "-msse2" |
10333 |
+ ] |
10334 |
+ |
10335 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
10336 |
+ |
10337 |
+ CXXFLAGS += [ |
10338 |
+ "-msse2" |
10339 |
+ ] |
10340 |
+ |
10341 |
Library("file_player_gn") |
10342 |
diff --git media/webrtc/trunk/webrtc/voice_engine/file_recorder_gn/moz.build media/webrtc/trunk/webrtc/voice_engine/file_recorder_gn/moz.build |
10343 |
index a5c44363240a..8c9fdf6bf428 100644 |
10344 |
--- media/webrtc/trunk/webrtc/voice_engine/file_recorder_gn/moz.build |
10345 |
+++ media/webrtc/trunk/webrtc/voice_engine/file_recorder_gn/moz.build |
10346 |
@@ -72,6 +72,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
10347 |
DEFINES["WEBRTC_POSIX"] = True |
10348 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
10349 |
|
10350 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
10351 |
+ |
10352 |
+ DEFINES["USE_X11"] = "1" |
10353 |
+ DEFINES["WEBRTC_BSD"] = True |
10354 |
+ DEFINES["WEBRTC_POSIX"] = True |
10355 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
10356 |
+ |
10357 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
10358 |
+ |
10359 |
+ DEFINES["USE_X11"] = "1" |
10360 |
+ DEFINES["WEBRTC_BSD"] = True |
10361 |
+ DEFINES["WEBRTC_POSIX"] = True |
10362 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
10363 |
+ |
10364 |
if CONFIG["OS_TARGET"] == "Linux": |
10365 |
|
10366 |
DEFINES["USE_NSS_CERTS"] = "1" |
10367 |
@@ -85,6 +99,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
10368 |
"rt" |
10369 |
] |
10370 |
|
10371 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
10372 |
+ |
10373 |
+ DEFINES["USE_X11"] = "1" |
10374 |
+ DEFINES["WEBRTC_BSD"] = True |
10375 |
+ DEFINES["WEBRTC_POSIX"] = True |
10376 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
10377 |
+ |
10378 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
10379 |
+ |
10380 |
+ DEFINES["USE_X11"] = "1" |
10381 |
+ DEFINES["WEBRTC_BSD"] = True |
10382 |
+ DEFINES["WEBRTC_POSIX"] = True |
10383 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
10384 |
+ |
10385 |
if CONFIG["OS_TARGET"] == "WINNT": |
10386 |
|
10387 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
10388 |
@@ -122,6 +150,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
10389 |
|
10390 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
10391 |
|
10392 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
10393 |
+ |
10394 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10395 |
+ |
10396 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
10397 |
+ |
10398 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10399 |
+ |
10400 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
10401 |
+ |
10402 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10403 |
+ |
10404 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
10405 |
+ |
10406 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10407 |
+ |
10408 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
10409 |
|
10410 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
10411 |
@@ -147,6 +191,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
10412 |
"-msse2" |
10413 |
] |
10414 |
|
10415 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
10416 |
+ |
10417 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
10418 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
10419 |
+ |
10420 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
10421 |
+ |
10422 |
+ CXXFLAGS += [ |
10423 |
+ "-msse2" |
10424 |
+ ] |
10425 |
+ |
10426 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
10427 |
+ |
10428 |
+ CXXFLAGS += [ |
10429 |
+ "-msse2" |
10430 |
+ ] |
10431 |
+ |
10432 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
10433 |
+ |
10434 |
+ CXXFLAGS += [ |
10435 |
+ "-msse2" |
10436 |
+ ] |
10437 |
+ |
10438 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
10439 |
|
10440 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
10441 |
@@ -168,4 +235,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
10442 |
"-msse2" |
10443 |
] |
10444 |
|
10445 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
10446 |
+ |
10447 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
10448 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
10449 |
+ |
10450 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
10451 |
+ |
10452 |
+ CXXFLAGS += [ |
10453 |
+ "-msse2" |
10454 |
+ ] |
10455 |
+ |
10456 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
10457 |
+ |
10458 |
+ CXXFLAGS += [ |
10459 |
+ "-msse2" |
10460 |
+ ] |
10461 |
+ |
10462 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
10463 |
+ |
10464 |
+ CXXFLAGS += [ |
10465 |
+ "-msse2" |
10466 |
+ ] |
10467 |
+ |
10468 |
Library("file_recorder_gn") |
10469 |
diff --git media/webrtc/trunk/webrtc/voice_engine/level_indicator_gn/moz.build media/webrtc/trunk/webrtc/voice_engine/level_indicator_gn/moz.build |
10470 |
index 1e7f16de23f6..fc42a835670d 100644 |
10471 |
--- media/webrtc/trunk/webrtc/voice_engine/level_indicator_gn/moz.build |
10472 |
+++ media/webrtc/trunk/webrtc/voice_engine/level_indicator_gn/moz.build |
10473 |
@@ -72,6 +72,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
10474 |
DEFINES["WEBRTC_POSIX"] = True |
10475 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
10476 |
|
10477 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
10478 |
+ |
10479 |
+ DEFINES["USE_X11"] = "1" |
10480 |
+ DEFINES["WEBRTC_BSD"] = True |
10481 |
+ DEFINES["WEBRTC_POSIX"] = True |
10482 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
10483 |
+ |
10484 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
10485 |
+ |
10486 |
+ DEFINES["USE_X11"] = "1" |
10487 |
+ DEFINES["WEBRTC_BSD"] = True |
10488 |
+ DEFINES["WEBRTC_POSIX"] = True |
10489 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
10490 |
+ |
10491 |
if CONFIG["OS_TARGET"] == "Linux": |
10492 |
|
10493 |
DEFINES["USE_NSS_CERTS"] = "1" |
10494 |
@@ -84,6 +98,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
10495 |
"rt" |
10496 |
] |
10497 |
|
10498 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
10499 |
+ |
10500 |
+ DEFINES["USE_X11"] = "1" |
10501 |
+ DEFINES["WEBRTC_BSD"] = True |
10502 |
+ DEFINES["WEBRTC_POSIX"] = True |
10503 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
10504 |
+ |
10505 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
10506 |
+ |
10507 |
+ DEFINES["USE_X11"] = "1" |
10508 |
+ DEFINES["WEBRTC_BSD"] = True |
10509 |
+ DEFINES["WEBRTC_POSIX"] = True |
10510 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
10511 |
+ |
10512 |
if CONFIG["OS_TARGET"] == "WINNT": |
10513 |
|
10514 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
10515 |
@@ -121,6 +149,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
10516 |
|
10517 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
10518 |
|
10519 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
10520 |
+ |
10521 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10522 |
+ |
10523 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
10524 |
+ |
10525 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10526 |
+ |
10527 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
10528 |
+ |
10529 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10530 |
+ |
10531 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
10532 |
+ |
10533 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10534 |
+ |
10535 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
10536 |
|
10537 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
10538 |
@@ -146,6 +190,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
10539 |
"-msse2" |
10540 |
] |
10541 |
|
10542 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
10543 |
+ |
10544 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
10545 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
10546 |
+ |
10547 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
10548 |
+ |
10549 |
+ CXXFLAGS += [ |
10550 |
+ "-msse2" |
10551 |
+ ] |
10552 |
+ |
10553 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
10554 |
+ |
10555 |
+ CXXFLAGS += [ |
10556 |
+ "-msse2" |
10557 |
+ ] |
10558 |
+ |
10559 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
10560 |
+ |
10561 |
+ CXXFLAGS += [ |
10562 |
+ "-msse2" |
10563 |
+ ] |
10564 |
+ |
10565 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
10566 |
|
10567 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
10568 |
@@ -167,4 +234,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
10569 |
"-msse2" |
10570 |
] |
10571 |
|
10572 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
10573 |
+ |
10574 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
10575 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
10576 |
+ |
10577 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
10578 |
+ |
10579 |
+ CXXFLAGS += [ |
10580 |
+ "-msse2" |
10581 |
+ ] |
10582 |
+ |
10583 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
10584 |
+ |
10585 |
+ CXXFLAGS += [ |
10586 |
+ "-msse2" |
10587 |
+ ] |
10588 |
+ |
10589 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
10590 |
+ |
10591 |
+ CXXFLAGS += [ |
10592 |
+ "-msse2" |
10593 |
+ ] |
10594 |
+ |
10595 |
Library("level_indicator_gn") |
10596 |
diff --git media/webrtc/trunk/webrtc/voice_engine/voice_engine_gn/moz.build media/webrtc/trunk/webrtc/voice_engine/voice_engine_gn/moz.build |
10597 |
index f56d8f9ec837..ad53d284e41d 100644 |
10598 |
--- media/webrtc/trunk/webrtc/voice_engine/voice_engine_gn/moz.build |
10599 |
+++ media/webrtc/trunk/webrtc/voice_engine/voice_engine_gn/moz.build |
10600 |
@@ -109,6 +109,22 @@ if CONFIG["OS_TARGET"] == "Darwin": |
10601 |
"-framework CoreVideo" |
10602 |
] |
10603 |
|
10604 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
10605 |
+ |
10606 |
+ DEFINES["USE_X11"] = "1" |
10607 |
+ DEFINES["WEBRTC_BSD"] = True |
10608 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
10609 |
+ DEFINES["WEBRTC_POSIX"] = True |
10610 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
10611 |
+ |
10612 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
10613 |
+ |
10614 |
+ DEFINES["USE_X11"] = "1" |
10615 |
+ DEFINES["WEBRTC_BSD"] = True |
10616 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
10617 |
+ DEFINES["WEBRTC_POSIX"] = True |
10618 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
10619 |
+ |
10620 |
if CONFIG["OS_TARGET"] == "Linux": |
10621 |
|
10622 |
DEFINES["USE_NSS_CERTS"] = "1" |
10623 |
@@ -124,6 +140,22 @@ if CONFIG["OS_TARGET"] == "Linux": |
10624 |
"rt" |
10625 |
] |
10626 |
|
10627 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
10628 |
+ |
10629 |
+ DEFINES["USE_X11"] = "1" |
10630 |
+ DEFINES["WEBRTC_BSD"] = True |
10631 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
10632 |
+ DEFINES["WEBRTC_POSIX"] = True |
10633 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
10634 |
+ |
10635 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
10636 |
+ |
10637 |
+ DEFINES["USE_X11"] = "1" |
10638 |
+ DEFINES["WEBRTC_BSD"] = True |
10639 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
10640 |
+ DEFINES["WEBRTC_POSIX"] = True |
10641 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
10642 |
+ |
10643 |
if CONFIG["OS_TARGET"] == "WINNT": |
10644 |
|
10645 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
10646 |
@@ -166,6 +198,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
10647 |
|
10648 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
10649 |
|
10650 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
10651 |
+ |
10652 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10653 |
+ |
10654 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
10655 |
+ |
10656 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10657 |
+ |
10658 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
10659 |
+ |
10660 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10661 |
+ |
10662 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
10663 |
+ |
10664 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10665 |
+ |
10666 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
10667 |
|
10668 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
10669 |
@@ -191,6 +239,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
10670 |
"-msse2" |
10671 |
] |
10672 |
|
10673 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
10674 |
+ |
10675 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
10676 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
10677 |
+ |
10678 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
10679 |
+ |
10680 |
+ CXXFLAGS += [ |
10681 |
+ "-msse2" |
10682 |
+ ] |
10683 |
+ |
10684 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
10685 |
+ |
10686 |
+ CXXFLAGS += [ |
10687 |
+ "-msse2" |
10688 |
+ ] |
10689 |
+ |
10690 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
10691 |
+ |
10692 |
+ CXXFLAGS += [ |
10693 |
+ "-msse2" |
10694 |
+ ] |
10695 |
+ |
10696 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
10697 |
|
10698 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
10699 |
@@ -212,4 +283,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
10700 |
"-msse2" |
10701 |
] |
10702 |
|
10703 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
10704 |
+ |
10705 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
10706 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
10707 |
+ |
10708 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
10709 |
+ |
10710 |
+ CXXFLAGS += [ |
10711 |
+ "-msse2" |
10712 |
+ ] |
10713 |
+ |
10714 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
10715 |
+ |
10716 |
+ CXXFLAGS += [ |
10717 |
+ "-msse2" |
10718 |
+ ] |
10719 |
+ |
10720 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
10721 |
+ |
10722 |
+ CXXFLAGS += [ |
10723 |
+ "-msse2" |
10724 |
+ ] |
10725 |
+ |
10726 |
Library("voice_engine_gn") |
10727 |
diff --git media/webrtc/trunk/webrtc/webrtc_common_gn/moz.build media/webrtc/trunk/webrtc/webrtc_common_gn/moz.build |
10728 |
index d2edfc09f5bc..3e0bfc943f3c 100644 |
10729 |
--- media/webrtc/trunk/webrtc/webrtc_common_gn/moz.build |
10730 |
+++ media/webrtc/trunk/webrtc/webrtc_common_gn/moz.build |
10731 |
@@ -66,6 +66,20 @@ if CONFIG["OS_TARGET"] == "Darwin": |
10732 |
DEFINES["WEBRTC_POSIX"] = True |
10733 |
DEFINES["__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE"] = "0" |
10734 |
|
10735 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
10736 |
+ |
10737 |
+ DEFINES["USE_X11"] = "1" |
10738 |
+ DEFINES["WEBRTC_BSD"] = True |
10739 |
+ DEFINES["WEBRTC_POSIX"] = True |
10740 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
10741 |
+ |
10742 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
10743 |
+ |
10744 |
+ DEFINES["USE_X11"] = "1" |
10745 |
+ DEFINES["WEBRTC_BSD"] = True |
10746 |
+ DEFINES["WEBRTC_POSIX"] = True |
10747 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
10748 |
+ |
10749 |
if CONFIG["OS_TARGET"] == "Linux": |
10750 |
|
10751 |
DEFINES["USE_NSS_CERTS"] = "1" |
10752 |
@@ -74,6 +88,20 @@ if CONFIG["OS_TARGET"] == "Linux": |
10753 |
DEFINES["WEBRTC_POSIX"] = True |
10754 |
DEFINES["_FILE_OFFSET_BITS"] = "64" |
10755 |
|
10756 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
10757 |
+ |
10758 |
+ DEFINES["USE_X11"] = "1" |
10759 |
+ DEFINES["WEBRTC_BSD"] = True |
10760 |
+ DEFINES["WEBRTC_POSIX"] = True |
10761 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
10762 |
+ |
10763 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
10764 |
+ |
10765 |
+ DEFINES["USE_X11"] = "1" |
10766 |
+ DEFINES["WEBRTC_BSD"] = True |
10767 |
+ DEFINES["WEBRTC_POSIX"] = True |
10768 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
10769 |
+ |
10770 |
if CONFIG["OS_TARGET"] == "WINNT": |
10771 |
|
10772 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
10773 |
@@ -107,6 +135,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
10774 |
|
10775 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
10776 |
|
10777 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
10778 |
+ |
10779 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10780 |
+ |
10781 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
10782 |
+ |
10783 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10784 |
+ |
10785 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
10786 |
+ |
10787 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10788 |
+ |
10789 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
10790 |
+ |
10791 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10792 |
+ |
10793 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
10794 |
|
10795 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
10796 |
@@ -132,6 +176,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
10797 |
"-msse2" |
10798 |
] |
10799 |
|
10800 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
10801 |
+ |
10802 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
10803 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
10804 |
+ |
10805 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
10806 |
+ |
10807 |
+ CXXFLAGS += [ |
10808 |
+ "-msse2" |
10809 |
+ ] |
10810 |
+ |
10811 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
10812 |
+ |
10813 |
+ CXXFLAGS += [ |
10814 |
+ "-msse2" |
10815 |
+ ] |
10816 |
+ |
10817 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
10818 |
+ |
10819 |
+ CXXFLAGS += [ |
10820 |
+ "-msse2" |
10821 |
+ ] |
10822 |
+ |
10823 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
10824 |
|
10825 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
10826 |
@@ -153,4 +220,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
10827 |
"-msse2" |
10828 |
] |
10829 |
|
10830 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
10831 |
+ |
10832 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
10833 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
10834 |
+ |
10835 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
10836 |
+ |
10837 |
+ CXXFLAGS += [ |
10838 |
+ "-msse2" |
10839 |
+ ] |
10840 |
+ |
10841 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
10842 |
+ |
10843 |
+ CXXFLAGS += [ |
10844 |
+ "-msse2" |
10845 |
+ ] |
10846 |
+ |
10847 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
10848 |
+ |
10849 |
+ CXXFLAGS += [ |
10850 |
+ "-msse2" |
10851 |
+ ] |
10852 |
+ |
10853 |
Library("webrtc_common_gn") |
10854 |
diff --git media/webrtc/trunk/webrtc/webrtc_gn/moz.build media/webrtc/trunk/webrtc/webrtc_gn/moz.build |
10855 |
index 4e5bca5fc11a..59bc60117eb6 100644 |
10856 |
--- media/webrtc/trunk/webrtc/webrtc_gn/moz.build |
10857 |
+++ media/webrtc/trunk/webrtc/webrtc_gn/moz.build |
10858 |
@@ -96,6 +96,48 @@ if CONFIG["OS_TARGET"] == "Darwin": |
10859 |
"-framework OpenGL" |
10860 |
] |
10861 |
|
10862 |
+if CONFIG["OS_TARGET"] == "DragonFly": |
10863 |
+ |
10864 |
+ DEFINES["USE_X11"] = "1" |
10865 |
+ DEFINES["WEBRTC_BSD"] = True |
10866 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
10867 |
+ DEFINES["WEBRTC_POSIX"] = True |
10868 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
10869 |
+ |
10870 |
+ OS_LIBS += [ |
10871 |
+ "X11", |
10872 |
+ "X11-xcb", |
10873 |
+ "xcb", |
10874 |
+ "Xcomposite", |
10875 |
+ "Xcursor", |
10876 |
+ "Xdamage", |
10877 |
+ "Xext", |
10878 |
+ "Xfixes", |
10879 |
+ "Xi", |
10880 |
+ "Xrender" |
10881 |
+ ] |
10882 |
+ |
10883 |
+if CONFIG["OS_TARGET"] == "FreeBSD": |
10884 |
+ |
10885 |
+ DEFINES["USE_X11"] = "1" |
10886 |
+ DEFINES["WEBRTC_BSD"] = True |
10887 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
10888 |
+ DEFINES["WEBRTC_POSIX"] = True |
10889 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
10890 |
+ |
10891 |
+ OS_LIBS += [ |
10892 |
+ "X11", |
10893 |
+ "X11-xcb", |
10894 |
+ "xcb", |
10895 |
+ "Xcomposite", |
10896 |
+ "Xcursor", |
10897 |
+ "Xdamage", |
10898 |
+ "Xext", |
10899 |
+ "Xfixes", |
10900 |
+ "Xi", |
10901 |
+ "Xrender" |
10902 |
+ ] |
10903 |
+ |
10904 |
if CONFIG["OS_TARGET"] == "Linux": |
10905 |
|
10906 |
DEFINES["USE_NSS_CERTS"] = "1" |
10907 |
@@ -121,6 +163,48 @@ if CONFIG["OS_TARGET"] == "Linux": |
10908 |
"Xrender" |
10909 |
] |
10910 |
|
10911 |
+if CONFIG["OS_TARGET"] == "NetBSD": |
10912 |
+ |
10913 |
+ DEFINES["USE_X11"] = "1" |
10914 |
+ DEFINES["WEBRTC_BSD"] = True |
10915 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
10916 |
+ DEFINES["WEBRTC_POSIX"] = True |
10917 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
10918 |
+ |
10919 |
+ OS_LIBS += [ |
10920 |
+ "X11", |
10921 |
+ "X11-xcb", |
10922 |
+ "xcb", |
10923 |
+ "Xcomposite", |
10924 |
+ "Xcursor", |
10925 |
+ "Xdamage", |
10926 |
+ "Xext", |
10927 |
+ "Xfixes", |
10928 |
+ "Xi", |
10929 |
+ "Xrender" |
10930 |
+ ] |
10931 |
+ |
10932 |
+if CONFIG["OS_TARGET"] == "OpenBSD": |
10933 |
+ |
10934 |
+ DEFINES["USE_X11"] = "1" |
10935 |
+ DEFINES["WEBRTC_BSD"] = True |
10936 |
+ DEFINES["WEBRTC_BUILD_LIBEVENT"] = True |
10937 |
+ DEFINES["WEBRTC_POSIX"] = True |
10938 |
+ DEFINES["_FILE_OFFSET_BITS"] = "64" |
10939 |
+ |
10940 |
+ OS_LIBS += [ |
10941 |
+ "X11", |
10942 |
+ "X11-xcb", |
10943 |
+ "xcb", |
10944 |
+ "Xcomposite", |
10945 |
+ "Xcursor", |
10946 |
+ "Xdamage", |
10947 |
+ "Xext", |
10948 |
+ "Xfixes", |
10949 |
+ "Xi", |
10950 |
+ "Xrender" |
10951 |
+ ] |
10952 |
+ |
10953 |
if CONFIG["OS_TARGET"] == "WINNT": |
10954 |
|
10955 |
DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True |
10956 |
@@ -165,6 +249,22 @@ if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Darwin": |
10957 |
|
10958 |
DEFINES["_FORTIFY_SOURCE"] = "2" |
10959 |
|
10960 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "DragonFly": |
10961 |
+ |
10962 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10963 |
+ |
10964 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
10965 |
+ |
10966 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10967 |
+ |
10968 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
10969 |
+ |
10970 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10971 |
+ |
10972 |
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
10973 |
+ |
10974 |
+ DEFINES["_FORTIFY_SOURCE"] = "2" |
10975 |
+ |
10976 |
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": |
10977 |
|
10978 |
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" |
10979 |
@@ -190,6 +290,29 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not C |
10980 |
"-msse2" |
10981 |
] |
10982 |
|
10983 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
10984 |
+ |
10985 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
10986 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
10987 |
+ |
10988 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD": |
10989 |
+ |
10990 |
+ CXXFLAGS += [ |
10991 |
+ "-msse2" |
10992 |
+ ] |
10993 |
+ |
10994 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD": |
10995 |
+ |
10996 |
+ CXXFLAGS += [ |
10997 |
+ "-msse2" |
10998 |
+ ] |
10999 |
+ |
11000 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "OpenBSD": |
11001 |
+ |
11002 |
+ CXXFLAGS += [ |
11003 |
+ "-msse2" |
11004 |
+ ] |
11005 |
+ |
11006 |
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": |
11007 |
|
11008 |
DEFINES["WEBRTC_ARCH_ARM64"] = True |
11009 |
@@ -211,4 +334,27 @@ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFI |
11010 |
"-msse2" |
11011 |
] |
11012 |
|
11013 |
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
11014 |
+ |
11015 |
+ DEFINES["WEBRTC_ARCH_ARM64"] = True |
11016 |
+ DEFINES["WEBRTC_HAS_NEON"] = True |
11017 |
+ |
11018 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD": |
11019 |
+ |
11020 |
+ CXXFLAGS += [ |
11021 |
+ "-msse2" |
11022 |
+ ] |
11023 |
+ |
11024 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "NetBSD": |
11025 |
+ |
11026 |
+ CXXFLAGS += [ |
11027 |
+ "-msse2" |
11028 |
+ ] |
11029 |
+ |
11030 |
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": |
11031 |
+ |
11032 |
+ CXXFLAGS += [ |
11033 |
+ "-msse2" |
11034 |
+ ] |
11035 |
+ |
11036 |
Library("webrtc_gn") |