diff options
| author | Christoph Moench-Tegeder <cmt@FreeBSD.org> | 2026-08-18 18:37:07 +0000 |
|---|---|---|
| committer | Christoph Moench-Tegeder <cmt@FreeBSD.org> | 2026-08-18 18:39:28 +0000 |
| commit | 801de7e73d6dd36beae84f992309c353ff1f0935 (patch) | |
| tree | d220d8befd97c0dcc4f575512e21fa7d2086fe87 | |
| parent | 0ad72042dadca9988eb250c45bd6236900849e33 (diff) | |
mail/thunderbird: update to 154.0
Release Notes:
https://www.thunderbird.net/en-US/thunderbird/154.0/releasenotes/
(cherry picked from commit ba9dcf0f43e0dd30c8c4aa1758a422f6e2497c74)
9 files changed, 3937 insertions, 1103 deletions
diff --git a/mail/thunderbird/Makefile b/mail/thunderbird/Makefile index ccd7dc0e08a6..b263ca1b4a2c 100644 --- a/mail/thunderbird/Makefile +++ b/mail/thunderbird/Makefile @@ -1,8 +1,8 @@ PORTNAME= thunderbird -DISTVERSION= 153.0.3 +DISTVERSION= 154.0 CATEGORIES= mail news net-im wayland MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}${DISTVERSIONSUFFIX}/source \ - MOZILLA/${PORTNAME}/candidates/${DISTVERSION}${DISTVERSIONSUFFIX}-candidates/build1/source + MOZILLA/${PORTNAME}/candidates/${DISTVERSION}${DISTVERSIONSUFFIX}-candidates/build2/source DISTFILES= ${DISTNAME}.source${EXTRACT_SUFX} MAINTAINER= gecko@FreeBSD.org @@ -13,7 +13,7 @@ NOT_FOR_ARCHS= i386 NOT_FOR_ARCHS_REASON= fails to build: rust needs more address space than platform can provide BUILD_DEPENDS= nspr>=4.32:devel/nspr \ - nss>=3.125:security/nss \ + nss>=3.126:security/nss \ libevent>=2.1.8:devel/libevent \ harfbuzz>=10.1.0:print/harfbuzz \ graphite2>=1.3.14:graphics/graphite2 \ diff --git a/mail/thunderbird/distinfo b/mail/thunderbird/distinfo index 4d858d812be9..21b9a775c6a3 100644 --- a/mail/thunderbird/distinfo +++ b/mail/thunderbird/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1786464832 -SHA256 (thunderbird-153.0.3.source.tar.xz) = facfc70f1210dc6e51bef3a1dc6c5f41178cb41ee5e7713d04506b37428d2376 -SIZE (thunderbird-153.0.3.source.tar.xz) = 939109308 +TIMESTAMP = 1787070088 +SHA256 (thunderbird-154.0.source.tar.xz) = d22a5f24549a95ca1e729fbff3e24376b1d2e7eca4a66ba46e20e4e54c54b894 +SIZE (thunderbird-154.0.source.tar.xz) = 950250240 diff --git a/mail/thunderbird/files/patch-libwebrtc-generated b/mail/thunderbird/files/patch-libwebrtc-generated index e4db36d2ca60..3fb6a095d87a 100644 --- a/mail/thunderbird/files/patch-libwebrtc-generated +++ b/mail/thunderbird/files/patch-libwebrtc-generated @@ -1,7 +1,7 @@ -commit aff9c9149a23dfc8998b7259d90d58ce61387b53 +commit 498955fd2a30ded11bc7f8645ff40160ba0db492 Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> - regenerate FreeBSD libwebrtc patch for gecko 153 + regenerate FreeBSD libwebrtc patch for gecko 154 diff --git third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build index 2060d5597a7c..643ec6ab666e 100644 @@ -595,7 +595,7 @@ index 7d4403b9f470..3fae035ac130 100644 Library("aec3_config_gn") diff --git third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build -index f2410c579108..9f40b3130715 100644 +index 841ed69395e4..9f40b3130715 100644 --- third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build +++ third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build @@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -622,7 +622,7 @@ index f2410c579108..9f40b3130715 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -652,6 +652,10 @@ index f2410c579108..9f40b3130715 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -717,7 +721,7 @@ index f2410c579108..9f40b3130715 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -986,7 +990,7 @@ index 689735dfd716..c2caf57806a2 100644 - Library("audio_device_gn") diff --git third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build -index 47bef217f34a..a667f5680b09 100644 +index 10da326d3878..a667f5680b09 100644 --- third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build +++ third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -1012,7 +1016,7 @@ index 47bef217f34a..a667f5680b09 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -1042,6 +1046,10 @@ index 47bef217f34a..a667f5680b09 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -1107,7 +1115,7 @@ index 47bef217f34a..a667f5680b09 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -1372,7 +1380,7 @@ index 75e25f0f79b9..a6a6475a8dde 100644 - Library("audio_frame_processor_gn") diff --git third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build -index d364656f24b7..db4addb9a16b 100644 +index b36dd2d3864a..db4addb9a16b 100644 --- third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build +++ third_party/libwebrtc/api/audio/audio_mixer_api_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -1398,7 +1406,7 @@ index d364656f24b7..db4addb9a16b 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -1428,6 +1436,10 @@ index d364656f24b7..db4addb9a16b 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -1493,7 +1505,7 @@ index d364656f24b7..db4addb9a16b 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -1519,7 +1531,7 @@ index d364656f24b7..db4addb9a16b 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -1561,7 +1573,7 @@ index d364656f24b7..db4addb9a16b 100644 - Library("audio_mixer_api_gn") diff --git third_party/libwebrtc/api/audio/audio_processing_gn/moz.build third_party/libwebrtc/api/audio/audio_processing_gn/moz.build -index ecf7bc9ff780..27e1beddf05b 100644 +index 33c054c6e223..27e1beddf05b 100644 --- third_party/libwebrtc/api/audio/audio_processing_gn/moz.build +++ third_party/libwebrtc/api/audio/audio_processing_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -1587,7 +1599,7 @@ index ecf7bc9ff780..27e1beddf05b 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -1617,6 +1629,10 @@ index ecf7bc9ff780..27e1beddf05b 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -1682,7 +1698,7 @@ index ecf7bc9ff780..27e1beddf05b 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -1966,7 +1982,7 @@ index 4a58ec994f57..0be09edb1e1d 100644 Library("audio_processing_statistics_gn") diff --git third_party/libwebrtc/api/audio/builtin_audio_processing_builder_gn/moz.build third_party/libwebrtc/api/audio/builtin_audio_processing_builder_gn/moz.build -index 30a844e48445..eae022665150 100644 +index da0237f2cff9..eae022665150 100644 --- third_party/libwebrtc/api/audio/builtin_audio_processing_builder_gn/moz.build +++ third_party/libwebrtc/api/audio/builtin_audio_processing_builder_gn/moz.build @@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -1993,7 +2009,7 @@ index 30a844e48445..eae022665150 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -2023,6 +2039,10 @@ index 30a844e48445..eae022665150 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -2088,7 +2108,7 @@ index 30a844e48445..eae022665150 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -2175,7 +2195,7 @@ index 30a844e48445..eae022665150 100644 Library("builtin_audio_processing_builder_gn") diff --git third_party/libwebrtc/api/audio/echo_control_gn/moz.build third_party/libwebrtc/api/audio/echo_control_gn/moz.build -index 08b4401c5e8b..fea70be82808 100644 +index 48f181cc532d..fea70be82808 100644 --- third_party/libwebrtc/api/audio/echo_control_gn/moz.build +++ third_party/libwebrtc/api/audio/echo_control_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -2201,7 +2221,7 @@ index 08b4401c5e8b..fea70be82808 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -2231,6 +2251,10 @@ index 08b4401c5e8b..fea70be82808 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -2296,7 +2320,7 @@ index 08b4401c5e8b..fea70be82808 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -2322,7 +2346,7 @@ index 08b4401c5e8b..fea70be82808 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -2546,7 +2570,7 @@ index 3f62db23e546..18442ad6cea6 100644 - Library("neural_residual_echo_estimator_api_gn") diff --git third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build -index 69145ce4726a..716411cfd1a5 100644 +index f77495e56819..716411cfd1a5 100644 --- third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build +++ third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -2572,7 +2596,7 @@ index 69145ce4726a..716411cfd1a5 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -2602,6 +2626,10 @@ index 69145ce4726a..716411cfd1a5 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -2667,7 +2695,7 @@ index 69145ce4726a..716411cfd1a5 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -2754,7 +2782,7 @@ index 69145ce4726a..716411cfd1a5 100644 Library("audio_decoder_L16_gn") diff --git third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build -index f64811e0248f..29125da9e946 100644 +index 12be3d059cf6..29125da9e946 100644 --- third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build +++ third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -2780,7 +2808,7 @@ index f64811e0248f..29125da9e946 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -2810,6 +2838,10 @@ index f64811e0248f..29125da9e946 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -2875,7 +2907,7 @@ index f64811e0248f..29125da9e946 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -2962,7 +2994,7 @@ index f64811e0248f..29125da9e946 100644 Library("audio_encoder_L16_gn") diff --git third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build -index d73085a74ca0..f70750a258de 100644 +index 149c102cc10f..f70750a258de 100644 --- third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build +++ third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -2988,7 +3020,7 @@ index d73085a74ca0..f70750a258de 100644 FINAL_LIBRARY = "xul" -@@ -50,93 +59,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -50,97 +59,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -3018,6 +3050,10 @@ index d73085a74ca0..f70750a258de 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -3083,7 +3119,7 @@ index d73085a74ca0..f70750a258de 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -144,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -148,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -3170,7 +3206,7 @@ index d73085a74ca0..f70750a258de 100644 Library("audio_codecs_api_gn") diff --git third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build -index eccd2393cb40..da2090513221 100644 +index 3564ca129736..da2090513221 100644 --- third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build +++ third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build @@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -3197,7 +3233,7 @@ index eccd2393cb40..da2090513221 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -3227,6 +3263,10 @@ index eccd2393cb40..da2090513221 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -3292,7 +3332,7 @@ index eccd2393cb40..da2090513221 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -3379,7 +3419,7 @@ index eccd2393cb40..da2090513221 100644 Library("builtin_audio_decoder_factory_gn") diff --git third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build -index 1364bb4a47ad..4f0cd8b699a6 100644 +index 4530c4c070a9..4f0cd8b699a6 100644 --- third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build +++ third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build @@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -3406,7 +3446,7 @@ index 1364bb4a47ad..4f0cd8b699a6 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -3436,6 +3476,10 @@ index 1364bb4a47ad..4f0cd8b699a6 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -3501,7 +3545,7 @@ index 1364bb4a47ad..4f0cd8b699a6 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -3588,7 +3632,7 @@ index 1364bb4a47ad..4f0cd8b699a6 100644 Library("builtin_audio_encoder_factory_gn") diff --git third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build -index 21cc5d768839..c98066c812a3 100644 +index dcfda170bc39..c98066c812a3 100644 --- third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build +++ third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -3614,7 +3658,7 @@ index 21cc5d768839..c98066c812a3 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -3644,6 +3688,10 @@ index 21cc5d768839..c98066c812a3 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -3709,7 +3757,7 @@ index 21cc5d768839..c98066c812a3 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -3796,7 +3844,7 @@ index 21cc5d768839..c98066c812a3 100644 Library("audio_decoder_g711_gn") diff --git third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build -index cc8a3d132ed3..92e7158725f0 100644 +index db67ad97eef6..92e7158725f0 100644 --- third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build +++ third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -3822,7 +3870,7 @@ index cc8a3d132ed3..92e7158725f0 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -3852,6 +3900,10 @@ index cc8a3d132ed3..92e7158725f0 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -3917,7 +3969,7 @@ index cc8a3d132ed3..92e7158725f0 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -4004,7 +4056,7 @@ index cc8a3d132ed3..92e7158725f0 100644 Library("audio_encoder_g711_gn") diff --git third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build -index a6cb370b8d59..516eb6d242a7 100644 +index 2054e8c733d3..516eb6d242a7 100644 --- third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build +++ third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -4030,7 +4082,7 @@ index a6cb370b8d59..516eb6d242a7 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -4060,6 +4112,10 @@ index a6cb370b8d59..516eb6d242a7 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -4125,7 +4181,7 @@ index a6cb370b8d59..516eb6d242a7 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -4212,7 +4268,7 @@ index a6cb370b8d59..516eb6d242a7 100644 Library("audio_decoder_g722_gn") diff --git third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build -index 1d7de1636708..1dd246e914f8 100644 +index 29a471fce61c..1dd246e914f8 100644 --- third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build +++ third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_config_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -4238,7 +4294,7 @@ index 1d7de1636708..1dd246e914f8 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -4268,6 +4324,10 @@ index 1d7de1636708..1dd246e914f8 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -4333,7 +4393,7 @@ index 1d7de1636708..1dd246e914f8 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -4359,7 +4419,7 @@ index 1d7de1636708..1dd246e914f8 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -4401,7 +4461,7 @@ index 1d7de1636708..1dd246e914f8 100644 - Library("audio_encoder_g722_config_gn") diff --git third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build -index 623ca9c714d5..ab9575507585 100644 +index 3f647da270f7..ab9575507585 100644 --- third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build +++ third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -4427,7 +4487,7 @@ index 623ca9c714d5..ab9575507585 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -4457,6 +4517,10 @@ index 623ca9c714d5..ab9575507585 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -4522,7 +4586,7 @@ index 623ca9c714d5..ab9575507585 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -4609,7 +4673,7 @@ index 623ca9c714d5..ab9575507585 100644 Library("audio_encoder_g722_gn") diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build -index 7874b5b1199f..952f3aa2bb3b 100644 +index 9a3ba46cf20f..952f3aa2bb3b 100644 --- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build +++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -4635,7 +4699,7 @@ index 7874b5b1199f..952f3aa2bb3b 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -4665,6 +4729,10 @@ index 7874b5b1199f..952f3aa2bb3b 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -4730,7 +4798,7 @@ index 7874b5b1199f..952f3aa2bb3b 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -4817,7 +4885,7 @@ index 7874b5b1199f..952f3aa2bb3b 100644 Library("audio_decoder_multiopus_gn") diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build -index 361718958bc9..7e91efc5ed29 100644 +index 996a59483e5a..7e91efc5ed29 100644 --- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build +++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_config_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -4843,7 +4911,7 @@ index 361718958bc9..7e91efc5ed29 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -4873,6 +4941,10 @@ index 361718958bc9..7e91efc5ed29 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -4938,7 +5010,7 @@ index 361718958bc9..7e91efc5ed29 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -4964,7 +5036,7 @@ index 361718958bc9..7e91efc5ed29 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -5006,7 +5078,7 @@ index 361718958bc9..7e91efc5ed29 100644 - Library("audio_decoder_opus_config_gn") diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build -index dd0659cba348..3e5a0909d0ac 100644 +index 1259cb173394..3e5a0909d0ac 100644 --- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build +++ third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -5032,7 +5104,7 @@ index dd0659cba348..3e5a0909d0ac 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -5062,6 +5134,10 @@ index dd0659cba348..3e5a0909d0ac 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -5127,7 +5203,7 @@ index dd0659cba348..3e5a0909d0ac 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -5214,7 +5290,7 @@ index dd0659cba348..3e5a0909d0ac 100644 Library("audio_decoder_opus_gn") diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build -index b2e8a02739e0..ad7c8bd5e504 100644 +index ed9be65df005..ad7c8bd5e504 100644 --- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build +++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -5240,7 +5316,7 @@ index b2e8a02739e0..ad7c8bd5e504 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -5270,6 +5346,10 @@ index b2e8a02739e0..ad7c8bd5e504 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -5335,7 +5415,7 @@ index b2e8a02739e0..ad7c8bd5e504 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -5422,7 +5502,7 @@ index b2e8a02739e0..ad7c8bd5e504 100644 Library("audio_encoder_multiopus_gn") diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build -index 2c29ff9b1090..fd3ec3705c0d 100644 +index fbed8ffcb94f..fd3ec3705c0d 100644 --- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build +++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build @@ -13,6 +13,9 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -5449,7 +5529,7 @@ index 2c29ff9b1090..fd3ec3705c0d 100644 FINAL_LIBRARY = "xul" -@@ -52,93 +61,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -52,97 +61,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -5479,6 +5559,10 @@ index 2c29ff9b1090..fd3ec3705c0d 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -5544,7 +5628,7 @@ index 2c29ff9b1090..fd3ec3705c0d 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -146,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -150,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -5631,7 +5715,7 @@ index 2c29ff9b1090..fd3ec3705c0d 100644 Library("audio_encoder_opus_config_gn") diff --git third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build -index 37de69236176..25d6958ead45 100644 +index 4d79733c5dd2..25d6958ead45 100644 --- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build +++ third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -5657,7 +5741,7 @@ index 37de69236176..25d6958ead45 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -5687,6 +5771,10 @@ index 37de69236176..25d6958ead45 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -5752,7 +5840,7 @@ index 37de69236176..25d6958ead45 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -5839,7 +5927,7 @@ index 37de69236176..25d6958ead45 100644 Library("audio_encoder_opus_gn") diff --git third_party/libwebrtc/api/audio_codecs/opus_audio_decoder_factory_gn/moz.build third_party/libwebrtc/api/audio_codecs/opus_audio_decoder_factory_gn/moz.build -index 54d69d1dd616..891b009d67e3 100644 +index 68f3e38e4be7..891b009d67e3 100644 --- third_party/libwebrtc/api/audio_codecs/opus_audio_decoder_factory_gn/moz.build +++ third_party/libwebrtc/api/audio_codecs/opus_audio_decoder_factory_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -5865,7 +5953,7 @@ index 54d69d1dd616..891b009d67e3 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -5895,6 +5983,10 @@ index 54d69d1dd616..891b009d67e3 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -5960,7 +6052,7 @@ index 54d69d1dd616..891b009d67e3 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -6608,7 +6700,7 @@ index 6a5e7f057123..962378b8c697 100644 - Library("call_api_gn") diff --git third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build -index 64d18eda3d58..9fe6e00d6c7b 100644 +index 665d7ad8243e..9fe6e00d6c7b 100644 --- third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build +++ third_party/libwebrtc/api/crypto/frame_decryptor_interface_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -6634,7 +6726,7 @@ index 64d18eda3d58..9fe6e00d6c7b 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -6664,6 +6756,10 @@ index 64d18eda3d58..9fe6e00d6c7b 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -6729,7 +6825,7 @@ index 64d18eda3d58..9fe6e00d6c7b 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -6755,7 +6851,7 @@ index 64d18eda3d58..9fe6e00d6c7b 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -6797,7 +6893,7 @@ index 64d18eda3d58..9fe6e00d6c7b 100644 - Library("frame_decryptor_interface_gn") diff --git third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build -index 3260f6c6345d..9d9deac6ffe7 100644 +index e5075eee9790..9d9deac6ffe7 100644 --- third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build +++ third_party/libwebrtc/api/crypto/frame_encryptor_interface_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -6823,7 +6919,7 @@ index 3260f6c6345d..9d9deac6ffe7 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -6853,6 +6949,10 @@ index 3260f6c6345d..9d9deac6ffe7 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -6918,7 +7018,7 @@ index 3260f6c6345d..9d9deac6ffe7 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -6944,7 +7044,7 @@ index 3260f6c6345d..9d9deac6ffe7 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -7187,7 +7287,7 @@ index f02798ffaba3..66dd512d8263 100644 Library("options_gn") diff --git third_party/libwebrtc/api/environment/deprecated_global_field_trials_gn/moz.build third_party/libwebrtc/api/environment/deprecated_global_field_trials_gn/moz.build -index 0c91aaa67d0c..5712e8195c9f 100644 +index 47869693de8d..5712e8195c9f 100644 --- third_party/libwebrtc/api/environment/deprecated_global_field_trials_gn/moz.build +++ third_party/libwebrtc/api/environment/deprecated_global_field_trials_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -7213,7 +7313,7 @@ index 0c91aaa67d0c..5712e8195c9f 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -7243,6 +7343,10 @@ index 0c91aaa67d0c..5712e8195c9f 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -7308,7 +7412,7 @@ index 0c91aaa67d0c..5712e8195c9f 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -7395,7 +7499,7 @@ index 0c91aaa67d0c..5712e8195c9f 100644 Library("deprecated_global_field_trials_gn") diff --git third_party/libwebrtc/api/environment/environment_factory_gn/moz.build third_party/libwebrtc/api/environment/environment_factory_gn/moz.build -index 37091ec4b18f..ccece70d1526 100644 +index 36313bcc7302..ccece70d1526 100644 --- third_party/libwebrtc/api/environment/environment_factory_gn/moz.build +++ third_party/libwebrtc/api/environment/environment_factory_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -7421,7 +7525,7 @@ index 37091ec4b18f..ccece70d1526 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -7451,6 +7555,10 @@ index 37091ec4b18f..ccece70d1526 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -7516,7 +7624,7 @@ index 37091ec4b18f..ccece70d1526 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -7603,7 +7711,7 @@ index 37091ec4b18f..ccece70d1526 100644 Library("environment_factory_gn") diff --git third_party/libwebrtc/api/environment/environment_gn/moz.build third_party/libwebrtc/api/environment/environment_gn/moz.build -index bc6655ed6409..6508431472e4 100644 +index 70aaae2e960f..6508431472e4 100644 --- third_party/libwebrtc/api/environment/environment_gn/moz.build +++ third_party/libwebrtc/api/environment/environment_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -7629,7 +7737,7 @@ index bc6655ed6409..6508431472e4 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -7659,6 +7767,10 @@ index bc6655ed6409..6508431472e4 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -7724,7 +7836,7 @@ index bc6655ed6409..6508431472e4 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -7750,7 +7862,7 @@ index bc6655ed6409..6508431472e4 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -7792,7 +7904,7 @@ index bc6655ed6409..6508431472e4 100644 - Library("environment_gn") diff --git third_party/libwebrtc/api/fec_controller_api_gn/moz.build third_party/libwebrtc/api/fec_controller_api_gn/moz.build -index 757d55a51df5..346b236d1bba 100644 +index 013d894843ba..346b236d1bba 100644 --- third_party/libwebrtc/api/fec_controller_api_gn/moz.build +++ third_party/libwebrtc/api/fec_controller_api_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -7818,7 +7930,7 @@ index 757d55a51df5..346b236d1bba 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -7848,6 +7960,10 @@ index 757d55a51df5..346b236d1bba 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -7913,7 +8029,7 @@ index 757d55a51df5..346b236d1bba 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -7939,7 +8055,7 @@ index 757d55a51df5..346b236d1bba 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -7981,7 +8097,7 @@ index 757d55a51df5..346b236d1bba 100644 - Library("fec_controller_api_gn") diff --git third_party/libwebrtc/api/field_trials_registry_gn/moz.build third_party/libwebrtc/api/field_trials_registry_gn/moz.build -index 975a91f3e78e..36ab4bca6297 100644 +index 278f59afacc9..36ab4bca6297 100644 --- third_party/libwebrtc/api/field_trials_registry_gn/moz.build +++ third_party/libwebrtc/api/field_trials_registry_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -8007,7 +8123,7 @@ index 975a91f3e78e..36ab4bca6297 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -8037,6 +8153,10 @@ index 975a91f3e78e..36ab4bca6297 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -8102,7 +8222,7 @@ index 975a91f3e78e..36ab4bca6297 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -8371,7 +8491,7 @@ index 02b38330e521..07dd49ed9bb6 100644 - Library("field_trials_view_gn") diff --git third_party/libwebrtc/api/frame_transformer_factory_gn/moz.build third_party/libwebrtc/api/frame_transformer_factory_gn/moz.build -index 1b180f02953d..edf25d2bb3f8 100644 +index 0b6843ff9cb5..edf25d2bb3f8 100644 --- third_party/libwebrtc/api/frame_transformer_factory_gn/moz.build +++ third_party/libwebrtc/api/frame_transformer_factory_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -8397,7 +8517,7 @@ index 1b180f02953d..edf25d2bb3f8 100644 FINAL_LIBRARY = "xul" -@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,98 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -8428,6 +8548,10 @@ index 1b180f02953d..edf25d2bb3f8 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -8493,7 +8617,7 @@ index 1b180f02953d..edf25d2bb3f8 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -8580,7 +8704,7 @@ index 1b180f02953d..edf25d2bb3f8 100644 Library("frame_transformer_factory_gn") diff --git third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build -index d3197a27b332..228d8df3fe02 100644 +index d6eb140e5cc5..228d8df3fe02 100644 --- third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build +++ third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -8606,7 +8730,7 @@ index d3197a27b332..228d8df3fe02 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -8636,6 +8760,10 @@ index d3197a27b332..228d8df3fe02 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -8701,7 +8829,7 @@ index d3197a27b332..228d8df3fe02 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -9326,7 +9454,7 @@ index 5b2d7a8ee436..139137d0a292 100644 - Library("location_gn") diff --git third_party/libwebrtc/api/make_ref_counted_gn/moz.build third_party/libwebrtc/api/make_ref_counted_gn/moz.build -index bd6da35be447..dbed6cd91d1f 100644 +index 89d4c0884105..dbed6cd91d1f 100644 --- third_party/libwebrtc/api/make_ref_counted_gn/moz.build +++ third_party/libwebrtc/api/make_ref_counted_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -9352,7 +9480,7 @@ index bd6da35be447..dbed6cd91d1f 100644 FINAL_LIBRARY = "xul" -@@ -43,82 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,86 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -9371,6 +9499,10 @@ index bd6da35be447..dbed6cd91d1f 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "log" +- ] +- -if CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["WEBRTC_MAC"] = True @@ -9436,7 +9568,7 @@ index bd6da35be447..dbed6cd91d1f 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -126,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -130,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -9462,7 +9594,7 @@ index bd6da35be447..dbed6cd91d1f 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -154,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -158,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -9504,7 +9636,7 @@ index bd6da35be447..dbed6cd91d1f 100644 - Library("make_ref_counted_gn") diff --git third_party/libwebrtc/api/media_stream_interface_gn/moz.build third_party/libwebrtc/api/media_stream_interface_gn/moz.build -index a9bb935bcffe..a58fec2d4900 100644 +index fc467b3bb630..a58fec2d4900 100644 --- third_party/libwebrtc/api/media_stream_interface_gn/moz.build +++ third_party/libwebrtc/api/media_stream_interface_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -9530,7 +9662,7 @@ index a9bb935bcffe..a58fec2d4900 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -9560,6 +9692,10 @@ index a9bb935bcffe..a58fec2d4900 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -9625,7 +9761,7 @@ index a9bb935bcffe..a58fec2d4900 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -9894,7 +10030,7 @@ index 5011c068c3d1..f65c5739d78c 100644 - Library("metronome_gn") diff --git third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build -index 882e94d3201c..a3d2d5d756f6 100644 +index 2def3c3419f4..a3d2d5d756f6 100644 --- third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build +++ third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -9920,7 +10056,7 @@ index 882e94d3201c..a3d2d5d756f6 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -9950,6 +10086,10 @@ index 882e94d3201c..a3d2d5d756f6 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -10015,7 +10155,7 @@ index 882e94d3201c..a3d2d5d756f6 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -10102,7 +10242,7 @@ index 882e94d3201c..a3d2d5d756f6 100644 Library("default_neteq_controller_factory_gn") diff --git third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build -index 0ab6795dd97d..2944b668d6e8 100644 +index 95566a08d573..2944b668d6e8 100644 --- third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build +++ third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -10128,7 +10268,7 @@ index 0ab6795dd97d..2944b668d6e8 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -10158,6 +10298,10 @@ index 0ab6795dd97d..2944b668d6e8 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -10223,7 +10367,7 @@ index 0ab6795dd97d..2944b668d6e8 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -10310,7 +10454,7 @@ index 0ab6795dd97d..2944b668d6e8 100644 Library("default_neteq_factory_gn") diff --git third_party/libwebrtc/api/neteq/delay_manager_api_gn/moz.build third_party/libwebrtc/api/neteq/delay_manager_api_gn/moz.build -index 3751cd638cf1..c145915fa20b 100644 +index 8929724b71c1..c145915fa20b 100644 --- third_party/libwebrtc/api/neteq/delay_manager_api_gn/moz.build +++ third_party/libwebrtc/api/neteq/delay_manager_api_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -10336,7 +10480,7 @@ index 3751cd638cf1..c145915fa20b 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -10366,6 +10510,10 @@ index 3751cd638cf1..c145915fa20b 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -10431,7 +10579,7 @@ index 3751cd638cf1..c145915fa20b 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -10457,7 +10605,7 @@ index 3751cd638cf1..c145915fa20b 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -10499,7 +10647,7 @@ index 3751cd638cf1..c145915fa20b 100644 - Library("delay_manager_api_gn") diff --git third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build -index 01017fe90069..43080532d098 100644 +index 8a4c62e9a274..43080532d098 100644 --- third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build +++ third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -10525,7 +10673,7 @@ index 01017fe90069..43080532d098 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -10555,6 +10703,10 @@ index 01017fe90069..43080532d098 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -10620,7 +10772,7 @@ index 01017fe90069..43080532d098 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -10707,7 +10859,7 @@ index 01017fe90069..43080532d098 100644 Library("neteq_api_gn") diff --git third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build -index 80d4674a80cb..0fa0de1fb3da 100644 +index 2f221083c284..0fa0de1fb3da 100644 --- third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build +++ third_party/libwebrtc/api/neteq/neteq_controller_api_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -10733,7 +10885,7 @@ index 80d4674a80cb..0fa0de1fb3da 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -10763,6 +10915,10 @@ index 80d4674a80cb..0fa0de1fb3da 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -10828,7 +10984,7 @@ index 80d4674a80cb..0fa0de1fb3da 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -10854,7 +11010,7 @@ index 80d4674a80cb..0fa0de1fb3da 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -11832,7 +11988,7 @@ index f074f1b21caa..3e22d0ac4650 100644 - Library("ref_count_gn") diff --git third_party/libwebrtc/api/refcountedbase_gn/moz.build third_party/libwebrtc/api/refcountedbase_gn/moz.build -index 9c7cdeead932..892e8767180a 100644 +index 1610ca9f043e..892e8767180a 100644 --- third_party/libwebrtc/api/refcountedbase_gn/moz.build +++ third_party/libwebrtc/api/refcountedbase_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -11858,7 +12014,7 @@ index 9c7cdeead932..892e8767180a 100644 FINAL_LIBRARY = "xul" -@@ -43,82 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,86 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -11877,6 +12033,10 @@ index 9c7cdeead932..892e8767180a 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "log" +- ] +- -if CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["WEBRTC_MAC"] = True @@ -11942,7 +12102,7 @@ index 9c7cdeead932..892e8767180a 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -126,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -130,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -11968,7 +12128,7 @@ index 9c7cdeead932..892e8767180a 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -154,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -158,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -12010,7 +12170,7 @@ index 9c7cdeead932..892e8767180a 100644 - Library("refcountedbase_gn") diff --git third_party/libwebrtc/api/rtc_error_gn/moz.build third_party/libwebrtc/api/rtc_error_gn/moz.build -index f54c71c3bbc4..bdad7f5031fe 100644 +index 42957ca215f1..bdad7f5031fe 100644 --- third_party/libwebrtc/api/rtc_error_gn/moz.build +++ third_party/libwebrtc/api/rtc_error_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -12036,7 +12196,7 @@ index f54c71c3bbc4..bdad7f5031fe 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -12066,6 +12226,10 @@ index f54c71c3bbc4..bdad7f5031fe 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -12131,7 +12295,7 @@ index f54c71c3bbc4..bdad7f5031fe 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -12418,8 +12582,190 @@ index 0cef03bc3187..1377e3a7fb4b 100644 + DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("rtc_event_log_gn") +diff --git third_party/libwebrtc/api/rtp_header_extension_id_gn/moz.build third_party/libwebrtc/api/rtp_header_extension_id_gn/moz.build +index 6b4b00559f74..cfd1cb45bfbc 100644 +--- third_party/libwebrtc/api/rtp_header_extension_id_gn/moz.build ++++ third_party/libwebrtc/api/rtp_header_extension_id_gn/moz.build +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" + DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" + DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True + DEFINES["RTC_ENABLE_VP9"] = True ++DEFINES["USE_GLIB"] = "1" ++DEFINES["USE_OZONE"] = "1" ++DEFINES["WEBRTC_BSD"] = True + DEFINES["WEBRTC_DEPRECATE_PLAN_B"] = True + DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" + DEFINES["WEBRTC_ENCODER_PSNR_STATS"] = True + DEFINES["WEBRTC_LIBRARY_IMPL"] = True + DEFINES["WEBRTC_MOZILLA_BUILD"] = True + DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" ++DEFINES["WEBRTC_POSIX"] = True + DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" ++DEFINES["_FILE_OFFSET_BITS"] = "64" ++DEFINES["_LARGEFILE64_SOURCE"] = True ++DEFINES["_LARGEFILE_SOURCE"] = True ++DEFINES["__STDC_CONSTANT_MACROS"] = True ++DEFINES["__STDC_FORMAT_MACROS"] = True + + FINAL_LIBRARY = "xul" + +@@ -43,86 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: + if CONFIG["MOZ_DEBUG"] == "1": + + DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" +- +-if CONFIG["OS_TARGET"] == "Android": +- +- DEFINES["ANDROID"] = True +- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" +- DEFINES["HAVE_SYS_UIO_H"] = True +- DEFINES["WEBRTC_ANDROID"] = True +- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True +- DEFINES["WEBRTC_LINUX"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["_GNU_SOURCE"] = True +- DEFINES["__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +- OS_LIBS += [ +- "log" +- ] +- +-if CONFIG["OS_TARGET"] == "Darwin": +- +- DEFINES["WEBRTC_MAC"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +-if CONFIG["OS_TARGET"] == "Linux": +- +- DEFINES["USE_AURA"] = "1" +- DEFINES["USE_GLIB"] = "1" +- DEFINES["USE_OZONE"] = "1" +- DEFINES["USE_UDEV"] = True +- DEFINES["WEBRTC_LINUX"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["_FILE_OFFSET_BITS"] = "64" +- DEFINES["_LARGEFILE64_SOURCE"] = True +- DEFINES["_LARGEFILE_SOURCE"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +-if CONFIG["OS_TARGET"] == "OpenBSD": +- +- DEFINES["USE_GLIB"] = "1" +- DEFINES["USE_OZONE"] = "1" +- DEFINES["WEBRTC_BSD"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["_FILE_OFFSET_BITS"] = "64" +- DEFINES["_LARGEFILE64_SOURCE"] = True +- DEFINES["_LARGEFILE_SOURCE"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +-if CONFIG["OS_TARGET"] == "WINNT": +- +- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True +- DEFINES["NOMINMAX"] = True +- DEFINES["NTDDI_VERSION"] = "0x0A000000" +- DEFINES["PSAPI_VERSION"] = "2" +- DEFINES["RTC_ENABLE_WIN_WGC"] = True +- DEFINES["UNICODE"] = True +- DEFINES["USE_AURA"] = "1" +- DEFINES["WEBRTC_WIN"] = True +- DEFINES["WIN32"] = True +- DEFINES["WIN32_LEAN_AND_MEAN"] = True +- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" +- DEFINES["WINVER"] = "0x0A00" +- DEFINES["_ATL_NO_OPENGL"] = True +- DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True +- DEFINES["_CRT_RAND_S"] = True +- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True +- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True +- DEFINES["_HAS_EXCEPTIONS"] = "0" +- DEFINES["_HAS_NODISCARD"] = True +- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True +- DEFINES["_SECURE_ATL"] = True +- DEFINES["_UNICODE"] = True +- DEFINES["_WIN32_WINNT"] = "0x0A00" +- DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True +- DEFINES["__STD_C"] = True ++ DEFINES["_DEBUG"] = True + + if CONFIG["TARGET_CPU"] == "aarch64": + +@@ -130,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": + DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" + +-if CONFIG["TARGET_CPU"] == "arm": +- +- DEFINES["WEBRTC_ARCH_ARM"] = True +- DEFINES["WEBRTC_ARCH_ARM_V7"] = True +- DEFINES["WEBRTC_HAS_NEON"] = True +- +-if CONFIG["TARGET_CPU"] == "loongarch64": +- +- DEFINES["_GNU_SOURCE"] = True +- + if CONFIG["TARGET_CPU"] == "mips32": + + DEFINES["MIPS32_LE"] = True + DEFINES["MIPS_FPU_LE"] = True +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["TARGET_CPU"] == "mips64": +- +- DEFINES["_GNU_SOURCE"] = True + + if CONFIG["TARGET_CPU"] == "x86": + +@@ -158,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": + + DEFINES["WEBRTC_ENABLE_AVX2"] = True + +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": +- +- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": +- +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": +- +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": +- +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": +- +- DEFINES["_GNU_SOURCE"] = True +- + Library("rtp_header_extension_id_gn") diff --git third_party/libwebrtc/api/rtp_headers_gn/moz.build third_party/libwebrtc/api/rtp_headers_gn/moz.build -index 11a775e82c3d..6486829cd820 100644 +index 97746fc5d0a5..6486829cd820 100644 --- third_party/libwebrtc/api/rtp_headers_gn/moz.build +++ third_party/libwebrtc/api/rtp_headers_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -12445,7 +12791,7 @@ index 11a775e82c3d..6486829cd820 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -12475,6 +12821,10 @@ index 11a775e82c3d..6486829cd820 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -12540,7 +12890,7 @@ index 11a775e82c3d..6486829cd820 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -12627,7 +12977,7 @@ index 11a775e82c3d..6486829cd820 100644 Library("rtp_headers_gn") diff --git third_party/libwebrtc/api/rtp_packet_info_gn/moz.build third_party/libwebrtc/api/rtp_packet_info_gn/moz.build -index 0ae3507f2cb1..c958898e8793 100644 +index d8c0a8063347..c958898e8793 100644 --- third_party/libwebrtc/api/rtp_packet_info_gn/moz.build +++ third_party/libwebrtc/api/rtp_packet_info_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -12653,7 +13003,7 @@ index 0ae3507f2cb1..c958898e8793 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -12683,6 +13033,10 @@ index 0ae3507f2cb1..c958898e8793 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -12748,7 +13102,7 @@ index 0ae3507f2cb1..c958898e8793 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -13013,7 +13367,7 @@ index 8633affac768..33cf529037bf 100644 - Library("rtp_packet_sender_gn") diff --git third_party/libwebrtc/api/rtp_parameters_gn/moz.build third_party/libwebrtc/api/rtp_parameters_gn/moz.build -index 77147103940a..7ecd88710970 100644 +index 369d3381d247..7ecd88710970 100644 --- third_party/libwebrtc/api/rtp_parameters_gn/moz.build +++ third_party/libwebrtc/api/rtp_parameters_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -13039,7 +13393,7 @@ index 77147103940a..7ecd88710970 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -13069,6 +13423,10 @@ index 77147103940a..7ecd88710970 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -13134,7 +13492,7 @@ index 77147103940a..7ecd88710970 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -13399,7 +13757,7 @@ index f0edbf322769..b120b4bb3ae7 100644 - Library("rtp_sender_interface_gn") diff --git third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build -index 3c9c3dead49c..c2b7a4d94d6b 100644 +index b94d917597b4..c2b7a4d94d6b 100644 --- third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build +++ third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -13425,7 +13783,7 @@ index 3c9c3dead49c..c2b7a4d94d6b 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -13455,6 +13813,10 @@ index 3c9c3dead49c..c2b7a4d94d6b 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -13520,7 +13882,7 @@ index 3c9c3dead49c..c2b7a4d94d6b 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -15278,7 +15640,7 @@ index b067d9cb78c0..e7e6447577b6 100644 Library("bitrate_settings_gn") diff --git third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build -index 45e86a5de77e..71ad670256bb 100644 +index c1f7cb790641..71ad670256bb 100644 --- third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build +++ third_party/libwebrtc/api/transport/datagram_transport_interface_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -15304,7 +15666,7 @@ index 45e86a5de77e..71ad670256bb 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -15334,6 +15696,10 @@ index 45e86a5de77e..71ad670256bb 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -15399,7 +15765,7 @@ index 45e86a5de77e..71ad670256bb 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -15425,7 +15791,7 @@ index 45e86a5de77e..71ad670256bb 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -15645,7 +16011,7 @@ index 1817ad3dee5d..0664b6a30b2d 100644 - Library("ecn_marking_gn") diff --git third_party/libwebrtc/api/transport/goog_cc_gn/moz.build third_party/libwebrtc/api/transport/goog_cc_gn/moz.build -index cf04bc39c36c..1a7f06e80251 100644 +index f0390ba17f84..1a7f06e80251 100644 --- third_party/libwebrtc/api/transport/goog_cc_gn/moz.build +++ third_party/libwebrtc/api/transport/goog_cc_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -15671,7 +16037,7 @@ index cf04bc39c36c..1a7f06e80251 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -15701,6 +16067,10 @@ index cf04bc39c36c..1a7f06e80251 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -15766,7 +16136,7 @@ index cf04bc39c36c..1a7f06e80251 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -15853,7 +16223,7 @@ index cf04bc39c36c..1a7f06e80251 100644 Library("goog_cc_gn") diff --git third_party/libwebrtc/api/transport/network_control_gn/moz.build third_party/libwebrtc/api/transport/network_control_gn/moz.build -index 47194f0c32dd..92726f79e8b9 100644 +index be2c800dd897..92726f79e8b9 100644 --- third_party/libwebrtc/api/transport/network_control_gn/moz.build +++ third_party/libwebrtc/api/transport/network_control_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -15879,7 +16249,7 @@ index 47194f0c32dd..92726f79e8b9 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -15909,6 +16279,10 @@ index 47194f0c32dd..92726f79e8b9 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -15974,7 +16348,7 @@ index 47194f0c32dd..92726f79e8b9 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -16463,7 +16837,7 @@ index fa798e5aa891..4b51d07bb431 100644 Library("dependency_descriptor_gn") diff --git third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build -index 779196b8a434..ae1e889f8f52 100644 +index 64d602759b1a..ae1e889f8f52 100644 --- third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build +++ third_party/libwebrtc/api/transport/rtp/rtp_source_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -16489,7 +16863,7 @@ index 779196b8a434..ae1e889f8f52 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -16519,6 +16893,10 @@ index 779196b8a434..ae1e889f8f52 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -16584,7 +16962,7 @@ index 779196b8a434..ae1e889f8f52 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -16610,7 +16988,7 @@ index 779196b8a434..ae1e889f8f52 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -18032,7 +18410,7 @@ index f8af308dd848..19d4a00c9a8a 100644 Library("timestamp_gn") diff --git third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build -index 785e473e7464..4ddc0e58c0d5 100644 +index eeb7e7bdb2cd..4ddc0e58c0d5 100644 --- third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build +++ third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -18058,7 +18436,7 @@ index 785e473e7464..4ddc0e58c0d5 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -18088,6 +18466,10 @@ index 785e473e7464..4ddc0e58c0d5 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -18153,7 +18535,7 @@ index 785e473e7464..4ddc0e58c0d5 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -18816,7 +19198,7 @@ index bab94871f8e3..3e490c0856f6 100644 Library("frame_instrumentation_data_gn") diff --git third_party/libwebrtc/api/video/corruption_detection/frame_instrumentation_data_reader_gn/moz.build third_party/libwebrtc/api/video/corruption_detection/frame_instrumentation_data_reader_gn/moz.build -index 4519d584e947..1873d1639ca9 100644 +index 41fef9317929..1873d1639ca9 100644 --- third_party/libwebrtc/api/video/corruption_detection/frame_instrumentation_data_reader_gn/moz.build +++ third_party/libwebrtc/api/video/corruption_detection/frame_instrumentation_data_reader_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -18842,7 +19224,7 @@ index 4519d584e947..1873d1639ca9 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -18872,6 +19254,10 @@ index 4519d584e947..1873d1639ca9 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -18937,7 +19323,7 @@ index 4519d584e947..1873d1639ca9 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -19024,7 +19410,7 @@ index 4519d584e947..1873d1639ca9 100644 Library("frame_instrumentation_data_reader_gn") diff --git third_party/libwebrtc/api/video/corruption_detection/frame_instrumentation_evaluation_gn/moz.build third_party/libwebrtc/api/video/corruption_detection/frame_instrumentation_evaluation_gn/moz.build -index 68fc563966c7..b716dca500b7 100644 +index 8869e1eec7b8..b716dca500b7 100644 --- third_party/libwebrtc/api/video/corruption_detection/frame_instrumentation_evaluation_gn/moz.build +++ third_party/libwebrtc/api/video/corruption_detection/frame_instrumentation_evaluation_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -19050,7 +19436,7 @@ index 68fc563966c7..b716dca500b7 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -19080,6 +19466,10 @@ index 68fc563966c7..b716dca500b7 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -19145,7 +19535,7 @@ index 68fc563966c7..b716dca500b7 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -19232,7 +19622,7 @@ index 68fc563966c7..b716dca500b7 100644 Library("frame_instrumentation_evaluation_gn") diff --git third_party/libwebrtc/api/video/corruption_detection/frame_instrumentation_generator_factory_gn/moz.build third_party/libwebrtc/api/video/corruption_detection/frame_instrumentation_generator_factory_gn/moz.build -index f248509640b2..1166b2275b13 100644 +index 5873a0227af6..1166b2275b13 100644 --- third_party/libwebrtc/api/video/corruption_detection/frame_instrumentation_generator_factory_gn/moz.build +++ third_party/libwebrtc/api/video/corruption_detection/frame_instrumentation_generator_factory_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -19258,7 +19648,7 @@ index f248509640b2..1166b2275b13 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -19288,6 +19678,10 @@ index f248509640b2..1166b2275b13 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -19353,7 +19747,7 @@ index f248509640b2..1166b2275b13 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -19440,7 +19834,7 @@ index f248509640b2..1166b2275b13 100644 Library("frame_instrumentation_generator_factory_gn") diff --git third_party/libwebrtc/api/video/corruption_detection/frame_instrumentation_generator_header_gn/moz.build third_party/libwebrtc/api/video/corruption_detection/frame_instrumentation_generator_header_gn/moz.build -index ef2171a2698c..d24980f1e6fe 100644 +index 84fbfda0340f..d24980f1e6fe 100644 --- third_party/libwebrtc/api/video/corruption_detection/frame_instrumentation_generator_header_gn/moz.build +++ third_party/libwebrtc/api/video/corruption_detection/frame_instrumentation_generator_header_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -19466,7 +19860,7 @@ index ef2171a2698c..d24980f1e6fe 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -19496,6 +19890,10 @@ index ef2171a2698c..d24980f1e6fe 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -19561,7 +19959,7 @@ index ef2171a2698c..d24980f1e6fe 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -19587,7 +19985,7 @@ index ef2171a2698c..d24980f1e6fe 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -19629,7 +20027,7 @@ index ef2171a2698c..d24980f1e6fe 100644 - Library("frame_instrumentation_generator_header_gn") diff --git third_party/libwebrtc/api/video/encoded_frame_gn/moz.build third_party/libwebrtc/api/video/encoded_frame_gn/moz.build -index aad431de5d96..e307b40e233e 100644 +index 3ccf776f0b0f..e307b40e233e 100644 --- third_party/libwebrtc/api/video/encoded_frame_gn/moz.build +++ third_party/libwebrtc/api/video/encoded_frame_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -19655,7 +20053,7 @@ index aad431de5d96..e307b40e233e 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -19685,6 +20083,10 @@ index aad431de5d96..e307b40e233e 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -19750,7 +20152,7 @@ index aad431de5d96..e307b40e233e 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -19837,7 +20239,7 @@ index aad431de5d96..e307b40e233e 100644 Library("encoded_frame_gn") diff --git third_party/libwebrtc/api/video/encoded_image_gn/moz.build third_party/libwebrtc/api/video/encoded_image_gn/moz.build -index 8b9dabd83253..83176a3e528a 100644 +index e1c3deca9278..83176a3e528a 100644 --- third_party/libwebrtc/api/video/encoded_image_gn/moz.build +++ third_party/libwebrtc/api/video/encoded_image_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -19863,7 +20265,7 @@ index 8b9dabd83253..83176a3e528a 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -19893,6 +20295,10 @@ index 8b9dabd83253..83176a3e528a 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -19958,7 +20364,7 @@ index 8b9dabd83253..83176a3e528a 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -20045,7 +20451,7 @@ index 8b9dabd83253..83176a3e528a 100644 Library("encoded_image_gn") diff --git third_party/libwebrtc/api/video/frame_buffer_gn/moz.build third_party/libwebrtc/api/video/frame_buffer_gn/moz.build -index c3b30a2203e2..f7d2dc335f54 100644 +index fcc9446fe9e6..f7d2dc335f54 100644 --- third_party/libwebrtc/api/video/frame_buffer_gn/moz.build +++ third_party/libwebrtc/api/video/frame_buffer_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -20071,7 +20477,7 @@ index c3b30a2203e2..f7d2dc335f54 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -20101,6 +20507,10 @@ index c3b30a2203e2..f7d2dc335f54 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -20166,7 +20576,7 @@ index c3b30a2203e2..f7d2dc335f54 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -20253,7 +20663,7 @@ index c3b30a2203e2..f7d2dc335f54 100644 Library("frame_buffer_gn") diff --git third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build -index a716132b70bd..1dd4e8356149 100644 +index 71e9e75741d2..1dd4e8356149 100644 --- third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build +++ third_party/libwebrtc/api/video/recordable_encoded_frame_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -20279,7 +20689,7 @@ index a716132b70bd..1dd4e8356149 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -20309,6 +20719,10 @@ index a716132b70bd..1dd4e8356149 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -20374,7 +20788,7 @@ index a716132b70bd..1dd4e8356149 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -20400,7 +20814,7 @@ index a716132b70bd..1dd4e8356149 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -21200,7 +21614,7 @@ index 686508519872..e1577975d92c 100644 Library("video_bitrate_allocation_gn") diff --git third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build -index 2696cee37763..6bf1750c41cc 100644 +index 6892ab614ec9..6bf1750c41cc 100644 --- third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build +++ third_party/libwebrtc/api/video/video_bitrate_allocator_factory_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -21226,7 +21640,7 @@ index 2696cee37763..6bf1750c41cc 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -21256,6 +21670,10 @@ index 2696cee37763..6bf1750c41cc 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -21321,7 +21739,7 @@ index 2696cee37763..6bf1750c41cc 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -21347,7 +21765,7 @@ index 2696cee37763..6bf1750c41cc 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -21768,7 +22186,7 @@ index fecdc22c7eb9..f67e3175f815 100644 - Library("video_codec_constants_gn") diff --git third_party/libwebrtc/api/video/video_frame_gn/moz.build third_party/libwebrtc/api/video/video_frame_gn/moz.build -index 1a8124cc46aa..831df1f15351 100644 +index 4eb0dae46c55..831df1f15351 100644 --- third_party/libwebrtc/api/video/video_frame_gn/moz.build +++ third_party/libwebrtc/api/video/video_frame_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -21794,7 +22212,7 @@ index 1a8124cc46aa..831df1f15351 100644 FINAL_LIBRARY = "xul" -@@ -58,93 +67,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -58,97 +67,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -21824,6 +22242,10 @@ index 1a8124cc46aa..831df1f15351 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -21889,7 +22311,7 @@ index 1a8124cc46aa..831df1f15351 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -152,82 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -156,82 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -21976,7 +22398,7 @@ index 1a8124cc46aa..831df1f15351 100644 Library("video_frame_gn") diff --git third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build -index e55b60edc278..ed1c18c9ffdb 100644 +index f9a490c4bb1a..ed1c18c9ffdb 100644 --- third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build +++ third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -22002,7 +22424,7 @@ index e55b60edc278..ed1c18c9ffdb 100644 FINAL_LIBRARY = "xul" -@@ -54,93 +63,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -54,97 +63,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -22032,6 +22454,10 @@ index e55b60edc278..ed1c18c9ffdb 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -22097,7 +22523,7 @@ index e55b60edc278..ed1c18c9ffdb 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -148,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -152,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -22184,7 +22610,7 @@ index e55b60edc278..ed1c18c9ffdb 100644 Library("video_frame_i010_gn") diff --git third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build -index f9c1621a35c1..bfa4aa8688b4 100644 +index 500a7404cb21..bfa4aa8688b4 100644 --- third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build +++ third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -22210,7 +22636,7 @@ index f9c1621a35c1..bfa4aa8688b4 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -22240,6 +22666,10 @@ index f9c1621a35c1..bfa4aa8688b4 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -22305,7 +22735,7 @@ index f9c1621a35c1..bfa4aa8688b4 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -22756,7 +23186,7 @@ index b3fb4f33a349..82dbf3e13356 100644 - Library("video_layers_allocation_gn") diff --git third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build -index e4e734b120b0..6de453224f65 100644 +index 6f892eb74bac..6de453224f65 100644 --- third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build +++ third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -22782,7 +23212,7 @@ index e4e734b120b0..6de453224f65 100644 FINAL_LIBRARY = "xul" -@@ -50,93 +59,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -50,97 +59,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -22812,6 +23242,10 @@ index e4e734b120b0..6de453224f65 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -22877,7 +23311,7 @@ index e4e734b120b0..6de453224f65 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -144,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -148,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -22964,7 +23398,7 @@ index e4e734b120b0..6de453224f65 100644 Library("video_rtp_headers_gn") diff --git third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build -index d1b25b5de47d..3412ade2fbe8 100644 +index 4f96f6c1ae42..3412ade2fbe8 100644 --- third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build +++ third_party/libwebrtc/api/video/video_stream_encoder_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -22990,7 +23424,7 @@ index d1b25b5de47d..3412ade2fbe8 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -23020,6 +23454,10 @@ index d1b25b5de47d..3412ade2fbe8 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -23085,7 +23523,7 @@ index d1b25b5de47d..3412ade2fbe8 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -23111,7 +23549,7 @@ index d1b25b5de47d..3412ade2fbe8 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -23331,7 +23769,7 @@ index cbb531a61dc3..5a7b5ac4b50f 100644 - Library("bitstream_parser_api_gn") diff --git third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build -index 9621c58f7e1b..01b3430d5458 100644 +index cbca5e542e08..01b3430d5458 100644 --- third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build +++ third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -23357,7 +23795,7 @@ index 9621c58f7e1b..01b3430d5458 100644 FINAL_LIBRARY = "xul" -@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -23377,7 +23815,6 @@ index 9621c58f7e1b..01b3430d5458 100644 - DEFINES["__STDC_FORMAT_MACROS"] = True - - OS_LIBS += [ -- "GLESv2", - "log" - ] - @@ -23388,6 +23825,10 @@ index 9621c58f7e1b..01b3430d5458 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -23453,7 +23894,7 @@ index 9621c58f7e1b..01b3430d5458 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -23540,7 +23981,7 @@ index 9621c58f7e1b..01b3430d5458 100644 Library("builtin_video_decoder_factory_gn") diff --git third_party/libwebrtc/api/video_codecs/encoder_speed_controller_factory_gn/moz.build third_party/libwebrtc/api/video_codecs/encoder_speed_controller_factory_gn/moz.build -index 1f5ef3816dd2..d8079d2e7cf4 100644 +index 441d15ad1446..d8079d2e7cf4 100644 --- third_party/libwebrtc/api/video_codecs/encoder_speed_controller_factory_gn/moz.build +++ third_party/libwebrtc/api/video_codecs/encoder_speed_controller_factory_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -23566,7 +24007,7 @@ index 1f5ef3816dd2..d8079d2e7cf4 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -23596,6 +24037,10 @@ index 1f5ef3816dd2..d8079d2e7cf4 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -23661,7 +24106,7 @@ index 1f5ef3816dd2..d8079d2e7cf4 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -23748,7 +24193,7 @@ index 1f5ef3816dd2..d8079d2e7cf4 100644 Library("encoder_speed_controller_factory_gn") diff --git third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build -index 93b7f4295f10..efbb1934406d 100644 +index 7b9b26c53165..efbb1934406d 100644 --- third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build +++ third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -23774,7 +24219,7 @@ index 93b7f4295f10..efbb1934406d 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -23804,6 +24249,10 @@ index 93b7f4295f10..efbb1934406d 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -23869,7 +24318,7 @@ index 93b7f4295f10..efbb1934406d 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -24157,7 +24606,7 @@ index 0a1c6fda7837..9212e20cc7fb 100644 Library("scalability_mode_gn") diff --git third_party/libwebrtc/api/video_codecs/scalability_mode_helper_gn/moz.build third_party/libwebrtc/api/video_codecs/scalability_mode_helper_gn/moz.build -index f4111f4d40a2..07cdaf2be0c0 100644 +index 3f0750627a8a..07cdaf2be0c0 100644 --- third_party/libwebrtc/api/video_codecs/scalability_mode_helper_gn/moz.build +++ third_party/libwebrtc/api/video_codecs/scalability_mode_helper_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -24183,7 +24632,7 @@ index f4111f4d40a2..07cdaf2be0c0 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -24213,6 +24662,10 @@ index f4111f4d40a2..07cdaf2be0c0 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -24278,7 +24731,7 @@ index f4111f4d40a2..07cdaf2be0c0 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -24365,7 +24818,7 @@ index f4111f4d40a2..07cdaf2be0c0 100644 Library("scalability_mode_helper_gn") diff --git third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build -index 9399d980b684..b6f3e39d25f8 100644 +index 48576df76b0e..b6f3e39d25f8 100644 --- third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build +++ third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -24391,7 +24844,7 @@ index 9399d980b684..b6f3e39d25f8 100644 FINAL_LIBRARY = "xul" -@@ -58,93 +67,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -58,97 +67,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -24421,6 +24874,10 @@ index 9399d980b684..b6f3e39d25f8 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -24486,7 +24943,7 @@ index 9399d980b684..b6f3e39d25f8 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -152,82 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -156,82 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -24573,7 +25030,7 @@ index 9399d980b684..b6f3e39d25f8 100644 Library("video_codecs_api_gn") diff --git third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_gn/moz.build third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_gn/moz.build -index 76d5b535f9ae..b70a2455f90a 100644 +index 71de6860c4f9..b70a2455f90a 100644 --- third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_gn/moz.build +++ third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -24599,7 +25056,7 @@ index 76d5b535f9ae..b70a2455f90a 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -24629,6 +25086,10 @@ index 76d5b535f9ae..b70a2455f90a 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -24694,7 +25155,7 @@ index 76d5b535f9ae..b70a2455f90a 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -24720,7 +25181,7 @@ index 76d5b535f9ae..b70a2455f90a 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -24762,7 +25223,7 @@ index 76d5b535f9ae..b70a2455f90a 100644 - Library("video_encoder_factory_template_gn") diff --git third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libaom_av1_adapter_gn/moz.build third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libaom_av1_adapter_gn/moz.build -index 93c506c94eae..109aacfdd350 100644 +index 4c38f5af49dc..109aacfdd350 100644 --- third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libaom_av1_adapter_gn/moz.build +++ third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libaom_av1_adapter_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -24788,7 +25249,7 @@ index 93c506c94eae..109aacfdd350 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -24818,6 +25279,10 @@ index 93c506c94eae..109aacfdd350 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -24883,7 +25348,7 @@ index 93c506c94eae..109aacfdd350 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -24909,7 +25374,7 @@ index 93c506c94eae..109aacfdd350 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -24951,7 +25416,7 @@ index 93c506c94eae..109aacfdd350 100644 - Library("video_encoder_factory_template_libaom_av1_adapter_gn") diff --git third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp8_adapter_gn/moz.build third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp8_adapter_gn/moz.build -index 3215344de5e7..254dba975890 100644 +index 8af008639862..254dba975890 100644 --- third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp8_adapter_gn/moz.build +++ third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp8_adapter_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -24977,7 +25442,7 @@ index 3215344de5e7..254dba975890 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -25007,6 +25472,10 @@ index 3215344de5e7..254dba975890 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -25072,7 +25541,7 @@ index 3215344de5e7..254dba975890 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -25098,7 +25567,7 @@ index 3215344de5e7..254dba975890 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -25140,7 +25609,7 @@ index 3215344de5e7..254dba975890 100644 - Library("video_encoder_factory_template_libvpx_vp8_adapter_gn") diff --git third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp9_adapter_gn/moz.build third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp9_adapter_gn/moz.build -index 583e0f09079e..51be2a75a16c 100644 +index 7f8f9d9147c0..51be2a75a16c 100644 --- third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp9_adapter_gn/moz.build +++ third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_libvpx_vp9_adapter_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -25166,7 +25635,7 @@ index 583e0f09079e..51be2a75a16c 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -25196,6 +25665,10 @@ index 583e0f09079e..51be2a75a16c 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -25261,7 +25734,7 @@ index 583e0f09079e..51be2a75a16c 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -25287,7 +25760,7 @@ index 583e0f09079e..51be2a75a16c 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -25329,7 +25802,7 @@ index 583e0f09079e..51be2a75a16c 100644 - Library("video_encoder_factory_template_libvpx_vp9_adapter_gn") diff --git third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_open_h264_adapter_gn/moz.build third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_open_h264_adapter_gn/moz.build -index c00f45798ad8..8c386f142ace 100644 +index 00f6e5a36f14..8c386f142ace 100644 --- third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_open_h264_adapter_gn/moz.build +++ third_party/libwebrtc/api/video_codecs/video_encoder_factory_template_open_h264_adapter_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -25355,7 +25828,7 @@ index c00f45798ad8..8c386f142ace 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -25385,6 +25858,10 @@ index c00f45798ad8..8c386f142ace 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -25450,7 +25927,7 @@ index c00f45798ad8..8c386f142ace 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -25476,7 +25953,7 @@ index c00f45798ad8..8c386f142ace 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -25518,7 +25995,7 @@ index c00f45798ad8..8c386f142ace 100644 - Library("video_encoder_factory_template_open_h264_adapter_gn") diff --git third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build -index 660e2dcb7726..e41c36e17f3b 100644 +index 1821799a0780..e41c36e17f3b 100644 --- third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build +++ third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -25544,7 +26021,7 @@ index 660e2dcb7726..e41c36e17f3b 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -25574,6 +26051,10 @@ index 660e2dcb7726..e41c36e17f3b 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -25639,7 +26120,7 @@ index 660e2dcb7726..e41c36e17f3b 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -25904,7 +26385,7 @@ index 6aa22a8ca529..0133f34ce274 100644 - Library("video_track_source_constraints_gn") diff --git third_party/libwebrtc/audio/audio_gn/moz.build third_party/libwebrtc/audio/audio_gn/moz.build -index f1fb005147a7..a1761896415e 100644 +index e2ceaf1e78a4..a1761896415e 100644 --- third_party/libwebrtc/audio/audio_gn/moz.build +++ third_party/libwebrtc/audio/audio_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -25930,7 +26411,7 @@ index f1fb005147a7..a1761896415e 100644 FINAL_LIBRARY = "xul" -@@ -60,94 +69,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -60,98 +69,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -25961,6 +26442,10 @@ index f1fb005147a7..a1761896415e 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -26026,7 +26511,7 @@ index f1fb005147a7..a1761896415e 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -155,82 +77,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -159,82 +77,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -26113,7 +26598,7 @@ index f1fb005147a7..a1761896415e 100644 Library("audio_gn") diff --git third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build -index e6b5c2e88958..644e04db81cf 100644 +index aa6f44eb2d8a..644e04db81cf 100644 --- third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build +++ third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -26139,7 +26624,7 @@ index e6b5c2e88958..644e04db81cf 100644 FINAL_LIBRARY = "xul" -@@ -49,93 +58,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -49,97 +58,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -26169,6 +26654,10 @@ index e6b5c2e88958..644e04db81cf 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -26234,7 +26723,7 @@ index e6b5c2e88958..644e04db81cf 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -143,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -147,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -26321,7 +26810,7 @@ index e6b5c2e88958..644e04db81cf 100644 Library("audio_frame_operations_gn") diff --git third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build -index 5ef19fc3e1f0..27990096053c 100644 +index d27557c5f13e..27990096053c 100644 --- third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build +++ third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -26347,7 +26836,7 @@ index 5ef19fc3e1f0..27990096053c 100644 FINAL_LIBRARY = "xul" -@@ -56,93 +65,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -56,97 +65,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -26377,6 +26866,10 @@ index 5ef19fc3e1f0..27990096053c 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -26442,7 +26935,7 @@ index 5ef19fc3e1f0..27990096053c 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -150,82 +73,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -154,82 +73,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -26529,7 +27022,7 @@ index 5ef19fc3e1f0..27990096053c 100644 Library("resource_adaptation_gn") diff --git third_party/libwebrtc/call/audio_sender_interface_gn/moz.build third_party/libwebrtc/call/audio_sender_interface_gn/moz.build -index fe10ec0b6e3a..3f3a8a99d672 100644 +index 7495d9a7c8c0..3f3a8a99d672 100644 --- third_party/libwebrtc/call/audio_sender_interface_gn/moz.build +++ third_party/libwebrtc/call/audio_sender_interface_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -26555,7 +27048,7 @@ index fe10ec0b6e3a..3f3a8a99d672 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -26585,6 +27078,10 @@ index fe10ec0b6e3a..3f3a8a99d672 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -26650,7 +27147,7 @@ index fe10ec0b6e3a..3f3a8a99d672 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -26676,7 +27173,7 @@ index fe10ec0b6e3a..3f3a8a99d672 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -26718,7 +27215,7 @@ index fe10ec0b6e3a..3f3a8a99d672 100644 - Library("audio_sender_interface_gn") diff --git third_party/libwebrtc/call/bitrate_allocator_gn/moz.build third_party/libwebrtc/call/bitrate_allocator_gn/moz.build -index 1b585f7ee5c6..7c2b118e6061 100644 +index 72c3d3572840..7c2b118e6061 100644 --- third_party/libwebrtc/call/bitrate_allocator_gn/moz.build +++ third_party/libwebrtc/call/bitrate_allocator_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -26744,7 +27241,7 @@ index 1b585f7ee5c6..7c2b118e6061 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -26774,6 +27271,10 @@ index 1b585f7ee5c6..7c2b118e6061 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -26839,7 +27340,7 @@ index 1b585f7ee5c6..7c2b118e6061 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -27127,7 +27628,7 @@ index fc5b882fc5e4..e3c3fa525188 100644 Library("bitrate_configurator_gn") diff --git third_party/libwebrtc/call/call_gn/moz.build third_party/libwebrtc/call/call_gn/moz.build -index 69ed7d0ecce5..1a6572e48cbf 100644 +index 4497acd11c1f..1a6572e48cbf 100644 --- third_party/libwebrtc/call/call_gn/moz.build +++ third_party/libwebrtc/call/call_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -27153,7 +27654,7 @@ index 69ed7d0ecce5..1a6572e48cbf 100644 FINAL_LIBRARY = "xul" -@@ -49,94 +58,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -49,98 +58,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -27184,6 +27685,10 @@ index 69ed7d0ecce5..1a6572e48cbf 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -27249,7 +27754,7 @@ index 69ed7d0ecce5..1a6572e48cbf 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -144,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -148,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -27336,7 +27841,7 @@ index 69ed7d0ecce5..1a6572e48cbf 100644 Library("call_gn") diff --git third_party/libwebrtc/call/call_interfaces_gn/moz.build third_party/libwebrtc/call/call_interfaces_gn/moz.build -index 727de272bb92..b91e20a3c1b4 100644 +index de339e98cd53..b91e20a3c1b4 100644 --- third_party/libwebrtc/call/call_interfaces_gn/moz.build +++ third_party/libwebrtc/call/call_interfaces_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -27362,7 +27867,7 @@ index 727de272bb92..b91e20a3c1b4 100644 FINAL_LIBRARY = "xul" -@@ -52,94 +61,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -52,97 +61,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -27382,7 +27887,6 @@ index 727de272bb92..b91e20a3c1b4 100644 - DEFINES["__STDC_FORMAT_MACROS"] = True - - OS_LIBS += [ -- "GLESv2", - "log" - ] - @@ -27393,6 +27897,10 @@ index 727de272bb92..b91e20a3c1b4 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -27458,7 +27966,7 @@ index 727de272bb92..b91e20a3c1b4 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -147,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -150,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -27545,7 +28053,7 @@ index 727de272bb92..b91e20a3c1b4 100644 Library("call_interfaces_gn") diff --git third_party/libwebrtc/call/payload_type_gn/moz.build third_party/libwebrtc/call/payload_type_gn/moz.build -index 216ff5360920..ae039eb49b5a 100644 +index e47549c79d63..ae039eb49b5a 100644 --- third_party/libwebrtc/call/payload_type_gn/moz.build +++ third_party/libwebrtc/call/payload_type_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -27571,7 +28079,7 @@ index 216ff5360920..ae039eb49b5a 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -27601,6 +28109,10 @@ index 216ff5360920..ae039eb49b5a 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -27666,7 +28178,7 @@ index 216ff5360920..ae039eb49b5a 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -27692,7 +28204,7 @@ index 216ff5360920..ae039eb49b5a 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -27734,7 +28246,7 @@ index 216ff5360920..ae039eb49b5a 100644 - Library("payload_type_gn") diff --git third_party/libwebrtc/call/payload_type_picker_gn/moz.build third_party/libwebrtc/call/payload_type_picker_gn/moz.build -index 334b7f900f39..be111ed12b11 100644 +index af7487ef5c80..be111ed12b11 100644 --- third_party/libwebrtc/call/payload_type_picker_gn/moz.build +++ third_party/libwebrtc/call/payload_type_picker_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -27760,7 +28272,7 @@ index 334b7f900f39..be111ed12b11 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -27790,6 +28302,10 @@ index 334b7f900f39..be111ed12b11 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -27855,7 +28371,7 @@ index 334b7f900f39..be111ed12b11 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -27942,7 +28458,7 @@ index 334b7f900f39..be111ed12b11 100644 Library("payload_type_picker_gn") diff --git third_party/libwebrtc/call/receive_stream_interface_gn/moz.build third_party/libwebrtc/call/receive_stream_interface_gn/moz.build -index c42bd045a077..905df1b59073 100644 +index d69a5a3a2e65..905df1b59073 100644 --- third_party/libwebrtc/call/receive_stream_interface_gn/moz.build +++ third_party/libwebrtc/call/receive_stream_interface_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -27968,7 +28484,7 @@ index c42bd045a077..905df1b59073 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -27998,6 +28514,10 @@ index c42bd045a077..905df1b59073 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -28063,7 +28583,7 @@ index c42bd045a077..905df1b59073 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -28089,7 +28609,7 @@ index c42bd045a077..905df1b59073 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -28131,7 +28651,7 @@ index c42bd045a077..905df1b59073 100644 - Library("receive_stream_interface_gn") diff --git third_party/libwebrtc/call/rtp_interfaces_gn/moz.build third_party/libwebrtc/call/rtp_interfaces_gn/moz.build -index 1c74c7252730..d5cbc5579e9d 100644 +index 7d45dbfb08ab..d5cbc5579e9d 100644 --- third_party/libwebrtc/call/rtp_interfaces_gn/moz.build +++ third_party/libwebrtc/call/rtp_interfaces_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -28157,7 +28677,7 @@ index 1c74c7252730..d5cbc5579e9d 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -28187,6 +28707,10 @@ index 1c74c7252730..d5cbc5579e9d 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -28252,7 +28776,7 @@ index 1c74c7252730..d5cbc5579e9d 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -28339,7 +28863,7 @@ index 1c74c7252730..d5cbc5579e9d 100644 Library("rtp_interfaces_gn") diff --git third_party/libwebrtc/call/rtp_receiver_gn/moz.build third_party/libwebrtc/call/rtp_receiver_gn/moz.build -index f19f3de50080..e29c8cc61a97 100644 +index 6ca9ab4d1924..e29c8cc61a97 100644 --- third_party/libwebrtc/call/rtp_receiver_gn/moz.build +++ third_party/libwebrtc/call/rtp_receiver_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -28365,7 +28889,7 @@ index f19f3de50080..e29c8cc61a97 100644 FINAL_LIBRARY = "xul" -@@ -49,94 +58,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -49,97 +58,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -28385,7 +28909,6 @@ index f19f3de50080..e29c8cc61a97 100644 - DEFINES["__STDC_FORMAT_MACROS"] = True - - OS_LIBS += [ -- "GLESv2", - "log" - ] - @@ -28396,6 +28919,10 @@ index f19f3de50080..e29c8cc61a97 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -28461,7 +28988,7 @@ index f19f3de50080..e29c8cc61a97 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -144,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -147,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -28548,7 +29075,7 @@ index f19f3de50080..e29c8cc61a97 100644 Library("rtp_receiver_gn") diff --git third_party/libwebrtc/call/rtp_sender_gn/moz.build third_party/libwebrtc/call/rtp_sender_gn/moz.build -index 65546290bad6..1f3917173fe7 100644 +index 9a3dcc9c2bbd..1f3917173fe7 100644 --- third_party/libwebrtc/call/rtp_sender_gn/moz.build +++ third_party/libwebrtc/call/rtp_sender_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -28574,7 +29101,7 @@ index 65546290bad6..1f3917173fe7 100644 FINAL_LIBRARY = "xul" -@@ -49,94 +58,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -49,97 +58,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -28594,7 +29121,6 @@ index 65546290bad6..1f3917173fe7 100644 - DEFINES["__STDC_FORMAT_MACROS"] = True - - OS_LIBS += [ -- "GLESv2", - "log" - ] - @@ -28605,6 +29131,10 @@ index 65546290bad6..1f3917173fe7 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -28670,7 +29200,7 @@ index 65546290bad6..1f3917173fe7 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -144,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -147,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -28954,7 +29484,7 @@ index fc439b4f19cd..1f46680ee1a3 100644 Library("version_gn") diff --git third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build -index bb93d9e6d16d..061e7cc3a2c0 100644 +index 795af52ef046..061e7cc3a2c0 100644 --- third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build +++ third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -28980,7 +29510,7 @@ index bb93d9e6d16d..061e7cc3a2c0 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -29010,6 +29540,10 @@ index bb93d9e6d16d..061e7cc3a2c0 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -29075,7 +29609,7 @@ index bb93d9e6d16d..061e7cc3a2c0 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -29162,7 +29696,7 @@ index bb93d9e6d16d..061e7cc3a2c0 100644 Library("video_receive_stream_api_gn") diff --git third_party/libwebrtc/call/video_send_stream_api_gn/moz.build third_party/libwebrtc/call/video_send_stream_api_gn/moz.build -index 82bf9b9a4898..b93c4ab838e8 100644 +index 013251f4cd88..b93c4ab838e8 100644 --- third_party/libwebrtc/call/video_send_stream_api_gn/moz.build +++ third_party/libwebrtc/call/video_send_stream_api_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -29188,7 +29722,7 @@ index 82bf9b9a4898..b93c4ab838e8 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -29218,6 +29752,10 @@ index 82bf9b9a4898..b93c4ab838e8 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -29283,7 +29821,7 @@ index 82bf9b9a4898..b93c4ab838e8 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -29370,7 +29908,7 @@ index 82bf9b9a4898..b93c4ab838e8 100644 Library("video_send_stream_api_gn") diff --git third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build -index 2cae1809efd9..51dc05ae78b2 100644 +index 115ae0111176..51dc05ae78b2 100644 --- third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build +++ third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build @@ -18,6 +18,9 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -29397,7 +29935,7 @@ index 2cae1809efd9..51dc05ae78b2 100644 FINAL_LIBRARY = "xul" -@@ -54,122 +63,9 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -54,126 +63,9 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -29427,6 +29965,10 @@ index 2cae1809efd9..51dc05ae78b2 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -29496,16 +30038,16 @@ index 2cae1809efd9..51dc05ae78b2 100644 - -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": - -- DEFINES["_DEBUG"] = True -- + DEFINES["_DEBUG"] = True + -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_DEBUG"] = True - -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_DEBUG"] = True - +- DEFINES["_DEBUG"] = True +- -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" @@ -30193,7 +30735,7 @@ index 0711a246047b..e8df5c74b3f8 100644 Library("common_audio_cc_gn") diff --git third_party/libwebrtc/common_audio/common_audio_gn/moz.build third_party/libwebrtc/common_audio/common_audio_gn/moz.build -index a8c9acb93890..c7dd02321577 100644 +index c1a77b8aea7e..c7dd02321577 100644 --- third_party/libwebrtc/common_audio/common_audio_gn/moz.build +++ third_party/libwebrtc/common_audio/common_audio_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -30219,7 +30761,7 @@ index a8c9acb93890..c7dd02321577 100644 FINAL_LIBRARY = "xul" -@@ -60,93 +69,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -60,97 +69,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -30249,6 +30791,10 @@ index a8c9acb93890..c7dd02321577 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -30314,7 +30860,7 @@ index a8c9acb93890..c7dd02321577 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -154,82 +77,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -158,82 +77,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -30563,7 +31109,7 @@ index 394073de5157..85086d43db82 100644 - Library("common_audio_neon_c_gn") diff --git third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build -index 164aeb5c1cd9..952a7c5b85b1 100644 +index 007652c82820..952a7c5b85b1 100644 --- third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build +++ third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build @@ -13,6 +13,10 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -30592,7 +31138,7 @@ index 164aeb5c1cd9..952a7c5b85b1 100644 FINAL_LIBRARY = "xul" -@@ -49,138 +60,6 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -49,142 +60,6 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -30624,6 +31170,10 @@ index 164aeb5c1cd9..952a7c5b85b1 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -30732,7 +31282,7 @@ index 164aeb5c1cd9..952a7c5b85b1 100644 - Library("common_audio_neon_gn") diff --git third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build -index 9cfcd88ca0fd..6c02d405d1fa 100644 +index 29a7869c9240..6c02d405d1fa 100644 --- third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build +++ third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build @@ -13,6 +13,9 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -30759,7 +31309,7 @@ index 9cfcd88ca0fd..6c02d405d1fa 100644 FINAL_LIBRARY = "xul" -@@ -49,144 +58,16 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -49,148 +58,16 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -30793,6 +31343,10 @@ index 9cfcd88ca0fd..6c02d405d1fa 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -31057,7 +31611,7 @@ index 0e0fda5298d0..a6c98386e64c 100644 - Library("fir_filter_gn") diff --git third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build -index 66977109414b..aadae017d4a1 100644 +index 9f6e01aa2c40..aadae017d4a1 100644 --- third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build +++ third_party/libwebrtc/common_audio/sinc_resampler_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -31083,7 +31637,7 @@ index 66977109414b..aadae017d4a1 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -31113,6 +31667,10 @@ index 66977109414b..aadae017d4a1 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -31178,7 +31736,7 @@ index 66977109414b..aadae017d4a1 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -31204,7 +31762,7 @@ index 66977109414b..aadae017d4a1 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -31246,7 +31804,7 @@ index 66977109414b..aadae017d4a1 100644 - Library("sinc_resampler_gn") diff --git third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build -index 6923c7ad1f20..b46791b4e014 100644 +index 3cfec22cef94..b46791b4e014 100644 --- third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build +++ third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -31272,7 +31830,7 @@ index 6923c7ad1f20..b46791b4e014 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -31302,6 +31860,10 @@ index 6923c7ad1f20..b46791b4e014 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -31367,7 +31929,7 @@ index 6923c7ad1f20..b46791b4e014 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -145,122 +68,38 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -149,122 +68,38 @@ if CONFIG["TARGET_CPU"] == "aarch64": "/third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128/ooura_fft_neon.cc" ] @@ -31953,7 +32515,7 @@ index 06b4e9233fb4..462a19eca697 100644 UNIFIED_SOURCES += [ "/third_party/libwebrtc/common_audio/third_party/spl_sqrt_floor/spl_sqrt_floor.c" diff --git third_party/libwebrtc/common_video/common_video_gn/moz.build third_party/libwebrtc/common_video/common_video_gn/moz.build -index 737d2879cfff..81d7276e7ceb 100644 +index 731a68d3323c..81d7276e7ceb 100644 --- third_party/libwebrtc/common_video/common_video_gn/moz.build +++ third_party/libwebrtc/common_video/common_video_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -31979,7 +32541,7 @@ index 737d2879cfff..81d7276e7ceb 100644 FINAL_LIBRARY = "xul" -@@ -59,93 +68,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -59,97 +68,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -32009,6 +32571,10 @@ index 737d2879cfff..81d7276e7ceb 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -32074,7 +32640,7 @@ index 737d2879cfff..81d7276e7ceb 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -153,82 +76,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -157,82 +76,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -32161,7 +32727,7 @@ index 737d2879cfff..81d7276e7ceb 100644 Library("common_video_gn") diff --git third_party/libwebrtc/common_video/corruption_score_calculator_gn/moz.build third_party/libwebrtc/common_video/corruption_score_calculator_gn/moz.build -index 1a7763027509..6984875a37a2 100644 +index 1d2701fc8c52..6984875a37a2 100644 --- third_party/libwebrtc/common_video/corruption_score_calculator_gn/moz.build +++ third_party/libwebrtc/common_video/corruption_score_calculator_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -32187,7 +32753,7 @@ index 1a7763027509..6984875a37a2 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -32217,6 +32783,10 @@ index 1a7763027509..6984875a37a2 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -32282,7 +32852,7 @@ index 1a7763027509..6984875a37a2 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -32308,7 +32878,7 @@ index 1a7763027509..6984875a37a2 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -32729,7 +33299,7 @@ index 7128ebf8d791..4ee3fabc5efc 100644 Library("generic_frame_descriptor_gn") diff --git third_party/libwebrtc/dcsctp_gn/moz.build third_party/libwebrtc/dcsctp_gn/moz.build -index 5d9d91542602..ab7d83d5027f 100644 +index e39f3513fabf..ab7d83d5027f 100644 --- third_party/libwebrtc/dcsctp_gn/moz.build +++ third_party/libwebrtc/dcsctp_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -32755,7 +33325,7 @@ index 5d9d91542602..ab7d83d5027f 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -32785,6 +33355,10 @@ index 5d9d91542602..ab7d83d5027f 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -32850,7 +33424,7 @@ index 5d9d91542602..ab7d83d5027f 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -32876,7 +33450,7 @@ index 5d9d91542602..ab7d83d5027f 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -33110,7 +33684,7 @@ index edb8e084a33a..e2236e78c4a0 100644 - Library("registered_field_trials_header_gn") diff --git third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build -index 4caacde9e597..2a57be791af5 100644 +index 967a373f85d9..2a57be791af5 100644 --- third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build +++ third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -33136,7 +33710,7 @@ index 4caacde9e597..2a57be791af5 100644 FINAL_LIBRARY = "xul" -@@ -51,93 +60,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -51,97 +60,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -33166,6 +33740,10 @@ index 4caacde9e597..2a57be791af5 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -33231,7 +33809,7 @@ index 4caacde9e597..2a57be791af5 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -145,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -149,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -33318,7 +33896,7 @@ index 4caacde9e597..2a57be791af5 100644 Library("rtc_event_audio_gn") diff --git third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build -index ca62ef7f0235..2f13eb73c4cf 100644 +index f42301432bb6..2f13eb73c4cf 100644 --- third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build +++ third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -33344,7 +33922,7 @@ index ca62ef7f0235..2f13eb73c4cf 100644 FINAL_LIBRARY = "xul" -@@ -52,93 +61,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -52,97 +61,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -33374,6 +33952,10 @@ index ca62ef7f0235..2f13eb73c4cf 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -33439,7 +34021,7 @@ index ca62ef7f0235..2f13eb73c4cf 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -146,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -150,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -33727,7 +34309,7 @@ index 53039864497e..b1c661aa383b 100644 Library("rtc_event_bwe_update_scream_gn") diff --git third_party/libwebrtc/logging/rtc_event_field_gn/moz.build third_party/libwebrtc/logging/rtc_event_field_gn/moz.build -index 03f2b09ba820..c451b3bd4f20 100644 +index a422358626a6..c451b3bd4f20 100644 --- third_party/libwebrtc/logging/rtc_event_field_gn/moz.build +++ third_party/libwebrtc/logging/rtc_event_field_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -33753,7 +34335,7 @@ index 03f2b09ba820..c451b3bd4f20 100644 FINAL_LIBRARY = "xul" -@@ -53,93 +62,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -53,97 +62,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -33783,6 +34365,10 @@ index 03f2b09ba820..c451b3bd4f20 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -33848,7 +34434,7 @@ index 03f2b09ba820..c451b3bd4f20 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -147,82 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -151,82 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -34318,7 +34904,7 @@ index d6277f4decb7..991b3118284f 100644 Library("rtc_event_number_encodings_gn") diff --git third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build -index 93e1f9bc11ed..11dac2a7f60f 100644 +index 7c89f2d5fe25..11dac2a7f60f 100644 --- third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build +++ third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -34344,7 +34930,7 @@ index 93e1f9bc11ed..11dac2a7f60f 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -34374,6 +34960,10 @@ index 93e1f9bc11ed..11dac2a7f60f 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -34439,7 +35029,7 @@ index 93e1f9bc11ed..11dac2a7f60f 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -34526,7 +35116,7 @@ index 93e1f9bc11ed..11dac2a7f60f 100644 Library("rtc_event_pacing_gn") diff --git third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build -index 68dc2bfa7beb..0e77be1355ef 100644 +index d07dc18336b2..0e77be1355ef 100644 --- third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build +++ third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -34552,7 +35142,7 @@ index 68dc2bfa7beb..0e77be1355ef 100644 FINAL_LIBRARY = "xul" -@@ -50,93 +59,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -50,97 +59,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -34582,6 +35172,10 @@ index 68dc2bfa7beb..0e77be1355ef 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -34647,7 +35241,7 @@ index 68dc2bfa7beb..0e77be1355ef 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -144,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -148,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -34734,7 +35328,7 @@ index 68dc2bfa7beb..0e77be1355ef 100644 Library("rtc_event_rtp_rtcp_gn") diff --git third_party/libwebrtc/logging/rtc_event_video_gn/moz.build third_party/libwebrtc/logging/rtc_event_video_gn/moz.build -index f0c0525595be..11ef3f0ed44f 100644 +index 50d5e752c51a..11ef3f0ed44f 100644 --- third_party/libwebrtc/logging/rtc_event_video_gn/moz.build +++ third_party/libwebrtc/logging/rtc_event_video_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -34760,7 +35354,7 @@ index f0c0525595be..11ef3f0ed44f 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -34790,6 +35384,10 @@ index f0c0525595be..11ef3f0ed44f 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -34855,7 +35453,7 @@ index f0c0525595be..11ef3f0ed44f 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -34942,7 +35540,7 @@ index f0c0525595be..11ef3f0ed44f 100644 Library("rtc_event_video_gn") diff --git third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build -index dcf8d7f09d38..2f43cb2d2006 100644 +index 23c2d899f8ff..2f43cb2d2006 100644 --- third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build +++ third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -34968,7 +35566,7 @@ index dcf8d7f09d38..2f43cb2d2006 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -34998,6 +35596,10 @@ index dcf8d7f09d38..2f43cb2d2006 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -35063,7 +35665,7 @@ index dcf8d7f09d38..2f43cb2d2006 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -35150,7 +35752,7 @@ index dcf8d7f09d38..2f43cb2d2006 100644 Library("rtc_stream_config_gn") diff --git third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build -index 11862478ece2..5011e1a8de81 100644 +index 783bfe8dc3d3..5011e1a8de81 100644 --- third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build +++ third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -35176,7 +35778,7 @@ index 11862478ece2..5011e1a8de81 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -35206,6 +35808,10 @@ index 11862478ece2..5011e1a8de81 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -35271,7 +35877,7 @@ index 11862478ece2..5011e1a8de81 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -35536,7 +36142,7 @@ index f9b61e0992b6..e963839421c5 100644 - Library("audio_source_gn") diff --git third_party/libwebrtc/media/codec_gn/moz.build third_party/libwebrtc/media/codec_gn/moz.build -index dde3a4d59f7d..f70556b82d58 100644 +index 1098e2c7a3d6..f70556b82d58 100644 --- third_party/libwebrtc/media/codec_gn/moz.build +++ third_party/libwebrtc/media/codec_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -35562,7 +36168,7 @@ index dde3a4d59f7d..f70556b82d58 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -35592,6 +36198,10 @@ index dde3a4d59f7d..f70556b82d58 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -35657,7 +36267,7 @@ index dde3a4d59f7d..f70556b82d58 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -35744,7 +36354,7 @@ index dde3a4d59f7d..f70556b82d58 100644 Library("codec_gn") diff --git third_party/libwebrtc/media/media_channel_gn/moz.build third_party/libwebrtc/media/media_channel_gn/moz.build -index 57b1ab31b118..1f0439830423 100644 +index ae439a23142e..1f0439830423 100644 --- third_party/libwebrtc/media/media_channel_gn/moz.build +++ third_party/libwebrtc/media/media_channel_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -35770,7 +36380,7 @@ index 57b1ab31b118..1f0439830423 100644 FINAL_LIBRARY = "xul" -@@ -43,94 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -35801,6 +36411,10 @@ index 57b1ab31b118..1f0439830423 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -35866,7 +36480,7 @@ index 57b1ab31b118..1f0439830423 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -35892,7 +36506,7 @@ index 57b1ab31b118..1f0439830423 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -36309,7 +36923,7 @@ index 5fe486b68a37..a8fd0f0f0454 100644 Library("media_constants_gn") diff --git third_party/libwebrtc/media/media_engine_gn/moz.build third_party/libwebrtc/media/media_engine_gn/moz.build -index fd9cda5ffd4c..61bee806c4b1 100644 +index 998222ff704a..61bee806c4b1 100644 --- third_party/libwebrtc/media/media_engine_gn/moz.build +++ third_party/libwebrtc/media/media_engine_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -36335,7 +36949,7 @@ index fd9cda5ffd4c..61bee806c4b1 100644 FINAL_LIBRARY = "xul" -@@ -43,94 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -36366,6 +36980,10 @@ index fd9cda5ffd4c..61bee806c4b1 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -36431,7 +37049,7 @@ index fd9cda5ffd4c..61bee806c4b1 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -36457,7 +37075,7 @@ index fd9cda5ffd4c..61bee806c4b1 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -36499,7 +37117,7 @@ index fd9cda5ffd4c..61bee806c4b1 100644 - Library("media_engine_gn") diff --git third_party/libwebrtc/media/rid_description_gn/moz.build third_party/libwebrtc/media/rid_description_gn/moz.build -index 12d28827a3ba..ff79c9eed782 100644 +index d4168a8ed653..ff79c9eed782 100644 --- third_party/libwebrtc/media/rid_description_gn/moz.build +++ third_party/libwebrtc/media/rid_description_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -36525,7 +37143,7 @@ index 12d28827a3ba..ff79c9eed782 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -36555,6 +37173,10 @@ index 12d28827a3ba..ff79c9eed782 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -36620,7 +37242,7 @@ index 12d28827a3ba..ff79c9eed782 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -36707,7 +37329,7 @@ index 12d28827a3ba..ff79c9eed782 100644 Library("rid_description_gn") diff --git third_party/libwebrtc/media/rtc_audio_video_gn/moz.build third_party/libwebrtc/media/rtc_audio_video_gn/moz.build -index 5ccdc1470201..6107cbff30be 100644 +index a1496cb37f84..6107cbff30be 100644 --- third_party/libwebrtc/media/rtc_audio_video_gn/moz.build +++ third_party/libwebrtc/media/rtc_audio_video_gn/moz.build @@ -14,13 +14,22 @@ DEFINES["HAVE_WEBRTC_VIDEO"] = True @@ -36733,7 +37355,7 @@ index 5ccdc1470201..6107cbff30be 100644 FINAL_LIBRARY = "xul" -@@ -49,98 +58,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -49,102 +58,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -36764,6 +37386,10 @@ index 5ccdc1470201..6107cbff30be 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -36833,7 +37459,7 @@ index 5ccdc1470201..6107cbff30be 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -148,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -152,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -36920,7 +37546,7 @@ index 5ccdc1470201..6107cbff30be 100644 Library("rtc_audio_video_gn") diff --git third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build -index 02cf1310684b..4c8d93d30a60 100644 +index 37a0800e139b..4c8d93d30a60 100644 --- third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build +++ third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build @@ -14,13 +14,22 @@ DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" @@ -36946,7 +37572,7 @@ index 02cf1310684b..4c8d93d30a60 100644 FINAL_LIBRARY = "xul" -@@ -48,94 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -36966,7 +37592,6 @@ index 02cf1310684b..4c8d93d30a60 100644 - DEFINES["__STDC_FORMAT_MACROS"] = True - - OS_LIBS += [ -- "GLESv2", - "log" - ] - @@ -36977,6 +37602,10 @@ index 02cf1310684b..4c8d93d30a60 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -37042,7 +37671,7 @@ index 02cf1310684b..4c8d93d30a60 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -143,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -37129,7 +37758,7 @@ index 02cf1310684b..4c8d93d30a60 100644 Library("rtc_internal_video_codecs_gn") diff --git third_party/libwebrtc/media/rtc_media_base_gn/moz.build third_party/libwebrtc/media/rtc_media_base_gn/moz.build -index acebbb31bc5b..0de969134c2a 100644 +index 886b3c56f89d..0de969134c2a 100644 --- third_party/libwebrtc/media/rtc_media_base_gn/moz.build +++ third_party/libwebrtc/media/rtc_media_base_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -37155,7 +37784,7 @@ index acebbb31bc5b..0de969134c2a 100644 FINAL_LIBRARY = "xul" -@@ -43,94 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,98 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -37186,6 +37815,10 @@ index acebbb31bc5b..0de969134c2a 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -37251,7 +37884,7 @@ index acebbb31bc5b..0de969134c2a 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -142,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -37277,7 +37910,7 @@ index acebbb31bc5b..0de969134c2a 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -170,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -37497,7 +38130,7 @@ index 7211fe469ca8..58d9f577fe0a 100644 - Library("rtc_media_config_gn") diff --git third_party/libwebrtc/media/rtc_media_gn/moz.build third_party/libwebrtc/media/rtc_media_gn/moz.build -index 8f55e5017aae..8f2af7ccd1b1 100644 +index d29a3203f62a..8f2af7ccd1b1 100644 --- third_party/libwebrtc/media/rtc_media_gn/moz.build +++ third_party/libwebrtc/media/rtc_media_gn/moz.build @@ -14,13 +14,22 @@ DEFINES["HAVE_WEBRTC_VIDEO"] = True @@ -37523,7 +38156,7 @@ index 8f55e5017aae..8f2af7ccd1b1 100644 FINAL_LIBRARY = "xul" -@@ -44,98 +53,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -44,102 +53,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -37554,6 +38187,10 @@ index 8f55e5017aae..8f2af7ccd1b1 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -37623,7 +38260,7 @@ index 8f55e5017aae..8f2af7ccd1b1 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -143,25 +61,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -147,25 +61,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -37649,7 +38286,7 @@ index 8f55e5017aae..8f2af7ccd1b1 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -171,40 +74,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -175,40 +74,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -37691,7 +38328,7 @@ index 8f55e5017aae..8f2af7ccd1b1 100644 - Library("rtc_media_gn") diff --git third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build -index 497989616fd4..823dbd5b9496 100644 +index 460421ca3f2d..823dbd5b9496 100644 --- third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build +++ third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -37717,7 +38354,7 @@ index 497989616fd4..823dbd5b9496 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -37747,6 +38384,10 @@ index 497989616fd4..823dbd5b9496 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -37812,7 +38453,7 @@ index 497989616fd4..823dbd5b9496 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -37899,7 +38540,7 @@ index 497989616fd4..823dbd5b9496 100644 Library("rtc_sdp_video_format_utils_gn") diff --git third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build -index 3882b14dc448..a8cd8eb80813 100644 +index 58717b02aa2e..a8cd8eb80813 100644 --- third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build +++ third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -37925,7 +38566,7 @@ index 3882b14dc448..a8cd8eb80813 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -37955,6 +38596,10 @@ index 3882b14dc448..a8cd8eb80813 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -38020,7 +38665,7 @@ index 3882b14dc448..a8cd8eb80813 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -38463,7 +39108,7 @@ index 3a23e086ef18..8b7b0aefbf7f 100644 - Library("stream_params_gn") diff --git third_party/libwebrtc/media/video_adapter_gn/moz.build third_party/libwebrtc/media/video_adapter_gn/moz.build -index 53f223fd0813..e770c100c591 100644 +index 8d5bbd9a7035..e770c100c591 100644 --- third_party/libwebrtc/media/video_adapter_gn/moz.build +++ third_party/libwebrtc/media/video_adapter_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -38489,7 +39134,7 @@ index 53f223fd0813..e770c100c591 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -38519,6 +39164,10 @@ index 53f223fd0813..e770c100c591 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -38584,7 +39233,7 @@ index 53f223fd0813..e770c100c591 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -38671,7 +39320,7 @@ index 53f223fd0813..e770c100c591 100644 Library("video_adapter_gn") diff --git third_party/libwebrtc/media/video_broadcaster_gn/moz.build third_party/libwebrtc/media/video_broadcaster_gn/moz.build -index 842dbd0b36da..e82e1420f2d1 100644 +index e3a3a659d43e..e82e1420f2d1 100644 --- third_party/libwebrtc/media/video_broadcaster_gn/moz.build +++ third_party/libwebrtc/media/video_broadcaster_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -38697,7 +39346,7 @@ index 842dbd0b36da..e82e1420f2d1 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -38727,6 +39376,10 @@ index 842dbd0b36da..e82e1420f2d1 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -38792,7 +39445,7 @@ index 842dbd0b36da..e82e1420f2d1 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -39087,7 +39740,7 @@ index 3f49c8520074..b7af18e892e5 100644 Library("video_common_gn") diff --git third_party/libwebrtc/media/video_source_base_gn/moz.build third_party/libwebrtc/media/video_source_base_gn/moz.build -index 0c57675e50ca..02f91f7eb002 100644 +index a0e88633c873..02f91f7eb002 100644 --- third_party/libwebrtc/media/video_source_base_gn/moz.build +++ third_party/libwebrtc/media/video_source_base_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -39113,7 +39766,7 @@ index 0c57675e50ca..02f91f7eb002 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -39143,6 +39796,10 @@ index 0c57675e50ca..02f91f7eb002 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -39208,7 +39865,7 @@ index 0c57675e50ca..02f91f7eb002 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -39295,7 +39952,7 @@ index 0c57675e50ca..02f91f7eb002 100644 Library("video_source_base_gn") diff --git third_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build third_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build -index ee8438df8544..e5a19b5feb8a 100644 +index 7b67078e3ad6..e5a19b5feb8a 100644 --- third_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build +++ third_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -39321,7 +39978,7 @@ index ee8438df8544..e5a19b5feb8a 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -39351,6 +40008,10 @@ index ee8438df8544..e5a19b5feb8a 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -39416,7 +40077,7 @@ index ee8438df8544..e5a19b5feb8a 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -39503,7 +40164,7 @@ index ee8438df8544..e5a19b5feb8a 100644 Library("async_audio_processing_gn") diff --git third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build -index 507a0c82ad18..7f9046c01df4 100644 +index 85fc5be7c96b..7f9046c01df4 100644 --- third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -39529,7 +40190,7 @@ index 507a0c82ad18..7f9046c01df4 100644 FINAL_LIBRARY = "xul" -@@ -50,93 +59,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -50,97 +59,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -39559,6 +40220,10 @@ index 507a0c82ad18..7f9046c01df4 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -39624,7 +40289,7 @@ index 507a0c82ad18..7f9046c01df4 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -144,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -148,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -39889,7 +40554,7 @@ index d9a4aaaecc9e..0439aa74c78f 100644 - Library("audio_coding_module_typedefs_gn") diff --git third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build -index d6a177e4a1df..3a74c65f54c5 100644 +index 195776315412..3a74c65f54c5 100644 --- third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -39915,7 +40580,7 @@ index d6a177e4a1df..3a74c65f54c5 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -39945,6 +40610,10 @@ index d6a177e4a1df..3a74c65f54c5 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -40010,7 +40679,7 @@ index d6a177e4a1df..3a74c65f54c5 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -40097,7 +40766,7 @@ index d6a177e4a1df..3a74c65f54c5 100644 Library("audio_coding_opus_common_gn") diff --git third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build -index 029e63f3adc6..4ff022aa1bf7 100644 +index 922be152895a..4ff022aa1bf7 100644 --- third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -40123,7 +40792,7 @@ index 029e63f3adc6..4ff022aa1bf7 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -40153,6 +40822,10 @@ index 029e63f3adc6..4ff022aa1bf7 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -40218,7 +40891,7 @@ index 029e63f3adc6..4ff022aa1bf7 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -40502,7 +41175,7 @@ index 20606118b736..1228e2b37409 100644 Library("audio_network_adaptor_config_gn") diff --git third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build -index c6133dffb1c5..3b37956886c1 100644 +index 6add12977a9e..3b37956886c1 100644 --- third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -40528,7 +41201,7 @@ index c6133dffb1c5..3b37956886c1 100644 FINAL_LIBRARY = "xul" -@@ -57,93 +66,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -57,97 +66,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -40558,6 +41231,10 @@ index c6133dffb1c5..3b37956886c1 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -40623,7 +41300,7 @@ index c6133dffb1c5..3b37956886c1 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -151,82 +74,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -155,82 +74,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -40907,7 +41584,7 @@ index 3d0f9efa7cc7..b06fb7931b65 100644 Library("g711_c_gn") diff --git third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build -index 4c6b301e7dd8..6f557d5bee52 100644 +index a5111c184b76..6f557d5bee52 100644 --- third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -40933,7 +41610,7 @@ index 4c6b301e7dd8..6f557d5bee52 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -40963,6 +41640,10 @@ index 4c6b301e7dd8..6f557d5bee52 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -41028,7 +41709,7 @@ index 4c6b301e7dd8..6f557d5bee52 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -41312,7 +41993,7 @@ index a239eacbc072..5161c658fa97 100644 Library("g722_c_gn") diff --git third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build -index f53505759de2..0e14afa75bea 100644 +index 4cf75f56eb8f..0e14afa75bea 100644 --- third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -41338,7 +42019,7 @@ index f53505759de2..0e14afa75bea 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -41368,6 +42049,10 @@ index f53505759de2..0e14afa75bea 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -41433,7 +42118,7 @@ index f53505759de2..0e14afa75bea 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -41895,7 +42580,7 @@ index 50e6c6a0c6bf..a73dff4e7514 100644 Library("isac_vad_gn") diff --git third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build -index 97db9c0c5cc9..e0ee21154e25 100644 +index 8a21da472157..e0ee21154e25 100644 --- third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -41921,7 +42606,7 @@ index 97db9c0c5cc9..e0ee21154e25 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -41951,6 +42636,10 @@ index 97db9c0c5cc9..e0ee21154e25 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -42016,7 +42705,7 @@ index 97db9c0c5cc9..e0ee21154e25 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -42103,7 +42792,7 @@ index 97db9c0c5cc9..e0ee21154e25 100644 Library("legacy_encoded_audio_frame_gn") diff --git third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build -index 48f04655a416..9071d05a3847 100644 +index 4f5fbcb203d2..9071d05a3847 100644 --- third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -42129,7 +42818,7 @@ index 48f04655a416..9071d05a3847 100644 FINAL_LIBRARY = "xul" -@@ -81,93 +90,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -81,97 +90,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -42159,6 +42848,10 @@ index 48f04655a416..9071d05a3847 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -42224,7 +42917,7 @@ index 48f04655a416..9071d05a3847 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -175,82 +98,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -179,82 +98,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -42282,10 +42975,10 @@ index 48f04655a416..9071d05a3847 100644 - -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- CXXFLAGS += [ -- "-msse2" -- ] -- + CXXFLAGS += [ + "-msse2" + ] + -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - - DEFINES["_GNU_SOURCE"] = True @@ -42296,10 +42989,10 @@ index 48f04655a416..9071d05a3847 100644 - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - - CXXFLAGS += [ - "-msse2" - ] - +- CXXFLAGS += [ +- "-msse2" +- ] +- - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -42508,7 +43201,7 @@ index ed59090a2737..3bdb558214e0 100644 Library("pcm16b_c_gn") diff --git third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build -index 24ad51e729ff..2f85c4fefd22 100644 +index 8475bfb1ca10..2f85c4fefd22 100644 --- third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -42534,7 +43227,7 @@ index 24ad51e729ff..2f85c4fefd22 100644 FINAL_LIBRARY = "xul" -@@ -49,93 +58,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -49,97 +58,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -42564,6 +43257,10 @@ index 24ad51e729ff..2f85c4fefd22 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -42629,7 +43326,7 @@ index 24ad51e729ff..2f85c4fefd22 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -143,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -147,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -42716,7 +43413,7 @@ index 24ad51e729ff..2f85c4fefd22 100644 Library("pcm16b_gn") diff --git third_party/libwebrtc/modules/audio_coding/red_gn/moz.build third_party/libwebrtc/modules/audio_coding/red_gn/moz.build -index f33600148604..ed6ea700945f 100644 +index 57ca3f133fe2..ed6ea700945f 100644 --- third_party/libwebrtc/modules/audio_coding/red_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/red_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -42742,7 +43439,7 @@ index f33600148604..ed6ea700945f 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -42772,6 +43469,10 @@ index f33600148604..ed6ea700945f 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -42837,7 +43538,7 @@ index f33600148604..ed6ea700945f 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -43125,7 +43826,7 @@ index c8a19b987eaa..ee990f9a98d4 100644 Library("webrtc_cng_gn") diff --git third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build -index 0037cf5e11ab..a12c8d2f5179 100644 +index 83ed51843a2c..a12c8d2f5179 100644 --- third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build @@ -13,6 +13,9 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -43152,7 +43853,7 @@ index 0037cf5e11ab..a12c8d2f5179 100644 FINAL_LIBRARY = "xul" -@@ -51,93 +60,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -51,97 +60,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -43182,6 +43883,10 @@ index 0037cf5e11ab..a12c8d2f5179 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -43247,7 +43952,7 @@ index 0037cf5e11ab..a12c8d2f5179 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -145,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -149,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -43334,7 +44039,7 @@ index 0037cf5e11ab..a12c8d2f5179 100644 Library("webrtc_multiopus_gn") diff --git third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build -index a495d917a366..90a60f628736 100644 +index 70042715a97b..90a60f628736 100644 --- third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build +++ third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build @@ -13,6 +13,9 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -43361,7 +44066,7 @@ index a495d917a366..90a60f628736 100644 FINAL_LIBRARY = "xul" -@@ -51,93 +60,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -51,97 +60,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -43391,6 +44096,10 @@ index a495d917a366..90a60f628736 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -43456,7 +44165,7 @@ index a495d917a366..90a60f628736 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -145,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -149,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -43923,7 +44632,7 @@ index a5c93a18341a..c2caf57806a2 100644 - Library("audio_device_gn") diff --git third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build -index 6a9eba4ab9c7..eaec7997cbd5 100644 +index c77b712d7e4f..eaec7997cbd5 100644 --- third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build +++ third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -43949,7 +44658,7 @@ index 6a9eba4ab9c7..eaec7997cbd5 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -43979,6 +44688,10 @@ index 6a9eba4ab9c7..eaec7997cbd5 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -44044,7 +44757,7 @@ index 6a9eba4ab9c7..eaec7997cbd5 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -44131,7 +44844,7 @@ index 6a9eba4ab9c7..eaec7997cbd5 100644 Library("audio_frame_manipulator_gn") diff --git third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build -index e79bf298085d..0a2b95bc4e9c 100644 +index 7403a1465f0b..0a2b95bc4e9c 100644 --- third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build +++ third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build @@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -44158,7 +44871,7 @@ index e79bf298085d..0a2b95bc4e9c 100644 FINAL_LIBRARY = "xul" -@@ -50,93 +59,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -50,97 +59,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -44188,6 +44901,10 @@ index e79bf298085d..0a2b95bc4e9c 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -44253,7 +44970,7 @@ index e79bf298085d..0a2b95bc4e9c 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -144,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -148,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -44518,7 +45235,7 @@ index 5baea17a1886..292760f2e639 100644 - Library("adaptive_fir_filter_erl_gn") diff --git third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build -index 583bd4786540..45666ddb0617 100644 +index bb6150fd1e5b..45666ddb0617 100644 --- third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/aec3/adaptive_fir_filter_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -44544,7 +45261,7 @@ index 583bd4786540..45666ddb0617 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -44574,6 +45291,10 @@ index 583bd4786540..45666ddb0617 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -44639,7 +45360,7 @@ index 583bd4786540..45666ddb0617 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -44665,7 +45386,7 @@ index 583bd4786540..45666ddb0617 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -44707,7 +45428,7 @@ index 583bd4786540..45666ddb0617 100644 - Library("adaptive_fir_filter_gn") diff --git third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build -index 6888d3c806c6..1174a48c8026 100644 +index 28260864b1d9..1174a48c8026 100644 --- third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build @@ -18,7 +18,10 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -44735,7 +45456,7 @@ index 6888d3c806c6..1174a48c8026 100644 FINAL_LIBRARY = "xul" -@@ -58,122 +67,9 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -58,126 +67,9 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -44765,6 +45486,10 @@ index 6888d3c806c6..1174a48c8026 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -44834,16 +45559,16 @@ index 6888d3c806c6..1174a48c8026 100644 - -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": - -- DEFINES["_DEBUG"] = True -- + DEFINES["_DEBUG"] = True + -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_DEBUG"] = True - -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_DEBUG"] = True - +- DEFINES["_DEBUG"] = True +- -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" @@ -45216,7 +45941,7 @@ index 57b8c0b8f161..1fb0e3aec107 100644 - Library("aec3_common_gn") diff --git third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build -index 1b8c37c920f0..15a7d5f234d0 100644 +index 3919054d03c4..15a7d5f234d0 100644 --- third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_fft_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -45242,7 +45967,7 @@ index 1b8c37c920f0..15a7d5f234d0 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -45272,6 +45997,10 @@ index 1b8c37c920f0..15a7d5f234d0 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -45337,7 +46066,7 @@ index 1b8c37c920f0..15a7d5f234d0 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -45363,7 +46092,7 @@ index 1b8c37c920f0..15a7d5f234d0 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -45405,7 +46134,7 @@ index 1b8c37c920f0..15a7d5f234d0 100644 - Library("aec3_fft_gn") diff --git third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build -index 4ad1f0f62dcb..5e457883e212 100644 +index 31c950010700..5e457883e212 100644 --- third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build @@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -45432,7 +46161,7 @@ index 4ad1f0f62dcb..5e457883e212 100644 FINAL_LIBRARY = "xul" -@@ -104,93 +113,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -104,97 +113,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -45462,6 +46191,10 @@ index 4ad1f0f62dcb..5e457883e212 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -45527,7 +46260,7 @@ index 4ad1f0f62dcb..5e457883e212 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -198,82 +121,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -202,82 +121,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -45585,10 +46318,10 @@ index 4ad1f0f62dcb..5e457883e212 100644 - -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- CXXFLAGS += [ -- "-msse2" -- ] -- + CXXFLAGS += [ + "-msse2" + ] + -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - - DEFINES["_GNU_SOURCE"] = True @@ -45599,10 +46332,10 @@ index 4ad1f0f62dcb..5e457883e212 100644 - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - - CXXFLAGS += [ - "-msse2" - ] - +- CXXFLAGS += [ +- "-msse2" +- ] +- - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -46338,7 +47071,7 @@ index 8f8d46a3f6c7..0f63e9a896b5 100644 - Library("vector_math_gn") diff --git third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build -index 02c2a097723c..3440e86da45e 100644 +index a1b75e72f219..3440e86da45e 100644 --- third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/aec_dump/aec_dump_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -46364,7 +47097,7 @@ index 02c2a097723c..3440e86da45e 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -46394,6 +47127,10 @@ index 02c2a097723c..3440e86da45e 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -46459,7 +47196,7 @@ index 02c2a097723c..3440e86da45e 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -46485,7 +47222,7 @@ index 02c2a097723c..3440e86da45e 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -46527,7 +47264,7 @@ index 02c2a097723c..3440e86da45e 100644 - Library("aec_dump_gn") diff --git third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build -index 0ef019f3c105..9f5c5e5e2677 100644 +index d7e0bdb43531..9f5c5e5e2677 100644 --- third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -46553,7 +47290,7 @@ index 0ef019f3c105..9f5c5e5e2677 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -46583,6 +47320,10 @@ index 0ef019f3c105..9f5c5e5e2677 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -46648,7 +47389,7 @@ index 0ef019f3c105..9f5c5e5e2677 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -46735,7 +47476,7 @@ index 0ef019f3c105..9f5c5e5e2677 100644 Library("null_aec_dump_factory_gn") diff --git third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build -index 1dac1b89d0ea..a19f251853b3 100644 +index 1260dac8ff64..a19f251853b3 100644 --- third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -46761,7 +47502,7 @@ index 1dac1b89d0ea..a19f251853b3 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -46791,6 +47532,10 @@ index 1dac1b89d0ea..a19f251853b3 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -46856,7 +47601,7 @@ index 1dac1b89d0ea..a19f251853b3 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -46943,7 +47688,7 @@ index 1dac1b89d0ea..a19f251853b3 100644 Library("aec_dump_interface_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build -index cfc8e1cf4cce..035dcca36b17 100644 +index 716d57633b9e..035dcca36b17 100644 --- third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build @@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -46970,7 +47715,7 @@ index cfc8e1cf4cce..035dcca36b17 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -47000,6 +47745,10 @@ index cfc8e1cf4cce..035dcca36b17 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -47065,7 +47814,7 @@ index cfc8e1cf4cce..035dcca36b17 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -47531,7 +48280,7 @@ index 8ad68a656de4..db58384d11b3 100644 Library("legacy_agc_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build -index 26cb25a081e9..eb9d1d0e579a 100644 +index 44a1237ad02a..eb9d1d0e579a 100644 --- third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -47557,7 +48306,7 @@ index 26cb25a081e9..eb9d1d0e579a 100644 FINAL_LIBRARY = "xul" -@@ -49,93 +58,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -49,97 +58,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -47587,6 +48336,10 @@ index 26cb25a081e9..eb9d1d0e579a 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -47652,7 +48405,7 @@ index 26cb25a081e9..eb9d1d0e579a 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -143,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -147,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -47739,7 +48492,7 @@ index 26cb25a081e9..eb9d1d0e579a 100644 Library("level_estimation_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build -index ce4382a02519..d9cf34036e50 100644 +index 25db417413db..d9cf34036e50 100644 --- third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build @@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -47766,7 +48519,7 @@ index ce4382a02519..d9cf34036e50 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -47796,6 +48549,10 @@ index ce4382a02519..d9cf34036e50 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -47861,7 +48618,7 @@ index ce4382a02519..d9cf34036e50 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -48149,7 +48906,7 @@ index b0c74cb4311b..43bbcd0e6d49 100644 Library("biquad_filter_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build -index ccb5a09b086f..081f3a4d80f0 100644 +index 54a09dbc1224..081f3a4d80f0 100644 --- third_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -48175,7 +48932,7 @@ index ccb5a09b086f..081f3a4d80f0 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -48205,6 +48962,10 @@ index ccb5a09b086f..081f3a4d80f0 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -48270,7 +49031,7 @@ index ccb5a09b086f..081f3a4d80f0 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -48535,7 +49296,7 @@ index 4b187a3a182f..58074d6889cb 100644 - Library("common_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build -index eebcfa8c41e0..b9813ff1b7de 100644 +index df20ec5a5977..b9813ff1b7de 100644 --- third_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -48561,7 +49322,7 @@ index eebcfa8c41e0..b9813ff1b7de 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -48591,6 +49352,10 @@ index eebcfa8c41e0..b9813ff1b7de 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -48656,7 +49421,7 @@ index eebcfa8c41e0..b9813ff1b7de 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -48743,7 +49508,7 @@ index eebcfa8c41e0..b9813ff1b7de 100644 Library("cpu_features_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build -index c2372b3f623b..d60d4e33a808 100644 +index 9ee44ce8fb94..d60d4e33a808 100644 --- third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build @@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -48770,7 +49535,7 @@ index c2372b3f623b..d60d4e33a808 100644 FINAL_LIBRARY = "xul" -@@ -50,93 +59,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -50,97 +59,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -48800,6 +49565,10 @@ index c2372b3f623b..d60d4e33a808 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -48865,7 +49634,7 @@ index c2372b3f623b..d60d4e33a808 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -144,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -148,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -48952,7 +49721,7 @@ index c2372b3f623b..d60d4e33a808 100644 Library("fixed_digital_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build -index a03a3707f334..491f0c74ce5a 100644 +index d055d64db025..491f0c74ce5a 100644 --- third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -48978,7 +49747,7 @@ index a03a3707f334..491f0c74ce5a 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -49008,6 +49777,10 @@ index a03a3707f334..491f0c74ce5a 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -49073,7 +49846,7 @@ index a03a3707f334..491f0c74ce5a 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -49338,7 +50111,7 @@ index c697c27a0ce8..a08f66b6bad2 100644 - Library("gain_map_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build -index 2b0809631ea1..c5a26d6f1358 100644 +index f4b8a501098e..c5a26d6f1358 100644 --- third_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build @@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -49365,7 +50138,7 @@ index 2b0809631ea1..c5a26d6f1358 100644 FINAL_LIBRARY = "xul" -@@ -49,93 +58,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -49,97 +58,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -49395,6 +50168,10 @@ index 2b0809631ea1..c5a26d6f1358 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -49460,7 +50237,7 @@ index 2b0809631ea1..c5a26d6f1358 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -143,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -147,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -49547,7 +50324,7 @@ index 2b0809631ea1..c5a26d6f1358 100644 Library("input_volume_controller_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build -index 816c0921b9f9..9fd99822b99e 100644 +index f827635e93f2..9fd99822b99e 100644 --- third_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -49573,7 +50350,7 @@ index 816c0921b9f9..9fd99822b99e 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -49603,6 +50380,10 @@ index 816c0921b9f9..9fd99822b99e 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -49668,7 +50449,7 @@ index 816c0921b9f9..9fd99822b99e 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -49755,7 +50536,7 @@ index 816c0921b9f9..9fd99822b99e 100644 Library("input_volume_stats_reporter_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build -index c5948680fd65..2386e652cbc7 100644 +index 3558f72cbcc3..2386e652cbc7 100644 --- third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build @@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -49782,7 +50563,7 @@ index c5948680fd65..2386e652cbc7 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -49812,6 +50593,10 @@ index c5948680fd65..2386e652cbc7 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -49877,7 +50662,7 @@ index c5948680fd65..2386e652cbc7 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -49964,7 +50749,7 @@ index c5948680fd65..2386e652cbc7 100644 Library("noise_level_estimator_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build -index e80978e5cdaf..09d4146ea8f1 100644 +index 779485c803c3..09d4146ea8f1 100644 --- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -49990,7 +50775,7 @@ index e80978e5cdaf..09d4146ea8f1 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -50020,6 +50805,10 @@ index e80978e5cdaf..09d4146ea8f1 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -50085,7 +50874,7 @@ index e80978e5cdaf..09d4146ea8f1 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -50172,7 +50961,7 @@ index e80978e5cdaf..09d4146ea8f1 100644 Library("rnn_vad_auto_correlation_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_common_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_common_gn/moz.build -index 1c2f9ab1c01f..07edd1aa9d7c 100644 +index 1c7e4cffdaf3..07edd1aa9d7c 100644 --- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_common_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_common_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -50198,7 +50987,7 @@ index 1c2f9ab1c01f..07edd1aa9d7c 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -50228,6 +51017,10 @@ index 1c2f9ab1c01f..07edd1aa9d7c 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -50293,7 +51086,7 @@ index 1c2f9ab1c01f..07edd1aa9d7c 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -50319,7 +51112,7 @@ index 1c2f9ab1c01f..07edd1aa9d7c 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -50361,7 +51154,7 @@ index 1c2f9ab1c01f..07edd1aa9d7c 100644 - Library("rnn_vad_common_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build -index c863dcef01bf..b8a40a793232 100644 +index e095d8b3b035..b8a40a793232 100644 --- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -50387,7 +51180,7 @@ index c863dcef01bf..b8a40a793232 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -50417,6 +51210,10 @@ index c863dcef01bf..b8a40a793232 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -50482,7 +51279,7 @@ index c863dcef01bf..b8a40a793232 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -50569,7 +51366,7 @@ index c863dcef01bf..b8a40a793232 100644 Library("rnn_vad_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build -index 391cfeba55f4..7a1873183c70 100644 +index 4559a13d49c3..7a1873183c70 100644 --- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -50595,7 +51392,7 @@ index 391cfeba55f4..7a1873183c70 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -50625,6 +51422,10 @@ index 391cfeba55f4..7a1873183c70 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -50690,7 +51491,7 @@ index 391cfeba55f4..7a1873183c70 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -50978,7 +51779,7 @@ index e4eb3ba4aa0d..ccbc575bc520 100644 Library("rnn_vad_lp_residual_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build -index 377f759bcd98..b30c2d06c68b 100644 +index 5ce8b4f5ae5b..b30c2d06c68b 100644 --- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -51004,7 +51805,7 @@ index 377f759bcd98..b30c2d06c68b 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -51034,6 +51835,10 @@ index 377f759bcd98..b30c2d06c68b 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -51099,7 +51904,7 @@ index 377f759bcd98..b30c2d06c68b 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -51550,7 +52355,7 @@ index b6a617ed9a96..0f451d548c44 100644 - Library("rnn_vad_sequence_buffer_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build -index 43938e24b95d..ff5d90af56ac 100644 +index 7d373809e0c7..ff5d90af56ac 100644 --- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -51576,7 +52381,7 @@ index 43938e24b95d..ff5d90af56ac 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -51606,6 +52411,10 @@ index 43938e24b95d..ff5d90af56ac 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -51671,7 +52480,7 @@ index 43938e24b95d..ff5d90af56ac 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -51940,7 +52749,7 @@ index df2a7efa8099..cf914de003f9 100644 - Library("rnn_vad_symmetric_matrix_buffer_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build -index b490f7098db7..acd050036c23 100644 +index c013adb8672a..acd050036c23 100644 --- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build @@ -18,6 +18,9 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -51967,7 +52776,7 @@ index b490f7098db7..acd050036c23 100644 FINAL_LIBRARY = "xul" -@@ -53,122 +62,9 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -53,126 +62,9 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -51997,6 +52806,10 @@ index b490f7098db7..acd050036c23 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -52066,16 +52879,16 @@ index b490f7098db7..acd050036c23 100644 - -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": - -- DEFINES["_DEBUG"] = True -- + DEFINES["_DEBUG"] = True + -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": - - DEFINES["_DEBUG"] = True - -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": - - DEFINES["_DEBUG"] = True - +- DEFINES["_DEBUG"] = True +- -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" @@ -52092,7 +52905,7 @@ index b490f7098db7..acd050036c23 100644 CXXFLAGS += [ "-msse2" diff --git third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_gn/moz.build -index 2cc163c01c0b..0f63e9a896b5 100644 +index e7e525b03e9c..0f63e9a896b5 100644 --- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -52118,7 +52931,7 @@ index 2cc163c01c0b..0f63e9a896b5 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -52148,6 +52961,10 @@ index 2cc163c01c0b..0f63e9a896b5 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -52213,7 +53030,7 @@ index 2cc163c01c0b..0f63e9a896b5 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -52239,7 +53056,7 @@ index 2cc163c01c0b..0f63e9a896b5 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -52281,7 +53098,7 @@ index 2cc163c01c0b..0f63e9a896b5 100644 - Library("vector_math_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build -index 40a71bc89ec9..9f8e73a277c6 100644 +index ca139593aa9f..9f8e73a277c6 100644 --- third_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build @@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -52308,7 +53125,7 @@ index 40a71bc89ec9..9f8e73a277c6 100644 FINAL_LIBRARY = "xul" -@@ -49,93 +58,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -49,97 +58,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -52338,6 +53155,10 @@ index 40a71bc89ec9..9f8e73a277c6 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -52403,7 +53224,7 @@ index 40a71bc89ec9..9f8e73a277c6 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -143,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -147,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -52490,7 +53311,7 @@ index 40a71bc89ec9..9f8e73a277c6 100644 Library("saturation_protector_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build -index 7d60dd33ced1..f88ad6725035 100644 +index c973934bdb92..f88ad6725035 100644 --- third_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build @@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -52517,7 +53338,7 @@ index 7d60dd33ced1..f88ad6725035 100644 FINAL_LIBRARY = "xul" -@@ -53,93 +62,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -53,97 +62,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -52547,6 +53368,10 @@ index 7d60dd33ced1..f88ad6725035 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -52612,7 +53437,7 @@ index 7d60dd33ced1..f88ad6725035 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -147,82 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -151,82 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -52699,7 +53524,7 @@ index 7d60dd33ced1..f88ad6725035 100644 Library("speech_level_estimator_gn") diff --git third_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build third_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build -index 92860ca86d3d..947083703682 100644 +index dbbf2a0ff966..947083703682 100644 --- third_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -52725,7 +53550,7 @@ index 92860ca86d3d..947083703682 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -52755,6 +53580,10 @@ index 92860ca86d3d..947083703682 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -52820,7 +53649,7 @@ index 92860ca86d3d..947083703682 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -52907,7 +53736,7 @@ index 92860ca86d3d..947083703682 100644 Library("vad_wrapper_gn") diff --git third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build -index 65f4af2f6f8e..4d2b4ffbc680 100644 +index b662753fc6fb..4d2b4ffbc680 100644 --- third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build @@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -52934,7 +53763,7 @@ index 65f4af2f6f8e..4d2b4ffbc680 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -52964,6 +53793,10 @@ index 65f4af2f6f8e..4d2b4ffbc680 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -53029,7 +53862,7 @@ index 65f4af2f6f8e..4d2b4ffbc680 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -53116,7 +53949,7 @@ index 65f4af2f6f8e..4d2b4ffbc680 100644 Library("apm_logging_gn") diff --git third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build -index ee233ae04e22..563f24f886a0 100644 +index 10f52e3adc3f..563f24f886a0 100644 --- third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build @@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -53143,7 +53976,7 @@ index ee233ae04e22..563f24f886a0 100644 FINAL_LIBRARY = "xul" -@@ -50,93 +59,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -50,97 +59,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -53173,6 +54006,10 @@ index ee233ae04e22..563f24f886a0 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -53238,7 +54075,7 @@ index ee233ae04e22..563f24f886a0 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -144,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -148,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -53325,7 +54162,7 @@ index ee233ae04e22..563f24f886a0 100644 Library("audio_buffer_gn") diff --git third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build -index c5d7fe6b7328..000bdba07952 100644 +index 0ce0e9fea9aa..000bdba07952 100644 --- third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -53351,7 +54188,7 @@ index c5d7fe6b7328..000bdba07952 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -53381,6 +54218,10 @@ index c5d7fe6b7328..000bdba07952 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -53446,7 +54287,7 @@ index c5d7fe6b7328..000bdba07952 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -53533,7 +54374,7 @@ index c5d7fe6b7328..000bdba07952 100644 Library("audio_frame_proxies_gn") diff --git third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build -index af893c8620d4..619ac53af4fd 100644 +index b8dd6ddca9f4..619ac53af4fd 100644 --- third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/audio_frame_view_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -53559,7 +54400,7 @@ index af893c8620d4..619ac53af4fd 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -53589,6 +54430,10 @@ index af893c8620d4..619ac53af4fd 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -53654,7 +54499,7 @@ index af893c8620d4..619ac53af4fd 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -53680,7 +54525,7 @@ index af893c8620d4..619ac53af4fd 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -53722,7 +54567,7 @@ index af893c8620d4..619ac53af4fd 100644 - Library("audio_frame_view_gn") diff --git third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build -index e20511053e8b..3b74e7d4a31a 100644 +index 1c94a75ad7d4..3b74e7d4a31a 100644 --- third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build @@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -53749,7 +54594,7 @@ index e20511053e8b..3b74e7d4a31a 100644 FINAL_LIBRARY = "xul" -@@ -52,93 +61,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -52,97 +61,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -53779,6 +54624,10 @@ index e20511053e8b..3b74e7d4a31a 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -53844,7 +54693,7 @@ index e20511053e8b..3b74e7d4a31a 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -146,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -150,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -53931,7 +54780,7 @@ index e20511053e8b..3b74e7d4a31a 100644 Library("audio_processing_gn") diff --git third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build -index 2590aa7a0653..c24cf63d85a7 100644 +index 4f1e85b02416..c24cf63d85a7 100644 --- third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -53957,7 +54806,7 @@ index 2590aa7a0653..c24cf63d85a7 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -53987,6 +54836,10 @@ index 2590aa7a0653..c24cf63d85a7 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -54052,7 +54905,7 @@ index 2590aa7a0653..c24cf63d85a7 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -54340,7 +55193,7 @@ index e3661bcce03f..9f0009d718b0 100644 Library("capture_mixer_gn") diff --git third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build -index 2248841be006..0f39a4b8469a 100644 +index 39ed4d973731..0f39a4b8469a 100644 --- third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build @@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -54367,7 +55220,7 @@ index 2248841be006..0f39a4b8469a 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -54397,6 +55250,10 @@ index 2248841be006..0f39a4b8469a 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -54462,7 +55319,7 @@ index 2248841be006..0f39a4b8469a 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -54549,7 +55406,7 @@ index 2248841be006..0f39a4b8469a 100644 Library("gain_controller2_gn") diff --git third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build -index 81429e35ad20..9aa2432f7d73 100644 +index 36b5dcdaf435..9aa2432f7d73 100644 --- third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -54575,7 +55432,7 @@ index 81429e35ad20..9aa2432f7d73 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -54605,6 +55462,10 @@ index 81429e35ad20..9aa2432f7d73 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -54670,7 +55531,7 @@ index 81429e35ad20..9aa2432f7d73 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -54757,7 +55618,7 @@ index 81429e35ad20..9aa2432f7d73 100644 Library("high_pass_filter_gn") diff --git third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build -index 3c3dca361b95..043bab4e4a17 100644 +index 8f7a1df80c40..043bab4e4a17 100644 --- third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build @@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -54784,7 +55645,7 @@ index 3c3dca361b95..043bab4e4a17 100644 FINAL_LIBRARY = "xul" -@@ -60,93 +69,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -60,97 +69,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -54814,6 +55675,10 @@ index 3c3dca361b95..043bab4e4a17 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -54879,7 +55744,7 @@ index 3c3dca361b95..043bab4e4a17 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -154,82 +77,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -158,82 +77,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -54966,7 +55831,7 @@ index 3c3dca361b95..043bab4e4a17 100644 Library("ns_gn") diff --git third_party/libwebrtc/modules/audio_processing/post_filter_gn/moz.build third_party/libwebrtc/modules/audio_processing/post_filter_gn/moz.build -index db41e6cb397c..5e777312db99 100644 +index 9fa9fcc5fb67..5e777312db99 100644 --- third_party/libwebrtc/modules/audio_processing/post_filter_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/post_filter_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -54992,7 +55857,7 @@ index db41e6cb397c..5e777312db99 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -55022,6 +55887,10 @@ index db41e6cb397c..5e777312db99 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -55087,7 +55956,7 @@ index db41e6cb397c..5e777312db99 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -55777,7 +56646,7 @@ index 793b82cf22cf..090e7a2468fa 100644 Library("pffft_wrapper_gn") diff --git third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build -index 0a46e9cb6907..9e734bcac493 100644 +index 6e836392b26a..9e734bcac493 100644 --- third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build +++ third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -55803,7 +56672,7 @@ index 0a46e9cb6907..9e734bcac493 100644 FINAL_LIBRARY = "xul" -@@ -54,93 +63,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -54,97 +63,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -55833,6 +56702,10 @@ index 0a46e9cb6907..9e734bcac493 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -55898,7 +56771,7 @@ index 0a46e9cb6907..9e734bcac493 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -148,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -152,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -55985,7 +56858,7 @@ index 0a46e9cb6907..9e734bcac493 100644 Library("vad_gn") diff --git third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build -index 07ac2661dca6..27f6d43d3f54 100644 +index d043c3a69831..27f6d43d3f54 100644 --- third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build +++ third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -56011,7 +56884,7 @@ index 07ac2661dca6..27f6d43d3f54 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -56041,6 +56914,10 @@ index 07ac2661dca6..27f6d43d3f54 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -56106,7 +56983,7 @@ index 07ac2661dca6..27f6d43d3f54 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -56193,7 +57070,7 @@ index 07ac2661dca6..27f6d43d3f54 100644 Library("congestion_controller_gn") diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build -index f82d97c561bc..af8994f4fc78 100644 +index bb2fd42f6e25..af8994f4fc78 100644 --- third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build +++ third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -56219,7 +57096,7 @@ index f82d97c561bc..af8994f4fc78 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -56249,6 +57126,10 @@ index f82d97c561bc..af8994f4fc78 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -56314,7 +57195,7 @@ index f82d97c561bc..af8994f4fc78 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -56401,7 +57282,7 @@ index f82d97c561bc..af8994f4fc78 100644 Library("alr_detector_gn") diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build -index e32c4d634593..02dabc7b801d 100644 +index 7fd103b91dc1..02dabc7b801d 100644 --- third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build +++ third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -56427,7 +57308,7 @@ index e32c4d634593..02dabc7b801d 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -56457,6 +57338,10 @@ index e32c4d634593..02dabc7b801d 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -56522,7 +57407,7 @@ index e32c4d634593..02dabc7b801d 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -56609,7 +57494,7 @@ index e32c4d634593..02dabc7b801d 100644 Library("delay_based_bwe_gn") diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build -index 2ff7d7e61721..db8bb8347bf0 100644 +index 9159bca22ea2..db8bb8347bf0 100644 --- third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build +++ third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -56635,7 +57520,7 @@ index 2ff7d7e61721..db8bb8347bf0 100644 FINAL_LIBRARY = "xul" -@@ -52,93 +61,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -52,97 +61,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -56665,6 +57550,10 @@ index 2ff7d7e61721..db8bb8347bf0 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -56730,7 +57619,7 @@ index 2ff7d7e61721..db8bb8347bf0 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -146,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -150,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -56817,7 +57706,7 @@ index 2ff7d7e61721..db8bb8347bf0 100644 Library("estimators_gn") diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build -index 46969cf2f137..13d7bdbe4118 100644 +index 04cec7fd3225..13d7bdbe4118 100644 --- third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build +++ third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -56843,7 +57732,7 @@ index 46969cf2f137..13d7bdbe4118 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -56873,6 +57762,10 @@ index 46969cf2f137..13d7bdbe4118 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -56938,7 +57831,7 @@ index 46969cf2f137..13d7bdbe4118 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -57226,7 +58119,7 @@ index 352c645526be..5ef0797339f3 100644 Library("link_capacity_estimator_gn") diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2_gn/moz.build -index c2b83818ef52..1675e39cdcdf 100644 +index 8458d6479656..1675e39cdcdf 100644 --- third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2_gn/moz.build +++ third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -57252,7 +58145,7 @@ index c2b83818ef52..1675e39cdcdf 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -57282,6 +58175,10 @@ index c2b83818ef52..1675e39cdcdf 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -57347,7 +58244,7 @@ index c2b83818ef52..1675e39cdcdf 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -57434,7 +58331,7 @@ index c2b83818ef52..1675e39cdcdf 100644 Library("loss_based_bwe_v2_gn") diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build -index c4e15050b1cc..c5bfa65be497 100644 +index 1a5f81fb70b4..c5bfa65be497 100644 --- third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build +++ third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -57460,7 +58357,7 @@ index c4e15050b1cc..c5bfa65be497 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -57490,6 +58387,10 @@ index c4e15050b1cc..c5bfa65be497 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -57555,7 +58456,7 @@ index c4e15050b1cc..c5bfa65be497 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -57642,7 +58543,7 @@ index c4e15050b1cc..c5bfa65be497 100644 Library("probe_controller_gn") diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build -index 08d86b5be297..fec6c2f95993 100644 +index bd52cce46248..fec6c2f95993 100644 --- third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build +++ third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -57668,7 +58569,7 @@ index 08d86b5be297..fec6c2f95993 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -57698,6 +58599,10 @@ index 08d86b5be297..fec6c2f95993 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -57763,7 +58668,7 @@ index 08d86b5be297..fec6c2f95993 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -57850,7 +58755,7 @@ index 08d86b5be297..fec6c2f95993 100644 Library("pushback_controller_gn") diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build -index 5ab5bde3e74b..792fd219d079 100644 +index 2837ee9e77b8..792fd219d079 100644 --- third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build +++ third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -57876,7 +58781,7 @@ index 5ab5bde3e74b..792fd219d079 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -57906,6 +58811,10 @@ index 5ab5bde3e74b..792fd219d079 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -57971,7 +58880,7 @@ index 5ab5bde3e74b..792fd219d079 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -58058,7 +58967,7 @@ index 5ab5bde3e74b..792fd219d079 100644 Library("send_side_bwe_gn") diff --git third_party/libwebrtc/modules/congestion_controller/goog_cc_scream_network_controller/goog_cc_scream_network_controller_gn/moz.build third_party/libwebrtc/modules/congestion_controller/goog_cc_scream_network_controller/goog_cc_scream_network_controller_gn/moz.build -index 0290b6ee1401..a5b54c3b8df2 100644 +index f066e7b01018..a5b54c3b8df2 100644 --- third_party/libwebrtc/modules/congestion_controller/goog_cc_scream_network_controller/goog_cc_scream_network_controller_gn/moz.build +++ third_party/libwebrtc/modules/congestion_controller/goog_cc_scream_network_controller/goog_cc_scream_network_controller_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -58084,7 +58993,7 @@ index 0290b6ee1401..a5b54c3b8df2 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -58114,6 +59023,10 @@ index 0290b6ee1401..a5b54c3b8df2 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -58179,7 +59092,7 @@ index 0290b6ee1401..a5b54c3b8df2 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -58444,7 +59357,7 @@ index 3857af3c7eba..a396a8b274e5 100644 - Library("congestion_controller_feedback_stats_gn") diff --git third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build -index 61c31e73cea7..79fdd5090fcd 100644 +index 34f45b76dc87..79fdd5090fcd 100644 --- third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build +++ third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -58470,7 +59383,7 @@ index 61c31e73cea7..79fdd5090fcd 100644 FINAL_LIBRARY = "xul" -@@ -47,94 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -58490,7 +59403,6 @@ index 61c31e73cea7..79fdd5090fcd 100644 - DEFINES["__STDC_FORMAT_MACROS"] = True - - OS_LIBS += [ -- "GLESv2", - "log" - ] - @@ -58501,6 +59413,10 @@ index 61c31e73cea7..79fdd5090fcd 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -58566,7 +59482,7 @@ index 61c31e73cea7..79fdd5090fcd 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -58653,7 +59569,7 @@ index 61c31e73cea7..79fdd5090fcd 100644 Library("control_handler_gn") diff --git third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build -index 6de5ef87bd40..3c9395d318df 100644 +index b743de5e6746..3c9395d318df 100644 --- third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build +++ third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -58679,7 +59595,7 @@ index 6de5ef87bd40..3c9395d318df 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -58709,6 +59625,10 @@ index 6de5ef87bd40..3c9395d318df 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -58774,7 +59694,7 @@ index 6de5ef87bd40..3c9395d318df 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -58861,7 +59781,7 @@ index 6de5ef87bd40..3c9395d318df 100644 Library("transport_feedback_gn") diff --git third_party/libwebrtc/modules/congestion_controller/scream/delay_based_congestion_control_gn/moz.build third_party/libwebrtc/modules/congestion_controller/scream/delay_based_congestion_control_gn/moz.build -index f2c810f376fa..299134f28d78 100644 +index edce755363a0..299134f28d78 100644 --- third_party/libwebrtc/modules/congestion_controller/scream/delay_based_congestion_control_gn/moz.build +++ third_party/libwebrtc/modules/congestion_controller/scream/delay_based_congestion_control_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -58887,7 +59807,7 @@ index f2c810f376fa..299134f28d78 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -58917,6 +59837,10 @@ index f2c810f376fa..299134f28d78 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -58982,7 +59906,7 @@ index f2c810f376fa..299134f28d78 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -59068,8 +59992,432 @@ index f2c810f376fa..299134f28d78 100644 + DEFINES["WEBRTC_ENABLE_AVX2"] = True Library("delay_based_congestion_control_gn") +diff --git third_party/libwebrtc/modules/congestion_controller/scream/loss_estimator_gn/moz.build third_party/libwebrtc/modules/congestion_controller/scream/loss_estimator_gn/moz.build +index da0cb9a0770d..6c6d42278fb8 100644 +--- third_party/libwebrtc/modules/congestion_controller/scream/loss_estimator_gn/moz.build ++++ third_party/libwebrtc/modules/congestion_controller/scream/loss_estimator_gn/moz.build +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" + DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" + DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True + DEFINES["RTC_ENABLE_VP9"] = True ++DEFINES["USE_GLIB"] = "1" ++DEFINES["USE_OZONE"] = "1" ++DEFINES["WEBRTC_BSD"] = True + DEFINES["WEBRTC_DEPRECATE_PLAN_B"] = True + DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" + DEFINES["WEBRTC_ENCODER_PSNR_STATS"] = True + DEFINES["WEBRTC_LIBRARY_IMPL"] = True + DEFINES["WEBRTC_MOZILLA_BUILD"] = True + DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" ++DEFINES["WEBRTC_POSIX"] = True + DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" ++DEFINES["_FILE_OFFSET_BITS"] = "64" ++DEFINES["_LARGEFILE64_SOURCE"] = True ++DEFINES["_LARGEFILE_SOURCE"] = True ++DEFINES["__STDC_CONSTANT_MACROS"] = True ++DEFINES["__STDC_FORMAT_MACROS"] = True + + FINAL_LIBRARY = "xul" + +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: + if CONFIG["MOZ_DEBUG"] == "1": + + DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" +- +-if CONFIG["OS_TARGET"] == "Android": +- +- DEFINES["ANDROID"] = True +- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" +- DEFINES["HAVE_SYS_UIO_H"] = True +- DEFINES["WEBRTC_ANDROID"] = True +- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True +- DEFINES["WEBRTC_LINUX"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["_GNU_SOURCE"] = True +- DEFINES["__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +- OS_LIBS += [ +- "log" +- ] +- +-if CONFIG["OS_TARGET"] == "Darwin": +- +- DEFINES["WEBRTC_MAC"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +- OS_LIBS += [ +- "-framework Foundation" +- ] +- +-if CONFIG["OS_TARGET"] == "Linux": +- +- DEFINES["USE_AURA"] = "1" +- DEFINES["USE_GLIB"] = "1" +- DEFINES["USE_OZONE"] = "1" +- DEFINES["USE_UDEV"] = True +- DEFINES["WEBRTC_LINUX"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["_FILE_OFFSET_BITS"] = "64" +- DEFINES["_LARGEFILE64_SOURCE"] = True +- DEFINES["_LARGEFILE_SOURCE"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +-if CONFIG["OS_TARGET"] == "OpenBSD": +- +- DEFINES["USE_GLIB"] = "1" +- DEFINES["USE_OZONE"] = "1" +- DEFINES["WEBRTC_BSD"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["_FILE_OFFSET_BITS"] = "64" +- DEFINES["_LARGEFILE64_SOURCE"] = True +- DEFINES["_LARGEFILE_SOURCE"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +-if CONFIG["OS_TARGET"] == "WINNT": +- +- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True +- DEFINES["NOMINMAX"] = True +- DEFINES["NTDDI_VERSION"] = "0x0A000000" +- DEFINES["PSAPI_VERSION"] = "2" +- DEFINES["RTC_ENABLE_WIN_WGC"] = True +- DEFINES["UNICODE"] = True +- DEFINES["USE_AURA"] = "1" +- DEFINES["WEBRTC_WIN"] = True +- DEFINES["WIN32"] = True +- DEFINES["WIN32_LEAN_AND_MEAN"] = True +- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" +- DEFINES["WINVER"] = "0x0A00" +- DEFINES["_ATL_NO_OPENGL"] = True +- DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True +- DEFINES["_CRT_RAND_S"] = True +- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True +- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True +- DEFINES["_HAS_EXCEPTIONS"] = "0" +- DEFINES["_HAS_NODISCARD"] = True +- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True +- DEFINES["_SECURE_ATL"] = True +- DEFINES["_UNICODE"] = True +- DEFINES["_WIN32_WINNT"] = "0x0A00" +- DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True +- DEFINES["__STD_C"] = True +- +- OS_LIBS += [ +- "crypt32", +- "iphlpapi", +- "secur32", +- "winmm" +- ] ++ DEFINES["_DEBUG"] = True + + if CONFIG["TARGET_CPU"] == "aarch64": + +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": + DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" + +-if CONFIG["TARGET_CPU"] == "arm": +- +- CXXFLAGS += [ +- "-mfpu=neon" +- ] +- +- DEFINES["WEBRTC_ARCH_ARM"] = True +- DEFINES["WEBRTC_ARCH_ARM_V7"] = True +- DEFINES["WEBRTC_HAS_NEON"] = True +- +-if CONFIG["TARGET_CPU"] == "loongarch64": +- +- DEFINES["_GNU_SOURCE"] = True +- + if CONFIG["TARGET_CPU"] == "mips32": + + DEFINES["MIPS32_LE"] = True + DEFINES["MIPS_FPU_LE"] = True +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["TARGET_CPU"] == "mips64": +- +- DEFINES["_GNU_SOURCE"] = True + + if CONFIG["TARGET_CPU"] == "x86": + +- DEFINES["WEBRTC_ENABLE_AVX2"] = True +- +-if CONFIG["TARGET_CPU"] == "x86_64": +- +- DEFINES["WEBRTC_ENABLE_AVX2"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": +- +- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" +- +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": +- + CXXFLAGS += [ + "-msse2" + ] + +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": +- +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": +- +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": +- +- CXXFLAGS += [ +- "-msse2" +- ] +- +- DEFINES["_GNU_SOURCE"] = True ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True + +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": ++if CONFIG["TARGET_CPU"] == "x86_64": + +- DEFINES["_GNU_SOURCE"] = True ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True + + Library("loss_estimator_gn") +diff --git third_party/libwebrtc/modules/congestion_controller/scream/scream_feedback_gn/moz.build third_party/libwebrtc/modules/congestion_controller/scream/scream_feedback_gn/moz.build +index 4b8ec686bea2..e3f7c488259a 100644 +--- third_party/libwebrtc/modules/congestion_controller/scream/scream_feedback_gn/moz.build ++++ third_party/libwebrtc/modules/congestion_controller/scream/scream_feedback_gn/moz.build +@@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" + DEFINES["PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII"] = "0" + DEFINES["RTC_DAV1D_IN_INTERNAL_DECODER_FACTORY"] = True + DEFINES["RTC_ENABLE_VP9"] = True ++DEFINES["USE_GLIB"] = "1" ++DEFINES["USE_OZONE"] = "1" ++DEFINES["WEBRTC_BSD"] = True + DEFINES["WEBRTC_DEPRECATE_PLAN_B"] = True + DEFINES["WEBRTC_ENABLE_PROTOBUF"] = "0" + DEFINES["WEBRTC_ENCODER_PSNR_STATS"] = True + DEFINES["WEBRTC_LIBRARY_IMPL"] = True + DEFINES["WEBRTC_MOZILLA_BUILD"] = True + DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0" ++DEFINES["WEBRTC_POSIX"] = True + DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0" ++DEFINES["_FILE_OFFSET_BITS"] = "64" ++DEFINES["_LARGEFILE64_SOURCE"] = True ++DEFINES["_LARGEFILE_SOURCE"] = True ++DEFINES["__STDC_CONSTANT_MACROS"] = True ++DEFINES["__STDC_FORMAT_MACROS"] = True + + FINAL_LIBRARY = "xul" + +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: + if CONFIG["MOZ_DEBUG"] == "1": + + DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" +- +-if CONFIG["OS_TARGET"] == "Android": +- +- DEFINES["ANDROID"] = True +- DEFINES["ANDROID_NDK_VERSION_ROLL"] = "r27_1" +- DEFINES["HAVE_SYS_UIO_H"] = True +- DEFINES["WEBRTC_ANDROID"] = True +- DEFINES["WEBRTC_ANDROID_OPENSLES"] = True +- DEFINES["WEBRTC_LINUX"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["_GNU_SOURCE"] = True +- DEFINES["__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +- OS_LIBS += [ +- "log" +- ] +- +-if CONFIG["OS_TARGET"] == "Darwin": +- +- DEFINES["WEBRTC_MAC"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +- OS_LIBS += [ +- "-framework Foundation" +- ] +- +-if CONFIG["OS_TARGET"] == "Linux": +- +- DEFINES["USE_AURA"] = "1" +- DEFINES["USE_GLIB"] = "1" +- DEFINES["USE_OZONE"] = "1" +- DEFINES["USE_UDEV"] = True +- DEFINES["WEBRTC_LINUX"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["_FILE_OFFSET_BITS"] = "64" +- DEFINES["_LARGEFILE64_SOURCE"] = True +- DEFINES["_LARGEFILE_SOURCE"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +-if CONFIG["OS_TARGET"] == "OpenBSD": +- +- DEFINES["USE_GLIB"] = "1" +- DEFINES["USE_OZONE"] = "1" +- DEFINES["WEBRTC_BSD"] = True +- DEFINES["WEBRTC_POSIX"] = True +- DEFINES["_FILE_OFFSET_BITS"] = "64" +- DEFINES["_LARGEFILE64_SOURCE"] = True +- DEFINES["_LARGEFILE_SOURCE"] = True +- DEFINES["__STDC_CONSTANT_MACROS"] = True +- DEFINES["__STDC_FORMAT_MACROS"] = True +- +-if CONFIG["OS_TARGET"] == "WINNT": +- +- DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True +- DEFINES["NOMINMAX"] = True +- DEFINES["NTDDI_VERSION"] = "0x0A000000" +- DEFINES["PSAPI_VERSION"] = "2" +- DEFINES["RTC_ENABLE_WIN_WGC"] = True +- DEFINES["UNICODE"] = True +- DEFINES["USE_AURA"] = "1" +- DEFINES["WEBRTC_WIN"] = True +- DEFINES["WIN32"] = True +- DEFINES["WIN32_LEAN_AND_MEAN"] = True +- DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" +- DEFINES["WINVER"] = "0x0A00" +- DEFINES["_ATL_NO_OPENGL"] = True +- DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True +- DEFINES["_CRT_RAND_S"] = True +- DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True +- DEFINES["_ENABLE_EXTENDED_ALIGNED_STORAGE"] = True +- DEFINES["_HAS_EXCEPTIONS"] = "0" +- DEFINES["_HAS_NODISCARD"] = True +- DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True +- DEFINES["_SECURE_ATL"] = True +- DEFINES["_UNICODE"] = True +- DEFINES["_WIN32_WINNT"] = "0x0A00" +- DEFINES["_WINDOWS"] = True +- DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True +- DEFINES["__STD_C"] = True +- +- OS_LIBS += [ +- "crypt32", +- "iphlpapi", +- "secur32", +- "winmm" +- ] ++ DEFINES["_DEBUG"] = True + + if CONFIG["TARGET_CPU"] == "aarch64": + +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": + DEFINES["WEBRTC_HAS_NEON"] = True + DEFINES["__ARM_NEON__"] = "1" + +-if CONFIG["TARGET_CPU"] == "arm": +- +- CXXFLAGS += [ +- "-mfpu=neon" +- ] +- +- DEFINES["WEBRTC_ARCH_ARM"] = True +- DEFINES["WEBRTC_ARCH_ARM_V7"] = True +- DEFINES["WEBRTC_HAS_NEON"] = True +- +-if CONFIG["TARGET_CPU"] == "loongarch64": +- +- DEFINES["_GNU_SOURCE"] = True +- + if CONFIG["TARGET_CPU"] == "mips32": + + DEFINES["MIPS32_LE"] = True + DEFINES["MIPS_FPU_LE"] = True +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["TARGET_CPU"] == "mips64": +- +- DEFINES["_GNU_SOURCE"] = True + + if CONFIG["TARGET_CPU"] == "x86": + +- DEFINES["WEBRTC_ENABLE_AVX2"] = True +- +-if CONFIG["TARGET_CPU"] == "x86_64": +- +- DEFINES["WEBRTC_ENABLE_AVX2"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Darwin": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Linux": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "OpenBSD": +- +- DEFINES["_DEBUG"] = True +- +-if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "WINNT": +- +- DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" +- +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": +- + CXXFLAGS += [ + "-msse2" + ] + +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": +- +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": +- +- DEFINES["_GNU_SOURCE"] = True +- +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": +- +- CXXFLAGS += [ +- "-msse2" +- ] +- +- DEFINES["_GNU_SOURCE"] = True ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True + +-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": ++if CONFIG["TARGET_CPU"] == "x86_64": + +- DEFINES["_GNU_SOURCE"] = True ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True + + Library("scream_feedback_gn") diff --git third_party/libwebrtc/modules/congestion_controller/scream/scream_network_controller_gn/moz.build third_party/libwebrtc/modules/congestion_controller/scream/scream_network_controller_gn/moz.build -index 43938ca70a1e..315862fc1150 100644 +index 379eedaba545..315862fc1150 100644 --- third_party/libwebrtc/modules/congestion_controller/scream/scream_network_controller_gn/moz.build +++ third_party/libwebrtc/modules/congestion_controller/scream/scream_network_controller_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -59095,7 +60443,7 @@ index 43938ca70a1e..315862fc1150 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -59125,6 +60473,10 @@ index 43938ca70a1e..315862fc1150 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -59190,7 +60542,7 @@ index 43938ca70a1e..315862fc1150 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -59277,7 +60629,7 @@ index 43938ca70a1e..315862fc1150 100644 Library("scream_network_controller_gn") diff --git third_party/libwebrtc/modules/congestion_controller/scream/scream_v2_gn/moz.build third_party/libwebrtc/modules/congestion_controller/scream/scream_v2_gn/moz.build -index 739c55d37bdb..c9a101d3efde 100644 +index 02731c986c30..c9a101d3efde 100644 --- third_party/libwebrtc/modules/congestion_controller/scream/scream_v2_gn/moz.build +++ third_party/libwebrtc/modules/congestion_controller/scream/scream_v2_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -59303,7 +60655,7 @@ index 739c55d37bdb..c9a101d3efde 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -59333,6 +60685,10 @@ index 739c55d37bdb..c9a101d3efde 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -59398,7 +60754,7 @@ index 739c55d37bdb..c9a101d3efde 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -59485,7 +60841,7 @@ index 739c55d37bdb..c9a101d3efde 100644 Library("scream_v2_gn") diff --git third_party/libwebrtc/modules/congestion_controller/scream/scream_v2_parameters_gn/moz.build third_party/libwebrtc/modules/congestion_controller/scream/scream_v2_parameters_gn/moz.build -index 7ef5c259d79d..426263159ccd 100644 +index 7406958c1ece..426263159ccd 100644 --- third_party/libwebrtc/modules/congestion_controller/scream/scream_v2_parameters_gn/moz.build +++ third_party/libwebrtc/modules/congestion_controller/scream/scream_v2_parameters_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -59511,7 +60867,7 @@ index 7ef5c259d79d..426263159ccd 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -59541,6 +60897,10 @@ index 7ef5c259d79d..426263159ccd 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -59606,7 +60966,7 @@ index 7ef5c259d79d..426263159ccd 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -59826,7 +61186,7 @@ index 50d5d5d9a5cc..48ba3ce75cef 100644 CXXFLAGS += [ "-msse2" diff --git third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build -index b73f9d2131ab..3a1f2961cab0 100644 +index 50039442b036..3a1f2961cab0 100644 --- third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build +++ third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build @@ -26,13 +26,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -59852,7 +61212,7 @@ index b73f9d2131ab..3a1f2961cab0 100644 FINAL_LIBRARY = "xul" -@@ -85,181 +94,14 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -85,191 +94,14 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -59864,6 +61224,16 @@ index b73f9d2131ab..3a1f2961cab0 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework AppKit", +- "-framework AVFoundation", +- "-framework CoreMedia", +- "-framework CoreVideo", +- "-framework Foundation", +- "-framework IOKit", +- "-framework IOSurface" +- ] +- - UNIFIED_SOURCES += [ - "/third_party/libwebrtc/modules/desktop_capture/mac/desktop_configuration_monitor.cc", - "/third_party/libwebrtc/modules/desktop_capture/mac/desktop_frame_utils.cc", @@ -60036,7 +61406,7 @@ index b73f9d2131ab..3a1f2961cab0 100644 LOCAL_INCLUDES += [ "/third_party/libepoxy/libepoxy/include/", -@@ -267,7 +109,8 @@ if CONFIG["TARGET_CPU"] == "arm": +@@ -277,7 +109,8 @@ if CONFIG["TARGET_CPU"] == "arm": ] SOURCES += [ @@ -60046,7 +61416,7 @@ index b73f9d2131ab..3a1f2961cab0 100644 ] UNIFIED_SOURCES += [ -@@ -277,34 +120,9 @@ if CONFIG["TARGET_CPU"] == "arm": +@@ -287,34 +120,9 @@ if CONFIG["TARGET_CPU"] == "arm": "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc", "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc", "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc", @@ -60084,7 +61454,7 @@ index b73f9d2131ab..3a1f2961cab0 100644 ] if CONFIG["TARGET_CPU"] == "mips32": -@@ -312,7 +130,6 @@ if CONFIG["TARGET_CPU"] == "mips32": +@@ -322,7 +130,6 @@ if CONFIG["TARGET_CPU"] == "mips32": DEFINES["MIPS32_LE"] = True DEFINES["MIPS_FPU_LE"] = True DEFINES["WEBRTC_USE_PIPEWIRE"] = True @@ -60092,7 +61462,7 @@ index b73f9d2131ab..3a1f2961cab0 100644 LOCAL_INCLUDES += [ "/third_party/libepoxy/libepoxy/include/", -@@ -320,7 +137,8 @@ if CONFIG["TARGET_CPU"] == "mips32": +@@ -330,7 +137,8 @@ if CONFIG["TARGET_CPU"] == "mips32": ] SOURCES += [ @@ -60102,7 +61472,7 @@ index b73f9d2131ab..3a1f2961cab0 100644 ] UNIFIED_SOURCES += [ -@@ -330,13 +148,14 @@ if CONFIG["TARGET_CPU"] == "mips32": +@@ -340,13 +148,14 @@ if CONFIG["TARGET_CPU"] == "mips32": "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc", "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc", "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc", @@ -60119,7 +61489,7 @@ index b73f9d2131ab..3a1f2961cab0 100644 LOCAL_INCLUDES += [ "/third_party/libepoxy/libepoxy/include/", -@@ -344,7 +163,8 @@ if CONFIG["TARGET_CPU"] == "mips64": +@@ -354,7 +163,8 @@ if CONFIG["TARGET_CPU"] == "mips64": ] SOURCES += [ @@ -60129,7 +61499,7 @@ index b73f9d2131ab..3a1f2961cab0 100644 ] UNIFIED_SOURCES += [ -@@ -354,117 +174,19 @@ if CONFIG["TARGET_CPU"] == "mips64": +@@ -364,117 +174,19 @@ if CONFIG["TARGET_CPU"] == "mips64": "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc", "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc", "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc", @@ -60251,7 +61621,7 @@ index b73f9d2131ab..3a1f2961cab0 100644 LOCAL_INCLUDES += [ "/third_party/libepoxy/libepoxy/include/", -@@ -472,7 +194,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": +@@ -482,7 +194,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": ] SOURCES += [ @@ -60261,7 +61631,7 @@ index b73f9d2131ab..3a1f2961cab0 100644 ] UNIFIED_SOURCES += [ -@@ -482,13 +205,15 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": +@@ -492,13 +205,15 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc", "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc", "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc", @@ -60280,7 +61650,7 @@ index b73f9d2131ab..3a1f2961cab0 100644 LOCAL_INCLUDES += [ "/third_party/libepoxy/libepoxy/include/", -@@ -496,7 +221,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": +@@ -506,7 +221,8 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": ] SOURCES += [ @@ -60290,7 +61660,7 @@ index b73f9d2131ab..3a1f2961cab0 100644 ] UNIFIED_SOURCES += [ -@@ -506,10 +232,12 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": +@@ -516,10 +232,12 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc", "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc", "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc", @@ -60305,7 +61675,7 @@ index b73f9d2131ab..3a1f2961cab0 100644 DEFINES["WEBRTC_USE_X11"] = True -@@ -535,134 +263,61 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGE +@@ -545,134 +263,61 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGE "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc" ] @@ -60340,10 +61710,10 @@ index b73f9d2131ab..3a1f2961cab0 100644 ] -if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "mips32": -- -- DEFINES["WEBRTC_USE_X11"] = True +if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "FreeBSD" and CONFIG["TARGET_CPU"] == "loongarch64": +- DEFINES["WEBRTC_USE_X11"] = True +- - OS_LIBS += [ - "X11", - "Xcomposite", @@ -60472,10 +61842,10 @@ index b73f9d2131ab..3a1f2961cab0 100644 Library("desktop_capture_gn") diff --git third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build deleted file mode 100644 -index f97d8e850e94..000000000000 +index da190cfa7b7d..000000000000 --- third_party/libwebrtc/modules/desktop_capture/desktop_capture_objc_gn/moz.build +++ /dev/null -@@ -1,82 +0,0 @@ +@@ -1,92 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. @@ -60522,6 +61892,16 @@ index f97d8e850e94..000000000000 - "/tools/profiler/public" -] - +-OS_LIBS += [ +- "-framework AppKit", +- "-framework AVFoundation", +- "-framework CoreMedia", +- "-framework CoreVideo", +- "-framework Foundation", +- "-framework IOKit", +- "-framework IOSurface" +-] +- -UNIFIED_SOURCES += [ - "/third_party/libwebrtc/modules/desktop_capture/mac/desktop_configuration.mm", - "/third_party/libwebrtc/modules/desktop_capture/mac/desktop_frame_cgimage.mm", @@ -61471,7 +62851,7 @@ index 5bd8eb5ece9c..a1d12b54b2ca 100644 Library("interval_budget_gn") diff --git third_party/libwebrtc/modules/pacing/pacing_gn/moz.build third_party/libwebrtc/modules/pacing/pacing_gn/moz.build -index f23fc647c82d..a7bd1b16a1e7 100644 +index 4f57107f5981..a7bd1b16a1e7 100644 --- third_party/libwebrtc/modules/pacing/pacing_gn/moz.build +++ third_party/libwebrtc/modules/pacing/pacing_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -61497,7 +62877,7 @@ index f23fc647c82d..a7bd1b16a1e7 100644 FINAL_LIBRARY = "xul" -@@ -54,94 +63,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -54,97 +63,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -61517,7 +62897,6 @@ index f23fc647c82d..a7bd1b16a1e7 100644 - DEFINES["__STDC_FORMAT_MACROS"] = True - - OS_LIBS += [ -- "GLESv2", - "log" - ] - @@ -61528,6 +62907,10 @@ index f23fc647c82d..a7bd1b16a1e7 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -61593,7 +62976,7 @@ index f23fc647c82d..a7bd1b16a1e7 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -149,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -152,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -61725,7 +63108,7 @@ index b666153b7c22..86e3a0238175 100644 DEFINES["MIPS32_LE"] = True diff --git third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build -index 92f32b06d35f..9e89eeaa612d 100644 +index f1eda63a3983..9e89eeaa612d 100644 --- third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build +++ third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -61751,7 +63134,7 @@ index 92f32b06d35f..9e89eeaa612d 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -61781,6 +63164,10 @@ index 92f32b06d35f..9e89eeaa612d 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -61846,7 +63233,7 @@ index 92f32b06d35f..9e89eeaa612d 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -61933,7 +63320,7 @@ index 92f32b06d35f..9e89eeaa612d 100644 Library("congestion_control_feedback_generator_gn") diff --git third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build -index bafb33b2b35f..3eae2d64fcd3 100644 +index fad47ee3d7f5..3eae2d64fcd3 100644 --- third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build +++ third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -61959,7 +63346,7 @@ index bafb33b2b35f..3eae2d64fcd3 100644 FINAL_LIBRARY = "xul" -@@ -56,93 +65,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -56,97 +65,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -61989,6 +63376,10 @@ index bafb33b2b35f..3eae2d64fcd3 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -62054,7 +63445,7 @@ index bafb33b2b35f..3eae2d64fcd3 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -150,82 +73,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -154,82 +73,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -62141,7 +63532,7 @@ index bafb33b2b35f..3eae2d64fcd3 100644 Library("remote_bitrate_estimator_gn") diff --git third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build -index b68d96756953..17ecefb4aeeb 100644 +index d868e209874b..17ecefb4aeeb 100644 --- third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build +++ third_party/libwebrtc/modules/remote_bitrate_estimator/rtp_transport_feedback_generator_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -62167,7 +63558,7 @@ index b68d96756953..17ecefb4aeeb 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -62197,6 +63588,10 @@ index b68d96756953..17ecefb4aeeb 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -62262,7 +63657,7 @@ index b68d96756953..17ecefb4aeeb 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -62288,7 +63683,7 @@ index b68d96756953..17ecefb4aeeb 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -62330,7 +63725,7 @@ index b68d96756953..17ecefb4aeeb 100644 - Library("rtp_transport_feedback_generator_gn") diff --git third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build -index ff7a88ebf4e5..02879bea4c4f 100644 +index bc9cf2cc6fc2..02879bea4c4f 100644 --- third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build +++ third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -62356,7 +63751,7 @@ index ff7a88ebf4e5..02879bea4c4f 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -62386,6 +63781,10 @@ index ff7a88ebf4e5..02879bea4c4f 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -62451,7 +63850,7 @@ index ff7a88ebf4e5..02879bea4c4f 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -62735,7 +64134,7 @@ index 0dfb21e8c035..e9011df2e155 100644 Library("leb128_gn") diff --git third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build -index a4cfeacfd703..e633d38d2048 100644 +index 6e80e8649225..e633d38d2048 100644 --- third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build +++ third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -62761,7 +64160,7 @@ index a4cfeacfd703..e633d38d2048 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -62791,6 +64190,10 @@ index a4cfeacfd703..e633d38d2048 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -62856,7 +64259,7 @@ index a4cfeacfd703..e633d38d2048 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -62943,7 +64346,7 @@ index a4cfeacfd703..e633d38d2048 100644 Library("ntp_time_util_gn") diff --git third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build -index 021b7f583c22..1db06cb76b20 100644 +index d6d1b6a8fb33..1db06cb76b20 100644 --- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build +++ third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -62969,7 +64372,7 @@ index 021b7f583c22..1db06cb76b20 100644 FINAL_LIBRARY = "xul" -@@ -91,93 +100,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -91,97 +100,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -62999,6 +64402,10 @@ index 021b7f583c22..1db06cb76b20 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -63064,7 +64471,7 @@ index 021b7f583c22..1db06cb76b20 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -185,82 +108,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -189,82 +108,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -63122,10 +64529,10 @@ index 021b7f583c22..1db06cb76b20 100644 - -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- CXXFLAGS += [ -- "-msse2" -- ] -- + CXXFLAGS += [ + "-msse2" + ] + -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - - DEFINES["_GNU_SOURCE"] = True @@ -63136,10 +64543,10 @@ index 021b7f583c22..1db06cb76b20 100644 - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - - CXXFLAGS += [ - "-msse2" - ] - +- CXXFLAGS += [ +- "-msse2" +- ] +- - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -63151,7 +64558,7 @@ index 021b7f583c22..1db06cb76b20 100644 Library("rtp_rtcp_format_gn") diff --git third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build -index d16dc9a1c641..bc8c41992640 100644 +index 7bde722fe62d..bc8c41992640 100644 --- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build +++ third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -63177,7 +64584,7 @@ index d16dc9a1c641..bc8c41992640 100644 FINAL_LIBRARY = "xul" -@@ -100,94 +109,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -100,97 +109,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -63197,7 +64604,6 @@ index d16dc9a1c641..bc8c41992640 100644 - DEFINES["__STDC_FORMAT_MACROS"] = True - - OS_LIBS += [ -- "GLESv2", - "log" - ] - @@ -63208,6 +64614,10 @@ index d16dc9a1c641..bc8c41992640 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -63273,7 +64683,7 @@ index d16dc9a1c641..bc8c41992640 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -195,82 +117,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -198,82 +117,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -63331,10 +64741,10 @@ index d16dc9a1c641..bc8c41992640 100644 - -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- CXXFLAGS += [ -- "-msse2" -- ] -- + CXXFLAGS += [ + "-msse2" + ] + -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - - DEFINES["_GNU_SOURCE"] = True @@ -63345,10 +64755,10 @@ index d16dc9a1c641..bc8c41992640 100644 - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - - CXXFLAGS += [ - "-msse2" - ] - +- CXXFLAGS += [ +- "-msse2" +- ] +- - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -63360,7 +64770,7 @@ index d16dc9a1c641..bc8c41992640 100644 Library("rtp_rtcp_gn") diff --git third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build -index 0df8f2fd7ef2..a24f15100cd4 100644 +index e51fc2398bdb..a24f15100cd4 100644 --- third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build +++ third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -63386,7 +64796,7 @@ index 0df8f2fd7ef2..a24f15100cd4 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -63416,6 +64826,10 @@ index 0df8f2fd7ef2..a24f15100cd4 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -63481,7 +64895,7 @@ index 0df8f2fd7ef2..a24f15100cd4 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -64357,7 +65771,7 @@ index 6eaf4ee45534..940af762b191 100644 - Library("utility_gn") diff --git third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build -index aba5cf5837e9..7dc15df9125e 100644 +index b3eb0b5c7e52..7dc15df9125e 100644 --- third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build +++ third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build @@ -18,13 +18,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -64394,7 +65808,7 @@ index aba5cf5837e9..7dc15df9125e 100644 "/third_party/libwebrtc/modules/video_capture/video_capture_options.cc" ] -@@ -52,166 +65,14 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -52,170 +65,14 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -64424,6 +65838,10 @@ index aba5cf5837e9..7dc15df9125e 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -64563,7 +65981,7 @@ index aba5cf5837e9..7dc15df9125e 100644 LOCAL_INCLUDES += [ "/third_party/libepoxy/libepoxy/include/", -@@ -225,44 +86,11 @@ if CONFIG["TARGET_CPU"] == "mips64": +@@ -229,44 +86,11 @@ if CONFIG["TARGET_CPU"] == "mips64": "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc" ] @@ -64611,7 +66029,7 @@ index aba5cf5837e9..7dc15df9125e 100644 LOCAL_INCLUDES += [ "/third_party/libepoxy/libepoxy/include/", -@@ -276,10 +104,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": +@@ -280,10 +104,9 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc" ] @@ -64623,7 +66041,7 @@ index aba5cf5837e9..7dc15df9125e 100644 LOCAL_INCLUDES += [ "/third_party/libepoxy/libepoxy/include/", -@@ -293,14 +120,14 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": +@@ -297,14 +120,14 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm": "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc" ] @@ -64640,7 +66058,7 @@ index aba5cf5837e9..7dc15df9125e 100644 LOCAL_INCLUDES += [ "/third_party/libepoxy/libepoxy/include/", -@@ -314,10 +141,10 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": +@@ -318,10 +141,10 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": "/third_party/libwebrtc/modules/video_capture/linux/video_capture_pipewire.cc" ] @@ -64654,7 +66072,7 @@ index aba5cf5837e9..7dc15df9125e 100644 LOCAL_INCLUDES += [ "/third_party/libepoxy/libepoxy/include/", diff --git third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build -index d7e0525a50c2..b387735625e3 100644 +index 073422b84277..b387735625e3 100644 --- third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build +++ third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -64680,7 +66098,7 @@ index d7e0525a50c2..b387735625e3 100644 FINAL_LIBRARY = "xul" -@@ -51,93 +60,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -51,97 +60,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -64710,6 +66128,10 @@ index d7e0525a50c2..b387735625e3 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -64775,7 +66197,7 @@ index d7e0525a50c2..b387735625e3 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -145,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -149,82 +68,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -64862,7 +66284,7 @@ index d7e0525a50c2..b387735625e3 100644 Library("video_capture_module_gn") diff --git third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build -index 3a37045d6b49..24cfc98220fb 100644 +index ce7d374249a3..24cfc98220fb 100644 --- third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -64888,7 +66310,7 @@ index 3a37045d6b49..24cfc98220fb 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -64918,6 +66340,10 @@ index 3a37045d6b49..24cfc98220fb 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -64983,7 +66409,7 @@ index 3a37045d6b49..24cfc98220fb 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -65252,7 +66678,7 @@ index 4bfff4c5ed83..08e5865b1380 100644 - Library("codec_globals_headers_gn") diff --git third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build -index f1f55758a79d..3e4d603136ca 100644 +index c31f5a313d07..3e4d603136ca 100644 --- third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -65278,7 +66704,7 @@ index f1f55758a79d..3e4d603136ca 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -65308,6 +66734,10 @@ index f1f55758a79d..3e4d603136ca 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -65373,7 +66803,7 @@ index f1f55758a79d..3e4d603136ca 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -65460,7 +66890,7 @@ index f1f55758a79d..3e4d603136ca 100644 Library("av1_svc_config_gn") diff --git third_party/libwebrtc/modules/video_coding/codecs/av1/dav1d_decoder_gn/moz.build third_party/libwebrtc/modules/video_coding/codecs/av1/dav1d_decoder_gn/moz.build -index 292e4fa61a2b..9943164f8163 100644 +index 04fc70533108..9943164f8163 100644 --- third_party/libwebrtc/modules/video_coding/codecs/av1/dav1d_decoder_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/codecs/av1/dav1d_decoder_gn/moz.build @@ -16,13 +16,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -65486,7 +66916,7 @@ index 292e4fa61a2b..9943164f8163 100644 FINAL_LIBRARY = "xul" -@@ -54,93 +63,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -54,97 +63,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -65516,6 +66946,10 @@ index 292e4fa61a2b..9943164f8163 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -65581,7 +67015,7 @@ index 292e4fa61a2b..9943164f8163 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -148,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -152,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -65668,7 +67102,7 @@ index 292e4fa61a2b..9943164f8163 100644 Library("dav1d_decoder_gn") diff --git third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build -index d4e736a35a63..5a875e82328b 100644 +index 42ee29a96bb2..5a875e82328b 100644 --- third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build @@ -16,13 +16,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -65694,7 +67128,7 @@ index d4e736a35a63..5a875e82328b 100644 FINAL_LIBRARY = "xul" -@@ -50,93 +59,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -50,97 +59,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -65724,6 +67158,10 @@ index d4e736a35a63..5a875e82328b 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -65789,7 +67227,7 @@ index d4e736a35a63..5a875e82328b 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -144,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -148,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -65876,7 +67314,7 @@ index d4e736a35a63..5a875e82328b 100644 Library("aom_av1_encoder_gn") diff --git third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_speed_config_factory_gn/moz.build third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_speed_config_factory_gn/moz.build -index c2c443487ce0..97957d73073a 100644 +index 32586e7dda8b..97957d73073a 100644 --- third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_speed_config_factory_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_speed_config_factory_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -65902,7 +67340,7 @@ index c2c443487ce0..97957d73073a 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -65932,6 +67370,10 @@ index c2c443487ce0..97957d73073a 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -65997,7 +67439,7 @@ index c2c443487ce0..97957d73073a 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -66084,7 +67526,7 @@ index c2c443487ce0..97957d73073a 100644 Library("aom_speed_config_factory_gn") diff --git third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build -index 00ce81ca7345..c80a26cf2c62 100644 +index f9474e9fe392..c80a26cf2c62 100644 --- third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -66110,7 +67552,7 @@ index 00ce81ca7345..c80a26cf2c62 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -66140,6 +67582,10 @@ index 00ce81ca7345..c80a26cf2c62 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -66205,7 +67651,7 @@ index 00ce81ca7345..c80a26cf2c62 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -66292,7 +67738,7 @@ index 00ce81ca7345..c80a26cf2c62 100644 Library("encoded_frame_gn") diff --git third_party/libwebrtc/modules/video_coding/encoder_speed_controller_impl_gn/moz.build third_party/libwebrtc/modules/video_coding/encoder_speed_controller_impl_gn/moz.build -index 33efc85c10c3..8e66c4704c79 100644 +index 3e369d79a81a..8e66c4704c79 100644 --- third_party/libwebrtc/modules/video_coding/encoder_speed_controller_impl_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/encoder_speed_controller_impl_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -66318,7 +67764,7 @@ index 33efc85c10c3..8e66c4704c79 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -66348,6 +67794,10 @@ index 33efc85c10c3..8e66c4704c79 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -66413,7 +67863,7 @@ index 33efc85c10c3..8e66c4704c79 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -66500,7 +67950,7 @@ index 33efc85c10c3..8e66c4704c79 100644 Library("encoder_speed_controller_impl_gn") diff --git third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build -index 1087eb83141a..4cb2a33cec55 100644 +index 5e3fa2a835a1..4cb2a33cec55 100644 --- third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -66526,7 +67976,7 @@ index 1087eb83141a..4cb2a33cec55 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -66556,6 +68006,10 @@ index 1087eb83141a..4cb2a33cec55 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -66621,7 +68075,7 @@ index 1087eb83141a..4cb2a33cec55 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -66708,7 +68162,7 @@ index 1087eb83141a..4cb2a33cec55 100644 Library("frame_dependencies_calculator_gn") diff --git third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build -index 444b7d652b93..cea4b7cf3cc8 100644 +index 343847be6dc0..cea4b7cf3cc8 100644 --- third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -66734,7 +68188,7 @@ index 444b7d652b93..cea4b7cf3cc8 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -66764,6 +68218,10 @@ index 444b7d652b93..cea4b7cf3cc8 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -66829,7 +68287,7 @@ index 444b7d652b93..cea4b7cf3cc8 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -66916,7 +68374,7 @@ index 444b7d652b93..cea4b7cf3cc8 100644 Library("frame_helpers_gn") diff --git third_party/libwebrtc/modules/video_coding/frame_sampler_gn/moz.build third_party/libwebrtc/modules/video_coding/frame_sampler_gn/moz.build -index 53be3eaec7d5..f8d7e482291e 100644 +index 26a79a77384f..f8d7e482291e 100644 --- third_party/libwebrtc/modules/video_coding/frame_sampler_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/frame_sampler_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -66942,7 +68400,7 @@ index 53be3eaec7d5..f8d7e482291e 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -66972,6 +68430,10 @@ index 53be3eaec7d5..f8d7e482291e 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -67037,7 +68499,7 @@ index 53be3eaec7d5..f8d7e482291e 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -67124,7 +68586,7 @@ index 53be3eaec7d5..f8d7e482291e 100644 Library("frame_sampler_gn") diff --git third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build -index f6d57ebe3b7e..bdf531205551 100644 +index 50ef92dbd53c..bdf531205551 100644 --- third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -67150,7 +68612,7 @@ index f6d57ebe3b7e..bdf531205551 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -67180,6 +68642,10 @@ index f6d57ebe3b7e..bdf531205551 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -67245,7 +68711,7 @@ index f6d57ebe3b7e..bdf531205551 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -67332,7 +68798,7 @@ index f6d57ebe3b7e..bdf531205551 100644 Library("h264_sprop_parameter_sets_gn") diff --git third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build -index 4cf88157ca98..33ce0c1a68de 100644 +index 1b1977059a68..33ce0c1a68de 100644 --- third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -67358,7 +68824,7 @@ index 4cf88157ca98..33ce0c1a68de 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -67388,6 +68854,10 @@ index 4cf88157ca98..33ce0c1a68de 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -67453,7 +68923,7 @@ index 4cf88157ca98..33ce0c1a68de 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -67540,7 +69010,7 @@ index 4cf88157ca98..33ce0c1a68de 100644 Library("h26x_packet_buffer_gn") diff --git third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build -index a161327c3892..26aa2ed249c7 100644 +index 7e906b68fa1a..26aa2ed249c7 100644 --- third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -67566,7 +69036,7 @@ index a161327c3892..26aa2ed249c7 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -67596,6 +69066,10 @@ index a161327c3892..26aa2ed249c7 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -67661,7 +69135,7 @@ index a161327c3892..26aa2ed249c7 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -67748,7 +69222,7 @@ index a161327c3892..26aa2ed249c7 100644 Library("nack_requester_gn") diff --git third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build -index 307690f64b13..5ab900dd4325 100644 +index 7512a0ed0d05..5ab900dd4325 100644 --- third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -67774,7 +69248,7 @@ index 307690f64b13..5ab900dd4325 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -67804,6 +69278,10 @@ index 307690f64b13..5ab900dd4325 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -67869,7 +69347,7 @@ index 307690f64b13..5ab900dd4325 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -67956,7 +69434,7 @@ index 307690f64b13..5ab900dd4325 100644 Library("packet_buffer_gn") diff --git third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build -index e981d193c0a4..572e7f38b2fb 100644 +index e6c7b80ab949..572e7f38b2fb 100644 --- third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -67982,7 +69460,7 @@ index e981d193c0a4..572e7f38b2fb 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -68012,6 +69490,10 @@ index e981d193c0a4..572e7f38b2fb 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -68077,7 +69559,7 @@ index e981d193c0a4..572e7f38b2fb 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -68164,7 +69646,7 @@ index e981d193c0a4..572e7f38b2fb 100644 Library("scalability_mode_util_gn") diff --git third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build -index 3b3d13d37741..3bb8d27113a3 100644 +index 2196d0474c91..3bb8d27113a3 100644 --- third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -68190,7 +69672,7 @@ index 3b3d13d37741..3bb8d27113a3 100644 FINAL_LIBRARY = "xul" -@@ -54,93 +63,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -54,97 +63,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -68220,6 +69702,10 @@ index 3b3d13d37741..3bb8d27113a3 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -68285,7 +69771,7 @@ index 3b3d13d37741..3bb8d27113a3 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -148,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -152,82 +71,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -68573,7 +70059,7 @@ index 3d898b9715d1..5a1ed09bd57f 100644 Library("scalable_video_controller_gn") diff --git third_party/libwebrtc/modules/video_coding/svc/simulcast_to_svc_converter_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/simulcast_to_svc_converter_gn/moz.build -index faef1f2825c3..9c6e779db540 100644 +index dadef3ca8036..9c6e779db540 100644 --- third_party/libwebrtc/modules/video_coding/svc/simulcast_to_svc_converter_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/svc/simulcast_to_svc_converter_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -68599,7 +70085,7 @@ index faef1f2825c3..9c6e779db540 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -68629,6 +70115,10 @@ index faef1f2825c3..9c6e779db540 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -68694,7 +70184,7 @@ index faef1f2825c3..9c6e779db540 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -68781,7 +70271,7 @@ index faef1f2825c3..9c6e779db540 100644 Library("simulcast_to_svc_converter_gn") diff --git third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build -index 6951f007d52a..afd99b119ad1 100644 +index 14c6c2c51961..afd99b119ad1 100644 --- third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -68807,7 +70297,7 @@ index 6951f007d52a..afd99b119ad1 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -68837,6 +70327,10 @@ index 6951f007d52a..afd99b119ad1 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -68902,7 +70396,7 @@ index 6951f007d52a..afd99b119ad1 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -69592,7 +71086,7 @@ index fc0611ad5b1a..879b269eac7c 100644 Library("inter_frame_delay_variation_calculator_gn") diff --git third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build -index c603c804678b..70d5a3a581fa 100644 +index 45637dd28257..70d5a3a581fa 100644 --- third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -69618,7 +71112,7 @@ index c603c804678b..70d5a3a581fa 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -69648,6 +71142,10 @@ index c603c804678b..70d5a3a581fa 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -69713,7 +71211,7 @@ index c603c804678b..70d5a3a581fa 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -70001,7 +71499,7 @@ index cdf179861592..1c570c21b839 100644 Library("rtt_filter_gn") diff --git third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build -index 591d3264fb41..3a7b00344998 100644 +index 30b92f4f9484..3a7b00344998 100644 --- third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -70027,7 +71525,7 @@ index 591d3264fb41..3a7b00344998 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -70057,6 +71555,10 @@ index 591d3264fb41..3a7b00344998 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -70122,7 +71624,7 @@ index 591d3264fb41..3a7b00344998 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -70209,7 +71711,7 @@ index 591d3264fb41..3a7b00344998 100644 Library("timestamp_extrapolator_gn") diff --git third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build -index 0d28921f3881..61ab6154db81 100644 +index 47acce1a9cd1..61ab6154db81 100644 --- third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -70235,7 +71737,7 @@ index 0d28921f3881..61ab6154db81 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -70265,6 +71767,10 @@ index 0d28921f3881..61ab6154db81 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -70330,7 +71836,7 @@ index 0d28921f3881..61ab6154db81 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -70417,7 +71923,7 @@ index 0d28921f3881..61ab6154db81 100644 Library("timing_module_gn") diff --git third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build -index ea640b91b0c0..50c77c5b4680 100644 +index 756583d6c534..50c77c5b4680 100644 --- third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -70443,7 +71949,7 @@ index ea640b91b0c0..50c77c5b4680 100644 FINAL_LIBRARY = "xul" -@@ -49,93 +58,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -49,97 +58,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -70473,6 +71979,10 @@ index ea640b91b0c0..50c77c5b4680 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -70538,7 +72048,7 @@ index ea640b91b0c0..50c77c5b4680 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -143,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -147,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -70625,7 +72135,7 @@ index ea640b91b0c0..50c77c5b4680 100644 Library("video_codec_interface_gn") diff --git third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build -index b4524c603de6..706318dd7bed 100644 +index 256dd32a1cb1..706318dd7bed 100644 --- third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -70651,7 +72161,7 @@ index b4524c603de6..706318dd7bed 100644 FINAL_LIBRARY = "xul" -@@ -60,94 +69,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -60,97 +69,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -70671,7 +72181,6 @@ index b4524c603de6..706318dd7bed 100644 - DEFINES["__STDC_FORMAT_MACROS"] = True - - OS_LIBS += [ -- "GLESv2", - "log" - ] - @@ -70682,6 +72191,10 @@ index b4524c603de6..706318dd7bed 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -70747,7 +72260,7 @@ index b4524c603de6..706318dd7bed 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -155,82 +77,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -158,82 +77,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -70834,7 +72347,7 @@ index b4524c603de6..706318dd7bed 100644 Library("video_coding_gn") diff --git third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build -index c04e9de4b93c..2d66a7998f0e 100644 +index fcf083a4c62e..2d66a7998f0e 100644 --- third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -70860,7 +72373,7 @@ index c04e9de4b93c..2d66a7998f0e 100644 FINAL_LIBRARY = "xul" -@@ -58,93 +67,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -58,97 +67,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -70890,6 +72403,10 @@ index c04e9de4b93c..2d66a7998f0e 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -70955,7 +72472,7 @@ index c04e9de4b93c..2d66a7998f0e 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -152,82 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -156,82 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -71042,7 +72559,7 @@ index c04e9de4b93c..2d66a7998f0e 100644 Library("video_coding_utility_gn") diff --git third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build -index 15719f1d6b0f..b68245f1e382 100644 +index f2f4238f63ab..b68245f1e382 100644 --- third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -71068,7 +72585,7 @@ index 15719f1d6b0f..b68245f1e382 100644 FINAL_LIBRARY = "xul" -@@ -52,93 +61,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -52,97 +61,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -71098,6 +72615,10 @@ index 15719f1d6b0f..b68245f1e382 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -71163,7 +72684,7 @@ index 15719f1d6b0f..b68245f1e382 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -146,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -150,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -71451,7 +72972,7 @@ index 06dddf6d386b..f3ed81e3cc02 100644 Library("webrtc_libvpx_interface_gn") diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build -index 9e802645596e..73c54cc1ff44 100644 +index 2e2911495658..73c54cc1ff44 100644 --- third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build @@ -16,13 +16,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -71477,7 +72998,7 @@ index 9e802645596e..73c54cc1ff44 100644 FINAL_LIBRARY = "xul" -@@ -53,93 +62,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -53,97 +62,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -71507,6 +73028,10 @@ index 9e802645596e..73c54cc1ff44 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -71572,7 +73097,7 @@ index 9e802645596e..73c54cc1ff44 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -147,82 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -151,82 +70,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -71860,7 +73385,7 @@ index ac81d5ab092b..82c509986ccc 100644 Library("webrtc_vp8_scalability_gn") diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build -index c0b9a9934ea6..08a795a335fe 100644 +index a78e8781f196..08a795a335fe 100644 --- third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -71886,7 +73411,7 @@ index c0b9a9934ea6..08a795a335fe 100644 FINAL_LIBRARY = "xul" -@@ -52,93 +61,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -52,97 +61,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -71916,6 +73441,10 @@ index c0b9a9934ea6..08a795a335fe 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -71981,7 +73510,7 @@ index c0b9a9934ea6..08a795a335fe 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -146,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -150,82 +69,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -72068,7 +73597,7 @@ index c0b9a9934ea6..08a795a335fe 100644 Library("webrtc_vp8_temporal_layers_gn") diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build -index 717e13ad4637..82e605235d8f 100644 +index 7c63c62c9b0b..82e605235d8f 100644 --- third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build @@ -16,13 +16,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -72094,7 +73623,7 @@ index 717e13ad4637..82e605235d8f 100644 FINAL_LIBRARY = "xul" -@@ -55,93 +64,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -55,97 +64,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -72124,6 +73653,10 @@ index 717e13ad4637..82e605235d8f 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -72189,7 +73722,7 @@ index 717e13ad4637..82e605235d8f 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -149,82 +72,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -153,82 +72,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -72276,7 +73809,7 @@ index 717e13ad4637..82e605235d8f 100644 Library("webrtc_vp9_gn") diff --git third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build -index b8b6e1264abf..de7abe9355ce 100644 +index eaa549f616ff..de7abe9355ce 100644 --- third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build +++ third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -72302,7 +73835,7 @@ index b8b6e1264abf..de7abe9355ce 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -72332,6 +73865,10 @@ index b8b6e1264abf..de7abe9355ce 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -72397,7 +73934,7 @@ index b8b6e1264abf..de7abe9355ce 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -72484,10 +74021,10 @@ index b8b6e1264abf..de7abe9355ce 100644 Library("webrtc_vp9_helpers_gn") diff --git third_party/libwebrtc/moz.build third_party/libwebrtc/moz.build -index dd7816f701a1..0b8bfe26b850 100644 +index ab13d9f16e62..2685fe65971b 100644 --- third_party/libwebrtc/moz.build +++ third_party/libwebrtc/moz.build -@@ -302,6 +302,8 @@ DIRS += [ +@@ -305,6 +305,8 @@ DIRS += [ "/third_party/libwebrtc/modules/congestion_controller/scream/scream_network_controller_gn", "/third_party/libwebrtc/modules/congestion_controller/scream/scream_v2_gn", "/third_party/libwebrtc/modules/congestion_controller/scream/scream_v2_parameters_gn", @@ -72496,7 +74033,7 @@ index dd7816f701a1..0b8bfe26b850 100644 "/third_party/libwebrtc/modules/module_api_gn", "/third_party/libwebrtc/modules/module_api_public_gn", "/third_party/libwebrtc/modules/module_fec_api_gn", -@@ -535,143 +537,31 @@ DIRS += [ +@@ -538,143 +540,31 @@ DIRS += [ "/third_party/libwebrtc/webrtc_gn" ] @@ -72644,7 +74181,7 @@ index dd7816f701a1..0b8bfe26b850 100644 DIRS += [ "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", -@@ -680,13 +570,11 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": +@@ -683,13 +573,11 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn", "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn", @@ -72659,7 +74196,7 @@ index dd7816f701a1..0b8bfe26b850 100644 DIRS += [ "/third_party/libwebrtc/common_audio/common_audio_avx2_gn", -@@ -695,75 +583,6 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": +@@ -698,75 +586,6 @@ if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": "/third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn", "/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn", "/third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn", @@ -73456,7 +74993,7 @@ index 240d407a8dbb..702b6108bb69 100644 - Library("bounded_io_gn") diff --git third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build -index e4d9ba689645..c1cd5f765e88 100644 +index 09de5dd7134d..c1cd5f765e88 100644 --- third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -73482,7 +75019,7 @@ index e4d9ba689645..c1cd5f765e88 100644 FINAL_LIBRARY = "xul" -@@ -64,93 +73,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -64,97 +73,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -73512,6 +75049,10 @@ index e4d9ba689645..c1cd5f765e88 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -73577,7 +75118,7 @@ index e4d9ba689645..c1cd5f765e88 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -158,82 +81,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -162,82 +81,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -73664,7 +75205,7 @@ index e4d9ba689645..c1cd5f765e88 100644 Library("chunk_gn") diff --git third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build -index 6473005eeb3b..5d8fbba194e5 100644 +index a3d463ab687c..5d8fbba194e5 100644 --- third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -73690,7 +75231,7 @@ index 6473005eeb3b..5d8fbba194e5 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -73720,6 +75261,10 @@ index 6473005eeb3b..5d8fbba194e5 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -73785,7 +75330,7 @@ index 6473005eeb3b..5d8fbba194e5 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -74251,7 +75796,7 @@ index 131077f889a8..6d5a3309a971 100644 - Library("data_gn") diff --git third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build -index 66ed62a6f390..42aa546e3d8a 100644 +index 640f0e1202b5..42aa546e3d8a 100644 --- third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -74277,7 +75822,7 @@ index 66ed62a6f390..42aa546e3d8a 100644 FINAL_LIBRARY = "xul" -@@ -60,93 +69,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -60,97 +69,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -74307,6 +75852,10 @@ index 66ed62a6f390..42aa546e3d8a 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -74372,7 +75921,7 @@ index 66ed62a6f390..42aa546e3d8a 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -154,82 +77,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -158,82 +77,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -74459,7 +76008,7 @@ index 66ed62a6f390..42aa546e3d8a 100644 Library("error_cause_gn") diff --git third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build -index 11024f98f953..3daec848d93d 100644 +index 201c5235b2cc..3daec848d93d 100644 --- third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -74485,7 +76034,7 @@ index 11024f98f953..3daec848d93d 100644 FINAL_LIBRARY = "xul" -@@ -58,93 +67,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -58,97 +67,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -74515,6 +76064,10 @@ index 11024f98f953..3daec848d93d 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -74580,7 +76133,7 @@ index 11024f98f953..3daec848d93d 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -152,82 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -156,82 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -74667,7 +76220,7 @@ index 11024f98f953..3daec848d93d 100644 Library("parameter_gn") diff --git third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build -index 624bfff343f9..4c3212997b05 100644 +index de60d0ad2719..4c3212997b05 100644 --- third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -74693,7 +76246,7 @@ index 624bfff343f9..4c3212997b05 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -74723,6 +76276,10 @@ index 624bfff343f9..4c3212997b05 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -74788,7 +76345,7 @@ index 624bfff343f9..4c3212997b05 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -74875,7 +76432,7 @@ index 624bfff343f9..4c3212997b05 100644 Library("sctp_packet_gn") diff --git third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build -index 3560c2f7561b..ef963870c630 100644 +index 324e4fa2ee36..ef963870c630 100644 --- third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -74901,7 +76458,7 @@ index 3560c2f7561b..ef963870c630 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -74931,6 +76488,10 @@ index 3560c2f7561b..ef963870c630 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -74996,7 +76557,7 @@ index 3560c2f7561b..ef963870c630 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -75083,7 +76644,7 @@ index 3560c2f7561b..ef963870c630 100644 Library("tlv_trait_gn") diff --git third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build -index 17d577108778..0f796ba9791d 100644 +index 21e2f46620d7..0f796ba9791d 100644 --- third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -75109,7 +76670,7 @@ index 17d577108778..0f796ba9791d 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -75139,6 +76700,10 @@ index 17d577108778..0f796ba9791d 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -75204,7 +76769,7 @@ index 17d577108778..0f796ba9791d 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -75674,7 +77239,7 @@ index d23d72de008f..3e8d8ec15fa0 100644 - Library("types_gn") diff --git third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build -index b7864ae9e151..73a56a6adb52 100644 +index d233e522cc37..73a56a6adb52 100644 --- third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -75700,7 +77265,7 @@ index b7864ae9e151..73a56a6adb52 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -75730,6 +77295,10 @@ index b7864ae9e151..73a56a6adb52 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -75795,7 +77364,7 @@ index b7864ae9e151..73a56a6adb52 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -75882,7 +77451,7 @@ index b7864ae9e151..73a56a6adb52 100644 Library("data_tracker_gn") diff --git third_party/libwebrtc/net/dcsctp/rx/interleaved_reassembly_streams_gn/moz.build third_party/libwebrtc/net/dcsctp/rx/interleaved_reassembly_streams_gn/moz.build -index 94e74f2cb4fc..f77b3b2c82e2 100644 +index 87d1a1cf84d3..f77b3b2c82e2 100644 --- third_party/libwebrtc/net/dcsctp/rx/interleaved_reassembly_streams_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/rx/interleaved_reassembly_streams_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -75908,7 +77477,7 @@ index 94e74f2cb4fc..f77b3b2c82e2 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -75938,6 +77507,10 @@ index 94e74f2cb4fc..f77b3b2c82e2 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -76003,7 +77576,7 @@ index 94e74f2cb4fc..f77b3b2c82e2 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -76090,7 +77663,7 @@ index 94e74f2cb4fc..f77b3b2c82e2 100644 Library("interleaved_reassembly_streams_gn") diff --git third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build -index 6292051cd313..b1fa1cd16cd5 100644 +index 2717319e99e9..b1fa1cd16cd5 100644 --- third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -76116,7 +77689,7 @@ index 6292051cd313..b1fa1cd16cd5 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -76146,6 +77719,10 @@ index 6292051cd313..b1fa1cd16cd5 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -76211,7 +77788,7 @@ index 6292051cd313..b1fa1cd16cd5 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -76298,7 +77875,7 @@ index 6292051cd313..b1fa1cd16cd5 100644 Library("reassembly_queue_gn") diff --git third_party/libwebrtc/net/dcsctp/rx/reassembly_streams_gn/moz.build third_party/libwebrtc/net/dcsctp/rx/reassembly_streams_gn/moz.build -index 223ed2e486d1..7655091bcaaa 100644 +index 68ba8285c093..7655091bcaaa 100644 --- third_party/libwebrtc/net/dcsctp/rx/reassembly_streams_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/rx/reassembly_streams_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -76324,7 +77901,7 @@ index 223ed2e486d1..7655091bcaaa 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -76354,6 +77931,10 @@ index 223ed2e486d1..7655091bcaaa 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -76419,7 +78000,7 @@ index 223ed2e486d1..7655091bcaaa 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -76445,7 +78026,7 @@ index 223ed2e486d1..7655091bcaaa 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -76487,7 +78068,7 @@ index 223ed2e486d1..7655091bcaaa 100644 - Library("reassembly_streams_gn") diff --git third_party/libwebrtc/net/dcsctp/rx/traditional_reassembly_streams_gn/moz.build third_party/libwebrtc/net/dcsctp/rx/traditional_reassembly_streams_gn/moz.build -index e334d07580f7..01dfe637adae 100644 +index 7a2094b202f4..01dfe637adae 100644 --- third_party/libwebrtc/net/dcsctp/rx/traditional_reassembly_streams_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/rx/traditional_reassembly_streams_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -76513,7 +78094,7 @@ index e334d07580f7..01dfe637adae 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -76543,6 +78124,10 @@ index e334d07580f7..01dfe637adae 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -76608,7 +78193,7 @@ index e334d07580f7..01dfe637adae 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -76695,7 +78280,7 @@ index e334d07580f7..01dfe637adae 100644 Library("traditional_reassembly_streams_gn") diff --git third_party/libwebrtc/net/dcsctp/socket/context_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/context_gn/moz.build -index 5bcb8fd7da7e..27d6fd30bc08 100644 +index d46a618cc81c..27d6fd30bc08 100644 --- third_party/libwebrtc/net/dcsctp/socket/context_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/socket/context_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -76721,7 +78306,7 @@ index 5bcb8fd7da7e..27d6fd30bc08 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -76751,6 +78336,10 @@ index 5bcb8fd7da7e..27d6fd30bc08 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -76816,7 +78405,7 @@ index 5bcb8fd7da7e..27d6fd30bc08 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -76842,7 +78431,7 @@ index 5bcb8fd7da7e..27d6fd30bc08 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -76884,7 +78473,7 @@ index 5bcb8fd7da7e..27d6fd30bc08 100644 - Library("context_gn") diff --git third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build -index 2cebd6a0275c..fbf79ad7e806 100644 +index 47f1aad68b45..fbf79ad7e806 100644 --- third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -76910,7 +78499,7 @@ index 2cebd6a0275c..fbf79ad7e806 100644 FINAL_LIBRARY = "xul" -@@ -49,93 +58,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -49,97 +58,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -76940,6 +78529,10 @@ index 2cebd6a0275c..fbf79ad7e806 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -77005,7 +78598,7 @@ index 2cebd6a0275c..fbf79ad7e806 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -143,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -147,82 +66,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -77092,7 +78685,7 @@ index 2cebd6a0275c..fbf79ad7e806 100644 Library("dcsctp_socket_gn") diff --git third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build -index 94759b913901..1113803749ff 100644 +index 8f0a566d8ad8..1113803749ff 100644 --- third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -77118,7 +78711,7 @@ index 94759b913901..1113803749ff 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -77148,6 +78741,10 @@ index 94759b913901..1113803749ff 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -77213,7 +78810,7 @@ index 94759b913901..1113803749ff 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -77300,7 +78897,7 @@ index 94759b913901..1113803749ff 100644 Library("heartbeat_handler_gn") diff --git third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build -index b5b79ff10d8e..a4a14f54b7a3 100644 +index 8e484a97bc48..a4a14f54b7a3 100644 --- third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -77326,7 +78923,7 @@ index b5b79ff10d8e..a4a14f54b7a3 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -77356,6 +78953,10 @@ index b5b79ff10d8e..a4a14f54b7a3 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -77421,7 +79022,7 @@ index b5b79ff10d8e..a4a14f54b7a3 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -77508,7 +79109,7 @@ index b5b79ff10d8e..a4a14f54b7a3 100644 Library("packet_sender_gn") diff --git third_party/libwebrtc/net/dcsctp/socket/stream_reset_handler_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/stream_reset_handler_gn/moz.build -index 5bbfdb61d12a..9e2a34e28a94 100644 +index 8e7b9880af4c..9e2a34e28a94 100644 --- third_party/libwebrtc/net/dcsctp/socket/stream_reset_handler_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/socket/stream_reset_handler_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -77534,7 +79135,7 @@ index 5bbfdb61d12a..9e2a34e28a94 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -77564,6 +79165,10 @@ index 5bbfdb61d12a..9e2a34e28a94 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -77629,7 +79234,7 @@ index 5bbfdb61d12a..9e2a34e28a94 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -77716,7 +79321,7 @@ index 5bbfdb61d12a..9e2a34e28a94 100644 Library("stream_reset_handler_gn") diff --git third_party/libwebrtc/net/dcsctp/socket/transmission_control_block_gn/moz.build third_party/libwebrtc/net/dcsctp/socket/transmission_control_block_gn/moz.build -index ae75873b8b09..3da6de2c5d3a 100644 +index f80dedb58790..3da6de2c5d3a 100644 --- third_party/libwebrtc/net/dcsctp/socket/transmission_control_block_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/socket/transmission_control_block_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -77742,7 +79347,7 @@ index ae75873b8b09..3da6de2c5d3a 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -77772,6 +79377,10 @@ index ae75873b8b09..3da6de2c5d3a 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -77837,7 +79446,7 @@ index ae75873b8b09..3da6de2c5d3a 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -77924,7 +79533,7 @@ index ae75873b8b09..3da6de2c5d3a 100644 Library("transmission_control_block_gn") diff --git third_party/libwebrtc/net/dcsctp/timer/task_queue_timeout_gn/moz.build third_party/libwebrtc/net/dcsctp/timer/task_queue_timeout_gn/moz.build -index 959ffba824e7..1f1ca45cdb32 100644 +index 7e6a5b597338..1f1ca45cdb32 100644 --- third_party/libwebrtc/net/dcsctp/timer/task_queue_timeout_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/timer/task_queue_timeout_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -77950,7 +79559,7 @@ index 959ffba824e7..1f1ca45cdb32 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -77980,6 +79589,10 @@ index 959ffba824e7..1f1ca45cdb32 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -78045,7 +79658,7 @@ index 959ffba824e7..1f1ca45cdb32 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -78333,7 +79946,7 @@ index eecc806bc928..3a3806dae7bd 100644 Library("timer_gn") diff --git third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build -index b9759a66ff50..767ae19c60ce 100644 +index 62c7a626825d..767ae19c60ce 100644 --- third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -78359,7 +79972,7 @@ index b9759a66ff50..767ae19c60ce 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -78389,6 +80002,10 @@ index b9759a66ff50..767ae19c60ce 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -78454,7 +80071,7 @@ index b9759a66ff50..767ae19c60ce 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -78541,7 +80158,7 @@ index b9759a66ff50..767ae19c60ce 100644 Library("outstanding_data_gn") diff --git third_party/libwebrtc/net/dcsctp/tx/retransmission_error_counter_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/retransmission_error_counter_gn/moz.build -index 539704132f7a..dfd0bb5392f9 100644 +index 011d99e116af..dfd0bb5392f9 100644 --- third_party/libwebrtc/net/dcsctp/tx/retransmission_error_counter_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/tx/retransmission_error_counter_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -78567,7 +80184,7 @@ index 539704132f7a..dfd0bb5392f9 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -78597,6 +80214,10 @@ index 539704132f7a..dfd0bb5392f9 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -78662,7 +80283,7 @@ index 539704132f7a..dfd0bb5392f9 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -78749,7 +80370,7 @@ index 539704132f7a..dfd0bb5392f9 100644 Library("retransmission_error_counter_gn") diff --git third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build -index 2d477075e23c..13ebe92869fa 100644 +index 00ad50594a2a..13ebe92869fa 100644 --- third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -78775,7 +80396,7 @@ index 2d477075e23c..13ebe92869fa 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -78805,6 +80426,10 @@ index 2d477075e23c..13ebe92869fa 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -78870,7 +80495,7 @@ index 2d477075e23c..13ebe92869fa 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -79158,7 +80783,7 @@ index 329aff01e6b1..9f9e700371c5 100644 Library("retransmission_timeout_gn") diff --git third_party/libwebrtc/net/dcsctp/tx/rr_send_queue_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/rr_send_queue_gn/moz.build -index 7d0b7b2fa7b0..3731481629c6 100644 +index 34d02919cd97..3731481629c6 100644 --- third_party/libwebrtc/net/dcsctp/tx/rr_send_queue_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/tx/rr_send_queue_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -79184,7 +80809,7 @@ index 7d0b7b2fa7b0..3731481629c6 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -79214,6 +80839,10 @@ index 7d0b7b2fa7b0..3731481629c6 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -79279,7 +80908,7 @@ index 7d0b7b2fa7b0..3731481629c6 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -79548,7 +81177,7 @@ index 0b9745919c2e..7465135efccd 100644 - Library("send_queue_gn") diff --git third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build -index a21661685e13..00b85fd15269 100644 +index 2d9fe1a39d64..00b85fd15269 100644 --- third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build +++ third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -79574,7 +81203,7 @@ index a21661685e13..00b85fd15269 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -79604,6 +81233,10 @@ index a21661685e13..00b85fd15269 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -79669,7 +81302,7 @@ index a21661685e13..00b85fd15269 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -80540,7 +82173,7 @@ index 4f5f3cf4e613..9a870bf35314 100644 Library("bit_buffer_gn") diff --git third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build -index 3367568af134..ebfed8b3ad48 100644 +index 7103f859348b..ebfed8b3ad48 100644 --- third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build +++ third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -80566,7 +82199,7 @@ index 3367568af134..ebfed8b3ad48 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -80596,6 +82229,10 @@ index 3367568af134..ebfed8b3ad48 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -80661,7 +82298,7 @@ index 3367568af134..ebfed8b3ad48 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -83042,7 +84679,7 @@ index f4367aad86ff..c6cb47329913 100644 Library("copy_on_write_buffer_gn") diff --git third_party/libwebrtc/rtc_base/cpu_info_gn/moz.build third_party/libwebrtc/rtc_base/cpu_info_gn/moz.build -index b57fea776a05..99da64c68eb4 100644 +index 51833ba4e2a3..99da64c68eb4 100644 --- third_party/libwebrtc/rtc_base/cpu_info_gn/moz.build +++ third_party/libwebrtc/rtc_base/cpu_info_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -83068,7 +84705,7 @@ index b57fea776a05..99da64c68eb4 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -83098,6 +84735,10 @@ index b57fea776a05..99da64c68eb4 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -83163,7 +84804,7 @@ index b57fea776a05..99da64c68eb4 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -84012,7 +85653,7 @@ index 043d231e4505..8e7514245a65 100644 - Library("dscp_gn") diff --git third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build -index d65f595518b0..9286aa3d82ba 100644 +index 90e35aeb71c3..9286aa3d82ba 100644 --- third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build +++ third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -84038,7 +85679,7 @@ index d65f595518b0..9286aa3d82ba 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -84068,6 +85709,10 @@ index d65f595518b0..9286aa3d82ba 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -84133,7 +85778,7 @@ index d65f595518b0..9286aa3d82ba 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -84220,7 +85865,7 @@ index d65f595518b0..9286aa3d82ba 100644 Library("event_tracer_gn") diff --git third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build -index 6ac1eeb8e971..2e1ce58efa2f 100644 +index 6392d096e30b..2e1ce58efa2f 100644 --- third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build +++ third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -84246,7 +85891,7 @@ index 6ac1eeb8e971..2e1ce58efa2f 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -84276,6 +85921,10 @@ index 6ac1eeb8e971..2e1ce58efa2f 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -84341,7 +85990,7 @@ index 6ac1eeb8e971..2e1ce58efa2f 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -84428,7 +86077,7 @@ index 6ac1eeb8e971..2e1ce58efa2f 100644 Library("alr_experiment_gn") diff --git third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build -index 99e706bb79da..9b1f5112a3e9 100644 +index 6afa3929c877..9b1f5112a3e9 100644 --- third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build +++ third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -84454,7 +86103,7 @@ index 99e706bb79da..9b1f5112a3e9 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -84484,6 +86133,10 @@ index 99e706bb79da..9b1f5112a3e9 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -84549,7 +86202,7 @@ index 99e706bb79da..9b1f5112a3e9 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -84636,7 +86289,7 @@ index 99e706bb79da..9b1f5112a3e9 100644 Library("balanced_degradation_settings_gn") diff --git third_party/libwebrtc/rtc_base/experiments/corruption_detection_frame_selector_settings_gn/moz.build third_party/libwebrtc/rtc_base/experiments/corruption_detection_frame_selector_settings_gn/moz.build -index d3e1c0ba88dc..100e700405b7 100644 +index eb475f1c7cfa..100e700405b7 100644 --- third_party/libwebrtc/rtc_base/experiments/corruption_detection_frame_selector_settings_gn/moz.build +++ third_party/libwebrtc/rtc_base/experiments/corruption_detection_frame_selector_settings_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -84662,7 +86315,7 @@ index d3e1c0ba88dc..100e700405b7 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -84692,6 +86345,10 @@ index d3e1c0ba88dc..100e700405b7 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -84757,7 +86414,7 @@ index d3e1c0ba88dc..100e700405b7 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -84844,7 +86501,7 @@ index d3e1c0ba88dc..100e700405b7 100644 Library("corruption_detection_frame_selector_settings_gn") diff --git third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build -index 449460bf3b79..b0812778318d 100644 +index 586a94a12a32..b0812778318d 100644 --- third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build +++ third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -84870,7 +86527,7 @@ index 449460bf3b79..b0812778318d 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -84900,6 +86557,10 @@ index 449460bf3b79..b0812778318d 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -84965,7 +86626,7 @@ index 449460bf3b79..b0812778318d 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -85052,7 +86713,7 @@ index 449460bf3b79..b0812778318d 100644 Library("encoder_info_settings_gn") diff --git third_party/libwebrtc/rtc_base/experiments/encoder_speed_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/encoder_speed_experiment_gn/moz.build -index dfd0450c4ae6..25c8daed28cf 100644 +index c2221cf88d17..25c8daed28cf 100644 --- third_party/libwebrtc/rtc_base/experiments/encoder_speed_experiment_gn/moz.build +++ third_party/libwebrtc/rtc_base/experiments/encoder_speed_experiment_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -85078,7 +86739,7 @@ index dfd0450c4ae6..25c8daed28cf 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -85108,6 +86769,10 @@ index dfd0450c4ae6..25c8daed28cf 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -85173,7 +86838,7 @@ index dfd0450c4ae6..25c8daed28cf 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -85260,7 +86925,7 @@ index dfd0450c4ae6..25c8daed28cf 100644 Library("encoder_speed_experiment_gn") diff --git third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build -index d6ee81093af9..1da7f51844e7 100644 +index 83df0810af48..1da7f51844e7 100644 --- third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build +++ third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -85286,7 +86951,7 @@ index d6ee81093af9..1da7f51844e7 100644 FINAL_LIBRARY = "xul" -@@ -50,93 +59,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -50,97 +59,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -85316,6 +86981,10 @@ index d6ee81093af9..1da7f51844e7 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -85381,7 +87050,7 @@ index d6ee81093af9..1da7f51844e7 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -144,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -148,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -85468,7 +87137,7 @@ index d6ee81093af9..1da7f51844e7 100644 Library("field_trial_parser_gn") diff --git third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build -index 497284def49f..8a6bee0ab7dc 100644 +index c01092054e28..8a6bee0ab7dc 100644 --- third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build +++ third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -85494,7 +87163,7 @@ index 497284def49f..8a6bee0ab7dc 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -85524,6 +87193,10 @@ index 497284def49f..8a6bee0ab7dc 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -85589,7 +87262,7 @@ index 497284def49f..8a6bee0ab7dc 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -85676,7 +87349,7 @@ index 497284def49f..8a6bee0ab7dc 100644 Library("keyframe_interval_settings_experiment_gn") diff --git third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build -index 88cfeb499843..9cdaecd05b2c 100644 +index 9218f1664811..9cdaecd05b2c 100644 --- third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build +++ third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -85702,7 +87375,7 @@ index 88cfeb499843..9cdaecd05b2c 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -85732,6 +87405,10 @@ index 88cfeb499843..9cdaecd05b2c 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -85797,7 +87474,7 @@ index 88cfeb499843..9cdaecd05b2c 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -85884,7 +87561,7 @@ index 88cfeb499843..9cdaecd05b2c 100644 Library("min_video_bitrate_experiment_gn") diff --git third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build -index ea5834e5fde9..4ec63b0acc00 100644 +index 70ba4989bce0..4ec63b0acc00 100644 --- third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build +++ third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -85910,7 +87587,7 @@ index ea5834e5fde9..4ec63b0acc00 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -85940,6 +87617,10 @@ index ea5834e5fde9..4ec63b0acc00 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -86005,7 +87686,7 @@ index ea5834e5fde9..4ec63b0acc00 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -86092,7 +87773,7 @@ index ea5834e5fde9..4ec63b0acc00 100644 Library("normalize_simulcast_size_experiment_gn") diff --git third_party/libwebrtc/rtc_base/experiments/psnr_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/psnr_experiment_gn/moz.build -index 4d66b4f08e3e..c5035bee9816 100644 +index e91a00d9a577..c5035bee9816 100644 --- third_party/libwebrtc/rtc_base/experiments/psnr_experiment_gn/moz.build +++ third_party/libwebrtc/rtc_base/experiments/psnr_experiment_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -86118,7 +87799,7 @@ index 4d66b4f08e3e..c5035bee9816 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -86148,6 +87829,10 @@ index 4d66b4f08e3e..c5035bee9816 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -86213,7 +87898,7 @@ index 4d66b4f08e3e..c5035bee9816 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -86300,7 +87985,7 @@ index 4d66b4f08e3e..c5035bee9816 100644 Library("psnr_experiment_gn") diff --git third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build -index c1447e9671d1..4191b5e491e5 100644 +index cd1690dc8997..4191b5e491e5 100644 --- third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build +++ third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -86326,7 +88011,7 @@ index c1447e9671d1..4191b5e491e5 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -86356,6 +88041,10 @@ index c1447e9671d1..4191b5e491e5 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -86421,7 +88110,7 @@ index c1447e9671d1..4191b5e491e5 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -86508,7 +88197,7 @@ index c1447e9671d1..4191b5e491e5 100644 Library("quality_scaler_settings_gn") diff --git third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build -index cc6a09e579c8..3ffb4a014b7f 100644 +index 1c748137ef6a..3ffb4a014b7f 100644 --- third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build +++ third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -86534,7 +88223,7 @@ index cc6a09e579c8..3ffb4a014b7f 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -86564,6 +88253,10 @@ index cc6a09e579c8..3ffb4a014b7f 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -86629,7 +88322,7 @@ index cc6a09e579c8..3ffb4a014b7f 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -86716,7 +88409,7 @@ index cc6a09e579c8..3ffb4a014b7f 100644 Library("quality_scaling_experiment_gn") diff --git third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build -index fe89d7e1a993..fad02d326f14 100644 +index a61a3620fab8..fad02d326f14 100644 --- third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build +++ third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -86742,7 +88435,7 @@ index fe89d7e1a993..fad02d326f14 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -86772,6 +88465,10 @@ index fe89d7e1a993..fad02d326f14 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -86837,7 +88534,7 @@ index fe89d7e1a993..fad02d326f14 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -86924,7 +88621,7 @@ index fe89d7e1a993..fad02d326f14 100644 Library("rate_control_settings_gn") diff --git third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build -index 0c94c24371d6..524a17a3b411 100644 +index 7b327fa0d3f6..524a17a3b411 100644 --- third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build +++ third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -86950,7 +88647,7 @@ index 0c94c24371d6..524a17a3b411 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -86980,6 +88677,10 @@ index 0c94c24371d6..524a17a3b411 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -87045,7 +88746,7 @@ index 0c94c24371d6..524a17a3b411 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -87999,7 +89700,7 @@ index 1be075310cd3..8632ae3274a1 100644 Library("ip_address_gn") diff --git third_party/libwebrtc/rtc_base/logging_gn/moz.build third_party/libwebrtc/rtc_base/logging_gn/moz.build -index e989579f9dae..a8d03abcfc46 100644 +index 7e3fdf65838c..a8d03abcfc46 100644 --- third_party/libwebrtc/rtc_base/logging_gn/moz.build +++ third_party/libwebrtc/rtc_base/logging_gn/moz.build @@ -13,14 +13,23 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -88026,7 +89727,7 @@ index e989579f9dae..a8d03abcfc46 100644 FINAL_LIBRARY = "xul" -@@ -48,93 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,97 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -88056,6 +89757,10 @@ index e989579f9dae..a8d03abcfc46 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -88121,7 +89826,7 @@ index e989579f9dae..a8d03abcfc46 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -142,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -146,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -91130,7 +92835,7 @@ index a06c491cb8b4..e9f3f776ab31 100644 Library("random_gn") diff --git third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build -index 20e93a15eeb2..5a3400a8880d 100644 +index 9656b46a3a88..5a3400a8880d 100644 --- third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build +++ third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -91156,7 +92861,7 @@ index 20e93a15eeb2..5a3400a8880d 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -91186,6 +92891,10 @@ index 20e93a15eeb2..5a3400a8880d 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -91251,7 +92960,7 @@ index 20e93a15eeb2..5a3400a8880d 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -91338,7 +93047,7 @@ index 20e93a15eeb2..5a3400a8880d 100644 Library("rate_limiter_gn") diff --git third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build -index 82f95010dfde..e992938d3761 100644 +index 487babf14c00..e992938d3761 100644 --- third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build +++ third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -91364,7 +93073,7 @@ index 82f95010dfde..e992938d3761 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -91394,6 +93103,10 @@ index 82f95010dfde..e992938d3761 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -91459,7 +93172,7 @@ index 82f95010dfde..e992938d3761 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -91747,7 +93460,7 @@ index b2f03f4d68f6..72da4f323fbe 100644 Library("rate_tracker_gn") diff --git third_party/libwebrtc/rtc_base/refcount_gn/moz.build third_party/libwebrtc/rtc_base/refcount_gn/moz.build -index 09bc29afce1b..193905c3ed3e 100644 +index a55add5803d1..157b52647e2b 100644 --- third_party/libwebrtc/rtc_base/refcount_gn/moz.build +++ third_party/libwebrtc/rtc_base/refcount_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -91773,7 +93486,7 @@ index 09bc29afce1b..193905c3ed3e 100644 FINAL_LIBRARY = "xul" -@@ -43,82 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,86 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -91792,6 +93505,10 @@ index 09bc29afce1b..193905c3ed3e 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "log" +- ] +- -if CONFIG["OS_TARGET"] == "Darwin": - - DEFINES["WEBRTC_MAC"] = True @@ -91857,12 +93574,16 @@ index 09bc29afce1b..193905c3ed3e 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -126,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -134,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" -if CONFIG["TARGET_CPU"] == "arm": - +- CXXFLAGS += [ +- "-mfpu=neon" +- ] +- - DEFINES["WEBRTC_ARCH_ARM"] = True - DEFINES["WEBRTC_ARCH_ARM_V7"] = True - DEFINES["WEBRTC_HAS_NEON"] = True @@ -91883,10 +93604,12 @@ index 09bc29afce1b..193905c3ed3e 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -154,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": - - DEFINES["WEBRTC_ENABLE_AVX2"] = True - +- DEFINES["WEBRTC_ENABLE_AVX2"] = True +- +-if CONFIG["TARGET_CPU"] == "x86_64": +- +- DEFINES["WEBRTC_ENABLE_AVX2"] = True +- -if CONFIG["MOZ_DEBUG"] == "1" and CONFIG["OS_TARGET"] == "Android": - - DEFINES["_DEBUG"] = True @@ -91907,6 +93630,12 @@ index 09bc29afce1b..193905c3ed3e 100644 - - DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0" - +-if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": +- + CXXFLAGS += [ + "-msse2" + ] + -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - - DEFINES["_GNU_SOURCE"] = True @@ -91917,12 +93646,19 @@ index 09bc29afce1b..193905c3ed3e 100644 - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - -- DEFINES["_GNU_SOURCE"] = True +- CXXFLAGS += [ +- "-msse2" +- ] - +- DEFINES["_GNU_SOURCE"] = True ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True + -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64": -- ++if CONFIG["TARGET_CPU"] == "x86_64": + - DEFINES["_GNU_SOURCE"] = True -- ++ DEFINES["WEBRTC_ENABLE_AVX2"] = True + Library("refcount_gn") diff --git third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build third_party/libwebrtc/rtc_base/rolling_accumulator_gn/moz.build index 76080f76dfbc..c5e6a4c5d461 100644 @@ -92509,7 +94245,7 @@ index f988d869c9be..b3e3c933f092 100644 Library("rtc_numerics_gn") diff --git third_party/libwebrtc/rtc_base/rtp_to_ntp_estimator_gn/moz.build third_party/libwebrtc/rtc_base/rtp_to_ntp_estimator_gn/moz.build -index 1821e61f09c0..003f5520689b 100644 +index 21d65fcb90ee..003f5520689b 100644 --- third_party/libwebrtc/rtc_base/rtp_to_ntp_estimator_gn/moz.build +++ third_party/libwebrtc/rtc_base/rtp_to_ntp_estimator_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -92535,7 +94271,7 @@ index 1821e61f09c0..003f5520689b 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -92565,6 +94301,10 @@ index 1821e61f09c0..003f5520689b 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -92630,7 +94370,7 @@ index 1821e61f09c0..003f5520689b 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -96367,10 +98107,10 @@ index 88793521fdb4..b5a6d2c8d776 100644 Library("assume_gn") diff --git third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build deleted file mode 100644 -index 14ac439a843e..000000000000 +index c325d4a47b56..000000000000 --- third_party/libwebrtc/rtc_base/system/cocoa_threading_gn/moz.build +++ /dev/null -@@ -1,70 +0,0 @@ +@@ -1,74 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. @@ -96415,6 +98155,10 @@ index 14ac439a843e..000000000000 - "/tools/profiler/public" -] - +-OS_LIBS += [ +- "-framework Foundation" +-] +- -UNIFIED_SOURCES += [ - "/third_party/libwebrtc/rtc_base/system/cocoa_threading.mm" -] @@ -97995,7 +99739,7 @@ index c6a4c249445c..e84d1522f3c5 100644 - Library("warn_current_thread_is_deadlocked_gn") diff --git third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build -index 0bf08beda4bc..575e42f95ce9 100644 +index 195d8857f082..575e42f95ce9 100644 --- third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build +++ third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -98021,7 +99765,7 @@ index 0bf08beda4bc..575e42f95ce9 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -98051,6 +99795,10 @@ index 0bf08beda4bc..575e42f95ce9 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -98116,7 +99864,7 @@ index 0bf08beda4bc..575e42f95ce9 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -98203,7 +99951,7 @@ index 0bf08beda4bc..575e42f95ce9 100644 Library("repeating_task_gn") diff --git third_party/libwebrtc/rtc_base/threading_gn/moz.build third_party/libwebrtc/rtc_base/threading_gn/moz.build -index 625fcbf15e8f..cfdb117a5f98 100644 +index ebff92a5dc74..cfdb117a5f98 100644 --- third_party/libwebrtc/rtc_base/threading_gn/moz.build +++ third_party/libwebrtc/rtc_base/threading_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -98229,7 +99977,7 @@ index 625fcbf15e8f..cfdb117a5f98 100644 FINAL_LIBRARY = "xul" -@@ -50,110 +59,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -50,114 +59,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -98264,6 +100012,10 @@ index 625fcbf15e8f..cfdb117a5f98 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- - UNIFIED_SOURCES += [ - "/third_party/libwebrtc/rtc_base/physical_socket_server.cc" - ] @@ -98341,7 +100093,7 @@ index 625fcbf15e8f..cfdb117a5f98 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -161,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -165,82 +67,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -98399,10 +100151,10 @@ index 625fcbf15e8f..cfdb117a5f98 100644 - -if CONFIG["OS_TARGET"] == "Android" and CONFIG["TARGET_CPU"] == "x86": - -- CXXFLAGS += [ -- "-msse2" -- ] -- + CXXFLAGS += [ + "-msse2" + ] + -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64": - - DEFINES["_GNU_SOURCE"] = True @@ -98413,10 +100165,10 @@ index 625fcbf15e8f..cfdb117a5f98 100644 - -if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86": - - CXXFLAGS += [ - "-msse2" - ] - +- CXXFLAGS += [ +- "-msse2" +- ] +- - DEFINES["_GNU_SOURCE"] = True + DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -100435,10 +102187,10 @@ index cc32236f6fd8..ad4975965293 100644 Library("zero_memory_gn") diff --git third_party/libwebrtc/sdk/base_objc_gn/moz.build third_party/libwebrtc/sdk/base_objc_gn/moz.build deleted file mode 100644 -index 3232b94550b1..000000000000 +index 187f931437ae..000000000000 --- third_party/libwebrtc/sdk/base_objc_gn/moz.build +++ /dev/null -@@ -1,83 +0,0 @@ +@@ -1,88 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. @@ -100489,6 +102241,11 @@ index 3232b94550b1..000000000000 - "/tools/profiler/public" -] - +-OS_LIBS += [ +- "-framework AVFoundation", +- "-framework Foundation" +-] +- -UNIFIED_SOURCES += [ - "/third_party/libwebrtc/sdk/objc/base/RTCEncodedImage.m", - "/third_party/libwebrtc/sdk/objc/base/RTCLogging.mm", @@ -100524,10 +102281,10 @@ index 3232b94550b1..000000000000 -Library("base_objc_gn") diff --git third_party/libwebrtc/sdk/helpers_objc_gn/moz.build third_party/libwebrtc/sdk/helpers_objc_gn/moz.build deleted file mode 100644 -index dd0e296c0d9b..000000000000 +index e3c47303d218..000000000000 --- third_party/libwebrtc/sdk/helpers_objc_gn/moz.build +++ /dev/null -@@ -1,78 +0,0 @@ +@@ -1,84 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. @@ -100578,6 +102335,12 @@ index dd0e296c0d9b..000000000000 - "/tools/profiler/public" -] - +-OS_LIBS += [ +- "-framework AVFoundation", +- "-framework CoreMedia", +- "-framework Foundation" +-] +- -UNIFIED_SOURCES += [ - "/third_party/libwebrtc/sdk/objc/helpers/AVCaptureSession+DevicePosition.mm", - "/third_party/libwebrtc/sdk/objc/helpers/NSString+StdString.mm", @@ -100608,10 +102371,10 @@ index dd0e296c0d9b..000000000000 -Library("helpers_objc_gn") diff --git third_party/libwebrtc/sdk/videocapture_objc_gn/moz.build third_party/libwebrtc/sdk/videocapture_objc_gn/moz.build deleted file mode 100644 -index 2ffeeaa138b8..000000000000 +index ae460dab1d29..000000000000 --- third_party/libwebrtc/sdk/videocapture_objc_gn/moz.build +++ /dev/null -@@ -1,73 +0,0 @@ +@@ -1,83 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. @@ -100658,6 +102421,16 @@ index 2ffeeaa138b8..000000000000 - "/tools/profiler/public" -] - +-OS_LIBS += [ +- "-framework AVFoundation", +- "-framework CoreGraphics", +- "-framework CoreMedia", +- "-framework CoreVideo", +- "-framework Foundation", +- "-framework QuartzCore", +- "-framework VideoToolbox" +-] +- -UNIFIED_SOURCES += [ - "/third_party/libwebrtc/sdk/objc/components/capturer/RTCCameraVideoCapturer.m", - "/third_party/libwebrtc/sdk/objc/components/capturer/RTCFileVideoCapturer.m" @@ -100687,10 +102460,10 @@ index 2ffeeaa138b8..000000000000 -Library("videocapture_objc_gn") diff --git third_party/libwebrtc/sdk/videoframebuffer_objc_gn/moz.build third_party/libwebrtc/sdk/videoframebuffer_objc_gn/moz.build deleted file mode 100644 -index aa7cfdc37e7e..000000000000 +index 2c13be185fd9..000000000000 --- third_party/libwebrtc/sdk/videoframebuffer_objc_gn/moz.build +++ /dev/null -@@ -1,76 +0,0 @@ +@@ -1,84 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. @@ -100739,6 +102512,14 @@ index aa7cfdc37e7e..000000000000 - "/tools/profiler/public" -] - +-OS_LIBS += [ +- "-framework AVFoundation", +- "-framework CoreGraphics", +- "-framework CoreVideo", +- "-framework Foundation", +- "-framework VideoToolbox" +-] +- -UNIFIED_SOURCES += [ - "/third_party/libwebrtc/sdk/objc/api/video_frame_buffer/RTCNativeI420Buffer.mm", - "/third_party/libwebrtc/sdk/objc/api/video_frame_buffer/RTCNativeMutableI420Buffer.mm", @@ -100969,7 +102750,7 @@ index 08d9aa144732..fd8ec68ddd26 100644 Library("metrics_gn") diff --git third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build -index 4fa60596e37a..baedab7a92c5 100644 +index 4f2b3944051b..baedab7a92c5 100644 --- third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build +++ third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -100995,7 +102776,7 @@ index 4fa60596e37a..baedab7a92c5 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -101025,6 +102806,10 @@ index 4fa60596e37a..baedab7a92c5 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -101090,7 +102875,7 @@ index 4fa60596e37a..baedab7a92c5 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -101177,7 +102962,7 @@ index 4fa60596e37a..baedab7a92c5 100644 Library("system_wrappers_gn") diff --git third_party/libwebrtc/test/rtp_test_utils_gn/moz.build third_party/libwebrtc/test/rtp_test_utils_gn/moz.build -index 397490a28b3e..d4884aaa78de 100644 +index 37b54625affc..d4884aaa78de 100644 --- third_party/libwebrtc/test/rtp_test_utils_gn/moz.build +++ third_party/libwebrtc/test/rtp_test_utils_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -101203,7 +102988,7 @@ index 397490a28b3e..d4884aaa78de 100644 FINAL_LIBRARY = "xul" -@@ -43,94 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -101223,7 +103008,6 @@ index 397490a28b3e..d4884aaa78de 100644 - DEFINES["__STDC_FORMAT_MACROS"] = True - - OS_LIBS += [ -- "GLESv2", - "log" - ] - @@ -101234,6 +103018,10 @@ index 397490a28b3e..d4884aaa78de 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -101299,7 +103087,7 @@ index 397490a28b3e..d4884aaa78de 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -138,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -101325,7 +103113,7 @@ index 397490a28b3e..d4884aaa78de 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -166,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -102461,7 +104249,7 @@ index 11dbf4942190..d44acce8cafa 100644 - Library("rnn_vad_gn") diff --git third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build -index fcd4b072075a..4b1785d01c7b 100644 +index 2bfbbf005753..4b1785d01c7b 100644 --- third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build +++ third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -102487,7 +104275,7 @@ index fcd4b072075a..4b1785d01c7b 100644 FINAL_LIBRARY = "xul" -@@ -58,93 +67,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -58,97 +67,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -102517,6 +104305,10 @@ index fcd4b072075a..4b1785d01c7b 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -102582,7 +104374,7 @@ index fcd4b072075a..4b1785d01c7b 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -152,82 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -156,82 +75,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -102669,7 +104461,7 @@ index fcd4b072075a..4b1785d01c7b 100644 Library("video_adaptation_gn") diff --git third_party/libwebrtc/video/config/encoder_config_gn/moz.build third_party/libwebrtc/video/config/encoder_config_gn/moz.build -index b061e235ad37..6bd8969064f2 100644 +index 1eef68d19eb0..6bd8969064f2 100644 --- third_party/libwebrtc/video/config/encoder_config_gn/moz.build +++ third_party/libwebrtc/video/config/encoder_config_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -102695,7 +104487,7 @@ index b061e235ad37..6bd8969064f2 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -102725,6 +104517,10 @@ index b061e235ad37..6bd8969064f2 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -102790,7 +104586,7 @@ index b061e235ad37..6bd8969064f2 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -102877,7 +104673,7 @@ index b061e235ad37..6bd8969064f2 100644 Library("encoder_config_gn") diff --git third_party/libwebrtc/video/config/streams_config_gn/moz.build third_party/libwebrtc/video/config/streams_config_gn/moz.build -index 9c9537e37618..5c4bae1982f8 100644 +index 628ffe4c2d31..5c4bae1982f8 100644 --- third_party/libwebrtc/video/config/streams_config_gn/moz.build +++ third_party/libwebrtc/video/config/streams_config_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -102903,7 +104699,7 @@ index 9c9537e37618..5c4bae1982f8 100644 FINAL_LIBRARY = "xul" -@@ -48,94 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -48,98 +57,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -102934,6 +104730,10 @@ index 9c9537e37618..5c4bae1982f8 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -102999,7 +104799,7 @@ index 9c9537e37618..5c4bae1982f8 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -143,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -147,82 +65,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -103086,7 +104886,7 @@ index 9c9537e37618..5c4bae1982f8 100644 Library("streams_config_gn") diff --git third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build -index cfa160ce62f1..359336a22dc2 100644 +index c5553d28a1fe..359336a22dc2 100644 --- third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build +++ third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -103112,7 +104912,7 @@ index cfa160ce62f1..359336a22dc2 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -103142,6 +104942,10 @@ index cfa160ce62f1..359336a22dc2 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -103207,7 +105011,7 @@ index cfa160ce62f1..359336a22dc2 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -103294,7 +105098,7 @@ index cfa160ce62f1..359336a22dc2 100644 Library("corruption_classifier_gn") diff --git third_party/libwebrtc/video/corruption_detection/frame_instrumentation_generator_impl_gn/moz.build third_party/libwebrtc/video/corruption_detection/frame_instrumentation_generator_impl_gn/moz.build -index 4b1c8a3c5a3f..29219c0a2b68 100644 +index d63afaea4c13..29219c0a2b68 100644 --- third_party/libwebrtc/video/corruption_detection/frame_instrumentation_generator_impl_gn/moz.build +++ third_party/libwebrtc/video/corruption_detection/frame_instrumentation_generator_impl_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -103320,7 +105124,7 @@ index 4b1c8a3c5a3f..29219c0a2b68 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -103350,6 +105154,10 @@ index 4b1c8a3c5a3f..29219c0a2b68 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -103415,7 +105223,7 @@ index 4b1c8a3c5a3f..29219c0a2b68 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -103502,7 +105310,7 @@ index 4b1c8a3c5a3f..29219c0a2b68 100644 Library("frame_instrumentation_generator_impl_gn") diff --git third_party/libwebrtc/video/corruption_detection/frame_selector_gn/moz.build third_party/libwebrtc/video/corruption_detection/frame_selector_gn/moz.build -index c1eb4687a455..d52a74511c4a 100644 +index 030025f3e4c9..d52a74511c4a 100644 --- third_party/libwebrtc/video/corruption_detection/frame_selector_gn/moz.build +++ third_party/libwebrtc/video/corruption_detection/frame_selector_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -103528,7 +105336,7 @@ index c1eb4687a455..d52a74511c4a 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -103558,6 +105366,10 @@ index c1eb4687a455..d52a74511c4a 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -103623,7 +105435,7 @@ index c1eb4687a455..d52a74511c4a 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -103710,7 +105522,7 @@ index c1eb4687a455..d52a74511c4a 100644 Library("frame_selector_gn") diff --git third_party/libwebrtc/video/corruption_detection/generic_mapping_functions_gn/moz.build third_party/libwebrtc/video/corruption_detection/generic_mapping_functions_gn/moz.build -index ea5e36bc12b2..5711161052a2 100644 +index 0fa25d316d9f..5711161052a2 100644 --- third_party/libwebrtc/video/corruption_detection/generic_mapping_functions_gn/moz.build +++ third_party/libwebrtc/video/corruption_detection/generic_mapping_functions_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -103736,7 +105548,7 @@ index ea5e36bc12b2..5711161052a2 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -103766,6 +105578,10 @@ index ea5e36bc12b2..5711161052a2 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -103831,7 +105647,7 @@ index ea5e36bc12b2..5711161052a2 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -103918,7 +105734,7 @@ index ea5e36bc12b2..5711161052a2 100644 Library("generic_mapping_functions_gn") diff --git third_party/libwebrtc/video/corruption_detection/halton_frame_sampler_gn/moz.build third_party/libwebrtc/video/corruption_detection/halton_frame_sampler_gn/moz.build -index 4d828ba340ab..8863de6699e2 100644 +index 19de22c9c121..8863de6699e2 100644 --- third_party/libwebrtc/video/corruption_detection/halton_frame_sampler_gn/moz.build +++ third_party/libwebrtc/video/corruption_detection/halton_frame_sampler_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -103944,7 +105760,7 @@ index 4d828ba340ab..8863de6699e2 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -103974,6 +105790,10 @@ index 4d828ba340ab..8863de6699e2 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -104039,7 +105859,7 @@ index 4d828ba340ab..8863de6699e2 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -104327,7 +106147,7 @@ index 5a7861935409..dd527cc598fd 100644 Library("halton_sequence_gn") diff --git third_party/libwebrtc/video/corruption_detection/utils_gn/moz.build third_party/libwebrtc/video/corruption_detection/utils_gn/moz.build -index bfcf6943e7fd..9a413a84c00c 100644 +index d723513a4a0d..9a413a84c00c 100644 --- third_party/libwebrtc/video/corruption_detection/utils_gn/moz.build +++ third_party/libwebrtc/video/corruption_detection/utils_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -104353,7 +106173,7 @@ index bfcf6943e7fd..9a413a84c00c 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -104383,6 +106203,10 @@ index bfcf6943e7fd..9a413a84c00c 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -104448,7 +106272,7 @@ index bfcf6943e7fd..9a413a84c00c 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -104535,7 +106359,7 @@ index bfcf6943e7fd..9a413a84c00c 100644 Library("utils_gn") diff --git third_party/libwebrtc/video/corruption_detection/video_frame_sampler_gn/moz.build third_party/libwebrtc/video/corruption_detection/video_frame_sampler_gn/moz.build -index 9a1b15abcfff..1982add086b5 100644 +index 72660d182f90..1982add086b5 100644 --- third_party/libwebrtc/video/corruption_detection/video_frame_sampler_gn/moz.build +++ third_party/libwebrtc/video/corruption_detection/video_frame_sampler_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -104561,7 +106385,7 @@ index 9a1b15abcfff..1982add086b5 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -104591,6 +106415,10 @@ index 9a1b15abcfff..1982add086b5 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -104656,7 +106484,7 @@ index 9a1b15abcfff..1982add086b5 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -104743,7 +106571,7 @@ index 9a1b15abcfff..1982add086b5 100644 Library("video_frame_sampler_gn") diff --git third_party/libwebrtc/video/decode_synchronizer_gn/moz.build third_party/libwebrtc/video/decode_synchronizer_gn/moz.build -index 8f7ab83f0410..6cca8e356eab 100644 +index 2eaaefff321e..6cca8e356eab 100644 --- third_party/libwebrtc/video/decode_synchronizer_gn/moz.build +++ third_party/libwebrtc/video/decode_synchronizer_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -104769,7 +106597,7 @@ index 8f7ab83f0410..6cca8e356eab 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -104799,6 +106627,10 @@ index 8f7ab83f0410..6cca8e356eab 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -104864,7 +106696,7 @@ index 8f7ab83f0410..6cca8e356eab 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -104951,7 +106783,7 @@ index 8f7ab83f0410..6cca8e356eab 100644 Library("decode_synchronizer_gn") diff --git third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build -index 7154de522f9f..8217072a1ae6 100644 +index 59b84fe4f5bc..8217072a1ae6 100644 --- third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build +++ third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -104977,7 +106809,7 @@ index 7154de522f9f..8217072a1ae6 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -105007,6 +106839,10 @@ index 7154de522f9f..8217072a1ae6 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -105072,7 +106908,7 @@ index 7154de522f9f..8217072a1ae6 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -105159,7 +106995,7 @@ index 7154de522f9f..8217072a1ae6 100644 Library("frame_cadence_adapter_gn") diff --git third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build -index 31aaa0c6d9f7..19ae483f4a71 100644 +index 630f5c129034..19ae483f4a71 100644 --- third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build +++ third_party/libwebrtc/video/frame_decode_scheduler_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -105185,7 +107021,7 @@ index 31aaa0c6d9f7..19ae483f4a71 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -105215,6 +107051,10 @@ index 31aaa0c6d9f7..19ae483f4a71 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -105280,7 +107120,7 @@ index 31aaa0c6d9f7..19ae483f4a71 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -105306,7 +107146,7 @@ index 31aaa0c6d9f7..19ae483f4a71 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -105348,7 +107188,7 @@ index 31aaa0c6d9f7..19ae483f4a71 100644 - Library("frame_decode_scheduler_gn") diff --git third_party/libwebrtc/video/frame_decode_timing_gn/moz.build third_party/libwebrtc/video/frame_decode_timing_gn/moz.build -index c7f2119841bf..137f7895b759 100644 +index 48a9e1f9e29b..137f7895b759 100644 --- third_party/libwebrtc/video/frame_decode_timing_gn/moz.build +++ third_party/libwebrtc/video/frame_decode_timing_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -105374,7 +107214,7 @@ index c7f2119841bf..137f7895b759 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -105404,6 +107244,10 @@ index c7f2119841bf..137f7895b759 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -105469,7 +107313,7 @@ index c7f2119841bf..137f7895b759 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -105556,7 +107400,7 @@ index c7f2119841bf..137f7895b759 100644 Library("frame_decode_timing_gn") diff --git third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build -index 7fab4956e09a..32555ded59e3 100644 +index b5dc1ce3d477..32555ded59e3 100644 --- third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build +++ third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -105582,7 +107426,7 @@ index 7fab4956e09a..32555ded59e3 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -105612,6 +107456,10 @@ index 7fab4956e09a..32555ded59e3 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -105677,7 +107525,7 @@ index 7fab4956e09a..32555ded59e3 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -105764,7 +107612,7 @@ index 7fab4956e09a..32555ded59e3 100644 Library("frame_dumping_decoder_gn") diff --git third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build -index f9549887ca10..14caad01936c 100644 +index bd6b004e1af9..14caad01936c 100644 --- third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build +++ third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -105790,7 +107638,7 @@ index f9549887ca10..14caad01936c 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -105820,6 +107668,10 @@ index f9549887ca10..14caad01936c 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -105885,7 +107737,7 @@ index f9549887ca10..14caad01936c 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -105972,7 +107824,7 @@ index f9549887ca10..14caad01936c 100644 Library("frame_dumping_encoder_gn") diff --git third_party/libwebrtc/video/null_video_decoder_gn/moz.build third_party/libwebrtc/video/null_video_decoder_gn/moz.build -index a54df582bde3..a45427d97f9d 100644 +index 5e555ce6be06..a45427d97f9d 100644 --- third_party/libwebrtc/video/null_video_decoder_gn/moz.build +++ third_party/libwebrtc/video/null_video_decoder_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -105998,7 +107850,7 @@ index a54df582bde3..a45427d97f9d 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -106028,6 +107880,10 @@ index a54df582bde3..a45427d97f9d 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -106093,7 +107949,7 @@ index a54df582bde3..a45427d97f9d 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -106180,7 +108036,7 @@ index a54df582bde3..a45427d97f9d 100644 Library("null_video_decoder_gn") diff --git third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build -index a77229b1cd27..a692101c0f9a 100644 +index 705d0e4c6d5c..a692101c0f9a 100644 --- third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build +++ third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -106206,7 +108062,7 @@ index a77229b1cd27..a692101c0f9a 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -106236,6 +108092,10 @@ index a77229b1cd27..a692101c0f9a 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -106301,7 +108161,7 @@ index a77229b1cd27..a692101c0f9a 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -106388,7 +108248,7 @@ index a77229b1cd27..a692101c0f9a 100644 Library("incoming_video_stream_gn") diff --git third_party/libwebrtc/video/render/video_render_frames_gn/moz.build third_party/libwebrtc/video/render/video_render_frames_gn/moz.build -index 95c5cfac3135..5115768187f8 100644 +index d369af897847..5115768187f8 100644 --- third_party/libwebrtc/video/render/video_render_frames_gn/moz.build +++ third_party/libwebrtc/video/render/video_render_frames_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -106414,7 +108274,7 @@ index 95c5cfac3135..5115768187f8 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -106444,6 +108304,10 @@ index 95c5cfac3135..5115768187f8 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -106509,7 +108373,7 @@ index 95c5cfac3135..5115768187f8 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -106596,7 +108460,7 @@ index 95c5cfac3135..5115768187f8 100644 Library("video_render_frames_gn") diff --git third_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build third_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build -index 4de1f5ad2fdd..8246738516f0 100644 +index 5b8e3c121246..8246738516f0 100644 --- third_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build +++ third_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -106622,7 +108486,7 @@ index 4de1f5ad2fdd..8246738516f0 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -106652,6 +108516,10 @@ index 4de1f5ad2fdd..8246738516f0 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -106717,7 +108585,7 @@ index 4de1f5ad2fdd..8246738516f0 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -107001,7 +108869,7 @@ index 72e688a2fd38..81a67ad64a30 100644 Library("unique_timestamp_counter_gn") diff --git third_party/libwebrtc/video/video_gn/moz.build third_party/libwebrtc/video/video_gn/moz.build -index 1ed93bc4edad..e89aa9c1a879 100644 +index 19eb32db7201..e89aa9c1a879 100644 --- third_party/libwebrtc/video/video_gn/moz.build +++ third_party/libwebrtc/video/video_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -107027,7 +108895,7 @@ index 1ed93bc4edad..e89aa9c1a879 100644 FINAL_LIBRARY = "xul" -@@ -66,94 +75,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -66,98 +75,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -107058,6 +108926,10 @@ index 1ed93bc4edad..e89aa9c1a879 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -107123,7 +108995,7 @@ index 1ed93bc4edad..e89aa9c1a879 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -161,82 +83,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -165,82 +83,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -107210,7 +109082,7 @@ index 1ed93bc4edad..e89aa9c1a879 100644 Library("video_gn") diff --git third_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build third_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build -index 42870825480d..be7dadbb91b3 100644 +index 6aebfc918333..be7dadbb91b3 100644 --- third_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build +++ third_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -107236,7 +109108,7 @@ index 42870825480d..be7dadbb91b3 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -107266,6 +109138,10 @@ index 42870825480d..be7dadbb91b3 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -107331,7 +109207,7 @@ index 42870825480d..be7dadbb91b3 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -107418,7 +109294,7 @@ index 42870825480d..be7dadbb91b3 100644 Library("video_receive_stream_timeout_tracker_gn") diff --git third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build -index 5feb210ca76d..0e08359b11ae 100644 +index 5adc5682c37c..0e08359b11ae 100644 --- third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build +++ third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -107444,7 +109320,7 @@ index 5feb210ca76d..0e08359b11ae 100644 FINAL_LIBRARY = "xul" -@@ -47,93 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -47,97 +56,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -107474,6 +109350,10 @@ index 5feb210ca76d..0e08359b11ae 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -107539,7 +109419,7 @@ index 5feb210ca76d..0e08359b11ae 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -141,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -145,82 +64,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -107626,7 +109506,7 @@ index 5feb210ca76d..0e08359b11ae 100644 Library("video_stream_buffer_controller_gn") diff --git third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build -index b0d640ccd28d..be6404ae0ef6 100644 +index 7b5405238e03..be6404ae0ef6 100644 --- third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build +++ third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -107652,7 +109532,7 @@ index b0d640ccd28d..be6404ae0ef6 100644 FINAL_LIBRARY = "xul" -@@ -55,94 +64,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -55,98 +64,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -107683,6 +109563,10 @@ index b0d640ccd28d..be6404ae0ef6 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -107748,7 +109632,7 @@ index b0d640ccd28d..be6404ae0ef6 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -150,82 +72,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -154,82 +72,21 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -107835,7 +109719,7 @@ index b0d640ccd28d..be6404ae0ef6 100644 Library("video_stream_encoder_impl_gn") diff --git third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build -index 4cfd356d5a35..60a6dad7b102 100644 +index 5fd04eb29bed..60a6dad7b102 100644 --- third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build +++ third_party/libwebrtc/video/video_stream_encoder_interface_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -107861,7 +109745,7 @@ index 4cfd356d5a35..60a6dad7b102 100644 FINAL_LIBRARY = "xul" -@@ -43,93 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,97 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -107891,6 +109775,10 @@ index 4cfd356d5a35..60a6dad7b102 100644 - DEFINES["__STDC_CONSTANT_MACROS"] = True - DEFINES["__STDC_FORMAT_MACROS"] = True - +- OS_LIBS += [ +- "-framework Foundation" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -107956,7 +109844,7 @@ index 4cfd356d5a35..60a6dad7b102 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -137,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -141,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -107982,7 +109870,7 @@ index 4cfd356d5a35..60a6dad7b102 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -165,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -169,40 +73,4 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -108024,7 +109912,7 @@ index 4cfd356d5a35..60a6dad7b102 100644 - Library("video_stream_encoder_interface_gn") diff --git third_party/libwebrtc/webrtc_gn/moz.build third_party/libwebrtc/webrtc_gn/moz.build -index 4c4f3e51bc4e..098548836fda 100644 +index 4e3218126540..098548836fda 100644 --- third_party/libwebrtc/webrtc_gn/moz.build +++ third_party/libwebrtc/webrtc_gn/moz.build @@ -13,13 +13,22 @@ DEFINES["ABSL_ALLOCATOR_NOTHROW"] = "1" @@ -108050,7 +109938,7 @@ index 4c4f3e51bc4e..098548836fda 100644 FINAL_LIBRARY = "xul" -@@ -43,117 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: +@@ -43,130 +52,7 @@ if not CONFIG["MOZ_DEBUG"]: if CONFIG["MOZ_DEBUG"] == "1": DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "1" @@ -108086,6 +109974,19 @@ index 4c4f3e51bc4e..098548836fda 100644 - "/third_party/libwebrtc/sdk/objc/base/" - ] - +- OS_LIBS += [ +- "-framework AppKit", +- "-framework AVFoundation", +- "-framework CoreGraphics", +- "-framework CoreMedia", +- "-framework CoreVideo", +- "-framework Foundation", +- "-framework IOKit", +- "-framework IOSurface", +- "-framework QuartzCore", +- "-framework VideoToolbox" +- ] +- -if CONFIG["OS_TARGET"] == "Linux": - - DEFINES["USE_AURA"] = "1" @@ -108169,7 +110070,7 @@ index 4c4f3e51bc4e..098548836fda 100644 if CONFIG["TARGET_CPU"] == "aarch64": -@@ -161,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": +@@ -174,25 +60,10 @@ if CONFIG["TARGET_CPU"] == "aarch64": DEFINES["WEBRTC_HAS_NEON"] = True DEFINES["__ARM_NEON__"] = "1" @@ -108195,7 +110096,7 @@ index 4c4f3e51bc4e..098548836fda 100644 if CONFIG["TARGET_CPU"] == "x86": -@@ -189,27 +73,7 @@ if CONFIG["TARGET_CPU"] == "x86_64": +@@ -202,27 +73,7 @@ if CONFIG["TARGET_CPU"] == "x86_64": DEFINES["WEBRTC_ENABLE_AVX2"] = True @@ -108224,7 +110125,7 @@ index 4c4f3e51bc4e..098548836fda 100644 OS_LIBS += [ "X11", -@@ -221,20 +85,4 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": +@@ -234,20 +85,4 @@ if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux": "Xrender" ] diff --git a/mail/thunderbird/files/patch-python_sites_mach.txt b/mail/thunderbird/files/patch-python_sites_mach.txt index 84ca5fd16905..c551bb7abc1b 100644 --- a/mail/thunderbird/files/patch-python_sites_mach.txt +++ b/mail/thunderbird/files/patch-python_sites_mach.txt @@ -1,20 +1,19 @@ -commit 4ae638d5bbcaa34f67b316bc79eb9c1fe14ec362 +commit 89784e00bea215965b7fa41635b3ddc5b6a0af38 Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> -Date: Tue Jun 9 21:44:59 2026 +0200 avoid problems with python modules in mach diff --git python/sites/mach.txt python/sites/mach.txt -index 8f4aa95dbd04..045c15136680 100644 +index d5cdce88869a..6192acecf116 100644 --- python/sites/mach.txt +++ python/sites/mach.txt @@ -58,15 +58,15 @@ pth:xpcom/geckoprocesstypes_generator pth:xpcom/idl-parser # glean-sdk may not be installable if a wheel isn't available # and it has to be built from source. --pypi-optional:glean-sdk==67.3.2:telemetry will not be collected +-pypi-optional:glean-sdk==68.0.1:telemetry will not be collected -pypi-optional:orjson>=3.10:json operations will be slower in various tools -+# pypi-optional:glean-sdk==67.3.2:telemetry will not be collected ++# pypi-optional:glean-sdk==68.0.1:telemetry will not be collected +# pypi-optional:orjson>=3.10:json operations will be slower in various tools # Mach gracefully handles the case where `psutil` is unavailable. # We aren't (yet) able to pin packages in automation, so we have to diff --git a/mail/thunderbird/files/patch-third__party_angle_angle__common__gn_moz.build b/mail/thunderbird/files/patch-third__party_angle_angle__common__gn_moz.build new file mode 100644 index 000000000000..10a3af34763b --- /dev/null +++ b/mail/thunderbird/files/patch-third__party_angle_angle__common__gn_moz.build @@ -0,0 +1,36 @@ +commit 06b2489a8a44a6f3f7bf4c523689a78e78b52c83 +Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> + + angle build target for FreeBSD + +diff --git third_party/angle/angle_common_gn/moz.build third_party/angle/angle_common_gn/moz.build +index e3220891a415..b39166f60958 100644 +--- third_party/angle/angle_common_gn/moz.build ++++ third_party/angle/angle_common_gn/moz.build +@@ -134,6 +134,26 @@ if CONFIG["OS_TARGET"] == "Linux": + "/third_party/angle/src/common/system_utils_posix.cpp" + ] + ++if CONFIG["OS_TARGET"] == "FreeBSD": ++ ++ DEFINES["ANGLE_USE_VULKAN_DISPLAY"] = True ++ DEFINES["ANGLE_VULKAN_DISPLAY_MODE_HEADLESS"] = True ++ DEFINES["USE_GLIB"] = "1" ++ DEFINES["USE_OZONE"] = "1" ++ DEFINES["_FILE_OFFSET_BITS"] = "64" ++ DEFINES["_LARGEFILE64_SOURCE"] = True ++ DEFINES["_LARGEFILE_SOURCE"] = True ++ DEFINES["__STDC_CONSTANT_MACROS"] = True ++ DEFINES["__STDC_FORMAT_MACROS"] = True ++ ++ OS_LIBS += [ ++ "dl" ++ ] ++ ++ UNIFIED_SOURCES += [ ++ "/third_party/angle/src/common/system_utils_posix.cpp" ++ ] ++ + if CONFIG["OS_TARGET"] == "OpenBSD": + + DEFINES["USE_GLIB"] = "1" diff --git a/mail/thunderbird/files/patch-third__party_angle_angle__program__version__id__gn_moz.build b/mail/thunderbird/files/patch-third__party_angle_angle__program__version__id__gn_moz.build new file mode 100644 index 000000000000..893fbf95210f --- /dev/null +++ b/mail/thunderbird/files/patch-third__party_angle_angle__program__version__id__gn_moz.build @@ -0,0 +1,897 @@ +commit 71e48e32362224d51aab8349c697d5d8f45d7be0 +Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> + + ANGLEShader components for FreeBSD + +diff --git third_party/angle/angle_program_version_id_gn/ANGLEShaderProgramVersion.h-22c710649c380411.rsp.in third_party/angle/angle_program_version_id_gn/ANGLEShaderProgramVersion.h-22c710649c380411.rsp.in +new file mode 100644 +index 000000000000..2246ef3ddae9 +--- /dev/null ++++ third_party/angle/angle_program_version_id_gn/ANGLEShaderProgramVersion.h-22c710649c380411.rsp.in +@@ -0,0 +1,866 @@ ++/third_party/angle/src/common/BinaryStream.h ++/third_party/angle/src/common/CircularBuffer.h ++/third_party/angle/src/common/Color.h ++/third_party/angle/src/common/Color.inc ++/third_party/angle/src/common/CompiledShaderState.h ++/third_party/angle/src/common/FastVector.h ++/third_party/angle/src/common/FixedQueue.h ++/third_party/angle/src/common/FixedVector.h ++/third_party/angle/src/common/MemoryBuffer.h ++/third_party/angle/src/common/Optional.h ++/third_party/angle/src/common/PackedEGLEnums_autogen.h ++/third_party/angle/src/common/PackedEnums.h ++/third_party/angle/src/common/PackedGLEnums_autogen.h ++/third_party/angle/src/common/PackedCLEnums_autogen.h ++/third_party/angle/src/common/PoolAlloc.h ++/third_party/angle/src/common/SimpleMutex.h ++/third_party/angle/src/common/SynchronizedValue.h ++/third_party/angle/src/common/WorkerThread.h ++/third_party/angle/src/common/aligned_memory.h ++/third_party/angle/src/common/android_util.h ++/third_party/angle/src/common/angleutils.h ++/third_party/angle/src/common/apple_platform_utils.h ++/third_party/angle/src/common/backtrace_utils.h ++/third_party/angle/src/common/base/anglebase/base_export.h ++/third_party/angle/src/common/base/anglebase/containers/mru_cache.h ++/third_party/angle/src/common/base/anglebase/logging.h ++/third_party/angle/src/common/base/anglebase/macros.h ++/third_party/angle/src/common/base/anglebase/no_destructor.h ++/third_party/angle/src/common/base/anglebase/numerics/checked_math.h ++/third_party/angle/src/common/base/anglebase/numerics/checked_math_impl.h ++/third_party/angle/src/common/base/anglebase/numerics/clamped_math.h ++/third_party/angle/src/common/base/anglebase/numerics/clamped_math_impl.h ++/third_party/angle/src/common/base/anglebase/numerics/math_constants.h ++/third_party/angle/src/common/base/anglebase/numerics/ranges.h ++/third_party/angle/src/common/base/anglebase/numerics/safe_conversions.h ++/third_party/angle/src/common/base/anglebase/numerics/safe_conversions_arm_impl.h ++/third_party/angle/src/common/base/anglebase/numerics/safe_conversions_impl.h ++/third_party/angle/src/common/base/anglebase/numerics/safe_math.h ++/third_party/angle/src/common/base/anglebase/numerics/safe_math_arm_impl.h ++/third_party/angle/src/common/base/anglebase/numerics/safe_math_clang_gcc_impl.h ++/third_party/angle/src/common/base/anglebase/numerics/safe_math_shared_impl.h ++/third_party/angle/src/common/base/anglebase/sha1.h ++/third_party/angle/src/common/base/anglebase/sys_byteorder.h ++/third_party/angle/src/common/bitset_utils.h ++/third_party/angle/src/common/debug.h ++/third_party/angle/src/common/entry_points_enum_autogen.h ++/third_party/angle/src/common/event_tracer.h ++/third_party/angle/src/common/hash_containers.h ++/third_party/angle/src/common/hash_utils.h ++/third_party/angle/src/common/log_utils.h ++/third_party/angle/src/common/mathutil.h ++/third_party/angle/src/common/matrix_utils.h ++/third_party/angle/src/common/platform.h ++/third_party/angle/src/common/platform_helpers.h ++/third_party/angle/src/common/span.h ++/third_party/angle/src/common/span_util.h ++/third_party/angle/src/common/string_utils.h ++/third_party/angle/src/common/system_utils.h ++/third_party/angle/src/common/tls.h ++/third_party/angle/src/common/uniform_type_info_autogen.h ++/third_party/angle/src/common/unsafe_buffers.h ++/third_party/angle/src/common/utilities.h ++/third_party/angle/src/common/vector_utils.h ++/third_party/angle/src/libANGLE/CLBitField.h ++/third_party/angle/src/common/Float16ToFloat32.cpp ++/third_party/angle/src/common/MemoryBuffer.cpp ++/third_party/angle/src/common/PackedEGLEnums_autogen.cpp ++/third_party/angle/src/common/PackedEnums.cpp ++/third_party/angle/src/common/PackedGLEnums_autogen.cpp ++/third_party/angle/src/common/PoolAlloc.cpp ++/third_party/angle/src/common/SimpleMutex.cpp ++/third_party/angle/src/common/WorkerThread.cpp ++/third_party/angle/src/common/aligned_memory.cpp ++/third_party/angle/src/common/android_util.cpp ++/third_party/angle/src/common/angleutils.cpp ++/third_party/angle/src/common/base/anglebase/sha1.cc ++/third_party/angle/src/common/debug.cpp ++/third_party/angle/src/common/entry_points_enum_autogen.cpp ++/third_party/angle/src/common/event_tracer.cpp ++/third_party/angle/src/common/mathutil.cpp ++/third_party/angle/src/common/matrix_utils.cpp ++/third_party/angle/src/common/platform_helpers.cpp ++/third_party/angle/src/common/string_utils.cpp ++/third_party/angle/src/common/system_utils.cpp ++/third_party/angle/src/common/tls.cpp ++/third_party/angle/src/common/uniform_type_info_autogen.cpp ++/third_party/angle/src/common/utilities.cpp ++/third_party/angle/src/common/backtrace_utils_noop.cpp ++/third_party/angle/src/common/system_utils_posix.cpp ++/third_party/angle/src/libANGLE/AttributeMap.h ++/third_party/angle/src/libANGLE/BlobCache.h ++/third_party/angle/src/libANGLE/Buffer.h ++/third_party/angle/src/libANGLE/Caps.h ++/third_party/angle/src/libANGLE/CLBitField.h ++/third_party/angle/src/libANGLE/CLRefPointer.h ++/third_party/angle/src/libANGLE/Compiler.h ++/third_party/angle/src/libANGLE/Config.h ++/third_party/angle/src/libANGLE/Constants.h ++/third_party/angle/src/libANGLE/Context.h ++/third_party/angle/src/libANGLE/Context.inl.h ++/third_party/angle/src/libANGLE/Context_gles_1_0_autogen.h ++/third_party/angle/src/libANGLE/Context_gles_2_0_autogen.h ++/third_party/angle/src/libANGLE/Context_gles_3_0_autogen.h ++/third_party/angle/src/libANGLE/Context_gles_3_1_autogen.h ++/third_party/angle/src/libANGLE/Context_gles_3_2_autogen.h ++/third_party/angle/src/libANGLE/Context_gles_ext_autogen.h ++/third_party/angle/src/libANGLE/Debug.h ++/third_party/angle/src/libANGLE/Device.h ++/third_party/angle/src/libANGLE/Display.h ++/third_party/angle/src/libANGLE/EGLSync.h ++/third_party/angle/src/libANGLE/Error.h ++/third_party/angle/src/libANGLE/Error.inc ++/third_party/angle/src/libANGLE/ErrorStrings.h ++/third_party/angle/src/libANGLE/Fence.h ++/third_party/angle/src/libANGLE/Framebuffer.h ++/third_party/angle/src/libANGLE/FramebufferAttachment.h ++/third_party/angle/src/libANGLE/GLES1Renderer.h ++/third_party/angle/src/libANGLE/GLES1Shaders.inc ++/third_party/angle/src/libANGLE/GLES1State.h ++/third_party/angle/src/libANGLE/GlobalMutex.h ++/third_party/angle/src/libANGLE/HandleAllocator.h ++/third_party/angle/src/libANGLE/Image.h ++/third_party/angle/src/libANGLE/ImageIndex.h ++/third_party/angle/src/libANGLE/IndexRangeCache.h ++/third_party/angle/src/libANGLE/InfoLog.h ++/third_party/angle/src/libANGLE/LoggingAnnotator.h ++/third_party/angle/src/libANGLE/MemoryObject.h ++/third_party/angle/src/libANGLE/MemoryProgramCache.h ++/third_party/angle/src/libANGLE/MemoryShaderCache.h ++/third_party/angle/src/libANGLE/Observer.h ++/third_party/angle/src/libANGLE/Overlay.h ++/third_party/angle/src/libANGLE/OverlayWidgets.h ++/third_party/angle/src/libANGLE/Overlay_autogen.h ++/third_party/angle/src/libANGLE/Overlay_font_autogen.h ++/third_party/angle/src/libANGLE/PixelLocalStorage.h ++/third_party/angle/src/libANGLE/Program.h ++/third_party/angle/src/libANGLE/ProgramExecutable.h ++/third_party/angle/src/libANGLE/ProgramLinkedResources.h ++/third_party/angle/src/libANGLE/ProgramPipeline.h ++/third_party/angle/src/libANGLE/Query.h ++/third_party/angle/src/libANGLE/RefCountObject.h ++/third_party/angle/src/libANGLE/Renderbuffer.h ++/third_party/angle/src/libANGLE/ResourceManager.h ++/third_party/angle/src/libANGLE/ResourceMap.h ++/third_party/angle/src/libANGLE/Sampler.h ++/third_party/angle/src/libANGLE/Semaphore.h ++/third_party/angle/src/libANGLE/Shader.h ++/third_party/angle/src/libANGLE/ShareGroup.h ++/third_party/angle/src/libANGLE/ContextMutex.h ++/third_party/angle/src/libANGLE/SizedMRUCache.h ++/third_party/angle/src/libANGLE/State.h ++/third_party/angle/src/libANGLE/Stream.h ++/third_party/angle/src/libANGLE/Surface.h ++/third_party/angle/src/libANGLE/Texture.h ++/third_party/angle/src/libANGLE/Thread.h ++/third_party/angle/src/libANGLE/TransformFeedback.h ++/third_party/angle/src/libANGLE/Uniform.h ++/third_party/angle/src/libANGLE/VaryingPacking.h ++/third_party/angle/src/libANGLE/Version.h ++/third_party/angle/src/libANGLE/VertexArray.h ++/third_party/angle/src/libANGLE/VertexAttribute.h ++/third_party/angle/src/libANGLE/VertexAttribute.inc ++/third_party/angle/src/libANGLE/angletypes.h ++/third_party/angle/src/libANGLE/angletypes.inc ++/third_party/angle/src/libANGLE/cl_types.h ++/third_party/angle/src/libANGLE/context_private_call.inl.h ++/third_party/angle/src/libANGLE/context_private_call_autogen.h ++/third_party/angle/src/libANGLE/entry_points_utils.h ++/third_party/angle/src/libANGLE/features.h ++/third_party/angle/src/libANGLE/formatutils.h ++/third_party/angle/src/libANGLE/gles_extensions_autogen.h ++/third_party/angle/src/libANGLE/histogram_macros.h ++/third_party/angle/src/libANGLE/queryconversions.h ++/third_party/angle/src/libANGLE/queryutils.h ++/third_party/angle/src/libANGLE/trace.h ++/third_party/angle/src/libANGLE/renderer/BufferImpl.h ++/third_party/angle/src/libANGLE/renderer/CompilerImpl.h ++/third_party/angle/src/libANGLE/renderer/ContextImpl.h ++/third_party/angle/src/libANGLE/renderer/driver_utils.h ++/third_party/angle/src/libANGLE/renderer/DeviceImpl.h ++/third_party/angle/src/libANGLE/renderer/DisplayImpl.h ++/third_party/angle/src/libANGLE/renderer/EGLImplFactory.h ++/third_party/angle/src/libANGLE/renderer/EGLReusableSync.h ++/third_party/angle/src/libANGLE/renderer/EGLSyncImpl.h ++/third_party/angle/src/libANGLE/renderer/FenceNVImpl.h ++/third_party/angle/src/libANGLE/renderer/FormatID_autogen.h ++/third_party/angle/src/libANGLE/renderer/Format.h ++/third_party/angle/src/libANGLE/renderer/FramebufferAttachmentObjectImpl.h ++/third_party/angle/src/libANGLE/renderer/FramebufferImpl.h ++/third_party/angle/src/libANGLE/renderer/GLImplFactory.h ++/third_party/angle/src/libANGLE/renderer/gl/functionsgl_enums.h ++/third_party/angle/src/libANGLE/renderer/ImageImpl.h ++/third_party/angle/src/libANGLE/renderer/MemoryObjectImpl.h ++/third_party/angle/src/libANGLE/renderer/OverlayImpl.h ++/third_party/angle/src/libANGLE/renderer/ProgramImpl.h ++/third_party/angle/src/libANGLE/renderer/ProgramExecutableImpl.h ++/third_party/angle/src/libANGLE/renderer/ProgramPipelineImpl.h ++/third_party/angle/src/libANGLE/renderer/QueryImpl.h ++/third_party/angle/src/libANGLE/renderer/RenderbufferImpl.h ++/third_party/angle/src/libANGLE/renderer/RenderTargetCache.h ++/third_party/angle/src/libANGLE/renderer/SamplerImpl.h ++/third_party/angle/src/libANGLE/renderer/SemaphoreImpl.h ++/third_party/angle/src/libANGLE/renderer/ShaderImpl.h ++/third_party/angle/src/libANGLE/renderer/ShareGroupImpl.h ++/third_party/angle/src/libANGLE/renderer/StreamProducerImpl.h ++/third_party/angle/src/libANGLE/renderer/SurfaceImpl.h ++/third_party/angle/src/libANGLE/renderer/SyncImpl.h ++/third_party/angle/src/libANGLE/renderer/TextureImpl.h ++/third_party/angle/src/libANGLE/renderer/TransformFeedbackImpl.h ++/third_party/angle/src/libANGLE/renderer/VertexArrayImpl.h ++/third_party/angle/src/libANGLE/renderer/vulkan/DisplayVk_api.h ++/third_party/angle/src/libANGLE/renderer/copyvertex.h ++/third_party/angle/src/libANGLE/renderer/copyvertex.inc.h ++/third_party/angle/src/libANGLE/renderer/load_functions_table.h ++/third_party/angle/src/libANGLE/renderer/renderer_utils.h ++/third_party/angle/src/libANGLE/renderer/serial_utils.h ++/third_party/angle/src/libANGLE/validationEGL.h ++/third_party/angle/src/libANGLE/validationEGL_autogen.h ++/third_party/angle/src/libANGLE/validationES.h ++/third_party/angle/src/libANGLE/validationES1.h ++/third_party/angle/src/libANGLE/validationES1_autogen.h ++/third_party/angle/src/libANGLE/validationES2.h ++/third_party/angle/src/libANGLE/validationES2_autogen.h ++/third_party/angle/src/libANGLE/validationES3.h ++/third_party/angle/src/libANGLE/validationES31.h ++/third_party/angle/src/libANGLE/validationES31_autogen.h ++/third_party/angle/src/libANGLE/validationES32.h ++/third_party/angle/src/libANGLE/validationES32_autogen.h ++/third_party/angle/src/libANGLE/validationES3_autogen.h ++/third_party/angle/src/libANGLE/validationESEXT.h ++/third_party/angle/src/libANGLE/validationESEXT_autogen.h ++/third_party/angle/src/common/base/anglebase/trace_event/trace_event.h ++/third_party/angle/src/libANGLE/CLPlatform.h ++/third_party/angle/src/libANGLE/renderer/CLPlatformImpl.h ++/third_party/angle/src/libANGLE/CLObject.h ++/third_party/angle/src/libANGLE/renderer/CLContextImpl.h ++/third_party/angle/src/libANGLE/renderer/CLDeviceImpl.h ++/third_party/angle/src/libANGLE/renderer/CLExtensions.h ++/third_party/angle/src/libANGLE/renderer/CLCommandQueueImpl.h ++/third_party/angle/src/libANGLE/renderer/CLEventImpl.h ++/third_party/angle/src/libANGLE/renderer/CLMemoryImpl.h ++/third_party/angle/src/libANGLE/renderer/CLProgramImpl.h ++/third_party/angle/src/libANGLE/renderer/CLSamplerImpl.h ++/third_party/angle/src/libANGLE/renderer/CLKernelImpl.h ++/third_party/angle/src/libANGLE/AttributeMap.cpp ++/third_party/angle/src/libANGLE/BlobCache.cpp ++/third_party/angle/src/libANGLE/Buffer.cpp ++/third_party/angle/src/libANGLE/Caps.cpp ++/third_party/angle/src/libANGLE/Compiler.cpp ++/third_party/angle/src/libANGLE/Config.cpp ++/third_party/angle/src/libANGLE/Context.cpp ++/third_party/angle/src/libANGLE/ContextMutex.cpp ++/third_party/angle/src/libANGLE/Context_gles_1_0.cpp ++/third_party/angle/src/libANGLE/Debug.cpp ++/third_party/angle/src/libANGLE/Device.cpp ++/third_party/angle/src/libANGLE/Display.cpp ++/third_party/angle/src/libANGLE/EGLSync.cpp ++/third_party/angle/src/libANGLE/Error.cpp ++/third_party/angle/src/libANGLE/Fence.cpp ++/third_party/angle/src/libANGLE/Framebuffer.cpp ++/third_party/angle/src/libANGLE/FramebufferAttachment.cpp ++/third_party/angle/src/libANGLE/GLES1Renderer.cpp ++/third_party/angle/src/libANGLE/GLES1State.cpp ++/third_party/angle/src/libANGLE/GlobalMutex.cpp ++/third_party/angle/src/libANGLE/HandleAllocator.cpp ++/third_party/angle/src/libANGLE/Image.cpp ++/third_party/angle/src/libANGLE/ImageIndex.cpp ++/third_party/angle/src/libANGLE/IndexRangeCache.cpp ++/third_party/angle/src/libANGLE/LoggingAnnotator.cpp ++/third_party/angle/src/libANGLE/MemoryObject.cpp ++/third_party/angle/src/libANGLE/MemoryProgramCache.cpp ++/third_party/angle/src/libANGLE/MemoryShaderCache.cpp ++/third_party/angle/src/libANGLE/Observer.cpp ++/third_party/angle/src/libANGLE/Overlay.cpp ++/third_party/angle/src/libANGLE/OverlayWidgets.cpp ++/third_party/angle/src/libANGLE/Overlay_autogen.cpp ++/third_party/angle/src/libANGLE/Overlay_font_autogen.cpp ++/third_party/angle/src/libANGLE/PixelLocalStorage.cpp ++/third_party/angle/src/libANGLE/Platform.cpp ++/third_party/angle/src/libANGLE/Program.cpp ++/third_party/angle/src/libANGLE/ProgramExecutable.cpp ++/third_party/angle/src/libANGLE/ProgramLinkedResources.cpp ++/third_party/angle/src/libANGLE/ProgramPipeline.cpp ++/third_party/angle/src/libANGLE/Query.cpp ++/third_party/angle/src/libANGLE/Renderbuffer.cpp ++/third_party/angle/src/libANGLE/ResourceManager.cpp ++/third_party/angle/src/libANGLE/Sampler.cpp ++/third_party/angle/src/libANGLE/Semaphore.cpp ++/third_party/angle/src/libANGLE/Shader.cpp ++/third_party/angle/src/libANGLE/ShareGroup.cpp ++/third_party/angle/src/libANGLE/State.cpp ++/third_party/angle/src/libANGLE/Stream.cpp ++/third_party/angle/src/libANGLE/Surface.cpp ++/third_party/angle/src/libANGLE/Texture.cpp ++/third_party/angle/src/libANGLE/Thread.cpp ++/third_party/angle/src/libANGLE/TransformFeedback.cpp ++/third_party/angle/src/libANGLE/Uniform.cpp ++/third_party/angle/src/libANGLE/VaryingPacking.cpp ++/third_party/angle/src/libANGLE/VertexArray.cpp ++/third_party/angle/src/libANGLE/VertexAttribute.cpp ++/third_party/angle/src/libANGLE/angletypes.cpp ++/third_party/angle/src/libANGLE/es3_copy_conversion_table_autogen.cpp ++/third_party/angle/src/libANGLE/format_map_autogen.cpp ++/third_party/angle/src/libANGLE/formatutils.cpp ++/third_party/angle/src/libANGLE/gles_extensions_autogen.cpp ++/third_party/angle/src/libANGLE/queryconversions.cpp ++/third_party/angle/src/libANGLE/queryutils.cpp ++/third_party/angle/src/libANGLE/renderer/BufferImpl.cpp ++/third_party/angle/src/libANGLE/renderer/ContextImpl.cpp ++/third_party/angle/src/libANGLE/renderer/DeviceImpl.cpp ++/third_party/angle/src/libANGLE/renderer/DisplayImpl.cpp ++/third_party/angle/src/libANGLE/renderer/EGLReusableSync.cpp ++/third_party/angle/src/libANGLE/renderer/EGLSyncImpl.cpp ++/third_party/angle/src/libANGLE/renderer/Format_table_autogen.cpp ++/third_party/angle/src/libANGLE/renderer/FramebufferImpl.cpp ++/third_party/angle/src/libANGLE/renderer/ImageImpl.cpp ++/third_party/angle/src/libANGLE/renderer/ProgramImpl.cpp ++/third_party/angle/src/libANGLE/renderer/ProgramPipelineImpl.cpp ++/third_party/angle/src/libANGLE/renderer/QueryImpl.cpp ++/third_party/angle/src/libANGLE/renderer/RenderbufferImpl.cpp ++/third_party/angle/src/libANGLE/renderer/ShaderImpl.cpp ++/third_party/angle/src/libANGLE/renderer/SurfaceImpl.cpp ++/third_party/angle/src/libANGLE/renderer/TextureImpl.cpp ++/third_party/angle/src/libANGLE/renderer/TransformFeedbackImpl.cpp ++/third_party/angle/src/libANGLE/renderer/VertexArrayImpl.cpp ++/third_party/angle/src/libANGLE/renderer/driver_utils.cpp ++/third_party/angle/src/libANGLE/renderer/load_functions_table_autogen.cpp ++/third_party/angle/src/libANGLE/renderer/renderer_utils.cpp ++/third_party/angle/src/libANGLE/validationEGL.cpp ++/third_party/angle/src/libANGLE/validationES.cpp ++/third_party/angle/src/libANGLE/validationES1.cpp ++/third_party/angle/src/libANGLE/validationES2.cpp ++/third_party/angle/src/libANGLE/validationES3.cpp ++/third_party/angle/src/libANGLE/validationES31.cpp ++/third_party/angle/src/libANGLE/validationES32.cpp ++/third_party/angle/src/libANGLE/validationESEXT.cpp ++/third_party/angle/src/common/frame_capture_binary_data.h ++/third_party/angle/src/common/frame_capture_utils.h ++/third_party/angle/src/common/frame_capture_utils_autogen.h ++/third_party/angle/src/common/gl_enum_utils.h ++/third_party/angle/src/common/gl_enum_utils_autogen.h ++/third_party/angle/src/libANGLE/capture/FrameCapture.h ++/third_party/angle/src/libANGLE/capture/capture_cl_autogen.h ++/third_party/angle/src/libANGLE/capture/capture_egl_autogen.h ++/third_party/angle/src/libANGLE/capture/capture_gles_1_0_autogen.h ++/third_party/angle/src/libANGLE/capture/capture_gles_2_0_autogen.h ++/third_party/angle/src/libANGLE/capture/capture_gles_3_0_autogen.h ++/third_party/angle/src/libANGLE/capture/capture_gles_3_1_autogen.h ++/third_party/angle/src/libANGLE/capture/capture_gles_3_2_autogen.h ++/third_party/angle/src/libANGLE/capture/capture_gles_ext_autogen.h ++/third_party/angle/src/libANGLE/capture/serialize.h ++/third_party/angle/include/angle_gl.h ++/third_party/angle/include/export.h ++/third_party/angle/include/EGL/egl.h ++/third_party/angle/include/EGL/eglext.h ++/third_party/angle/include/EGL/eglext_angle.h ++/third_party/angle/include/EGL/eglplatform.h ++/third_party/angle/include/GLES/gl.h ++/third_party/angle/include/GLES/glplatform.h ++/third_party/angle/include/GLES/glext.h ++/third_party/angle/include/GLES2/gl2.h ++/third_party/angle/include/GLES2/gl2ext.h ++/third_party/angle/include/GLES2/gl2ext_angle.h ++/third_party/angle/include/GLES2/gl2platform.h ++/third_party/angle/include/GLES3/gl3.h ++/third_party/angle/include/GLES3/gl3platform.h ++/third_party/angle/include/GLES3/gl31.h ++/third_party/angle/include/GLES3/gl32.h ++/third_party/angle/include/GLX/glxext.h ++/third_party/angle/include/KHR/khrplatform.h ++/third_party/angle/include/WGL/wgl.h ++/third_party/angle/include/platform/Feature.h ++/third_party/angle/include/platform/autogen/FeaturesD3D_autogen.h ++/third_party/angle/include/platform/autogen/FeaturesGL_autogen.h ++/third_party/angle/include/platform/autogen/FeaturesMtl_autogen.h ++/third_party/angle/include/platform/autogen/FeaturesVk_autogen.h ++/third_party/angle/include/platform/autogen/FeaturesWgpu_autogen.h ++/third_party/angle/include/platform/autogen/FrontendFeatures_autogen.h ++/third_party/angle/include/platform/PlatformMethods.h ++/third_party/angle/include/vulkan/vulkan_fuchsia_ext.h ++/third_party/angle/include/GLSLANG/ShaderLang.h ++/third_party/angle/include/GLSLANG/ShaderVars.h ++/third_party/angle/src/compiler/translator/blocklayout.h ++/third_party/angle/src/compiler/translator/hlsl/blocklayoutHLSL.h ++/third_party/angle/include/EGL/egl.h ++/third_party/angle/include/EGL/eglext.h ++/third_party/angle/include/EGL/eglplatform.h ++/third_party/angle/include/GLES2/gl2.h ++/third_party/angle/include/GLES2/gl2ext.h ++/third_party/angle/include/GLES2/gl2platform.h ++/third_party/angle/include/GLES3/gl3.h ++/third_party/angle/include/GLES3/gl31.h ++/third_party/angle/include/GLES3/gl32.h ++/third_party/angle/include/GLES3/gl3platform.h ++/third_party/angle/include/KHR/khrplatform.h ++/third_party/angle/include/angle_gl.h ++/third_party/angle/src/compiler/translator/AsNode.h ++/third_party/angle/src/compiler/translator/BaseTypes.cpp ++/third_party/angle/src/compiler/translator/BaseTypes.h ++/third_party/angle/src/compiler/translator/BuiltInFunctionEmulator.cpp ++/third_party/angle/src/compiler/translator/BuiltInFunctionEmulator.h ++/third_party/angle/src/compiler/translator/CallDAG.cpp ++/third_party/angle/src/compiler/translator/CallDAG.h ++/third_party/angle/src/compiler/translator/CodeGen.cpp ++/third_party/angle/src/compiler/translator/CollectVariables.cpp ++/third_party/angle/src/compiler/translator/CollectVariables.h ++/third_party/angle/src/compiler/translator/Common.h ++/third_party/angle/src/compiler/translator/Compiler.cpp ++/third_party/angle/src/compiler/translator/Compiler.h ++/third_party/angle/src/compiler/translator/ConstantUnion.cpp ++/third_party/angle/src/compiler/translator/ConstantUnion.h ++/third_party/angle/src/compiler/translator/Declarator.cpp ++/third_party/angle/src/compiler/translator/Declarator.h ++/third_party/angle/src/compiler/translator/Diagnostics.cpp ++/third_party/angle/src/compiler/translator/Diagnostics.h ++/third_party/angle/src/compiler/translator/DirectiveHandler.cpp ++/third_party/angle/src/compiler/translator/DirectiveHandler.h ++/third_party/angle/src/compiler/translator/ExtensionBehavior.cpp ++/third_party/angle/src/compiler/translator/ExtensionBehavior.h ++/third_party/angle/src/compiler/translator/FlagStd140Structs.cpp ++/third_party/angle/src/compiler/translator/FlagStd140Structs.h ++/third_party/angle/src/compiler/translator/FunctionLookup.cpp ++/third_party/angle/src/compiler/translator/FunctionLookup.h ++/third_party/angle/src/compiler/translator/HashNames.cpp ++/third_party/angle/src/compiler/translator/HashNames.h ++/third_party/angle/src/compiler/translator/ImmutableString.h ++/third_party/angle/src/compiler/translator/ImmutableStringBuilder.cpp ++/third_party/angle/src/compiler/translator/ImmutableStringBuilder.h ++/third_party/angle/src/compiler/translator/InfoSink.cpp ++/third_party/angle/src/compiler/translator/InfoSink.h ++/third_party/angle/src/compiler/translator/Initialize.cpp ++/third_party/angle/src/compiler/translator/Initialize.h ++/third_party/angle/src/compiler/translator/InitializeGlobals.h ++/third_party/angle/src/compiler/translator/IntermNode.cpp ++/third_party/angle/src/compiler/translator/IntermNode.h ++/third_party/angle/src/compiler/translator/IntermRebuild.cpp ++/third_party/angle/src/compiler/translator/IntermRebuild.h ++/third_party/angle/src/compiler/translator/IsASTDepthBelowLimit.cpp ++/third_party/angle/src/compiler/translator/IsASTDepthBelowLimit.h ++/third_party/angle/src/compiler/translator/Name.cpp ++/third_party/angle/src/compiler/translator/Name.h ++/third_party/angle/src/compiler/translator/NodeType.h ++/third_party/angle/src/compiler/translator/Operator.cpp ++/third_party/angle/src/compiler/translator/Operator_autogen.h ++/third_party/angle/src/compiler/translator/OutputTree.cpp ++/third_party/angle/src/compiler/translator/OutputTree.h ++/third_party/angle/src/compiler/translator/ParseContext.cpp ++/third_party/angle/src/compiler/translator/ParseContext.h ++/third_party/angle/src/compiler/translator/PoolAlloc.cpp ++/third_party/angle/src/compiler/translator/PoolAlloc.h ++/third_party/angle/src/compiler/translator/Pragma.h ++/third_party/angle/src/compiler/translator/QualifierTypes.cpp ++/third_party/angle/src/compiler/translator/QualifierTypes.h ++/third_party/angle/src/compiler/translator/Severity.h ++/third_party/angle/src/compiler/translator/ShaderLang.cpp ++/third_party/angle/src/compiler/translator/ShaderVars.cpp ++/third_party/angle/src/compiler/translator/SizeClipCullDistance.cpp ++/third_party/angle/src/compiler/translator/SizeClipCullDistance.h ++/third_party/angle/src/compiler/translator/StaticType.h ++/third_party/angle/src/compiler/translator/Symbol.cpp ++/third_party/angle/src/compiler/translator/Symbol.h ++/third_party/angle/src/compiler/translator/SymbolTable.cpp ++/third_party/angle/src/compiler/translator/SymbolTable.h ++/third_party/angle/src/compiler/translator/SymbolTable_autogen.h ++/third_party/angle/src/compiler/translator/SymbolUniqueId.cpp ++/third_party/angle/src/compiler/translator/SymbolUniqueId.h ++/third_party/angle/src/compiler/translator/Types.cpp ++/third_party/angle/src/compiler/translator/Types.h ++/third_party/angle/src/compiler/translator/ValidateAST.cpp ++/third_party/angle/src/compiler/translator/ValidateAST.h ++/third_party/angle/src/compiler/translator/ValidateGlobalInitializer.cpp ++/third_party/angle/src/compiler/translator/ValidateGlobalInitializer.h ++/third_party/angle/src/compiler/translator/ValidateVaryingLocations.cpp ++/third_party/angle/src/compiler/translator/ValidateVaryingLocations.h ++/third_party/angle/src/compiler/translator/VariablePacker.cpp ++/third_party/angle/src/compiler/translator/VariablePacker.h ++/third_party/angle/src/compiler/translator/blocklayout.cpp ++/third_party/angle/src/compiler/translator/glsl/TranslatorESSL.h ++/third_party/angle/src/compiler/translator/glsl/TranslatorGLSL.h ++/third_party/angle/src/compiler/translator/glsl/VersionGLSL.h ++/third_party/angle/src/compiler/translator/glslang.h ++/third_party/angle/src/compiler/translator/glslang_lex_autogen.cpp ++/third_party/angle/src/compiler/translator/glslang_tab_autogen.cpp ++/third_party/angle/src/compiler/translator/glslang_tab_autogen.h ++/third_party/angle/src/compiler/translator/hlsl/TranslatorHLSL.h ++/third_party/angle/src/compiler/translator/ir/src/builder.h ++/third_party/angle/src/compiler/translator/ir/src/compile.h ++/third_party/angle/src/compiler/translator/ir/src/output/ir_to_legacy.h ++/third_party/angle/src/compiler/translator/ir/src/output/legacy.h ++/third_party/angle/src/compiler/translator/ir/src/pool_alloc.h ++/third_party/angle/src/compiler/translator/length_limits.h ++/third_party/angle/src/compiler/translator/msl/DriverUniformMetal.h ++/third_party/angle/src/compiler/translator/msl/TranslatorMSL.h ++/third_party/angle/src/compiler/translator/null/TranslatorNULL.h ++/third_party/angle/src/compiler/translator/spirv/TranslatorSPIRV.h ++/third_party/angle/src/compiler/translator/tree_ops/AddDefaultReturnStatements.cpp ++/third_party/angle/src/compiler/translator/tree_ops/AddDefaultReturnStatements.h ++/third_party/angle/src/compiler/translator/tree_ops/ClampFragDepth.cpp ++/third_party/angle/src/compiler/translator/tree_ops/ClampFragDepth.h ++/third_party/angle/src/compiler/translator/tree_ops/ClampIndirectIndices.cpp ++/third_party/angle/src/compiler/translator/tree_ops/ClampIndirectIndices.h ++/third_party/angle/src/compiler/translator/tree_ops/ClampPointSize.cpp ++/third_party/angle/src/compiler/translator/tree_ops/ClampPointSize.h ++/third_party/angle/src/compiler/translator/tree_ops/DeclareAndInitBuiltinsForInstancedMultiview.cpp ++/third_party/angle/src/compiler/translator/tree_ops/DeclareAndInitBuiltinsForInstancedMultiview.h ++/third_party/angle/src/compiler/translator/tree_ops/DeclarePerVertexBlocks.cpp ++/third_party/angle/src/compiler/translator/tree_ops/DeclarePerVertexBlocks.h ++/third_party/angle/src/compiler/translator/tree_ops/DeferGlobalInitializers.cpp ++/third_party/angle/src/compiler/translator/tree_ops/DeferGlobalInitializers.h ++/third_party/angle/src/compiler/translator/tree_ops/EmulateGLFragColorBroadcast.cpp ++/third_party/angle/src/compiler/translator/tree_ops/EmulateGLFragColorBroadcast.h ++/third_party/angle/src/compiler/translator/tree_ops/EmulateMultiDrawShaderBuiltins.cpp ++/third_party/angle/src/compiler/translator/tree_ops/EmulateMultiDrawShaderBuiltins.h ++/third_party/angle/src/compiler/translator/tree_ops/FoldExpressions.cpp ++/third_party/angle/src/compiler/translator/tree_ops/FoldExpressions.h ++/third_party/angle/src/compiler/translator/tree_ops/GatherDefaultUniforms.cpp ++/third_party/angle/src/compiler/translator/tree_ops/GatherDefaultUniforms.h ++/third_party/angle/src/compiler/translator/tree_ops/InitializeVariables.cpp ++/third_party/angle/src/compiler/translator/tree_ops/InitializeVariables.h ++/third_party/angle/src/compiler/translator/tree_ops/MonomorphizeUnsupportedFunctions.cpp ++/third_party/angle/src/compiler/translator/tree_ops/MonomorphizeUnsupportedFunctions.h ++/third_party/angle/src/compiler/translator/tree_ops/PreTransformTextureCubeGradDerivatives.cpp ++/third_party/angle/src/compiler/translator/tree_ops/PreTransformTextureCubeGradDerivatives.h ++/third_party/angle/src/compiler/translator/tree_ops/PruneEmptyCases.cpp ++/third_party/angle/src/compiler/translator/tree_ops/PruneEmptyCases.h ++/third_party/angle/src/compiler/translator/tree_ops/PruneNoOps.cpp ++/third_party/angle/src/compiler/translator/tree_ops/PruneNoOps.h ++/third_party/angle/src/compiler/translator/tree_ops/RecordConstantPrecision.cpp ++/third_party/angle/src/compiler/translator/tree_ops/RecordConstantPrecision.h ++/third_party/angle/src/compiler/translator/tree_ops/ReduceInterfaceBlocks.cpp ++/third_party/angle/src/compiler/translator/tree_ops/ReduceInterfaceBlocks.h ++/third_party/angle/src/compiler/translator/tree_ops/RemoveArrayLengthMethod.cpp ++/third_party/angle/src/compiler/translator/tree_ops/RemoveArrayLengthMethod.h ++/third_party/angle/src/compiler/translator/tree_ops/RemoveAtomicCounterBuiltins.cpp ++/third_party/angle/src/compiler/translator/tree_ops/RemoveAtomicCounterBuiltins.h ++/third_party/angle/src/compiler/translator/tree_ops/RemoveDynamicIndexing.cpp ++/third_party/angle/src/compiler/translator/tree_ops/RemoveDynamicIndexing.h ++/third_party/angle/src/compiler/translator/tree_ops/RemoveInactiveInterfaceVariables.cpp ++/third_party/angle/src/compiler/translator/tree_ops/RemoveInactiveInterfaceVariables.h ++/third_party/angle/src/compiler/translator/tree_ops/RemoveInvariantDeclaration.cpp ++/third_party/angle/src/compiler/translator/tree_ops/RemoveInvariantDeclaration.h ++/third_party/angle/src/compiler/translator/tree_ops/RemoveUnreferencedVariables.cpp ++/third_party/angle/src/compiler/translator/tree_ops/RemoveUnreferencedVariables.h ++/third_party/angle/src/compiler/translator/tree_ops/RemoveUnusedFramebufferFetch.cpp ++/third_party/angle/src/compiler/translator/tree_ops/RemoveUnusedFramebufferFetch.h ++/third_party/angle/src/compiler/translator/tree_ops/RewriteArrayOfArrayOfOpaqueUniforms.cpp ++/third_party/angle/src/compiler/translator/tree_ops/RewriteArrayOfArrayOfOpaqueUniforms.h ++/third_party/angle/src/compiler/translator/tree_ops/RewriteAtomicCounters.cpp ++/third_party/angle/src/compiler/translator/tree_ops/RewriteAtomicCounters.h ++/third_party/angle/src/compiler/translator/tree_ops/RewriteDfdy.cpp ++/third_party/angle/src/compiler/translator/tree_ops/RewriteDfdy.h ++/third_party/angle/src/compiler/translator/tree_ops/RewritePixelLocalStorage.cpp ++/third_party/angle/src/compiler/translator/tree_ops/RewritePixelLocalStorage.h ++/third_party/angle/src/compiler/translator/tree_ops/RewriteStructSamplers.cpp ++/third_party/angle/src/compiler/translator/tree_ops/RewriteStructSamplers.h ++/third_party/angle/src/compiler/translator/tree_ops/RewriteTexelFetchOffset.cpp ++/third_party/angle/src/compiler/translator/tree_ops/RewriteTexelFetchOffset.h ++/third_party/angle/src/compiler/translator/tree_ops/ScalarizeVecAndMatConstructorArgs.cpp ++/third_party/angle/src/compiler/translator/tree_ops/ScalarizeVecAndMatConstructorArgs.h ++/third_party/angle/src/compiler/translator/tree_ops/SeparateDeclarations.cpp ++/third_party/angle/src/compiler/translator/tree_ops/SeparateDeclarations.h ++/third_party/angle/src/compiler/translator/tree_ops/SeparateStructFromUniformDeclarations.cpp ++/third_party/angle/src/compiler/translator/tree_ops/SeparateStructFromUniformDeclarations.h ++/third_party/angle/src/compiler/translator/tree_ops/SimplifyLoopConditions.cpp ++/third_party/angle/src/compiler/translator/tree_ops/SimplifyLoopConditions.h ++/third_party/angle/src/compiler/translator/tree_ops/SplitSequenceOperator.cpp ++/third_party/angle/src/compiler/translator/tree_ops/SplitSequenceOperator.h ++/third_party/angle/src/compiler/translator/tree_ops/glsl/RegenerateStructNames.h ++/third_party/angle/src/compiler/translator/tree_ops/glsl/RewriteRepeatedAssignToSwizzled.h ++/third_party/angle/src/compiler/translator/tree_ops/glsl/UseInterfaceBlockFields.h ++/third_party/angle/src/compiler/translator/tree_ops/glsl/apple/AddAndTrueToLoopCondition.h ++/third_party/angle/src/compiler/translator/tree_ops/glsl/apple/RewriteRowMajorMatrices.h ++/third_party/angle/src/compiler/translator/tree_ops/glsl/apple/UnfoldShortCircuitAST.h ++/third_party/angle/src/compiler/translator/tree_ops/msl/EnsureLoopForwardProgress.h ++/third_party/angle/src/compiler/translator/tree_util/BuiltIn.h ++/third_party/angle/src/compiler/translator/tree_util/BuiltIn_autogen.h ++/third_party/angle/src/compiler/translator/tree_util/DriverUniform.cpp ++/third_party/angle/src/compiler/translator/tree_util/DriverUniform.h ++/third_party/angle/src/compiler/translator/tree_util/FindFunction.cpp ++/third_party/angle/src/compiler/translator/tree_util/FindFunction.h ++/third_party/angle/src/compiler/translator/tree_util/FindMain.cpp ++/third_party/angle/src/compiler/translator/tree_util/FindMain.h ++/third_party/angle/src/compiler/translator/tree_util/FindPreciseNodes.cpp ++/third_party/angle/src/compiler/translator/tree_util/FindPreciseNodes.h ++/third_party/angle/src/compiler/translator/tree_util/FindSymbolNode.cpp ++/third_party/angle/src/compiler/translator/tree_util/FindSymbolNode.h ++/third_party/angle/src/compiler/translator/tree_util/IntermNodePatternMatcher.cpp ++/third_party/angle/src/compiler/translator/tree_util/IntermNodePatternMatcher.h ++/third_party/angle/src/compiler/translator/tree_util/IntermNode_util.cpp ++/third_party/angle/src/compiler/translator/tree_util/IntermNode_util.h ++/third_party/angle/src/compiler/translator/tree_util/IntermTraverse.cpp ++/third_party/angle/src/compiler/translator/tree_util/IntermTraverse.h ++/third_party/angle/src/compiler/translator/tree_util/NodeSearch.h ++/third_party/angle/src/compiler/translator/tree_util/ReplaceArrayOfMatrixVarying.cpp ++/third_party/angle/src/compiler/translator/tree_util/ReplaceArrayOfMatrixVarying.h ++/third_party/angle/src/compiler/translator/tree_util/ReplaceClipCullDistanceVariable.cpp ++/third_party/angle/src/compiler/translator/tree_util/ReplaceClipCullDistanceVariable.h ++/third_party/angle/src/compiler/translator/tree_util/ReplaceShadowingVariables.cpp ++/third_party/angle/src/compiler/translator/tree_util/ReplaceShadowingVariables.h ++/third_party/angle/src/compiler/translator/tree_util/ReplaceVariable.cpp ++/third_party/angle/src/compiler/translator/tree_util/ReplaceVariable.h ++/third_party/angle/src/compiler/translator/tree_util/RewriteSampleMaskVariable.cpp ++/third_party/angle/src/compiler/translator/tree_util/RewriteSampleMaskVariable.h ++/third_party/angle/src/compiler/translator/tree_util/RunAtTheBeginningOfShader.cpp ++/third_party/angle/src/compiler/translator/tree_util/RunAtTheBeginningOfShader.h ++/third_party/angle/src/compiler/translator/tree_util/RunAtTheEndOfShader.cpp ++/third_party/angle/src/compiler/translator/tree_util/RunAtTheEndOfShader.h ++/third_party/angle/src/compiler/translator/tree_util/SpecializationConstant.cpp ++/third_party/angle/src/compiler/translator/tree_util/SpecializationConstant.h ++/third_party/angle/src/compiler/translator/tree_util/Visit.h ++/third_party/angle/src/compiler/translator/util.cpp ++/third_party/angle/src/compiler/translator/util.h ++/third_party/angle/src/compiler/translator/wgsl/TranslatorWGSL.h ++/third_party/angle/src/compiler/translator/glsl/OutputGLSLBase.cpp ++/third_party/angle/src/compiler/translator/glsl/OutputGLSLBase.h ++/third_party/angle/src/compiler/translator/glsl/OutputGLSL.cpp ++/third_party/angle/src/compiler/translator/glsl/OutputGLSL.h ++/third_party/angle/src/compiler/translator/glsl/OutputESSL.cpp ++/third_party/angle/src/compiler/translator/glsl/OutputESSL.h ++/third_party/angle/src/compiler/translator/glsl/TranslatorESSL.cpp ++/third_party/angle/src/compiler/translator/glsl/BuiltInFunctionEmulatorGLSL.cpp ++/third_party/angle/src/compiler/translator/glsl/BuiltInFunctionEmulatorGLSL.h ++/third_party/angle/src/compiler/translator/glsl/ExtensionGLSL.cpp ++/third_party/angle/src/compiler/translator/glsl/ExtensionGLSL.h ++/third_party/angle/src/compiler/translator/glsl/TranslatorGLSL.cpp ++/third_party/angle/src/compiler/translator/glsl/VersionGLSL.cpp ++/third_party/angle/src/compiler/translator/tree_ops/glsl/RegenerateStructNames.cpp ++/third_party/angle/src/compiler/translator/tree_ops/glsl/RewriteRepeatedAssignToSwizzled.cpp ++/third_party/angle/src/compiler/translator/tree_ops/glsl/UseInterfaceBlockFields.cpp ++/third_party/angle/src/compiler/translator/tree_ops/glsl/apple/AddAndTrueToLoopCondition.cpp ++/third_party/angle/src/compiler/translator/tree_ops/glsl/apple/RewriteRowMajorMatrices.cpp ++/third_party/angle/src/compiler/translator/tree_ops/glsl/apple/UnfoldShortCircuitAST.cpp ++/third_party/angle/src/compiler/translator/hlsl/ASTMetadataHLSL.cpp ++/third_party/angle/src/compiler/translator/hlsl/ASTMetadataHLSL.h ++/third_party/angle/src/compiler/translator/hlsl/BuiltInFunctionEmulatorHLSL.cpp ++/third_party/angle/src/compiler/translator/hlsl/BuiltInFunctionEmulatorHLSL.h ++/third_party/angle/src/compiler/translator/hlsl/ImageFunctionHLSL.cpp ++/third_party/angle/src/compiler/translator/hlsl/ImageFunctionHLSL.h ++/third_party/angle/src/compiler/translator/hlsl/OutputHLSL.cpp ++/third_party/angle/src/compiler/translator/hlsl/OutputHLSL.h ++/third_party/angle/src/compiler/translator/hlsl/ResourcesHLSL.cpp ++/third_party/angle/src/compiler/translator/hlsl/ResourcesHLSL.h ++/third_party/angle/src/compiler/translator/hlsl/StructureHLSL.cpp ++/third_party/angle/src/compiler/translator/hlsl/StructureHLSL.h ++/third_party/angle/src/compiler/translator/hlsl/TextureFunctionHLSL.cpp ++/third_party/angle/src/compiler/translator/hlsl/TextureFunctionHLSL.h ++/third_party/angle/src/compiler/translator/hlsl/TranslatorHLSL.cpp ++/third_party/angle/src/compiler/translator/hlsl/UtilsHLSL.cpp ++/third_party/angle/src/compiler/translator/hlsl/UtilsHLSL.h ++/third_party/angle/src/compiler/translator/hlsl/blocklayoutHLSL.cpp ++/third_party/angle/src/compiler/translator/hlsl/emulated_builtin_functions_hlsl_autogen.cpp ++/third_party/angle/src/compiler/translator/tree_ops/hlsl/ArrayReturnValueToOutParameter.cpp ++/third_party/angle/src/compiler/translator/tree_ops/hlsl/ArrayReturnValueToOutParameter.h ++/third_party/angle/src/compiler/translator/tree_ops/hlsl/BreakVariableAliasingInInnerLoops.cpp ++/third_party/angle/src/compiler/translator/tree_ops/hlsl/BreakVariableAliasingInInnerLoops.h ++/third_party/angle/src/compiler/translator/tree_ops/hlsl/ExpandIntegerPowExpressions.cpp ++/third_party/angle/src/compiler/translator/tree_ops/hlsl/ExpandIntegerPowExpressions.h ++/third_party/angle/src/compiler/translator/tree_ops/hlsl/RecordUniformBlocksWithLargeArrayMember.cpp ++/third_party/angle/src/compiler/translator/tree_ops/hlsl/RecordUniformBlocksWithLargeArrayMember.h ++/third_party/angle/src/compiler/translator/tree_ops/hlsl/RemoveSwitchFallThrough.cpp ++/third_party/angle/src/compiler/translator/tree_ops/hlsl/RemoveSwitchFallThrough.h ++/third_party/angle/src/compiler/translator/tree_ops/hlsl/RewriteElseBlocks.cpp ++/third_party/angle/src/compiler/translator/tree_ops/hlsl/RewriteElseBlocks.h ++/third_party/angle/src/compiler/translator/tree_ops/hlsl/RewriteUnaryMinusOperatorInt.cpp ++/third_party/angle/src/compiler/translator/tree_ops/hlsl/RewriteUnaryMinusOperatorInt.h ++/third_party/angle/src/compiler/translator/tree_ops/hlsl/SeparateArrayConstructorStatements.cpp ++/third_party/angle/src/compiler/translator/tree_ops/hlsl/SeparateArrayConstructorStatements.h ++/third_party/angle/src/compiler/translator/tree_ops/hlsl/SeparateArrayInitialization.cpp ++/third_party/angle/src/compiler/translator/tree_ops/hlsl/SeparateArrayInitialization.h ++/third_party/angle/src/compiler/translator/tree_ops/hlsl/SeparateExpressionsReturningArrays.cpp ++/third_party/angle/src/compiler/translator/tree_ops/hlsl/SeparateExpressionsReturningArrays.h ++/third_party/angle/src/compiler/translator/tree_ops/hlsl/UnfoldShortCircuitToIf.cpp ++/third_party/angle/src/compiler/translator/tree_ops/hlsl/UnfoldShortCircuitToIf.h ++/third_party/angle/src/compiler/translator/tree_ops/hlsl/WrapSwitchStatementsInBlocks.cpp ++/third_party/angle/src/compiler/translator/tree_ops/hlsl/WrapSwitchStatementsInBlocks.h ++/third_party/angle/src/compiler/translator/spirv/BuildSPIRV.cpp ++/third_party/angle/src/compiler/translator/spirv/BuildSPIRV.h ++/third_party/angle/src/compiler/translator/spirv/BuiltinsWorkaround.cpp ++/third_party/angle/src/compiler/translator/spirv/BuiltinsWorkaround.h ++/third_party/angle/src/compiler/translator/spirv/OutputSPIRV.cpp ++/third_party/angle/src/compiler/translator/spirv/OutputSPIRV.h ++/third_party/angle/src/compiler/translator/spirv/TranslatorSPIRV.cpp ++/third_party/angle/src/compiler/translator/tree_ops/spirv/ClampGLLayer.cpp ++/third_party/angle/src/compiler/translator/tree_ops/spirv/ClampGLLayer.h ++/third_party/angle/src/compiler/translator/tree_ops/spirv/EmulateAdvancedBlendEquations.cpp ++/third_party/angle/src/compiler/translator/tree_ops/spirv/EmulateAdvancedBlendEquations.h ++/third_party/angle/src/compiler/translator/tree_ops/spirv/EmulateDithering.cpp ++/third_party/angle/src/compiler/translator/tree_ops/spirv/EmulateDithering.h ++/third_party/angle/src/compiler/translator/tree_ops/spirv/EmulateFragColorData.cpp ++/third_party/angle/src/compiler/translator/tree_ops/spirv/EmulateFragColorData.h ++/third_party/angle/src/compiler/translator/tree_ops/spirv/EmulateFramebufferFetch.cpp ++/third_party/angle/src/compiler/translator/tree_ops/spirv/EmulateFramebufferFetch.h ++/third_party/angle/src/compiler/translator/tree_ops/spirv/EmulateYUVBuiltIns.cpp ++/third_party/angle/src/compiler/translator/tree_ops/spirv/EmulateYUVBuiltIns.h ++/third_party/angle/src/compiler/translator/tree_ops/spirv/FlagSamplersWithTexelFetch.cpp ++/third_party/angle/src/compiler/translator/tree_ops/spirv/FlagSamplersWithTexelFetch.h ++/third_party/angle/src/compiler/translator/tree_ops/spirv/ReswizzleYUVOps.cpp ++/third_party/angle/src/compiler/translator/tree_ops/spirv/ReswizzleYUVOps.h ++/third_party/angle/src/compiler/translator/tree_ops/spirv/RewriteInterpolateAtOffset.cpp ++/third_party/angle/src/compiler/translator/tree_ops/spirv/RewriteInterpolateAtOffset.h ++/third_party/angle/src/compiler/translator/tree_ops/spirv/RewriteR32fImages.cpp ++/third_party/angle/src/compiler/translator/tree_ops/spirv/RewriteR32fImages.h ++/third_party/angle/src/compiler/translator/tree_ops/spirv/RewriteSamplerExternalTexelFetch.cpp ++/third_party/angle/src/compiler/translator/tree_ops/spirv/RewriteSamplerExternalTexelFetch.h ++/third_party/angle/src/compiler/translator/ImmutableString_autogen.cpp ++/third_party/angle/src/compiler/translator/SymbolTable_autogen.cpp ++/third_party/angle/src/compiler/translator/msl/AstHelpers.cpp ++/third_party/angle/src/compiler/translator/msl/AstHelpers.h ++/third_party/angle/src/compiler/translator/msl/ConstantNames.cpp ++/third_party/angle/src/compiler/translator/msl/DebugSink.h ++/third_party/angle/src/compiler/translator/msl/DiscoverDependentFunctions.cpp ++/third_party/angle/src/compiler/translator/msl/DiscoverDependentFunctions.h ++/third_party/angle/src/compiler/translator/msl/DiscoverEnclosingFunctionTraverser.cpp ++/third_party/angle/src/compiler/translator/msl/DiscoverEnclosingFunctionTraverser.h ++/third_party/angle/src/compiler/translator/msl/DriverUniformMetal.cpp ++/third_party/angle/src/compiler/translator/msl/EmitMetal.cpp ++/third_party/angle/src/compiler/translator/msl/EmitMetal.h ++/third_party/angle/src/compiler/translator/msl/IdGen.cpp ++/third_party/angle/src/compiler/translator/msl/IdGen.h ++/third_party/angle/src/compiler/translator/msl/Layout.cpp ++/third_party/angle/src/compiler/translator/msl/Layout.h ++/third_party/angle/src/compiler/translator/msl/MapFunctionsToDefinitions.cpp ++/third_party/angle/src/compiler/translator/msl/MapFunctionsToDefinitions.h ++/third_party/angle/src/compiler/translator/msl/MapSymbols.cpp ++/third_party/angle/src/compiler/translator/msl/MapSymbols.h ++/third_party/angle/src/compiler/translator/msl/ModifyStruct.cpp ++/third_party/angle/src/compiler/translator/msl/ModifyStruct.h ++/third_party/angle/src/compiler/translator/msl/Pipeline.cpp ++/third_party/angle/src/compiler/translator/msl/Pipeline.h ++/third_party/angle/src/compiler/translator/msl/ProgramPrelude.cpp ++/third_party/angle/src/compiler/translator/msl/ProgramPrelude.h ++/third_party/angle/src/compiler/translator/msl/Reference.h ++/third_party/angle/src/compiler/translator/msl/RewritePipelines.cpp ++/third_party/angle/src/compiler/translator/msl/RewritePipelines.h ++/third_party/angle/src/compiler/translator/msl/SkippingTraverser.h ++/third_party/angle/src/compiler/translator/msl/SymbolEnv.cpp ++/third_party/angle/src/compiler/translator/msl/SymbolEnv.h ++/third_party/angle/src/compiler/translator/msl/ToposortStructs.cpp ++/third_party/angle/src/compiler/translator/msl/ToposortStructs.h ++/third_party/angle/src/compiler/translator/msl/TranslatorMSL.cpp ++/third_party/angle/src/compiler/translator/msl/UtilsMSL.cpp ++/third_party/angle/src/compiler/translator/msl/UtilsMSL.h ++/third_party/angle/src/compiler/translator/tree_ops/msl/AddExplicitTypeCasts.cpp ++/third_party/angle/src/compiler/translator/tree_ops/msl/AddExplicitTypeCasts.h ++/third_party/angle/src/compiler/translator/tree_ops/msl/ConvertUnsupportedConstructorsToFunctionCalls.cpp ++/third_party/angle/src/compiler/translator/tree_ops/msl/ConvertUnsupportedConstructorsToFunctionCalls.h ++/third_party/angle/src/compiler/translator/tree_ops/msl/EnsureLoopForwardProgress.cpp ++/third_party/angle/src/compiler/translator/tree_ops/msl/FixTypeConstructors.cpp ++/third_party/angle/src/compiler/translator/tree_ops/msl/FixTypeConstructors.h ++/third_party/angle/src/compiler/translator/tree_ops/msl/GuardFragDepthWrite.cpp ++/third_party/angle/src/compiler/translator/tree_ops/msl/GuardFragDepthWrite.h ++/third_party/angle/src/compiler/translator/tree_ops/msl/HoistConstants.cpp ++/third_party/angle/src/compiler/translator/tree_ops/msl/HoistConstants.h ++/third_party/angle/src/compiler/translator/tree_ops/msl/IntroduceVertexIndexID.cpp ++/third_party/angle/src/compiler/translator/tree_ops/msl/IntroduceVertexIndexID.h ++/third_party/angle/src/compiler/translator/tree_ops/msl/RescopeGlobalVariables.cpp ++/third_party/angle/src/compiler/translator/tree_ops/msl/RescopeGlobalVariables.h ++/third_party/angle/src/compiler/translator/tree_ops/msl/RewriteCaseDeclarations.cpp ++/third_party/angle/src/compiler/translator/tree_ops/msl/RewriteCaseDeclarations.h ++/third_party/angle/src/compiler/translator/tree_ops/msl/RewriteInterpolants.cpp ++/third_party/angle/src/compiler/translator/tree_ops/msl/RewriteInterpolants.h ++/third_party/angle/src/compiler/translator/tree_ops/msl/RewriteOutArgs.cpp ++/third_party/angle/src/compiler/translator/tree_ops/msl/RewriteOutArgs.h ++/third_party/angle/src/compiler/translator/tree_ops/msl/RewriteUnaddressableReferences.cpp ++/third_party/angle/src/compiler/translator/tree_ops/msl/RewriteUnaddressableReferences.h ++/third_party/angle/src/compiler/translator/tree_ops/msl/SeparateCompoundExpressions.cpp ++/third_party/angle/src/compiler/translator/tree_ops/msl/SeparateCompoundExpressions.h ++/third_party/angle/src/compiler/translator/tree_ops/msl/TransposeRowMajorMatrices.cpp ++/third_party/angle/src/compiler/translator/tree_ops/msl/TransposeRowMajorMatrices.h ++/third_party/angle/src/compiler/translator/tree_ops/msl/WrapMain.cpp ++/third_party/angle/src/compiler/translator/tree_ops/msl/WrapMain.h ++/third_party/angle/src/compiler/translator/tree_ops/wgsl/EmulateMutableFunctionParams.cpp ++/third_party/angle/src/compiler/translator/tree_ops/wgsl/EmulateMutableFunctionParams.h ++/third_party/angle/src/compiler/translator/tree_ops/wgsl/PullExpressionsIntoFunctions.cpp ++/third_party/angle/src/compiler/translator/tree_ops/wgsl/PullExpressionsIntoFunctions.h ++/third_party/angle/src/compiler/translator/tree_ops/wgsl/RewriteMixedTypeMathExprs.cpp ++/third_party/angle/src/compiler/translator/tree_ops/wgsl/RewriteMixedTypeMathExprs.h ++/third_party/angle/src/compiler/translator/tree_ops/wgsl/RewriteMultielementSwizzleAssignment.cpp ++/third_party/angle/src/compiler/translator/tree_ops/wgsl/RewriteMultielementSwizzleAssignment.h ++/third_party/angle/src/compiler/translator/wgsl/OutputUniformBlocks.cpp ++/third_party/angle/src/compiler/translator/wgsl/OutputUniformBlocks.h ++/third_party/angle/src/compiler/translator/wgsl/RewritePipelineVariables.cpp ++/third_party/angle/src/compiler/translator/wgsl/RewritePipelineVariables.h ++/third_party/angle/src/compiler/translator/wgsl/TranslatorWGSL.cpp ++/third_party/angle/src/compiler/translator/wgsl/Utils.cpp ++/third_party/angle/src/compiler/translator/wgsl/Utils.h ++/third_party/angle/src/compiler/translator/wgsl/WGSLProgramPrelude.cpp ++/third_party/angle/src/compiler/translator/wgsl/WGSLProgramPrelude.h ++/third_party/angle/src/compiler/preprocessor/DiagnosticsBase.cpp ++/third_party/angle/src/compiler/preprocessor/DiagnosticsBase.h ++/third_party/angle/src/compiler/preprocessor/DirectiveHandlerBase.cpp ++/third_party/angle/src/compiler/preprocessor/DirectiveHandlerBase.h ++/third_party/angle/src/compiler/preprocessor/DirectiveParser.cpp ++/third_party/angle/src/compiler/preprocessor/DirectiveParser.h ++/third_party/angle/src/compiler/preprocessor/ExpressionParser.h ++/third_party/angle/src/compiler/preprocessor/Input.cpp ++/third_party/angle/src/compiler/preprocessor/Input.h ++/third_party/angle/src/compiler/preprocessor/Lexer.cpp ++/third_party/angle/src/compiler/preprocessor/Lexer.h ++/third_party/angle/src/compiler/preprocessor/Macro.cpp ++/third_party/angle/src/compiler/preprocessor/Macro.h ++/third_party/angle/src/compiler/preprocessor/MacroExpander.cpp ++/third_party/angle/src/compiler/preprocessor/MacroExpander.h ++/third_party/angle/src/compiler/preprocessor/Preprocessor.cpp ++/third_party/angle/src/compiler/preprocessor/Preprocessor.h ++/third_party/angle/src/compiler/preprocessor/SourceLocation.h ++/third_party/angle/src/compiler/preprocessor/Token.cpp ++/third_party/angle/src/compiler/preprocessor/Token.h ++/third_party/angle/src/compiler/preprocessor/Tokenizer.h ++/third_party/angle/src/compiler/preprocessor/numeric_lex.h ++/third_party/angle/src/compiler/preprocessor/preprocessor_lex_autogen.cpp ++/third_party/angle/src/compiler/preprocessor/preprocessor_tab_autogen.cpp ++/third_party/angle/src/libANGLE/renderer/d3d/BufferD3D.cpp ++/third_party/angle/src/libANGLE/renderer/d3d/BufferD3D.h ++/third_party/angle/src/libANGLE/renderer/d3d/CompilerD3D.cpp ++/third_party/angle/src/libANGLE/renderer/d3d/CompilerD3D.h ++/third_party/angle/src/libANGLE/renderer/d3d/ContextD3D.h ++/third_party/angle/src/libANGLE/renderer/d3d/DisplayD3D.cpp ++/third_party/angle/src/libANGLE/renderer/d3d/DisplayD3D.h ++/third_party/angle/src/libANGLE/renderer/d3d/DynamicHLSL.cpp ++/third_party/angle/src/libANGLE/renderer/d3d/DynamicHLSL.h ++/third_party/angle/src/libANGLE/renderer/d3d/DynamicImage2DHLSL.cpp ++/third_party/angle/src/libANGLE/renderer/d3d/DynamicImage2DHLSL.h ++/third_party/angle/src/libANGLE/renderer/d3d/EGLImageD3D.cpp ++/third_party/angle/src/libANGLE/renderer/d3d/EGLImageD3D.h ++/third_party/angle/src/libANGLE/renderer/d3d/FramebufferD3D.cpp ++/third_party/angle/src/libANGLE/renderer/d3d/FramebufferD3D.h ++/third_party/angle/src/libANGLE/renderer/d3d/HLSLCompiler.cpp ++/third_party/angle/src/libANGLE/renderer/d3d/HLSLCompiler.h ++/third_party/angle/src/libANGLE/renderer/d3d/ImageD3D.cpp ++/third_party/angle/src/libANGLE/renderer/d3d/ImageD3D.h ++/third_party/angle/src/libANGLE/renderer/d3d/IndexBuffer.cpp ++/third_party/angle/src/libANGLE/renderer/d3d/IndexBuffer.h ++/third_party/angle/src/libANGLE/renderer/d3d/IndexDataManager.cpp ++/third_party/angle/src/libANGLE/renderer/d3d/IndexDataManager.h ++/third_party/angle/src/libANGLE/renderer/d3d/NativeWindowD3D.cpp ++/third_party/angle/src/libANGLE/renderer/d3d/NativeWindowD3D.h ++/third_party/angle/src/libANGLE/renderer/d3d/ProgramD3D.cpp ++/third_party/angle/src/libANGLE/renderer/d3d/ProgramD3D.h ++/third_party/angle/src/libANGLE/renderer/d3d/ProgramExecutableD3D.cpp ++/third_party/angle/src/libANGLE/renderer/d3d/ProgramExecutableD3D.h ++/third_party/angle/src/libANGLE/renderer/d3d/RenderTargetD3D.cpp ++/third_party/angle/src/libANGLE/renderer/d3d/RenderTargetD3D.h ++/third_party/angle/src/libANGLE/renderer/d3d/RenderbufferD3D.cpp ++/third_party/angle/src/libANGLE/renderer/d3d/RenderbufferD3D.h ++/third_party/angle/src/libANGLE/renderer/d3d/RendererD3D.cpp ++/third_party/angle/src/libANGLE/renderer/d3d/RendererD3D.h ++/third_party/angle/src/libANGLE/renderer/d3d/SamplerD3D.h ++/third_party/angle/src/libANGLE/renderer/d3d/ShaderD3D.cpp ++/third_party/angle/src/libANGLE/renderer/d3d/ShaderD3D.h ++/third_party/angle/src/libANGLE/renderer/d3d/ShaderExecutableD3D.cpp ++/third_party/angle/src/libANGLE/renderer/d3d/ShaderExecutableD3D.h ++/third_party/angle/src/libANGLE/renderer/d3d/SurfaceD3D.cpp ++/third_party/angle/src/libANGLE/renderer/d3d/SurfaceD3D.h ++/third_party/angle/src/libANGLE/renderer/d3d/SwapChainD3D.cpp ++/third_party/angle/src/libANGLE/renderer/d3d/SwapChainD3D.h ++/third_party/angle/src/libANGLE/renderer/d3d/TextureD3D.cpp ++/third_party/angle/src/libANGLE/renderer/d3d/TextureD3D.h ++/third_party/angle/src/libANGLE/renderer/d3d/TextureStorage.h ++/third_party/angle/src/libANGLE/renderer/d3d/VertexBuffer.cpp ++/third_party/angle/src/libANGLE/renderer/d3d/VertexBuffer.h ++/third_party/angle/src/libANGLE/renderer/d3d/VertexDataManager.cpp ++/third_party/angle/src/libANGLE/renderer/d3d/VertexDataManager.h ++/third_party/angle/src/libANGLE/renderer/d3d/driver_utils_d3d.cpp ++/third_party/angle/src/libANGLE/renderer/d3d/driver_utils_d3d.h ++/third_party/angle/src/libANGLE/renderer/d3d/formatutilsD3D.h +diff --git third_party/angle/angle_program_version_id_gn/moz.build third_party/angle/angle_program_version_id_gn/moz.build +index 0af4ee617af3..e3a97576a7e0 100644 +--- third_party/angle/angle_program_version_id_gn/moz.build ++++ third_party/angle/angle_program_version_id_gn/moz.build +@@ -60,6 +60,15 @@ if CONFIG["OS_TARGET"] == "Linux": + script="/python/mozbuild/mozbuild/action/write_path_list.py", + ) + ++if CONFIG["OS_TARGET"] == "FreeBSD": ++ ++ GeneratedFile( ++ "/third_party/angle/gen/ANGLEShaderProgramVersion.h.rsp", ++ entry_point="write_paths", ++ inputs=['ANGLEShaderProgramVersion.h-22c710649c380411.rsp.in'], ++ script="/python/mozbuild/mozbuild/action/write_path_list.py", ++ ) ++ + if CONFIG["OS_TARGET"] == "OpenBSD": + + GeneratedFile( diff --git a/mail/thunderbird/files/patch-toolkit_library_moz.build b/mail/thunderbird/files/patch-toolkit_library_moz.build deleted file mode 100644 index 87ef1afb0840..000000000000 --- a/mail/thunderbird/files/patch-toolkit_library_moz.build +++ /dev/null @@ -1,22 +0,0 @@ -commit 74eeae6c36c1d10a2ef07078ed08c14e637b6d63 -Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> - - explicitly link against libfreebl3 (from nss) - - contrary to the comment above, rust's usage (via nss-rs) of libfreebl3 - is not sufficient, and the pkg-config file for nss does not hint at - any linking against libfreebl3 either. - -diff --git toolkit/library/moz.build toolkit/library/moz.build -index a38f17407cc8..e8a47c14de4c 100644 ---- toolkit/library/moz.build -+++ toolkit/library/moz.build -@@ -168,6 +168,8 @@ if not CONFIG["MOZ_SYSTEM_NSS"]: - USE_LIBS += ["freeblpriv3"] - else: - USE_LIBS += ["freebl3"] -+else: -+ OS_LIBS += ["freebl3"] - - if not CONFIG["USE_LIBZ_RS"]: - USE_LIBS += [ diff --git a/mail/thunderbird/files/patch-toolkit_xre_nsXREDirProvider.cpp b/mail/thunderbird/files/patch-toolkit_xre_nsXREDirProvider.cpp new file mode 100644 index 000000000000..779b758edf37 --- /dev/null +++ b/mail/thunderbird/files/patch-toolkit_xre_nsXREDirProvider.cpp @@ -0,0 +1,23 @@ +commit a24ca1192172ddbf506b3484d07d731d36b17ce6 +Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> + + undefine Success to unbreak the build + + Current X.h (X11/X.h from xorgproto) defines Success - but that name is + also used as a variable over here. We undef Success in the respective + part so the define does not shadow the variable. + +diff --git toolkit/xre/nsXREDirProvider.cpp toolkit/xre/nsXREDirProvider.cpp +index dcce3335e14f..b0fe274ca7e0 100644 +--- toolkit/xre/nsXREDirProvider.cpp ++++ toolkit/xre/nsXREDirProvider.cpp +@@ -61,6 +61,9 @@ + # ifdef XP_MACOSX + # include "MacApplicationDelegate.h" + # endif ++# ifdef Success // from X.h, this really messes up nss ++# undef Success ++# endif + # include "ScopedNSSTypes.h" + # include "nsNSSComponent.h" + #endif diff --git a/mail/thunderbird/files/patch-xpcom_base_nsMemoryInfoDumper.cpp b/mail/thunderbird/files/patch-xpcom_base_nsMemoryInfoDumper.cpp index e8567dfe5818..5dcf03bb34c9 100644 --- a/mail/thunderbird/files/patch-xpcom_base_nsMemoryInfoDumper.cpp +++ b/mail/thunderbird/files/patch-xpcom_base_nsMemoryInfoDumper.cpp @@ -1,10 +1,10 @@ -commit e9c859ea5fcb425575a66254bdc783437bfb95bd +commit adfcac0af36ed1cd49fa035b054a1bdfe11abdba Author: Christoph Moench-Tegeder <cmt@FreeBSD.org> need signal.h for signal stuff on FreeBSD diff --git xpcom/base/nsMemoryInfoDumper.cpp xpcom/base/nsMemoryInfoDumper.cpp -index 480e7de2f701..eabb85218130 100644 +index 201e214a3c0c..bdb8095048cc 100644 --- xpcom/base/nsMemoryInfoDumper.cpp +++ xpcom/base/nsMemoryInfoDumper.cpp @@ -41,6 +41,9 @@ @@ -14,6 +14,6 @@ index 480e7de2f701..eabb85218130 100644 +#if defined(__FreeBSD__) +# include <signal.h> +#endif - # include <sys/types.h> # include <sys/stat.h> + # include <sys/types.h> #endif |
