1
--- a/media/webrtc/trunk/moz.build
2
+++ b/media/webrtc/trunk/moz.build
4
"/media/webrtc/trunk/webrtc/webrtc_gn"
7
-if CONFIG["OS_TARGET"] == "WINNT":
8
+if CONFIG["OS_TARGET"] == "DragonFly":
11
"/media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn",
13
"/media/webrtc/trunk/webrtc/video_engine/video_engine_gn"
16
-if CONFIG["OS_TARGET"] == "DragonFly":
17
+if CONFIG["OS_TARGET"] == "WINNT":
20
"/media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn",
22
if CONFIG["OS_TARGET"] == "Linux":
25
- "/media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn",
26
- "/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn",
27
- "/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn",
28
"/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn",
29
"/media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn",
30
- "/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn",
31
- "/media/webrtc/trunk/webrtc/system_wrappers/cpu_features_linux_gn",
32
"/media/webrtc/trunk/webrtc/video_engine/video_engine_gn"
36
"/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn"
39
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["OS_TARGET"] == "Linux":
42
+ "/media/webrtc/trunk/webrtc/common_audio/common_audio_neon_c_gn",
43
+ "/media/webrtc/trunk/webrtc/common_audio/common_audio_neon_gn",
44
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/isac_neon_gn",
45
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_c_gn",
46
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_gn",
47
+ "/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_neon_gn"
50
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "FreeBSD":
54
"/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_neon_gn"
57
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
60
+ "/media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn",
61
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn",
62
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn",
63
+ "/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn"
66
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["OS_TARGET"] == "Linux":
69
+ "/media/webrtc/trunk/webrtc/common_audio/common_audio_neon_c_gn",
70
+ "/media/webrtc/trunk/webrtc/common_audio/common_audio_neon_gn",
71
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/isac_neon_gn",
72
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_c_gn",
73
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_gn",
74
+ "/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_neon_gn"
77
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Android":
81
"/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_neon_gn"
84
+if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
87
+ "/media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn",
88
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn",
89
+ "/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn",
90
+ "/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn"
93
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "FreeBSD":
96
--- a/media/webrtc/trunk/webrtc/api/audio_mixer_api_gn/moz.build
97
+++ b/media/webrtc/trunk/webrtc/api/audio_mixer_api_gn/moz.build
99
DEFINES["WEBRTC_ARCH_ARM64"] = True
100
DEFINES["WEBRTC_HAS_NEON"] = True
102
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
104
+ DEFINES["DISABLE_NACL"] = True
105
+ DEFINES["NO_TCMALLOC"] = True
106
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
107
+ DEFINES["WEBRTC_HAS_NEON"] = True
109
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
111
+ DEFINES["WEBRTC_ARCH_ARM"] = True
112
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
113
+ DEFINES["WEBRTC_HAS_NEON"] = True
115
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
117
DEFINES["WEBRTC_ARCH_ARM64"] = True
118
--- a/media/webrtc/trunk/webrtc/api/call_api_gn/moz.build
119
+++ b/media/webrtc/trunk/webrtc/api/call_api_gn/moz.build
121
DEFINES["WEBRTC_ARCH_ARM64"] = True
122
DEFINES["WEBRTC_HAS_NEON"] = True
124
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
126
+ DEFINES["DISABLE_NACL"] = True
127
+ DEFINES["NO_TCMALLOC"] = True
128
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
129
+ DEFINES["WEBRTC_HAS_NEON"] = True
131
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
133
+ DEFINES["WEBRTC_ARCH_ARM"] = True
134
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
135
+ DEFINES["WEBRTC_HAS_NEON"] = True
137
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
139
DEFINES["WEBRTC_ARCH_ARM64"] = True
140
--- a/media/webrtc/trunk/webrtc/api/transport_api_gn/moz.build
141
+++ b/media/webrtc/trunk/webrtc/api/transport_api_gn/moz.build
143
DEFINES["WEBRTC_ARCH_ARM64"] = True
144
DEFINES["WEBRTC_HAS_NEON"] = True
146
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
148
+ DEFINES["DISABLE_NACL"] = True
149
+ DEFINES["NO_TCMALLOC"] = True
150
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
151
+ DEFINES["WEBRTC_HAS_NEON"] = True
153
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
155
+ DEFINES["WEBRTC_ARCH_ARM"] = True
156
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
157
+ DEFINES["WEBRTC_HAS_NEON"] = True
159
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
161
DEFINES["WEBRTC_ARCH_ARM64"] = True
162
--- a/media/webrtc/trunk/webrtc/api/video_frame_api_gn/moz.build
163
+++ b/media/webrtc/trunk/webrtc/api/video_frame_api_gn/moz.build
168
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
170
+ DEFINES["DISABLE_NACL"] = True
171
+ DEFINES["NO_TCMALLOC"] = True
172
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
173
+ DEFINES["WEBRTC_HAS_NEON"] = True
175
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
181
+ DEFINES["WEBRTC_ARCH_ARM"] = True
182
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
183
+ DEFINES["WEBRTC_HAS_NEON"] = True
185
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
188
--- a/media/webrtc/trunk/webrtc/audio/audio_gn/moz.build
189
+++ b/media/webrtc/trunk/webrtc/audio/audio_gn/moz.build
194
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
196
+ DEFINES["DISABLE_NACL"] = True
197
+ DEFINES["NO_TCMALLOC"] = True
198
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
199
+ DEFINES["WEBRTC_HAS_NEON"] = True
201
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
207
+ DEFINES["WEBRTC_ARCH_ARM"] = True
208
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
209
+ DEFINES["WEBRTC_HAS_NEON"] = True
211
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
214
--- a/media/webrtc/trunk/webrtc/audio/utility/audio_frame_operations_gn/moz.build
215
+++ b/media/webrtc/trunk/webrtc/audio/utility/audio_frame_operations_gn/moz.build
220
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
222
+ DEFINES["DISABLE_NACL"] = True
223
+ DEFINES["NO_TCMALLOC"] = True
224
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
225
+ DEFINES["WEBRTC_HAS_NEON"] = True
227
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
233
+ DEFINES["WEBRTC_ARCH_ARM"] = True
234
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
235
+ DEFINES["WEBRTC_HAS_NEON"] = True
237
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
240
--- a/media/webrtc/trunk/webrtc/base/gtest_prod_gn/moz.build
241
+++ b/media/webrtc/trunk/webrtc/base/gtest_prod_gn/moz.build
243
DEFINES["WEBRTC_ARCH_ARM64"] = True
244
DEFINES["WEBRTC_HAS_NEON"] = True
246
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
248
+ DEFINES["DISABLE_NACL"] = True
249
+ DEFINES["NO_TCMALLOC"] = True
250
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
251
+ DEFINES["WEBRTC_HAS_NEON"] = True
253
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
255
+ DEFINES["WEBRTC_ARCH_ARM"] = True
256
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
257
+ DEFINES["WEBRTC_HAS_NEON"] = True
259
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
261
DEFINES["WEBRTC_ARCH_ARM64"] = True
262
--- a/media/webrtc/trunk/webrtc/base/rtc_base_approved_gn/moz.build
263
+++ b/media/webrtc/trunk/webrtc/base/rtc_base_approved_gn/moz.build
268
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
270
+ DEFINES["DISABLE_NACL"] = True
271
+ DEFINES["NO_TCMALLOC"] = True
272
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
273
+ DEFINES["WEBRTC_HAS_NEON"] = True
275
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
281
+ DEFINES["WEBRTC_ARCH_ARM"] = True
282
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
283
+ DEFINES["WEBRTC_HAS_NEON"] = True
285
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
288
--- a/media/webrtc/trunk/webrtc/base/rtc_numerics_gn/moz.build
289
+++ b/media/webrtc/trunk/webrtc/base/rtc_numerics_gn/moz.build
294
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
296
+ DEFINES["DISABLE_NACL"] = True
297
+ DEFINES["NO_TCMALLOC"] = True
298
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
299
+ DEFINES["WEBRTC_HAS_NEON"] = True
301
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
307
+ DEFINES["WEBRTC_ARCH_ARM"] = True
308
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
309
+ DEFINES["WEBRTC_HAS_NEON"] = True
311
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
314
--- a/media/webrtc/trunk/webrtc/base/rtc_task_queue_gn/moz.build
315
+++ b/media/webrtc/trunk/webrtc/base/rtc_task_queue_gn/moz.build
320
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
322
+ DEFINES["DISABLE_NACL"] = True
323
+ DEFINES["NO_TCMALLOC"] = True
324
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
325
+ DEFINES["WEBRTC_HAS_NEON"] = True
327
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
333
+ DEFINES["WEBRTC_ARCH_ARM"] = True
334
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
335
+ DEFINES["WEBRTC_HAS_NEON"] = True
337
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
340
--- a/media/webrtc/trunk/webrtc/call/call_gn/moz.build
341
+++ b/media/webrtc/trunk/webrtc/call/call_gn/moz.build
346
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
348
+ DEFINES["DISABLE_NACL"] = True
349
+ DEFINES["NO_TCMALLOC"] = True
350
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
351
+ DEFINES["WEBRTC_HAS_NEON"] = True
353
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
359
+ DEFINES["WEBRTC_ARCH_ARM"] = True
360
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
361
+ DEFINES["WEBRTC_HAS_NEON"] = True
363
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
366
--- a/media/webrtc/trunk/webrtc/call/call_interfaces_gn/moz.build
367
+++ b/media/webrtc/trunk/webrtc/call/call_interfaces_gn/moz.build
372
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
374
+ DEFINES["DISABLE_NACL"] = True
375
+ DEFINES["NO_TCMALLOC"] = True
376
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
377
+ DEFINES["WEBRTC_HAS_NEON"] = True
379
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
385
+ DEFINES["WEBRTC_ARCH_ARM"] = True
386
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
387
+ DEFINES["WEBRTC_HAS_NEON"] = True
389
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
392
--- a/media/webrtc/trunk/webrtc/common_audio/common_audio_c_gn/moz.build
393
+++ b/media/webrtc/trunk/webrtc/common_audio/common_audio_c_gn/moz.build
395
DEFINES["WEBRTC_POSIX"] = True
396
DEFINES["_FILE_OFFSET_BITS"] = "64"
398
- UNIFIED_SOURCES += [
399
- "/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c",
400
- "/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c",
401
- "/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c"
404
if CONFIG["OS_TARGET"] == "NetBSD":
406
DEFINES["USE_X11"] = "1"
409
DEFINES["_FORTIFY_SOURCE"] = "2"
411
+if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
413
+ UNIFIED_SOURCES += [
414
+ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c",
415
+ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c",
416
+ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c"
419
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
421
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
426
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
428
+ DEFINES["DISABLE_NACL"] = True
429
+ DEFINES["NO_TCMALLOC"] = True
430
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
431
+ DEFINES["WEBRTC_HAS_NEON"] = True
433
+ UNIFIED_SOURCES += [
434
+ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c",
435
+ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c",
436
+ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c"
439
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
445
+ DEFINES["WEBRTC_ARCH_ARM"] = True
446
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
447
+ DEFINES["WEBRTC_HAS_NEON"] = True
450
+ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse_arm.S",
451
+ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12_armv7.S",
452
+ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor_arm.S"
455
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
457
+ UNIFIED_SOURCES += [
458
+ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c",
459
+ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c",
460
+ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c"
463
+if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
465
+ UNIFIED_SOURCES += [
466
+ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/complex_bit_reverse.c",
467
+ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/filter_ar_fast_q12.c",
468
+ "/media/webrtc/trunk/webrtc/common_audio/signal_processing/spl_sqrt_floor.c"
471
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
474
--- a/media/webrtc/trunk/webrtc/common_audio/common_audio_gn/moz.build
475
+++ b/media/webrtc/trunk/webrtc/common_audio/common_audio_gn/moz.build
480
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
482
+ DEFINES["DISABLE_NACL"] = True
483
+ DEFINES["NO_TCMALLOC"] = True
484
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
485
+ DEFINES["WEBRTC_HAS_NEON"] = True
487
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
493
+ DEFINES["WEBRTC_ARCH_ARM"] = True
494
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
495
+ DEFINES["WEBRTC_HAS_NEON"] = True
497
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
500
--- a/media/webrtc/trunk/webrtc/common_audio/common_audio_neon_c_gn/moz.build
501
+++ b/media/webrtc/trunk/webrtc/common_audio/common_audio_neon_c_gn/moz.build
503
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
504
DEFINES["NDEBUG"] = True
505
DEFINES["NVALGRIND"] = True
506
- DEFINES["_FORTIFY_SOURCE"] = "2"
508
if CONFIG["MOZ_DEBUG"] == "1":
511
DEFINES["WEBRTC_ARCH_ARM64"] = True
512
DEFINES["WEBRTC_BSD"] = True
514
+if CONFIG["OS_TARGET"] == "Linux":
516
+ DEFINES["USE_NSS_CERTS"] = "1"
517
+ DEFINES["USE_X11"] = "1"
518
+ DEFINES["WEBRTC_LINUX"] = True
520
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
522
+ DEFINES["_FORTIFY_SOURCE"] = "2"
524
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD":
526
+ DEFINES["_FORTIFY_SOURCE"] = "2"
528
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
530
DEFINES["WEBRTC_ARCH_ARM64"] = True
537
+ DEFINES["WEBRTC_ARCH_ARM"] = True
538
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
540
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
542
+ DEFINES["DISABLE_NACL"] = True
543
+ DEFINES["NO_TCMALLOC"] = True
544
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
546
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
552
DEFINES["WEBRTC_ARCH_ARM"] = True
553
--- a/media/webrtc/trunk/webrtc/common_audio/common_audio_neon_gn/moz.build
554
+++ b/media/webrtc/trunk/webrtc/common_audio/common_audio_neon_gn/moz.build
556
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
557
DEFINES["NDEBUG"] = True
558
DEFINES["NVALGRIND"] = True
559
- DEFINES["_FORTIFY_SOURCE"] = "2"
561
if CONFIG["MOZ_DEBUG"] == "1":
564
DEFINES["WEBRTC_ARCH_ARM64"] = True
565
DEFINES["WEBRTC_BSD"] = True
567
+if CONFIG["OS_TARGET"] == "Linux":
569
+ DEFINES["USE_NSS_CERTS"] = "1"
570
+ DEFINES["USE_X11"] = "1"
571
+ DEFINES["WEBRTC_LINUX"] = True
573
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
575
+ DEFINES["_FORTIFY_SOURCE"] = "2"
577
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD":
579
+ DEFINES["_FORTIFY_SOURCE"] = "2"
581
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
583
DEFINES["WEBRTC_ARCH_ARM64"] = True
590
+ DEFINES["WEBRTC_ARCH_ARM"] = True
591
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
593
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
595
+ DEFINES["DISABLE_NACL"] = True
596
+ DEFINES["NO_TCMALLOC"] = True
597
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
599
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
605
DEFINES["WEBRTC_ARCH_ARM"] = True
606
--- a/media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn/moz.build
607
+++ b/media/webrtc/trunk/webrtc/common_audio/common_audio_sse2_gn/moz.build
609
if CONFIG["OS_TARGET"] == "NetBSD":
617
if CONFIG["OS_TARGET"] == "OpenBSD":
624
--- a/media/webrtc/trunk/webrtc/common_video/common_video_gn/moz.build
625
+++ b/media/webrtc/trunk/webrtc/common_video/common_video_gn/moz.build
630
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
632
+ DEFINES["DISABLE_NACL"] = True
633
+ DEFINES["NO_TCMALLOC"] = True
634
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
635
+ DEFINES["WEBRTC_HAS_NEON"] = True
637
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
643
+ DEFINES["WEBRTC_ARCH_ARM"] = True
644
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
645
+ DEFINES["WEBRTC_HAS_NEON"] = True
647
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
650
--- a/media/webrtc/trunk/webrtc/logging/rtc_event_log_api_gn/moz.build
651
+++ b/media/webrtc/trunk/webrtc/logging/rtc_event_log_api_gn/moz.build
653
DEFINES["WEBRTC_ARCH_ARM64"] = True
654
DEFINES["WEBRTC_HAS_NEON"] = True
656
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
658
+ DEFINES["DISABLE_NACL"] = True
659
+ DEFINES["NO_TCMALLOC"] = True
660
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
661
+ DEFINES["WEBRTC_HAS_NEON"] = True
663
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
665
+ DEFINES["WEBRTC_ARCH_ARM"] = True
666
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
667
+ DEFINES["WEBRTC_HAS_NEON"] = True
669
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
671
DEFINES["WEBRTC_ARCH_ARM64"] = True
672
--- a/media/webrtc/trunk/webrtc/logging/rtc_event_log_impl_gn/moz.build
673
+++ b/media/webrtc/trunk/webrtc/logging/rtc_event_log_impl_gn/moz.build
678
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
680
+ DEFINES["DISABLE_NACL"] = True
681
+ DEFINES["NO_TCMALLOC"] = True
682
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
683
+ DEFINES["WEBRTC_HAS_NEON"] = True
685
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
691
+ DEFINES["WEBRTC_ARCH_ARM"] = True
692
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
693
+ DEFINES["WEBRTC_HAS_NEON"] = True
695
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
698
--- a/media/webrtc/trunk/webrtc/media/mozilla_rtc_media_gn/moz.build
699
+++ b/media/webrtc/trunk/webrtc/media/mozilla_rtc_media_gn/moz.build
704
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
706
+ DEFINES["DISABLE_NACL"] = True
707
+ DEFINES["NO_TCMALLOC"] = True
708
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
709
+ DEFINES["WEBRTC_HAS_NEON"] = True
711
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
717
+ DEFINES["WEBRTC_ARCH_ARM"] = True
718
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
719
+ DEFINES["WEBRTC_HAS_NEON"] = True
721
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
724
--- a/media/webrtc/trunk/webrtc/modules/audio_coding/audio_coding_gn/moz.build
725
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/audio_coding_gn/moz.build
727
DEFINES["WEBRTC_POSIX"] = True
728
DEFINES["_FILE_OFFSET_BITS"] = "64"
730
- LOCAL_INCLUDES += [
731
- "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
741
DEFINES["_FORTIFY_SOURCE"] = "2"
743
+if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
745
+ LOCAL_INCLUDES += [
746
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
753
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
755
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
760
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
762
+ DEFINES["DISABLE_NACL"] = True
763
+ DEFINES["NO_TCMALLOC"] = True
764
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
765
+ DEFINES["WEBRTC_HAS_NEON"] = True
767
+ LOCAL_INCLUDES += [
768
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
775
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
781
+ DEFINES["WEBRTC_ARCH_ARM"] = True
782
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
783
+ DEFINES["WEBRTC_HAS_NEON"] = True
785
+ LOCAL_INCLUDES += [
786
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/include/"
789
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
791
+ LOCAL_INCLUDES += [
792
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
799
+if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
801
+ LOCAL_INCLUDES += [
802
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
809
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
812
--- a/media/webrtc/trunk/webrtc/modules/audio_coding/audio_decoder_factory_interface_gn/moz.build
813
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/audio_decoder_factory_interface_gn/moz.build
815
DEFINES["WEBRTC_ARCH_ARM64"] = True
816
DEFINES["WEBRTC_HAS_NEON"] = True
818
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
820
+ DEFINES["DISABLE_NACL"] = True
821
+ DEFINES["NO_TCMALLOC"] = True
822
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
823
+ DEFINES["WEBRTC_HAS_NEON"] = True
825
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
827
+ DEFINES["WEBRTC_ARCH_ARM"] = True
828
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
829
+ DEFINES["WEBRTC_HAS_NEON"] = True
831
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android":
833
DEFINES["WEBRTC_ARCH_ARM64"] = True
834
--- a/media/webrtc/trunk/webrtc/modules/audio_coding/audio_decoder_interface_gn/moz.build
835
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/audio_decoder_interface_gn/moz.build
840
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
842
+ DEFINES["DISABLE_NACL"] = True
843
+ DEFINES["NO_TCMALLOC"] = True
844
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
845
+ DEFINES["WEBRTC_HAS_NEON"] = True
847
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
853
+ DEFINES["WEBRTC_ARCH_ARM"] = True
854
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
855
+ DEFINES["WEBRTC_HAS_NEON"] = True
857
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
860
--- a/media/webrtc/trunk/webrtc/modules/audio_coding/audio_encoder_interface_gn/moz.build
861
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/audio_encoder_interface_gn/moz.build
866
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
868
+ DEFINES["DISABLE_NACL"] = True
869
+ DEFINES["NO_TCMALLOC"] = True
870
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
871
+ DEFINES["WEBRTC_HAS_NEON"] = True
873
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
879
+ DEFINES["WEBRTC_ARCH_ARM"] = True
880
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
881
+ DEFINES["WEBRTC_HAS_NEON"] = True
883
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
886
--- a/media/webrtc/trunk/webrtc/modules/audio_coding/audio_format_conversion_gn/moz.build
887
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/audio_format_conversion_gn/moz.build
892
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
894
+ DEFINES["DISABLE_NACL"] = True
895
+ DEFINES["NO_TCMALLOC"] = True
896
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
897
+ DEFINES["WEBRTC_HAS_NEON"] = True
899
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
905
+ DEFINES["WEBRTC_ARCH_ARM"] = True
906
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
907
+ DEFINES["WEBRTC_HAS_NEON"] = True
909
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
912
--- a/media/webrtc/trunk/webrtc/modules/audio_coding/audio_format_gn/moz.build
913
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/audio_format_gn/moz.build
918
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
920
+ DEFINES["DISABLE_NACL"] = True
921
+ DEFINES["NO_TCMALLOC"] = True
922
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
923
+ DEFINES["WEBRTC_HAS_NEON"] = True
925
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
931
+ DEFINES["WEBRTC_ARCH_ARM"] = True
932
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
933
+ DEFINES["WEBRTC_HAS_NEON"] = True
935
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
938
--- a/media/webrtc/trunk/webrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build
939
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build
944
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
946
+ DEFINES["DISABLE_NACL"] = True
947
+ DEFINES["NO_TCMALLOC"] = True
948
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
949
+ DEFINES["WEBRTC_HAS_NEON"] = True
951
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
957
+ DEFINES["WEBRTC_ARCH_ARM"] = True
958
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
959
+ DEFINES["WEBRTC_HAS_NEON"] = True
961
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
964
--- a/media/webrtc/trunk/webrtc/modules/audio_coding/builtin_audio_decoder_factory_gn/moz.build
965
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/builtin_audio_decoder_factory_gn/moz.build
967
DEFINES["WEBRTC_POSIX"] = True
968
DEFINES["_FILE_OFFSET_BITS"] = "64"
970
- LOCAL_INCLUDES += [
971
- "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
981
DEFINES["_FORTIFY_SOURCE"] = "2"
983
+if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
985
+ LOCAL_INCLUDES += [
986
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
993
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
995
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
1000
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1002
+ DEFINES["DISABLE_NACL"] = True
1003
+ DEFINES["NO_TCMALLOC"] = True
1004
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
1005
+ DEFINES["WEBRTC_HAS_NEON"] = True
1007
+ LOCAL_INCLUDES += [
1008
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
1015
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1021
+ DEFINES["WEBRTC_ARCH_ARM"] = True
1022
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
1023
+ DEFINES["WEBRTC_HAS_NEON"] = True
1025
+ LOCAL_INCLUDES += [
1026
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/include/"
1029
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1031
+ LOCAL_INCLUDES += [
1032
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
1039
+if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1041
+ LOCAL_INCLUDES += [
1042
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
1049
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
1052
--- a/media/webrtc/trunk/webrtc/modules/audio_coding/cng_gn/moz.build
1053
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/cng_gn/moz.build
1054
@@ -202,6 +202,23 @@
1058
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1060
+ DEFINES["DISABLE_NACL"] = True
1061
+ DEFINES["NO_TCMALLOC"] = True
1062
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
1063
+ DEFINES["WEBRTC_HAS_NEON"] = True
1065
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1071
+ DEFINES["WEBRTC_ARCH_ARM"] = True
1072
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
1073
+ DEFINES["WEBRTC_HAS_NEON"] = True
1075
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
1078
--- a/media/webrtc/trunk/webrtc/modules/audio_coding/g711_c_gn/moz.build
1079
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/g711_c_gn/moz.build
1080
@@ -186,6 +186,23 @@
1084
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1086
+ DEFINES["DISABLE_NACL"] = True
1087
+ DEFINES["NO_TCMALLOC"] = True
1088
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
1089
+ DEFINES["WEBRTC_HAS_NEON"] = True
1091
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1097
+ DEFINES["WEBRTC_ARCH_ARM"] = True
1098
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
1099
+ DEFINES["WEBRTC_HAS_NEON"] = True
1101
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
1104
--- a/media/webrtc/trunk/webrtc/modules/audio_coding/g711_gn/moz.build
1105
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/g711_gn/moz.build
1106
@@ -191,6 +191,23 @@
1110
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1112
+ DEFINES["DISABLE_NACL"] = True
1113
+ DEFINES["NO_TCMALLOC"] = True
1114
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
1115
+ DEFINES["WEBRTC_HAS_NEON"] = True
1117
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1123
+ DEFINES["WEBRTC_ARCH_ARM"] = True
1124
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
1125
+ DEFINES["WEBRTC_HAS_NEON"] = True
1127
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
1130
--- a/media/webrtc/trunk/webrtc/modules/audio_coding/g722_c_gn/moz.build
1131
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/g722_c_gn/moz.build
1132
@@ -190,6 +190,23 @@
1136
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1138
+ DEFINES["DISABLE_NACL"] = True
1139
+ DEFINES["NO_TCMALLOC"] = True
1140
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
1141
+ DEFINES["WEBRTC_HAS_NEON"] = True
1143
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1149
+ DEFINES["WEBRTC_ARCH_ARM"] = True
1150
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
1151
+ DEFINES["WEBRTC_HAS_NEON"] = True
1153
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
1156
--- a/media/webrtc/trunk/webrtc/modules/audio_coding/g722_gn/moz.build
1157
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/g722_gn/moz.build
1158
@@ -191,6 +191,23 @@
1162
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1164
+ DEFINES["DISABLE_NACL"] = True
1165
+ DEFINES["NO_TCMALLOC"] = True
1166
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
1167
+ DEFINES["WEBRTC_HAS_NEON"] = True
1169
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1175
+ DEFINES["WEBRTC_ARCH_ARM"] = True
1176
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
1177
+ DEFINES["WEBRTC_HAS_NEON"] = True
1179
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
1182
--- a/media/webrtc/trunk/webrtc/modules/audio_coding/isac_c_gn/moz.build
1183
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/isac_c_gn/moz.build
1184
@@ -230,6 +230,23 @@
1188
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1190
+ DEFINES["DISABLE_NACL"] = True
1191
+ DEFINES["NO_TCMALLOC"] = True
1192
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
1193
+ DEFINES["WEBRTC_HAS_NEON"] = True
1195
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1201
+ DEFINES["WEBRTC_ARCH_ARM"] = True
1202
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
1203
+ DEFINES["WEBRTC_HAS_NEON"] = True
1205
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
1208
--- a/media/webrtc/trunk/webrtc/modules/audio_coding/isac_common_gn/moz.build
1209
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/isac_common_gn/moz.build
1210
@@ -189,6 +189,23 @@
1214
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1216
+ DEFINES["DISABLE_NACL"] = True
1217
+ DEFINES["NO_TCMALLOC"] = True
1218
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
1219
+ DEFINES["WEBRTC_HAS_NEON"] = True
1221
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1227
+ DEFINES["WEBRTC_ARCH_ARM"] = True
1228
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
1229
+ DEFINES["WEBRTC_HAS_NEON"] = True
1231
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
1234
--- a/media/webrtc/trunk/webrtc/modules/audio_coding/isac_fix_c_gn/moz.build
1235
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/isac_fix_c_gn/moz.build
1236
@@ -151,14 +151,6 @@
1241
- "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c"
1244
- UNIFIED_SOURCES += [
1245
- "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c"
1248
if CONFIG["OS_TARGET"] == "NetBSD":
1250
DEFINES["USE_X11"] = "1"
1251
@@ -250,6 +242,16 @@
1253
DEFINES["_FORTIFY_SOURCE"] = "2"
1255
+if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
1258
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c"
1261
+ UNIFIED_SOURCES += [
1262
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c"
1265
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
1267
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
1268
@@ -307,6 +309,56 @@
1272
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1274
+ DEFINES["DISABLE_NACL"] = True
1275
+ DEFINES["NO_TCMALLOC"] = True
1276
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
1277
+ DEFINES["WEBRTC_HAS_NEON"] = True
1280
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c"
1283
+ UNIFIED_SOURCES += [
1284
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c"
1287
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1293
+ DEFINES["WEBRTC_ARCH_ARM"] = True
1294
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
1295
+ DEFINES["WEBRTC_HAS_NEON"] = True
1298
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_armv7.S",
1299
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_armv6.S"
1302
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1305
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c"
1308
+ UNIFIED_SOURCES += [
1309
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c"
1312
+if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1315
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/pitch_filter_c.c"
1318
+ UNIFIED_SOURCES += [
1319
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/source/lattice_c.c"
1322
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
1325
--- a/media/webrtc/trunk/webrtc/modules/audio_coding/isac_fix_gn/moz.build
1326
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/isac_fix_gn/moz.build
1327
@@ -203,6 +203,23 @@
1331
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1333
+ DEFINES["DISABLE_NACL"] = True
1334
+ DEFINES["NO_TCMALLOC"] = True
1335
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
1336
+ DEFINES["WEBRTC_HAS_NEON"] = True
1338
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1344
+ DEFINES["WEBRTC_ARCH_ARM"] = True
1345
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
1346
+ DEFINES["WEBRTC_HAS_NEON"] = True
1348
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
1351
--- a/media/webrtc/trunk/webrtc/modules/audio_coding/isac_gn/moz.build
1352
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/isac_gn/moz.build
1353
@@ -201,6 +201,23 @@
1357
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1359
+ DEFINES["DISABLE_NACL"] = True
1360
+ DEFINES["NO_TCMALLOC"] = True
1361
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
1362
+ DEFINES["WEBRTC_HAS_NEON"] = True
1364
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1370
+ DEFINES["WEBRTC_ARCH_ARM"] = True
1371
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
1372
+ DEFINES["WEBRTC_HAS_NEON"] = True
1374
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
1377
--- a/media/webrtc/trunk/webrtc/modules/audio_coding/isac_neon_gn/moz.build
1378
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/isac_neon_gn/moz.build
1380
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
1381
DEFINES["NDEBUG"] = True
1382
DEFINES["NVALGRIND"] = True
1383
- DEFINES["_FORTIFY_SOURCE"] = "2"
1385
if CONFIG["MOZ_DEBUG"] == "1":
1388
DEFINES["WEBRTC_ARCH_ARM64"] = True
1389
DEFINES["WEBRTC_BSD"] = True
1391
+if CONFIG["OS_TARGET"] == "Linux":
1393
+ DEFINES["USE_NSS_CERTS"] = "1"
1394
+ DEFINES["USE_X11"] = "1"
1395
+ DEFINES["WEBRTC_LINUX"] = True
1401
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
1403
+ DEFINES["_FORTIFY_SOURCE"] = "2"
1405
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD":
1407
+ DEFINES["_FORTIFY_SOURCE"] = "2"
1409
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
1411
DEFINES["WEBRTC_ARCH_ARM64"] = True
1418
+ DEFINES["WEBRTC_ARCH_ARM"] = True
1419
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
1421
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1423
+ DEFINES["DISABLE_NACL"] = True
1424
+ DEFINES["NO_TCMALLOC"] = True
1425
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
1427
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1433
DEFINES["WEBRTC_ARCH_ARM"] = True
1434
--- a/media/webrtc/trunk/webrtc/modules/audio_coding/neteq_gn/moz.build
1435
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/neteq_gn/moz.build
1436
@@ -150,17 +150,11 @@
1438
DEFINES["USE_NSS_CERTS"] = "1"
1439
DEFINES["USE_X11"] = "1"
1440
- DEFINES["WEBRTC_CODEC_ISAC"] = True
1441
DEFINES["WEBRTC_LINUX"] = True
1442
DEFINES["WEBRTC_POSIX"] = True
1443
DEFINES["_FILE_OFFSET_BITS"] = "64"
1445
- LOCAL_INCLUDES += [
1446
- "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
1454
@@ -246,6 +240,18 @@
1456
DEFINES["_FORTIFY_SOURCE"] = "2"
1458
+if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
1460
+ DEFINES["WEBRTC_CODEC_ISAC"] = True
1462
+ LOCAL_INCLUDES += [
1463
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
1470
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
1472
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
1473
@@ -294,6 +300,57 @@
1477
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1479
+ DEFINES["DISABLE_NACL"] = True
1480
+ DEFINES["NO_TCMALLOC"] = True
1481
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
1482
+ DEFINES["WEBRTC_CODEC_ISAC"] = True
1483
+ DEFINES["WEBRTC_HAS_NEON"] = True
1485
+ LOCAL_INCLUDES += [
1486
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
1493
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1499
+ DEFINES["WEBRTC_ARCH_ARM"] = True
1500
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
1501
+ DEFINES["WEBRTC_CODEC_ISACFX"] = True
1502
+ DEFINES["WEBRTC_HAS_NEON"] = True
1504
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1506
+ DEFINES["WEBRTC_CODEC_ISAC"] = True
1508
+ LOCAL_INCLUDES += [
1509
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
1516
+if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1518
+ DEFINES["WEBRTC_CODEC_ISAC"] = True
1520
+ LOCAL_INCLUDES += [
1521
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
1528
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
1531
--- a/media/webrtc/trunk/webrtc/modules/audio_coding/pcm16b_c_gn/moz.build
1532
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/pcm16b_c_gn/moz.build
1533
@@ -186,6 +186,23 @@
1537
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1539
+ DEFINES["DISABLE_NACL"] = True
1540
+ DEFINES["NO_TCMALLOC"] = True
1541
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
1542
+ DEFINES["WEBRTC_HAS_NEON"] = True
1544
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1550
+ DEFINES["WEBRTC_ARCH_ARM"] = True
1551
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
1552
+ DEFINES["WEBRTC_HAS_NEON"] = True
1554
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
1557
--- a/media/webrtc/trunk/webrtc/modules/audio_coding/pcm16b_gn/moz.build
1558
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/pcm16b_gn/moz.build
1559
@@ -192,6 +192,23 @@
1563
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1565
+ DEFINES["DISABLE_NACL"] = True
1566
+ DEFINES["NO_TCMALLOC"] = True
1567
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
1568
+ DEFINES["WEBRTC_HAS_NEON"] = True
1570
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1576
+ DEFINES["WEBRTC_ARCH_ARM"] = True
1577
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
1578
+ DEFINES["WEBRTC_HAS_NEON"] = True
1580
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
1583
--- a/media/webrtc/trunk/webrtc/modules/audio_coding/rent_a_codec_gn/moz.build
1584
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/rent_a_codec_gn/moz.build
1585
@@ -110,12 +110,7 @@
1586
DEFINES["WEBRTC_POSIX"] = True
1587
DEFINES["_FILE_OFFSET_BITS"] = "64"
1589
- LOCAL_INCLUDES += [
1590
- "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
1598
@@ -198,6 +193,16 @@
1600
DEFINES["_FORTIFY_SOURCE"] = "2"
1602
+if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
1604
+ LOCAL_INCLUDES += [
1605
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
1612
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
1614
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
1615
@@ -246,6 +251,55 @@
1619
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1621
+ DEFINES["DISABLE_NACL"] = True
1622
+ DEFINES["NO_TCMALLOC"] = True
1623
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
1624
+ DEFINES["WEBRTC_HAS_NEON"] = True
1626
+ LOCAL_INCLUDES += [
1627
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
1634
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1640
+ DEFINES["WEBRTC_ARCH_ARM"] = True
1641
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
1642
+ DEFINES["WEBRTC_HAS_NEON"] = True
1644
+ LOCAL_INCLUDES += [
1645
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/fix/include/"
1648
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1650
+ LOCAL_INCLUDES += [
1651
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
1658
+if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1660
+ LOCAL_INCLUDES += [
1661
+ "/media/webrtc/trunk/webrtc/modules/audio_coding/codecs/isac/main/include/"
1668
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
1671
--- a/media/webrtc/trunk/webrtc/modules/audio_coding/webrtc_opus_c_gn/moz.build
1672
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/webrtc_opus_c_gn/moz.build
1673
@@ -190,6 +190,23 @@
1677
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1679
+ DEFINES["DISABLE_NACL"] = True
1680
+ DEFINES["NO_TCMALLOC"] = True
1681
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
1682
+ DEFINES["WEBRTC_HAS_NEON"] = True
1684
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1690
+ DEFINES["WEBRTC_ARCH_ARM"] = True
1691
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
1692
+ DEFINES["WEBRTC_HAS_NEON"] = True
1694
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
1697
--- a/media/webrtc/trunk/webrtc/modules/audio_coding/webrtc_opus_gn/moz.build
1698
+++ b/media/webrtc/trunk/webrtc/modules/audio_coding/webrtc_opus_gn/moz.build
1699
@@ -202,6 +202,23 @@
1703
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1705
+ DEFINES["DISABLE_NACL"] = True
1706
+ DEFINES["NO_TCMALLOC"] = True
1707
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
1708
+ DEFINES["WEBRTC_HAS_NEON"] = True
1710
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1716
+ DEFINES["WEBRTC_ARCH_ARM"] = True
1717
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
1718
+ DEFINES["WEBRTC_HAS_NEON"] = True
1720
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
1723
--- a/media/webrtc/trunk/webrtc/modules/audio_conference_mixer/audio_conference_mixer_gn/moz.build
1724
+++ b/media/webrtc/trunk/webrtc/modules/audio_conference_mixer/audio_conference_mixer_gn/moz.build
1725
@@ -202,6 +202,23 @@
1729
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1731
+ DEFINES["DISABLE_NACL"] = True
1732
+ DEFINES["NO_TCMALLOC"] = True
1733
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
1734
+ DEFINES["WEBRTC_HAS_NEON"] = True
1736
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1742
+ DEFINES["WEBRTC_ARCH_ARM"] = True
1743
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
1744
+ DEFINES["WEBRTC_HAS_NEON"] = True
1746
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
1749
--- a/media/webrtc/trunk/webrtc/modules/audio_device/audio_device_gn/moz.build
1750
+++ b/media/webrtc/trunk/webrtc/modules/audio_device/audio_device_gn/moz.build
1759
@@ -197,6 +196,12 @@
1761
DEFINES["_FORTIFY_SOURCE"] = "2"
1763
+if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
1769
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
1771
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
1772
@@ -233,6 +238,39 @@
1776
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1778
+ DEFINES["DISABLE_NACL"] = True
1779
+ DEFINES["NO_TCMALLOC"] = True
1780
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
1781
+ DEFINES["WEBRTC_HAS_NEON"] = True
1787
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1793
+ DEFINES["WEBRTC_ARCH_ARM"] = True
1794
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
1795
+ DEFINES["WEBRTC_HAS_NEON"] = True
1797
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1803
+if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1809
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
1812
--- a/media/webrtc/trunk/webrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build
1813
+++ b/media/webrtc/trunk/webrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build
1814
@@ -189,6 +189,23 @@
1818
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1820
+ DEFINES["DISABLE_NACL"] = True
1821
+ DEFINES["NO_TCMALLOC"] = True
1822
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
1823
+ DEFINES["WEBRTC_HAS_NEON"] = True
1825
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1831
+ DEFINES["WEBRTC_ARCH_ARM"] = True
1832
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
1833
+ DEFINES["WEBRTC_HAS_NEON"] = True
1835
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
1838
--- a/media/webrtc/trunk/webrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build
1839
+++ b/media/webrtc/trunk/webrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build
1840
@@ -199,6 +199,23 @@
1844
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1846
+ DEFINES["DISABLE_NACL"] = True
1847
+ DEFINES["NO_TCMALLOC"] = True
1848
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
1849
+ DEFINES["WEBRTC_HAS_NEON"] = True
1851
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1857
+ DEFINES["WEBRTC_ARCH_ARM"] = True
1858
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
1859
+ DEFINES["WEBRTC_HAS_NEON"] = True
1861
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
1864
--- a/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_c_gn/moz.build
1865
+++ b/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_c_gn/moz.build
1866
@@ -111,11 +111,6 @@
1870
- UNIFIED_SOURCES += [
1871
- "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c",
1872
- "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c"
1875
if CONFIG["OS_TARGET"] == "NetBSD":
1877
DEFINES["USE_X11"] = "1"
1878
@@ -198,6 +193,13 @@
1880
DEFINES["_FORTIFY_SOURCE"] = "2"
1882
+if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
1884
+ UNIFIED_SOURCES += [
1885
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c",
1886
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c"
1889
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
1891
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
1892
@@ -266,6 +268,49 @@
1894
UNIFIED_SOURCES += [
1895
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c",
1896
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c"
1899
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1901
+ DEFINES["DISABLE_NACL"] = True
1902
+ DEFINES["NO_TCMALLOC"] = True
1903
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
1904
+ DEFINES["WEBRTC_HAS_NEON"] = True
1906
+ UNIFIED_SOURCES += [
1907
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression_x.c",
1908
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core.c",
1909
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core_c.c"
1912
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1918
+ DEFINES["WEBRTC_ARCH_ARM"] = True
1919
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
1920
+ DEFINES["WEBRTC_HAS_NEON"] = True
1922
+ UNIFIED_SOURCES += [
1923
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression_x.c",
1924
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core.c",
1925
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/nsx_core_c.c"
1928
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1930
+ UNIFIED_SOURCES += [
1931
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c",
1932
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c"
1935
+if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1937
+ UNIFIED_SOURCES += [
1938
+ "/media/webrtc/trunk/webrtc/modules/audio_processing/ns/noise_suppression.c",
1939
"/media/webrtc/trunk/webrtc/modules/audio_processing/ns/ns_core.c"
1942
--- a/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_gn/moz.build
1943
+++ b/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_gn/moz.build
1945
DEFINES["USE_NSS_CERTS"] = "1"
1946
DEFINES["USE_X11"] = "1"
1947
DEFINES["WEBRTC_LINUX"] = True
1948
- DEFINES["WEBRTC_NS_FLOAT"] = True
1949
DEFINES["WEBRTC_POSIX"] = True
1950
DEFINES["_FILE_OFFSET_BITS"] = "64"
1952
@@ -244,6 +243,10 @@
1954
DEFINES["_FORTIFY_SOURCE"] = "2"
1956
+if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
1958
+ DEFINES["WEBRTC_NS_FLOAT"] = True
1960
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
1962
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
1963
@@ -291,6 +294,33 @@
1965
DEFINES["WEBRTC_NS_FLOAT"] = True
1967
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1969
+ DEFINES["DISABLE_NACL"] = True
1970
+ DEFINES["NO_TCMALLOC"] = True
1971
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
1972
+ DEFINES["WEBRTC_HAS_NEON"] = True
1973
+ DEFINES["WEBRTC_NS_FIXED"] = True
1975
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1981
+ DEFINES["WEBRTC_ARCH_ARM"] = True
1982
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
1983
+ DEFINES["WEBRTC_HAS_NEON"] = True
1984
+ DEFINES["WEBRTC_NS_FIXED"] = True
1986
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1988
+ DEFINES["WEBRTC_NS_FLOAT"] = True
1990
+if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
1992
+ DEFINES["WEBRTC_NS_FLOAT"] = True
1994
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
1997
--- a/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_c_gn/moz.build
1998
+++ b/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_c_gn/moz.build
2000
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
2001
DEFINES["NDEBUG"] = True
2002
DEFINES["NVALGRIND"] = True
2003
- DEFINES["_FORTIFY_SOURCE"] = "2"
2005
if CONFIG["MOZ_DEBUG"] == "1":
2008
DEFINES["WEBRTC_ARCH_ARM64"] = True
2009
DEFINES["WEBRTC_BSD"] = True
2011
+if CONFIG["OS_TARGET"] == "Linux":
2013
+ DEFINES["USE_NSS_CERTS"] = "1"
2014
+ DEFINES["USE_X11"] = "1"
2015
+ DEFINES["WEBRTC_LINUX"] = True
2021
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
2023
+ DEFINES["_FORTIFY_SOURCE"] = "2"
2025
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD":
2027
+ DEFINES["_FORTIFY_SOURCE"] = "2"
2029
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
2031
DEFINES["WEBRTC_ARCH_ARM64"] = True
2038
+ DEFINES["WEBRTC_ARCH_ARM"] = True
2039
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
2041
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2043
+ DEFINES["DISABLE_NACL"] = True
2044
+ DEFINES["NO_TCMALLOC"] = True
2045
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
2047
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2053
DEFINES["WEBRTC_ARCH_ARM"] = True
2054
--- a/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_gn/moz.build
2055
+++ b/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_neon_gn/moz.build
2057
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
2058
DEFINES["NDEBUG"] = True
2059
DEFINES["NVALGRIND"] = True
2060
- DEFINES["_FORTIFY_SOURCE"] = "2"
2062
if CONFIG["MOZ_DEBUG"] == "1":
2065
DEFINES["WEBRTC_ARCH_ARM64"] = True
2066
DEFINES["WEBRTC_BSD"] = True
2068
+if CONFIG["OS_TARGET"] == "Linux":
2070
+ DEFINES["USE_NSS_CERTS"] = "1"
2071
+ DEFINES["USE_X11"] = "1"
2072
+ DEFINES["WEBRTC_LINUX"] = True
2078
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
2080
+ DEFINES["_FORTIFY_SOURCE"] = "2"
2082
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD":
2084
+ DEFINES["_FORTIFY_SOURCE"] = "2"
2086
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
2088
DEFINES["WEBRTC_ARCH_ARM64"] = True
2095
+ DEFINES["WEBRTC_ARCH_ARM"] = True
2096
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
2098
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2100
+ DEFINES["DISABLE_NACL"] = True
2101
+ DEFINES["NO_TCMALLOC"] = True
2102
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
2104
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2110
DEFINES["WEBRTC_ARCH_ARM"] = True
2111
--- a/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn/moz.build
2112
+++ b/media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_sse2_gn/moz.build
2114
if CONFIG["OS_TARGET"] == "NetBSD":
2122
if CONFIG["OS_TARGET"] == "OpenBSD":
2129
--- a/media/webrtc/trunk/webrtc/modules/bitrate_controller/bitrate_controller_gn/moz.build
2130
+++ b/media/webrtc/trunk/webrtc/modules/bitrate_controller/bitrate_controller_gn/moz.build
2131
@@ -209,6 +209,23 @@
2135
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2137
+ DEFINES["DISABLE_NACL"] = True
2138
+ DEFINES["NO_TCMALLOC"] = True
2139
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
2140
+ DEFINES["WEBRTC_HAS_NEON"] = True
2142
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2148
+ DEFINES["WEBRTC_ARCH_ARM"] = True
2149
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
2150
+ DEFINES["WEBRTC_HAS_NEON"] = True
2152
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
2155
--- a/media/webrtc/trunk/webrtc/modules/congestion_controller/congestion_controller_gn/moz.build
2156
+++ b/media/webrtc/trunk/webrtc/modules/congestion_controller/congestion_controller_gn/moz.build
2158
DEFINES["_FILE_OFFSET_BITS"] = "64"
2165
@@ -183,6 +182,12 @@
2167
DEFINES["_FORTIFY_SOURCE"] = "2"
2169
+if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
2175
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
2177
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
2178
@@ -219,6 +224,39 @@
2182
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2184
+ DEFINES["DISABLE_NACL"] = True
2185
+ DEFINES["NO_TCMALLOC"] = True
2186
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
2187
+ DEFINES["WEBRTC_HAS_NEON"] = True
2193
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2199
+ DEFINES["WEBRTC_ARCH_ARM"] = True
2200
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
2201
+ DEFINES["WEBRTC_HAS_NEON"] = True
2203
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2209
+if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2215
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
2218
--- a/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build
2219
+++ b/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build
2221
if CONFIG["OS_TARGET"] == "NetBSD":
2229
if CONFIG["OS_TARGET"] == "OpenBSD":
2236
--- a/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn/moz.build
2237
+++ b/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_gn/moz.build
2238
@@ -337,6 +337,23 @@
2242
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2244
+ DEFINES["DISABLE_NACL"] = True
2245
+ DEFINES["NO_TCMALLOC"] = True
2246
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
2247
+ DEFINES["WEBRTC_HAS_NEON"] = True
2249
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2255
+ DEFINES["WEBRTC_ARCH_ARM"] = True
2256
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
2257
+ DEFINES["WEBRTC_HAS_NEON"] = True
2259
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
2262
--- a/media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn/moz.build
2263
+++ b/media/webrtc/trunk/webrtc/modules/desktop_capture/primitives_gn/moz.build
2264
@@ -149,6 +149,23 @@
2268
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2270
+ DEFINES["DISABLE_NACL"] = True
2271
+ DEFINES["NO_TCMALLOC"] = True
2272
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
2273
+ DEFINES["WEBRTC_HAS_NEON"] = True
2275
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2281
+ DEFINES["WEBRTC_ARCH_ARM"] = True
2282
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
2283
+ DEFINES["WEBRTC_HAS_NEON"] = True
2285
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
2288
--- a/media/webrtc/trunk/webrtc/modules/media_file/media_file_gn/moz.build
2289
+++ b/media/webrtc/trunk/webrtc/modules/media_file/media_file_gn/moz.build
2290
@@ -201,6 +201,23 @@
2294
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2296
+ DEFINES["DISABLE_NACL"] = True
2297
+ DEFINES["NO_TCMALLOC"] = True
2298
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
2299
+ DEFINES["WEBRTC_HAS_NEON"] = True
2301
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2307
+ DEFINES["WEBRTC_ARCH_ARM"] = True
2308
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
2309
+ DEFINES["WEBRTC_HAS_NEON"] = True
2311
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
2314
--- a/media/webrtc/trunk/webrtc/modules/pacing/pacing_gn/moz.build
2315
+++ b/media/webrtc/trunk/webrtc/modules/pacing/pacing_gn/moz.build
2316
@@ -210,6 +210,23 @@
2320
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2322
+ DEFINES["DISABLE_NACL"] = True
2323
+ DEFINES["NO_TCMALLOC"] = True
2324
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
2325
+ DEFINES["WEBRTC_HAS_NEON"] = True
2327
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2333
+ DEFINES["WEBRTC_ARCH_ARM"] = True
2334
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
2335
+ DEFINES["WEBRTC_HAS_NEON"] = True
2337
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
2340
--- a/media/webrtc/trunk/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build
2341
+++ b/media/webrtc/trunk/webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build
2342
@@ -209,6 +209,23 @@
2346
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2348
+ DEFINES["DISABLE_NACL"] = True
2349
+ DEFINES["NO_TCMALLOC"] = True
2350
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
2351
+ DEFINES["WEBRTC_HAS_NEON"] = True
2353
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2359
+ DEFINES["WEBRTC_ARCH_ARM"] = True
2360
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
2361
+ DEFINES["WEBRTC_HAS_NEON"] = True
2363
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
2366
--- a/media/webrtc/trunk/webrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
2367
+++ b/media/webrtc/trunk/webrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
2368
@@ -280,6 +280,23 @@
2372
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2374
+ DEFINES["DISABLE_NACL"] = True
2375
+ DEFINES["NO_TCMALLOC"] = True
2376
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
2377
+ DEFINES["WEBRTC_HAS_NEON"] = True
2379
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2385
+ DEFINES["WEBRTC_ARCH_ARM"] = True
2386
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
2387
+ DEFINES["WEBRTC_HAS_NEON"] = True
2389
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
2392
--- a/media/webrtc/trunk/webrtc/modules/utility/utility_gn/moz.build
2393
+++ b/media/webrtc/trunk/webrtc/modules/utility/utility_gn/moz.build
2395
DEFINES["_FILE_OFFSET_BITS"] = "64"
2402
@@ -178,6 +177,12 @@
2404
DEFINES["_FORTIFY_SOURCE"] = "2"
2406
+if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
2412
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
2414
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
2415
@@ -214,6 +219,39 @@
2419
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2421
+ DEFINES["DISABLE_NACL"] = True
2422
+ DEFINES["NO_TCMALLOC"] = True
2423
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
2424
+ DEFINES["WEBRTC_HAS_NEON"] = True
2430
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2436
+ DEFINES["WEBRTC_ARCH_ARM"] = True
2437
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
2438
+ DEFINES["WEBRTC_HAS_NEON"] = True
2440
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2446
+if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2452
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
2455
--- a/media/webrtc/trunk/webrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build
2456
+++ b/media/webrtc/trunk/webrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build
2458
DEFINES["_FILE_OFFSET_BITS"] = "64"
2465
@@ -232,6 +231,12 @@
2467
DEFINES["_FORTIFY_SOURCE"] = "2"
2469
+if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
2475
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
2477
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
2478
@@ -268,6 +273,39 @@
2482
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2484
+ DEFINES["DISABLE_NACL"] = True
2485
+ DEFINES["NO_TCMALLOC"] = True
2486
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
2487
+ DEFINES["WEBRTC_HAS_NEON"] = True
2493
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2499
+ DEFINES["WEBRTC_ARCH_ARM"] = True
2500
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
2501
+ DEFINES["WEBRTC_HAS_NEON"] = True
2503
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2509
+if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2515
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
2518
--- a/media/webrtc/trunk/webrtc/modules/video_capture/video_capture_module_gn/moz.build
2519
+++ b/media/webrtc/trunk/webrtc/modules/video_capture/video_capture_module_gn/moz.build
2521
DEFINES["_FILE_OFFSET_BITS"] = "64"
2528
@@ -176,6 +175,12 @@
2530
DEFINES["_FORTIFY_SOURCE"] = "2"
2532
+if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
2538
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
2540
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
2541
@@ -212,6 +217,39 @@
2545
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2547
+ DEFINES["DISABLE_NACL"] = True
2548
+ DEFINES["NO_TCMALLOC"] = True
2549
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
2550
+ DEFINES["WEBRTC_HAS_NEON"] = True
2556
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2562
+ DEFINES["WEBRTC_ARCH_ARM"] = True
2563
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
2564
+ DEFINES["WEBRTC_HAS_NEON"] = True
2566
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2572
+if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2578
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
2581
--- a/media/webrtc/trunk/webrtc/modules/video_coding/video_coding_gn/moz.build
2582
+++ b/media/webrtc/trunk/webrtc/modules/video_coding/video_coding_gn/moz.build
2584
DEFINES["_FILE_OFFSET_BITS"] = "64"
2591
@@ -204,6 +203,12 @@
2593
DEFINES["_FORTIFY_SOURCE"] = "2"
2595
+if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
2601
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
2603
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
2604
@@ -240,6 +245,39 @@
2608
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2610
+ DEFINES["DISABLE_NACL"] = True
2611
+ DEFINES["NO_TCMALLOC"] = True
2612
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
2613
+ DEFINES["WEBRTC_HAS_NEON"] = True
2619
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2625
+ DEFINES["WEBRTC_ARCH_ARM"] = True
2626
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
2627
+ DEFINES["WEBRTC_HAS_NEON"] = True
2629
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2635
+if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2641
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
2644
--- a/media/webrtc/trunk/webrtc/modules/video_coding/video_coding_utility_gn/moz.build
2645
+++ b/media/webrtc/trunk/webrtc/modules/video_coding/video_coding_utility_gn/moz.build
2646
@@ -216,6 +216,23 @@
2650
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2652
+ DEFINES["DISABLE_NACL"] = True
2653
+ DEFINES["NO_TCMALLOC"] = True
2654
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
2655
+ DEFINES["WEBRTC_HAS_NEON"] = True
2657
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2663
+ DEFINES["WEBRTC_ARCH_ARM"] = True
2664
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
2665
+ DEFINES["WEBRTC_HAS_NEON"] = True
2667
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
2670
--- a/media/webrtc/trunk/webrtc/modules/video_coding/webrtc_h264_gn/moz.build
2671
+++ b/media/webrtc/trunk/webrtc/modules/video_coding/webrtc_h264_gn/moz.build
2672
@@ -207,6 +207,23 @@
2676
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2678
+ DEFINES["DISABLE_NACL"] = True
2679
+ DEFINES["NO_TCMALLOC"] = True
2680
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
2681
+ DEFINES["WEBRTC_HAS_NEON"] = True
2683
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2689
+ DEFINES["WEBRTC_ARCH_ARM"] = True
2690
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
2691
+ DEFINES["WEBRTC_HAS_NEON"] = True
2693
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
2696
--- a/media/webrtc/trunk/webrtc/modules/video_coding/webrtc_i420_gn/moz.build
2697
+++ b/media/webrtc/trunk/webrtc/modules/video_coding/webrtc_i420_gn/moz.build
2698
@@ -209,6 +209,23 @@
2702
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2704
+ DEFINES["DISABLE_NACL"] = True
2705
+ DEFINES["NO_TCMALLOC"] = True
2706
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
2707
+ DEFINES["WEBRTC_HAS_NEON"] = True
2709
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2715
+ DEFINES["WEBRTC_ARCH_ARM"] = True
2716
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
2717
+ DEFINES["WEBRTC_HAS_NEON"] = True
2719
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
2722
--- a/media/webrtc/trunk/webrtc/modules/video_coding/webrtc_vp8_gn/moz.build
2723
+++ b/media/webrtc/trunk/webrtc/modules/video_coding/webrtc_vp8_gn/moz.build
2724
@@ -215,6 +215,23 @@
2728
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2730
+ DEFINES["DISABLE_NACL"] = True
2731
+ DEFINES["NO_TCMALLOC"] = True
2732
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
2733
+ DEFINES["WEBRTC_HAS_NEON"] = True
2735
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2741
+ DEFINES["WEBRTC_ARCH_ARM"] = True
2742
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
2743
+ DEFINES["WEBRTC_HAS_NEON"] = True
2745
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
2748
--- a/media/webrtc/trunk/webrtc/modules/video_coding/webrtc_vp9_gn/moz.build
2749
+++ b/media/webrtc/trunk/webrtc/modules/video_coding/webrtc_vp9_gn/moz.build
2750
@@ -211,6 +211,23 @@
2754
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2756
+ DEFINES["DISABLE_NACL"] = True
2757
+ DEFINES["NO_TCMALLOC"] = True
2758
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
2759
+ DEFINES["WEBRTC_HAS_NEON"] = True
2761
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2767
+ DEFINES["WEBRTC_ARCH_ARM"] = True
2768
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
2769
+ DEFINES["WEBRTC_HAS_NEON"] = True
2771
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
2774
--- a/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_gn/moz.build
2775
+++ b/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_gn/moz.build
2777
DEFINES["_FILE_OFFSET_BITS"] = "64"
2784
@@ -182,6 +181,12 @@
2786
DEFINES["_FORTIFY_SOURCE"] = "2"
2788
+if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
2794
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
2796
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
2797
@@ -218,6 +223,39 @@
2801
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2803
+ DEFINES["DISABLE_NACL"] = True
2804
+ DEFINES["NO_TCMALLOC"] = True
2805
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
2806
+ DEFINES["WEBRTC_HAS_NEON"] = True
2812
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2818
+ DEFINES["WEBRTC_ARCH_ARM"] = True
2819
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
2820
+ DEFINES["WEBRTC_HAS_NEON"] = True
2822
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2828
+if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2834
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
2837
--- a/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_neon_gn/moz.build
2838
+++ b/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_neon_gn/moz.build
2840
DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
2841
DEFINES["NDEBUG"] = True
2842
DEFINES["NVALGRIND"] = True
2843
- DEFINES["_FORTIFY_SOURCE"] = "2"
2845
if CONFIG["MOZ_DEBUG"] == "1":
2848
DEFINES["WEBRTC_ARCH_ARM64"] = True
2849
DEFINES["WEBRTC_BSD"] = True
2851
+if CONFIG["OS_TARGET"] == "Linux":
2853
+ DEFINES["USE_NSS_CERTS"] = "1"
2854
+ DEFINES["USE_X11"] = "1"
2855
+ DEFINES["WEBRTC_LINUX"] = True
2857
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
2859
+ DEFINES["_FORTIFY_SOURCE"] = "2"
2861
+if not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "FreeBSD":
2863
+ DEFINES["_FORTIFY_SOURCE"] = "2"
2865
if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Android":
2867
DEFINES["WEBRTC_ARCH_ARM64"] = True
2874
+ DEFINES["WEBRTC_ARCH_ARM"] = True
2875
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
2877
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2879
+ DEFINES["DISABLE_NACL"] = True
2880
+ DEFINES["NO_TCMALLOC"] = True
2881
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
2883
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2889
DEFINES["WEBRTC_ARCH_ARM"] = True
2890
--- a/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn/moz.build
2891
+++ b/media/webrtc/trunk/webrtc/modules/video_processing/video_processing_sse2_gn/moz.build
2893
if CONFIG["OS_TARGET"] == "NetBSD":
2901
if CONFIG["OS_TARGET"] == "OpenBSD":
2908
--- a/media/webrtc/trunk/webrtc/system_wrappers/field_trial_default_gn/moz.build
2909
+++ b/media/webrtc/trunk/webrtc/system_wrappers/field_trial_default_gn/moz.build
2910
@@ -185,6 +185,23 @@
2914
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2916
+ DEFINES["DISABLE_NACL"] = True
2917
+ DEFINES["NO_TCMALLOC"] = True
2918
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
2919
+ DEFINES["WEBRTC_HAS_NEON"] = True
2921
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2927
+ DEFINES["WEBRTC_ARCH_ARM"] = True
2928
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
2929
+ DEFINES["WEBRTC_HAS_NEON"] = True
2931
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
2934
--- a/media/webrtc/trunk/webrtc/system_wrappers/metrics_default_gn/moz.build
2935
+++ b/media/webrtc/trunk/webrtc/system_wrappers/metrics_default_gn/moz.build
2936
@@ -185,6 +185,23 @@
2940
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2942
+ DEFINES["DISABLE_NACL"] = True
2943
+ DEFINES["NO_TCMALLOC"] = True
2944
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
2945
+ DEFINES["WEBRTC_HAS_NEON"] = True
2947
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2953
+ DEFINES["WEBRTC_ARCH_ARM"] = True
2954
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
2955
+ DEFINES["WEBRTC_HAS_NEON"] = True
2957
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
2960
--- a/media/webrtc/trunk/webrtc/system_wrappers/system_wrappers_gn/moz.build
2961
+++ b/media/webrtc/trunk/webrtc/system_wrappers/system_wrappers_gn/moz.build
2962
@@ -280,6 +280,23 @@
2966
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2968
+ DEFINES["DISABLE_NACL"] = True
2969
+ DEFINES["NO_TCMALLOC"] = True
2970
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
2971
+ DEFINES["WEBRTC_HAS_NEON"] = True
2973
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2979
+ DEFINES["WEBRTC_ARCH_ARM"] = True
2980
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
2981
+ DEFINES["WEBRTC_HAS_NEON"] = True
2983
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
2986
--- a/media/webrtc/trunk/webrtc/video/video_gn/moz.build
2987
+++ b/media/webrtc/trunk/webrtc/video/video_gn/moz.build
2988
@@ -233,6 +233,23 @@
2992
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
2994
+ DEFINES["DISABLE_NACL"] = True
2995
+ DEFINES["NO_TCMALLOC"] = True
2996
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
2997
+ DEFINES["WEBRTC_HAS_NEON"] = True
2999
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
3005
+ DEFINES["WEBRTC_ARCH_ARM"] = True
3006
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
3007
+ DEFINES["WEBRTC_HAS_NEON"] = True
3009
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
3012
--- a/media/webrtc/trunk/webrtc/video_engine/video_engine_gn/moz.build
3013
+++ b/media/webrtc/trunk/webrtc/video_engine/video_engine_gn/moz.build
3014
@@ -145,6 +145,23 @@
3018
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
3020
+ DEFINES["DISABLE_NACL"] = True
3021
+ DEFINES["NO_TCMALLOC"] = True
3022
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
3023
+ DEFINES["WEBRTC_HAS_NEON"] = True
3025
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
3031
+ DEFINES["WEBRTC_ARCH_ARM"] = True
3032
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
3033
+ DEFINES["WEBRTC_HAS_NEON"] = True
3035
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
3038
--- a/media/webrtc/trunk/webrtc/voice_engine/audio_coder_gn/moz.build
3039
+++ b/media/webrtc/trunk/webrtc/voice_engine/audio_coder_gn/moz.build
3041
DEFINES["_FILE_OFFSET_BITS"] = "64"
3048
@@ -164,6 +163,12 @@
3050
DEFINES["_FORTIFY_SOURCE"] = "2"
3052
+if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
3058
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
3060
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
3061
@@ -200,6 +205,39 @@
3065
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
3067
+ DEFINES["DISABLE_NACL"] = True
3068
+ DEFINES["NO_TCMALLOC"] = True
3069
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
3070
+ DEFINES["WEBRTC_HAS_NEON"] = True
3076
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
3082
+ DEFINES["WEBRTC_ARCH_ARM"] = True
3083
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
3084
+ DEFINES["WEBRTC_HAS_NEON"] = True
3086
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
3092
+if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
3098
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
3101
--- a/media/webrtc/trunk/webrtc/voice_engine/file_player_gn/moz.build
3102
+++ b/media/webrtc/trunk/webrtc/voice_engine/file_player_gn/moz.build
3104
DEFINES["_FILE_OFFSET_BITS"] = "64"
3111
@@ -165,6 +164,12 @@
3113
DEFINES["_FORTIFY_SOURCE"] = "2"
3115
+if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
3121
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
3123
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
3124
@@ -201,6 +206,39 @@
3128
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
3130
+ DEFINES["DISABLE_NACL"] = True
3131
+ DEFINES["NO_TCMALLOC"] = True
3132
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
3133
+ DEFINES["WEBRTC_HAS_NEON"] = True
3139
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
3145
+ DEFINES["WEBRTC_ARCH_ARM"] = True
3146
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
3147
+ DEFINES["WEBRTC_HAS_NEON"] = True
3149
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
3155
+if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
3161
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
3164
--- a/media/webrtc/trunk/webrtc/voice_engine/file_recorder_gn/moz.build
3165
+++ b/media/webrtc/trunk/webrtc/voice_engine/file_recorder_gn/moz.build
3167
DEFINES["_FILE_OFFSET_BITS"] = "64"
3174
@@ -165,6 +164,12 @@
3176
DEFINES["_FORTIFY_SOURCE"] = "2"
3178
+if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux":
3184
if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT":
3186
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
3187
@@ -201,6 +206,39 @@
3191
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
3193
+ DEFINES["DISABLE_NACL"] = True
3194
+ DEFINES["NO_TCMALLOC"] = True
3195
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
3196
+ DEFINES["WEBRTC_HAS_NEON"] = True
3202
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
3208
+ DEFINES["WEBRTC_ARCH_ARM"] = True
3209
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
3210
+ DEFINES["WEBRTC_HAS_NEON"] = True
3212
+if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
3218
+if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["HOST_CPU_ARCH"] == "x86_64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
3224
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
3227
--- a/media/webrtc/trunk/webrtc/voice_engine/level_indicator_gn/moz.build
3228
+++ b/media/webrtc/trunk/webrtc/voice_engine/level_indicator_gn/moz.build
3229
@@ -200,6 +200,23 @@
3233
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
3235
+ DEFINES["DISABLE_NACL"] = True
3236
+ DEFINES["NO_TCMALLOC"] = True
3237
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
3238
+ DEFINES["WEBRTC_HAS_NEON"] = True
3240
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
3246
+ DEFINES["WEBRTC_ARCH_ARM"] = True
3247
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
3248
+ DEFINES["WEBRTC_HAS_NEON"] = True
3250
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
3253
--- a/media/webrtc/trunk/webrtc/voice_engine/voice_engine_gn/moz.build
3254
+++ b/media/webrtc/trunk/webrtc/voice_engine/voice_engine_gn/moz.build
3255
@@ -239,6 +239,23 @@
3259
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
3261
+ DEFINES["DISABLE_NACL"] = True
3262
+ DEFINES["NO_TCMALLOC"] = True
3263
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
3264
+ DEFINES["WEBRTC_HAS_NEON"] = True
3266
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
3272
+ DEFINES["WEBRTC_ARCH_ARM"] = True
3273
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
3274
+ DEFINES["WEBRTC_HAS_NEON"] = True
3276
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
3279
--- a/media/webrtc/trunk/webrtc/webrtc_common_gn/moz.build
3280
+++ b/media/webrtc/trunk/webrtc/webrtc_common_gn/moz.build
3281
@@ -186,6 +186,23 @@
3285
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
3287
+ DEFINES["DISABLE_NACL"] = True
3288
+ DEFINES["NO_TCMALLOC"] = True
3289
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
3290
+ DEFINES["WEBRTC_HAS_NEON"] = True
3292
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
3298
+ DEFINES["WEBRTC_ARCH_ARM"] = True
3299
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
3300
+ DEFINES["WEBRTC_HAS_NEON"] = True
3302
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":
3305
--- a/media/webrtc/trunk/webrtc/webrtc_gn/moz.build
3306
+++ b/media/webrtc/trunk/webrtc/webrtc_gn/moz.build
3307
@@ -290,6 +290,23 @@
3311
+if CONFIG["CPU_ARCH"] == "aarch64" and CONFIG["HOST_CPU_ARCH"] == "aarch64" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
3313
+ DEFINES["DISABLE_NACL"] = True
3314
+ DEFINES["NO_TCMALLOC"] = True
3315
+ DEFINES["WEBRTC_ARCH_ARM64"] = True
3316
+ DEFINES["WEBRTC_HAS_NEON"] = True
3318
+if CONFIG["CPU_ARCH"] == "arm" and CONFIG["HOST_CPU_ARCH"] == "arm" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "Linux":
3324
+ DEFINES["WEBRTC_ARCH_ARM"] = True
3325
+ DEFINES["WEBRTC_ARCH_ARM_V7"] = True
3326
+ DEFINES["WEBRTC_HAS_NEON"] = True
3328
if CONFIG["CPU_ARCH"] == "x86" and CONFIG["HOST_CPU_ARCH"] == "x86" and not CONFIG["MOZ_DEBUG"] and CONFIG["OS_TARGET"] == "NetBSD":